!12 [sync] PR-11: Update to 41.0

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-10-19 09:33:19 +00:00 committed by Gitee
commit fc20455152
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 41 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,12 @@
Name: gnome-screenshot
Version: 3.38.0
Version: 41.0
Release: 1
Summary: A screenshot utility for GNOME
License: GPLv2+
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-screenshot/3.38/gnome-screenshot-%{version}.tar.xz
Source0: http://download.gnome.org/sources/gnome-screenshot/41/gnome-screenshot-%{version}.tar.xz
#https://github.com/GNOME/gnome-screenshot/commit/b60dad3c2536c17bd201f74ad8e40eb74385ed9f
Patch0: remove-extraneous-positional-argument.patch
BuildRequires: gettext itstool libappstream-glib-devel meson pkgconfig(glib-2.0) pkgconfig(xext)
BuildRequires: pkgconfig(gtk+-3.0) pkgconfig(libcanberra-gtk3) pkgconfig(x11) %{_bindir}/desktop-file-validate
@ -22,7 +24,7 @@ Summary: man manual for gnome-screenshot
The help for gnome-screenshot to use.
%prep
%autosetup -p1
%autosetup -n %{name}-%{version} -p1
%build
%meson
@ -51,6 +53,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Screenshot.
%{_mandir}/man1/gnome-screenshot.1*
%changelog
* Mon Jun 20 2022 yaoxin <yaoxin30@h-partners.com> - 41.0-1
- Update to 41.0
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
- Upgrade to 3.38.0

View File

@ -0,0 +1,33 @@
From b60dad3c2536c17bd201f74ad8e40eb74385ed9f Mon Sep 17 00:00:00 2001
From: Jack Hill <jackhill@jackhill.us>
Date: Thu, 18 Nov 2021 00:46:58 -0500
Subject: [PATCH] meson: remove extraneous positional argument
* data/meson.build (desktop_file)
(metainfo_file): Remove extraneous positional argument.
Closes #186
---
data/meson.build | 2 --
1 file changed, 2 deletions(-)
diff --git a/data/meson.build b/data/meson.build
index fd570b3..4e2e2e8 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,7 +1,6 @@
gnome = import('gnome')
desktop_file = i18n.merge_file(
- 'desktop',
type: 'desktop',
input: 'org.gnome.Screenshot.desktop.in',
output: 'org.gnome.Screenshot.desktop',
@@ -23,7 +22,6 @@ if desktop_file_validate.found()
endif
metainfo_file = i18n.merge_file(
- 'appdata',
input: 'org.gnome.Screenshot.metainfo.xml.in',
output: 'org.gnome.Screenshot.metainfo.xml',
po_dir: join_paths(meson.current_source_dir(), '../po'),