Subject: Re: GTK+ and Xinerama (Re: CVS commit: pkgsrc/x11/gtk2)
To: None <tech-pkg@netbsd.org>
From: Eric Gillespie <epg@pretzelnet.org>
List: tech-pkg
Date: 01/12/2003 16:49:37
Eric Gillespie <epg@pretzelnet.org> writes:

> GTK+ provides a --enable-explicit-deps argument to the
> configure script to take care of this for us.

Actually, this causes the build to fail.  What i tested with
GConf2 was my original fix before discovering
--enable-explicit-deps; whoops.  So, it looks like this will have
fixed the same way as pkg/19777.  Install the following patch
into the patches dir:

$NetBSD$

--- gdk-2.0.pc.in.orig	Tue Mar  5 16:03:49 2002
+++ gdk-2.0.pc.in
@@ -8,5 +8,5 @@ Name: GDK
 Description: GIMP Drawing Kit (${target} target)
 Version: @VERSION@
 Requires: gdk-pixbuf-2.0 @GDK_PACKAGES@
-Libs: -L${libdir} -lgdk-${target}-@GTK_API_VERSION@ @GDK_EXTRA_LIBS@
+Libs: -L${libdir} -lgdk-${target}-@GTK_API_VERSION@ @GDK_EXTRA_LIBS@ -lXinerama
 Cflags: -I${includedir}/gtk-2.0 -I${libdir}/gtk-2.0/include @GDK_EXTRA_CFLAGS@


--  
Eric Gillespie <*> epg@pretzelnet.org

Build a fire for a man, and he'll be warm for a day.  Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett