Fix gnome-calculator to show up in the menus again
This commit is contained in:
parent
9869e09966
commit
b3364d584a
45
gnome-menus-3.8.0-calculator.patch
Normal file
45
gnome-menus-3.8.0-calculator.patch
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
From 599c7b05c432b1571a7105f1ebf6bbe30c36dbdf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kalev Lember <kalevlember@gmail.com>
|
||||||
|
Date: Thu, 28 Mar 2013 22:54:34 +0100
|
||||||
|
Subject: [PATCH] Adapt for gnome-calculator -> gcalctool desktop file rename
|
||||||
|
|
||||||
|
gnome-calculator.desktop was renamed back to gcalctool.desktop, at the
|
||||||
|
very last minute before the 3.8.0 release.
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=696816
|
||||||
|
---
|
||||||
|
layout/gnome-applications.menu | 4 +---
|
||||||
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/layout/gnome-applications.menu b/layout/gnome-applications.menu
|
||||||
|
index 84d13ed..503f9ca 100644
|
||||||
|
--- a/layout/gnome-applications.menu
|
||||||
|
+++ b/layout/gnome-applications.menu
|
||||||
|
@@ -38,7 +38,6 @@
|
||||||
|
<Not><Filename>file-roller.desktop</Filename></Not>
|
||||||
|
<Not><Filename>gnome-file-roller.desktop</Filename></Not>
|
||||||
|
<Not><Filename>deja-dup-preferences.desktop</Filename></Not>
|
||||||
|
- <Not><Filename>gnome-calculator.desktop</Filename></Not>
|
||||||
|
<Not><Filename>gcalctool.desktop</Filename></Not>
|
||||||
|
<Not><Filename>gucharmap.desktop</Filename></Not>
|
||||||
|
<Not><Filename>gnome-gucharmap.desktop</Filename></Not>
|
||||||
|
@@ -251,7 +250,7 @@
|
||||||
|
<Directory>X-GNOME-Utilities.directory</Directory>
|
||||||
|
<Include>
|
||||||
|
<Filename>file-roller.desktop</Filename>
|
||||||
|
- <Filename>gnome-calculator.desktop</Filename>
|
||||||
|
+ <Filename>gcalctool.desktop</Filename>
|
||||||
|
<Filename>gnome-font-viewer.desktop</Filename>
|
||||||
|
<Filename>gucharmap.desktop</Filename>
|
||||||
|
<Filename>seahorse.desktop</Filename>
|
||||||
|
@@ -287,7 +286,6 @@
|
||||||
|
<Not><Filename>gnome-eog.desktop</Filename></Not>
|
||||||
|
<Not><Filename>gnome-file-roller.desktop</Filename></Not>
|
||||||
|
<Not><Filename>gnome-gucharmap.desktop</Filename></Not>
|
||||||
|
- <Not><Filename>gcalctool.desktop</Filename></Not>
|
||||||
|
</And>
|
||||||
|
</Include>
|
||||||
|
</Menu> <!-- End Other -->
|
||||||
|
--
|
||||||
|
1.8.2
|
||||||
|
|
@ -3,13 +3,15 @@
|
|||||||
Summary: A menu system for the GNOME project
|
Summary: A menu system for the GNOME project
|
||||||
Name: gnome-menus
|
Name: gnome-menus
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
|
|
||||||
#VCS: git:git://git.gnome.org/gnome-menus
|
#VCS: git:git://git.gnome.org/gnome-menus
|
||||||
Source0: http://download.gnome.org/sources/gnome-menus/3.8/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/gnome-menus/3.8/%{name}-%{version}.tar.xz
|
||||||
|
# https://bugzilla.gnome.org/show_bug.cgi?id=696816
|
||||||
|
Patch0: gnome-menus-3.8.0-calculator.patch
|
||||||
Requires: redhat-menus
|
Requires: redhat-menus
|
||||||
BuildRequires: gamin-devel
|
BuildRequires: gamin-devel
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
@ -38,6 +40,7 @@ writing applications that use the GNOME menu system.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .calculator
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
@ -75,6 +78,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_datadir}/gir-1.0/GMenu-3.0.gir
|
%{_datadir}/gir-1.0/GMenu-3.0.gir
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 30 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-2
|
||||||
|
- Fix gnome-calculator to show up in the menus again
|
||||||
|
|
||||||
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
|
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
|
||||||
- Update to 3.8.0
|
- Update to 3.8.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user