gtk3/gtk3.spec

683 lines
25 KiB
RPMSpec
Raw Normal View History

#
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# spec file for package gtk3
#
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2010 Dominique Leuenberger, 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%bcond_without broadway
%bcond_with clouds
%bcond_with tests
%define _name gtk
# When updating the binary version, please do not forget to also update the
# baselibs.conf file accordingly.
%define binary_version 3.0.0
%define _immoduledir %{_libdir}/gtk-3.0/%{binary_version}/immodules
# Filter out provides for private modules
%define __provides_exclude_from ^%{_libdir}/gtk-3.0
Name: gtk3
Version: 3.24.38
Release: 0
Summary: The GTK+ toolkit library (version 3)
License: LGPL-2.1-or-later
Group: Development/Libraries/X11
URL: https://www.gtk.org/
Source0: %{_name}-%{version}.tar.xz
Source1: README.SUSE
Source2: settings.ini
Source3: macros.gtk3
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE gtk3-GTK_PATH64.patch sbrabec@novell.com - 64-bit dual install. Use GTK_PATH64 environment variable instead of GTK_PATH
Patch0: gtk3-GTK_PATH64.patch
# PATCH-FIX-OPENSUSE gtk3-revert-forced-xftdpi.patch fvogt@opensuse.org -- Revert very controversal commit on GTK3, forcing DPI to 96
Patch1: gtk3-revert-forced-xftdpi.patch
BuildRequires: cups-devel >= 1.7
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gettext-tools-mini >= 0.19.7
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
BuildRequires: meson
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: xsltproc
BuildRequires: pkgconfig(atk) >= 2.15.1
BuildRequires: pkgconfig(atk-bridge-2.0)
BuildRequires: pkgconfig(cairo) >= 1.14.0
BuildRequires: pkgconfig(cairo-gobject) >= 1.14.0
BuildRequires: pkgconfig(colord) >= 0.1.9
BuildRequires: pkgconfig(epoxy) >= 1.4
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0
BuildRequires: pkgconfig(gio-2.0) >= 2.53.4
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.53.4
BuildRequires: pkgconfig(glib-2.0) >= 2.57.2
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
BuildRequires: pkgconfig(harfbuzz) >= 0.9
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(pango) >= 1.41.0
BuildRequires: pkgconfig(pangoft2)
BuildRequires: pkgconfig(wayland-client) >= 1.14.91
BuildRequires: pkgconfig(wayland-cursor) >= 1.14.91
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols) >= 1.14
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) >= 0.2.0
BuildRequires: pkgconfig(xrandr)
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Enable cloudproviders once upstream settles on a location and version
%if %{with clouds}
BuildRequires: pkgconfig(cloudproviders) >= 0.2.5
%endif
%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.
%package -n libgtk-3-0
Summary: The GTK+ toolkit library (version 3)
Group: System/Libraries
Requires: %{name}-data >= %{version}
Requires: %{name}-schema >= %{version}
# Require gdk-pixbuf-loader-rsvg - bsc#1007453. We require adwaita-icon-theme
# so we need something to load the svg icons.
Requires: gdk-pixbuf-loader-rsvg
# 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
Requires(post): %{name}-tools
# gtk+ can work without branding/translations. Built in defaults will be used then.
Recommends: %{name}-branding
# it's nice to have input modules for various locales installed by default
Recommends: %{name}-immodule-amharic = %{version}
Recommends: %{name}-immodule-inuktitut = %{version}
Recommends: %{name}-immodule-thai = %{version}
Recommends: %{name}-immodule-tigrigna = %{version}
Recommends: %{name}-immodule-vietnamese = %{version}
# Recommend Adwaita Icon Theme: GTK3 references this icon set in the code,
# but some setups might still want to eliminate it (think limited size Live CDs)
Recommends: adwaita-icon-theme
Recommends: gvfs
# Provide %%{name} to make the lang and immodules packages installable
Provides: %{name} = %{version}
# Before 3.0, the package was actually libgtk-3_0-0 and files might
# conflict
Provides: libgtk-3_0-0 = %{version}
Obsoletes: libgtk-3_0-0 < %{version}
%description -n libgtk-3-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.
%package -n typelib-1_0-Gtk-3_0
Summary: Introspection bindings for the GTK+ toolkit library (version 3)
Group: System/Libraries
Requires: (python3-gobject-Gdk if python3-gobject)
Requires: (python310-gobject-Gdk if python310-gobject)
Requires: (python38-gobject-Gdk if python38-gobject)
Requires: (python39-gobject-Gdk if python39-gobject)
%description -n typelib-1_0-Gtk-3_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 immodule-amharic
Summary: Amharic input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Provides: locale(%{name}:am)
%description immodule-amharic
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 an input method for Amharic.
%package immodule-broadway
Summary: Broadway input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
%description immodule-broadway
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 an input method for Broadway.
%package immodule-inuktitut
Summary: Inuktitut input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Provides: locale(%{name}:iu)
%description immodule-inuktitut
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 an input method for Inuktitut.
%package immodule-multipress
Summary: Multipress input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
%description immodule-multipress
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 an input method which allows text entry via the
multi-press method, as on a mobile phone.
%package immodule-thai
Summary: Thai-Lao input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Provides: locale(%{name}:lo)
Provides: locale(%{name}:th)
%description immodule-thai
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 an input method for Thai-Lao.
%package immodule-tigrigna
Summary: Tigrigna input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Provides: %{name}-immodules-tigrigna = %{version}
Provides: locale(%{name}:ti)
Obsoletes: %{name}-immodules-tigrigna < %{version}
%description immodule-tigrigna
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 two input methods for Tigrigna.
%package immodule-vietnamese
Summary: Vietnamese input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Provides: locale(%{name}:vi)
%description immodule-vietnamese
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 an input method for Vietnamese.
%package immodule-wayland
Summary: Wayland input method for the GTK+ toolkit library (version 3)
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
%description immodule-wayland
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 an input method which allows text entry via
wayland.
%package immodule-xim
Summary: X input method for the GTK+ toolkit library v3
Group: System/Libraries
Requires: %{name} = %{version}
Requires(post): %{name}-tools
Requires(postun):%{name}-tools
Provides: locale(%{name}:ja)
Provides: locale(%{name}:ko)
Provides: locale(%{name}:th)
Provides: locale(%{name}:zh)
%description immodule-xim
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 an input method based on the X Input Method.
%package tools
Summary: Auxiliary utilities for the GTK+ toolkit library v3
Group: System/Libraries
Requires(post): update-alternatives
Requires(postun):update-alternatives
%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.
%package data
Summary: Data files for the GTK+ toolkit library v3
Group: System/Libraries
BuildArch: noarch
%description data
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 schema
Summary: Config schema for the GTK+ toolkit library v3
Group: System/Libraries
BuildArch: noarch
%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.
%package branding-upstream
Summary: Upstream theme configuration for the GTK+ toolkit library v3
Group: System/Libraries
Requires: libgtk-3-0 = %{version}
Supplements: (%{name} and branding-upstream)
Conflicts: %{name}-branding
Provides: %{name}-branding = %{version}
BuildArch: noarch
#BRAND: Provides /etc/gtk-3.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.
%package devel
Summary: Development files for the GTK+ toolkit library v3
Group: Development/Libraries/X11
Requires: gettext-its-%{name} >= %{version}
Requires: libgtk-3-0 = %{version}
Requires: typelib-1_0-Gtk-3_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+ 3.x.
%package -n gettext-its-%{name}
Summary: International Tag Set for GTK+ 3
Group: Development/Libraries/X11
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
BuildArch: noarch
%description -n gettext-its-%{name}
This package enhances gettext with an International Tag Set for GTK+ 3
%lang_package
%package -n gtk3-devel-doc
Summary: API documentation for the GTK+ toolkit library v3
Group: Documentation/HTML
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
BuildArch: noarch
%description -n gtk3-devel-doc
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 API documentation for GTK+ 3.x.
%prep
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%autosetup -N -n %{_name}-%{version}
%if "%{_lib}" == "lib64"
cp -a %{SOURCE1} .
%if !0%{?sle_version}
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%autopatch -p1 0
%else
%patch -P 0 -p1
%endif
%endif
%if !0%{?sle_version}
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Apply patches 1 to 999 (1 >= 999)
%autopatch -p1 -m 1 -M 999
%else
%patch -P 1 -p1
%endif
%build
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%meson \
-D broadway_backend=%{?with_broadway:true}%{!?with_broadway:false} \
-D cloudproviders=%{?with_clouds:true}%{!?with_clouds:false} \
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
-D gtk_doc=true \
-D man=true \
-D tests=%{?with_tests:true}%{!?with_tests:false} \
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
-D builtin_immodules=wayland,waylandgtk \
;
%meson_build
%install
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%meson_install
%find_lang gtk30
%find_lang gtk30-properties
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Do not install the exampleapp glib schema, as the app itself is noinst
rm -v %{buildroot}%{_datadir}/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Upstream's default UI settings.
install -v -m 644 -D %{SOURCE2} \
%{buildroot}%{_sysconfdir}/gtk-3.0/settings.ini
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Input Method Modules cache needs to be created in order to be ghosted in the
# files directive, allowing it to be removed along with the package upon
# uninstallation.
touch %{buildroot}%{_libdir}/gtk-3.0/%{binary_version}/immodules.cache
# This hack needs to be done as long as we offer openSUSE 32-bit.
# Maybe upstream could do something about it.
%if "%{_lib}" == "lib64"
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
mv -v %{buildroot}%{_bindir}/gtk-query-immodules-3.0 \
%{buildroot}%{_bindir}/gtk-query-immodules-3.0-64
mv -v %{buildroot}%{_mandir}/man1/gtk-query-immodules-3.0.1 \
%{buildroot}%{_mandir}/man1/gtk-query-immodules-3.0-64.1
%endif
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Create modules directory that should have been created during the build
test ! -d %{buildroot}%{_libdir}/gtk-3.0/modules \
&& mkdir -v %{buildroot}%{_libdir}/gtk-3.0/modules
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Create immodules directory that should have been created during the build
test ! -d %{buildroot}%{_libdir}/gtk-3.0/immodules \
&& mkdir -v %{buildroot}%{_libdir}/gtk-3.0/immodules
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Create theming-engines directory that should have been created during the build
test ! -d %{buildroot}%{_libdir}/gtk-3.0/%{binary_version}/theming-engines \
&& mkdir -v %{buildroot}%{_libdir}/gtk-3.0/%{binary_version}/theming-engines
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# Alternatives for gtk-update-icon-cache (binary and manpage)
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
mv %{buildroot}%{_bindir}/gtk-update-icon-cache \
%{buildroot}%{_bindir}/gtk-update-icon-cache-3.0
ln -s -f %{_sysconfdir}/alternatives/gtk-update-icon-cache \
%{buildroot}%{_bindir}/gtk-update-icon-cache
mv %{buildroot}%{_mandir}/man1/gtk-update-icon-cache.1 \
%{buildroot}%{_mandir}/man1/gtk-update-icon-cache-3.0.1
ln -s -f %{_sysconfdir}/alternatives/gtk-update-icon-cache.1%{ext_man} \
%{buildroot}%{_mandir}/man1/gtk-update-icon-cache.1%{ext_man}
# Install rpm macros
mkdir -p %{buildroot}%{_rpmmacrodir}
cp %{SOURCE3} %{buildroot}%{_rpmmacrodir}
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%fdupes %{buildroot}%{_datadir}
%fdupes %{buildroot}%{_libdir}
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
###########################################################################
# Note: when updating scriptlets, don't forget to also update baselibs.conf
###########################################################################
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%if "%_lib" == "lib64"
%define ext_64 -64
%endif
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%define __gtk_query_immodules %{_bindir}/gtk-query-immodules-3.0%{?ext_64}
%define __update_iconcache %{_bindir}/gtk-update-icon-cache
%define __update_iconcache3 %{_bindir}/gtk-update-icon-cache-3.0
%define __update_alternatives %{_sbindir}/update-alternatives
# Until RPM (trans)filetriggers gets implemented for ldconfig calls, use
# whatever we got.
%ldconfig_scriptlets -n libgtk-3-0
%filetriggerin tools -- %{_immoduledir}
%__gtk_query_immodules --update-cache \
|| echo "[GTK3] Update IM modules cache: failed"
%filetriggerpostun tools -- %{_immoduledir}
# We ignore upgrades (already handled by the newer package's filetriggerin).
if [ "$1" -eq 0 ]; then
%__gtk_query_immodules --update-cache \
|| echo "[GTK3] Update IM modules cache: failed"
fi
%filetriggerin tools -- %{_datadir}/icons
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
if [ "$(realpath %__update_iconcache)" = "%__update_iconcache3" ]; then
for ICON_THEME in $(cut -d / -f 5 | sort -u); do
if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%__update_iconcache --quiet --force "%{_datadir}/icons/${ICON_THEME}" \
|| echo "[GTK3] Update icons cache: failure to add ${ICON_THEME} icons"
fi
done
fi
%filetriggerpostun tools -- %{_datadir}/icons
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# We ignore upgrades (already handled by the newer package's filetriggerin).
if [ "$1" -eq 0 ] &&
[ "$(realpath %__update_iconcache)" = "%__update_iconcache3" ]; then
for ICON_THEME in $(cut -d / -f 5 | sort -u); do
if [ -f "%{_datadir}/icons/${ICON_THEME}/index.theme" ]; then
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%__update_iconcache --quiet --force "%{_datadir}/icons/${ICON_THEME}" \
|| echo "[GTK3] Update icons cache: failure to remove ${ICON_THEME} icons"
fi
done
fi
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%post tools
%__update_alternatives --install %__update_iconcache gtk-update-icon-cache \
%__update_iconcache3 3 --slave %{_mandir}/man1/gtk-update-icon-cache.1.gz \
gtk-update-icon-cache.1.gz %{_mandir}/man1/gtk-update-icon-cache-3.0.1.gz
%postun tools
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# We don't use "$1 -eq 0", to avoid issues if the package gets renamed.
if [ ! -f %__update_iconcache3 ]; then
%__update_alternatives --remove gtk-update-icon-cache %__update_iconcache3
fi
%files -n libgtk-3-0
%license COPYING
%if "%{_lib}" == "lib64"
%doc README.SUSE
%endif
%dir %{_sysconfdir}/gtk-3.0
%dir %{_libdir}/gtk-3.0
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%dir %{_libdir}/gtk-3.0/%{binary_version}
%dir %{_immoduledir}
%{_immoduledir}/im-cedilla.so
%{_immoduledir}/im-cyrillic-translit.so
%{_immoduledir}/im-ipa.so
%dir %{_libdir}/gtk-3.0/%{binary_version}/printbackends/
%{_libdir}/gtk-3.0/%{binary_version}/printbackends/libprintbackend-cups.so
%{_libdir}/gtk-3.0/%{binary_version}/printbackends/libprintbackend-file.so
%{_libdir}/gtk-3.0/%{binary_version}/printbackends/libprintbackend-lpr.so
%dir %{_libdir}/gtk-3.0/%{binary_version}/theming-engines/
%ghost %{_libdir}/gtk-3.0/%{binary_version}/immodules.cache
%dir %{_libdir}/gtk-3.0/modules
%{_libdir}/libgailutil-3.so.*
%{_libdir}/libgdk-3.so.*
%{_libdir}/libgtk-3.so.*
%files -n typelib-1_0-Gtk-3_0
%{_libdir}/girepository-1.0/Gdk-3.0.typelib
%{_libdir}/girepository-1.0/GdkX11-3.0.typelib
%{_libdir}/girepository-1.0/Gtk-3.0.typelib
%files immodule-amharic
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-am-et.so
%files immodule-broadway
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-broadway.so
%files immodule-inuktitut
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-inuktitut.so
%files immodule-multipress
%doc modules/input/README.multipress
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-multipress.so
%config %{_sysconfdir}/gtk-3.0/im-multipress.conf
%files immodule-thai
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-thai.so
%files immodule-tigrigna
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-ti-er.so
%{_immoduledir}/im-ti-et.so
%files immodule-vietnamese
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-viqr.so
%files immodule-xim
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_immoduledir}/im-xim.so
%files tools
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%doc README.md NEWS
%{_bindir}/broadwayd
%{_bindir}/gtk3-icon-browser
%{_bindir}/gtk-builder-tool
%{_bindir}/gtk-encode-symbolic-svg
%{_bindir}/gtk-launch
%{_bindir}/gtk-query-immodules-3.0*
%{_bindir}/gtk-query-settings
%{_bindir}/gtk-update-icon-cache-3.0
%{_bindir}/gtk-update-icon-cache
%ghost %{_sysconfdir}/alternatives/gtk-update-icon-cache
%{_datadir}/applications/gtk3-icon-browser.desktop
%{_mandir}/man1/broadwayd.1%{?ext_man}
%{_mandir}/man1/gtk3-icon-browser.1%{?ext_man}
%{_mandir}/man1/gtk-builder-tool.1%{?ext_man}
%{_mandir}/man1/gtk-encode-symbolic-svg.1%{?ext_man}
%{_mandir}/man1/gtk-launch.1%{?ext_man}
%{_mandir}/man1/gtk-query-immodules-3.0*.1%{?ext_man}
%{_mandir}/man1/gtk-query-settings.1%{?ext_man}
%{_mandir}/man1/gtk-update-icon-cache-3.0.1%{?ext_man}
%{_mandir}/man1/gtk-update-icon-cache.1%{?ext_man}
%ghost %{_sysconfdir}/alternatives/gtk-update-icon-cache.1%{?ext_man}
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%dir %{_datadir}/gtk-3.0/
%dir %{_datadir}/gtk-3.0/emoji
%{_datadir}/gtk-3.0/emoji/de.gresource
%{_datadir}/gtk-3.0/emoji/es.gresource
%{_datadir}/gtk-3.0/emoji/fr.gresource
%{_datadir}/gtk-3.0/emoji/zh.gresource
%files schema
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.EmojiChooser.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gtk.Settings.Debug.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gtk.Demo.gschema.xml
%files data
%{_datadir}/locale/en/
%{_datadir}/themes/Default/
%{_datadir}/themes/Emacs/
%files branding-upstream
%config(noreplace) %{_sysconfdir}/gtk-3.0/settings.ini
%files devel
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%doc CONTRIBUTING.md
%{_bindir}/gtk3-demo
%{_bindir}/gtk3-demo-application
%{_bindir}/gtk3-widget-factory
%{_mandir}/man1/gtk3-demo.1%{?ext_man}
%{_mandir}/man1/gtk3-demo-application.1%{?ext_man}
%{_mandir}/man1/gtk3-widget-factory.1%{?ext_man}
%{_datadir}/aclocal/gtk-3.0.m4
%{_datadir}/applications/gtk3-demo.desktop
%{_datadir}/applications/gtk3-widget-factory.desktop
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-3.0/gtkbuilder.rng
%dir %{_datadir}/gtk-3.0/valgrind
%{_datadir}/gtk-3.0/valgrind/gtk.supp
%{_datadir}/icons/hicolor/*/apps/gtk3-demo.png
%{_datadir}/icons/hicolor/*/apps/gtk3-widget-factory.png
%{_datadir}/icons/hicolor/*/apps/gtk3-demo-symbolic.symbolic.png
%{_datadir}/icons/hicolor/*/apps/gtk3-widget-factory-symbolic.symbolic.png
%{_includedir}/gail-3.0/
%{_includedir}/gtk-3.0/
%{_libdir}/pkgconfig/gail-3.0.pc
%{_libdir}/pkgconfig/gdk-3.0.pc
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%if %{with broadway}
%{_libdir}/pkgconfig/gdk-broadway-3.0.pc
%{_libdir}/pkgconfig/gtk+-broadway-3.0.pc
%endif
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
%{_libdir}/pkgconfig/gdk-wayland-3.0.pc
%{_libdir}/pkgconfig/gtk+-wayland-3.0.pc
%{_libdir}/pkgconfig/gdk-x11-3.0.pc
%{_libdir}/pkgconfig/gtk+-3.0.pc
%{_libdir}/pkgconfig/gtk+-unix-print-3.0.pc
%{_libdir}/pkgconfig/gtk+-x11-3.0.pc
%{_libdir}/libgailutil-3.so
%{_libdir}/libgdk-3.so
%{_libdir}/libgtk-3.so
%{_rpmmacrodir}/macros.gtk3
%files -n gettext-its-%{name}
%dir %{_datadir}/gettext/
%dir %{_datadir}/gettext/its/
%{_datadir}/gettext/its/gtkbuilder.its
%{_datadir}/gettext/its/gtkbuilder.loc
%files lang -f gtk30.lang -f gtk30-properties.lang
Accepting request 1073097 from GNOME:Next - Prepend gtk3 to binary_version and _immoduledir macro names to avoid possible name clash now that they are being defined in the macros.gtk3 file instead of the spec file. - Update to version 3.24.37: + Support the file transfer portal for copy-paste and DND + Treat XKB_MODE_NAME_LODO as super key + Refactor startup notification handling to be in sync with GTK 4 + GL: Synchronie when calling MakeCurrent + CSS: Fix a problem with stopping animations + Wayland: Drop the legacy text input module + Updated translations. - Update to version 3.24.36: + GtkLabel: Tweak selection behavior. + GtkEmojiChooser: Properly handle empty recent section. + GtkFileChooser: Make ~ key work regardless of dead keys. + Wayland: - Fix problems with X<>Wayland DND. - Revert cursor changes from 3.24.35. - Fix handling of surrounding text in input. + Updated translation. - Switch from Autotools to Meson, dropping libtool build requirement while adding meson and ninja. And replace configure, make_build, and make_install macros with meson, meson_build and meson_install. - Adopt the use of autosetup and autopatch macro facilities to improve package maintainability. - Drop multibuild facility due to the fact that Gtk 3 Meson build scripts can't fully disable some components. And, at least for now, we cannot achieve the same degree of modularity we had with Autotools. - Drop macros.gtk3 file as no package (if it ever had any) consumes its macros. - After switching to Meson, the build doesn't produce a Wayland Input Method module anymore, at least not as a standalone. Update baselibs.conf accordingly. And some GResource files are now being provided in the devel package for working with emojis. - Define __provides_exclude_from macro with ^%{_libdir}/gtk-3.0 as its value to prevent the automatic provision generator to offer private modules as requirable symbols. - Make cloudproviders to be easily switchable, through bcond facility, to allow people to test it, or for maintainers to turn it on and off easily. - Make gettext-its-gtk3 and gtk3-devel-doc sub-packages arch-independent (noarch), as they don't contain any binaries. - Convert IM modules cache update post(un) scriptlets to RPM file triggers. Though we had good results with icon cache update scriptlets previously, we still can't use transfiletriggers to trigger the cache update only once, post transaction, because Zypper is still working on implementing support for them. - Refresh patch with Quilt: gtk3-revert-forced-xftdpi.patch. OBS-URL: https://build.opensuse.org/request/show/1073097 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=429
2023-03-20 13:49:51 +01:00
# English locale should be in the main package
%exclude %{_datadir}/locale/en
%files -n gtk3-devel-doc
%doc %{_datadir}/gtk-doc/html/gail-libgail-util3/
%doc %{_datadir}/gtk-doc/html/gdk3/
%doc %{_datadir}/gtk-doc/html/gtk3/
%changelog