diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2015-03-17 16:52:29 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2015-03-17 16:52:29 +0000 |
commit | fe239752b1edf09e7a99fb529dfbd0fe84b90c5b (patch) | |
tree | 6e858e392c905d48ddd88dff7c3f1f02ee67f06b /x11-misc | |
parent | Version bump, default to qt5 as recommended upstream (diff) | |
download | historical-fe239752b1edf09e7a99fb529dfbd0fe84b90c5b.tar.gz historical-fe239752b1edf09e7a99fb529dfbd0fe84b90c5b.tar.bz2 historical-fe239752b1edf09e7a99fb529dfbd0fe84b90c5b.zip |
Initial commit, fixes bug #364071
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xC74525F2
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xplanetFX/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xplanetFX/Manifest | 15 | ||||
-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 |
5 files changed, 142 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/Manifest b/x11-misc/xplanetFX/Manifest new file mode 100644 index 000000000000..6edc6caf8764 --- /dev/null +++ b/x11-misc/xplanetFX/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX xplanetFX-2.6.4-gentoo-path.patch 1525 SHA256 8228ff633ea70cb626190051342a5e32fb98a17b39fd01969ac8546fa06d36bf SHA512 73b479936ec210e80c9e15e9a963ab41526b4da879ddc67d4083a710cc5aeb89929d261644131fe3a169aa4d65b297201eb1c08b674219a770cf9c1182b5d143 WHIRLPOOL a40d30c0749f61932b61cdeb1f1060c1f300eb81eacc2bdbf87303865807d723b9d754675998818cd054c26cc937b8447934861058577f31baa706125ba7b50b +DIST xplanetfx-2.6.4_all.tar.gz 36871474 SHA256 0c7ea5783103f00867eecc1603e598b89fd52bd19954fd2976e3aa89390813ca SHA512 dd8a31d77dcf536be712239b73d185b19dde8bfe3ba3c3acdeb31ce1101e5d9c524c89a645cd737d824f44c6553d7bd2962c4bd2a7e2ac11f405e5828cfcac91 WHIRLPOOL 2cde850922e0c67e73c55dc104a1e4dca91da1cefe5bf79149e2818e3184af8d71d1436021e964957dd5bcc5b7d858326ea242d5a8158382628acde42ecd07c4 +EBUILD xplanetFX-2.6.4.ebuild 1636 SHA256 008b2ac7e0b65188bcdb950bf0ecf6c47ebc466a081138517e1a0be042d37f10 SHA512 c5ccbc06203a10149c3ba8cdec929b2e5a72027c71b98b4bb706f70573b9e66b179d9c3aeafd4e38ca36890f22e470f0c824377f8f2bb0165f064053201c562d WHIRLPOOL 976f232c937cb6f48a42123f06a42d53e4ae15ee45fd620370e92ed416a42c51d61d19155107894ab839724143511aaecd1b760798d60c7533b4f1235f33c53e +MISC ChangeLog 419 SHA256 d4ced86218b8c0dcf0f164fd5460790252ed3641a2847f5fbecf03d2e6c1ee9b SHA512 5e25b4769a31925f703ab5f61a878aff49fc2ea7cafc81bf9c51795f9bd915ef2ccb8bf9eea8a6673ab36a17960ed0372724abbaf4e4c9a4bb61bfb0909186d0 WHIRLPOOL 3efc5dddf070d7266f537d95b9d3e97758324a20d71fcafd35ce5d71dc0555396b025b38d1d27997b6c01d7fccacf147be513112de7a8841d8db8f0f10f0ba46 +MISC metadata.xml 1162 SHA256 010bf2d936e7ee1c6c9f635e81377199bf76afbcb83bd64a8d2e73d05a7c068e SHA512 6ddfedc8c219e336991566ec62812e7b509d66ea0b9e0376e53610542d95de655e6554a859894638e4929f3e75e648befbc505849641b2c12f4e173659e3789f WHIRLPOOL b465f8d1b95b2038aba3e6a342d9dc00d4449d305a2d54a8a7a63ff8ea589c8fcaa8d1cd0813e1d848fbeea09eb61c27d0359515ac3160fed8f4ba266245db24 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iF4EAREIAAYFAlUIW8gACgkQFYEBGcdFJfIa6QEAjs7LtuGXTi7iTNCLdVd/+cyw +ZouCq6tQUxz7HoiA29MA/0AVsty8hV4n1iHEuT9Gb14bPBk01nFQ0TyQtV1P41wI +=FDBy +-----END PGP SIGNATURE----- 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 +} |