Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/imagemagick: imagemagick-6.8.9.7.ebuild ChangeLog
Date: Sun, 24 Aug 2014 15:37:31
Message-Id: 20140824153723.9C9D03CE7@oystercatcher.gentoo.org
1 ssuominen 14/08/24 15:37:23
2
3 Modified: ChangeLog
4 Added: imagemagick-6.8.9.7.ebuild
5 Log:
6 Version bump wrt #517896 by Tomáš Chaloupka
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.560 media-gfx/imagemagick/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.560&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.560&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?r1=1.559&r2=1.560
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v
20 retrieving revision 1.559
21 retrieving revision 1.560
22 diff -u -r1.559 -r1.560
23 --- ChangeLog 3 Jun 2014 06:43:08 -0000 1.559
24 +++ ChangeLog 24 Aug 2014 15:37:23 -0000 1.560
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/imagemagick
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.559 2014/06/03 06:43:08 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.560 2014/08/24 15:37:23 ssuominen Exp $
30 +
31 +*imagemagick-6.8.9.7 (24 Aug 2014)
32 +
33 + 24 Aug 2014; Samuli Suominen <ssuominen@g.o>
34 + +imagemagick-6.8.9.7.ebuild:
35 + Version bump wrt #517896 by Tomáš Chaloupka
36
37 03 Jun 2014; Samuli Suominen <ssuominen@g.o>
38 imagemagick-6.8.8.10-r1.ebuild:
39
40
41
42 1.1 media-gfx/imagemagick/imagemagick-6.8.9.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.8.9.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.8.9.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: imagemagick-6.8.9.7.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.8.9.7.ebuild,v 1.1 2014/08/24 15:37:23 ssuominen Exp $
52
53 EAPI=5
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 RDEPEND=">=sys-devel/libtool-2.2.6b
70 autotrace? ( >=media-gfx/autotrace-0.31.1 )
71 bzip2? ( app-arch/bzip2 )
72 corefonts? ( media-fonts/corefonts )
73 djvu? ( app-text/djvu )
74 fftw? ( sci-libs/fftw:3.0 )
75 fontconfig? ( media-libs/fontconfig )
76 fpx? ( >=media-libs/libfpx-1.3.0-r1 )
77 graphviz? ( media-gfx/graphviz )
78 jbig? ( >=media-libs/jbigkit-2:= )
79 jpeg? ( virtual/jpeg:0 )
80 jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
81 lcms? ( media-libs/lcms:2= )
82 lqr? ( media-libs/liblqr )
83 opencl? ( virtual/opencl )
84 openexr? ( media-libs/openexr:0= )
85 pango? ( x11-libs/pango )
86 perl? ( >=dev-lang/perl-5.8.8:0= )
87 png? ( media-libs/libpng:0= )
88 postscript? ( app-text/ghostscript-gpl )
89 raw? ( media-gfx/ufraw )
90 svg? ( gnome-base/librsvg )
91 tiff? ( media-libs/tiff:0= )
92 truetype? (
93 media-fonts/urw-fonts
94 >=media-libs/freetype-2
95 )
96 webp? ( media-libs/libwebp:0= )
97 wmf? ( media-libs/libwmf )
98 X? (
99 x11-libs/libICE
100 x11-libs/libSM
101 x11-libs/libXext
102 x11-libs/libXt
103 )
104 xml? ( dev-libs/libxml2:= )
105 lzma? ( app-arch/xz-utils )
106 zlib? ( sys-libs/zlib:= )"
107 DEPEND="${RDEPEND}
108 !media-gfx/graphicsmagick[imagemagick]
109 virtual/pkgconfig
110 X? ( x11-proto/xextproto )"
111
112 REQUIRED_USE="corefonts? ( truetype )
113 test? ( corefonts )"
114
115 S=${WORKDIR}/${MY_P}
116
117 src_prepare() {
118 epatch_user
119
120 elibtoolize # for Darwin modules
121
122 # For testsuite, see http://bugs.gentoo.org/show_bug.cgi?id=500580#c3
123 shopt -s nullglob
124 cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
125 if test -n "${cards}"; then
126 addpredict "${cards}"
127 fi
128 shopt -u nullglob
129 }
130
131 src_configure() {
132 local depth=16
133 use q8 && depth=8
134 use q32 && depth=32
135 use q64 && depth=64
136
137 local openmp=disable
138 use openmp && { tc-has-openmp && openmp=enable; }
139
140 [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
141
142 econf \
143 $(use_enable static-libs static) \
144 $(use_enable hdri) \
145 $(use_enable opencl) \
146 --with-threads \
147 --with-modules \
148 --with-quantum-depth=${depth} \
149 $(use_with cxx magick-plus-plus) \
150 $(use_with perl) \
151 --with-perl-options='INSTALLDIRS=vendor' \
152 --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \
153 $(use_with bzip2 bzlib) \
154 $(use_with X x) \
155 $(use_with zlib) \
156 $(use_with autotrace) \
157 $(use_with postscript dps) \
158 $(use_with djvu) \
159 --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \
160 $(use_with fftw) \
161 $(use_with fpx) \
162 $(use_with fontconfig) \
163 $(use_with truetype freetype) \
164 $(use_with postscript gslib) \
165 $(use_with graphviz gvc) \
166 $(use_with jbig) \
167 $(use_with jpeg) \
168 $(use_with jpeg2k openjp2) \
169 --without-lcms \
170 $(use_with lcms lcms2) \
171 $(use_with lqr) \
172 $(use_with lzma) \
173 $(use_with openexr) \
174 $(use_with pango) \
175 $(use_with png) \
176 $(use_with svg rsvg) \
177 $(use_with tiff) \
178 $(use_with webp) \
179 $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \
180 $(use_with wmf) \
181 $(use_with xml) \
182 --${openmp}-openmp
183 }
184
185 src_test() {
186 LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \
187 emake -j1 check
188 }
189
190 src_install() {
191 # Ensure documentation installation files and paths with each release!
192 emake \
193 DESTDIR="${D}" \
194 DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
195 install
196
197 rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
198 dodoc {AUTHORS,README}.txt ChangeLog
199
200 if use perl; then
201 find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
202 find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
203 fi
204
205 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
206
207 if use opencl; then
208 cat <<-EOF > "${T}"/99${PN}
209 SANDBOX_PREDICT="/dev/ati/card:/dev/dri/card"
210 EOF
211
212 insinto /etc/sandbox.d
213 doins "${T}"/99${PN} #472766
214 fi
215 }