summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-04-21 21:15:02 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-04-21 21:15:02 +0000
commitd04ff3281eb2ed9bd7d8e25300a588e44d0f451e (patch)
treefd25ec0cd0370f1d463ed07cd3ff043fd3483a56 /kde-misc
parent2.1.5_rc6 bump. The metadata-transfer feature is now disabled by default. (diff)
downloadgentoo-2-d04ff3281eb2ed9bd7d8e25300a588e44d0f451e.tar.gz
gentoo-2-d04ff3281eb2ed9bd7d8e25300a588e44d0f451e.tar.bz2
gentoo-2-d04ff3281eb2ed9bd7d8e25300a588e44d0f451e.zip
Added a patch for gcc 4.3 compatibility as kindly provided by Marek Vavrusa on bug 217553. Minor QA fixes.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kdissert/ChangeLog9
-rw-r--r--kde-misc/kdissert/kdissert-1.0.7.ebuild21
2 files changed, 23 insertions, 7 deletions
diff --git a/kde-misc/kdissert/ChangeLog b/kde-misc/kdissert/ChangeLog
index 9123fed2db17..ea39713ccfb9 100644
--- a/kde-misc/kdissert/ChangeLog
+++ b/kde-misc/kdissert/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/kdissert
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdissert/ChangeLog,v 1.38 2007/07/27 19:10:46 carlo Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdissert/ChangeLog,v 1.39 2008/04/21 21:15:02 philantrop Exp $
+
+ 21 Apr 2008; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/kdissert-1.0.7-gcc43.patch, kdissert-1.0.7.ebuild:
+ Added a patch for gcc 4.3 compatibility as kindly provided by Marek
+ Vavrusa on bug 217553. Minor QA fixes.
27 Jul 2007; Carsten Lohrke <carlo@gentoo.org>
-files/kdissert-1.0.5-bksys.diff, -files/kde.py-bksys-1.5.1.diff,
diff --git a/kde-misc/kdissert/kdissert-1.0.7.ebuild b/kde-misc/kdissert/kdissert-1.0.7.ebuild
index fe85c13f9ab2..a2ca10b746a0 100644
--- a/kde-misc/kdissert/kdissert-1.0.7.ebuild
+++ b/kde-misc/kdissert/kdissert-1.0.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdissert/kdissert-1.0.7.ebuild,v 1.6 2007/04/24 08:13:09 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdissert/kdissert-1.0.7.ebuild,v 1.7 2008/04/21 21:15:02 philantrop Exp $
inherit kde
@@ -19,9 +19,20 @@ need-kde 3.5
#LANGS="bg br cs da de el es fr ga gl it ka nl pl pt_BR pt ru sv tr"
+src_unpack() {
+ kde_src_unpack
+
+ # Fixes bug 217553.
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
+ # Fix the desktop file.
+ sed -i -e "s:\(MimeType=.*\):\1;:" "${S}"/src/appdata/kdissert.desktop
+ sed -i -e "/Categories/s:QT:Qt:" "${S}"/src/appdata/kdissert.desktop
+}
+
src_compile() {
- [ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings"
- addpredict "$QTDIR/etc/settings"
+ [[ -d ${QTDIR}/etc/settings ]] && addwrite "${QTDIR}/etc/settings"
+ addpredict "${QTDIR}/etc/settings"
local myconf="--kdeincludes=$(kde-config --prefix)/include --prefix=/usr "
use amd64 && myconf="${myconf} --libsuffix=64"
@@ -32,5 +43,5 @@ src_compile() {
src_install() {
./waf --destdir="${D}" install
- dodoc AUTHORS COPYING INSTALL README ROADMAP
+ dodoc AUTHORS INSTALL README ROADMAP || die "installing docs failed"
}