2016-12-05 14:00:26 +01:00
|
|
|
#
|
|
|
|
# spec file for package gtk4
|
|
|
|
#
|
2024-02-08 16:29:10 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-12-05 14:00:26 +01:00
|
|
|
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-18 15:31:57 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-05 14:00:26 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define gtk_binary_version 4.0.0
|
2019-09-10 14:00:36 +02:00
|
|
|
%define _name gtk
|
2020-12-17 15:00:39 +01:00
|
|
|
|
2023-04-27 17:02:29 +02:00
|
|
|
%bcond_without gst
|
|
|
|
|
|
|
|
# disable gstreamer media player when bootstrapping on workbench
|
|
|
|
%if 0%{?workbench_version} > 0
|
|
|
|
%bcond_with gst
|
|
|
|
%endif
|
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
Name: gtk4
|
2024-05-04 17:45:08 +02:00
|
|
|
Version: 4.14.4
|
2016-12-05 14:00:26 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: The GTK+ toolkit library (version 4)
|
2018-03-09 10:56:40 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-09 18:33:10 +01:00
|
|
|
Group: Development/Libraries/X11
|
2020-03-28 13:10:45 +01:00
|
|
|
URL: https://www.gtk.org/
|
|
|
|
|
2024-03-19 14:31:33 +01:00
|
|
|
Source: %{_name}-%{version}.tar.zst
|
2016-12-05 14:00:26 +01:00
|
|
|
Source2: settings.ini
|
|
|
|
Source3: macros.gtk4
|
2021-11-13 16:00:39 +01:00
|
|
|
Source99: gtk4-rpmlintrc
|
|
|
|
|
2022-08-18 13:49:04 +02:00
|
|
|
# Temporarily revert this until we figure out how to best restore
|
|
|
|
# private requires that are needed for rpm automatic dep extraction.
|
|
|
|
# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4756
|
|
|
|
# PATCH-FIX-OPENSUSE 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch -- Revert "Meson: Simplify pkgconfig file generator"
|
|
|
|
Patch0: 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch
|
2022-04-01 17:22:03 +02:00
|
|
|
|
2020-10-26 09:13:37 +01:00
|
|
|
BuildRequires: cups-devel >= 2.0
|
|
|
|
# We do not support building against cups 2.3 betas
|
|
|
|
BuildConflicts: (cups-devel > 2.3 with cups-devel < 2.3.0)
|
2021-07-28 13:25:39 +02:00
|
|
|
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
|
|
|
|
BuildRequires: Mesa-libGLESv2-devel
|
|
|
|
%endif
|
2021-03-19 13:51:06 +01:00
|
|
|
BuildRequires: Mesa-libGLESv3-devel
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2021-12-31 11:50:22 +01:00
|
|
|
BuildRequires: docutils
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: fdupes
|
Accepting request 538597 from GNOME:Next
- Update to version 3.92.1:
+ Drop autotools support. Meson 0.42.1 is now required
+ Implement most of CSS3 font-variant
+ Add an Emoji chooser to GtkEntry
+ Add new input hints for Emoji input
+ Remaining widgets have been ported to GtkSnapshot
+ GtkLabel and GtkEntry have been ported to use GSK
+ Add a way for GtkOverlay to blur behind children. This is has a
demo in gtk4-demo
+ Add support for native file choosers on older OS X versions
+ Add support for libcloudproviders in GtkPlacesSidebar
+ Non-windowed widgets are now allowed to have a size of 0x0
+ Allow tiled windows to be resized. Under wayland, this uses
version 2 of the gtk-shell protocol. Under X, it uses the
_GTK_EDGE_CONSTRAINTS property
+ Input handling changes
- GdkEvent has new accessors for fields
- Traditional event signals (eg ::key-press-event) are now emitted from
an event controller
- Most widgets inside gtk have stopped using traditional event signals
- GDK_SEAT_CAPABILITY_ALL_POINTING now includes touch events
+ Scrollbars allow middle-click to jump to a position again
+ Bugs fixed: bgo#639931, bgo#644248, bgo#701296, bgo#705640,
bgo#728452, bgo#763517, bgo#766909, bgo#773299, bgo#775074,
bgo#775126, bgo#778382, bgo#778811, bgo#780750, bgo#780758,
bgo#781757, bgo#782981, bgo#783649, bgo#783669, bgo#784016,
bgo#784421, bgo#785210, bgo#785306, bgo#785736, bgo#786144,
bgo#786209, bgo#786400, bgo#786469, bgo#786485, bgo#786492,
bgo#786553, bgo#786613, bgo#786673, bgo#786794, bgo#786885,
bgo#786931, bgo#786932, bgo#786938, bgo#786940, bgo#786956,
OBS-URL: https://build.opensuse.org/request/show/538597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=23
2017-11-07 10:41:31 +01:00
|
|
|
BuildRequires: gcc-c++
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: gettext-tools >= 0.19.7
|
|
|
|
BuildRequires: hicolor-icon-theme
|
2019-09-10 14:00:36 +02:00
|
|
|
BuildRequires: meson >= 0.50.1
|
2018-03-09 10:56:40 +01:00
|
|
|
BuildRequires: pkgconfig
|
2024-03-19 14:31:33 +01:00
|
|
|
BuildRequires: sassc
|
|
|
|
BuildRequires: shaderc
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: xsltproc
|
|
|
|
BuildRequires: pkgconfig(atk) >= 2.15.1
|
|
|
|
BuildRequires: pkgconfig(atk-bridge-2.0)
|
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.14.0
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(cairo-gobject) >= 1.14.0
|
2020-10-26 09:13:37 +01:00
|
|
|
BuildRequires: pkgconfig(cloudproviders) >= 0.3.1
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: pkgconfig(colord)
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(epoxy) >= 1.4
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0
|
2021-11-05 17:11:49 +01:00
|
|
|
BuildRequires: pkgconfig(gi-docgen)
|
Accepting request 1069668 from GNOME:Next
- Update to version 4.10.0:
+ GtkTextView: Document hanging indentation
+ GtkListView: Fix a size allocation problem
+ GtkFileChooser:
- Fix paned behavior
- Fix a crash
+ GtkText: Fix various problems with undo
+ Accessibility:
- Make some getters transfer-full
- Allow setting accessible parents and siblings
- Add a role for toggle buttons
- Miscellaneous property fixes and improvements
+ gtk: Improve the handling resize-during-size-allocate
+ gdk:
- Introduce GdkTextureDownloader and use it
- Make gdk_texture_get_format public
+ gsk:
- Make mask nodes more versatile
- Improve the GL implementation for texture scale nodes
+ X11: Fix key handling during DND
+ Tools:
- gtk-builder-tool: Try harder to handle templates
- gtk-builder-tool: Prefer properties over <child>
+ Updated translations.
- Update to version 4.9.4:
+ Printing:
- Add a CPDB backend
- Drop the lpr backend
+ GtkFileDialog: Robustness fixes
+ GtkScaleButton: Add an 'active' property
+ GtkSearchEntry: Add placeholder text
+ Fix conflicting type names between gtk and gio
+ Gsk:
- Settable filtering for scaled textures
- Add mask nodes
- Some robustness and crash fixes
+ Wayland: Handle dispatch failing in more places
+ Deprecations: GtkVolumeButton
+ Updated translations.
- Changes from version 4.9.3:
+ Add GtkUriLauncher, as replacement for gtk_show_uri
+ Add GdkMonitor::description
+ Fix problems with tooltip sizing
+ Deprecations:
- GtkStatusbar
- GtkAssistant
- GtkLockButton
- gtk_gesture_set_sequence_state
+ GtkColumnView: Only create widgets for visible columns
+ GtkFileDialog: Drop shortcut folders API
+ GtkCalendar: Make marked days work again
+ GtkSwitch: Make state and active independently settable
+ GtkFileChooser:
- Fix a crash with DND
- Fix excessively wide sidebar
- Make context menus work again
+ Accessibility:
- Make GtkAccessible public, so it can be implemented outside
GTK
- Support accessible implementation for editables
+ CSS: Fix randomly stopping CSS animations
+ GL:
- Fix synchronization with GStreamer
- Fix problems with 3rd party GL in the same thread
+ Wayland: Fix startup notification with xdg_activation
+ Broadway: Implement modal windows
+ macOS: Make DND work
+ Build:
- Require graphene 1.10
- Require gobject-introspection 1.72
+ Updated translations.
- Update to version 4.9.2:
+ GtkFileChooserWidget: Add a grid view.
+ GtkText, GtkTextView:
- Fix activation of the on-screen keyboard.
- Prevent unexpected text direction changes.
+ GtkCenterBox: Add properties for children.
+ GtkTreeExpander: Add a hide-expander property.
+ GtkStringList: Add a construct-only strings property.
+ GtkBuilder: Support parsing Pango attributes in string form.
+ GtkGestureStylus: Add a stylus-only property.
+ GtkFileLauncher: New async-style api to replace gtk_show_uri.
+ GtkColorDialog, GtkFontDialog, GtkFileDialog, GtkAlertDialog:
- APIs have seen some tweaks
- Prefer portals when available
- Fixes for cancellation
+ Add GDK_DEBUG=no-portals
+ Improve file DND with remote files
+ GtkInfoBar has been deprecated
+ gtk_widget_show/hide have been deprecated
+ gtk_show_uri has been deprecated
+ Wayland:
- Fix button mask handling
- Fix problems with cursor size on hi-dpi screens
- Support newer versions of some protocols
- Fix handling of surrounding text in input methods
- Changes from version 4.9.1:
+ GtkTreeView, GtkIconView, GtkComboBox and auxiliary classes
have been deprecated.
+ GtkEntryCompletion has been deprecated.
+ GtkStyleContext has been deprecated.
+ gtk_render_ and gtk_snapshot_render_ APIs have been deprecated.
+ GtkAppChooser widgets have been deprecated.
+ GtkMessageDialog has been deprecated and replaced by a new
async dialog API.
+ GtkDialog has been deprecated.
+ GtkColorChooser, GtkFontChooser, GtkFileChooser interfaces and
their implementations have been deprecated. A new family of
async dialog APIs has been introduced to replace them.
+ GtkColorDialog, GtkFontDialog, GtkFileDialog and GtkAlertDialog
are new dialog classes with a consistent and well-bindable API.
+ GtkMountOperation:
- Fix the dialog to look reasonable.
- Make it work under non-X11.
+ GtkStringSorter: Support different collation methods.
+ Accessibility: Introduce GtkAccessibleRange and implement it.
+ Debugging:
- Unify formatting for debug output.
- Make make debug options available in non-debug builds.
+ Increase the memory limit for the jpeg loader to 1G.
OBS-URL: https://build.opensuse.org/request/show/1069668
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=115
2023-03-06 19:04:43 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.72.0
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.53.7
|
Accepting request 1069668 from GNOME:Next
- Update to version 4.10.0:
+ GtkTextView: Document hanging indentation
+ GtkListView: Fix a size allocation problem
+ GtkFileChooser:
- Fix paned behavior
- Fix a crash
+ GtkText: Fix various problems with undo
+ Accessibility:
- Make some getters transfer-full
- Allow setting accessible parents and siblings
- Add a role for toggle buttons
- Miscellaneous property fixes and improvements
+ gtk: Improve the handling resize-during-size-allocate
+ gdk:
- Introduce GdkTextureDownloader and use it
- Make gdk_texture_get_format public
+ gsk:
- Make mask nodes more versatile
- Improve the GL implementation for texture scale nodes
+ X11: Fix key handling during DND
+ Tools:
- gtk-builder-tool: Try harder to handle templates
- gtk-builder-tool: Prefer properties over <child>
+ Updated translations.
- Update to version 4.9.4:
+ Printing:
- Add a CPDB backend
- Drop the lpr backend
+ GtkFileDialog: Robustness fixes
+ GtkScaleButton: Add an 'active' property
+ GtkSearchEntry: Add placeholder text
+ Fix conflicting type names between gtk and gio
+ Gsk:
- Settable filtering for scaled textures
- Add mask nodes
- Some robustness and crash fixes
+ Wayland: Handle dispatch failing in more places
+ Deprecations: GtkVolumeButton
+ Updated translations.
- Changes from version 4.9.3:
+ Add GtkUriLauncher, as replacement for gtk_show_uri
+ Add GdkMonitor::description
+ Fix problems with tooltip sizing
+ Deprecations:
- GtkStatusbar
- GtkAssistant
- GtkLockButton
- gtk_gesture_set_sequence_state
+ GtkColumnView: Only create widgets for visible columns
+ GtkFileDialog: Drop shortcut folders API
+ GtkCalendar: Make marked days work again
+ GtkSwitch: Make state and active independently settable
+ GtkFileChooser:
- Fix a crash with DND
- Fix excessively wide sidebar
- Make context menus work again
+ Accessibility:
- Make GtkAccessible public, so it can be implemented outside
GTK
- Support accessible implementation for editables
+ CSS: Fix randomly stopping CSS animations
+ GL:
- Fix synchronization with GStreamer
- Fix problems with 3rd party GL in the same thread
+ Wayland: Fix startup notification with xdg_activation
+ Broadway: Implement modal windows
+ macOS: Make DND work
+ Build:
- Require graphene 1.10
- Require gobject-introspection 1.72
+ Updated translations.
- Update to version 4.9.2:
+ GtkFileChooserWidget: Add a grid view.
+ GtkText, GtkTextView:
- Fix activation of the on-screen keyboard.
- Prevent unexpected text direction changes.
+ GtkCenterBox: Add properties for children.
+ GtkTreeExpander: Add a hide-expander property.
+ GtkStringList: Add a construct-only strings property.
+ GtkBuilder: Support parsing Pango attributes in string form.
+ GtkGestureStylus: Add a stylus-only property.
+ GtkFileLauncher: New async-style api to replace gtk_show_uri.
+ GtkColorDialog, GtkFontDialog, GtkFileDialog, GtkAlertDialog:
- APIs have seen some tweaks
- Prefer portals when available
- Fixes for cancellation
+ Add GDK_DEBUG=no-portals
+ Improve file DND with remote files
+ GtkInfoBar has been deprecated
+ gtk_widget_show/hide have been deprecated
+ gtk_show_uri has been deprecated
+ Wayland:
- Fix button mask handling
- Fix problems with cursor size on hi-dpi screens
- Support newer versions of some protocols
- Fix handling of surrounding text in input methods
- Changes from version 4.9.1:
+ GtkTreeView, GtkIconView, GtkComboBox and auxiliary classes
have been deprecated.
+ GtkEntryCompletion has been deprecated.
+ GtkStyleContext has been deprecated.
+ gtk_render_ and gtk_snapshot_render_ APIs have been deprecated.
+ GtkAppChooser widgets have been deprecated.
+ GtkMessageDialog has been deprecated and replaced by a new
async dialog API.
+ GtkDialog has been deprecated.
+ GtkColorChooser, GtkFontChooser, GtkFileChooser interfaces and
their implementations have been deprecated. A new family of
async dialog APIs has been introduced to replace them.
+ GtkColorDialog, GtkFontDialog, GtkFileDialog and GtkAlertDialog
are new dialog classes with a consistent and well-bindable API.
+ GtkMountOperation:
- Fix the dialog to look reasonable.
- Make it work under non-X11.
+ GtkStringSorter: Support different collation methods.
+ Accessibility: Introduce GtkAccessibleRange and implement it.
+ Debugging:
- Unify formatting for debug output.
- Make make debug options available in non-debug builds.
+ Increase the memory limit for the jpeg loader to 1G.
OBS-URL: https://build.opensuse.org/request/show/1069668
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=115
2023-03-06 19:04:43 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.72.0
|
|
|
|
BuildRequires: pkgconfig(graphene-1.0) >= 1.10.0
|
|
|
|
BuildRequires: pkgconfig(graphene-gobject-1.0) >= 1.10.0
|
2024-03-19 14:31:33 +01:00
|
|
|
BuildRequires: pkgconfig(vulkan)
|
2023-04-27 17:02:29 +02:00
|
|
|
%if %{with gst}
|
2021-09-27 08:26:50 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-gl-1.0)
|
2018-09-24 09:23:36 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-player-1.0)
|
2023-04-27 17:02:29 +02:00
|
|
|
%endif
|
2022-08-18 13:49:04 +02:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 2.6.0
|
2021-11-05 17:11:49 +01:00
|
|
|
BuildRequires: pkgconfig(iso-codes)
|
2023-04-08 11:32:21 +02:00
|
|
|
# Disabled until upstream enables ffmpeg support by default
|
|
|
|
# BuildRequires: pkgconfig(libavfilter)
|
2021-12-31 11:50:22 +01:00
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
2022-11-14 09:48:59 +01:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.50.0
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.14.0
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: pkgconfig(pangoft2)
|
2021-11-05 17:11:49 +01:00
|
|
|
BuildRequires: pkgconfig(tracker-sparql-3.0)
|
2022-11-14 09:48:59 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.21.0
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-cursor) >= 1.9.91
|
2017-09-15 11:30:36 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
2022-08-18 13:49:04 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.25
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xinerama)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
BuildRequires: pkgconfig(xrandr) >= 1.2.99
|
2016-12-05 14:00:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2021-01-11 15:59:06 +01:00
|
|
|
%package -n libgtk-4-1
|
2016-12-05 14:00:26 +01:00
|
|
|
Summary: The GTK+ toolkit library (version 4)
|
Accepting request 538597 from GNOME:Next
- Update to version 3.92.1:
+ Drop autotools support. Meson 0.42.1 is now required
+ Implement most of CSS3 font-variant
+ Add an Emoji chooser to GtkEntry
+ Add new input hints for Emoji input
+ Remaining widgets have been ported to GtkSnapshot
+ GtkLabel and GtkEntry have been ported to use GSK
+ Add a way for GtkOverlay to blur behind children. This is has a
demo in gtk4-demo
+ Add support for native file choosers on older OS X versions
+ Add support for libcloudproviders in GtkPlacesSidebar
+ Non-windowed widgets are now allowed to have a size of 0x0
+ Allow tiled windows to be resized. Under wayland, this uses
version 2 of the gtk-shell protocol. Under X, it uses the
_GTK_EDGE_CONSTRAINTS property
+ Input handling changes
- GdkEvent has new accessors for fields
- Traditional event signals (eg ::key-press-event) are now emitted from
an event controller
- Most widgets inside gtk have stopped using traditional event signals
- GDK_SEAT_CAPABILITY_ALL_POINTING now includes touch events
+ Scrollbars allow middle-click to jump to a position again
+ Bugs fixed: bgo#639931, bgo#644248, bgo#701296, bgo#705640,
bgo#728452, bgo#763517, bgo#766909, bgo#773299, bgo#775074,
bgo#775126, bgo#778382, bgo#778811, bgo#780750, bgo#780758,
bgo#781757, bgo#782981, bgo#783649, bgo#783669, bgo#784016,
bgo#784421, bgo#785210, bgo#785306, bgo#785736, bgo#786144,
bgo#786209, bgo#786400, bgo#786469, bgo#786485, bgo#786492,
bgo#786553, bgo#786613, bgo#786673, bgo#786794, bgo#786885,
bgo#786931, bgo#786932, bgo#786938, bgo#786940, bgo#786956,
OBS-URL: https://build.opensuse.org/request/show/538597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=23
2017-11-07 10:41:31 +01:00
|
|
|
# gtk4-data is currently not being built, might be an upstream oversight though
|
2018-08-22 15:02:44 +02:00
|
|
|
Group: System/Libraries
|
2016-12-09 19:06:12 +01:00
|
|
|
Requires: %{name}-schema >= %{version}
|
2018-03-09 10:56:40 +01:00
|
|
|
# Require Adwaita Icon Theme: It's GTKs icon set, that's guaranteed to be there
|
|
|
|
Requires: adwaita-icon-theme
|
2016-12-05 14:00:26 +01:00
|
|
|
# While hicolor is not a Requires strictly speaking, we put it as
|
|
|
|
# such instead of as a Recommends because many applications just
|
|
|
|
# assume it's there and we need to have a low-level package to
|
|
|
|
# bring it in.
|
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
# gtk+ can work without branding/translations. Built in defaults will be used then.
|
|
|
|
Recommends: %{name}-branding
|
|
|
|
Recommends: gvfs
|
2018-09-24 09:23:36 +02:00
|
|
|
Obsoletes: %{name}-data
|
|
|
|
# IM modules have been dropped in 3.94.0
|
2018-09-27 01:08:07 +02:00
|
|
|
Obsoletes: %{name}-immodule-amharic
|
|
|
|
Obsoletes: %{name}-immodule-broadway
|
|
|
|
Obsoletes: %{name}-immodule-inuktitut
|
|
|
|
Obsoletes: %{name}-immodule-multipress
|
|
|
|
Obsoletes: %{name}-immodule-thai
|
|
|
|
Obsoletes: %{name}-immodule-tigrigna
|
|
|
|
Obsoletes: %{name}-immodule-vietnamese
|
|
|
|
Obsoletes: %{name}-immodule-xim
|
2021-01-11 15:59:06 +01:00
|
|
|
# with version 4.0.0, the soname was actually changed to libgtk-4.so.1
|
|
|
|
# but the package was nor correctly renamed
|
|
|
|
Obsoletes: libgtk-4-0 >= 4
|
2018-09-24 09:23:36 +02:00
|
|
|
# Provide main package to make the lang subpackage installable
|
2016-12-05 14:00:26 +01:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
|
2021-01-11 15:59:06 +01:00
|
|
|
%description -n libgtk-4-1
|
2016-12-05 14:00:26 +01:00
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
%package -n typelib-1_0-Gtk-4_0
|
2017-12-29 15:53:31 +01:00
|
|
|
Summary: Introspection bindings for the GTK+ toolkit library v4
|
2016-12-05 14:00:26 +01:00
|
|
|
Group: System/Libraries
|
2022-07-04 11:15:17 +02:00
|
|
|
Requires: (python3-gobject-Gdk if python3-gobject)
|
2022-06-17 16:03:45 +02:00
|
|
|
Requires: (python310-gobject-Gdk if python310-gobject)
|
|
|
|
Requires: (python38-gobject-Gdk if python38-gobject)
|
|
|
|
Requires: (python39-gobject-Gdk if python39-gobject)
|
2016-12-05 14:00:26 +01:00
|
|
|
|
|
|
|
%description -n typelib-1_0-Gtk-4_0
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for GTK+.
|
|
|
|
|
|
|
|
%package tools
|
2016-12-09 18:33:10 +01:00
|
|
|
Summary: Auxiliary utilities for the GTK+ toolkit library v4
|
2016-12-05 14:00:26 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2022-04-04 15:39:24 +02:00
|
|
|
%package devel-tools
|
|
|
|
Summary: Auxiliary utilities for the GTK+ toolkit library v4
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description devel-tools
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2016-12-09 19:06:12 +01:00
|
|
|
%package schema
|
2017-12-29 15:53:31 +01:00
|
|
|
Summary: Config schema for the GTK+ toolkit library v4
|
2016-12-09 19:06:12 +01:00
|
|
|
# The schema is shared between gtk3 and gtk4 - gtk4 wins
|
2018-08-22 15:02:44 +02:00
|
|
|
Group: System/Libraries
|
2018-03-09 10:56:40 +01:00
|
|
|
BuildArch: noarch
|
2016-12-09 19:06:12 +01:00
|
|
|
|
|
|
|
%description schema
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
%package branding-upstream
|
2016-12-09 18:33:10 +01:00
|
|
|
Summary: Upstream theme configuration for the GTK+ toolkit library v4
|
2016-12-05 14:00:26 +01:00
|
|
|
Group: System/Libraries
|
2021-01-11 15:59:06 +01:00
|
|
|
Requires: libgtk-4-1 = %{version}
|
|
|
|
Supplements: (libgtk-4-1 and branding-upstream)
|
2018-03-09 10:56:40 +01:00
|
|
|
Conflicts: %{name}-branding
|
|
|
|
Provides: %{name}-branding = %{version}
|
2016-12-05 14:00:26 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
#BRAND: Provides /usr/share/gtk-4.0/settings.ini, to define default theme and icon
|
|
|
|
#BRAND: theme.
|
|
|
|
#BRAND: Do not forget to add proper Requires in branding package if changing
|
|
|
|
#BRAND: those.
|
|
|
|
|
|
|
|
%description branding-upstream
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package provides the upstream theme configuration for widgets and
|
|
|
|
icon themes.
|
|
|
|
|
2021-11-05 17:11:49 +01:00
|
|
|
%package docs
|
|
|
|
Summary: Developer documentation for GTK
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description docs
|
|
|
|
This package contains developer documentation for version 4 of the GTK
|
|
|
|
widget toolkit.
|
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
%package devel
|
2016-12-09 18:33:10 +01:00
|
|
|
Summary: Development files for the GTK+ toolkit library v4
|
2016-12-05 14:00:26 +01:00
|
|
|
Group: Development/Libraries/X11
|
2022-04-04 15:39:24 +02:00
|
|
|
Requires: %{name}-devel-tools = %{version}
|
2022-03-21 09:36:07 +01:00
|
|
|
Requires: %{name}-tools = %{version}
|
2017-02-15 12:03:39 +01:00
|
|
|
Requires: gettext-its-%{name} >= %{version}
|
2021-01-11 15:59:06 +01:00
|
|
|
Requires: libgtk-4-1 = %{version}
|
2016-12-05 14:00:26 +01:00
|
|
|
Requires: typelib-1_0-Gtk-4_0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
|
|
|
|
Offering a complete set of widgets, GTK+ is suitable for projects
|
|
|
|
ranging from small one-off projects to complete application suites.
|
|
|
|
|
|
|
|
This package contains the development files for GTK+ 4.x.
|
|
|
|
|
2016-12-09 19:06:12 +01:00
|
|
|
%package -n gettext-its-%{name}
|
|
|
|
Summary: International Tag Set for GTK+ 4
|
|
|
|
# The ITS is compatible between GTK3 and GTK4
|
2017-02-15 12:03:39 +01:00
|
|
|
Group: Development/Libraries/X11
|
2016-12-09 19:06:12 +01:00
|
|
|
Provides: gettext-its-gtk3 = %{version}
|
|
|
|
Obsoletes: gettext-its-gtk3 < %{version}
|
|
|
|
|
|
|
|
%description -n gettext-its-%{name}
|
|
|
|
This package enhances gettext with an International Tag Set for GTK+ 4
|
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
%lang_package
|
2018-03-09 10:56:40 +01:00
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
%prep
|
2020-03-28 13:10:45 +01:00
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
2016-12-05 14:00:26 +01:00
|
|
|
|
|
|
|
%build
|
Accepting request 538597 from GNOME:Next
- Update to version 3.92.1:
+ Drop autotools support. Meson 0.42.1 is now required
+ Implement most of CSS3 font-variant
+ Add an Emoji chooser to GtkEntry
+ Add new input hints for Emoji input
+ Remaining widgets have been ported to GtkSnapshot
+ GtkLabel and GtkEntry have been ported to use GSK
+ Add a way for GtkOverlay to blur behind children. This is has a
demo in gtk4-demo
+ Add support for native file choosers on older OS X versions
+ Add support for libcloudproviders in GtkPlacesSidebar
+ Non-windowed widgets are now allowed to have a size of 0x0
+ Allow tiled windows to be resized. Under wayland, this uses
version 2 of the gtk-shell protocol. Under X, it uses the
_GTK_EDGE_CONSTRAINTS property
+ Input handling changes
- GdkEvent has new accessors for fields
- Traditional event signals (eg ::key-press-event) are now emitted from
an event controller
- Most widgets inside gtk have stopped using traditional event signals
- GDK_SEAT_CAPABILITY_ALL_POINTING now includes touch events
+ Scrollbars allow middle-click to jump to a position again
+ Bugs fixed: bgo#639931, bgo#644248, bgo#701296, bgo#705640,
bgo#728452, bgo#763517, bgo#766909, bgo#773299, bgo#775074,
bgo#775126, bgo#778382, bgo#778811, bgo#780750, bgo#780758,
bgo#781757, bgo#782981, bgo#783649, bgo#783669, bgo#784016,
bgo#784421, bgo#785210, bgo#785306, bgo#785736, bgo#786144,
bgo#786209, bgo#786400, bgo#786469, bgo#786485, bgo#786492,
bgo#786553, bgo#786613, bgo#786673, bgo#786794, bgo#786885,
bgo#786931, bgo#786932, bgo#786938, bgo#786940, bgo#786956,
OBS-URL: https://build.opensuse.org/request/show/538597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=23
2017-11-07 10:41:31 +01:00
|
|
|
%meson \
|
2023-08-14 15:48:00 +02:00
|
|
|
-Ddocumentation=true \
|
2020-03-28 13:10:45 +01:00
|
|
|
-Dbroadway-backend=true \
|
2020-10-26 09:13:37 +01:00
|
|
|
-Dcloudproviders=enabled \
|
|
|
|
-Dcolord=enabled \
|
2021-11-05 17:11:49 +01:00
|
|
|
-Dprint-cups=enabled \
|
2020-03-28 13:10:45 +01:00
|
|
|
-Dwayland-backend=true \
|
|
|
|
-Dx11-backend=true \
|
2020-11-16 11:58:54 +01:00
|
|
|
-Dintrospection=enabled \
|
2020-03-28 13:10:45 +01:00
|
|
|
-Dman-pages=true \
|
2021-11-05 17:11:49 +01:00
|
|
|
-Dtracker=enabled \
|
2023-04-27 17:02:29 +02:00
|
|
|
%if %{with gst}
|
|
|
|
-Dmedia-gstreamer=enabled \
|
|
|
|
%else
|
|
|
|
-Dmedia-gstreamer=disabled \
|
|
|
|
%endif
|
2023-04-08 11:32:21 +02:00
|
|
|
-Dbuild-testsuite=false \
|
|
|
|
-Dbuild-tests=false \
|
|
|
|
-Dbuild-examples=false \
|
2020-03-28 13:10:45 +01:00
|
|
|
%{nil}
|
Accepting request 538597 from GNOME:Next
- Update to version 3.92.1:
+ Drop autotools support. Meson 0.42.1 is now required
+ Implement most of CSS3 font-variant
+ Add an Emoji chooser to GtkEntry
+ Add new input hints for Emoji input
+ Remaining widgets have been ported to GtkSnapshot
+ GtkLabel and GtkEntry have been ported to use GSK
+ Add a way for GtkOverlay to blur behind children. This is has a
demo in gtk4-demo
+ Add support for native file choosers on older OS X versions
+ Add support for libcloudproviders in GtkPlacesSidebar
+ Non-windowed widgets are now allowed to have a size of 0x0
+ Allow tiled windows to be resized. Under wayland, this uses
version 2 of the gtk-shell protocol. Under X, it uses the
_GTK_EDGE_CONSTRAINTS property
+ Input handling changes
- GdkEvent has new accessors for fields
- Traditional event signals (eg ::key-press-event) are now emitted from
an event controller
- Most widgets inside gtk have stopped using traditional event signals
- GDK_SEAT_CAPABILITY_ALL_POINTING now includes touch events
+ Scrollbars allow middle-click to jump to a position again
+ Bugs fixed: bgo#639931, bgo#644248, bgo#701296, bgo#705640,
bgo#728452, bgo#763517, bgo#766909, bgo#773299, bgo#775074,
bgo#775126, bgo#778382, bgo#778811, bgo#780750, bgo#780758,
bgo#781757, bgo#782981, bgo#783649, bgo#783669, bgo#784016,
bgo#784421, bgo#785210, bgo#785306, bgo#785736, bgo#786144,
bgo#786209, bgo#786400, bgo#786469, bgo#786485, bgo#786492,
bgo#786553, bgo#786613, bgo#786673, bgo#786794, bgo#786885,
bgo#786931, bgo#786932, bgo#786938, bgo#786940, bgo#786956,
OBS-URL: https://build.opensuse.org/request/show/538597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=23
2017-11-07 10:41:31 +01:00
|
|
|
%meson_build
|
2016-12-05 14:00:26 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 538597 from GNOME:Next
- Update to version 3.92.1:
+ Drop autotools support. Meson 0.42.1 is now required
+ Implement most of CSS3 font-variant
+ Add an Emoji chooser to GtkEntry
+ Add new input hints for Emoji input
+ Remaining widgets have been ported to GtkSnapshot
+ GtkLabel and GtkEntry have been ported to use GSK
+ Add a way for GtkOverlay to blur behind children. This is has a
demo in gtk4-demo
+ Add support for native file choosers on older OS X versions
+ Add support for libcloudproviders in GtkPlacesSidebar
+ Non-windowed widgets are now allowed to have a size of 0x0
+ Allow tiled windows to be resized. Under wayland, this uses
version 2 of the gtk-shell protocol. Under X, it uses the
_GTK_EDGE_CONSTRAINTS property
+ Input handling changes
- GdkEvent has new accessors for fields
- Traditional event signals (eg ::key-press-event) are now emitted from
an event controller
- Most widgets inside gtk have stopped using traditional event signals
- GDK_SEAT_CAPABILITY_ALL_POINTING now includes touch events
+ Scrollbars allow middle-click to jump to a position again
+ Bugs fixed: bgo#639931, bgo#644248, bgo#701296, bgo#705640,
bgo#728452, bgo#763517, bgo#766909, bgo#773299, bgo#775074,
bgo#775126, bgo#778382, bgo#778811, bgo#780750, bgo#780758,
bgo#781757, bgo#782981, bgo#783649, bgo#783669, bgo#784016,
bgo#784421, bgo#785210, bgo#785306, bgo#785736, bgo#786144,
bgo#786209, bgo#786400, bgo#786469, bgo#786485, bgo#786492,
bgo#786553, bgo#786613, bgo#786673, bgo#786794, bgo#786885,
bgo#786931, bgo#786932, bgo#786938, bgo#786940, bgo#786956,
OBS-URL: https://build.opensuse.org/request/show/538597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=23
2017-11-07 10:41:31 +01:00
|
|
|
%meson_install
|
|
|
|
|
2023-04-19 10:45:11 +02:00
|
|
|
%find_lang gtk40 %{?no_lang_C}
|
2018-03-09 10:56:40 +01:00
|
|
|
install -m 644 -D %{SOURCE2} %{buildroot}%{_datadir}/gtk-4.0/settings.ini
|
2016-12-05 14:00:26 +01:00
|
|
|
# create modules directory that should have been created during the build
|
2018-09-24 09:23:36 +02:00
|
|
|
if test ! -d %{buildroot}%{_libdir}/gtk-4.0/modules; then
|
|
|
|
mkdir %{buildroot}%{_libdir}/gtk-4.0/modules
|
|
|
|
else
|
|
|
|
echo 'Remove this no-longer-needed modulesdir hack.'
|
|
|
|
fi
|
2016-12-05 14:00:26 +01:00
|
|
|
# create theming-engines directory that should have been created during the build
|
2018-09-24 09:23:36 +02:00
|
|
|
if test ! -d %{buildroot}%{_libdir}/gtk-4.0/%{gtk_binary_version}/theming-engines; then
|
|
|
|
mkdir %{buildroot}%{_libdir}/gtk-4.0/%{gtk_binary_version}/theming-engines
|
|
|
|
else
|
|
|
|
echo 'Remove this no-longer-needed themingdir hack.'
|
|
|
|
fi
|
2016-12-05 14:00:26 +01:00
|
|
|
# Install rpm macros
|
2021-06-12 17:43:06 +02:00
|
|
|
mkdir -p %{buildroot}%{_rpmmacrodir}
|
|
|
|
cp %{SOURCE3} %{buildroot}%{_rpmmacrodir}
|
2016-12-05 14:00:26 +01:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
%fdupes %{buildroot}%{_libdir}
|
|
|
|
|
2023-04-08 11:32:21 +02:00
|
|
|
%ldconfig_scriptlets -n libgtk-4-1
|
2016-12-05 14:00:26 +01:00
|
|
|
|
2021-01-11 15:59:06 +01:00
|
|
|
%files -n libgtk-4-1
|
2018-03-09 10:56:40 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS NEWS
|
2016-12-05 14:00:26 +01:00
|
|
|
%dir %{_libdir}/gtk-4.0
|
|
|
|
%dir %{_libdir}/gtk-4.0/%{gtk_binary_version}
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
%dir %{_libdir}/gtk-4.0/%{gtk_binary_version}/printbackends/
|
|
|
|
%{_libdir}/gtk-4.0/%{gtk_binary_version}/printbackends/libprintbackend-cups.so
|
|
|
|
%{_libdir}/gtk-4.0/%{gtk_binary_version}/printbackends/libprintbackend-file.so
|
2023-04-27 17:02:29 +02:00
|
|
|
%if %{with gst}
|
2018-09-24 09:23:36 +02:00
|
|
|
%dir %{_libdir}/gtk-4.0/%{gtk_binary_version}/media/
|
2021-09-01 12:08:44 +02:00
|
|
|
#%%{_libdir}/gtk-4.0/%%{gtk_binary_version}/media/libmedia-ffmpeg.so
|
2018-09-24 09:23:36 +02:00
|
|
|
%{_libdir}/gtk-4.0/%{gtk_binary_version}/media/libmedia-gstreamer.so
|
2023-04-27 17:02:29 +02:00
|
|
|
%endif
|
2016-12-05 14:00:26 +01:00
|
|
|
%dir %{_libdir}/gtk-4.0/%{gtk_binary_version}/theming-engines/
|
|
|
|
%dir %{_libdir}/gtk-4.0/modules
|
|
|
|
%{_libdir}/libgtk-4.so.*
|
|
|
|
|
|
|
|
%files -n typelib-1_0-Gtk-4_0
|
|
|
|
%{_libdir}/girepository-1.0/Gdk-4.0.typelib
|
2020-11-16 11:58:54 +01:00
|
|
|
%{_libdir}/girepository-1.0/GdkWayland-4.0.typelib
|
2016-12-05 14:00:26 +01:00
|
|
|
%{_libdir}/girepository-1.0/GdkX11-4.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/Gsk-4.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/Gtk-4.0.typelib
|
|
|
|
|
|
|
|
%files tools
|
2019-04-18 15:31:57 +02:00
|
|
|
%{_bindir}/gtk4-broadwayd
|
2016-12-05 14:00:26 +01:00
|
|
|
%{_bindir}/gtk4-launch
|
2024-03-19 14:31:33 +01:00
|
|
|
%{_bindir}/gtk4-path-tool
|
2016-12-05 14:00:26 +01:00
|
|
|
%{_bindir}/gtk4-query-settings
|
|
|
|
%{_bindir}/gtk4-update-icon-cache
|
2022-04-04 15:39:24 +02:00
|
|
|
%dir %{_datadir}/gtk-4.0/emoji
|
2024-02-08 19:16:18 +01:00
|
|
|
%{_datadir}/gtk-4.0/emoji/*.gresource
|
2016-12-05 14:00:26 +01:00
|
|
|
%{_mandir}/man1/gtk4-broadwayd.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gtk4-launch.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gtk4-query-settings.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gtk4-update-icon-cache.1%{?ext_man}
|
2023-04-19 10:45:11 +02:00
|
|
|
# English should be offered to every installation by default.
|
|
|
|
%{_datadir}/locale/en/
|
|
|
|
%{_datadir}/locale/en_GB/
|
|
|
|
%{_datadir}/locale/en@shaw/
|
|
|
|
%{_datadir}/locale/en_CA/
|
2016-12-05 14:00:26 +01:00
|
|
|
|
2022-04-04 15:39:24 +02:00
|
|
|
%files devel-tools
|
|
|
|
%{_bindir}/gtk4-builder-tool
|
|
|
|
%{_bindir}/gtk4-demo
|
|
|
|
%{_bindir}/gtk4-demo-application
|
|
|
|
%{_bindir}/gtk4-encode-symbolic-svg
|
|
|
|
%{_bindir}/gtk4-icon-browser
|
2022-06-08 13:51:25 +02:00
|
|
|
%{_bindir}/gtk4-node-editor
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_bindir}/gtk4-print-editor
|
2023-08-14 15:48:00 +02:00
|
|
|
%{_bindir}/gtk4-rendernode-tool
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_bindir}/gtk4-widget-factory
|
|
|
|
%{_datadir}/applications/org.gtk.Demo4.desktop
|
|
|
|
%{_datadir}/applications/org.gtk.IconBrowser4.desktop
|
2022-06-08 13:51:25 +02:00
|
|
|
%{_datadir}/applications/org.gtk.gtk4.NodeEditor.desktop
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_datadir}/applications/org.gtk.PrintEditor4.desktop
|
|
|
|
%{_datadir}/applications/org.gtk.WidgetFactory4.desktop
|
|
|
|
%dir %{_datadir}/gtk-4.0
|
|
|
|
%{_datadir}/gtk-4.0/gtk4builder.rng
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.Demo4.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.IconBrowser4.svg
|
2022-06-08 13:51:25 +02:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.gtk4.NodeEditor.Devel.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.gtk4.NodeEditor.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gtk.gtk4.NodeEditor-symbolic.svg
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.PrintEditor4.Devel.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.PrintEditor4.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gtk.WidgetFactory4.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gtk.Demo4-symbolic.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gtk.IconBrowser4-symbolic.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gtk.PrintEditor4-symbolic.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gtk.WidgetFactory4-symbolic.svg
|
2023-04-08 11:32:21 +02:00
|
|
|
# This schemas file stays here and not in the schemas package
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.Demo4.gschema.xml
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_datadir}/metainfo/org.gtk.Demo4.appdata.xml
|
|
|
|
%{_datadir}/metainfo/org.gtk.IconBrowser4.appdata.xml
|
2022-06-08 13:51:25 +02:00
|
|
|
%{_datadir}/metainfo/org.gtk.gtk4.NodeEditor.appdata.xml
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_datadir}/metainfo/org.gtk.PrintEditor4.appdata.xml
|
|
|
|
%{_datadir}/metainfo/org.gtk.WidgetFactory4.appdata.xml
|
|
|
|
%{_mandir}/man1/gtk4-builder-tool.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gtk4-demo-application.1%{?ext_man}
|
2024-03-19 14:31:33 +01:00
|
|
|
%{_mandir}/man1/gtk4-demo.1%{?ext_man}
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_mandir}/man1/gtk4-encode-symbolic-svg.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/gtk4-icon-browser.1%{?ext_man}
|
2022-06-08 13:51:25 +02:00
|
|
|
%{_mandir}/man1/gtk4-node-editor.1%{?ext_man}
|
2024-03-19 14:31:33 +01:00
|
|
|
%{_mandir}/man1/gtk4-path-tool.1%{?ext_man}
|
2023-08-14 15:48:00 +02:00
|
|
|
%{_mandir}/man1/gtk4-rendernode-tool.1%{?ext_man}
|
2022-04-04 15:39:24 +02:00
|
|
|
%{_mandir}/man1/gtk4-widget-factory.1%{?ext_man}
|
|
|
|
|
2016-12-09 19:06:12 +01:00
|
|
|
%files schema
|
2019-09-10 14:00:36 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.ColorChooser.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.Debug.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.EmojiChooser.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gtk.gtk4.Settings.FileChooser.gschema.xml
|
2016-12-05 14:00:26 +01:00
|
|
|
|
|
|
|
%files branding-upstream
|
|
|
|
%{_datadir}/gtk-4.0/settings.ini
|
|
|
|
|
2021-11-05 17:11:49 +01:00
|
|
|
%files docs
|
|
|
|
%{_datadir}/doc/gdk4/
|
|
|
|
%{_datadir}/doc/gdk4-wayland/
|
|
|
|
%{_datadir}/doc/gdk4-x11/
|
|
|
|
%{_datadir}/doc/gsk4/
|
|
|
|
%{_datadir}/doc/gtk4/
|
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
%files devel
|
2019-09-10 14:00:36 +02:00
|
|
|
%doc CONTRIBUTING.md
|
2016-12-05 14:00:26 +01:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
%{_includedir}/gtk-4.0/
|
2019-09-10 14:00:36 +02:00
|
|
|
%{_libdir}/pkgconfig/gtk4.pc
|
2024-03-19 14:31:33 +01:00
|
|
|
%{_libdir}/pkgconfig/gtk4-atspi.pc
|
2019-09-10 14:00:36 +02:00
|
|
|
%{_libdir}/pkgconfig/gtk4-broadway.pc
|
|
|
|
%{_libdir}/pkgconfig/gtk4-wayland.pc
|
|
|
|
%{_libdir}/pkgconfig/gtk4-unix-print.pc
|
|
|
|
%{_libdir}/pkgconfig/gtk4-x11.pc
|
2016-12-05 14:00:26 +01:00
|
|
|
%{_libdir}/libgtk-4.so
|
2021-06-12 17:43:06 +02:00
|
|
|
%{_rpmmacrodir}/macros.gtk4
|
2020-03-28 13:10:45 +01:00
|
|
|
%dir %{_datadir}/gtk-4.0/valgrind
|
|
|
|
%{_datadir}/gtk-4.0/valgrind/gtk.supp
|
2016-12-09 19:06:12 +01:00
|
|
|
|
|
|
|
%files -n gettext-its-%{name}
|
2016-12-05 14:00:26 +01:00
|
|
|
%dir %{_datadir}/gettext/
|
|
|
|
%dir %{_datadir}/gettext/its/
|
2019-09-10 14:00:36 +02:00
|
|
|
%{_datadir}/gettext/its/gtk4builder.its
|
|
|
|
%{_datadir}/gettext/its/gtk4builder.loc
|
2016-12-05 14:00:26 +01:00
|
|
|
|
2022-08-18 13:49:04 +02:00
|
|
|
%files lang -f gtk40.lang
|
2023-04-19 10:45:11 +02:00
|
|
|
# Those shouldn't be here in the first place.
|
|
|
|
%exclude %{_datadir}/locale/en/
|
|
|
|
%exclude %{_datadir}/locale/en_GB/
|
|
|
|
%exclude %{_datadir}/locale/en@shaw/
|
|
|
|
%exclude %{_datadir}/locale/en_CA/
|
Accepting request 571064 from GNOME:Next
- Update to version 3.93.0:
+ GdkScreen has been removed. All screen-related APIs have
equivalents in GdkDisplay.
+ GdkVisual has been removed.
+ GdkDeviceManager has been replaced by GdkSeat.
+ Clipboard handling has been moved from GTK to GDK, and has been
modernized to provide an extensible, asynchronous, stream-based
API.
+ The GdkCursor API has been modernized.
+ Settings and window-state changes have been converted from
events to signals on GdkDisplay and GdkWindow, respectively.
+ GdkEvent has been converted to an opaque GObject.
+ The GL renderer in GSK has been substantially completed, and is
now on par with the Vulkan renderer.
+ The use of GdkPixbuf in APIs has been reduced, and the
GskTexture object has been moved to GDK as GdkTexture, to take
its place.
+ The handling of icon sizes has been changed.
+ Bugs fixed: bgo#668590, bgo#773299, bgo#775279, bgo#777072,
bgo#779009, bgo#779862, bgo#783995, bgo#784314, bgo#785176,
bgo#785210, bgo#786123, bgo#787089, bgo#787128, bgo#787142,
bgo#787665, bgo#788841, bgo#788898, bgo#789054, bgo#789134,
bgo#789149, bgo#789160, bgo#789163, bgo#789198, bgo#789213,
bgo#789327, bgo#789357, bgo#789678, bgo#789733, bgo#789777,
bgo#789870, bgo#790029, bgo#790031, bgo#790171, bgo#790201,
bgo#790287, bgo#790489, bgo#790920, bgo#790963, bgo#791062,
bgo#791176, bgo#791281, bgo#791363, bgo#791549, bgo#791650,
bgo#791926, bgo#791927.
+ Updated translations.
- Drop gtk4-return-nonvoid.patch: fixed upstream.
OBS-URL: https://build.opensuse.org/request/show/571064
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=28
2018-02-02 22:42:32 +01:00
|
|
|
|
2016-12-05 14:00:26 +01:00
|
|
|
%changelog
|