summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-03 01:02:22 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-03 01:02:22 +0000
commit2819dece6aa2f210cb6c3f117fce3e4def477929 (patch)
tree5a1c2967ba4c3c97da055bf072b9f758d2ddf89c /media-gfx
parentVersion bump, remove old. Update desktop category. (diff)
downloadgentoo-2-2819dece6aa2f210cb6c3f117fce3e4def477929.tar.gz
gentoo-2-2819dece6aa2f210cb6c3f117fce3e4def477929.tar.bz2
gentoo-2-2819dece6aa2f210cb6c3f117fce3e4def477929.zip
Initial import, ebuild by me.
(Portage version: 2.2.0_alpha123-r1/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/cptutils/ChangeLog11
-rw-r--r--media-gfx/cptutils/Manifest6
-rw-r--r--media-gfx/cptutils/cptutils-1.45.ebuild29
-rw-r--r--media-gfx/cptutils/files/cptutils-1.45-as-needed.patch22
-rw-r--r--media-gfx/cptutils/files/cptutils-1.45-tests.patch50
-rw-r--r--media-gfx/cptutils/metadata.xml5
6 files changed, 123 insertions, 0 deletions
diff --git a/media-gfx/cptutils/ChangeLog b/media-gfx/cptutils/ChangeLog
new file mode 100644
index 000000000000..5314edb6fbc1
--- /dev/null
+++ b/media-gfx/cptutils/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-gfx/cptutils
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cptutils/ChangeLog,v 1.1 2012/09/03 01:02:21 radhermit Exp $
+
+*cptutils-1.45 (03 Sep 2012)
+
+ 03 Sep 2012; Tim Harder <radhermit@gentoo.org> +cptutils-1.45.ebuild,
+ +files/cptutils-1.45-as-needed.patch, +files/cptutils-1.45-tests.patch,
+ +metadata.xml:
+ Initial import, ebuild by me.
+
diff --git a/media-gfx/cptutils/Manifest b/media-gfx/cptutils/Manifest
new file mode 100644
index 000000000000..958c232933c8
--- /dev/null
+++ b/media-gfx/cptutils/Manifest
@@ -0,0 +1,6 @@
+AUX cptutils-1.45-as-needed.patch 494 SHA256 9b9540f29e989e89425e7fa8d938f22b544de4fda63f24ae34ef1f70927787de SHA512 e01e1d2c3bdc57668ab247be7d10e22dbb961ed5db4233f922eefd1dcc6bab4807b93c5b64e17daa8cb4269abf52cb133d32a1455d384676105bf22ffd1fda23 WHIRLPOOL 5e58ff63b3b97e918f7adc4ff43d7d56238df69f83b6205759977630bbcbf5ae8be1f065ce7cc67aff63e0faf87fe941f0a10809e0b2ebd28b18d11b50b53c33
+AUX cptutils-1.45-tests.patch 1392 SHA256 2f9f53e09318966cf35102f1488f9a0a936aded0eae2222600ba963c078e4653 SHA512 84c004f02550b9869850ed0dc131034e18e40b0a7aeaa9b1f15f9d14da30b74ce553802c71cd54b27f67bb67cd1a21ecf0033cecff922c932e747904cff8ba24 WHIRLPOOL caecc3f2ec1e22bb768f4cd351f6f59537d08a5b49d12def3cef47aea51eedb445ccbb4878551801f6dd256f3f403c4ca430e10029b4361688272255e897ed0f
+DIST cptutils-1.45.tar.gz 515651 SHA256 34269f0ea75160ed8ee5badafca2b005ac63f06413ba7ed0dfb84d58431ef101 SHA512 6eb8f439bc9b103a6c9b8159ece38ebde97b031eb52d50e63047d42bc473bd3f7c1762aa71fb013f8d2f7813c434db73b7b151a69a61daff850f18c030a71a0f WHIRLPOOL 5dcd00e6fcc4b53c2f4808a3442e35996a2f24ba076430abe180275457248c31ae8f5adf17350bf51cd222fef3b73f06eddf330fecb5d7062783747c2011a849
+EBUILD cptutils-1.45.ebuild 713 SHA256 fc8c371be1cf8beeb8e659061a6c6ef34ae104e20a1b11c88c91d15ada366f20 SHA512 7c00c6e3585414e7f68d9e0fc918b823792231e715183d58a4331c8de4f0c0e83cfde9514e6af3d99cfbd16bb53072020495fbfa9da413d3aa2c9f902c0c5664 WHIRLPOOL c67b587f300c234910b8d418c843a186253a26f3d56f2a6605618f133c2a4d5515525b2327a3e7c465cf7136b340c225ff9b68df5fe37e4983b56547a6066bae
+MISC ChangeLog 345 SHA256 f366e16eb19f17aac09d2d994946cd34a8646aa18ee2e5f591634ba0bb78efcb SHA512 b86ce728a3497af53f77027b14b5a2c82c5fc8e80a635488ec4d8557c97af9013680dac15351e50aefac3e98842f08693d94e0b04da70cd6fb96be049dfd6a9d WHIRLPOOL b77e2e863262f80adc25a4bed4e527434282347e5167738e391121bb177306c0cbcef4e2cc35da5b13ee89210136fb005336a850130fbf0164f10930fd7d171d
+MISC metadata.xml 161 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 SHA512 425caf0160f1410ce7bf1d4639020be7f6335152c339edbce80676bff4166f1cab3ae9e13161c47b98dc00741dab3bfa45e9572a3314844476e480f5c2b58d7d WHIRLPOOL ad7cdd3352dbc12cb4181fb5d63b5aee5ce3a151b975c12a96c4a5c91f751736d27282ad22633c7e768230266bce5d17947735d33ef5c5c2341c3f9435b9ebb0
diff --git a/media-gfx/cptutils/cptutils-1.45.ebuild b/media-gfx/cptutils/cptutils-1.45.ebuild
new file mode 100644
index 000000000000..41d8ff93c56f
--- /dev/null
+++ b/media-gfx/cptutils/cptutils-1.45.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cptutils/cptutils-1.45.ebuild,v 1.1 2012/09/03 01:02:21 radhermit Exp $
+
+EAPI=4
+
+inherit python eutils
+
+DESCRIPTION="A number of utilities for the manipulation of color gradient files"
+HOMEPAGE="http://soliton.vm.bytemark.co.uk/pub/jjg/en/code/cptutils.html"
+SRC_URI="http://soliton.vm.bytemark.co.uk/pub/jjg/code/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="dev-libs/libxml2:2
+ media-libs/libpng"
+RDEPEND="${CDEPEND}
+ =dev-lang/python-2*"
+DEPEND="${CDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ epatch "${FILESDIR}"/${P}-tests.patch
+
+ python_convert_shebangs 2 src/gradient-convert/gradient-convert.py
+}
diff --git a/media-gfx/cptutils/files/cptutils-1.45-as-needed.patch b/media-gfx/cptutils/files/cptutils-1.45-as-needed.patch
new file mode 100644
index 000000000000..984339dbf35a
--- /dev/null
+++ b/media-gfx/cptutils/files/cptutils-1.45-as-needed.patch
@@ -0,0 +1,22 @@
+--- cptutils-1.45/src/Common.mk.in
++++ cptutils-1.45/src/Common.mk.in
+@@ -7,7 +7,7 @@
+ CC = @CC@
+ CFLAGS += @CFLAGS@ @DEFS@
+ LDFLAGS +=
+-LDLIBS += @LIBS@
++LIBS += @LIBS@
+
+ PYTHON = @PYTHON@
+
+--- cptutils-1.45/src/Progs.mk
++++ cptutils-1.45/src/Progs.mk
+@@ -6,7 +6,7 @@
+ CFLAGS += -I../common/
+ LDFLAGS += -L../common/
+ LDLIBS += -lcpt -lggr -lpsp -lsvg -lgpt -lpov -lodb \
+- -lcss3 -lsao -lident -lfill
++ -lcss3 -lsao -lident -lfill $(LIBS)
+
+ TESTD = ../t
+
diff --git a/media-gfx/cptutils/files/cptutils-1.45-tests.patch b/media-gfx/cptutils/files/cptutils-1.45-tests.patch
new file mode 100644
index 000000000000..085c85b9e55a
--- /dev/null
+++ b/media-gfx/cptutils/files/cptutils-1.45-tests.patch
@@ -0,0 +1,50 @@
+--- cptutils-1.45/src/cptcss/Makefile
++++ cptutils-1.45/src/cptcss/Makefile
+@@ -26,7 +26,7 @@
+
+ # for testing
+
+-CPT = /usr/share/gmt/cpt/GMT_haxby.cpt
++CPT = $(TESTD)/cpt/GMT_haxby.cpt
+
+ test check : cptcss
+ ./cptcss -f "level-%.2i" -v $(CPT)
+--- cptutils-1.45/src/t/cpt/GMT_haxby.cpt
++++ cptutils-1.45/src/t/cpt/GMT_haxby.cpt
+@@ -0,0 +1,36 @@
++# $Id: cptutils-1.45-tests.patch,v 1.1 2012/09/03 01:02:22 radhermit Exp $
++#
++# The colortable popularized by Bill Haxby, LDEO
++# COLOR_MODEL = RGB
++0 10 0 121 1 10 0 121
++1 40 0 150 2 40 0 150
++2 20 5 175 3 20 5 175
++3 0 10 200 4 0 10 200
++4 0 25 212 5 0 25 212
++5 0 40 224 6 0 40 224
++6 26 102 240 7 26 102 240
++7 13 129 248 8 13 129 248
++8 25 175 255 9 25 175 255
++9 50 190 255 10 50 190 255
++10 68 202 255 11 68 202 255
++11 97 225 240 12 97 225 240
++12 106 235 225 13 106 235 225
++13 124 235 200 14 124 235 200
++14 138 236 174 15 138 236 174
++15 172 245 168 16 172 245 168
++16 205 255 162 17 205 255 162
++17 223 245 141 18 223 245 141
++18 240 236 121 19 240 236 121
++19 247 215 104 20 247 215 104
++20 255 189 87 21 255 189 87
++21 255 160 69 22 255 160 69
++22 244 117 75 23 244 117 75
++23 238 80 78 24 238 80 78
++24 255 90 90 25 255 90 90
++25 255 124 124 26 255 124 124
++26 255 158 158 27 255 158 158
++27 245 179 174 28 245 179 174
++28 255 196 196 29 255 196 196
++29 255 215 215 30 255 215 215
++30 255 235 235 31 255 235 235
++31 255 255 255 32 255 255 255
diff --git a/media-gfx/cptutils/metadata.xml b/media-gfx/cptutils/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-gfx/cptutils/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>