pkgsrc/x11/gtk2/Makefile
prlw1 58ec7e8edc Update gtk2 to 2.24.27
Overview of Changes from GTK+ 2.24.26 to 2.24.27
================================================

* Bug fixes:
 696505 Segfault on Windows x64: gtkstatusicon.c tries to put 64-bit...
 745052 Icon theme code assumes directories with mtime 0 don't exist
        Don't leak pixel data in some error paths
 745536 gdk: Fix GdkWindowFilter internal refcounting


Overview of Changes from GTK+ 2.24.25 to 2.24.26
================================================

* Bug fixes:
 635380 gdk_event_apply_filters is unsafe against changes ...
 738837 region leak
 741060 Graphical artifacts drawn on Win32 since 4ecbef0791d4
 741959 text input broken on OS X 10.5 from 2.24.19 onwards
 743544 gtk2 autogen.sh fails with automake 1.15
 743917 Gtk modules must be compatible with both gtk 2 and 3
        gailbutton: Avoid a possible NULL dereference
        label: Avoid a possible NULL dereference


Overview of Changes from GTK+ 2.24.24 to 2.24.25
================================================

* Bug fixes:
 689138 GtkButton: do not prelight in touchscreen mode
 705054 Embed manifest into gtk-update-icon-cache.exe
 729924 Crash while trying to print
 731582 Please use AC_PATH_TOOL to improve cross-compile...
 733689 Editing a GtkEntry with completion, causes CRITI...
 734563 Fails to install due to typo in modules/input/Ma...
 734879 gdk_test_simulate_key() has no implementation on...
 735005 gdk_drawable_get_screen() used for mask, which i...
 735428 gtk_main() tries to unlock an unlocked mutex
Avoid a crash when using the pixbuf engine outside GTK+

* Other changes:
 - Build fixes for MS Visual C 2010 and later

* Translation updates:
 Hungarian


Overview of Changes from GTK+ 2.24.23 to 2.24.24
================================================

* Bug fixes:
 686170 gdk/win32: VK_SNAPSHOT maps to GDK_Print
 693200 Printing via evince crashes badly when /tmp is not writable
 696232 win32: do not crash on invalid utf8 conversion
 711177 Print to file fails with default settings
 711553 gdk/win32: remove extra allocation for \r removal
 721895 Remove GtkIconCache
 723366 GtkFileChooser crashes due to a signal connection left behind...
 728745 win32: add more clipboard data checks to avoid crash
 731967 Pixmap leak with GtkNotebook under mingw

* Other changes:
- This release changes the default behavior of gtk-update-icon-cache
  to not include image data into the icon cache. Use the new
  --include-image-data flag to get the old behavior back.

* Translation updates:
 Hebrew
 Polish


Overview of Changes from GTK+ 2.24.22 to 2.24.23
================================================

* Bug fixes:
 634146 Calls to g_win32_get_package_installation_directory_of_module()...
 651224 null pointer dereferenced due to multiple bugs in gtkclipboard-...
 665507 Pixmap via cairo DIB breaks gdk_gc_set_stipple() use
 671538 memory and gdi leaks on windows xp
 701751 GtkProgressBar causes warnings
 704937 IME input method does not handle dead keys
 705367 kqueue file monitor consumes file descriptors
 708119 Wrong gdk_pixmap_new() parameters in documentation
 708783 printing crashes gtk based apps (firefox, chromium, gimp, ...)
 710936 GtkFileChooser: Incorrect Japanese message for an error dialog...
 711110 GDK_HINT_MAX_SIZE ignored on Win32
 711298 "Edit Scheduled Transaction" window way too modal
 711552 Crash when processing list of GdkWindows
 712536 Themes with specified gap_file, gap_start_file or gap_end_file...
 722496 GtkFileChooser: fix documentation
2015-03-14 00:39:14 +00:00

120 lines
3.9 KiB
Makefile

# $NetBSD: Makefile,v 1.266 2015/03/14 00:39:14 prlw1 Exp $
DISTNAME= gtk+-2.24.27
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/2.24/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gtk.org/
COMMENT= GIMP Toolkit v2 - libraries for building X11 user interfaces
LICENSE= gnu-lgpl-v2.1
# gtk-builder-convert uses minidom from xml.dom, which needs expat
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
CONFLICTS= gtk2-engines<2.6.0
CONFLICTS+= gail-[0-9]*
SUPERSEDES= gail-[0-9]*
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt perl pkg-config
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
PTHREAD_AUTO_VARS= yes
GNU_CONFIGURE= yes
# bashism in "configure" (illegal variable substitution), patched
#CONFIG_SHELL= bash
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata
# Work around build problems, disable unstable PAPI, PR #41608:
CONFIGURE_ARGS+= --disable-papi
# Not to unwanted pick up of db2html, PR#44908
CONFIGURE_ENV+= ac_cv_prog_DB2HTML=false
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
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
INSTALLATION_DIRS+= lib/gtk-2.0/immodules
INSTALLATION_DIRS+= lib/gtk-2.0/modules
INSTALLATION_DIRS+= lib/gtk-2.0/2.10.0/filesystems
REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0
BUILD_DIRS= . demos/gtk-demo
.include "../../mk/bsd.prefs.mk"
# fix for 'only weak aliases are supported on darwin' error
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-visibility
.endif
# gtk/Makefile.am hardcodes 'grep -o' so require GNU grep on platforms
# which do not have it.
.if ${OPSYS} == "SunOS"
BUILD_DEPENDS+= grep-[0-9]*:../../textproc/grep
TOOLS_PATH.grep= ${PREFIX}/bin/ggrep
.endif
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
#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
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.24.22
REPLACE_PYTHON= gtk/gtk-builder-convert
# 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}
EVAL_PREFIX+= PREFIX.hicolor=hicolor-icon-theme
FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${PREFIX}/bin/gtk-update-icon-cache"
FILES_SUBST+= ICON_THEME_DIR="${PREFIX.hicolor}/share/icons/hicolor"
INSTALL_TEMPLATES+= ../../x11/gtk2/files/icon-cache.tmpl
PRINT_PLIST_AWK+= /^share\/icons\/hicolor\/icon-theme.cache$$/ { next; }
_BUILDING_GTK2= yes
.include "modules.mk"
.include "../../databases/shared-mime-info/buildlink3.mk"
BUILDLINK_API_DEPENDS.atk+= atk>=1.30.0
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.28.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
BUILDLINK_DEPMETHOD.gobject-introspection:= build
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.3
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "options.mk"
BUILDLINK_API_DEPENDS.pango+= pango>=1.20.0
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.6.0
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
#.include "../../mk/jpeg.buildlink3.mk"
#.include "../../graphics/png/buildlink3.mk"
#.include "../../graphics/tiff/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"