Subject: Re: Linux: gtk2+ faild too
To: Aleksey Cheusov <>
From: OBATA Akio <>
List: pkgsrc-users
Date: 10/05/2007 19:44:25
On Fri, 05 Oct 2007 16:15:25 +0900, Aleksey Cheusov <> wro=

>>> It whould be great if somebody fix gtk2+.
>> Patch file patch/patch-aa and pthread SUBST_CLASS in Makefile are sti=
>> needed?
>> PTHREAD_AUTO_VARS=3Dyes does not handle this?
> The problem was that "file" utility was not installed.
> So, now this package is compiled sucessfully.

Fundamentally, patch-aa is not necessary any longer.

On my NetBSD-4.0_RC1:
in ${WRKDIR}/gtk+-2.12.0/gdk-pixbuf/Makefile:

GLIB_LIBS =3D -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgobject-2.0 -=
lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
LDADDS =3D libgdk_pixbuf-$(GTK_API_VERSION).la $(GLIB_LIBS)
gdk_pixbuf_query_loaders_LDADD =3D $(LDADDS)  -pthread

Then, no need the patch for adding '-pthread' to gdk_pixbuf_query_loader=
LDADDS already includes '-pthread'.
If certain platform needs this patch, should not patch here,
fix gthread-2.0.pc instead.
-- =

"Of course I love NetBSD":-)
OBATA Akio /