diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2012-11-27 08:49:15 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2012-11-27 08:49:15 +0000 |
commit | 230181d1e7f1f6ec034322f6522d48f5acbba87b (patch) | |
tree | b43e03a5c0ebba2d20fcb50a60da944ddf8c684f /media-gfx | |
parent | Fix for Prefix, thanks Myk Taylor, bug #444898 (diff) | |
download | historical-230181d1e7f1f6ec034322f6522d48f5acbba87b.tar.gz historical-230181d1e7f1f6ec034322f6522d48f5acbba87b.tar.bz2 historical-230181d1e7f1f6ec034322f6522d48f5acbba87b.zip |
Initial commit wrt bug #435294. Thanks to Jared B. and Mikle Kolyada for their work on ebuild. The latter will maintain this package through proxy maintainers
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/cropgui/ChangeLog | 12 | ||||
-rw-r--r-- | media-gfx/cropgui/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/cropgui/cropgui-0.1.1.ebuild | 51 | ||||
-rw-r--r-- | media-gfx/cropgui/metadata.xml | 15 |
4 files changed, 82 insertions, 0 deletions
diff --git a/media-gfx/cropgui/ChangeLog b/media-gfx/cropgui/ChangeLog new file mode 100644 index 000000000000..a5812bac82ac --- /dev/null +++ b/media-gfx/cropgui/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-gfx/cropgui +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.1 2012/11/27 08:49:11 pinkbyte Exp $ + +*cropgui-0.1.1 (27 Nov 2012) + + 27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> +cropgui-0.1.1.ebuild, + +metadata.xml: + Initial commit wrt bug #435294. Thanks to Jared B. and Mikle Kolyada for + their work on ebuild. The latter will maintain this package through proxy + maintainers + diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest new file mode 100644 index 000000000000..b29943a14cb8 --- /dev/null +++ b/media-gfx/cropgui/Manifest @@ -0,0 +1,4 @@ +DIST cropgui_0.1.1.tar.gz 13142 SHA256 d2bab11c2bafdbcbe9c8cac7827a7e25b909b2962cef29e1ce7181ccb2834a75 SHA512 abfe8dfd46a316e970b0355f6b05e2d2a4a54243e201dfc8434ee09f31c8715471dd1f00bd0c6cda646406e6398e5b43da3269bf74d1f2d9d436d5931d2b968f WHIRLPOOL 1e4f9fca887d2d988c6d944f85cae6125472ea08118e84b5601123e2af603b16d49ed54385f9552f1cd819f447b2ceace742ee4fd1e95f5d0461f4c173a1ef7e +EBUILD cropgui-0.1.1.ebuild 1324 SHA256 0a5930b851105fc8e95e6c7df45fa3abe4e95bf66eb198584ad7e98ca29d50ab SHA512 928cdc7b50a6f89ace3436f6dccd328926699dae605572bc04eb57d6c7a9f7292fb809fe8d4daa510613c3587087204c22db382abda212aaf4219f494429a55f WHIRLPOOL d9e01ec256016dcac5efbbbcadd7bbfa5a97bc106b0191d2e6572c90b2e583984447142e9020917dc99c5c1f014ff3446c15d859bb0835ac721c022b4afd4242 +MISC ChangeLog 495 SHA256 7710cd07fe5422955081ddc807e3d4c6b6ec0713f10789ca9b6eba3c24e07a13 SHA512 301e8dfdb40ac39493cde74f2e329e0d716076bcb5ac5f544d881cd7c20e10f77b05bb1e03c60751ea9ce48d2a51607dbb799a3ea0ecd4b3dbde1d2de9a8bd9a WHIRLPOOL 86d3419edce67c9c68dd37b471e0a23b52d65a8f1f334bf19be356fcdcb28730bdf1f371439e44bb09d3036975078aa5d8615ad4b9d55f5a6e09cf5da423934d +MISC metadata.xml 484 SHA256 4ae41dfff8744a8595b4d69e801e678a5473482be89dc6c725527398c1bc0541 SHA512 cfc6b57ebb2e7bc349f6fc8ff3c1e19db1ad6c96058ce017c7e2d4ba0d7297d7b6eb7fe4a9ed81335edbfac8655c15cbd03d268d865c70083f8cf50a15726c00 WHIRLPOOL 4c34d116e6240803e3f84cb840b04606de2e92d31d3febdfe00b0c7a7f54647766be601981f072462b7ca5a47a818ca1ccc189b589a906efd082a744c17f5cc7 diff --git a/media-gfx/cropgui/cropgui-0.1.1.ebuild b/media-gfx/cropgui/cropgui-0.1.1.ebuild new file mode 100644 index 000000000000..995206f7f435 --- /dev/null +++ b/media-gfx/cropgui/cropgui-0.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1.ebuild,v 1.1 2012/11/27 08:49:11 pinkbyte Exp $ + +EAPI="4" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils python + +DESCRIPTION="GUI for lossless cropping of jpeg images" +HOMEPAGE="http://emergent.unpythonic.net/01248401946" +SRC_URI="http://media.unpythonic.net/emergent-files/01248401946/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + dev-python/imaging + dev-python/pygobject:2 + dev-python/pygtk:2 +" + +S="${WORKDIR}/${PN}" + +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' +} + +src_install() { + install_cropgui_wrapper() { + insinto "$(python_get_sitedir)/${PN}" + python_convert_shebangs -q ${PYTHON_ABI} *.py + doins cropgtk.py cropgui_common.py filechooser.py cropgui.glade + make_wrapper cropgui-${PYTHON_ABI} "$(PYTHON -a) $(python_get_sitedir)/${PN}/cropgtk.py" + } + python_execute_function -q install_cropgui_wrapper + python_generate_wrapper_scripts "${ED}/usr/bin/cropgui" + + domenu cropgui.desktop + doicon cropgui.png +} diff --git a/media-gfx/cropgui/metadata.xml b/media-gfx/cropgui/metadata.xml new file mode 100644 index 000000000000..a0f314b05cb2 --- /dev/null +++ b/media-gfx/cropgui/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>zlog.gentoo@gmail.com</email> + <name>Mikle Kolyada</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> +</pkgmetadata> |