From bc04698f60502f09a0c19e62757f66b392feff59 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 11 Jan 2022 12:13:35 -0500 Subject: [PATCH] import gtk4-4.4.1-1.el9 --- .gitignore | 2 +- .gtk4.metadata | 2 +- SPECS/gtk4.spec | 69 ++++++++++++++++++++++++++++++------------------- 3 files changed, 45 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index a7af647..c97e4be 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gtk-4.2.1.tar.xz +SOURCES/gtk-4.4.1.tar.xz diff --git a/.gtk4.metadata b/.gtk4.metadata index 620d191..63c4a78 100644 --- a/.gtk4.metadata +++ b/.gtk4.metadata @@ -1 +1 @@ -a669166112b5c2ab4585d2f61aec308a6ea13e2a SOURCES/gtk-4.2.1.tar.xz +fbeaf5a8f2c8e88cce978d190ae13208ecdc5872 SOURCES/gtk-4.4.1.tar.xz diff --git a/SPECS/gtk4.spec b/SPECS/gtk4.spec index 13c3b65..78dcb48 100644 --- a/SPECS/gtk4.spec +++ b/SPECS/gtk4.spec @@ -6,8 +6,8 @@ %global pango_version 1.47.0 %global cairo_version 1.14.0 %global gdk_pixbuf_version 2.30.0 -%global wayland_protocols_version 1.20 -%global wayland_version 1.14.91 +%global wayland_protocols_version 1.21 +%global wayland_version 1.16.91 %global epoxy_version 1.4 %global bin_version 4.0.0 @@ -16,13 +16,13 @@ %global __provides_exclude_from ^%{_libdir}/gtk-4.0 Name: gtk4 -Version: 4.2.1 -Release: 2%{?dist} +Version: 4.4.1 +Release: 1%{?dist} Summary: GTK graphical user interface library License: LGPLv2+ URL: https://www.gtk.org -Source0: https://download.gnome.org/sources/gtk/4.2/gtk-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gtk/4.4/gtk-%{version}.tar.xz BuildRequires: cups-devel BuildRequires: desktop-file-utils @@ -47,6 +47,7 @@ BuildRequires: pkgconfig(pango) >= %{pango_version} BuildRequires: pkgconfig(rest-0.7) BuildRequires: pkgconfig(sysprof-4) BuildRequires: pkgconfig(sysprof-capture-4) +BuildRequires: pkgconfig(tracker-sparql-3.0) BuildRequires: pkgconfig(wayland-client) >= %{wayland_version} BuildRequires: pkgconfig(wayland-cursor) >= %{wayland_version} BuildRequires: pkgconfig(wayland-egl) >= %{wayland_version} @@ -102,24 +103,25 @@ Requires: gtk4%{?_isa} = %{version}-%{release} This package contains the libraries and header files that are needed for writing applications with version 4 of the GTK widget toolkit. +%package devel-tools +Summary: Developer tools for GTK +Requires: gtk4%{?_isa} = %{version}-%{release} + +%description devel-tools +This package contains helpful applications for developers using GTK. + %prep %autosetup -p1 -n gtk-%{version} %build export CFLAGS='-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT %optflags' %meson \ - -Dx11-backend=true \ - -Dwayland-backend=true \ %if 0%{?with_broadway} -Dbroadway-backend=true \ %endif - -Dmedia-ffmpeg=disabled \ - -Dmedia-gstreamer=enabled \ - -Dvulkan=disabled \ - -Dxinerama=enabled \ -Dsysprof=enabled \ + -Dtracker=enabled \ -Dcolord=enabled \ - -Dsassc=disabled \ -Dgtk_doc=false \ -Dman-pages=true \ -Dinstall-tests=false @@ -138,7 +140,6 @@ rm $RPM_BUILD_ROOT%{_mandir}/man1/gtk4-broadwayd.1* mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gtk-4.0 mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/modules -mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/%{bin_version}/theming-engines %check desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop @@ -153,7 +154,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %dir %{_libdir}/gtk-4.0/%{bin_version} %{_libdir}/gtk-4.0/%{bin_version}/media/ %{_libdir}/gtk-4.0/%{bin_version}/printbackends/ -%{_libdir}/gtk-4.0/%{bin_version}/theming-engines/ %{_libdir}/gtk-4.0/modules %{_libdir}/girepository-1.0 %{_mandir}/man1/gtk4-launch.1* @@ -174,10 +174,22 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_includedir}/* %{_libdir}/pkgconfig/* %{_bindir}/gtk4-builder-tool -%{_bindir}/gtk4-demo %{_bindir}/gtk4-encode-symbolic-svg -%{_bindir}/gtk4-icon-browser %{_bindir}/gtk4-query-settings +%{_datadir}/gettext/ +%{_datadir}/gir-1.0 +%{_datadir}/gtk-4.0/gtk4builder.rng +%{_datadir}/gtk-4.0/valgrind/ +%{_mandir}/man1/gtk4-builder-tool.1* +%{_mandir}/man1/gtk4-encode-symbolic-svg.1* +%{_mandir}/man1/gtk4-query-settings.1* + +%files devel-tools +%{_bindir}/gtk4-demo +%{_bindir}/gtk4-demo-application +%{_bindir}/gtk4-icon-browser +%{_bindir}/gtk4-print-editor +%{_bindir}/gtk4-widget-factory %{_datadir}/applications/org.gtk.Demo4.desktop %{_datadir}/applications/org.gtk.IconBrowser4.desktop %{_datadir}/applications/org.gtk.PrintEditor4.desktop @@ -186,27 +198,32 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/org.gtk.IconBrowser4*.svg %{_datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.svg %{_datadir}/icons/hicolor/*/apps/org.gtk.WidgetFactory4*.svg -%{_bindir}/gtk4-demo-application -%{_bindir}/gtk4-print-editor -%{_bindir}/gtk4-widget-factory -%{_datadir}/gettext/ -%{_datadir}/gir-1.0 %{_datadir}/glib-2.0/schemas/org.gtk.Demo4.gschema.xml -%{_datadir}/gtk-4.0/gtk4builder.rng -%{_datadir}/gtk-4.0/valgrind/ %{_datadir}/metainfo/org.gtk.Demo4.appdata.xml %{_datadir}/metainfo/org.gtk.IconBrowser4.appdata.xml %{_datadir}/metainfo/org.gtk.PrintEditor4.appdata.xml %{_datadir}/metainfo/org.gtk.WidgetFactory4.appdata.xml -%{_mandir}/man1/gtk4-builder-tool.1* %{_mandir}/man1/gtk4-demo.1* %{_mandir}/man1/gtk4-demo-application.1* -%{_mandir}/man1/gtk4-encode-symbolic-svg.1* %{_mandir}/man1/gtk4-icon-browser.1* -%{_mandir}/man1/gtk4-query-settings.1* %{_mandir}/man1/gtk4-widget-factory.1* %changelog +* Mon Nov 01 2021 Kalev Lember - 4.4.1-1 +- Update to 4.4.1 + +* Mon Sep 27 2021 Kalev Lember - 4.4.0-4 +- Build with tracker support enabled (#1908874) + +* Mon Sep 20 2021 Kalev Lember - 4.4.0-3 +- Stop creating empty theming-engines directory as it's no longer used + +* Thu Sep 02 2021 Michael Catanzaro - 4.4.0-2 +- Split developer tools out to devel-tools subpackage + +* Mon Aug 23 2021 Kalev Lember - 4.4.0-1 +- Update to 4.4.0 + * Mon Aug 09 2021 Mohan Boddu - 4.2.1-2 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688