Compare commits

...

No commits in common. 'c9' and 'i9' have entirely different histories.
c9 ... i9

@ -0,0 +1,38 @@
From db3b3ed7519b76b8efd3abac990d4d5f80990af0 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere.ru>
Date: Thu, 10 Aug 2023 17:46:44 +0300
Subject: [PATCH] Added Russian description for ArcMenu and gnome-software
---
src/xsane.desktop | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/xsane.desktop b/src/xsane.desktop
index d5161e5..7e17584 100644
--- a/src/xsane.desktop
+++ b/src/xsane.desktop
@@ -1,9 +1,18 @@
[Desktop Entry]
-Encoding=UTF-8
-Name=XSane - Scanning
+Version=1.0
+Name=XSane
+Name[ru]=Сканирование XSane
+GenericName=Scanner Tool
+GenericName[ru]=Инструмент для сканирования
+X-GNOME-FullName=XSane (Scanner Tool)
+X-GNOME-FullName[ru]=XSane (инструмент для сканирования)
Comment=Acquire images from a scanner
+Comment[ru]=Получение изображений со сканера
Exec=xsane
+TryExec=xsane
Icon=xsane
Terminal=false
Type=Application
-Categories=Application;Graphics
+Categories=Graphics;2DGraphics;RasterGraphics;Scanning;GTK;
+StartupNotify=true
+X-Desktop-File-Install-Version=0.26
--
2.39.2

@ -1,53 +0,0 @@
From e3f3e266249f77ff655299daeab3128347d6cb17 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@redhat.com>
Date: Wed, 30 Jan 2013 15:59:40 +0100
Subject: [PATCH] patch: desktop-file
Squashed commit of the following:
commit e472b870c4490f41b9257c835d4c8c72a575e9e9
Author: Nils Philippsen <nils@redhat.com>
Date: Wed Jan 30 15:57:57 2013 +0100
desktop file: use Name, GenericName, X-GNOME-FullName
commit 9f7f6a039193f91473ded79780bd72e29d7b94fb
Author: Nils Philippsen <nils@redhat.com>
Date: Wed Jan 30 15:57:14 2013 +0100
desktop file: remove obsolete encoding key
commit 79a444793a60bd729c72283ad1920f0ce9c65dc2
Author: Nils Philippsen <nils@redhat.com>
Date: Fri Nov 19 12:41:23 2010 +0100
customize desktop file
---
src/xsane.desktop | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/xsane.desktop b/src/xsane.desktop
index d5161e5..a2a4a61 100644
--- a/src/xsane.desktop
+++ b/src/xsane.desktop
@@ -1,9 +1,14 @@
[Desktop Entry]
-Encoding=UTF-8
-Name=XSane - Scanning
+Version=1.0
+#Name=XSane - Scanning
+Name=XSane
+GenericName=Scanner Tool
+X-GNOME-FullName=XSane (Scanner Tool)
Comment=Acquire images from a scanner
Exec=xsane
+TryExec=xsane
Icon=xsane
Terminal=false
Type=Application
-Categories=Application;Graphics
+Categories=Graphics;2DGraphics;RasterGraphics;Scanning;GTK;
+StartupNotify=true
--
1.8.1

@ -10,7 +10,7 @@
Name: xsane
Summary: X Window System front-end for the SANE scanner interface
Version: 0.999
Release: 42%{?dist}
Release: 42%{?dist}.inferit
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
Source1: xsane-256x256.png
# use "xdg-open" instead of "netscape" to launch help browser
@ -46,7 +46,7 @@ Patch7: xsane-0.998-libpng.patch
Patch8: xsane-0.998-wmclass.patch
# partly distro-specific: customize desktop file
# submitted to upstream (Oliver Rauch) via email, 2013-06-04
Patch9: xsane-0.998-desktop-file.patch
#Patch9: xsane-0.998-desktop-file.patch
# man page: update command line options
# submitted to upstream (Oliver Rauch) via email, 2013-07-08
Patch10: xsane-0.999-man-page.patch
@ -72,6 +72,8 @@ Patch100: xsane-0.999-7-autoconf.patch.bz2
License: GPLv2+ and LGPLv2+
URL: http://www.xsane.org/
Patch1000: 0001-Added-Russian-description-for-ArcMenu-and-gnome-soft.patch
# gcc is no longer in buildroot by default
BuildRequires: gcc
# uses make
@ -133,7 +135,6 @@ done
%patch6 -p1 -b .preview-selection.patch
%patch7 -p1 -b .libpng
%patch8 -p1 -b .wmclass
%patch9 -p1 -b .desktop-file
%patch10 -p1 -b .man-page
%patch11 -p1 -b .pdf-no-high-bpp
%patch12 -p1 -b .lcms2
@ -143,6 +144,8 @@ done
%patch100 -p1 -b .autoconf
%patch1000 -p1
# in-root config.h breaks off-root building
rm include/config.h
@ -211,6 +214,7 @@ SentUpstream: 2014-09-17
<id type="desktop">xsane.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<summary>Scan images with a scanner</summary>
<summary xml:lang="ru">Сканирование изображения с помощью сканера</summary>
<description>
<p>
XSane is an application to scan images using a hardware scanner attached
@ -220,6 +224,14 @@ SentUpstream: 2014-09-17
XSane also has support for scanning multiple pages and merging them into
a single document.
</p>
<p xml:lang="ru">
XSane - это приложение для сканирования изображений с помощью подключенного аппаратного сканера
на ваш компьютер.
Он способен сохранять изображения в различных форматах, включая TIFF и JPEG
и даже можете сохранить ваш скан в формате PDF.
XSane также поддерживает сканирование нескольких страниц и объединение их в
единый документ.
</p>
</description>
<url type="homepage">http://www.xsane.org/</url>
<screenshots>
@ -265,6 +277,13 @@ fi
%{_datadir}/sane/xsane
%changelog
* Thu Aug 10 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 0.999-42.inferit
- Added Russian description for gnome-software
- Rebuilt for MSVSphere 9.2
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.999-42
- Rebuilt for MSVSphere 9.1.
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.999-42
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
@ -763,7 +782,7 @@ fi
- 0.82.
- Some extra patches from Oliver Rauch.
- Require sane not sane-backends since it's available throughout 7.x.
- Built for Red Hat Linux 7.1, 7.2.
- Built for MSVSphere 7.1, 7.2.
* Tue Jul 24 2001 Tim Waugh <twaugh@redhat.com> 0.77-4
- Build requires libpng-devel, libjpeg-devel (#bug 49760).

Loading…
Cancel
Save