From ea9c6b0710e844c4d3f69878bb9962a0095b17f7 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sat, 4 Jan 2020 11:52:16 +0300 Subject: [PATCH] x11-misc/magick-rotation: remove last-rited pkg Signed-off-by: Mikle Kolyada --- x11-misc/magick-rotation/Manifest | 1 - .../magick-rotation-1.6.2-r2.ebuild | 95 ------------------- x11-misc/magick-rotation/metadata.xml | 15 --- 3 files changed, 111 deletions(-) delete mode 100644 x11-misc/magick-rotation/Manifest delete mode 100644 x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild delete mode 100644 x11-misc/magick-rotation/metadata.xml diff --git a/x11-misc/magick-rotation/Manifest b/x11-misc/magick-rotation/Manifest deleted file mode 100644 index 929b0b899b85..000000000000 --- a/x11-misc/magick-rotation/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST magick-rotation-1.6.2.tar.bz2 103389 BLAKE2B 9ff85d53d33b381b79fdcb725a663001e583fce46ba36efab561d16f6dcdd50fec7c9d54c1ad9284eae590c2c589622259a5814ffd295a02e6458994ff588c96 SHA512 40252c4b57d304244f8f7a8b08448cb498efd9044406235f2d728a89c8b4888009c4e7a9f50cbb61b5620336eedf1abb1591e68e94a57b051f4d823acbcdff5f diff --git a/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild b/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild deleted file mode 100644 index 43a71929ba58..000000000000 --- a/x11-misc/magick-rotation/magick-rotation-1.6.2-r2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="xml" -inherit eutils python-single-r1 toolchain-funcs udev user versionator - -MY_PV=$(get_version_component_range 1-2) - -DESCRIPTION="Application that rotates tablet pc's screen automatically, based on orientation" -HOMEPAGE="https://launchpad.net/magick-rotation" -SRC_URI="https://launchpad.net/magick-rotation/trunk/${MY_PV}/+download/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - x11-libs/libX11 - x11-libs/libXrandr" - -RDEPEND="${DEPEND} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk:2[${PYTHON_USEDEP}] - dev-python/py-notify[${PYTHON_USEDEP}] - x11-apps/xinput" - -# there are no tests in package, default 'make check' does wrong things, bug #453672 -RESTRICT="test" - -pkg_setup() { - python-single-r1_pkg_setup - enewgroup magick -} - -src_prepare() { - # Remove unneeded files - rm -r apt_* installer_gtk.py MAGICK-INSTALL gset_addkeyval.py MagickIcons/MagickSplash.png MagickUninstall || die 'removing unneeded files failed' - - # Fix Python shebangs - python_fix_shebang "${S}" - - epatch_user -} - -src_compile() { - my_compile() { - echo $(tc-getCC) $* - $(tc-getCC) $* || die 'compilation failed' - } - - local suffix= - if use amd64; then - suffix=64 - else - suffix=32 - fi - my_compile "${CFLAGS} ${LDFLAGS} check.c -lX11 -lXrandr -o checkmagick${suffix}" -} - -src_install() { - #TODO: add installation of GNOME Shell 3.2 extension - dobin checkmagick* - - udev_dorules 62-magick.rules - - python_moduleinto /usr/share/${PN} - python_domodule *.py - - insinto /usr/share/${PN}/MagickIcons - doins MagickIcons/*.png - - python_scriptinto /usr/share/${PN} - python_doscript magick-rotation xrotate.py - - dodoc *.txt ChangeLog - - make_desktop_entry /usr/share/${PN}/${PN} "Magick Rotation" /usr/share/${PN}/MagickIcons/magick-rotation-enabled.png "System;Utility;" -} - -pkg_postinst() { - echo - elog "In order to use Magick Rotation with an on-screen keyboard and handwriting," - elog "the following additional package may also be installed for use at run-time:" - elog - optfeature "Magick Rotation's default onscreen keyboard" media-gfx/cellwriter - echo - - ewarn "in order to use Magick Rotation you have to be in the 'magick' group." - ewarn "Just run 'gpasswd -a magick', then have re-login." -} diff --git a/x11-misc/magick-rotation/metadata.xml b/x11-misc/magick-rotation/metadata.xml deleted file mode 100644 index 081d53a12fb9..000000000000 --- a/x11-misc/magick-rotation/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - evadim@evadim.ru - Vadim Efimov - - - proxy-maint@gentoo.org - Proxy Maintainers - - - magick-rotation - - -- 2.26.2