dd80c4b8cc
Overview of Changes in GTK+ 3.20.8 ================================== * Revert an unintentional bump of the GLib requirement in 3.20.7 Overview of Changes in GTK+ 3.20.7 ================================== * Bugs fixed: 118959 GtkScale value '-0' 674215 regression with updating tooltips 708148 gtk_tree_view_get_path_at_pos mistakenly identifies column of ini... 745622 Selected text not highlighted in GtkInfoBar 747206 gtktextview: note on how to get line spacing between two paragraphs 764060 opening a second nautilus while a delete operation is in progress... 764203 Default background color for the 'textview border' node 765924 Improve external drives detection 766120 Scale draw_value() align changed from centre/right (H/V) to lefti... 766122 Re-used filechooser displays $pwd half of the time when shown 766341 Do not rely on memfd as it requires a fairly recent kernel 766643 Frozen windows when unmapped with pending configure event 766782 OpenGL in broadway leads to segmentation fault 767058 GtkInfoBar: right-click/context menu all white 767468 Popover over a treeview cellrenderer is hidden immediately after ... 767705 GtkActionHelper: Change a message to a warning 767766 CUPS 2.X detected incorrectly by configure 767795 Warning when the "accelerator" property of GtkShortcutsShortcut ... 767848 crash in the window test 767851 Adwaita: popover arrows broken in some orientations 768016 [Wayland] Submenus often get closed after ~2 seconds 768025 entry.warning & entry.error broken 768082 wayland: copying from Wayland to NEdit (Xwayland/Motif) doesn't work 768142 Incorrect order of $(LIBS) and $(OBJS) in Makefile.example caused... 768177 CLIPBOARD target request after PRIMARY request times out. GDK_SEL... 768485 Change the priority of the window-close idle to G_PRIORITY_DEFAULT 768657 places-view: fix open action for locations without a mount or volume 768930 reftests: override GSETTINGS_SCHEMA_DIR when running tests 769003 Adwaita: GtkCalendar uses a confusing style for week of year 769047 GtkWidget <-> GtkStyleContext API not clear * Translation updates: Indonesian Norwegian bokmål
103 lines
3.5 KiB
Makefile
103 lines
3.5 KiB
Makefile
# $NetBSD: Makefile,v 1.84 2016/08/10 08:55:37 prlw1 Exp $
|
|
|
|
DISTNAME= gtk+-3.20.8
|
|
PKGNAME= ${DISTNAME:S/gtk/gtk3/}
|
|
CATEGORIES= x11 gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gtk.org/
|
|
COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake perl pkg-config bash xgettext msgmerge
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
PTHREAD_AUTO_VARS= yes
|
|
BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
|
|
TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools
|
|
# There is no logic in gettext.mk to detect the native version of xgettext,
|
|
# and we do need it to be compiled with Glade support.
|
|
_TOOLS_USE_PKGSRC.xgettext=yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
# XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh
|
|
CONFIG_SHELL= ${TOOLS_PATH.bash}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata
|
|
# Work around build problems, disable unstable PAPI, PR #41608:
|
|
CONFIGURE_ARGS+= --disable-papi
|
|
# Avoid regeneration of Makefile.in after configure.ac patch
|
|
CONFIGURE_ARGS+= --disable-maintainer-mode
|
|
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
|
|
TEST_TARGET= check
|
|
|
|
PKGCONFIG_OVERRIDE+= gdk-3.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtk+-3.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gtk+-unix-print-3.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gail-3.0.pc.in
|
|
|
|
INSTALLATION_DIRS+= lib/gtk-3.0/immodules
|
|
INSTALLATION_DIRS+= lib/gtk-3.0/modules
|
|
INSTALLATION_DIRS+= lib/gtk-3.0/3.0.0/filesystems
|
|
|
|
#REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0
|
|
|
|
BUILD_DIRS= . demos/gtk-demo
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# 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= ${LOCALBASE}/bin/ggrep
|
|
.endif
|
|
# isnan and isinf are part of libc, not libm on DragonFly
|
|
# conf tests fail detection due to conflicting definitions, just skip them
|
|
CONFIGURE_ENV.DragonFly+= ac_cv_func_isinf=yes
|
|
CONFIGURE_ENV.DragonFly+= ac_cv_func_isnan=yes
|
|
|
|
CFLAGS.SunOS+= -std=gnu99
|
|
|
|
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
|
|
|
|
# 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}${GTK3_IMMODULES_DB}
|
|
|
|
_BUILDING_GTK3= yes
|
|
.include "modules.mk"
|
|
|
|
.include "../../databases/shared-mime-info/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.atk+= atk>=2.15.1
|
|
.include "../../devel/atk/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.45.8
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.gdk-pixbuf2+= gdk-pixbuf2>=2.30.0
|
|
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.gobject-introspection:= build
|
|
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.39.0
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/glib2/schemas.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.pango+= pango>=1.37.3
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.14.0
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../graphics/cairo-gobject/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libepoxy+= libepoxy>=1.2nb2
|
|
.include "../../graphics/libepoxy/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|