summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2008-06-29 16:07:32 +0000
committerCarsten Lohrke <carlo@gentoo.org>2008-06-29 16:07:32 +0000
commit269db4ad31d748df784b848ea3cb9dbaeba42462 (patch)
tree1299dcbb63b395ed0e3328b3161cf56ca3053813 /app-text/knowit
parent Merge i18n stuff, get rid of arts use flag, fix desktop entry properly. (diff)
downloadgentoo-2-269db4ad31d748df784b848ea3cb9dbaeba42462.tar.gz
gentoo-2-269db4ad31d748df784b848ea3cb9dbaeba42462.tar.bz2
gentoo-2-269db4ad31d748df784b848ea3cb9dbaeba42462.zip
Fix desktop entry, get rid of arts use flag.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/knowit')
-rw-r--r--app-text/knowit/ChangeLog6
-rw-r--r--app-text/knowit/files/knowit-0.10-desktop-file-entry.diff32
-rw-r--r--app-text/knowit/knowit-0.10.ebuild14
3 files changed, 47 insertions, 5 deletions
diff --git a/app-text/knowit/ChangeLog b/app-text/knowit/ChangeLog
index a479414261ae..b24511c06d47 100644
--- a/app-text/knowit/ChangeLog
+++ b/app-text/knowit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/knowit
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/knowit/ChangeLog,v 1.18 2008/06/08 09:48:31 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/knowit/ChangeLog,v 1.19 2008/06/29 16:07:31 carlo Exp $
+
+ 29 Jun 2008; Carsten Lohrke <carlo@gentoo.org>
+ +files/knowit-0.10-desktop-file-entry.diff, knowit-0.10.ebuild:
+ Fix desktop entry, get rid of arts use flag.
08 Jun 2008; Friedrich Oslage <bluebird@gentoo.org> knowit-0.10.ebuild:
stable on sparc, thanks to Tiago Cunha for testing in bug #225267
diff --git a/app-text/knowit/files/knowit-0.10-desktop-file-entry.diff b/app-text/knowit/files/knowit-0.10-desktop-file-entry.diff
new file mode 100644
index 000000000000..a75cc9bdc056
--- /dev/null
+++ b/app-text/knowit/files/knowit-0.10-desktop-file-entry.diff
@@ -0,0 +1,32 @@
+--- src/Makefile.am.orig 2008-06-29 04:01:36.000000000 +0200
++++ src/Makefile.am 2008-06-29 04:02:19.000000000 +0200
+@@ -25,7 +25,7 @@
+ knowit_LDADD = $(LIB_KDEPRINT) $(LIB_KDEUI)
+
+ # this is where the desktop file will go
+-shelldesktopdir = $(kde_appsdir)/Applications
++shelldesktopdir = $(xdg_appsdir)
+ shelldesktop_DATA = knowit.desktop
+
+ # this is where the shell's XML-GUI resource file goes
+--- src/knowit.desktop.orig 2008-06-29 04:00:28.000000000 +0200
++++ src/knowit.desktop 2008-06-29 04:01:17.000000000 +0200
+@@ -1,13 +1,11 @@
+-# KDE Config File
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=Application
+-Exec=knowit -caption "%c" %i %m
+-MimeType=application/x-knowit
+-Icon=knowit.png
+-DocPath=knowit/index.html
++Exec=knowit -caption "%c" %i
++MimeType=application/x-knowit;
++Icon=knowit
++X-DocPath=knowit/index.html
+ Comment=
+ Comment[de]=
+-Terminal=0
++Terminal=false
+ Name=KnowIt
+ Name[de]=KnowIt
diff --git a/app-text/knowit/knowit-0.10.ebuild b/app-text/knowit/knowit-0.10.ebuild
index aa5dbdb8d753..89fb8d56b2bd 100644
--- a/app-text/knowit/knowit-0.10.ebuild
+++ b/app-text/knowit/knowit-0.10.ebuild
@@ -1,16 +1,22 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/knowit/knowit-0.10.ebuild,v 1.11 2008/06/08 09:48:31 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/knowit/knowit-0.10.ebuild,v 1.12 2008/06/29 16:07:31 carlo Exp $
+
+ARTS_REQUIRED="never"
inherit kde
-need-kde 3
DESCRIPTION="KnowIt is a simple tool for managing notes - similar to TuxCards but KDE based."
-SRC_URI="http://knowit.sourceforge.net/files/${P}.tar.bz2"
+SRC_URI="http://knowit.sourceforge.net/files/${P}.tar.bz2
+ mirror://gentoo/kde-admindir-3.5.5.tar.bz2"
HOMEPAGE="http://knowit.sourceforge.net"
LICENSE="GPL-2"
-KEYWORDS="amd64 ppc sparc x86"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
SLOT="0"
+
+need-kde 3.5
+
+PATCHES=( "${FILESDIR}/knowit-0.10-desktop-file-entry.diff" )