changes: * GtkNotebook - Tab reordering is a less intrusive - Rendering fixes on win32 * GtkTreeView - Column resizing works correctly in right-to-left languages - Many scrolling bugs have been fixed * GtkTextView: - Improved scrolling during DND. * GtkRecentManager is more robust against bad URIs * Print support: - The cups backend works with 'BrowseShortNames Off' in the cups configuration - Multi-valued options are properly passed to cups - Fix build with cups 1.3 - A few IPP compliance issues have been fixed - Make the lpr backend work on BSD * Input methods: - GtkEntryCompletion works with input methods - The Thai input method has been replace by a functional Thai and Lao input method based on libthai * Accessibility support: - GtkMessageDialog sets accessible name role explicitly * Theme support: - The semantics of the gtk-color-scheme setting has been slightly changed. Values from rc files are still merged together, but the X setting just overrides the prior table. * GdkPixbuf: - gdk_pixbuf_loader_write() now closes the loader when returning FALSE, as documented - The BMP loader supports more BMP variants, including transparency and 10-bit channels. -bugfixes -translation updates
93 lines
2.8 KiB
Makefile
93 lines
2.8 KiB
Makefile
# $NetBSD: Makefile,v 1.134 2007/01/08 16:41:31 drochner Exp $
|
|
|
|
DISTNAME= gtk+-2.10.7
|
|
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.10/ \
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.10/ \
|
|
${MASTER_SITE_GNOME:=sources/gtk+/2.10/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.gtk.org/
|
|
COMMENT= GIMP Toolkit v2 - libraries for building X11 user interfaces
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS= gtk2-engines<2.6.0
|
|
|
|
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.12.0
|
|
BUILDLINK_API_DEPENDS.pango+= pango>=1.13.0
|
|
|
|
USE_DIRS+= xdg-1.1
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake msgfmt perl pkg-config
|
|
USE_LIBTOOL= yes
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata
|
|
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
|
|
TEST_TARGET= check
|
|
|
|
PKGCONFIG_OVERRIDE= gdk-2.0-uninstalled.pc.in
|
|
PKGCONFIG_OVERRIDE+= gdk-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtk+-2.0-uninstalled.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtk+-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtk+-unix-print-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gdk-pixbuf-2.0-uninstalled.pc.in
|
|
PKGCONFIG_OVERRIDE+= gdk-pixbuf-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
|
|
|
|
REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0
|
|
|
|
BUILD_DIRS= ${WRKSRC} ${WRKSRC}/demos/gtk-demo
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
|
|
|
|
PRINT_PLIST_AWK+= /^@dirrm share\/themes\/Default$$/ \
|
|
{ print "@unexec $${RMDIR} %D/" $$2 \
|
|
" 2>/dev/null || $${TRUE}"; next; }
|
|
|
|
SUBST_CLASSES+= pthread
|
|
SUBST_STAGE.pthread= pre-configure
|
|
SUBST_MESSAGE.pthread= Fixing pthread flags.
|
|
SUBST_SED.pthread= -e 's,__PTHREAD_FLAGS__,${BUILDLINK_LDFLAGS.pthread},g'
|
|
SUBST_FILES.pthread= gdk-pixbuf/Makefile.in
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if ${OPSYS} == "IRIX" && !empty(CC_VERSION:Mgcc*)
|
|
USE_TOOLS+= gawk
|
|
.endif
|
|
|
|
# We remove the module databases during post-install since we create them
|
|
# anew in the +INSTALL script as part of the POST-INSTALL action.
|
|
#
|
|
post-install:
|
|
${RM} -f ${DESTDIR}${GTK_IMMODULES_DB}
|
|
${RM} -f ${DESTDIR}${GDK_PIXBUF_LOADERS_DB}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/gtk-2.0/immodules
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/gtk-2.0/modules
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/gtk-2.0/2.10.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 "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|