public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/files/, media-gfx/cropgui/, profiles/
@ 2020-03-22  6:13 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2020-03-22  6:13 UTC (permalink / raw
  To: gentoo-commits

commit:     c5bb261dd6dbbfaae42c7a0b413a40dbe0bb79c4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 22 06:11:14 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 22 06:11:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bb261d

media-gfx/cropgui: Remove last-rited pkg

Closes: https://bugs.gentoo.org/708098
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-gfx/cropgui/Manifest                        |  2 -
 media-gfx/cropgui/cropgui-0.2-r1.ebuild           | 53 -----------------------
 media-gfx/cropgui/cropgui-0.3.ebuild              | 49 ---------------------
 media-gfx/cropgui/cropgui-9999.ebuild             | 39 -----------------
 media-gfx/cropgui/files/cropgui-0.2-PIL.patch     | 26 -----------
 media-gfx/cropgui/files/cropgui-0.2-tobytes.patch | 40 -----------------
 media-gfx/cropgui/metadata.xml                    | 11 -----
 profiles/package.mask                             |  6 ---
 8 files changed, 226 deletions(-)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
deleted file mode 100644
index 9985e7d45ed..00000000000
--- a/media-gfx/cropgui/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cropgui-0.2.tar.gz 842734 BLAKE2B 4a09fef84634cc07d81580f9652826dd4e388c27d9db33fb63e8f7c9ac2341cb532b81894fcab624df2495865af6f6580b03c871ed7d138bf5c7d2fc02386a7b SHA512 d6a9feea8c5de57455d0f7247465108d5a931f773f4df0c91629400bcc2c958c76559a84b6cde45709bcc8936ff7f5e2b3553897a14fbec14a9f032065ce83ba
-DIST cropgui-0.3.tar.gz 851911 BLAKE2B 57e8a013f1d0e9741e40657fcdd15c029a9cfd193d212389c4a98eb4520c64d7cb8d7d3adca9c727c2a7415ca8eaec8c7b3e621088e2d55747e60a1ab65306dd SHA512 ec8c15d25dd0eac1979a7cc20806cbf412cac9e5279538db0bf27a7c0ec98fc272650bb9f3d798408a96b6c49cd733e3df035f74b3bc6ef79d853c1a47a944ff

diff --git a/media-gfx/cropgui/cropgui-0.2-r1.ebuild b/media-gfx/cropgui/cropgui-0.2-r1.ebuild
deleted file mode 100644
index 4843bea1921..00000000000
--- a/media-gfx/cropgui/cropgui-0.2-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-r1
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="http://emergent.unpythonic.net/01248401946"
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-	dev-python/pillow[${PYTHON_USEDEP}]
-	dev-python/pygobject:2[${PYTHON_USEDEP}]
-	dev-python/pygtk:2[${PYTHON_USEDEP}]
-"
-
-src_prepare() {
-	sed -i  -e '/Encoding/d' \
-		-e '/Version/d' \
-		-e '/MimeType/s/$/&;/' \
-		-e '/Categories/s/Application;//' \
-		cropgui.desktop || die 'sed on cropgui.desktop failed'
-	# bug 471530
-	eapply "${FILESDIR}/${P}-PIL.patch"
-	# bug 616708
-	eapply "${FILESDIR}/${P}-tobytes.patch"
-
-	eapply_user
-}
-
-install_cropgui_wrapper() {
-	python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
-	make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
-	python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
-	rm "${ED%/}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-	python_moduleinto "${PN}"
-	python_foreach_impl install_cropgui_wrapper
-
-	domenu "${PN}.desktop"
-	doicon "${PN}.png"
-}

diff --git a/media-gfx/cropgui/cropgui-0.3.ebuild b/media-gfx/cropgui/cropgui-0.3.ebuild
deleted file mode 100644
index e5563189844..00000000000
--- a/media-gfx/cropgui/cropgui-0.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-r1
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="http://emergent.unpythonic.net/01248401946"
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-	dev-python/pillow[${PYTHON_USEDEP}]
-	dev-python/pygobject:2[${PYTHON_USEDEP}]
-	dev-python/pygtk:2[${PYTHON_USEDEP}]
-"
-
-src_prepare() {
-	sed -i  -e '/Encoding/d' \
-		-e '/Version/d' \
-		-e '/MimeType/s/$/&;/' \
-		-e '/Categories/s/Application;//' \
-		cropgui.desktop || die 'sed on cropgui.desktop failed'
-
-	eapply_user
-}
-
-install_cropgui_wrapper() {
-	python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
-	make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
-	python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
-	rm "${ED%/}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-	python_moduleinto "${PN}"
-	python_foreach_impl install_cropgui_wrapper
-
-	domenu "${PN}.desktop"
-	doicon "${PN}.png"
-}

diff --git a/media-gfx/cropgui/cropgui-9999.ebuild b/media-gfx/cropgui/cropgui-9999.ebuild
deleted file mode 100644
index 1d83737474c..00000000000
--- a/media-gfx/cropgui/cropgui-9999.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGIT_REPO_URI="https://github.com/jepler/cropgui.git"
-PYTHON_COMPAT=( python2_7 )
-inherit eutils git-r3 python-r1
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="http://emergent.unpythonic.net/01248401946"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-	dev-python/pillow[${PYTHON_USEDEP}]
-	dev-python/pygobject:2[${PYTHON_USEDEP}]
-	dev-python/pygtk:2[${PYTHON_USEDEP}]
-"
-
-install_cropgui_wrapper() {
-	python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
-	make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
-	python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
-	rm "${ED%/}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-	python_moduleinto "${PN}"
-	python_foreach_impl install_cropgui_wrapper
-
-	domenu "${PN}.desktop"
-	doicon "${PN}.png"
-}

diff --git a/media-gfx/cropgui/files/cropgui-0.2-PIL.patch b/media-gfx/cropgui/files/cropgui-0.2-PIL.patch
deleted file mode 100644
index 3c1e91847f8..00000000000
--- a/media-gfx/cropgui/files/cropgui-0.2-PIL.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- cropgui.orig/cropgui_common.py	2016-01-28 12:54:47.424636620 +0300
-+++ cropgui/cropgui_common.py	2016-01-28 12:55:15.176635735 +0300
-@@ -13,9 +13,9 @@
- #    You should have received a copy of the GNU General Public License
- #    along with this program; if not, write to the Free Software
- #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
--import Image
--import ImageFilter
--import ImageDraw
-+from PIL import Image
-+from PIL import ImageFilter
-+from PIL import ImageDraw
- import subprocess
- import threading
- import Queue
---- cropgui.orig/filechooser.py	2016-01-28 12:55:26.505635374 +0300
-+++ cropgui/filechooser.py	2016-01-28 12:55:32.649635178 +0300
-@@ -8,7 +8,7 @@
- import gobject
- 
- import os
--import Image
-+from PIL import Image
- import cropgui_common
- 
- def apply_rotation(rotation, image):

diff --git a/media-gfx/cropgui/files/cropgui-0.2-tobytes.patch b/media-gfx/cropgui/files/cropgui-0.2-tobytes.patch
deleted file mode 100644
index 18405143bad..00000000000
--- a/media-gfx/cropgui/files/cropgui-0.2-tobytes.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-commit b664d1fefd7140ec4ec37b3b90a9007839029d8a
-Author: Tristan Stenner <ttstenner@gmail.com>
-Date:   Fri Oct 9 08:40:04 2015 +0200
-
-    Try tostring(), fall back to tobytes()
-
-diff --git a/cropgtk.py b/cropgtk.py
-index c1156b0..135b6a8 100755
---- a/cropgtk.py
-+++ b/cropgtk.py
-@@ -170,7 +170,11 @@ class DragManager(DragManagerBase):
-             rendered = self.rendered()
-             rendered = rendered.convert('RGB')
-             i.set_size_request(*rendered.size)
--            pixbuf = gtk.gdk.pixbuf_new_from_data(rendered.tostring(),
-+            try:
-+                image_data = rendered.tostring()
-+            except:
-+                image_data = rendered.tobytes()
-+            pixbuf = gtk.gdk.pixbuf_new_from_data(image_data,
-                 gtk.gdk.COLORSPACE_RGB, 0, 8,
-                 rendered.size[0], rendered.size[1], 3*rendered.size[0])
- 
-diff --git a/filechooser.py b/filechooser.py
-index f2f8122..a039d74 100644
---- a/filechooser.py
-+++ b/filechooser.py
-@@ -49,7 +49,11 @@ def update_preview_cb(file_chooser, preview):
-             i.thumbnail((PREVIEW_SIZE, PREVIEW_SIZE), Image.ANTIALIAS)
-             i = i.convert('RGB')
-             i = apply_rotation(r, i)
--            pixbuf = gtk.gdk.pixbuf_new_from_data(i.tostring(), 
-+            try:
-+                image_data = i.tostring()
-+            except:
-+                image_data = i.tobytes()
-+            pixbuf = gtk.gdk.pixbuf_new_from_data(image_data, 
-                 gtk.gdk.COLORSPACE_RGB, 0, 8, i.size[0], i.size[1],
-                 i.size[0]*3)
-             preview.set_from_pixbuf(pixbuf)

diff --git a/media-gfx/cropgui/metadata.xml b/media-gfx/cropgui/metadata.xml
deleted file mode 100644
index 0f64e749a72..00000000000
--- a/media-gfx/cropgui/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>zlogene@gentoo.org</email>
-		<name>Mikle Kolyada</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="github">jepler/cropgui</remote-id>
-	</upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index fd42717afff..863372d8c5a 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -495,12 +495,6 @@ media-gfx/comix
 # Removal in 30 days. Bug #710436.
 net-libs/gupnp-ui
 
-# Mikle Kolyada <zlogene#gentoo.org> (2020-02-21)
-# Tiny package with semi-dead upstream. Unlikely useful.
-# Blocks pygtk removal.
-# Removal in 30 days.
-media-gfx/cropgui
-
 # Andreas Sturmlechner <asturm@gentoo.org> (2020-02-19)
 # No maintainer, py2-only, blocks dev-python/pygtk removal, needs version bump
 # See bugs #546024, #706486, pending PR #14720. Masked for removal in 40 days.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-22  6:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-22  6:13 [gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/files/, media-gfx/cropgui/, profiles/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox