summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-29 06:20:47 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-29 06:20:47 +0000
commit8658383b3f17f18fe602678c34c883c7d7e30cf0 (patch)
treee117525afd01b68eb6ea728109c278ec41e5dc86 /app-crypt/gpa
parentReplace po/Makefile.in.in with a system copy wrt #336119 by Barrie Backhurst. (diff)
downloadgentoo-2-8658383b3f17f18fe602678c34c883c7d7e30cf0.tar.gz
gentoo-2-8658383b3f17f18fe602678c34c883c7d7e30cf0.tar.bz2
gentoo-2-8658383b3f17f18fe602678c34c883c7d7e30cf0.zip
Replace po/Makefile.in.in with a system copy wrt #323743 by Lars Wendler. Validate .desktop entry with desktop-file-utils 0.17.
(Portage version: 2.2_rc87/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/gpa')
-rw-r--r--app-crypt/gpa/ChangeLog7
-rw-r--r--app-crypt/gpa/files/gpa-desktop-file-validate.patch15
-rw-r--r--app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild9
3 files changed, 28 insertions, 3 deletions
diff --git a/app-crypt/gpa/ChangeLog b/app-crypt/gpa/ChangeLog
index 58ce2adc7be1..168a4ea484d1 100644
--- a/app-crypt/gpa/ChangeLog
+++ b/app-crypt/gpa/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-crypt/gpa
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/ChangeLog,v 1.75 2010/09/13 15:19:54 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/ChangeLog,v 1.76 2010/09/29 06:20:47 ssuominen Exp $
+
+ 29 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+ gpa-0.9.1_pre20100416.ebuild, +files/gpa-desktop-file-validate.patch:
+ Replace po/Makefile.in.in with a system copy wrt #323743 by Lars Wendler.
+ Validate .desktop entry with desktop-file-utils 0.17.
13 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-gpa-0.9.0.ebuild:
diff --git a/app-crypt/gpa/files/gpa-desktop-file-validate.patch b/app-crypt/gpa/files/gpa-desktop-file-validate.patch
new file mode 100644
index 000000000000..d33763c641fc
--- /dev/null
+++ b/app-crypt/gpa/files/gpa-desktop-file-validate.patch
@@ -0,0 +1,15 @@
+Validate .desktop entry with desktop-file-utils 0.17.
+
+--- gpa.desktop
++++ gpa.desktop
+@@ -6,8 +6,7 @@
+ GenericName[sv]=GNU Integritets-hjälpreda
+ GenericName[en_US.ISO8859-1]=GNU Privacy Assistant
+ Exec=gpa
+-Icon=gpa.png
++Icon=gpa
+ Terminal=false
+-Encoding=UTF-8
+ Type=Application
+-Categories=GTK;Application;Security;Utility;
++Categories=GTK;Utility;System;Security;
diff --git a/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild b/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild
index 9efbd363169a..8631b6b4241d 100644
--- a/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild
+++ b/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild,v 1.6 2010/08/30 14:03:19 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild,v 1.7 2010/09/29 06:20:47 ssuominen Exp $
EAPI="3"
@@ -27,7 +27,12 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
- sed -e "s|gnupg/:|:|g" -i configure.ac || die "sed failed"
+ epatch "${FILESDIR}"/${PN}-desktop-file-validate.patch
+
+ local x=/usr/share/gettext/po/Makefile.in.in
+ [[ -e $x ]] && cp -f $x po/ #323743
+
+ sed -e "s|gnupg/:|:|g" -i configure.ac || die
eautoreconf
}