1 |
radhermit 15/07/05 04:01:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: imagemagick-6.9.1.7.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.592 media-gfx/imagemagick/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.592&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.592&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?r1=1.591&r2=1.592 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v |
20 |
retrieving revision 1.591 |
21 |
retrieving revision 1.592 |
22 |
diff -u -r1.591 -r1.592 |
23 |
--- ChangeLog 4 Jul 2015 13:24:46 -0000 1.591 |
24 |
+++ ChangeLog 5 Jul 2015 04:01:57 -0000 1.592 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-gfx/imagemagick |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.591 2015/07/04 13:24:46 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.592 2015/07/05 04:01:57 radhermit Exp $ |
30 |
+ |
31 |
+*imagemagick-6.9.1.7 (05 Jul 2015) |
32 |
+ |
33 |
+ 05 Jul 2015; Tim Harder <radhermit@g.o> +imagemagick-6.9.1.7.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*imagemagick-6.9.1.4 (04 Jul 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: imagemagick-6.9.1.7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.9.1.7.ebuild,v 1.1 2015/07/05 04:01:57 radhermit Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator |
55 |
|
56 |
MY_P=ImageMagick-$(replace_version_separator 3 '-') |
57 |
|
58 |
DESCRIPTION="A collection of tools and libraries for many image formats" |
59 |
HOMEPAGE="http://www.imagemagick.org/" |
60 |
SRC_URI="mirror://${PN}/${MY_P}.tar.xz" |
61 |
|
62 |
LICENSE="imagemagick" |
63 |
SLOT="0/${PV}" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
65 |
IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" |
66 |
|
67 |
RESTRICT="perl? ( userpriv )" |
68 |
|
69 |
# Drop the libtool dep once libltdl goes stable. |
70 |
RDEPEND=" |
71 |
|| ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) |
72 |
autotrace? ( >=media-gfx/autotrace-0.31.1 ) |
73 |
bzip2? ( app-arch/bzip2 ) |
74 |
corefonts? ( media-fonts/corefonts ) |
75 |
djvu? ( app-text/djvu ) |
76 |
fftw? ( sci-libs/fftw:3.0 ) |
77 |
fontconfig? ( media-libs/fontconfig ) |
78 |
fpx? ( >=media-libs/libfpx-1.3.0-r1 ) |
79 |
graphviz? ( media-gfx/graphviz ) |
80 |
jbig? ( >=media-libs/jbigkit-2:= ) |
81 |
jpeg? ( virtual/jpeg:0 ) |
82 |
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) |
83 |
lcms? ( media-libs/lcms:2= ) |
84 |
lqr? ( media-libs/liblqr ) |
85 |
opencl? ( virtual/opencl ) |
86 |
openexr? ( media-libs/openexr:0= ) |
87 |
pango? ( x11-libs/pango ) |
88 |
perl? ( >=dev-lang/perl-5.8.8:0= ) |
89 |
png? ( media-libs/libpng:0= ) |
90 |
postscript? ( app-text/ghostscript-gpl ) |
91 |
raw? ( media-gfx/ufraw ) |
92 |
svg? ( gnome-base/librsvg ) |
93 |
tiff? ( media-libs/tiff:0= ) |
94 |
truetype? ( |
95 |
media-fonts/urw-fonts |
96 |
>=media-libs/freetype-2 |
97 |
) |
98 |
webp? ( media-libs/libwebp:0= ) |
99 |
wmf? ( media-libs/libwmf ) |
100 |
X? ( |
101 |
x11-libs/libICE |
102 |
x11-libs/libSM |
103 |
x11-libs/libXext |
104 |
x11-libs/libXt |
105 |
) |
106 |
xml? ( dev-libs/libxml2:= ) |
107 |
lzma? ( app-arch/xz-utils ) |
108 |
zlib? ( sys-libs/zlib:= )" |
109 |
DEPEND="${RDEPEND} |
110 |
!media-gfx/graphicsmagick[imagemagick] |
111 |
virtual/pkgconfig |
112 |
X? ( x11-proto/xextproto )" |
113 |
|
114 |
REQUIRED_USE="corefonts? ( truetype ) |
115 |
test? ( corefonts )" |
116 |
|
117 |
S=${WORKDIR}/${MY_P} |
118 |
|
119 |
src_prepare() { |
120 |
epatch_user |
121 |
|
122 |
elibtoolize # for Darwin modules |
123 |
|
124 |
# For testsuite, see http://bugs.gentoo.org/show_bug.cgi?id=500580#c3 |
125 |
shopt -s nullglob |
126 |
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') |
127 |
if test -n "${mesa_cards}"; then |
128 |
addpredict "${mesa_cards}" |
129 |
fi |
130 |
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') |
131 |
if test -n "${ati_cards}"; then |
132 |
addpredict "${ati_cards}" |
133 |
fi |
134 |
shopt -u nullglob |
135 |
addpredict /dev/nvidiactl |
136 |
} |
137 |
|
138 |
src_configure() { |
139 |
local depth=16 |
140 |
use q8 && depth=8 |
141 |
use q32 && depth=32 |
142 |
use q64 && depth=64 |
143 |
|
144 |
local openmp=disable |
145 |
use openmp && { tc-has-openmp && openmp=enable; } |
146 |
|
147 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket |
148 |
|
149 |
CONFIG_SHELL=$(type -P bash) \ |
150 |
econf \ |
151 |
$(use_enable static-libs static) \ |
152 |
$(use_enable hdri) \ |
153 |
$(use_enable opencl) \ |
154 |
--with-threads \ |
155 |
--with-modules \ |
156 |
--with-quantum-depth=${depth} \ |
157 |
$(use_with cxx magick-plus-plus) \ |
158 |
$(use_with perl) \ |
159 |
--with-perl-options='INSTALLDIRS=vendor' \ |
160 |
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ |
161 |
$(use_with bzip2 bzlib) \ |
162 |
$(use_with X x) \ |
163 |
$(use_with zlib) \ |
164 |
$(use_with autotrace) \ |
165 |
$(use_with postscript dps) \ |
166 |
$(use_with djvu) \ |
167 |
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ |
168 |
$(use_with fftw) \ |
169 |
$(use_with fpx) \ |
170 |
$(use_with fontconfig) \ |
171 |
$(use_with truetype freetype) \ |
172 |
$(use_with postscript gslib) \ |
173 |
$(use_with graphviz gvc) \ |
174 |
$(use_with jbig) \ |
175 |
$(use_with jpeg) \ |
176 |
$(use_with jpeg2k openjp2) \ |
177 |
$(use_with lcms) \ |
178 |
$(use_with lqr) \ |
179 |
$(use_with lzma) \ |
180 |
$(use_with openexr) \ |
181 |
$(use_with pango) \ |
182 |
$(use_with png) \ |
183 |
$(use_with svg rsvg) \ |
184 |
$(use_with tiff) \ |
185 |
$(use_with webp) \ |
186 |
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ |
187 |
$(use_with wmf) \ |
188 |
$(use_with xml) \ |
189 |
--${openmp}-openmp \ |
190 |
--with-gcc-arch=no-automagic |
191 |
} |
192 |
|
193 |
src_test() { |
194 |
LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ |
195 |
emake -j1 check |
196 |
} |
197 |
|
198 |
src_install() { |
199 |
# Ensure documentation installation files and paths with each release! |
200 |
emake \ |
201 |
DESTDIR="${D}" \ |
202 |
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ |
203 |
install |
204 |
|
205 |
rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} |
206 |
dodoc {AUTHORS,README}.txt ChangeLog |
207 |
|
208 |
if use perl; then |
209 |
find "${ED}" -type f -name perllocal.pod -exec rm -f {} + |
210 |
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + |
211 |
fi |
212 |
|
213 |
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
214 |
|
215 |
if use opencl; then |
216 |
cat <<-EOF > "${T}"/99${PN} |
217 |
SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" |
218 |
EOF |
219 |
|
220 |
insinto /etc/sandbox.d |
221 |
doins "${T}"/99${PN} #472766 |
222 |
fi |
223 |
|
224 |
insinto /usr/share/${PN} |
225 |
doins config/*icm |
226 |
} |