Subject: guile-gtk
To: None <tech-pkg@NetBSD.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: tech-pkg
Date: 06/16/2004 09:10:04
The latest guile-gtk tarball is old.  I made one, put it up, and made
wip/guile-gtk-devel that uses it.  This pkg uses devel/guile (1.6)
rather than the older 1.4, and I removed the libglade buildlink line
to avoid pulling in gnome libraries.

Perhaps the old guile-gtk should get renamed guile14-gtk, or perhaps
there is no need for it.  It looks like

cad/gwave
devel/g-wrap
www/galway

and depending on g-wrap is

finance/gnucash

So perhaps guile14-gtk is in order, along with g-wrap-guile14, and
then packages can be converted one at a time with no breakage.





To use the new guile-gtk-devel package, one has to patch lang/guile to
use threads:

Index: Makefile
===================================================================
RCS file: /NETBSD-CVS/pkgsrc/lang/guile/Makefile,v
retrieving revision 1.53
diff -u -r1.53 Makefile
--- Makefile	16 May 2004 17:52:11 -0000	1.53
+++ Makefile	16 Jun 2004 12:47:53 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.53 2004/05/16 17:52:11 danw Exp $
 
 DISTNAME=		guile-1.6.4
+PKGREVISION=		1
 CATEGORIES=		lang
 MASTER_SITES=		${MASTER_SITE_GNU:=guile/}
 
@@ -22,6 +23,10 @@
 TEST_DIRS=		${WRKSRC}
 TEST_TARGET=		check
 
+# Link the native thread so that Guile processes won't die when libpthread.so
+# is dl_open(3)'ed.
+CFLAGS+=		${PTHREAD_CFLAGS}
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "Darwin"
@@ -35,4 +40,5 @@
 .include "../../devel/libtool/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


-- 
        Greg Troxel <gdt@ir.bbn.com>