Update to 4.1.0

This commit is contained in:
Kalev Lember 2021-01-31 14:16:12 +01:00
parent 810d8855af
commit 0983d245ec
4 changed files with 8 additions and 40 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1,26 +0,0 @@
From 1a30ec6da6a38bd283dc48b0bc13a96237fd187c Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
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

View File

@ -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 <klember@redhat.com> - 4.1.0-1
- Update to 4.1.0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1,2 +1 @@
SHA512 (gtk-4.0.2.tar.xz) = ae4d57c857bc07b775f7d906b4106804aa5d78240b0348c886f189a3c32d0fee494ebd1f0fd3301d53a523d6bb7c620150ee6306f44cc7d4f3f4f32fc42f8e49
SHA512 (HighContrast-dark.css) = 4a90efc556d10f44f68650c901344f9fedec4fa6be6ddfdc252e10c5c23fb142b1c6bac77e1ad36da0a23a9e4b2588313c1f69610f3535930e8501bea3347a1e
SHA512 (gtk-4.1.0.tar.xz) = c86acb103528ff7e7a92d0656a4fcb9bb5c2b5f5aece34ad544a62e3d0f3b1f86af43e97bda79d210fb927e639c0fab32f2ded7411118d8091f28889f7e6aa94