Subject: pkg/8806: pkgsrc/games/baduki: replacing gtk10 with gtk+
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 11/15/1999 16:38:02
>Number: 8806
>Category: pkg
>Synopsis: pkgsrc/games/baduki gtk10 dependency can be replaced by gtk+ dependency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 15 16:36:00 1999
>Last-Modified:
>Originator: Wiz
>Organization:
>Release: 1.4.1/pkgsrc 1999-11-15
>Environment:
System: NetBSD danbala 1.2.1 NetBSD 1.2.1 (DANBALA) #2: Sat Sep 6 03:08:12 MET DST 1997 root@danbala:/usr/src/sys/arch/i386/compile/DANBALA i386
>Description:
pkgsrc/games/baduki is to be the only program left in the package tree
that depends on gtk10. I think pkgsrc/gtk has replaced pkgsrc/gtk10,
so I changed baduki to compile with gtk, and it worked nicely.
I propose to change baduki's dependency to gtk+-1.2.6 (see below), and
optionally remove gtk10 from pkgsrc (if it really has been replaced by
gtk+-1.2.6).
>How-To-Repeat:
>Fix:
I tested the following patch against the current Makefile in
pkgsrc/baduki with NetBSD 1.4.1/i386.
diff -r -u baduki/Makefile baduki-new/Makefile
--- baduki/Makefile Sat Sep 11 13:54:55 1999
+++ baduki-new/Makefile Mon Nov 15 13:12:55 1999
@@ -8,12 +8,12 @@
HOMEPAGE= http://soback.kornet21.net/~artist/baduk/baduki.html
DEPENDS+= gettext-0.10.35:../../devel/gettext
-DEPENDS+= gtk10-1.0.6:../../x11/gtk10
+DEPENDS+= gtk+-1.2.6:../../x11/gtk
USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE} --without-included-gettext
-CONFIGURE_ENV+= GTK_CONFIG="${X11BASE}/bin/gtk10-config"
+CONFIGURE_ENV+= GTK_CONFIG="${X11BASE}/bin/gtk-config"
LDFLAGS+= -L$(LOCALBASE)/lib
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
>Audit-Trail:
>Unformatted: