Gentoo Archives: gentoo-commits

From: "Markus Meier (maekke)" <maekke@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/imagemagick: ChangeLog imagemagick-6.4.2.0.ebuild
Date: Wed, 25 Jun 2008 22:03:52
Message-Id: E1KBd5e-0004At-Sm@stork.gentoo.org
1 maekke 08/06/25 22:03:46
2
3 Modified: ChangeLog
4 Added: imagemagick-6.4.2.0.ebuild
5 Log:
6 bump to 6.4.2.0: add openmp USE-flag (bug #223817)
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc7 i686)
8
9 Revision Changes Path
10 1.285 media-gfx/imagemagick/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.285&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/imagemagick/ChangeLog?rev=1.285&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/imagemagick/ChangeLog?r1=1.284&r2=1.285
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v
19 retrieving revision 1.284
20 retrieving revision 1.285
21 diff -u -r1.284 -r1.285
22 --- ChangeLog 25 May 2008 12:38:52 -0000 1.284
23 +++ ChangeLog 25 Jun 2008 22:03:46 -0000 1.285
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/imagemagick
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.284 2008/05/25 12:38:52 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.285 2008/06/25 22:03:46 maekke Exp $
29 +
30 +*imagemagick-6.4.2.0 (25 Jun 2008)
31 +
32 + 25 Jun 2008; Markus Meier <maekke@g.o> +imagemagick-6.4.2.0.ebuild:
33 + bump to 6.4.2.0: add openmp USE-flag (bug #223817)
34
35 *imagemagick-6.4.1.3 (25 May 2008)
36
37
38
39
40 1.1 media-gfx/imagemagick/imagemagick-6.4.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/imagemagick/imagemagick-6.4.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/imagemagick/imagemagick-6.4.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: imagemagick-6.4.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.4.2.0.ebuild,v 1.1 2008/06/25 22:03:46 maekke Exp $
50
51 inherit eutils multilib perl-app
52
53 MY_PN=ImageMagick
54 MY_P=${MY_PN}-${PV%.*}
55 MY_P2=${MY_PN}-${PV%.*}-${PV#*.*.*.}
56
57 DESCRIPTION="A collection of tools and libraries for many image formats"
58 HOMEPAGE="http://www.imagemagick.org/"
59 SRC_URI="ftp://ftp.imagemagick.org/pub/${MY_PN}/${MY_P2}.tar.bz2"
60
61 LICENSE="imagemagick"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="bzip2 djvu doc fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms nocxx
65 openexr openmp perl png q8 q32 svg tiff truetype X wmf xml zlib"
66
67 RDEPEND="bzip2? ( app-arch/bzip2 )
68 djvu? ( app-text/djvu )
69 fontconfig? ( media-libs/fontconfig )
70 fpx? ( media-libs/libfpx )
71 graphviz? ( >=media-gfx/graphviz-2.6 )
72 gs? ( virtual/ghostscript )
73 jbig? ( media-libs/jbigkit )
74 jpeg? ( >=media-libs/jpeg-6b )
75 jpeg2k? ( media-libs/jasper )
76 lcms? ( >=media-libs/lcms-1.06 )
77 openexr? ( media-libs/openexr )
78 perl? ( >=dev-lang/perl-5.8.6-r6 !=dev-lang/perl-5.8.7 )
79 png? ( media-libs/libpng )
80 tiff? ( >=media-libs/tiff-3.5.5 )
81 xml? ( >=dev-libs/libxml2-2.4.10 )
82 truetype? ( =media-libs/freetype-2* media-fonts/corefonts )
83 wmf? ( >=media-libs/libwmf-0.2.8 )
84 zlib? ( sys-libs/zlib )
85 X? (
86 x11-libs/libXext
87 x11-libs/libXt
88 x11-libs/libICE
89 x11-libs/libSM
90 svg? ( >=gnome-base/librsvg-2.9.0 )
91 )
92 !dev-perl/perlmagick
93 !sys-apps/compare"
94
95 DEPEND="${RDEPEND}
96 >=sys-apps/sed-4
97 >=sys-devel/libtool-1.5.2-r6
98 X? ( x11-proto/xextproto )"
99
100 S="${WORKDIR}/${MY_P}"
101
102 pkg_setup() {
103 if use djvu && ! built_with_use app-text/djvu threads; then
104 eerror "app-text/djvu has to be built with threads support."
105 die "build app-text/djvu with USE=\"threads\""
106 fi
107 # for now, only build svg support when X is enabled, as librsvg
108 # pulls in quite some X dependencies.
109 if use svg && ! use X ; then
110 elog "the svg USE-flag requires the X USE-flag set."
111 elog "disabling svg support for now."
112 fi
113 }
114
115 src_unpack() {
116 unpack ${A}
117
118 # fix doc dir, bug 91911
119 sed -i -e \
120 's:DOCUMENTATION_PATH="${DATA_DIR}/doc/${DOCUMENTATION_RELATIVE_PATH}":DOCUMENTATION_PATH="/usr/share/doc/${PF}":g' \
121 "${S}"/configure || die
122
123 }
124
125 src_compile() {
126 local myconf
127 if use q32 ; then
128 myconf="${myconf} --with-quantum-depth=32"
129 elif use q8 ; then
130 myconf="${myconf} --with-quantum-depth=8"
131 else
132 myconf="${myconf} --with-quantum-depth=16"
133 fi
134
135 if use X && use svg ; then
136 myconf="${myconf} --with-rsvg"
137 else
138 myconf="${myconf} --without-rsvg"
139 fi
140
141 econf \
142 ${myconf} \
143 --without-included-ltdl \
144 --with-ltdl-include=/usr/include \
145 --with-ltdl-lib=/usr/$(get_libdir) \
146 --with-threads \
147 --with-modules \
148 $(use_with perl) \
149 --with-gs-font-dir=/usr/share/fonts/default/ghostscript \
150 $(use_enable hdri) \
151 $(use_enable openmp) \
152 $(use_with truetype windows-font-dir /usr/share/fonts/corefonts) \
153 $(use_with !nocxx magick-plus-plus) \
154 $(use_with bzip2 bzlib) \
155 $(use_with djvu) \
156 $(use_with fontconfig) \
157 $(use_with fpx) \
158 $(use_with gs dps) \
159 $(use_with gs gslib) \
160 $(use_with graphviz gvc) \
161 $(use_with jbig) \
162 $(use_with jpeg jpeg) \
163 $(use_with jpeg2k jp2) \
164 $(use_with lcms) \
165 $(use_with png) \
166 $(use_with svg rsvg) \
167 $(use_with tiff) \
168 $(use_with truetype freetype) \
169 $(use_with wmf) \
170 $(use_with xml) \
171 $(use_with zlib) \
172 $(use_with X x) \
173 $(use_with openexr) \
174 || die "econf failed"
175 emake || die "compile problem"
176 }
177
178 src_install() {
179 emake DESTDIR="${D}" install || die "Installation of files into image failed"
180
181 # dont need these files with runtime plugins
182 rm -f "${D}"/usr/$(get_libdir)/*/*/*.{la,a}
183
184 use doc || rm -r "${D}"/usr/share/doc/${PF}/{www,images,index.html}
185 dodoc NEWS.txt ChangeLog AUTHORS.txt README.txt
186
187 # Fix perllocal.pod file collision
188 use perl && fixlocalpod
189 }
190
191
192
193 --
194 gentoo-commits@l.g.o mailing list