summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-11-12 01:49:12 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-11-12 01:49:12 +0000
commit34686950c8b3f62a161ebe763f69a371de2cca2a (patch)
tree6870c1109d5e6f9dea355429a3a1a443a0b7e4af /app-office/krita
parentgnome-extra/avant-window-navigator needs masked dev-python/gnome-python-desktop (diff)
downloadgentoo-2-34686950c8b3f62a161ebe763f69a371de2cca2a.tar.gz
gentoo-2-34686950c8b3f62a161ebe763f69a371de2cca2a.tar.bz2
gentoo-2-34686950c8b3f62a161ebe763f69a371de2cca2a.zip
Added a minor fix for the desktop file as per bug 190006. Thanks to gentoofan23 for providing the patch!
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-office/krita')
-rw-r--r--app-office/krita/ChangeLog7
-rw-r--r--app-office/krita/krita-1.6.3.ebuild12
-rw-r--r--app-office/krita/metadata.xml2
3 files changed, 15 insertions, 6 deletions
diff --git a/app-office/krita/ChangeLog b/app-office/krita/ChangeLog
index 1af333e664ef..8ddd6e442ded 100644
--- a/app-office/krita/ChangeLog
+++ b/app-office/krita/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/krita
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/krita/ChangeLog,v 1.82 2007/07/26 17:34:21 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/krita/ChangeLog,v 1.83 2007/11/12 01:49:12 philantrop Exp $
+
+ 12 Nov 2007; Wulf C. Krueger <philantrop@gentoo.org> metadata.xml,
+ krita-1.6.3.ebuild:
+ Added a minor fix for the desktop file as per bug 190006. Thanks to
+ gentoofan23 for providing the patch!
26 Jul 2007; Markus Rothe <corsair@gentoo.org> krita-1.6.3.ebuild:
Stable on ppc64; bug #178697
diff --git a/app-office/krita/krita-1.6.3.ebuild b/app-office/krita/krita-1.6.3.ebuild
index a935869dfb28..e8177d945d97 100644
--- a/app-office/krita/krita-1.6.3.ebuild
+++ b/app-office/krita/krita-1.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/krita/krita-1.6.3.ebuild,v 1.8 2007/07/26 17:34:21 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/krita/krita-1.6.3.ebuild,v 1.9 2007/11/12 01:49:12 philantrop Exp $
MAXKOFFICEVER=${PV}
KMNAME=koffice
@@ -58,14 +58,18 @@ pkg_setup() {
src_unpack() {
kde-meta_src_unpack
# FIXME - disable broken tests for now
- sed -i -e "s:TESTSDIR =.*:TESTSDIR=:" ${S}/krita/core/Makefile.am \
- `ls ${S}/krita/colorspaces/*/Makefile.am`
+ sed -i -e "s:TESTSDIR =.*:TESTSDIR=:" "${S}"/krita/core/Makefile.am \
+ $(ls "${S}"/krita/colorspaces/*/Makefile.am)
+
+ # Fixing the desktop file, cf. bug 190006.
+ sed -i -e "/^R/{ /[^Y]$/{ s/$/Y/g; } }" "${S}"/krita/krita.desktop
+ sed -i -e "/^MimeType/{ /[^;]$/{ s/$/;/ } }" "${S}"/krita/krita.desktop
}
src_compile() {
# local myconf="$(use_with opengl gl)"
- for i in $(find ${S}/lib -iname "*\.ui"); do
+ for i in $(find "${S}"/lib -iname "*\.ui"); do
${QTDIR}/bin/uic ${i} > ${i%.ui}.h
done
diff --git a/app-office/krita/metadata.xml b/app-office/krita/metadata.xml
index 3399d0876645..8d1e86a9cefb 100644
--- a/app-office/krita/metadata.xml
+++ b/app-office/krita/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>kde</herd>
+<herd>kde</herd>
</pkgmetadata>