Add Vala 0.55.1 patch from upstream (#2047014)

f38
David King 3 years ago
parent 19f004597a
commit b1d6d04950

@ -0,0 +1,25 @@
From c50802b213c325cfa957d66955f6de96908710d9 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <ricotz@ubuntu.com>
Date: Sat, 6 Nov 2021 19:46:07 +0100
Subject: [PATCH] Fix accessibility conflict of constant and its value
---
src/simple-scan.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/simple-scan.vala b/src/simple-scan.vala
index c15a5418..71f32de9 100644
--- a/src/simple-scan.vala
+++ b/src/simple-scan.vala
@@ -14,7 +14,7 @@ public class SimpleScan : Gtk.Application
static bool show_version;
static bool debug_enabled;
static string? fix_pdf_filename = null;
- public const OptionEntry[] options =
+ const OptionEntry[] options =
{
{ "version", 'v', 0, OptionArg.NONE, ref show_version,
/* Help string for command line --version flag */
--
GitLab

@ -8,6 +8,8 @@ Summary: Simple scanning utility
License: GPLv3+ License: GPLv3+
URL: https://launchpad.net/%{name} URL: https://launchpad.net/%{name}
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=2047014
Patch0: simple-scan-40.7-vala-accessibility.patch
BuildRequires: meson BuildRequires: meson
BuildRequires: sane-backends-devel BuildRequires: sane-backends-devel
@ -57,7 +59,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml
%changelog %changelog
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 40.7-2 * Thu Jan 27 2022 David King <amigadave@amigadave.com> - 40.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Dec 23 2021 David King <amigadave@amigadave.com> - 40.7-1 * Thu Dec 23 2021 David King <amigadave@amigadave.com> - 40.7-1

Loading…
Cancel
Save