fixed desktop file for kde
authorSebastien Fabbro <bicatali@gentoo.org>
Thu, 8 Mar 2007 09:45:18 +0000 (09:45 +0000)
committerSebastien Fabbro <bicatali@gentoo.org>
Thu, 8 Mar 2007 09:45:18 +0000 (09:45 +0000)
Package-Manager: portage-2.1.2-r9

sci-astronomy/celestia/ChangeLog
sci-astronomy/celestia/celestia-1.4.1-r2.ebuild
sci-astronomy/celestia/files/celestia-1.4.1-kde-desktop.patch [new file with mode: 0644]

index cc560f7eeda81845005d7ad43fae357bf7f8d77c..8629951b4d38b1073a8df44a430beed6ca97915b 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sci-astronomy/celestia
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.28 2007/02/12 22:44:20 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/ChangeLog,v 1.29 2007/03/08 09:45:18 bicatali Exp $
+
+  08 Mar 2007; Sébastien Fabbro <bicatali@gentoo.org>
+  +files/celestia-1.4.1-kde-desktop.patch, celestia-1.4.1-r2.ebuild:
+  fixed desktop file for kde.
 
 *celestia-1.4.1-r2 (12 Feb 2007)
 
index 9f8b21bc29ec2ad1755662ad7b8ebe40483ac3c2..e406ac45882fcd592e4d45743352fe61b2213de3 100644 (file)
@@ -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/sci-astronomy/celestia/celestia-1.4.1-r2.ebuild,v 1.1 2007/02/12 22:44:20 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/celestia/celestia-1.4.1-r2.ebuild,v 1.2 2007/03/08 09:45:18 bicatali Exp $
 
 WANT_AUTOMAKE="1.9"
 
@@ -76,6 +76,9 @@ src_unpack() {
        # fix kde datadir in makefile.am and .desktop location
        epatch "${FILESDIR}/${P}-kde-datadir.patch"
 
+       # add a desktop file that doesn't end up in lost+found
+       epatch "${FILESDIR}/${P}-kde-desktop.patch"
+
        # add a ~/.celestia for extra directories
        epatch "${FILESDIR}/${P}-cfg.patch"
 
diff --git a/sci-astronomy/celestia/files/celestia-1.4.1-kde-desktop.patch b/sci-astronomy/celestia/files/celestia-1.4.1-kde-desktop.patch
new file mode 100644 (file)
index 0000000..59fb104
--- /dev/null
@@ -0,0 +1,14 @@
+--- src/celestia/kde/data/celestia.desktop.orig        2007-03-07 19:34:36.000000000 +0000
++++ src/celestia/kde/data/celestia.desktop     2007-03-07 19:46:41.000000000 +0000
+@@ -1,8 +1,10 @@
+ [Desktop Entry]
++Encoding=UTF-8
+ Name=Celestia
+-Comment=Celestia
++Comment=Space 3D Simulator
+ Exec=celestia %f
+ Terminal=false
+ Icon=celestia.png
+ MimeType=application/x-celestia-script
+ Type=Application
++Categories=Qt;KDE;Science;