pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/monotone-viz import monotone-viz-0.9, a tool to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2339a5f954cf
branches:  trunk
changeset: 494855:2339a5f954cf
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue May 31 16:00:58 2005 +0000

description:
import monotone-viz-0.9, a tool to view monotone version trees

diffstat:

 devel/monotone-viz/DESCR            |   2 +
 devel/monotone-viz/Makefile         |  25 +++++++++++++++++++++
 devel/monotone-viz/PLIST            |   2 +
 devel/monotone-viz/distinfo         |   7 ++++++
 devel/monotone-viz/patches/patch-aa |  43 +++++++++++++++++++++++++++++++++++++
 devel/monotone-viz/patches/patch-ab |  28 ++++++++++++++++++++++++
 6 files changed, 107 insertions(+), 0 deletions(-)

diffs (131 lines):

diff -r f8562dbedc5e -r 2339a5f954cf devel/monotone-viz/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone-viz/DESCR  Tue May 31 16:00:58 2005 +0000
@@ -0,0 +1,2 @@
+This is a small GNOME application to visualize monotone ancestry
+graphs.
diff -r f8562dbedc5e -r 2339a5f954cf devel/monotone-viz/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone-viz/Makefile       Tue May 31 16:00:58 2005 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $
+#
+
+DISTNAME=              monotone-viz-0.9
+CATEGORIES=            devel
+MASTER_SITES=          http://oandrieu.nerim.net/monotone-viz/
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://oandrieu.nerim.net/monotone-viz/
+COMMENT=               Visualize monotone ancestry graphs
+
+GNU_CONFIGURE=         yes
+USE_TOOLS+=            gmake
+BUILD_TARGET=          monotone-viz
+BUILD_ENV+=            BUILDLINK_DIR=${BUILDLINK_DIR}
+
+do-install:
+       ${CP} ${WRKSRC}/monotone-viz ${PREFIX}/bin
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../x11/lablgtk2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../graphics/libgnomecanvas/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f8562dbedc5e -r 2339a5f954cf devel/monotone-viz/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone-viz/PLIST  Tue May 31 16:00:58 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $
+bin/monotone-viz
diff -r f8562dbedc5e -r 2339a5f954cf devel/monotone-viz/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone-viz/distinfo       Tue May 31 16:00:58 2005 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $
+
+SHA1 (monotone-viz-0.9.tar.gz) = 1b765225beb78b89e81a020351b4c5ebd183b28b
+RMD160 (monotone-viz-0.9.tar.gz) = a3eb564adf729531a5fbbe28cf561ddfe1900f8a
+Size (monotone-viz-0.9.tar.gz) = 89640 bytes
+SHA1 (patch-aa) = b0c1ad8e25596a8e5daae8fc5839c85c44bd70e5
+SHA1 (patch-ab) = c291dabc3837e07fcb8ebb98d16b8b7f0c6c941a
diff -r f8562dbedc5e -r 2339a5f954cf devel/monotone-viz/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone-viz/patches/patch-aa       Tue May 31 16:00:58 2005 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $
+
+--- configure.orig     2005-05-30 16:35:17.000000000 +0200
++++ configure
+@@ -1870,38 +1870,6 @@ else
+ fi
+ 
+ 
+-# Check the sqlite3 sources
+-
+-# Check whether --with-monotone-dir or --without-monotone-dir was given.
+-if test "${with_monotone_dir+set}" = set; then
+-  withval="$with_monotone_dir"
+-  MONOTONE_DIR=$withval
+-else
+-  MONOTONE_DIR=monotone
+-fi;
+-echo "$as_me:$LINENO: checking sqlite sources" >&5
+-echo $ECHO_N "checking sqlite sources... $ECHO_C" >&6
+-if test -d "$MONOTONE_DIR" -a -r "$MONOTONE_DIR/sqlite/lib3rdparty_a-main.o" ; then
+-  echo "$as_me:$LINENO: result: found in $MONOTONE_DIR/sqlite" >&5
+-echo "${ECHO_T}found in $MONOTONE_DIR/sqlite" >&6
+-else
+-  { { echo "$as_me:$LINENO: error:
+-
+-Could not find compiled sqlite sources. Monotone-viz needs a compiled
+-monotone tree for the sqlite library. Create a link named \`monotone'
+-or specify the location to configure using the \`--with-monotone-dir'
+-option." >&5
+-echo "$as_me: error:
+-
+-Could not find compiled sqlite sources. Monotone-viz needs a compiled
+-monotone tree for the sqlite library. Create a link named \`monotone'
+-or specify the location to configure using the \`--with-monotone-dir'
+-option." >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+-if test "${MONOTONE_DIR:0:1}" != "/" ; then
+-  MONOTONE_DIR=$PWD/$MONOTONE_DIR
+-fi
+ 
+ 
+           ac_config_files="$ac_config_files config.make"
diff -r f8562dbedc5e -r 2339a5f954cf devel/monotone-viz/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone-viz/patches/patch-ab       Tue May 31 16:00:58 2005 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $
+
+--- Makefile.orig      2005-04-20 21:34:48.000000000 +0200
++++ Makefile
+@@ -7,7 +7,7 @@ EXTLIB       := extlib-1.3
+ VPATH = mlsqlite $(OCAMLNET) $(EXTLIB) glib crypto
+ 
+ MLINCDIRS = -I $(OCAMLNET) -I mlsqlite -I $(EXTLIB) -I $(LABLGTK_DIR) -I glib -I crypto
+-CINCDIRS  = -I $(MONOTONE_DIR)/sqlite -I $(LABLGTK_DIR) -ccopt "$(GTK_CFLAGS) $(CRYPTO_CFLAGS)"
++CINCDIRS  = -I $(LABLGTK_DIR) -ccopt "$(GTK_CFLAGS) $(CRYPTO_CFLAGS)"
+ GTK_CFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
+ 
+ 
+@@ -54,12 +54,12 @@ monotone-viz : $(OBJX) lib3rdparty.a
+ monotone-viz : MLLIBS = str.cmxa lablgtk.cmxa gtkInit.cmx lablgnomecanvas.cmxa 
+ else
+ monotone-viz : $(OBJ) lib3rdparty.a
+-      $(OCAMLC) -custom -o $@ -I . -I $(LABLGTK_DIR) $(MLLIBS) $^ $(CRYPTO_LIB) 
++      $(OCAMLC) -custom -o $@ -I . -I $(LABLGTK_DIR) $(MLLIBS) $^ ${BUILDLINK_DIR}/lib/ocaml/libcamlrun.a $(CRYPTO_LIB) ${BUILDLINK_DIR}/lib/libsqlite3.a
+ monotone-viz : MLLIBS = str.cma lablgtk.cma gtkInit.cmo lablgnomecanvas.cma 
+ endif
+ 
+ lib3rdparty.a : mlsqlite/ocaml-sqlite3.o glib/ocaml-gspawn.o glib/ocaml-giochannel.o crypto/ocaml-openssl.o
+-      ar crs lib3rdparty.a $(MONOTONE_DIR)/sqlite/lib3rdparty_a-*.o $^
++      ar crs lib3rdparty.a $^
+ 
+ glib/ocaml-gspawn.o : gspawn_tags.c gspawn_tags.h
+ glib/ocaml-giochannel.o : giochannel_tags.c giochannel_tags.h



Home | Main Index | Thread Index | Old Index