# Bug #708164, masked for removal in 30 days.
media-video/pymp
-# Andreas Sturmlechner <asturm@gentoo.org> (2020-03-22)
-# Unmaintained revdep on dev-python/pygtk blocking its removal, py2-only
-# No signs of porting work, bug #708076, masked for removal in 30 days.
-x11-misc/xplanetFX
-
# Jonas Stein <jstein@gentoo.org> (2020-03-21)
# Package masked for removal. Broken SRC_URI,
# upstream is dead.
+++ /dev/null
-DIST xplanetfx-2.6.14_all.tar.gz 36874844 BLAKE2B ee02daa55fe2e0a64b4691c95e8bac1b95d99d0ddd1e83036d723d46140b54be8d859619815929e205bc386fd5dbe5ffdc8ca3995da73497e93ee79cccee1dfe SHA512 479c297906785f304178cd3ff41eaf955be6b6a50437c02528528f2328cc726bdcc54fedc107df02b346144c2f06a4325a40b94f03f7923081bed48baf0238b5
+++ /dev/null
-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)
-
-
+++ /dev/null
-<?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>
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit desktop 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}
- domenu 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
-}