import gtk4-4.4.1-1.el9

This commit is contained in:
CentOS Sources 2022-01-11 12:13:35 -05:00 committed by Stepan Oksanichenko
parent 677bec9d36
commit bc04698f60
3 changed files with 45 additions and 28 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/gtk-4.2.1.tar.xz SOURCES/gtk-4.4.1.tar.xz

View File

@ -1 +1 @@
a669166112b5c2ab4585d2f61aec308a6ea13e2a SOURCES/gtk-4.2.1.tar.xz fbeaf5a8f2c8e88cce978d190ae13208ecdc5872 SOURCES/gtk-4.4.1.tar.xz

View File

@ -6,8 +6,8 @@
%global pango_version 1.47.0 %global pango_version 1.47.0
%global cairo_version 1.14.0 %global cairo_version 1.14.0
%global gdk_pixbuf_version 2.30.0 %global gdk_pixbuf_version 2.30.0
%global wayland_protocols_version 1.20 %global wayland_protocols_version 1.21
%global wayland_version 1.14.91 %global wayland_version 1.16.91
%global epoxy_version 1.4 %global epoxy_version 1.4
%global bin_version 4.0.0 %global bin_version 4.0.0
@ -16,13 +16,13 @@
%global __provides_exclude_from ^%{_libdir}/gtk-4.0 %global __provides_exclude_from ^%{_libdir}/gtk-4.0
Name: gtk4 Name: gtk4
Version: 4.2.1 Version: 4.4.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: GTK graphical user interface library Summary: GTK graphical user interface library
License: LGPLv2+ License: LGPLv2+
URL: https://www.gtk.org 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: cups-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -47,6 +47,7 @@ BuildRequires: pkgconfig(pango) >= %{pango_version}
BuildRequires: pkgconfig(rest-0.7) BuildRequires: pkgconfig(rest-0.7)
BuildRequires: pkgconfig(sysprof-4) BuildRequires: pkgconfig(sysprof-4)
BuildRequires: pkgconfig(sysprof-capture-4) BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: pkgconfig(tracker-sparql-3.0)
BuildRequires: pkgconfig(wayland-client) >= %{wayland_version} BuildRequires: pkgconfig(wayland-client) >= %{wayland_version}
BuildRequires: pkgconfig(wayland-cursor) >= %{wayland_version} BuildRequires: pkgconfig(wayland-cursor) >= %{wayland_version}
BuildRequires: pkgconfig(wayland-egl) >= %{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 This package contains the libraries and header files that are needed
for writing applications with version 4 of the GTK widget toolkit. 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 %prep
%autosetup -p1 -n gtk-%{version} %autosetup -p1 -n gtk-%{version}
%build %build
export CFLAGS='-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT %optflags' export CFLAGS='-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT %optflags'
%meson \ %meson \
-Dx11-backend=true \
-Dwayland-backend=true \
%if 0%{?with_broadway} %if 0%{?with_broadway}
-Dbroadway-backend=true \ -Dbroadway-backend=true \
%endif %endif
-Dmedia-ffmpeg=disabled \
-Dmedia-gstreamer=enabled \
-Dvulkan=disabled \
-Dxinerama=enabled \
-Dsysprof=enabled \ -Dsysprof=enabled \
-Dtracker=enabled \
-Dcolord=enabled \ -Dcolord=enabled \
-Dsassc=disabled \
-Dgtk_doc=false \ -Dgtk_doc=false \
-Dman-pages=true \ -Dman-pages=true \
-Dinstall-tests=false -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%{_sysconfdir}/gtk-4.0
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/modules mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/modules
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-4.0/%{bin_version}/theming-engines
%check %check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop 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} %dir %{_libdir}/gtk-4.0/%{bin_version}
%{_libdir}/gtk-4.0/%{bin_version}/media/ %{_libdir}/gtk-4.0/%{bin_version}/media/
%{_libdir}/gtk-4.0/%{bin_version}/printbackends/ %{_libdir}/gtk-4.0/%{bin_version}/printbackends/
%{_libdir}/gtk-4.0/%{bin_version}/theming-engines/
%{_libdir}/gtk-4.0/modules %{_libdir}/gtk-4.0/modules
%{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0
%{_mandir}/man1/gtk4-launch.1* %{_mandir}/man1/gtk4-launch.1*
@ -174,10 +174,22 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_includedir}/* %{_includedir}/*
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_bindir}/gtk4-builder-tool %{_bindir}/gtk4-builder-tool
%{_bindir}/gtk4-demo
%{_bindir}/gtk4-encode-symbolic-svg %{_bindir}/gtk4-encode-symbolic-svg
%{_bindir}/gtk4-icon-browser
%{_bindir}/gtk4-query-settings %{_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.Demo4.desktop
%{_datadir}/applications/org.gtk.IconBrowser4.desktop %{_datadir}/applications/org.gtk.IconBrowser4.desktop
%{_datadir}/applications/org.gtk.PrintEditor4.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.IconBrowser4*.svg
%{_datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.svg %{_datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.svg
%{_datadir}/icons/hicolor/*/apps/org.gtk.WidgetFactory4*.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}/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.Demo4.appdata.xml
%{_datadir}/metainfo/org.gtk.IconBrowser4.appdata.xml %{_datadir}/metainfo/org.gtk.IconBrowser4.appdata.xml
%{_datadir}/metainfo/org.gtk.PrintEditor4.appdata.xml %{_datadir}/metainfo/org.gtk.PrintEditor4.appdata.xml
%{_datadir}/metainfo/org.gtk.WidgetFactory4.appdata.xml %{_datadir}/metainfo/org.gtk.WidgetFactory4.appdata.xml
%{_mandir}/man1/gtk4-builder-tool.1*
%{_mandir}/man1/gtk4-demo.1* %{_mandir}/man1/gtk4-demo.1*
%{_mandir}/man1/gtk4-demo-application.1* %{_mandir}/man1/gtk4-demo-application.1*
%{_mandir}/man1/gtk4-encode-symbolic-svg.1*
%{_mandir}/man1/gtk4-icon-browser.1* %{_mandir}/man1/gtk4-icon-browser.1*
%{_mandir}/man1/gtk4-query-settings.1*
%{_mandir}/man1/gtk4-widget-factory.1* %{_mandir}/man1/gtk4-widget-factory.1*
%changelog %changelog
* Mon Nov 01 2021 Kalev Lember <klember@redhat.com> - 4.4.1-1
- Update to 4.4.1
* Mon Sep 27 2021 Kalev Lember <klember@redhat.com> - 4.4.0-4
- Build with tracker support enabled (#1908874)
* Mon Sep 20 2021 Kalev Lember <klember@redhat.com> - 4.4.0-3
- Stop creating empty theming-engines directory as it's no longer used
* Thu Sep 02 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 4.4.0-2
- Split developer tools out to devel-tools subpackage
* Mon Aug 23 2021 Kalev Lember <klember@redhat.com> - 4.4.0-1
- Update to 4.4.0
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.2.1-2 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.2.1-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688