summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-11-25 19:11:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-11-25 19:11:43 +0000
commit38ee64c34b19041496cbec91db604829be52712b (patch)
tree147da21481c82550da2441ef02ec5ef84b3015a8 /app-editors
parentVersion Bump, #346789 (diff)
downloadgentoo-2-38ee64c34b19041496cbec91db604829be52712b.tar.gz
gentoo-2-38ee64c34b19041496cbec91db604829be52712b.tar.bz2
gentoo-2-38ee64c34b19041496cbec91db604829be52712b.zip
Remove -Werror from configure wrt #346771 by David Abbott. Validate desktop entry.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/mousepad/ChangeLog7
-rw-r--r--app-editors/mousepad/mousepad-0.2.16-r1.ebuild24
2 files changed, 24 insertions, 7 deletions
diff --git a/app-editors/mousepad/ChangeLog b/app-editors/mousepad/ChangeLog
index 0c7a84e03ac6..70e7e57abbba 100644
--- a/app-editors/mousepad/ChangeLog
+++ b/app-editors/mousepad/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/mousepad
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mousepad/ChangeLog,v 1.25 2010/07/04 09:19:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mousepad/ChangeLog,v 1.26 2010/11/25 19:11:43 ssuominen Exp $
+
+ 25 Nov 2010; Samuli Suominen <ssuominen@gentoo.org>
+ mousepad-0.2.16-r1.ebuild:
+ Remove -Werror from configure wrt #346771 by David Abbott. Validate desktop
+ entry.
04 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
mousepad-0.2.16-r1.ebuild:
diff --git a/app-editors/mousepad/mousepad-0.2.16-r1.ebuild b/app-editors/mousepad/mousepad-0.2.16-r1.ebuild
index 9121145567fe..0cb6b24af61e 100644
--- a/app-editors/mousepad/mousepad-0.2.16-r1.ebuild
+++ b/app-editors/mousepad/mousepad-0.2.16-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mousepad/mousepad-0.2.16-r1.ebuild,v 1.6 2010/07/04 09:19:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mousepad/mousepad-0.2.16-r1.ebuild,v 1.7 2010/11/25 19:11:43 ssuominen Exp $
-EAPI=2
+EAPI=3
inherit xfconf
DESCRIPTION="A simple text editor for Xfce"
@@ -21,9 +21,21 @@ DEPEND="${RDEPEND}
dev-util/intltool"
pkg_setup() {
+ PATCHES=(
+ "${FILESDIR}"/${P}-resensitize-find-button.patch
+ "${FILESDIR}"/${P}-fix-first-replace.patch
+ )
+
+ XFCONF=(
+ --disable-dependency-tracking
+ $(xfconf_use_debug)
+ )
+
DOCS="AUTHORS ChangeLog NEWS README TODO"
- XFCONF="--disable-dependency-tracking
- $(use_enable debug)"
- PATCHES=( "${FILESDIR}/${P}-resensitize-find-button.patch"
- "${FILESDIR}/${P}-fix-first-replace.patch" )
+}
+
+src_prepare() {
+ sed -i -e 's:-Werror::' configure || die #346771
+ sed -i -e '/MimeType/s:plain:&;:' mousepad.desktop.in
+ xfconf_src_prepare
}