Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2003 18:11:47 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org
Subject:   [patch] devel/g-wrap doesn't detect glib+fix plist (bento)
Message-ID:  <200303041711.h24HBlaN022935@menelaos.informatik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Volker Stolz
>Organization:	Lehrstuhl für Informatik II
>Confidential:	no 
>Synopsis:	[patch] devel/g-wrap doesn't detect glib+fix plist (bento)
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 4.7-STABLE i386
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.7-STABLE FreeBSD 4.7-STABLE #2: Fri Feb 7 12:48:00 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/src/sys/compile/MENELAOS i386


	
>Description:
Bento noticed a broken plist, I noticed several oddities while fixing this:
- typo in Makefile: s/GNOMNG/GNOMENG
- additional patch for picking up glib[12]-config correctly
- missing dependecy on x11-toolkits/guile-gtk (disabled due to brokeness,
    see below, fix plist w.r.t. broken guile-gtk-port
- de-pkg-comment

>How-To-Repeat:
>Fix:
Committer: Retire pkg-comment
--- g-wrap begins here ---
--- Makefile.orig	Tue Mar  4 16:55:58 2003
+++ Makefile	Tue Mar  4 18:01:13 2003
@@ -14,15 +14,23 @@
 		http://people.freebsd.org/~sobomax/
 
 MAINTAINER=	gnome@FreeBSD.org
+COMMENT=	A tool for exporting C libraries into Scheme interpreters
 
 BUILD_DEPENDS=	${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib
+# guile-gtk currently broken, cf. PR ports/48923 
+# BUILD_DEPENDS+=	${X11BASE}/bin/build-guile-gtk:${PORTSDIR}/x11-toolkits/guile-gtk
 LIB_DEPENDS=	guile.10:${PORTSDIR}/lang/guile
 RUN_DEPENDS=	${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib
 
+.if exists(${X11BASE}/bin/build-guile-gtk)
+BROKEN=	"Does not build with x11-toolkits/guile-gtk installed!"
+.endif
+
 USE_LIBTOOL=	yes
 USE_GMAKE=	yes
-USE_GNOMNG=	gtk12
+USE_GNOMENG=	gtk12 glib12
 INSTALLS_SHLIB=	yes
-MAKE_ENV=	GUILE_LOAD_PATH=${WRKSRC}
+CONFIGURE_ENV+=	GW_GLIB_CONFIG="${GLIB_CONFIG}"
+MAKE_ENV+=	GUILE_LOAD_PATH=${WRKSRC}
 
 .include <bsd.port.mk>
--- pkg-plist.orig	Tue Mar  4 17:58:59 2003
+++ pkg-plist	Tue Mar  4 18:02:03 2003
@@ -8,9 +8,9 @@
 lib/libgw-glib.a
 lib/libgw-glib.so
 lib/libgw-glib.so.0
-lib/libgw-gtk.a
-lib/libgw-gtk.so
-lib/libgw-gtk.so.0
+@comment lib/libgw-gtk.a
+@comment lib/libgw-gtk.so
+@comment lib/libgw-gtk.so.0
 lib/libgw-standard.a
 lib/libgw-standard.so
 lib/libgw-standard.so.0
@@ -27,11 +27,11 @@
 share/guile/g-wrap.scm
 share/guile/g-wrap/enumeration.scm
 share/guile/g-wrap/g-translate.scm
-share/guile/g-wrap/gtkobj.scm
+@comment 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
+@comment share/guile/g-wrap/gw-gtk-spec.scm
+@comment 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
--- g-wrap ends here ---



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303041711.h24HBlaN022935>