1 |
commit: ea879b8f696e93ac6cc4dfa92e0d5c702d4fe00d |
2 |
Author: Markus Meier <maekke <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 28 20:03:39 2013 +0000 |
4 |
Commit: Markus Meier <maekke <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 28 20:03:39 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/maekke.git;a=commit;h=ea879b8f |
7 |
|
8 |
sync media-gfx/enblend and add cmake-based ebuild for 4.1.1 |
9 |
|
10 |
Package-Manager: portage-2.2.1 |
11 |
Manifest-Sign-Key: 072AD062 |
12 |
|
13 |
--- |
14 |
media-gfx/enblend/ChangeLog | 18 +- |
15 |
media-gfx/enblend/Manifest | 21 +- |
16 |
media-gfx/enblend/enblend-4.0.ebuild | 85 -------- |
17 |
media-gfx/enblend/enblend-4.1.1-r1.ebuild | 65 ++++++ |
18 |
media-gfx/enblend/enblend-4.1.1.ebuild | 6 +- |
19 |
media-gfx/enblend/enblend-4.1.ebuild | 81 -------- |
20 |
media-gfx/enblend/files/enblend-4.0-libpng14.patch | 13 -- |
21 |
media-gfx/enblend/files/enblend-4.0-libpng15.patch | 220 --------------------- |
22 |
8 files changed, 96 insertions(+), 413 deletions(-) |
23 |
|
24 |
diff --git a/media-gfx/enblend/ChangeLog b/media-gfx/enblend/ChangeLog |
25 |
index ab93e14..0b0d665 100644 |
26 |
--- a/media-gfx/enblend/ChangeLog |
27 |
+++ b/media-gfx/enblend/ChangeLog |
28 |
@@ -1,6 +1,19 @@ |
29 |
# ChangeLog for media-gfx/enblend |
30 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.50 2012/12/11 22:33:45 maekke Exp $ |
32 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
33 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.53 2013/05/08 08:50:30 radhermit Exp $ |
34 |
+ |
35 |
+ 08 May 2013; Tim Harder <radhermit@g.o> -enblend-4.0.ebuild, |
36 |
+ -files/enblend-4.0-libpng14.patch, -files/enblend-4.0-libpng15.patch, |
37 |
+ -enblend-4.1.ebuild: |
38 |
+ Remove old. |
39 |
+ |
40 |
+ 11 Apr 2013; Vicente Olivert Riera <vincent@g.o> enblend-4.1.1.ebuild: |
41 |
+ amd64, ppc and x86 stable, wrt bug #465428 |
42 |
+ |
43 |
+*enblend-4.1.1 (03 Mar 2013) |
44 |
+ |
45 |
+ 03 Mar 2013; Markus Meier <maekke@g.o> +enblend-4.1.1.ebuild: |
46 |
+ version bump |
47 |
|
48 |
11 Dec 2012; Markus Meier <maekke@g.o> enblend-4.1.ebuild: |
49 |
add missing sci-libs/gsl dependency by Martin Jansa in bug #446816 |
50 |
@@ -196,4 +209,3 @@ |
51 |
+enblend-2.1.ebuild: |
52 |
First commit, thanks to David Grant <david.grant@×××××.net> for the updated |
53 |
ebuild |
54 |
- |
55 |
|
56 |
diff --git a/media-gfx/enblend/Manifest b/media-gfx/enblend/Manifest |
57 |
index 6be1982..8396aa8 100644 |
58 |
--- a/media-gfx/enblend/Manifest |
59 |
+++ b/media-gfx/enblend/Manifest |
60 |
@@ -1,10 +1,15 @@ |
61 |
-AUX enblend-4.0-libpng14.patch 625 SHA256 814dcb17d2e4d9d246ddeb7d6f477a0dcfa388af73d7fe004d8eb42f044c47c4 SHA512 b1acfb999cb8d37cb3e1020f081114b75b21842ff19629c99d407825436b54105377aa7c2b2e26e7194a86eab2834f77f22a2e7ad9ba530db439f411649678f7 WHIRLPOOL d498123036e0d23a1024773ad4b6c44fdcbf89c54f0093333b992d54959df91842b738ac1e3e6262f3e89245157422c2288e56e1cfb1f17964c24f10613bfc4a |
62 |
-AUX enblend-4.0-libpng15.patch 9442 SHA256 05350a8dd5810a2940d65975af4b121375bc49dcb09a9fc36111aaf8ada02a3b SHA512 3b283fdd0af3f09d1b486251b8fcae8175914c7e2fe693b0ef054a647ad2d8d1b7409b03146d33065d883b66b06c10ba18b1ace8de7379023d7e9082224e80a7 WHIRLPOOL f6d9b065ade9a98bb6042d3b111b5bb42dfccfac334bc406461ee273c5735a52366ffe69cc79c2912b4af7aa42e99c37932c1166120a2ee3f5ec99ed00bb6b03 |
63 |
-DIST enblend-enfuse-4.0.tar.gz 1047295 SHA256 fe42f41dc35bf4abb2a33623976593788717fff66a6ff048b7f8a3cb70b113b2 SHA512 a5ac7e3cd34eee136d6580d47455b9abf652272049e5b6aaf4210c3ab664ecdb2b81ad21038eae7f1f03df1e395b10436747ca25f3707dc19a1078429b63adc3 WHIRLPOOL 3fe0776d07ac9b4fa073d50d872855a3b4e80166ee4a054ff30ce8a69927e8f5aec3b7f10f5275e2862276c968ca744b8d003084c7721c764d3ddb781a9be727 |
64 |
+-----BEGIN PGP SIGNED MESSAGE----- |
65 |
+Hash: SHA256 |
66 |
+ |
67 |
DIST enblend-enfuse-4.1.1.tar.gz 850214 SHA256 9d0947633ebaa0dc1211331b31009408de6fe2108751ad4190760e3a9f181bc9 SHA512 dd4c8f205986beef1268210a8ccad10107125fc15a45b2e7266f250d36a294356f557d577b80e923e04b5f14ed5f6070201793c067cc3a2e7d6020cf5669a61f WHIRLPOOL c9938499116f26f3bfe6eae874414722a15380cbda959c82315bb124cb7b58456550174b0d43355d924cb6e107ef3ee4d1b83f8adc82d7144d974b66207ff965 |
68 |
-DIST enblend-enfuse-4.1.tar.gz 857011 SHA256 cdf59cc4963846b9fb0c934dd8f8c5630414e1c45abb1ee3efc21021a0e427a2 SHA512 062f54330828d1830ab6053c13d027c06736030157039664b9153cb0b648d9fc4133a5c589cf4cc673933a1535a2f6ec4e4b5414706ab14bb92673f45c2d9fd8 WHIRLPOOL 2b4f387a40609d2d3812dd53195cc1824db60761b1183ff6ea55d6f74c3f70f4d59ad6c1d786f4c142bad69da9d1234ae3c0eebcf709e4b8bc2f6b1f6bb97040 |
69 |
-EBUILD enblend-4.0.ebuild 2034 SHA256 e1c94e44521b0c448318769edeb814bf709a84b3e23d7dd6f9d8ec9561afc1f3 SHA512 4c38c6d6f120bdba10573bb04f4665ad0fc4f48b4636fbfafdb405f4356af1fddc403c8b40900dc2ad17a34bc7b12ae96ea758a97472954c45204c1f642d2d8e WHIRLPOOL a90c892f0ae429283057bd0e68a7ed4e91b6dd0d8e4c7e00e74550400c5fd3b82d69a6cb0351b6e36293cadbfcc4757c3ff22da851209a05fe4d3a7564cfaabe |
70 |
-EBUILD enblend-4.1.1.ebuild 1937 SHA256 76f17398cbf741eb89006b829992b21ab7e67d633e119ba57a3bee9950d63eff SHA512 6cab74edf1d0b81ef2fc2631c2537033fe5e1ce1459c94121952f6d943f13c1ce13af809c6ab36870e838288acafb5daf2722c5a9267baf14f1e862b1a14a462 WHIRLPOOL 9a1bbb9b6a545d55a9f1401a262803888375190f91869bc5bf5b13c7801d89481ef948f558a2487ebe5b988ef54cb51b6a6b3b5bd88de411f991b63fb2213d6b |
71 |
-EBUILD enblend-4.1.ebuild 1937 SHA256 76f17398cbf741eb89006b829992b21ab7e67d633e119ba57a3bee9950d63eff SHA512 6cab74edf1d0b81ef2fc2631c2537033fe5e1ce1459c94121952f6d943f13c1ce13af809c6ab36870e838288acafb5daf2722c5a9267baf14f1e862b1a14a462 WHIRLPOOL 9a1bbb9b6a545d55a9f1401a262803888375190f91869bc5bf5b13c7801d89481ef948f558a2487ebe5b988ef54cb51b6a6b3b5bd88de411f991b63fb2213d6b |
72 |
-MISC ChangeLog 6670 SHA256 6610399ce13febb2f430d043022add9776c62cdaa48973d073b39d71fffdf3a7 SHA512 a9ba8621c4fcc75d3816fa101cdbb58fd6ad8b1448be3337df19a9f9bc7c9d978e8b71a9b93d16449b06f1742db236f93cd07a511dcec1841afb3fcba56df432 WHIRLPOOL 4b8f05bc1530436fe1708496b570fa8695ea0c6300c37f953c6915e052da98e0277c428273d83db3074b444511c5e98e878faa3b5630d7108dcdbe144b4e6cdb |
73 |
+EBUILD enblend-4.1.1-r1.ebuild 1548 SHA256 73d15a3777f7ba06c0f96c65fa2b81f0088959d476b3b5a15866062fcd320bcf SHA512 aebfcc50af7f5148d6f4308b9c3495d70051264af23e10ae9c6fcde635f411990b14b715f8ecdc82afd17f9a170f7ca0365369e9942c9e428e1219bdc4de5647 WHIRLPOOL 267d04e8cbb2e2368c94120dd300c7ee920804a09721f9d5a9932405b2233692bebcd9b4df895cbe0569284dbbc0313a3a29ddedeafb5abbb5d19fff3b798000 |
74 |
+EBUILD enblend-4.1.1.ebuild 1937 SHA256 a7c519f40c3c4b9149bf7fed592280cc29bad5da2cf8a594e9d8885ced21937a SHA512 d5be6d54b83c917e352c1a8e354cf730fa61679d14b46208f274fbae7a127bb5115902ac4e2997864544e904678f39c541c6dadb5c8bc0560913f262e3f104a8 WHIRLPOOL 5475db49caae94c7a92df20a10b4d0332f5049e2ba0e4386e0e4fecea93fdc46ebfc817b41c296449fc2724bd301496bebb58062041bec0aa39978fe3a8be6dc |
75 |
+MISC ChangeLog 7095 SHA256 978091f06cf9de8667d9ece2a8358dee33dda13f6c2b5e3aa2e08f6e09e69fb2 SHA512 9f6787bdecb0b055c2ea256c746d5ab5eb43874748d0bd9d7a383b06fa096e984ff0e5688461baea4e69c2194c07e09d3ea62ec6a5b44392c36e4ee6d0af2fa2 WHIRLPOOL 77b6fb1858b87e8a7667e1bd828418e0d74dd0c267bcc0048368b97632595451c716eaffadbd55d93763b9b620634de6902961adf27250dbd8133bc9bbb9b7df |
76 |
MISC metadata.xml 298 SHA256 5d3fcb04b17733010c038cd4b18d4fff78a7ca252ebf3610ecdf353f7dce76f3 SHA512 a92eebec232855ca89459a7c112c54c65f9ffb6e40e712da5eb9369b8389e1278768441a4c83a901ce90640adb321d068ed96bc95d63b6048bf4b7c90b5c999a WHIRLPOOL 015f7e2a6cdc965f1b385358bbdf3d2c784f044a0134018bce3aec87fd64677b2e6b04a3d6279d51dddd2a07b09d7b6fe43fe60fd74b7546104bbeff1231406a |
77 |
+-----BEGIN PGP SIGNATURE----- |
78 |
+Version: GnuPG v2.0.20 (GNU/Linux) |
79 |
+ |
80 |
+iEYEAREIAAYFAlIeV5sACgkQkKaRLQcq0GInAACfQs8yHv7Jn6L82Oaxttlitgnm |
81 |
+GvEAn3rpswtLs9vod6qB3mQaiO7VMM7/ |
82 |
+=hUTT |
83 |
+-----END PGP SIGNATURE----- |
84 |
|
85 |
diff --git a/media-gfx/enblend/enblend-4.0.ebuild b/media-gfx/enblend/enblend-4.0.ebuild |
86 |
deleted file mode 100644 |
87 |
index 82ad606..0000000 |
88 |
--- a/media-gfx/enblend/enblend-4.0.ebuild |
89 |
+++ /dev/null |
90 |
@@ -1,85 +0,0 @@ |
91 |
-# Copyright 1999-2012 Gentoo Foundation |
92 |
-# Distributed under the terms of the GNU General Public License v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.0.ebuild,v 1.12 2012/05/05 07:00:26 jdhore Exp $ |
94 |
- |
95 |
-EAPI=2 |
96 |
- |
97 |
-inherit eutils |
98 |
- |
99 |
-DESCRIPTION="Image Blending with Multiresolution Splines" |
100 |
-HOMEPAGE="http://enblend.sourceforge.net/" |
101 |
-SRC_URI="mirror://sourceforge/enblend/${PN}-enfuse-${PV/_rc/RC}.tar.gz" |
102 |
- |
103 |
-LICENSE="GPL-2 VIGRA" |
104 |
-SLOT="0" |
105 |
-KEYWORDS="amd64 ppc x86" |
106 |
-IUSE="debug doc gpu +image-cache +openexr openmp" |
107 |
- |
108 |
-RDEPEND=" |
109 |
- media-libs/glew |
110 |
- =media-libs/lcms-1* |
111 |
- >=media-libs/libpng-1.2.43 |
112 |
- media-libs/plotutils[X] |
113 |
- media-libs/tiff |
114 |
- virtual/jpeg |
115 |
- gpu? ( media-libs/freeglut ) |
116 |
- openexr? ( >=media-libs/openexr-1.0 )" |
117 |
-DEPEND="${RDEPEND} |
118 |
- >=dev-libs/boost-1.31.0 |
119 |
- virtual/pkgconfig |
120 |
- doc? ( |
121 |
- media-gfx/transfig |
122 |
- sci-visualization/gnuplot[gd] |
123 |
- virtual/latex-base |
124 |
- )" |
125 |
- |
126 |
-S="${WORKDIR}/${PN}-enfuse-4.0-753b534c819d" |
127 |
- |
128 |
-pkg_setup() { |
129 |
- if use image-cache && use openmp; then |
130 |
- ewarn "the openmp and image-cache USE-flags are mutually exclusive" |
131 |
- ewarn "image-cache will be disabled in favour of openmp" |
132 |
- fi |
133 |
-} |
134 |
- |
135 |
-src_prepare() { |
136 |
- epatch "${FILESDIR}"/${P}-libpng14.patch |
137 |
- |
138 |
- # 378677, temp workaround |
139 |
- has_version ">=media-libs/libpng-1.5" && epatch \ |
140 |
- "${FILESDIR}"/${P}-libpng15.patch |
141 |
-} |
142 |
- |
143 |
-src_configure() { |
144 |
- local myconf="" |
145 |
- if use image-cache && use openmp; then |
146 |
- myconf="--disable-image-cache --enable-openmp" |
147 |
- else |
148 |
- myconf="$(use_enable image-cache) $(use_enable openmp)" |
149 |
- fi |
150 |
- |
151 |
- use doc && myconf="${myconf} --with-gnuplot=$(type -p gnuplot)" \ |
152 |
- || myconf="${myconf} --with-gnuplot=false" |
153 |
- |
154 |
- econf \ |
155 |
- --with-x \ |
156 |
- $(use_enable debug) \ |
157 |
- $(use_enable gpu gpu-support) \ |
158 |
- $(use_with openexr) \ |
159 |
- ${myconf} |
160 |
-} |
161 |
- |
162 |
-src_compile() { |
163 |
- # forcing -j1 as every parallel compilation process needs about 1 GB RAM. |
164 |
- emake -j1 || die |
165 |
- if use doc; then |
166 |
- cd doc |
167 |
- make enblend.pdf enfuse.pdf || die |
168 |
- fi |
169 |
-} |
170 |
- |
171 |
-src_install() { |
172 |
- emake DESTDIR="${D}" install || die |
173 |
- dodoc AUTHORS ChangeLog NEWS README || die |
174 |
- use doc && dodoc doc/en{blend,fuse}.pdf |
175 |
-} |
176 |
|
177 |
diff --git a/media-gfx/enblend/enblend-4.1.1-r1.ebuild b/media-gfx/enblend/enblend-4.1.1-r1.ebuild |
178 |
new file mode 100644 |
179 |
index 0000000..f94d89d |
180 |
--- /dev/null |
181 |
+++ b/media-gfx/enblend/enblend-4.1.1-r1.ebuild |
182 |
@@ -0,0 +1,65 @@ |
183 |
+# Copyright 1999-2013 Gentoo Foundation |
184 |
+# Distributed under the terms of the GNU General Public License v2 |
185 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.1.1.ebuild,v 1.2 2013/04/11 20:12:38 vincent Exp $ |
186 |
+ |
187 |
+EAPI=5 |
188 |
+ |
189 |
+inherit cmake-utils |
190 |
+ |
191 |
+MY_P="${PN}-enfuse-${PV/_rc/rc}" |
192 |
+ |
193 |
+DESCRIPTION="Image Blending with Multiresolution Splines" |
194 |
+HOMEPAGE="http://enblend.sourceforge.net/" |
195 |
+SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" |
196 |
+ |
197 |
+LICENSE="GPL-2 VIGRA" |
198 |
+SLOT="0" |
199 |
+KEYWORDS="~amd64 ~ppc ~x86" |
200 |
+IUSE="debug doc gpu image-cache openmp" |
201 |
+ |
202 |
+REQUIRED_USE="openmp? ( !image-cache )" |
203 |
+ |
204 |
+RDEPEND=" |
205 |
+ media-libs/glew |
206 |
+ =media-libs/lcms-2* |
207 |
+ >=media-libs/libpng-1.2.43:0= |
208 |
+ >=media-libs/openexr-1.0 |
209 |
+ media-libs/plotutils[X] |
210 |
+ media-libs/tiff |
211 |
+ >=media-libs/vigra-1.8.0 |
212 |
+ sci-libs/gsl |
213 |
+ virtual/jpeg:0= |
214 |
+ debug? ( dev-libs/dmalloc ) |
215 |
+ gpu? ( media-libs/freeglut )" |
216 |
+DEPEND="${RDEPEND} |
217 |
+ >=dev-libs/boost-1.31.0 |
218 |
+ virtual/pkgconfig |
219 |
+ doc? ( |
220 |
+ media-gfx/imagemagick |
221 |
+ media-gfx/transfig |
222 |
+ sci-visualization/gnuplot[gd] |
223 |
+ virtual/latex-base |
224 |
+ )" |
225 |
+ |
226 |
+S="${WORKDIR}/${MY_P}" |
227 |
+ |
228 |
+src_prepare() { |
229 |
+ sed -i -e "s:doc/enblend:doc/${P}:" doc/CMakeLists.txt || die |
230 |
+ cmake-utils_src_prepare |
231 |
+} |
232 |
+ |
233 |
+src_configure() { |
234 |
+ local mycmakeargs=( |
235 |
+ $(cmake-utils_use_enable debug DMALLOC) |
236 |
+ $(cmake-utils_use doc DOC) |
237 |
+ $(cmake-utils_use_enable image-cache IMAGECACHE) |
238 |
+ $(cmake-utils_use_enable openmp) |
239 |
+ $(cmake-utils_use_enable gpu OPENCL) |
240 |
+ ) |
241 |
+ cmake-utils_src_configure |
242 |
+} |
243 |
+ |
244 |
+src_compile() { |
245 |
+ # forcing -j1 as every parallel compilation process needs about 1 GB RAM. |
246 |
+ enable_cmake-utils_src_compile -j1 |
247 |
+} |
248 |
|
249 |
diff --git a/media-gfx/enblend/enblend-4.1.1.ebuild b/media-gfx/enblend/enblend-4.1.1.ebuild |
250 |
index c2210f8..1394af1 100644 |
251 |
--- a/media-gfx/enblend/enblend-4.1.1.ebuild |
252 |
+++ b/media-gfx/enblend/enblend-4.1.1.ebuild |
253 |
@@ -1,6 +1,6 @@ |
254 |
-# Copyright 1999-2012 Gentoo Foundation |
255 |
+# Copyright 1999-2013 Gentoo Foundation |
256 |
# Distributed under the terms of the GNU General Public License v2 |
257 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.1.ebuild,v 1.2 2012/12/11 22:33:45 maekke Exp $ |
258 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.1.1.ebuild,v 1.2 2013/04/11 20:12:38 vincent Exp $ |
259 |
|
260 |
EAPI=2 |
261 |
|
262 |
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" |
263 |
|
264 |
LICENSE="GPL-2 VIGRA" |
265 |
SLOT="0" |
266 |
-KEYWORDS="~amd64 ~ppc ~x86" |
267 |
+KEYWORDS="amd64 ppc x86" |
268 |
IUSE="debug doc gpu +image-cache +openexr openmp" |
269 |
|
270 |
RDEPEND=" |
271 |
|
272 |
diff --git a/media-gfx/enblend/enblend-4.1.ebuild b/media-gfx/enblend/enblend-4.1.ebuild |
273 |
deleted file mode 100644 |
274 |
index c2210f8..0000000 |
275 |
--- a/media-gfx/enblend/enblend-4.1.ebuild |
276 |
+++ /dev/null |
277 |
@@ -1,81 +0,0 @@ |
278 |
-# Copyright 1999-2012 Gentoo Foundation |
279 |
-# Distributed under the terms of the GNU General Public License v2 |
280 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.1.ebuild,v 1.2 2012/12/11 22:33:45 maekke Exp $ |
281 |
- |
282 |
-EAPI=2 |
283 |
- |
284 |
-inherit eutils |
285 |
- |
286 |
-MY_P="${PN}-enfuse-${PV/_rc/rc}" |
287 |
- |
288 |
-DESCRIPTION="Image Blending with Multiresolution Splines" |
289 |
-HOMEPAGE="http://enblend.sourceforge.net/" |
290 |
-SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz" |
291 |
- |
292 |
-LICENSE="GPL-2 VIGRA" |
293 |
-SLOT="0" |
294 |
-KEYWORDS="~amd64 ~ppc ~x86" |
295 |
-IUSE="debug doc gpu +image-cache +openexr openmp" |
296 |
- |
297 |
-RDEPEND=" |
298 |
- media-libs/glew |
299 |
- =media-libs/lcms-2* |
300 |
- >=media-libs/libpng-1.2.43 |
301 |
- media-libs/plotutils[X] |
302 |
- media-libs/tiff |
303 |
- >=media-libs/vigra-1.8.0 |
304 |
- sci-libs/gsl |
305 |
- virtual/jpeg |
306 |
- gpu? ( media-libs/freeglut ) |
307 |
- openexr? ( >=media-libs/openexr-1.0 )" |
308 |
-DEPEND="${RDEPEND} |
309 |
- >=dev-libs/boost-1.31.0 |
310 |
- virtual/pkgconfig |
311 |
- doc? ( |
312 |
- media-gfx/transfig |
313 |
- sci-visualization/gnuplot[gd] |
314 |
- virtual/latex-base |
315 |
- )" |
316 |
- |
317 |
-S="${WORKDIR}/${MY_P}" |
318 |
- |
319 |
-pkg_setup() { |
320 |
- if use image-cache && use openmp; then |
321 |
- ewarn "the openmp and image-cache USE-flags are mutually exclusive" |
322 |
- ewarn "image-cache will be disabled in favour of openmp" |
323 |
- fi |
324 |
-} |
325 |
- |
326 |
-src_configure() { |
327 |
- local myconf="--with-boost-filesystem" |
328 |
- if use image-cache && use openmp; then |
329 |
- myconf="${myconf} --disable-image-cache --enable-openmp" |
330 |
- else |
331 |
- myconf="${myconf} $(use_enable image-cache) $(use_enable openmp)" |
332 |
- fi |
333 |
- |
334 |
- use doc && myconf="${myconf} --with-gnuplot=$(type -p gnuplot)" \ |
335 |
- || myconf="${myconf} --with-gnuplot=false" |
336 |
- |
337 |
- econf \ |
338 |
- --with-x \ |
339 |
- $(use_enable debug) \ |
340 |
- $(use_enable gpu gpu-support) \ |
341 |
- $(use_with openexr) \ |
342 |
- ${myconf} |
343 |
-} |
344 |
- |
345 |
-src_compile() { |
346 |
- # forcing -j1 as every parallel compilation process needs about 1 GB RAM. |
347 |
- emake -j1 || die |
348 |
- if use doc; then |
349 |
- cd doc |
350 |
- make enblend.pdf enfuse.pdf || die |
351 |
- fi |
352 |
-} |
353 |
- |
354 |
-src_install() { |
355 |
- emake DESTDIR="${D}" install || die |
356 |
- dodoc AUTHORS ChangeLog NEWS README || die |
357 |
- use doc && dodoc doc/en{blend,fuse}.pdf |
358 |
-} |
359 |
|
360 |
diff --git a/media-gfx/enblend/files/enblend-4.0-libpng14.patch b/media-gfx/enblend/files/enblend-4.0-libpng14.patch |
361 |
deleted file mode 100644 |
362 |
index 2fe3846..0000000 |
363 |
--- a/media-gfx/enblend/files/enblend-4.0-libpng14.patch |
364 |
+++ /dev/null |
365 |
@@ -1,13 +0,0 @@ |
366 |
---- src/vigra_impex/png.cxx |
367 |
-+++ src/vigra_impex/png.cxx |
368 |
-@@ -274,8 +274,8 @@ |
369 |
- // expand gray values to at least one byte size |
370 |
- if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) { |
371 |
- if (setjmp(png->jmpbuf)) |
372 |
-- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str()); |
373 |
-- png_set_gray_1_2_4_to_8(png); |
374 |
-+ vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str()); |
375 |
-+ png_set_expand_gray_1_2_4_to_8(png); |
376 |
- bit_depth = 8; |
377 |
- } |
378 |
- |
379 |
|
380 |
diff --git a/media-gfx/enblend/files/enblend-4.0-libpng15.patch b/media-gfx/enblend/files/enblend-4.0-libpng15.patch |
381 |
deleted file mode 100644 |
382 |
index d4465cc..0000000 |
383 |
--- a/media-gfx/enblend/files/enblend-4.0-libpng15.patch |
384 |
+++ /dev/null |
385 |
@@ -1,220 +0,0 @@ |
386 |
---- src/vigra_impex/png.cxx |
387 |
-+++ src/vigra_impex/png.cxx |
388 |
-@@ -81,7 +81,7 @@ |
389 |
- static void PngError( png_structp png_ptr, png_const_charp error_msg ) |
390 |
- { |
391 |
- png_error_message = std::string(error_msg); |
392 |
-- longjmp( png_ptr->jmpbuf, 1 ); |
393 |
-+ longjmp( png_jmpbuf( png_ptr ), 1 ); |
394 |
- } |
395 |
- |
396 |
- // called on non-fatal errors |
397 |
-@@ -213,7 +213,7 @@ |
398 |
- vigra_postcondition( png != 0, "could not create the read struct." ); |
399 |
- |
400 |
- // create info struct |
401 |
-- if (setjmp(png->jmpbuf)) { |
402 |
-+ if (setjmp(png_jmpbuf( png ))) { |
403 |
- png_destroy_read_struct( &png, &info, NULL ); |
404 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_create_info_struct(): ").c_str() ); |
405 |
- } |
406 |
-@@ -221,14 +221,14 @@ |
407 |
- vigra_postcondition( info != 0, "could not create the info struct." ); |
408 |
- |
409 |
- // init png i/o |
410 |
-- if (setjmp(png->jmpbuf)) { |
411 |
-+ if (setjmp(png_jmpbuf( png ))) { |
412 |
- png_destroy_read_struct( &png, &info, NULL ); |
413 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_init_io(): ").c_str() ); |
414 |
- } |
415 |
- png_init_io( png, file.get() ); |
416 |
- |
417 |
- // specify that the signature was already read |
418 |
-- if (setjmp(png->jmpbuf)) { |
419 |
-+ if (setjmp(png_jmpbuf( png ))) { |
420 |
- png_destroy_read_struct( &png, &info, NULL ); |
421 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_set_sig_bytes(): ").c_str() ); |
422 |
- } |
423 |
-@@ -244,13 +244,13 @@ |
424 |
- void PngDecoderImpl::init() |
425 |
- { |
426 |
- // read all chunks up to the image data |
427 |
-- if (setjmp(png->jmpbuf)) |
428 |
-+ if (setjmp(png_jmpbuf( png ))) |
429 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_read_info(): ").c_str() ); |
430 |
- png_read_info( png, info ); |
431 |
- |
432 |
- // pull over the header fields |
433 |
- int interlace_method, compression_method, filter_method; |
434 |
-- if (setjmp(png->jmpbuf)) |
435 |
-+ if (setjmp(png_jmpbuf( png ))) |
436 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_get_IHDR(): ").c_str() ); |
437 |
- png_get_IHDR( png, info, &width, &height, &bit_depth, &color_type, |
438 |
- &interlace_method, &compression_method, &filter_method ); |
439 |
-@@ -264,7 +264,7 @@ |
440 |
- |
441 |
- // transform palette to rgb |
442 |
- if ( color_type == PNG_COLOR_TYPE_PALETTE) { |
443 |
-- if (setjmp(png->jmpbuf)) |
444 |
-+ if (setjmp(png_jmpbuf( png ))) |
445 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_palette_to_rgb(): ").c_str() ); |
446 |
- png_set_palette_to_rgb(png); |
447 |
- color_type = PNG_COLOR_TYPE_RGB; |
448 |
-@@ -273,7 +273,7 @@ |
449 |
- |
450 |
- // expand gray values to at least one byte size |
451 |
- if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) { |
452 |
-- if (setjmp(png->jmpbuf)) |
453 |
-+ if (setjmp(png_jmpbuf( png ))) |
454 |
- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str()); |
455 |
- png_set_expand_gray_1_2_4_to_8(png); |
456 |
- bit_depth = 8; |
457 |
-@@ -283,7 +283,7 @@ |
458 |
- #if 0 |
459 |
- // strip alpha channel |
460 |
- if ( color_type & PNG_COLOR_MASK_ALPHA ) { |
461 |
-- if (setjmp(png->jmpbuf)) |
462 |
-+ if (setjmp(png_jmpbuf( png ))) |
463 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_set_strip_alpha(): ").c_str() ); |
464 |
- png_set_strip_alpha(png); |
465 |
- color_type ^= PNG_COLOR_MASK_ALPHA; |
466 |
-@@ -323,12 +323,12 @@ |
467 |
- |
468 |
- // read icc profile |
469 |
- #if (PNG_LIBPNG_VER > 10008) && defined(PNG_READ_iCCP_SUPPORTED) |
470 |
-- char * dummyName; |
471 |
-+ png_charpp dummyName; |
472 |
- int dummyCompType; |
473 |
-- char * profilePtr; |
474 |
-+ png_bytepp profilePtr; |
475 |
- png_uint_32 profileLen; |
476 |
-- if (info->valid & PNG_INFO_iCCP) { |
477 |
-- png_get_iCCP(png, info, &dummyName, &dummyCompType, &profilePtr, &profileLen) ; |
478 |
-+ if (png_get_valid(png, info, PNG_INFO_iCCP)) { |
479 |
-+ png_get_iCCP(png, info, dummyName, &dummyCompType, profilePtr, &profileLen) ; |
480 |
- iccProfilePtr = (unsigned char *) profilePtr; |
481 |
- iccProfileLength = profileLen; |
482 |
- } |
483 |
-@@ -340,7 +340,7 @@ |
484 |
- // image gamma |
485 |
- double image_gamma = 0.45455; |
486 |
- if ( png_get_valid( png, info, PNG_INFO_gAMA ) ) { |
487 |
-- if (setjmp(png->jmpbuf)) |
488 |
-+ if (setjmp(png_jmpbuf( png ))) |
489 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_get_gAMA(): ").c_str() ); |
490 |
- png_get_gAMA( png, info, &image_gamma ); |
491 |
- } |
492 |
-@@ -349,26 +349,26 @@ |
493 |
- double screen_gamma = 2.2; |
494 |
- |
495 |
- // set gamma correction |
496 |
-- if (setjmp(png->jmpbuf)) |
497 |
-+ if (setjmp(png_jmpbuf( png ))) |
498 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_set_gamma(): ").c_str() ); |
499 |
- png_set_gamma( png, screen_gamma, image_gamma ); |
500 |
- #endif |
501 |
- |
502 |
- // interlace handling, get number of read passes needed |
503 |
-- if (setjmp(png->jmpbuf)) |
504 |
-+ if (setjmp(png_jmpbuf( png ))) |
505 |
- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_interlace_handling(): ").c_str()); |
506 |
- n_interlace_passes = png_set_interlace_handling(png); |
507 |
- |
508 |
- // update png library state to reflect any changes that were made |
509 |
-- if (setjmp(png->jmpbuf)) |
510 |
-+ if (setjmp(png_jmpbuf( png ))) |
511 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_read_update_info(): ").c_str() ); |
512 |
- png_read_update_info( png, info ); |
513 |
- |
514 |
-- if (setjmp(png->jmpbuf)) |
515 |
-+ if (setjmp(png_jmpbuf( png ))) |
516 |
- vigra_postcondition( false,png_error_message.insert(0, "error in png_get_channels(): ").c_str()); |
517 |
- n_channels = png_get_channels(png, info); |
518 |
- |
519 |
-- if (setjmp(png->jmpbuf)) |
520 |
-+ if (setjmp(png_jmpbuf( png ))) |
521 |
- vigra_postcondition( false,png_error_message.insert(0, "error in png_get_rowbytes(): ").c_str()); |
522 |
- rowsize = png_get_rowbytes(png, info); |
523 |
- |
524 |
-@@ -379,7 +379,7 @@ |
525 |
- void PngDecoderImpl::nextScanline() |
526 |
- { |
527 |
- for (int i=0; i < n_interlace_passes; i++) { |
528 |
-- if (setjmp(png->jmpbuf)) |
529 |
-+ if (setjmp(png_jmpbuf( png ))) |
530 |
- vigra_postcondition( false,png_error_message.insert(0, "error in png_read_row(): ").c_str()); |
531 |
- png_read_row(png, row_data.begin(), NULL); |
532 |
- } |
533 |
-@@ -545,7 +545,7 @@ |
534 |
- vigra_postcondition( png != 0, "could not create the write struct." ); |
535 |
- |
536 |
- // create info struct |
537 |
-- if (setjmp(png->jmpbuf)) { |
538 |
-+ if (setjmp(png_jmpbuf( png ))) { |
539 |
- png_destroy_write_struct( &png, &info ); |
540 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_info_struct(): ").c_str() ); |
541 |
- } |
542 |
-@@ -556,7 +556,7 @@ |
543 |
- } |
544 |
- |
545 |
- // init png i/o |
546 |
-- if (setjmp(png->jmpbuf)) { |
547 |
-+ if (setjmp(png_jmpbuf( png ))) { |
548 |
- png_destroy_write_struct( &png, &info ); |
549 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_init_io(): ").c_str() ); |
550 |
- } |
551 |
-@@ -571,7 +571,7 @@ |
552 |
- void PngEncoderImpl::finalize() |
553 |
- { |
554 |
- // write the IHDR |
555 |
-- if (setjmp(png->jmpbuf)) |
556 |
-+ if (setjmp(png_jmpbuf( png ))) |
557 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_set_IHDR(): ").c_str() ); |
558 |
- png_set_IHDR( png, info, width, height, bit_depth, color_type, |
559 |
- PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, |
560 |
-@@ -579,7 +579,7 @@ |
561 |
- |
562 |
- // set resolution |
563 |
- if (x_resolution > 0 && y_resolution > 0) { |
564 |
-- if (setjmp(png->jmpbuf)) |
565 |
-+ if (setjmp(png_jmpbuf( png ))) |
566 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_set_pHYs(): ").c_str() ); |
567 |
- png_set_pHYs(png, info, (png_uint_32) (x_resolution / 0.0254 + 0.5), |
568 |
- (png_uint_32) (y_resolution / 0.0254 + 0.5), |
569 |
-@@ -588,7 +588,7 @@ |
570 |
- |
571 |
- // set offset |
572 |
- if (position.x > 0 && position.y > 0) { |
573 |
-- if (setjmp(png->jmpbuf)) |
574 |
-+ if (setjmp(png_jmpbuf( png ))) |
575 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_set_oFFs(): ").c_str() ); |
576 |
- png_set_oFFs(png, info, position.x, position.y, PNG_OFFSET_PIXEL); |
577 |
- } |
578 |
-@@ -597,12 +597,12 @@ |
579 |
- // set icc profile |
580 |
- if (iccProfile.size() > 0) { |
581 |
- png_set_iCCP(png, info, "icc", 0, |
582 |
-- (char *)iccProfile.begin(), iccProfile.size()); |
583 |
-+ iccProfile.begin(), iccProfile.size()); |
584 |
- } |
585 |
- #endif |
586 |
- |
587 |
- // write the info struct |
588 |
-- if (setjmp(png->jmpbuf)) |
589 |
-+ if (setjmp(png_jmpbuf( png ))) |
590 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_write_info(): ").c_str() ); |
591 |
- png_write_info( png, info ); |
592 |
- |
593 |
-@@ -634,10 +634,10 @@ |
594 |
- } |
595 |
- |
596 |
- // write the whole image |
597 |
-- if (setjmp(png->jmpbuf)) |
598 |
-+ if (setjmp(png_jmpbuf( png ))) |
599 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_write_image(): ").c_str() ); |
600 |
- png_write_image( png, row_pointers.begin() ); |
601 |
-- if (setjmp(png->jmpbuf)) |
602 |
-+ if (setjmp(png_jmpbuf( png ))) |
603 |
- vigra_postcondition( false, png_error_message.insert(0, "error in png_write_end(): ").c_str() ); |
604 |
- png_write_end(png, info); |
605 |
- } |