gpa.desktop missing in gpa 0.7.0

Ling Li ling at caltech.edu
Wed Nov 19 01:38:21 CET 2003


Hi,

I've successfully compiled gpa 0.7.0 with gpgme 0.4.3 & libgpg-error 0.6 
on a Fedora Core release 1 system. Thank you for your wonderful work!

Interestingly, though gpa.desktop has the V0-7-0 CVS tag, it is not 
included in the final tar ball 
(ftp://ftp.gnupg.org/gcrypt/alpha/gpa/gpa-0.7.0.tar.gz). One has to 
download it manually in order to make RPM according to the gpa.spec. I 
also need to modify the gpa.spec file a bit in order to add gpa into the 
desktop application menu (see 
http://freedesktop.org/Standards/menu-spec/0.8/ar01s03.html).

The minimal changes to the gpa.desktop and the gpa.spec is attached in 
the gpa-desktop.patch file. Please merge it if you think it is OK.

--Ling
-------------- next part --------------
? gap-desktop.patch
Index: gpa.desktop
===================================================================
RCS file: /cvs/gpa/gpa/gpa.desktop,v
retrieving revision 1.1
diff -u -r1.1 gpa.desktop
--- gpa.desktop	17 Apr 2002 10:46:19 -0000	1.1
+++ gpa.desktop	19 Nov 2003 09:27:00 -0000
@@ -1,9 +1,9 @@
-
 [Desktop Entry]
 Name=GNU Privacy Assistant
 Name[en_US.ISO8859-1]=GNU Privacy Assistant
-Exec=gpa 
-Icon=/usr/share/pixmaps/gpa-logo-48x48.png
+Exec=gpa
+Icon=gpa.png
 Terminal=false
 MultipleArgs=false
 Type=Application
+Categories=GTK;Application;Security;Utility;X-Red-Hat-Base;
Index: gpa.spec
===================================================================
RCS file: /cvs/gpa/gpa/gpa.spec,v
retrieving revision 1.2
diff -u -r1.2 gpa.spec
--- gpa.spec	17 Apr 2002 10:49:18 -0000	1.2
+++ gpa.spec	19 Nov 2003 09:27:00 -0000
@@ -28,11 +28,10 @@
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}
 install -D -m 644 gpa-logo-48x48.png \
-%{buildroot}%{_datadir}/pixmaps/gpa-logo-48x48.png
+	%{buildroot}%{_datadir}/pixmaps/gpa.png
 install -D -m 644 gpa.desktop \
-%{buildroot}%{_datadir}/gnome/apps/Applications/gpa.desktop
+	%{buildroot}%{_datadir}/applications/gpa.desktop
 %makeinstall
 
 %clean
@@ -46,7 +45,7 @@
 %{_datadir}/%{name}/*.*
 %config %{_datadir}/%{name}/gtkrc
 %{_datadir}/locale/*/*/gpa.mo
-%{_datadir}/gnome/apps/Applications/gpa.desktop
+%{_datadir}/applications/gpa.desktop
 %{_datadir}/pixmaps/gpa.png
 
 %changelog


More information about the Gpa-dev mailing list