# 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)
# 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"
# 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"
--- /dev/null
+--- 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;