From 0983d245ec82843f1d4efbb75f64b4e653e1f6b5 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 31 Jan 2021 14:16:12 +0100 Subject: [PATCH] Update to 4.1.0 --- .gitignore | 1 + ...me-disting-after-HighContrast-dark-c.patch | 26 ------------------- gtk4.spec | 18 +++++-------- sources | 3 +-- 4 files changed, 8 insertions(+), 40 deletions(-) delete mode 100644 0001-dist-Fix-css-theme-disting-after-HighContrast-dark-c.patch diff --git a/.gitignore b/.gitignore index 50978e6..5ed5785 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /gtk-4.0.0.tar.xz /gtk-4.0.1.tar.xz /gtk-4.0.2.tar.xz +/gtk-4.1.0.tar.xz diff --git a/0001-dist-Fix-css-theme-disting-after-HighContrast-dark-c.patch b/0001-dist-Fix-css-theme-disting-after-HighContrast-dark-c.patch deleted file mode 100644 index 4a5ad12..0000000 --- a/0001-dist-Fix-css-theme-disting-after-HighContrast-dark-c.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 1a30ec6da6a38bd283dc48b0bc13a96237fd187c Mon Sep 17 00:00:00 2001 -From: Kalev Lember -Date: Tue, 19 Jan 2021 10:46:13 +0100 -Subject: [PATCH] dist: Fix css theme disting after HighContrast-dark changes - -Commit f60d245e327a760a188e8b5a40844f5fe092df43 renamed it from -HighContrast-inverse.css to HighContrast-dark.css. ---- - build-aux/meson/dist-theme.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/build-aux/meson/dist-theme.py b/build-aux/meson/dist-theme.py -index 1582057113..b1d5291a2c 100644 ---- a/build-aux/meson/dist-theme.py -+++ b/build-aux/meson/dist-theme.py -@@ -7,7 +7,7 @@ import subprocess - stylesheets = [ 'gtk/theme/Adwaita/Adwaita.css', - 'gtk/theme/Adwaita/Adwaita-dark.css', - 'gtk/theme/HighContrast/HighContrast.css', -- 'gtk/theme/HighContrast/HighContrast-inverse.css' ] -+ 'gtk/theme/HighContrast/HighContrast-dark.css' ] - - sourceroot = os.environ.get('MESON_SOURCE_ROOT') - distroot = os.environ.get('MESON_DIST_ROOT') --- -2.29.2 diff --git a/gtk4.spec b/gtk4.spec index 191ffbc..86de074 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -16,19 +16,13 @@ %global __provides_exclude_from ^%{_libdir}/gtk-4.0 Name: gtk4 -Version: 4.0.2 -Release: 3%{?dist} +Version: 4.1.0 +Release: 1%{?dist} Summary: GTK graphical user interface library License: LGPLv2+ URL: https://www.gtk.org -Source0: https://download.gnome.org/sources/gtk/4.0/gtk-%{version}.tar.xz - -# Generated with patch0 -Source1: HighContrast-dark.css - -# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3095 -Patch0: 0001-dist-Fix-css-theme-disting-after-HighContrast-dark-c.patch +Source0: https://download.gnome.org/sources/gtk/4.1/gtk-%{version}.tar.xz BuildRequires: cups-devel BuildRequires: desktop-file-utils @@ -133,9 +127,6 @@ widget toolkit. %prep %autosetup -p1 -n gtk-%{version} -# Generated with patch0 -cp -a %{SOURCE1} gtk/theme/HighContrast/HighContrast-dark.css - %build export CFLAGS='-fno-strict-aliasing %optflags' %meson \ @@ -241,6 +232,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/gtk-doc %changelog +* Sun Jan 31 2021 Kalev Lember - 4.1.0-1 +- Update to 4.1.0 + * Tue Jan 26 2021 Fedora Release Engineering - 4.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 1c60f60..a8d6457 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (gtk-4.0.2.tar.xz) = ae4d57c857bc07b775f7d906b4106804aa5d78240b0348c886f189a3c32d0fee494ebd1f0fd3301d53a523d6bb7c620150ee6306f44cc7d4f3f4f32fc42f8e49 -SHA512 (HighContrast-dark.css) = 4a90efc556d10f44f68650c901344f9fedec4fa6be6ddfdc252e10c5c23fb142b1c6bac77e1ad36da0a23a9e4b2588313c1f69610f3535930e8501bea3347a1e +SHA512 (gtk-4.1.0.tar.xz) = c86acb103528ff7e7a92d0656a4fcb9bb5c2b5f5aece34ad544a62e3d0f3b1f86af43e97bda79d210fb927e639c0fab32f2ded7411118d8091f28889f7e6aa94