summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2006-10-24 04:25:37 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2006-10-24 04:25:37 +0000
commit2c9effa1f40d9f5d72da11a4dbcb7ae224eae798 (patch)
treeeda25b305c533f3d2968c3fa8b76634c5f59dfd5
parent63ca78e5a4ae321b9e2ce6693be1da7092f2a2e3 (diff)
downloadgnome-applets-2c9effa1f40d9f5d72da11a4dbcb7ae224eae798.tar.gz
gnome-applets-2c9effa1f40d9f5d72da11a4dbcb7ae224eae798.tar.xz
gnome-applets-2c9effa1f40d9f5d72da11a4dbcb7ae224eae798.zip
fix desktop files to be validgnome-applets-2_16_1-2_fc7
-rw-r--r--gnome-applets-2.16.1-desktop-files.patch23
-rw-r--r--gnome-applets.spec5
2 files changed, 25 insertions, 3 deletions
diff --git a/gnome-applets-2.16.1-desktop-files.patch b/gnome-applets-2.16.1-desktop-files.patch
new file mode 100644
index 0000000..97bfd1f
--- /dev/null
+++ b/gnome-applets-2.16.1-desktop-files.patch
@@ -0,0 +1,23 @@
+--- gnome-applets-2.16.1/invest-applet/data/invest-chart.desktop.in.desktop-files 2006-10-24 00:25:14.000000000 -0400
++++ gnome-applets-2.16.1/invest-applet/data/invest-chart.desktop.in 2006-10-24 00:26:59.000000000 -0400
+@@ -7,4 +7,5 @@
+ Type=Application
+ Icon=invest-big.png
+ StartupNotify=true
+-Categories=Application;Office;Spreadsheet;
++Categories=Office;Spreadsheet;
++NoDisplay=true
+--- gnome-applets-2.16.1/libgswitchit/gswitchit-plugins.desktop.in.in.desktop-files 2006-10-24 00:22:34.000000000 -0400
++++ gnome-applets-2.16.1/libgswitchit/gswitchit-plugins.desktop.in.in 2006-10-24 00:23:59.000000000 -0400
+@@ -7,9 +7,10 @@
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-Categories=Application;System;Settings;AdvancedSettings;
++Categories=System;Settings;
+ OnlyShowIn=GNOME;
+ X-GNOME-Bugzilla-Bugzilla=GNOME
+ X-GNOME-Bugzilla-Product=gnome-applets
+ X-GNOME-Bugzilla-Component=keyboard indicator (gswitchit)
+ X-GNOME-Bugzilla-Version=@VERSION@
++NoDisplay=true
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 802a4b4..4ace576 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -60,6 +60,7 @@ Patch20: keyboard-drawing-redraw.patch
Patch25: gnome-applets-2.16.0.1-keyboard-indicator-segfault.patch
Patch26: gnome-applets-2.16.0.1-cpufreq-changes.patch
+Patch27: gnome-applets-2.16.1-desktop-files.patch
URL: http://www.gnome.org/
@@ -152,6 +153,7 @@ small utilities for the GNOME panel.
%patch25 -p1 -b .keyboard-indicator-segfault
%patch26 -p1 -b .cpufreq-changes
+%patch27 -p1 -b .desktop-files
cp gswitchit/gswitchit-applet.png gswitchit/gswitchit-properties-capplet.png
@@ -174,9 +176,6 @@ autoreconf
--enable-mini-commander
make
-echo "NoDisplay=true" >> libgswitchit/gswitchit-plugins.desktop
-echo "NoDisplay=true" >> invest-applet/data/invest-chart.desktop
-
%install
rm -rf $RPM_BUILD_ROOT