diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-08-03 07:46:49 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-08-03 07:46:49 +0000 |
commit | d75211902c2d1d047f9443a142431433d267e3a3 (patch) | |
tree | 487fc091c394ab19e0c36f651ba1e961889e6451 /sci-astronomy/stellarium | |
parent | Added ST9250315AS to hddgentoo.db. (diff) | |
download | gentoo-2-d75211902c2d1d047f9443a142431433d267e3a3.tar.gz gentoo-2-d75211902c2d1d047f9443a142431433d267e3a3.tar.bz2 gentoo-2-d75211902c2d1d047f9443a142431433d267e3a3.zip |
fix desktop file
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy/stellarium')
-rw-r--r-- | sci-astronomy/stellarium/ChangeLog | 6 | ||||
-rw-r--r-- | sci-astronomy/stellarium/files/stellarium-0.11.3-desktop.patch | 37 | ||||
-rw-r--r-- | sci-astronomy/stellarium/stellarium-0.11.3.ebuild | 4 |
3 files changed, 44 insertions, 3 deletions
diff --git a/sci-astronomy/stellarium/ChangeLog b/sci-astronomy/stellarium/ChangeLog index 60c58934836d..1f21363feb10 100644 --- a/sci-astronomy/stellarium/ChangeLog +++ b/sci-astronomy/stellarium/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-astronomy/stellarium # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.98 2012/07/16 15:35:17 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.99 2012/08/03 07:46:49 mr_bones_ Exp $ + + 03 Aug 2012; Michael Sterrett <mr_bones_@gentoo.org> + +files/stellarium-0.11.3-desktop.patch, stellarium-0.11.3.ebuild: + fix desktop file 16 Jul 2012; Michael Sterrett <mr_bones_@gentoo.org> -stellarium-0.11.2-r1.ebuild: diff --git a/sci-astronomy/stellarium/files/stellarium-0.11.3-desktop.patch b/sci-astronomy/stellarium/files/stellarium-0.11.3-desktop.patch new file mode 100644 index 000000000000..e0504bfbd9ed --- /dev/null +++ b/sci-astronomy/stellarium/files/stellarium-0.11.3-desktop.patch @@ -0,0 +1,37 @@ +--- data/stellarium.desktop.orig 2012-05-18 08:19:20.000000000 -0400 ++++ data/stellarium.desktop 2012-08-03 03:34:27.064349264 -0400 +@@ -1,6 +1,5 @@ + [Desktop Entry] +-Encoding=UTF-8 +-Version=0.11.3 ++Version=1.0 + Type=Application + Name=Stellarium + GenericName=Desktop planetarium +@@ -14,22 +13,22 @@ + Comment[fr]=Planétarium + Comment[ru]=Планетарий + +-Actions=Window;Fullscreen;Safemode ++Actions=Window;Fullscreen;Safemode; + + [Desktop Action Window] + Name=Open in window + Name[ru]=Открыть в окне + Exec=stellarium -f no +-OnlyShowIn=Unity ++OnlyShowIn=Unity; + + [Desktop Action Fullscreen] + Name=Open in fullscreen + Name[ru]=Открыть в полноэкранном режиме + Exec=stellarium -f yes +-OnlyShowIn=Unity ++OnlyShowIn=Unity; + + [Desktop Action Safemode] + Name=Open in safe mode + Name[ru]=Открыть в безопасном режиме + Exec=stellarium --safe-mode +-OnlyShowIn=Unity ++OnlyShowIn=Unity; diff --git a/sci-astronomy/stellarium/stellarium-0.11.3.ebuild b/sci-astronomy/stellarium/stellarium-0.11.3.ebuild index a6eda3dd7f81..8ec7f0d9e59c 100644 --- a/sci-astronomy/stellarium/stellarium-0.11.3.ebuild +++ b/sci-astronomy/stellarium/stellarium-0.11.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.11.3.ebuild,v 1.5 2012/07/10 19:01:50 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.11.3.ebuild,v 1.6 2012/08/03 07:46:49 mr_bones_ Exp $ EAPI=4 CMAKE_MIN_VERSION="2.4.7" @@ -51,6 +51,7 @@ done src_prepare() { sed -e "/af ar az/d" -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${LINGUAS}" \ -i po/stellarium{,-skycultures}/CMakeLists.txt || die #403647 + epatch "${FILESDIR}"/${P}-desktop.patch use debug || append-cppflags -DQT_NO_DEBUG #415769 } @@ -72,5 +73,4 @@ src_install() { doins "${DISTDIR}"/stars_[45678]_[12]v0_0*.cat fi newicon doc/images/stellarium-logo.png ${PN}.png - make_desktop_entry ${PN} Stellarium ${PN} "Education;Science;Astronomy" } |