Subject: Re: Linux: gtk2+ faild too
To: Aleksey Cheusov <cheusov@tut.by>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-users
Date: 10/05/2007 19:44:25
On Fri, 05 Oct 2007 16:15:25 +0900, Aleksey Cheusov <cheusov@tut.by> wro=
te:
> http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log//200=
70928.1243/gtk2+-2.12.0nb1/build.log
>>>
>>> It whould be great if somebody fix gtk2+.
>>
>> Patch file patch/patch-aa and pthread SUBST_CLASS in Makefile are sti=
ll
>> 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
...(snip)
LDADDS =3D libgdk_pixbuf-$(GTK_API_VERSION).la $(GLIB_LIBS)
...(snip)
gdk_pixbuf_query_loaders_LDADD =3D $(LDADDS) -pthread
Then, no need the patch for adding '-pthread' to gdk_pixbuf_query_loader=
s_LDADD.
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 / obata@lins.jp