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: ChangeLog imagemagick-6.7.5.0.ebuild
Date: Mon, 30 Jan 2012 12:50:59
Message-Id: 20120130125048.091262004B@flycatcher.gentoo.org
1 ssuominen 12/01/30 12:50:48
2
3 Modified: ChangeLog
4 Added: imagemagick-6.7.5.0.ebuild
5 Log:
6 Version bump to fix building with sys-libs/zlib >= 1.2.5.2 wrt #401499 by Juergen Rose
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.457 media-gfx/imagemagick/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.457&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.457&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/ChangeLog?r1=1.456&r2=1.457
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v
20 retrieving revision 1.456
21 retrieving revision 1.457
22 diff -u -r1.456 -r1.457
23 --- ChangeLog 28 Jan 2012 03:44:36 -0000 1.456
24 +++ ChangeLog 30 Jan 2012 12:50:47 -0000 1.457
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-gfx/imagemagick
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.456 2012/01/28 03:44:36 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.457 2012/01/30 12:50:47 ssuominen Exp $
30 +
31 +*imagemagick-6.7.5.0 (30 Jan 2012)
32 +
33 + 30 Jan 2012; Samuli Suominen <ssuominen@g.o>
34 + +imagemagick-6.7.5.0.ebuild:
35 + Version bump to fix building with sys-libs/zlib >= 1.2.5.2 wrt #401499 by
36 + Juergen Rose
37
38 28 Jan 2012; Samuli Suominen <ssuominen@g.o>
39 imagemagick-6.7.4.10.ebuild:
40
41
42
43 1.1 media-gfx/imagemagick/imagemagick-6.7.5.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.5.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.5.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: imagemagick-6.7.5.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.5.0.ebuild,v 1.1 2012/01/30 12:50:47 ssuominen Exp $
53
54 EAPI=4
55 inherit multilib toolchain-funcs versionator
56
57 MY_P=ImageMagick-$(replace_version_separator 3 '-')
58
59 DESCRIPTION="A collection of tools and libraries for many image formats"
60 HOMEPAGE="http://www.imagemagick.org/"
61 SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
62
63 LICENSE="imagemagick"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
66 IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
67
68 RDEPEND=">=sys-devel/libtool-2.2.6b
69 autotrace? ( >=media-gfx/autotrace-0.31.1 )
70 bzip2? ( app-arch/bzip2 )
71 corefonts? ( media-fonts/corefonts )
72 djvu? ( app-text/djvu )
73 fftw? ( sci-libs/fftw:3.0 )
74 fontconfig? ( media-libs/fontconfig )
75 fpx? ( >=media-libs/libfpx-1.3.0-r1 )
76 graphviz? ( >=media-gfx/graphviz-2.6 )
77 gs? ( app-text/ghostscript-gpl )
78 jbig? ( media-libs/jbigkit )
79 jpeg? ( virtual/jpeg )
80 jpeg2k? ( media-libs/jasper )
81 lcms? ( media-libs/lcms:2 )
82 lqr? ( >=media-libs/liblqr-0.1.0 )
83 opencl? ( virtual/opencl )
84 openexr? ( media-libs/openexr )
85 pango? ( x11-libs/pango )
86 perl? ( >=dev-lang/perl-5.8.6-r6 )
87 png? ( media-libs/libpng:0 )
88 raw? ( media-gfx/ufraw )
89 svg? ( >=gnome-base/librsvg-2.9.0 )
90 tiff? ( media-libs/tiff:0 )
91 truetype? ( media-libs/freetype:2 )
92 webp? ( media-libs/libwebp )
93 wmf? ( >=media-libs/libwmf-0.2.8 )
94 X? (
95 x11-libs/libXext
96 x11-libs/libXt
97 x11-libs/libICE
98 x11-libs/libSM
99 )
100 xml? ( >=dev-libs/libxml2-2.4.10 )
101 lzma? ( app-arch/xz-utils )
102 zlib? ( sys-libs/zlib )"
103 DEPEND="${RDEPEND}
104 !media-gfx/graphicsmagick[imagemagick]
105 app-arch/xz-utils
106 dev-util/pkgconfig
107 >=sys-apps/sed-4
108 X? ( x11-proto/xextproto )"
109
110 REQUIRED_USE="corefonts? ( truetype )
111 test? ( corefonts )"
112
113 S=${WORKDIR}/${MY_P}
114
115 RESTRICT="perl? ( userpriv )"
116
117 DOCS="AUTHORS.txt ChangeLog NEWS.txt README.txt"
118
119 src_configure() {
120 local depth=16
121 use q8 && depth=8
122 use q32 && depth=32
123 use q64 && depth=64
124
125 local openmp=disable
126 if use openmp && tc-has-openmp; then
127 openmp=enable
128 fi
129
130 econf \
131 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
132 $(use_enable static-libs static) \
133 $(use_enable hdri) \
134 $(use_enable opencl) \
135 --with-threads \
136 --without-included-ltdl \
137 --with-ltdl-include="${EPREFIX}/usr/include" \
138 --with-ltdl-lib="${EPREFIX}/usr/$(get_libdir)" \
139 --with-modules \
140 --with-quantum-depth=${depth} \
141 $(use_with cxx magick-plus-plus) \
142 $(use_with perl) \
143 --with-perl-options='INSTALLDIRS=vendor' \
144 --with-gs-font-dir="${EPREFIX}/usr/share/fonts/default/ghostscript" \
145 $(use_with bzip2 bzlib) \
146 $(use_with X x) \
147 $(use_with zlib) \
148 $(use_with autotrace) \
149 $(use_with gs dps) \
150 $(use_with djvu) \
151 --with-dejavu-font-dir="${EPREFIX}/usr/share/fonts/dejavu" \
152 $(use_with fftw) \
153 $(use_with fpx) \
154 $(use_with fontconfig) \
155 $(use_with truetype freetype) \
156 $(use_with gs gslib) \
157 $(use_with graphviz gvc) \
158 $(use_with jbig) \
159 $(use_with jpeg) \
160 $(use_with jpeg2k jp2) \
161 --without-lcms \
162 $(use_with lcms lcms2) \
163 $(use_with lqr) \
164 $(use_with lzma) \
165 $(use_with openexr) \
166 $(use_with pango) \
167 $(use_with png) \
168 $(use_with svg rsvg) \
169 $(use_with tiff) \
170 $(use_with webp) \
171 $(use_with corefonts windows-font-dir /usr/share/fonts/corefonts) \
172 $(use_with wmf) \
173 $(use_with xml) \
174 --${openmp}-openmp
175 }
176
177 src_test() {
178 has_version media-gfx/imagemagick || emake -j1 check
179 }
180
181 src_install() {
182 default
183
184 if use perl; then
185 find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
186 find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
187 fi
188
189 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
190 }