diff options
author | 2015-03-17 16:52:18 +0000 | |
---|---|---|
committer | 2015-03-17 16:52:18 +0000 | |
commit | 1aaacfa44239a5af71070d6158225c4e2c1b4931 (patch) | |
tree | 91362cc34138192b2d107c36ab83588834af7831 /x11-misc | |
parent | Version bump, default to qt5 as recommended upstream (diff) | |
download | gentoo-2-1aaacfa44239a5af71070d6158225c4e2c1b4931.tar.gz gentoo-2-1aaacfa44239a5af71070d6158225c4e2c1b4931.tar.bz2 gentoo-2-1aaacfa44239a5af71070d6158225c4e2c1b4931.zip |
Initial commit, fixes bug #364071
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xplanetFX/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch | 42 | ||||
-rw-r--r-- | x11-misc/xplanetFX/metadata.xml | 15 | ||||
-rw-r--r-- | x11-misc/xplanetFX/xplanetFX-2.6.4.ebuild | 60 |
4 files changed, 127 insertions, 0 deletions
diff --git a/x11-misc/xplanetFX/ChangeLog b/x11-misc/xplanetFX/ChangeLog new file mode 100644 index 000000000000..418dafbe515d --- /dev/null +++ b/x11-misc/xplanetFX/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/xplanetFX +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanetFX/ChangeLog,v 1.1 2015/03/17 16:52:18 voyageur Exp $ + +*xplanetFX-2.6.4 (17 Mar 2015) + + 17 Mar 2015; Bernard Cafarelli <voyageur@gentoo.org> +xplanetFX-2.6.4.ebuild, + +files/xplanetFX-2.6.4-gentoo-path.patch, +metadata.xml: + Initial commit, fixes bug #364071 + diff --git a/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch b/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch new file mode 100644 index 000000000000..0777e076c831 --- /dev/null +++ b/x11-misc/xplanetFX/files/xplanetFX-2.6.4-gentoo-path.patch @@ -0,0 +1,42 @@ +diff -Naur usr.orig/bin/xplanetFX usr/bin/xplanetFX +--- usr.orig/bin/xplanetFX 2015-03-05 19:58:41.000000000 +0100 ++++ usr/bin/xplanetFX 2015-03-16 14:28:28.235256123 +0100 +@@ -115,7 +115,7 @@ + WGETPROXY="-e use_proxy=on -e http_proxy="$PROXY + fi + +-if which gsed; then ++if which gsed > /dev/null 2>&1; then + SEDEXE='gsed' + else + SEDEXE='sed' +diff -Naur usr.orig/share/xplanetFX/xplanetFX_gtk usr/share/xplanetFX/xplanetFX_gtk +--- usr.orig/share/xplanetFX/xplanetFX_gtk 2015-02-17 16:55:12.000000000 +0100 ++++ usr/share/xplanetFX/xplanetFX_gtk 2015-03-16 14:28:53.147271051 +0100 +@@ -44,10 +44,7 @@ + + gobject.threads_init() + +-basedir = os.path.dirname(os.path.realpath(__file__)) +-if not os.path.exists(os.path.join(basedir, "xplanetFX_gtk.py")): +- if os.path.exists(os.path.join(os.getcwd(), "xplanetFX_gtk.py")): +- basedir = os.getcwd() ++basedir = "/usr/share/xplanetFX" + sys.path.insert(0, basedir) + + class GUI(): +diff -Naur usr.orig/share/xplanetFX/xplanetFX_tray usr/share/xplanetFX/xplanetFX_tray +--- usr.orig/share/xplanetFX/xplanetFX_tray 2014-05-08 01:46:44.000000000 +0200 ++++ usr/share/xplanetFX/xplanetFX_tray 2015-03-16 14:29:20.634287466 +0100 +@@ -27,10 +27,7 @@ + + gobject.threads_init() + +-basedir = os.path.dirname(os.path.realpath(__file__)) +-if not os.path.exists(os.path.join(basedir, "xplanetFX_gtk.py")): +- if os.path.exists(os.path.join(os.getcwd(), "xplanetFX_gtk.py")): +- basedir = os.getcwd() ++basedir = "/usr/share/xplanetFX" + sys.path.insert(0, basedir) + + diff --git a/x11-misc/xplanetFX/metadata.xml b/x11-misc/xplanetFX/metadata.xml new file mode 100644 index 000000000000..a0e7a1f1bdfe --- /dev/null +++ b/x11-misc/xplanetFX/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <longdescription>Create high quality renderings of mother earth with realistic clouding and lighting effects as your desktop wallpaper with “realtime” capabilities. + +xplanet (by Hari Nair) is a great piece of software capable of creating renderings inside our solar system. To raise the quality of it’s output adding some graphical effects, it was a great candidate to link with imagemagick. + +The result is xplanetFX, a user-friendly piece of software to configure, run or daemonize xplanet with h/q capabilities to create wallpapers of mother earth on your desktop. + +More realistic maps and backgrounds and a sophisticated graphics handling produce nearly photo realistic images of our mothership. It’s GTK GUI makes it really easy to use and provides a lot of settings and a user friendly access to xplanetFX. And even the templating capabilities give xplanetFX an individual and stylish touch.</longdescription> +</pkgmetadata> diff --git a/x11-misc/xplanetFX/xplanetFX-2.6.4.ebuild b/x11-misc/xplanetFX/xplanetFX-2.6.4.ebuild new file mode 100644 index 000000000000..9304376d4446 --- /dev/null +++ b/x11-misc/xplanetFX/xplanetFX-2.6.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanetFX/xplanetFX-2.6.4.ebuild,v 1.1 2015/03/17 16:52:18 voyageur Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +DESCRIPTION="User-friendly interface to configure, run or daemonize xplanet with HQ capabilities" +HOMEPAGE="http://mein-neues-blog.de/xplanetFX/" +SRC_URI="http://repository.mein-neues-blog.de:9000/archive/${P/FX/fx}_all.tar.gz" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libnotify" + +DEPEND="" +RDEPEND="${DEPEND} + dev-python/pygtk[${PYTHON_USEDEP}] + media-gfx/imagemagick + sys-devel/bc + x11-misc/xplanet + libnotify? ( x11-libs/libnotify )" +#python + +S="${WORKDIR}/usr" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo-path.patch + sed -e "s/Application;//" -i share/applications/*desktop || die + + # These will be installed separately + mkdir gentoo || die + mv share/${PN}/{autostart,flipview.py,stars/catalog.py,xplanetFX_gtk,xplanetFX_tray} \ + gentoo || die +} + +src_install() { + dobin bin/${PN} + insinto /usr/share/applications + doins share/applications/${PN}.desktop + insinto /usr/share/pixmaps + doins share/pixmaps/* + insinto /usr/share/${PN} + doins -r share/${PN}/* + + exeinto /usr/share/${PN} + doexe gentoo/autostart + + dodoc usr/share/doc/${PN}/{changelog,README} + + python_scriptinto /usr/share/${PN}/stars + python_foreach_impl python_doscript gentoo/catalog.py + python_scriptinto /usr/share/${PN} + python_foreach_impl python_doscript gentoo/{xplanetFX_gtk,xplanetFX_tray} + python_foreach_impl python_domodule gentoo/flipview.py +} |