2005-09-26 13:44:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.80 2005/09/26 11:44:54 jmmv Exp $
|
2002-03-24 21:27:12 +01:00
|
|
|
|
Update to 2.6.6.
Overview of Changes from GLib 2.6.5 to GLib 2.6.6
=================================================
* Fix several bugs with the handling
of comments in key files [Mikael Magnusson]
* Fix g_atomic_pointer_compare_and_exchange
on Sparc64 [Gert Doering]
* Fix a deadlock with threadpools [Hong Jen Yee]
* Make GLib work on BeOS again [Kian Duffy]
* Win32 bug fixes [Kazuki Iwamoto]
* Other bug fixes [Roger Leigh, Kjartan Maraas,
Morten Welinder]
* New and updated translations (bg,cs,cy,de,
en_CA,es,et,fr,gu,hu,ja,ko,nl,sq,sr,sr@Latn,sv,
te,zh_CN,zh_TW)
2005-08-03 18:50:15 +02:00
|
|
|
DISTNAME= glib-2.6.6
|
2002-03-24 21:27:12 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/glib/glib2/}
|
2005-08-10 00:20:02 +02:00
|
|
|
PKGREVISION= 1
|
2002-03-24 21:27:12 +01:00
|
|
|
CATEGORIES= devel
|
2004-12-24 11:03:27 +01:00
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.6/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.6/ \
|
|
|
|
${MASTER_SITE_GNOME:=sources/glib/2.6/}
|
2002-12-19 13:59:29 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-03-24 21:27:12 +01:00
|
|
|
|
2004-08-31 13:53:07 +02:00
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
2002-03-24 21:27:12 +01:00
|
|
|
HOMEPAGE= http://www.gtk.org/docs/glib_toc.html
|
2004-10-04 13:19:40 +02:00
|
|
|
COMMENT= Some useful routines for C programming (glib2)
|
2002-03-24 21:27:12 +01:00
|
|
|
|
2004-04-24 06:56:17 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2002-03-24 21:27:12 +01:00
|
|
|
BUILD_USES_MSGFMT= yes
|
2004-02-11 18:14:13 +01:00
|
|
|
|
2002-11-30 22:08:23 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake perl:run pkg-config
|
2002-03-24 21:27:12 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-03-10 18:58:22 +01:00
|
|
|
TEST_TARGET= check
|
2004-02-14 18:21:32 +01:00
|
|
|
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE= glib-2.0-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-2.0-uninstalled.pc.in
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-export-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gobject-2.0-uninstalled.pc.in
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gobject-2.0.pc.in
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gthread-2.0-uninstalled.pc.in
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gthread-2.0.pc.in
|
2002-09-11 13:31:40 +02:00
|
|
|
|
2002-11-30 15:28:07 +01:00
|
|
|
GNU_CONFIGURE= # defined
|
2002-11-30 22:08:23 +01:00
|
|
|
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
|
2003-01-04 20:56:38 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
2002-03-24 21:27:12 +01:00
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib
|
Update to 2.4.1:
* Win32 bug fixes [Tor Lillqvist, Roger Leigh, John Ehresman]
* Miscellaneous bug and portability fixes [Owen Taylor,
Matthias Clasen, Jonas Jonsson, Christian Krause,
Nickolay V. Shmyrev, Christophe Saout, Philippe Blain,
Piotr Klaban]
* Documentation updates [Matthias]
* New and updated translations (ca,cs,cy,el,en_CA,en_GB,es,eu,fi,
fr,gu,he,id,nl,pt,pl,ru,sr,sr@ije,sr@Latn,sv,uk)
2004-05-02 22:05:53 +02:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
2004-03-10 18:58:22 +01:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
|
2003-10-31 03:11:43 +01:00
|
|
|
|
2004-03-10 18:58:22 +01:00
|
|
|
CONFIGURE_ARGS.gnu-iconv= --with-libiconv=gnu
|
2004-02-11 01:20:51 +01:00
|
|
|
|
2004-03-22 23:09:17 +01:00
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
|
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
|
2004-10-15 15:42:51 +02:00
|
|
|
CONFIGURE_ENV+= PERL_PATH=${PERL5}
|
|
|
|
|
2005-09-26 13:44:54 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-02-13 20:12:14 +01:00
|
|
|
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
|
|
|
|
CPPFLAGS+= -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
|
|
|
|
CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
Update to 2.6.1.
While here, get rid of the XDG path specification madness and use the
installation prefix to locate stuff instead of a nonsense hardcoded
path. Note that this is not pkgviews friendly (not a problem because
the previous behavior wasn't even). This makes applications work out
of the box (well, there are still some hardcoded paths in other
packages that have to be discovered), without any need to set an
environment variable.
* GOption
- Make gtk_init(NULL, NULL) work again [Marcin Krzyzanowski]
- Improve handling of -- [Matthias Clasen]
- Don't show G_OPTION_REMAINING in --help output [Matthew F. Barnes]
* g_find_program_in_path() doesn't return directories [Tommi Komulainen]
* Add gmodule-export-2.0.pc [Matthias]
* Win32 changes
- Improve hangling of UNC paths [Tor Lillqvist]
- g_getenv(), g_setenv(), g_unsetenv(), g_find_program_in_path()
take and return UTF-8 now [Tor]
- Make g_file_test() work more reliably, and use PATHEXT
when check for executables [Tor]
- Build and cross-compilation fixes [J. Ali Harlow]
* Other bug fixes [Jens Hatlak, Morten Welinder,
Tor, Kalpesh Shah, Adrian Bunk
* Documentation improvements [Marcin Krzyzanowski, Tor, Crispin
Flowerday, Mariano Suárez-Alvarez, Christian Biere, Danny Milo,
Vincent Untz, Bastien Nocera
* New and updated translations (cy,de,nl,ru,sq,sv)
2005-01-09 18:30:00 +01:00
|
|
|
|
2004-04-15 03:49:41 +02:00
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
|
|
|
|
|
|
SUBST_CLASSES= thr
|
|
|
|
SUBST_STAGE.thr= post-patch
|
|
|
|
SUBST_FILES.thr= gthread/Makefile.in
|
2005-07-06 09:00:10 +02:00
|
|
|
. if ${OS_VERSION:R} >= 5
|
|
|
|
SUBST_SED.thr= -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-lpthread|g"
|
|
|
|
. else
|
2004-04-15 03:49:41 +02:00
|
|
|
SUBST_SED.thr= -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-Wc,-lc_r|g"
|
2005-07-06 09:00:10 +02:00
|
|
|
. endif
|
2004-04-15 03:49:41 +02:00
|
|
|
SUBST_MESSAGE.thr= "Fixing libgthread."
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
Update to 2.4.1:
* Win32 bug fixes [Tor Lillqvist, Roger Leigh, John Ehresman]
* Miscellaneous bug and portability fixes [Owen Taylor,
Matthias Clasen, Jonas Jonsson, Christian Krause,
Nickolay V. Shmyrev, Christophe Saout, Philippe Blain,
Piotr Klaban]
* Documentation updates [Matthias]
* New and updated translations (ca,cs,cy,el,en_CA,en_GB,es,eu,fi,
fr,gu,he,id,nl,pt,pl,ru,sr,sr@ije,sr@Latn,sv,uk)
2004-05-02 22:05:53 +02:00
|
|
|
# Handle directories shared with devel/glib.
|
|
|
|
PRINT_PLIST_AWK+= /^@dirrm include\/glib$$/ \
|
|
|
|
{ print "@unexec $${RMDIR} %D/" $$2 \
|
|
|
|
" 2>/dev/null || $${TRUE}"; next; }
|
|
|
|
|
2004-02-10 02:56:42 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2004-12-20 14:05:08 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2004-02-10 02:56:42 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2002-08-01 07:48:00 +02:00
|
|
|
|
2002-03-24 21:27:12 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|