* GtkFileChooser - Use Save button in save mode. [Federico Mena Quintero] - Check for errors when opening folders [Federico] - Fall back to stock icons if icon theme is not found [Federico] - Bug fixes [Federico, Alex Roitman, Owen Taylor] * GtkComboBox - Make it work without a model [Mariano Suarez-Alvarez, Christian Persch] - Improve placement of popup [David A. Knight] * GtkImage - Fix issues with partial redrawing [John Ehresman, Felipe Heidrich, Billy Biggs] * GtkEntry - Fix cursor movement with combining marks [Theppitak Karoonboonyanan] - Protect passwords better [Morten Welinder] * Win32 fixes - Fix build without wintab [J. Ali Harlow] - Improve Clipboard handling [Tor Lillqvist, John Ehresman] * Gdk - Make RGBA cursors work [Michael Natterer] - Work with odd XServers [Bastien Nocera] - Handle _NET_WM_STATE_ABOVE/_BELOW better [Billy Biggs] - Don't leak DND contexts [Alex Larsson] * gdk-pixbuf - Make tiff loader work with libtiff 3.6.1 [Marco Ghirlanda] - Fix math for GDK_INTERP_HYPER [Brian Cameron] - Fix Win32 exported symbols [Tor Lillqvist] * Documentation improvements [Billy Biggs, Matthias Clasen, Oliver Andrieu] * Other bug fixes [Federico, Michael, Matthias, Philip Kendall, Jean-François Wauthy, John Finlay, Jeff Franks, Tim Janik, Nickolay V. Shmyrev, Sampo Nurmentaus, William Jon McCann, Jan-Marek Glogowski, Yevgen Muntyan, Pawel Salek, Jonathan Blandford, Sunil, Dimitiry. M Shatrov] * Updated translations (bg,he,hu,ne,sq)
84 lines
2.6 KiB
Makefile
84 lines
2.6 KiB
Makefile
# $NetBSD: Makefile,v 1.57 2004/07/10 09:36:22 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= gtk+-2.4.4
|
|
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.4/ \
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.4/ \
|
|
${MASTER_SITE_GNOME:=sources/gtk+/2.4/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.gtk.org/
|
|
COMMENT= The GIMP Toolkit - libraries for building X11 user interfaces
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
BUILDLINK_DEPENDS.Xft2+= Xft2>=2.1.2nb2
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_DIRS+= xdg-1.1
|
|
USE_PKGINSTALL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_X11= yes
|
|
USE_GNU_TOOLS+= make
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-xinput=xfree
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
|
CONFIGURE_ENV+= ac_cv_header_X11_extensions_Xinerama_h=no
|
|
CONFIGURE_ENV+= ac_cv_lib_Xinerama_XineramaQueryExtension=no
|
|
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
|
|
MAKE_ENV+= PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}"
|
|
TEST_TARGET= check
|
|
|
|
PKGCONFIG_OVERRIDE= gdk-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtk+-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gdk-pixbuf-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
|
|
|
|
MAKE_DIRS+= ${PREFIX}/libdata/gtk-2.0
|
|
|
|
BUILD_DIRS= ${WRKSRC} ${WRKSRC}/demos/gtk-demo
|
|
|
|
PRINT_PLIST_AWK+= /^@dirrm share\/themes\/Default$$/ \
|
|
{ print "@unexec $${RMDIR} %D/" $$2 \
|
|
" 2>/dev/null || $${TRUE}"; next; }
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
# work around /**/ in a macro definition in X11/Xlibint.h (GetEmptyReq)
|
|
# being expanded to a space, causing breakage in gdk/x11/gdkasync.c.
|
|
#
|
|
# turning on strict ISO C compliance uses a different macro definition
|
|
# which uses ## instead and does what it should.
|
|
.if !empty(CC_VERSION:MSun)
|
|
CPPFLAGS+= -Xc
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/engines
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/modules
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/2.4.0/engines
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/gtk-2.0/2.4.0/filesystems
|
|
|
|
_BUILDING_GTK2= yes
|
|
.include "modules.mk"
|
|
|
|
.include "../../devel/atk/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
|
.include "../../fonts/Xft2/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../x11/xcursor/buildlink3.mk"
|
|
.include "../../x11/Xrandr/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|