pkgsrc/x11/gtk4/Makefile

63 lines
1.9 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2021/12/13 12:56:04 nia Exp $
gtk4: update to 4.2.0. Overview of Changes in 4.2.0 ============================ * GtkFileChooser: Make the location entry work again * GtlLabel: Fix tooltips on links * GtkTextView: Make scrolling work better with renderers * X11: - Fix damage handling - Trap errors from the COW * Windows: - Use a visible scroll cursor - Include more icons for icon-theme-less situations * Wayland: Fix key event matching with mismatched layouts. This was causing keyboard accelerators to trigger unexpectedly * Inspector: Allow inspecting Unicode * Input: - Improve dead key handling - Regenerate compose sequence table * gsk: - Fix a crash in the ngl renderer - Fix a rounding error in subpixel glyph positioning - ngl: Implement glyph cache eviction - ngl: Improve the glyph cache effectiveness - ngl: Fix uniform key mapping on Windows - Make the ngl renderer the default * build: - Fix build with cairo as subproject - Disable g_assert in release builds - Include gi-docgen as subproject - Include generated docs * Translation updates: Hebrew Hungarian Italian Polish Portuguese Swedish Ukrainian Overview of Changes in 4.1.2 ============================ * Input: - Ensure preedit-start and preedit-end are emitted properly - Support the Wayland text protocol better - Delete the selection when preedit starts * Label: Fix a small issue with markup parsing and mnemonics * Spinbutton: Interpret localized digits * Textview: Fix blinking block cursors * Tooltips: Don't pop up erroneous on popovers * Window: Add a way to disable F10 handling * Theme: - Use a regular focus ring for sidebar rows * GSK - ngl: Performance improvements - vulkan: Add visible fallback rendering - vukan: Handle simple transforms when clipping * Wayland: - Don't force a full redraw for every frame - Don't leak buffers when rendering with cairo * Demos: - iconbrowser: Make search more useful * Documentation: - Switch to building docs from gir files with gi-docgen * build: - Allow GTK to be used as meson subproject * Translation updates Catalan Czech Finnish French Indonesian Kazakh Latvian Norwegian Bokmål Polish Serbian Turkish Overview of Changes in 4.1.1 ============================ * Popover: - Support shadows on popover > contents * Input: - Show preedit for compose sequences - Support long compose sequences - Support compose sequences producing multiple characters * Themes: - Allow suggested and destructive actions in lists - Disable shadows on maximized, fullscreen and tiled windows - Fine-tune scrollbar transitions and size * CSS: - Support drop-shadow filters - Correct blur filter spread interpretation * Documentation: - Improvements and updates for dialogs and native dialog * Printing: - Support Avahi-discovered printers better * GSK: - Add another OpenGL render. It is not the default yet. To try it, use GSK_RENDERER=ngl * Build: - Lots of static analysis fixes found by pvs - Add a -Dprofile=devel option for devel styling and use it for nightly flatpaks * X11: - Fix DND of X11-specific types * Wayland: - Fix lookup of font settings in flatpaks * Windows: - Fix window resizing - Avoid UAC for gtk-update-icon-cache * MacOs: - Use correct module file extension - Make OpenGL context opaque when possible - Fix window resizing * Translation updates: British English Czech Danish Galician Hungarian Turkish Overview of Changes in 4.1.0 ============================ * GtkCheckButton: - Add back an activate signal * GtkSearchBar, GtkSearchEntry: - Capture events in the bubble phase * GtkEmojiChooser: - Adapt to small screen sizes * GtkVideo: - Fix issues with GL support * Themes: - Set sort arrows in CSS - Set menu button arrows in CSS - Make scrollbars larger - Supprt circular menubuttons * CSS: - Implement transform-origin - Support overlines on text - Support colors in cross-fade() - More complete text-decoration-line support * Text layout: - Use subpixel positioning with new enough cairo * Inspector: - Fix slowness in navigation - Redo the controllers and shortcuts pages * Accessibility: - Create AT context objects lazily * Wayland: - Fix decoration negotiation under kwin * GSK: - Optimize gradient shaders - Implement repeating gradients in shaders * Translation updates - Czech - Greek - Hungarian - Persian - Punjabi - Romanian - Swedish - Ukrainian
2021-06-01 00:59:23 +02:00
DISTNAME= gtk-4.2.0
PKGNAME= ${DISTNAME:S/gtk/gtk4/}
2021-12-08 17:01:42 +01:00
PKGREVISION= 3
CATEGORIES= x11
gtk4: update to 4.2.0. Overview of Changes in 4.2.0 ============================ * GtkFileChooser: Make the location entry work again * GtlLabel: Fix tooltips on links * GtkTextView: Make scrolling work better with renderers * X11: - Fix damage handling - Trap errors from the COW * Windows: - Use a visible scroll cursor - Include more icons for icon-theme-less situations * Wayland: Fix key event matching with mismatched layouts. This was causing keyboard accelerators to trigger unexpectedly * Inspector: Allow inspecting Unicode * Input: - Improve dead key handling - Regenerate compose sequence table * gsk: - Fix a crash in the ngl renderer - Fix a rounding error in subpixel glyph positioning - ngl: Implement glyph cache eviction - ngl: Improve the glyph cache effectiveness - ngl: Fix uniform key mapping on Windows - Make the ngl renderer the default * build: - Fix build with cairo as subproject - Disable g_assert in release builds - Include gi-docgen as subproject - Include generated docs * Translation updates: Hebrew Hungarian Italian Polish Portuguese Swedish Ukrainian Overview of Changes in 4.1.2 ============================ * Input: - Ensure preedit-start and preedit-end are emitted properly - Support the Wayland text protocol better - Delete the selection when preedit starts * Label: Fix a small issue with markup parsing and mnemonics * Spinbutton: Interpret localized digits * Textview: Fix blinking block cursors * Tooltips: Don't pop up erroneous on popovers * Window: Add a way to disable F10 handling * Theme: - Use a regular focus ring for sidebar rows * GSK - ngl: Performance improvements - vulkan: Add visible fallback rendering - vukan: Handle simple transforms when clipping * Wayland: - Don't force a full redraw for every frame - Don't leak buffers when rendering with cairo * Demos: - iconbrowser: Make search more useful * Documentation: - Switch to building docs from gir files with gi-docgen * build: - Allow GTK to be used as meson subproject * Translation updates Catalan Czech Finnish French Indonesian Kazakh Latvian Norwegian Bokmål Polish Serbian Turkish Overview of Changes in 4.1.1 ============================ * Popover: - Support shadows on popover > contents * Input: - Show preedit for compose sequences - Support long compose sequences - Support compose sequences producing multiple characters * Themes: - Allow suggested and destructive actions in lists - Disable shadows on maximized, fullscreen and tiled windows - Fine-tune scrollbar transitions and size * CSS: - Support drop-shadow filters - Correct blur filter spread interpretation * Documentation: - Improvements and updates for dialogs and native dialog * Printing: - Support Avahi-discovered printers better * GSK: - Add another OpenGL render. It is not the default yet. To try it, use GSK_RENDERER=ngl * Build: - Lots of static analysis fixes found by pvs - Add a -Dprofile=devel option for devel styling and use it for nightly flatpaks * X11: - Fix DND of X11-specific types * Wayland: - Fix lookup of font settings in flatpaks * Windows: - Fix window resizing - Avoid UAC for gtk-update-icon-cache * MacOs: - Use correct module file extension - Make OpenGL context opaque when possible - Fix window resizing * Translation updates: British English Czech Danish Galician Hungarian Turkish Overview of Changes in 4.1.0 ============================ * GtkCheckButton: - Add back an activate signal * GtkSearchBar, GtkSearchEntry: - Capture events in the bubble phase * GtkEmojiChooser: - Adapt to small screen sizes * GtkVideo: - Fix issues with GL support * Themes: - Set sort arrows in CSS - Set menu button arrows in CSS - Make scrollbars larger - Supprt circular menubuttons * CSS: - Implement transform-origin - Support overlines on text - Support colors in cross-fade() - More complete text-decoration-line support * Text layout: - Use subpixel positioning with new enough cairo * Inspector: - Fix slowness in navigation - Redo the controllers and shortcuts pages * Accessibility: - Create AT context objects lazily * Wayland: - Fix decoration negotiation under kwin * GSK: - Optimize gradient shaders - Implement repeating gradients in shaders * Translation updates - Czech - Greek - Hungarian - Persian - Punjabi - Romanian - Swedish - Ukrainian
2021-06-01 00:59:23 +02:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://www.gtk.org/
2021-02-25 17:18:14 +01:00
COMMENT= Multi-platform toolkit for creating GUIs, version 4
LICENSE= gnu-lgpl-v2.1
2021-04-09 23:19:50 +02:00
# This package invokes python3 command.
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "options.mk"
USE_TOOLS+= pkg-config gdbus-codegen
USE_LANGUAGES= c c++
MESON_ARGS+= -Dsassc=disabled
MESON_ARGS+= -Dgtk_doc=false
PKGCONFIG_OVERRIDE+= gtk4-unix-print.pc.in
PKGCONFIG_OVERRIDE+= gtk4.pc.in
PLIST_VARS+= dylib no-dylib
.if ${SHLIB_TYPE} == "dylib"
PLIST.dylib= yes
SOEXT= dylib
.else
PLIST.no-dylib= yes
SOEXT= so
.endif
PLIST_SUBST+= SOEXT=${SOEXT}
PRINT_PLIST_AWK+= { gsub(/\.${SOEXT}/, ".$${SOEXT}") }
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/libexecinfo/buildlink3.mk"
gtk4: update to 4.2.0. Overview of Changes in 4.2.0 ============================ * GtkFileChooser: Make the location entry work again * GtlLabel: Fix tooltips on links * GtkTextView: Make scrolling work better with renderers * X11: - Fix damage handling - Trap errors from the COW * Windows: - Use a visible scroll cursor - Include more icons for icon-theme-less situations * Wayland: Fix key event matching with mismatched layouts. This was causing keyboard accelerators to trigger unexpectedly * Inspector: Allow inspecting Unicode * Input: - Improve dead key handling - Regenerate compose sequence table * gsk: - Fix a crash in the ngl renderer - Fix a rounding error in subpixel glyph positioning - ngl: Implement glyph cache eviction - ngl: Improve the glyph cache effectiveness - ngl: Fix uniform key mapping on Windows - Make the ngl renderer the default * build: - Fix build with cairo as subproject - Disable g_assert in release builds - Include gi-docgen as subproject - Include generated docs * Translation updates: Hebrew Hungarian Italian Polish Portuguese Swedish Ukrainian Overview of Changes in 4.1.2 ============================ * Input: - Ensure preedit-start and preedit-end are emitted properly - Support the Wayland text protocol better - Delete the selection when preedit starts * Label: Fix a small issue with markup parsing and mnemonics * Spinbutton: Interpret localized digits * Textview: Fix blinking block cursors * Tooltips: Don't pop up erroneous on popovers * Window: Add a way to disable F10 handling * Theme: - Use a regular focus ring for sidebar rows * GSK - ngl: Performance improvements - vulkan: Add visible fallback rendering - vukan: Handle simple transforms when clipping * Wayland: - Don't force a full redraw for every frame - Don't leak buffers when rendering with cairo * Demos: - iconbrowser: Make search more useful * Documentation: - Switch to building docs from gir files with gi-docgen * build: - Allow GTK to be used as meson subproject * Translation updates Catalan Czech Finnish French Indonesian Kazakh Latvian Norwegian Bokmål Polish Serbian Turkish Overview of Changes in 4.1.1 ============================ * Popover: - Support shadows on popover > contents * Input: - Show preedit for compose sequences - Support long compose sequences - Support compose sequences producing multiple characters * Themes: - Allow suggested and destructive actions in lists - Disable shadows on maximized, fullscreen and tiled windows - Fine-tune scrollbar transitions and size * CSS: - Support drop-shadow filters - Correct blur filter spread interpretation * Documentation: - Improvements and updates for dialogs and native dialog * Printing: - Support Avahi-discovered printers better * GSK: - Add another OpenGL render. It is not the default yet. To try it, use GSK_RENDERER=ngl * Build: - Lots of static analysis fixes found by pvs - Add a -Dprofile=devel option for devel styling and use it for nightly flatpaks * X11: - Fix DND of X11-specific types * Wayland: - Fix lookup of font settings in flatpaks * Windows: - Fix window resizing - Avoid UAC for gtk-update-icon-cache * MacOs: - Use correct module file extension - Make OpenGL context opaque when possible - Fix window resizing * Translation updates: British English Czech Danish Galician Hungarian Turkish Overview of Changes in 4.1.0 ============================ * GtkCheckButton: - Add back an activate signal * GtkSearchBar, GtkSearchEntry: - Capture events in the bubble phase * GtkEmojiChooser: - Adapt to small screen sizes * GtkVideo: - Fix issues with GL support * Themes: - Set sort arrows in CSS - Set menu button arrows in CSS - Make scrollbars larger - Supprt circular menubuttons * CSS: - Implement transform-origin - Support overlines on text - Support colors in cross-fade() - More complete text-decoration-line support * Text layout: - Use subpixel positioning with new enough cairo * Inspector: - Fix slowness in navigation - Redo the controllers and shortcuts pages * Accessibility: - Create AT context objects lazily * Wayland: - Fix decoration negotiation under kwin * GSK: - Optimize gradient shaders - Implement repeating gradients in shaders * Translation updates - Czech - Greek - Hungarian - Persian - Punjabi - Romanian - Swedish - Ukrainian
2021-06-01 00:59:23 +02:00
BUILDLINK_API_DEPENDS.pango+= pango>=1.47.0
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/cairo-gobject/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../graphics/graphene/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/libepoxy/buildlink3.mk"
# librsvg is required by a demo only.
#.include "../../graphics/librsvg/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../textproc/iso-codes/buildlink3.mk"
2021-02-25 19:50:50 +01:00
# json-glib and librest07 are required to support Google Cloud Print.
# Google Cloud Print reached EOL (2020-12-31).
#.include "../../textproc/json-glib/buildlink3.mk"
#.include "../../www/librest07/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"