pkgsrc/x11/gtk3/Makefile

107 lines
3.7 KiB
Makefile
Raw Normal View History

2021-09-29 21:00:02 +02:00
# $NetBSD: Makefile,v 1.167 2021/09/29 19:01:30 adam Exp $
DISTNAME= gtk+-3.24.30
PKGNAME= ${DISTNAME:S/gtk/gtk3/}
2021-09-29 21:00:02 +02:00
PKGREVISION= 1
Update gtk3 to version 3.8.2 Rename patch-gtk_a11y_gail.c to patch-gtk_a11y_gtkaccessibility.c Many improvements, bug fixes and translation updates: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.8.2 Highlights: * Deprecations and removals: - Custom CSS properties have been deprecated - Support for color schemes has been removed - gtk_style_provider_get_style, gtk_style_provider_get_icon_factory - GtkGradient and GtkSymbolicColor - All the padding style properties in menus * CSS improvements: - Add cycle detection to color resolving * A lot of filechooser button fixes * The print dialog now shows printers that are discovered using avahi, if configured with --enable-avahi-browsing * We now support the Window Manager frame synchronization protocol draft (when running under a WM that supports it). This means applications will throttle their drawing cycle to what the compositor is drawing, and the compositor will never render half-updated windows, for seamless resizing and improved smoothness in drawing. See https://mail.gnome.org/archives/wm-spec-list/2013-January/msg00000.html and the articles at http://blog.fishsoup.net/ for more details. * We now support setting an opacity to any GtkWidget, not just toplevels: gtk_window_set_opacity has been deprecated in favor of gtk_widget_set_opacity. * GtkIconTheme gained asynchronous loaders for GtkIconInfo objects * GtkIconInfo has changed from being a boxed type to a GObject. This is technically an ABI change, but basically all existing code will keep working if its used as a boxed type, and its not possible to instantiate GtkIconInfos outside Gtk, so this is not expected to be a big problem. * GtkTreeView and GtkIconView allow single-click activation * GtkImage can be set from a resource * GdkWaylandDisplay is now public * gdk_window_set_fullscreen_mode: new function to let windows be fullscreened across multiple monitors * We now use state flags for text direction: GTK_STATE_FLAG_LTR/RTL. gtk_style_context_set_direction() has been deprecated. * We install headers for accessible implementations of GTK+ widgets. This makes it possible to implement accessibility for third-party widgets by subclassing the proper GTK+ implementation. To do this, include gtk/gtk-a11y.h. * Invisible widgets now return a size of 0x0. This is an experimental change that makes GtkWidget::visible essentially behave the same way that "display: none" does in CSS. If you want the effect of CSS's "visibility: hidden", you can use a GtkNotebook with an empty page. * GtkFrame now draws a background. * The Broadway backend now installs a separate server: broadwayd. * GtkBuilder now lets you refer to external objects from a ui file if the objects have been exported with the new function gtk_builder_expose_object() * Font handling has been improved: - The default font is no longer handled like a custom style sheet that overrides everything, but as the initial value. This is the same behavior as in web browsers. - It is now possible to set font-family and font-size like other CSS properties, and relative font sizes are supported. Font sizes in CSS can be specified as numbers or with keywords like xx-small, medium, smaller, larger,... * GTK+ now uses proper Unicode ellipses in strings.
2013-05-19 00:44:43 +02:00
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
2017-08-16 22:21:03 +02:00
HOMEPAGE= https://www.gtk.org/
COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces
LICENSE= gnu-lgpl-v2.1
# "error: 'for' loop initial declarations are only allowed in C99 mode"
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= ggrep gmake perl pkg-config bash xgettext msgmerge
USE_TOOLS+= gdbus-codegen
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
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
# 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
Update gtk3 to version 3.8.2 Rename patch-gtk_a11y_gail.c to patch-gtk_a11y_gtkaccessibility.c Many improvements, bug fixes and translation updates: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.8.2 Highlights: * Deprecations and removals: - Custom CSS properties have been deprecated - Support for color schemes has been removed - gtk_style_provider_get_style, gtk_style_provider_get_icon_factory - GtkGradient and GtkSymbolicColor - All the padding style properties in menus * CSS improvements: - Add cycle detection to color resolving * A lot of filechooser button fixes * The print dialog now shows printers that are discovered using avahi, if configured with --enable-avahi-browsing * We now support the Window Manager frame synchronization protocol draft (when running under a WM that supports it). This means applications will throttle their drawing cycle to what the compositor is drawing, and the compositor will never render half-updated windows, for seamless resizing and improved smoothness in drawing. See https://mail.gnome.org/archives/wm-spec-list/2013-January/msg00000.html and the articles at http://blog.fishsoup.net/ for more details. * We now support setting an opacity to any GtkWidget, not just toplevels: gtk_window_set_opacity has been deprecated in favor of gtk_widget_set_opacity. * GtkIconTheme gained asynchronous loaders for GtkIconInfo objects * GtkIconInfo has changed from being a boxed type to a GObject. This is technically an ABI change, but basically all existing code will keep working if its used as a boxed type, and its not possible to instantiate GtkIconInfos outside Gtk, so this is not expected to be a big problem. * GtkTreeView and GtkIconView allow single-click activation * GtkImage can be set from a resource * GdkWaylandDisplay is now public * gdk_window_set_fullscreen_mode: new function to let windows be fullscreened across multiple monitors * We now use state flags for text direction: GTK_STATE_FLAG_LTR/RTL. gtk_style_context_set_direction() has been deprecated. * We install headers for accessible implementations of GTK+ widgets. This makes it possible to implement accessibility for third-party widgets by subclassing the proper GTK+ implementation. To do this, include gtk/gtk-a11y.h. * Invisible widgets now return a size of 0x0. This is an experimental change that makes GtkWidget::visible essentially behave the same way that "display: none" does in CSS. If you want the effect of CSS's "visibility: hidden", you can use a GtkNotebook with an empty page. * GtkFrame now draws a background. * The Broadway backend now installs a separate server: broadwayd. * GtkBuilder now lets you refer to external objects from a ui file if the objects have been exported with the new function gtk_builder_expose_object() * Font handling has been improved: - The default font is no longer handled like a custom style sheet that overrides everything, but as the initial value. This is the same behavior as in web browsers. - It is now possible to set font-family and font-size like other CSS properties, and relative font sizes are supported. Font sizes in CSS can be specified as numbers or with keywords like xx-small, medium, smaller, larger,... * GTK+ now uses proper Unicode ellipses in strings.
2013-05-19 00:44:43 +02:00
# 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
BUILD_DIRS= . demos/gtk-demo
.include "../../mk/bsd.prefs.mk"
# isnan and isinf are part of libc, not libm on DragonFly
# conf tests fail detection due to conflicting definitions, just skip them
2016-02-26 11:57:45 +01:00
CONFIGURE_ENV.DragonFly+= ac_cv_func_isinf=yes
CONFIGURE_ENV.DragonFly+= ac_cv_func_isnan=yes
# "error: 'for' loop initial declarations are only allowed in C99 mode"
CFLAGS+= -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}
FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${PREFIX}/bin/gtk-update-icon-cache"
FILES_SUBST+= ICON_THEME_DIR="${PREFIX}/share/icons"
INSTALL_TEMPLATES+= ../../x11/gtk2/files/icon-cache.tmpl
_BUILDING_GTK3= yes
.include "modules.mk"
.include "../../converters/fribidi/buildlink3.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.57.2
.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"
gtk3: Update x11/gtk to 3.24.1 Changes: Overview of Changes in GTK+ 3.24.1 ================================== * Adwaita: - Improvements to headerbar styling * Wayland: - Fix handling of preedit text * Windows: - Implement smooth scrolling * Fix critical warnings on shutdown * Translation updates: - Czech - Friulian - Russian - Spanish Overview of Changes in GTK+ 3.24.0 ================================== * GtkApplication can now track screensaver state * Translation updates: - Brazilian Portuguese - Croatian - Czech - Danish - French - Galician - German - Greek - Hungarian - Indonesian - Italian - Latvian - Lithuanian - Polish - Swedish - Turkish Overview of Changes in GTK+ 3.23.3 ================================== * Deprecate a few APIs that are gone in GTK+ 4: - focus chains in GtkContainer - stepper sensitivity in GtkRange * Allow picking colors under kwin * Bug fixes: #404 window: Fallback to CSD titlebar in focus-chain #770 scrolledwindow: Fix horizontal decleration #1263 win32: Implement smooth scrolling #134 #432 #574 #579 #878 tooltip: Position using move-to-rect #844 wayland: avoid idempotent wl_subsurface_set_position #2393 Fix a typo #125 combobox: Fix a critical warning !290 fontchooser: Add missing build flags !172 filechooser: Don't show private recent items * Translation updates: - Brazilian Portuguese - British English - Catalan - Chinese (Taiwan) - French - German - Indonesian - Italian - Kazakh - Korean - Lithuanian - Polish - Turkish Overview of Changes in GTK+ 3.23.2 ================================== * Emoji chooser improvements - Try harder to avoid fallback rendering - Avoid hex boxes - Use icons for sections * Color chooser improvements - Allow picking colors from the screen again. The current implementation can use either the screnshot portal or a recent gnome-shell API * GtkPlacesSidebar now shows a spinner during mount operations * Wayland - Support both gtk-text-input and text-input-unstable-v3 as input protocol * Bug fixes: #628 TextView: spaces acting as non-breaking whitespace... !248 win32: Correct handling of transient state changes !272 Replace gtk_text_input with text_input_unstable_v3 support * Translation updates: - German - Lithuanian - Polish - Spanish - Turkish Overview of Changes in GTK+ 3.23.1 ================================== * Backported event controllers from GTK+ 4: - GtkEventControllerScroll - GtkEventControllerMotion - GtkEventControllerKey - GtkGestureStylus * Support markup in GtkModelButtons * Themes - The Raleigh theme has been removed - Expander size in HighContrast has been increased * Wayland - Update cursor scale when needed - Decoration negotiation protocol fixes * Windows - Add an EGL renderer based on ANGLE * Translation updates: - Brazilian Portuguese - German - Hungarian Overview of Changes in GTK+ 3.23.0 ================================== * Dependency bumps: - Require libepoxy 1.4 - Require pango 1.41 * New font chooser features: - Allow setting OpenType font features - Show examples for OpenType font features - Allow selecting OpenType font variations - Support levels of details for selection * New Emoji features: - Support a completion popup for Emoji - Drop Ctrl-Shift-e shortcut * Other new apis: - gdk_window_move_to_rect * Wayland: - Use anonymous shared memory on FreeBSD * Bugs fixed: #85 widgetDragDestFindTarget introspection data does not show nullable... #154 Documentation: Lifecycle of Editables inside GtkCellRenderers is no... #193 Document that GtkUIManager is deprecated by GtkBuilder #199 MenuButton not notified when its Popover is destroyed, still access... #292 GtkRanges should send ::change-value even if not realized #450 Menu navigation triangle doesn't work anymore #792 Focus events are not always matched #898 emoji-chooser: search for flags doesn't work #997 gdk: Make gdk_window_move_to_rect public #1053 Scroll cursor gets left behind if a child widget steals the scroll #1059 -Wparentheses warnings in GTK+ headers when compiling C++ code with... #1065 GtkScrollbar horizontal mouse wheel scroll direction is wrong #1069 Thread 1 "glade" received signal SIGFPE, Arithmetic exception. #1088 CssGadget: Round px values up for min-width|height #1115 gtk icon theme searches system dirs before user dirs #1134 x11: Always set None pixmap for no background #1160 a11y/entry: Fix copy-pasteo re 2ndary icon tooltip #1165 InfoBar: Fix wrong type in copy-pasted param doc #1166 EmojiCompletion: Use Box:spacing instead of CSS !125 HC: Avoid same BG/FG colors in flat treeview entry !157 wayland: Implement 'gtk-fontconfig-timestamp' & 'gtk-modules' !181 W32: Don't forget to check VK_MENU and set MK_ALT !206 searchenginetracker: Don't leak the hits' GFiles 407242 GtkScale: Up/Down keys decrease/increase value, which is opposite... 686109 gtk_print_context_get_hard_margins should return page size specif... 765327 GtkPlug scaled to half the expected size on HiDPI screens 772817 File Chooser: Path arrow button frames are reversed and detached ... 773299 gtk/language-names.c: Fix build on non-GCC/CLang 775279 early calls to libepoxy cause all gtk3 programs to abort when the... 786524 ocument GTK_OVERLAY_SCROLLING environment variable 787867 OSX macports pango text size appears to vary between version 1.40... 789215 GtkScrolledWindow and GtkIconView atk objects can cause a segfaul... 791542 GDK 3 Selections documentation makes references to X 791802 Fix direction value moves on scroll/keypress over RTL/inverted ra... * Translation updates: Catalan Finnish Polish Russian Spanish
2018-10-23 09:42:23 +02:00
BUILDLINK_API_DEPENDS.pango+= pango>=1.41
.include "../../devel/pango/buildlink3.mk"
BUILDLINK_API_DEPENDS.fontconfig+= fontconfig>=2.11.91
.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"
gtk3: Update x11/gtk to 3.24.1 Changes: Overview of Changes in GTK+ 3.24.1 ================================== * Adwaita: - Improvements to headerbar styling * Wayland: - Fix handling of preedit text * Windows: - Implement smooth scrolling * Fix critical warnings on shutdown * Translation updates: - Czech - Friulian - Russian - Spanish Overview of Changes in GTK+ 3.24.0 ================================== * GtkApplication can now track screensaver state * Translation updates: - Brazilian Portuguese - Croatian - Czech - Danish - French - Galician - German - Greek - Hungarian - Indonesian - Italian - Latvian - Lithuanian - Polish - Swedish - Turkish Overview of Changes in GTK+ 3.23.3 ================================== * Deprecate a few APIs that are gone in GTK+ 4: - focus chains in GtkContainer - stepper sensitivity in GtkRange * Allow picking colors under kwin * Bug fixes: #404 window: Fallback to CSD titlebar in focus-chain #770 scrolledwindow: Fix horizontal decleration #1263 win32: Implement smooth scrolling #134 #432 #574 #579 #878 tooltip: Position using move-to-rect #844 wayland: avoid idempotent wl_subsurface_set_position #2393 Fix a typo #125 combobox: Fix a critical warning !290 fontchooser: Add missing build flags !172 filechooser: Don't show private recent items * Translation updates: - Brazilian Portuguese - British English - Catalan - Chinese (Taiwan) - French - German - Indonesian - Italian - Kazakh - Korean - Lithuanian - Polish - Turkish Overview of Changes in GTK+ 3.23.2 ================================== * Emoji chooser improvements - Try harder to avoid fallback rendering - Avoid hex boxes - Use icons for sections * Color chooser improvements - Allow picking colors from the screen again. The current implementation can use either the screnshot portal or a recent gnome-shell API * GtkPlacesSidebar now shows a spinner during mount operations * Wayland - Support both gtk-text-input and text-input-unstable-v3 as input protocol * Bug fixes: #628 TextView: spaces acting as non-breaking whitespace... !248 win32: Correct handling of transient state changes !272 Replace gtk_text_input with text_input_unstable_v3 support * Translation updates: - German - Lithuanian - Polish - Spanish - Turkish Overview of Changes in GTK+ 3.23.1 ================================== * Backported event controllers from GTK+ 4: - GtkEventControllerScroll - GtkEventControllerMotion - GtkEventControllerKey - GtkGestureStylus * Support markup in GtkModelButtons * Themes - The Raleigh theme has been removed - Expander size in HighContrast has been increased * Wayland - Update cursor scale when needed - Decoration negotiation protocol fixes * Windows - Add an EGL renderer based on ANGLE * Translation updates: - Brazilian Portuguese - German - Hungarian Overview of Changes in GTK+ 3.23.0 ================================== * Dependency bumps: - Require libepoxy 1.4 - Require pango 1.41 * New font chooser features: - Allow setting OpenType font features - Show examples for OpenType font features - Allow selecting OpenType font variations - Support levels of details for selection * New Emoji features: - Support a completion popup for Emoji - Drop Ctrl-Shift-e shortcut * Other new apis: - gdk_window_move_to_rect * Wayland: - Use anonymous shared memory on FreeBSD * Bugs fixed: #85 widgetDragDestFindTarget introspection data does not show nullable... #154 Documentation: Lifecycle of Editables inside GtkCellRenderers is no... #193 Document that GtkUIManager is deprecated by GtkBuilder #199 MenuButton not notified when its Popover is destroyed, still access... #292 GtkRanges should send ::change-value even if not realized #450 Menu navigation triangle doesn't work anymore #792 Focus events are not always matched #898 emoji-chooser: search for flags doesn't work #997 gdk: Make gdk_window_move_to_rect public #1053 Scroll cursor gets left behind if a child widget steals the scroll #1059 -Wparentheses warnings in GTK+ headers when compiling C++ code with... #1065 GtkScrollbar horizontal mouse wheel scroll direction is wrong #1069 Thread 1 "glade" received signal SIGFPE, Arithmetic exception. #1088 CssGadget: Round px values up for min-width|height #1115 gtk icon theme searches system dirs before user dirs #1134 x11: Always set None pixmap for no background #1160 a11y/entry: Fix copy-pasteo re 2ndary icon tooltip #1165 InfoBar: Fix wrong type in copy-pasted param doc #1166 EmojiCompletion: Use Box:spacing instead of CSS !125 HC: Avoid same BG/FG colors in flat treeview entry !157 wayland: Implement 'gtk-fontconfig-timestamp' & 'gtk-modules' !181 W32: Don't forget to check VK_MENU and set MK_ALT !206 searchenginetracker: Don't leak the hits' GFiles 407242 GtkScale: Up/Down keys decrease/increase value, which is opposite... 686109 gtk_print_context_get_hard_margins should return page size specif... 765327 GtkPlug scaled to half the expected size on HiDPI screens 772817 File Chooser: Path arrow button frames are reversed and detached ... 773299 gtk/language-names.c: Fix build on non-GCC/CLang 775279 early calls to libepoxy cause all gtk3 programs to abort when the... 786524 ocument GTK_OVERLAY_SCROLLING environment variable 787867 OSX macports pango text size appears to vary between version 1.40... 789215 GtkScrolledWindow and GtkIconView atk objects can cause a segfaul... 791542 GDK 3 Selections documentation makes references to X 791802 Fix direction value moves on scroll/keypress over RTL/inverted ra... * Translation updates: Catalan Finnish Polish Russian Spanish
2018-10-23 09:42:23 +02:00
BUILDLINK_API_DEPENDS.libepoxy+= libepoxy>=1.4
Update gtk3 to 3.16.3 It now has a hard dependency on libepoxy, and provides gtk-icon-update-cache. Highlights from release notes: * Improve client-side decorations without a compositor * Theming: Fixes for the HighContrast theme * GtkMenuButton: - Improve accessible names * GtkCellRendererPixbuf: - Always follow state changes, the ::follow-state property is now ignored. This is necessary to make HighContrast and symbolic icons remain visible e.g. in selected rows. * GtkEntry: - Rework the size allocation code to be less arcane. This changed the semantics of the get_frame_size() vfunc. GtkEntry subclasses that override this vfunc may need adjustment. * Go back to requiring GTK_FRAME_EXTENTS support for CSD, to fix shadow problems in KDE. * GtkFileChooser: - Don't start search too eagerly - Use fts with tracker - Make tracker queries more similar to nautilus * GtkWindow: - Improve window dragging on header bars * Printing: - Make avahi-browsed printers work - Set printer state correctly * Wayland - Support hi-dpi cursors - Exit cleanly if the compositor goes away - Don't ignore early maximization/fullscreening - Make subsurface popovers work under Weston - DND fixes * GL - Port GdkGears example to modern OpenGL * GtkScrolledWindow - Avoid 'jumping' when zoom scrolling kicks in - Make zoom scrolling less easy to trigger - Make steppers use smooth autoscrolling - Ensure indicators appear in the correct place * Input methods can now be turned off entirely, which can be useful to free up the Ctrl-Shift-u shortcut * Add some DND support to gtk3-icon-browser * CSS - Support animated font weight changes * GtkPopover: - has a map/unmap animation now * GtkListBox now supports models with gtk_list_box_bind_model * GtkNotebook has a new function to support tab dnd * GtkSidebar was renamed to GtkStackSidebar to better convey what it does * GtkFileChooser now has a location column for search * GdkGLProfile has been removed * GTK+ types now support the GLib g_autoptr() facility for automatic cleanup of automatic variables. GTK+ itself does not use g_autoptr() internally. * GtkSearchEntry has gained ::next-match, ::previous-match and ::stop-search signals and a gtk_search_entry_handle_event() function, which help in providing a richer search experience and make search entries usable outside of GtkSearchBar. * GtkFileChooser: - The search has been reintegrated in the UI, there is now a toggle button on the header bar to go to search mode, in addition to the Alt-S shortcut. - The file chooser button now accepts files by drag-and-drop properly. * GtkScrolledWindow has gained a new ::edge-reached signal, which triggers when the edge of the scrollable area is reached. * CSS: - Performance improvements * OpenGL: - It is now possible to specify the required GL version, as well as some other options (debug, forward compatible) when creating a GdkGLContext - Support for the OpenGL legacy profile has been dropped. Most examples have been updated, with the exception of gdkgears, which will be fixed in the next snapshot - Use shader version 1.50 * GtkTextView - Allow to customize multi-click behaviors, using the new ::extend-selection signal - Selection can now be extended by scrolling - Better behavior and appearance for text selection with touch * GtkApplication: - Use app menu fallback with ssh connections - Provide a mechanism to hide unnecessary app menu items on OS X, so a single menu file can be used across platforms * GtkCalendar: - Show other months in a different color under Adwaita again - Ensure we always show a bit of the other month on both ends * GtkScrolledWindow - Make overlay scrollbars more dynamic * GtkFileChooser: - Make bookmark DND insert at the right location - Make '~' and '/' work in recent mode - Make Ctrl-L work in recent mode - Re-integrate search * CSS: - Introduce immutable style nodes - Performance improvements - Reduced memory consumption * GtkInspector: - Add a magnifier for the selected widget - Show more display information - Show memory address of objects * Wayland: - Use subsurfaces for popovers, so popovers can extend beyond the window boundaries - Prefer the Wayland backend over X11 if both are available * GL: - Fix interaction with hi-dpi - Add OpenGL support to the Windows backend * GtkTextView: - Font fallback and letter spacing can be controlled with tags now - Pango markup can be inserted in text buffers * GtkEntry now has API to grab focus without selecting the contents * GtkWindow now starts from the focused widget when looking for actions that are activated by accelerators * GtkScrolledWindow draws an indication where an edge if hiding some content that can be scrolled in * GtkStack has gained GtkNotebook-like focus handling * Theming: - Support :not() in CSS - GtkRange now supports :hover for the whole widget - The HighContrast theme has caught up with some never GTK+ features - Avoid excessive shadow redraws * Build: - gtk3-update-icon-cache is no longer used at build time, and the --enable-gtk2-dependency configure option has been removed - The examples that are used in the documentation can now be built standalone * Inspector: - Allow extension with loadable modules, the first use for this is gjs-inspector, which adds a JavaScript prompt - Allow testing cursor theme changes * GtkPopoverMenu: A GtkPopover subclass that makes it easy to manually build menu-like popovers which can include arbitrary controls. * GtkModelButton: A button widget that is optimized for use inside popovers with a GAction as 'model'. * GL support: - Try harder to pick good visuals - Rework the way GL rendering is done in GtkGLArea - Support input events in GtkGLArea - Use shaders - The GDK_GL environment variable can be used for debugging * Inspector: - Make picking widgets work in Wayland - Rework search in all pages - Improve space use - Support GL information and debug flags - Shield the inspector window from more debug settings - Hide empty tabs * Theming: - Include the HighContrast theme - Add borders to menus in non-composited environments - Load themes from versioned directories like .../themes/Emerald/gtk-3-14/. * Wayland: - Make window opacity work - Propagate clipboard owner changes * Mir: - Improved event handling - Support cursors - Enable CSD - Better monitor support - Add OpenGL support * Deprecations: - gdk_cursor_new - gdk_device_grab_info_libgtk_only - gdk_display_open_default_libgtk_only - gdk_add_option_entries_libgtk_only - gdk_pre_parse_libgtk_only * An experimental mir backend has been added. Use --enable-mir-backend to build it. * Inspector: - Show more information - Use a separate display connection * Deprecations: - GtkStyleProperties * GDK supports rendering windows using OpenGL; currently this is implemented for X11 and Wayland using libepoxy * GtkGLArea: A new widget for rendering with OpenGL * GtkSidebar: A new switcher for GtkStack that looks like a sidebar * Better typography: In many places, we now use proper Unicode characters for dashes, quotes, multiplication signs and the like, instead of ASCII approximations * Theming: - Context menus use the default font instead of inheriting from the widget they are attached to - Theming engines are no longer used - Backdrop style has been fine-tuned to make the difference to the active window more evident without affecting readability * Inspector: - Show nested tree models - Add a checkbox to disable the warning dialog - Rearrange the UI to gain space - Show object counts * GtkTextView has a monospace property * GtkPaned has a wide-handle property * GtkPrintUnixDialog - Has improved appearance without headerbars - Better rendering of sheet icons - No more missing icons * GtkScrolledWindow - A new policy, GTK_POLICY_EXTERNAL, which allows scrolling without showing a scrollbar - Scroll events can now overshoot as well - The new signal ::edge-overshot is emitted when the scrolled window is fully overshot - Scrollbars will be overlayed as narrow indicators when there is no mouse * Deprecations: - gdk_window_set_static_gravities - gdk_window_set_composited - gtk_style_context_get_background_color - gtk_style_context_get_border_color - gtk_settings_set_string/long/double_property - gtk_settings_install_property Plus many bug fixes and translation updates. For full details see: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.16.3
2015-06-15 00:02:08 +02:00
.include "../../graphics/libepoxy/buildlink3.mk"
Update gtk3 to 3.12.2 Highlights from changes: * GtkPopover: A new widget that is can be used for transient views, as an alternative to menus or dialogs. - GtkMenuButton can use popovers instead of menus * Client-side decorations: - Make F10 move focus to the header bar - Make header bars draggable on touch systems - Make shadows unclickable * Printing: Google cloud print support * GtkActionBar is a new widget that is meant to be used for actions at the bottom of a window. * GtkAppChooserDialog has been redesigned * GtkBox can now place a widget centered, regardless of the sizes of children on either side, similar to GtkHeaderBar. * Dialogs: - Dialogs have been modernized, can use a header bar now - Built-in dialogs react to a setting, gtk-dialogs-use-header for this, dialogs derived from GtkDialog: default to no headerbar - GtkAssistant also respects the setting * OS X: - Better menu integration. Items such as 'Hide', 'Hide Others' and 'Show All' are now handled specially - GTK+ provides a default application menu now * Theming: - GTK+ now uses RGBA visuals by default - Notebook tabs now support a prelight state - Reorderable notebook tabs can be themed differently * GtkActionBar: A new container, which has a centered child like GtkHeaderBar. It can be used in places where header bar theming is not suitable * GtkAppChooser: The online support has been simplified and modernized * GtkHeaderBar button theming has been changed to be more flexible. There is now a gtk-decoraton-layout setting and a decoration-layout property. * Accessibility: - Links in labels are now accessible - Model-based menus are accessible - Accessible roles of several widgets have been fixed - GtkColorChooser accessibility is improved * Theming: The Raleigh theme has been updated for several new features, including client-side decorations * Model-based menus now support a hidden-when attribute on items that allows them to be hidden on various conditions * New notebook tab styling: GtkNotebook now offers a way for themes to opt out of the tab rendering, with the 'has-tab-gap' style property. The Adwaita theme is using this to achieve a more modern tab appearance. * GtkFlowBox: A container that its children in a reflowing grid, which can be oriented horizontally or vertically. It is similar to GtkListBox in that the children can be sorted and filtered, and by requiring a dedicated child widget type, GtkFlowBoxChild. It is similar to GtkTreeView in that is supports a full set of selection modes, including rubberband selection. * GtkStack: children can now indicate that they require attention by setting the needs-attention child property. * Broadway now requires binary array buffers and modern WebSocket protocol support * Autoscrolling in range widgets has been improved to work more reliably in maximized windows. * GtkSpinner has been changed to render in in a limited set of sizes. * GtkApplication now stores and handles accelerators for GActions itself. * GtkIconTheme now falls back to the gnome icontheme to fix problems with the availability of symbolic icons in other icon themes. * GTK+ respects the deprecated gtk-button-images and gtk-menu-images settings again. For full details see: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.12.2
2014-09-08 13:19:47 +02:00
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"