aboutsummaryrefslogtreecommitdiff
path: root/devel/g-wrap
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:35:50 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:35:50 +0000
commitf1bb12de8e50bf76ae21f37debda60994ec7fd99 (patch)
tree1671d4beef381f12d939e34b344eb385a3af4f19 /devel/g-wrap
parent29adee7bb42244f34736c5c24ed18a9b269d0925 (diff)
downloadports-f1bb12de8e50bf76ae21f37debda60994ec7fd99.tar.gz
ports-f1bb12de8e50bf76ae21f37debda60994ec7fd99.zip
Presenting GNOME 2.16.1 for FreeBSD. This release represents a massive
amount of work by the FreeBSD GNOME Team and our testers. On top of the usual GNOME update, we have taken this opportunity to move GNOME from X11BASE to LOCALBASE. This means roughly 600 ports NOT part of the GNOME Desktop also need to be changed. The bulk of the move was carried out by ahze, mezz, and pav, but it would not have been possible without cooperation from the FreeBSD KDE team who worked with us to make sure GNOME and KDE can still coexist happily. We would also like to send a shout out to kris and pointyhat for putting up with multiple test runs until we got something that was solid. Back to GNOME 2.16. This release brings a huge amount of new functionality to FreeBSD. The standard release notes can be read at http://www.gnome.org/start/2.16/ . But on top of what you will read there, jylefort and marcus have completed work on a port of HAL to FreeBSD. This will allow FreeBSD to take advantage of closer hardware interaction such as auto-mounting CD-ROMs, USB drives, and music players; auto-playing audio CDs; and managing laptop power consumption. But where would this all be without our loyal testers and contributors? Therefore, the FreeBSD GNOME team would like to thank the following users: Phillip Neumann <pneumann@gmail.com> tmclaugh mux Yuri Pankov <yuri.pankov@gmail.com> chinsan Thomas <freebsdlists@bsdunix.ch> Brian Gruber <knightbg@yahoo.com> Franz Klammer <klammer@webonaut.com> Dominique Goncalves <dominique.goncalves@gmail.com> Pascal Hofstee <caelian@gmail.com> Yasuda Keisuke <kysd@po.harenet.ne.jp> backyard <backyard1454-bsd@yahoo.com> Andris Raugulis <endrju@null.lv> <endrju@null.lv> Eric L. Chen <d9364104@mail.nchu.edu.tw> Pawel Worach <pawel.worach@gmail.com> QuiRK on #freebsd-gnome Shane Bell <decept0@gmail.com> luigi sajd on #freebsd-gnome sat Chris Coleman <chrisc@vmunix.com> kaeru on #freebsd-gnome crsd_ via irc.freenode.org/#FreeBSD-GNOME Joel Diaz <joeldiaz@mac.com> Enjoy! Approved by: portmgr (implicit, kris)
Notes
Notes: svn path=/head/; revision=175253
Diffstat (limited to 'devel/g-wrap')
-rw-r--r--devel/g-wrap/Makefile35
-rw-r--r--devel/g-wrap/distinfo6
-rw-r--r--devel/g-wrap/files/patch-Makefile.in11
-rw-r--r--devel/g-wrap/files/patch-ab13
-rw-r--r--devel/g-wrap/files/patch-g-wrap_Makefile.in11
-rw-r--r--devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in15
-rw-r--r--devel/g-wrap/files/patch-libffi_configure11
-rw-r--r--devel/g-wrap/pkg-plist97
8 files changed, 103 insertions, 96 deletions
diff --git a/devel/g-wrap/Makefile b/devel/g-wrap/Makefile
index b44163bea142..5d12ec4b7096 100644
--- a/devel/g-wrap/Makefile
+++ b/devel/g-wrap/Makefile
@@ -4,30 +4,39 @@
# Whom: Matthew Condell (mcondell@alum.mit.edu)
#
# $FreeBSD$
-#
+# $MCom: ports/devel/g-wrap/Makefile,v 1.4 2006/09/12 21:27:18 ahze Exp $
PORTNAME= g-wrap
-PORTVERSION= 1.3.4
-PORTREVISION= 9
+PORTVERSION= 1.9.6
+PORTREVISION= 2
CATEGORIES= devel scheme
-MASTER_SITES= http://www.gnucash.org/pub/g-wrap/source/ \
- http://people.freebsd.org/~sobomax/
+MASTER_SITES= SAVANNAH
MAINTAINER= gnome@FreeBSD.org
COMMENT= A tool for exporting C libraries into Scheme interpreters
-BUILD_DEPENDS= ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile
-LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
- guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk
-RUN_DEPENDS= ${LOCALBASE}/share/guile/slibcat:${PORTSDIR}/lang/slib-guile
+BUILD_DEPENDS= slib-guile>0:${PORTSDIR}/lang/slib-guile
+LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
+RUN_DEPENDS= slib-guile>0:${PORTSDIR}/lang/slib-guile
INFO= g-wrap
+USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gtk12
-INSTALLS_SHLIB= yes
-CONFIGURE_ENV+= GW_GLIB_CONFIG="${GLIB_CONFIG}"
-MAKE_ENV+= GUILE_LOAD_PATH=${WRKSRC}
+USE_GNOME= glib20 gnomehack
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|"glib"|"glib-2.0"|' \
+ ${WRKSRC}/configure
+
+pre-install:
+ @${REINPLACE_CMD} -e 's|libffi||' ${WRKSRC}/${MAKEFILE}
+
+post-install:
+ ${MKDIR} ${PREFIX}/include/g-wrap/ffi
+.for f in ffi.h ffitarget.h
+ ${INSTALL_DATA} ${WRKSRC}/libffi/include/${f} ${PREFIX}/include/g-wrap/ffi
+.endfor
.include <bsd.port.mk>
diff --git a/devel/g-wrap/distinfo b/devel/g-wrap/distinfo
index 2cef87078feb..9eabe531c56d 100644
--- a/devel/g-wrap/distinfo
+++ b/devel/g-wrap/distinfo
@@ -1,3 +1,3 @@
-MD5 (g-wrap-1.3.4.tar.gz) = bf29b8b563cc27d9f7fd90a6243653aa
-SHA256 (g-wrap-1.3.4.tar.gz) = bb9fa9b7b6b2a11899d98d730cf5970179bbf942fd763eda13b7b541278adee4
-SIZE (g-wrap-1.3.4.tar.gz) = 403570
+MD5 (g-wrap-1.9.6.tar.gz) = 4d83964f51376500eedced538c1620cb
+SHA256 (g-wrap-1.9.6.tar.gz) = ddb0e31d40581402d6d7045cce7cdc79e0bc0627831a4b12012f45703446d311
+SIZE (g-wrap-1.9.6.tar.gz) = 826045
diff --git a/devel/g-wrap/files/patch-Makefile.in b/devel/g-wrap/files/patch-Makefile.in
deleted file mode 100644
index 93024a542005..000000000000
--- a/devel/g-wrap/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Thu Nov 7 23:40:46 2002
-+++ Makefile.in Tue Feb 4 20:43:51 2003
-@@ -144,7 +144,7 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--SUBDIRS = doc rpm bin g-wrap example test
-+SUBDIRS = doc rpm bin g-wrap example
-
- guilemoduledir = @GUILEMODDIR@
- guilemodule_DATA = @GUILEMOD_TARGET@
diff --git a/devel/g-wrap/files/patch-ab b/devel/g-wrap/files/patch-ab
deleted file mode 100644
index b22e980a6ce2..000000000000
--- a/devel/g-wrap/files/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
---- doc/g-wrap.texi.orig Thu Jun 22 06:42:12 2000
-+++ doc/g-wrap.texi Sat Jul 15 12:15:38 2000
-@@ -2,6 +2,10 @@
- @c %**start of header
- @setfilename g-wrap.info
- @settitle g-wrap
-+@dircategory Scheme Programming
-+@direntry
-+* g-wrap: (g-wrap). A tool for exporting C libraries into Scheme interpreters.
-+@end direntry
- @setchapternewpage on
- @c Choices for setchapternewpage are {on,off,odd}.
- @paragraphindent 0
diff --git a/devel/g-wrap/files/patch-g-wrap_Makefile.in b/devel/g-wrap/files/patch-g-wrap_Makefile.in
deleted file mode 100644
index 1e5ab26f8e38..000000000000
--- a/devel/g-wrap/files/patch-g-wrap_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- g-wrap/Makefile.in.orig Tue Feb 4 20:45:49 2003
-+++ g-wrap/Makefile.in Tue Feb 4 20:46:00 2003
-@@ -197,7 +197,7 @@
-
-
- #AM_CFLAGS = -O2 -g -Wall -Wno-uninitialized -Werror
--AM_CFLAGS = -O2 -g -Wall -Werror \
-+AM_CFLAGS = -Wall -Werror \
- ${GW_GLIB_CFLAGS_ADD} \
- ${GW_GUILE_GTK_CFLAGS_ADD}
-
diff --git a/devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in b/devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in
new file mode 100644
index 000000000000..6ffbfe171907
--- /dev/null
+++ b/devel/g-wrap/files/patch-guile_g-wrap-2.0-guile.pc.in
@@ -0,0 +1,15 @@
+--- guile/g-wrap-2.0-guile.pc.in.orig Mon Oct 11 06:32:16 2004
++++ guile/g-wrap-2.0-guile.pc.in Tue Sep 12 17:10:41 2006
+@@ -5,9 +5,10 @@
+ libdir=@libdir@
+ includedir=@includedir@
+ module_directory=@GUILEMODDIR@
++ffiincludedir= @includedir@/g-wrap/ffi
+
+ Name: G-Wrap
+ Description: A Guile wrapper generator
+ Version: @VERSION@
+-Libs: -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @GUILE_LDFLAGS@ @LIBFFI_LIBS_INSTALLED@
+-Cflags: @STD_CFLAGS@ -I${includedir} @GUILE_CFLAGS@ @LIBFFI_CFLAGS_INSTALLED@
++Libs: -L/usr/local/lib/elf -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @GUILE_LDFLAGS@
++Cflags: @STD_CFLAGS@ -I${includedir} -I${ffiincludedir} @GUILE_CFLAGS@ @LIBFFI_CFLAGS_INSTALLED@
diff --git a/devel/g-wrap/files/patch-libffi_configure b/devel/g-wrap/files/patch-libffi_configure
new file mode 100644
index 000000000000..2121d0c04a00
--- /dev/null
+++ b/devel/g-wrap/files/patch-libffi_configure
@@ -0,0 +1,11 @@
+--- libffi/configure.orig Tue Sep 12 17:01:51 2006
++++ libffi/configure Tue Sep 12 17:02:19 2006
+@@ -3285,7 +3285,7 @@
+ ;;
+ esac
+ else
+- enable_shared=yes
++ enable_shared=no # don't build shared lib (or conflict with gcc3*)
+ fi;
+
+ # Check whether --enable-static or --disable-static was given.
diff --git a/devel/g-wrap/pkg-plist b/devel/g-wrap/pkg-plist
index 75a89facdc33..51e877875029 100644
--- a/devel/g-wrap/pkg-plist
+++ b/devel/g-wrap/pkg-plist
@@ -1,47 +1,54 @@
bin/g-wrap-config
-include/g-wrap/g-wrap-compatibility.h
-include/g-wrap/g-wrap-glib.h
-include/g-wrap/g-wrap-wct.h
-lib/libgw-glib.a
-lib/libgw-glib.la
-lib/libgw-glib.so
-lib/libgw-glib.so.0
-lib/libgw-gtk.a
-lib/libgw-gtk.la
-lib/libgw-gtk.so
-lib/libgw-gtk.so.0
-lib/libgw-standard.a
-lib/libgw-standard.la
-lib/libgw-standard.so
-lib/libgw-standard.so.0
-lib/libgw-wct.a
-lib/libgw-wct.la
-lib/libgw-wct.so
-lib/libgw-wct.so.0
-lib/libgwrap-glib.a
-lib/libgwrap-glib.la
-lib/libgwrap-glib.so
-lib/libgwrap-glib.so.1
-lib/libgwrap-wct.a
-lib/libgwrap-wct.la
-lib/libgwrap-wct.so
-lib/libgwrap-wct.so.1
-share/aclocal/g-wrap.m4
-share/guile/g-wrap.scm
-share/guile/g-wrap/enumeration.scm
-share/guile/g-wrap/g-translate.scm
-share/guile/g-wrap/gtkobj.scm
-share/guile/g-wrap/gw-glib-spec.scm
-share/guile/g-wrap/gw-glib.scm
-share/guile/g-wrap/gw-gtk-spec.scm
-share/guile/g-wrap/gw-gtk.scm
-share/guile/g-wrap/gw-standard-spec.scm
-share/guile/g-wrap/gw-standard.scm
-share/guile/g-wrap/gw-wct-spec.scm
-share/guile/g-wrap/gw-wct.scm
-share/guile/g-wrap/output-file.scm
-share/guile/g-wrap/runtime.scm
-share/guile/g-wrap/simple-type.scm
-share/guile/g-wrap/sorting.scm
-@dirrm share/guile/g-wrap
+include/g-wrap-wct.h
+include/g-wrap/core-runtime.h
+include/g-wrap/ffi-support.h
+include/g-wrap/ffi/ffi.h
+include/g-wrap/ffi/ffitarget.h
+include/g-wrap/guile-compatibility.h
+include/g-wrap/guile-runtime.h
+include/g-wrap/guile-wct.h
+lib/libgw-guile-gw-glib.a
+lib/libgw-guile-gw-glib.la
+lib/libgw-guile-gw-glib.so
+lib/libgw-guile-gw-glib.so.0
+lib/libgw-guile-standard.a
+lib/libgw-guile-standard.la
+lib/libgw-guile-standard.so
+lib/libgw-guile-standard.so.0
+lib/libgwrap-core-runtime.a
+lib/libgwrap-core-runtime.la
+lib/libgwrap-core-runtime.so
+lib/libgwrap-core-runtime.so.0
+lib/libgwrap-guile-runtime.a
+lib/libgwrap-guile-runtime.la
+lib/libgwrap-guile-runtime.so
+lib/libgwrap-guile-runtime.so.0
+libdata/pkgconfig/g-wrap-2.0-guile.pc
+share/guile/site/g-wrap.scm
+share/guile/site/g-wrap/c-types.scm
+share/guile/site/g-wrap/compat.scm
+share/guile/site/g-wrap/enumeration.scm
+share/guile/site/g-wrap/guile.scm
+share/guile/site/g-wrap/guile/ws/standard.scm
+share/guile/site/g-wrap/gw-glib-spec.scm
+share/guile/site/g-wrap/gw-glib.scm
+share/guile/site/g-wrap/gw-standard-spec.scm
+share/guile/site/g-wrap/gw-wct-spec.scm
+share/guile/site/g-wrap/gw-wct.scm
+share/guile/site/g-wrap/gw/standard.scm
+share/guile/site/g-wrap/rti.scm
+share/guile/site/g-wrap/simple-type.scm
+share/guile/site/g-wrap/util.scm
+share/guile/site/g-wrap/ws/standard.scm
+share/guile/site/srfi/srfi-34.scm
+share/guile/site/srfi/srfi-35.scm
+@dirrmtry share/guile/site/srfi
+@dirrmtry share/guile/site/g-wrap/ws
+@dirrmtry share/guile/site/g-wrap/gw
+@dirrmtry share/guile/site/g-wrap/guile/ws
+@dirrmtry share/guile/site/g-wrap/guile
+@dirrmtry share/guile/site/g-wrap
+@dirrmtry share/guile/site
+@dirrmtry share/guile
+@dirrm include/g-wrap/ffi
@dirrm include/g-wrap