diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xplanetFX |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xplanetFX')
-rw-r--r-- | x11-misc/xplanetFX/Manifest | 8 | ||||
-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.12.ebuild | 62 | ||||
-rw-r--r-- | x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild | 62 |
5 files changed, 189 insertions, 0 deletions
diff --git a/x11-misc/xplanetFX/Manifest b/x11-misc/xplanetFX/Manifest new file mode 100644 index 000000000000..211b57f8018a --- /dev/null +++ b/x11-misc/xplanetFX/Manifest @@ -0,0 +1,8 @@ +AUX xplanetFX-2.6.4-gentoo-path.patch 1525 SHA256 8228ff633ea70cb626190051342a5e32fb98a17b39fd01969ac8546fa06d36bf SHA512 73b479936ec210e80c9e15e9a963ab41526b4da879ddc67d4083a710cc5aeb89929d261644131fe3a169aa4d65b297201eb1c08b674219a770cf9c1182b5d143 WHIRLPOOL a40d30c0749f61932b61cdeb1f1060c1f300eb81eacc2bdbf87303865807d723b9d754675998818cd054c26cc937b8447934861058577f31baa706125ba7b50b +DIST xplanetfx-2.6.12_all.tar.gz 36874773 SHA256 bae39af674fc89b3fbe07ba6271bbf0a1c2ff64bbf63f4b04ff3d6f0bcc4380c SHA512 b2d76f9a8341ab5098a3b09f27f7844673850275f4c577cef344199cdc72f93060eb05786a9111a1fb9f120d747f12cc5793dba6a249141e284a3bff59d4e0fe WHIRLPOOL 7b55425eb7d1f592defd9d47144b7cce6fec682583229e5a4e5e2f407699f17dfc6114763c8df0d5a4bff7e4da034517f02f4e0bfd92201fd4c84597e87f7908 +DIST xplanetfx-2.6.13_all.tar.gz 36874849 SHA256 ab5557555af6b5134b53174023709fff2cd64895f930b474eb695222a23c9feb SHA512 dddc3666dd0f802cafd7b917eb513dd662b94617701622eabaaff18cf9277e3faf206eb602eb2af7c117a212b14e1cdbc4a8c11bded8243571ae4afa86f3fe72 WHIRLPOOL 6e734bdcaa6be65d29e31f5659950bde310e564e19ab34a06140f002e09cf8ac75594017f3e844a7edd881a05d25cd34883f53ac8515ae5853361938b580a1b5 +EBUILD xplanetFX-2.6.12.ebuild 1563 SHA256 9b4ccf44a5c3f9bbd7939070fee407969008485d75d8ffea62e6f88a4ac545ed SHA512 74c7676caf4c877e1bf3225210e6498ae17cfd65821ab5efd4c385ca6ee9e0ec55b6d140544113270fbff9a875e5a4df0e393d9a423ec7be79fc198dd0b82237 WHIRLPOOL bd1b44fd8ab428f0fe934710eae4e8daa6b3fa10d10a907e6637e1b37ac9d9dfab7406170584abd5f8cb5205ceba01d46ba9c905eef4e7b3cdf95db954561043 +EBUILD xplanetFX-2.6.13.ebuild 1563 SHA256 9b4ccf44a5c3f9bbd7939070fee407969008485d75d8ffea62e6f88a4ac545ed SHA512 74c7676caf4c877e1bf3225210e6498ae17cfd65821ab5efd4c385ca6ee9e0ec55b6d140544113270fbff9a875e5a4df0e393d9a423ec7be79fc198dd0b82237 WHIRLPOOL bd1b44fd8ab428f0fe934710eae4e8daa6b3fa10d10a907e6637e1b37ac9d9dfab7406170584abd5f8cb5205ceba01d46ba9c905eef4e7b3cdf95db954561043 +MISC ChangeLog 2968 SHA256 1b9e15f09ad5f5adf2ef0771c7b7dde06eb5dbf58f5f83cd492b667a6c3c6e10 SHA512 55e6c81a6a8703bd29cc80a4d0bf7004fa14415b20a226a116477685154bc7ebb874099fbc6b2e5bb2d0c453d8d335e8baba1721caaea6c2bf38098247389e29 WHIRLPOOL eac700dbcc6a182a7e6c3ee07a670a6a01fe611cc2b4d63d2003be3948ed16afd294c1f330f09da36143be6f1195951b80764a924b56ef17b51177548baeffb8 +MISC ChangeLog-2015 522 SHA256 c05d23b8bc1acbc1c0192fc128c9a093012b201d35f01ac14e852398b7bb0269 SHA512 5b40b334a8d25abb17f17ae0f88dda3f895345a356c8909db04f92962be7f62b865b72787f63e0805b615951da310ebe71c5abd4ad777b8c942b4aa334cbec1f WHIRLPOOL 36d47de2d3690ac5655f71df68e66c8e24554f8e098fe0427ba044821a159646a0c593bd9821dbc83b51238e34eff6a0e76ae5d9ba7b53912b5b1c0f013c012f +MISC metadata.xml 1176 SHA256 f87859f07fb1d070048d41c7f69142ba08c74afa52b83c97b4b6d705cd8a275b SHA512 1e81e9920d7407a9cd88b83599282ab1f8079878fdee6739c5a763b0d6781c9dc2dd91c49e7811cd53b32ff6b50db3a77a4ab3d58e296c4f51b478141e61f771 WHIRLPOOL 21c8c2118143533b652e7acc032d195711c98f165f1a218fc13bc4bd2c2b89039b29f7ec3fedd8695afc2398703e5aa6c81c54cb7f26bed525c73e7e68695c8c 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..0d2445092a85 --- /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 type="person"> + <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.12.ebuild b/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild new file mode 100644 index 000000000000..ef8d834ced6e --- /dev/null +++ b/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +DESCRIPTION="GUI 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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +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() { + default + + eapply "${FILESDIR}"/${PN}-2.6.4-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 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 +} diff --git a/x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild b/x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild new file mode 100644 index 000000000000..ef8d834ced6e --- /dev/null +++ b/x11-misc/xplanetFX/xplanetFX-2.6.13.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +DESCRIPTION="GUI 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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +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() { + default + + eapply "${FILESDIR}"/${PN}-2.6.4-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 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 +} |