1 |
commit: 37e9f5380a87559967bdc6dbacaf2c89ef89f222 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 26 23:54:26 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 26 23:54:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e9f538 |
7 |
|
8 |
media-gfx/graphicsmagick: security cleanup (#684320) |
9 |
|
10 |
Bug: https://bugs.gentoo.org/684320 |
11 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
media-gfx/graphicsmagick/Manifest | 1 - |
15 |
.../graphicsmagick/graphicsmagick-1.3.30.ebuild | 135 --------------------- |
16 |
2 files changed, 136 deletions(-) |
17 |
|
18 |
diff --git a/media-gfx/graphicsmagick/Manifest b/media-gfx/graphicsmagick/Manifest |
19 |
index abc5659d8a3..292bab95744 100644 |
20 |
--- a/media-gfx/graphicsmagick/Manifest |
21 |
+++ b/media-gfx/graphicsmagick/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST GraphicsMagick-1.3.30.tar.xz 5496116 BLAKE2B 408f68334b290ae30d06e4b0efa6e11e89ffa9c00781e2f0ceb25cd6fc308f1be86b5ed9bd52f594e1abd3351f1b7dbfb12e87117ba85f4b4c01d07d7480772a SHA512 4f04245b8abef85de96a1527ad4adc1fadea144a1917db3ea21632a9fe732bdaa7021ffdbbeb7c2ead814ca7b6a14e81bb68a962bbfb64fa6809a235f1b0be5c |
24 |
DIST GraphicsMagick-1.3.32.tar.xz 5535224 BLAKE2B 96fd7bfe62b4b1b25f9ffc0ff8e2ac023f0528b9af857fc27a5a9cd1123eeb6533b868c7bad8dca5b58e114a674dda009a62904df64622d7b5f3c0d72156283d SHA512 f84cdb9318962aed1dc25d70db4d0ca102e4f88748f468f8a56b77d228fd315b772afa48e90a396d32e8226eba9105717bcb94166bbe43723afeec58ead53e09 |
25 |
DIST GraphicsMagick-1.3.33.tar.xz 5558348 BLAKE2B 9c3747ee63d94bc6d16c06c04c7fad2ca93e849df7ae4391523b416111b5569c7493226f6b967a5ff80e0ff2ccbe7f6de5a7223e935024fd66a96be401fdf26b SHA512 8afeb461d1a9dab9b88b9bc7c2d50b5c409463b369e6b0ba7ee39b0ece32da9393d7a5a4d18faf8f72a529346a3477bae61b802bac2af81aeae79d95c9d6cd13 |
26 |
|
27 |
diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.30.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.30.ebuild |
28 |
deleted file mode 100644 |
29 |
index ed0736e0f22..00000000000 |
30 |
--- a/media-gfx/graphicsmagick/graphicsmagick-1.3.30.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,135 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-inherit autotools toolchain-funcs |
38 |
- |
39 |
-MY_P=${P/graphicsm/GraphicsM} |
40 |
- |
41 |
-DESCRIPTION="Collection of tools and libraries for many image formats" |
42 |
-HOMEPAGE="http://www.graphicsmagick.org/" |
43 |
-LICENSE="MIT" |
44 |
-SLOT="0/${PV%.*}" |
45 |
- |
46 |
-if [[ ${PV} == "9999" ]] ; then |
47 |
- inherit mercurial |
48 |
- EHG_REPO_URI="http://hg.code.sf.net/p/${PN}/code" |
49 |
-else |
50 |
- SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" |
51 |
- KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
52 |
-fi |
53 |
- |
54 |
-IUSE="bzip2 cxx debug fpx imagemagick jbig jpeg lcms lzma modules openmp |
55 |
- perl png postscript q16 q32 static-libs svg test threads tiff truetype |
56 |
- webp wmf X zlib" |
57 |
- |
58 |
-RDEPEND="dev-libs/libltdl:0 |
59 |
- bzip2? ( app-arch/bzip2 ) |
60 |
- fpx? ( media-libs/libfpx ) |
61 |
- imagemagick? ( !media-gfx/imagemagick ) |
62 |
- jbig? ( media-libs/jbigkit ) |
63 |
- jpeg? ( virtual/jpeg:0 ) |
64 |
- lcms? ( media-libs/lcms:2 ) |
65 |
- lzma? ( app-arch/xz-utils ) |
66 |
- perl? ( dev-lang/perl ) |
67 |
- png? ( media-libs/libpng:0 ) |
68 |
- postscript? ( app-text/ghostscript-gpl ) |
69 |
- svg? ( dev-libs/libxml2 ) |
70 |
- tiff? ( media-libs/tiff:0 ) |
71 |
- truetype? ( |
72 |
- media-fonts/urw-fonts |
73 |
- >=media-libs/freetype-2 |
74 |
- ) |
75 |
- webp? ( media-libs/libwebp:= ) |
76 |
- wmf? ( media-libs/libwmf ) |
77 |
- X? ( |
78 |
- x11-libs/libSM |
79 |
- x11-libs/libXext |
80 |
- ) |
81 |
- zlib? ( sys-libs/zlib )" |
82 |
-# corefonts are required because needed arial font (bug #588398). |
83 |
-DEPEND="${RDEPEND} |
84 |
- test? ( media-fonts/corefonts )" |
85 |
- |
86 |
-S=${WORKDIR}/${MY_P} |
87 |
- |
88 |
-PATCHES=( |
89 |
- "${FILESDIR}"/${PN}-1.3.19-flags.patch |
90 |
- "${FILESDIR}"/${PN}-1.3.19-perl.patch |
91 |
-) |
92 |
- |
93 |
-src_prepare() { |
94 |
- default |
95 |
- eautoreconf |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- local depth=8 |
100 |
- use q16 && depth=16 |
101 |
- use q32 && depth=32 |
102 |
- |
103 |
- local openmp=disable |
104 |
- if use openmp && tc-has-openmp; then |
105 |
- openmp=enable |
106 |
- fi |
107 |
- |
108 |
- local myeconfargs=( |
109 |
- --${openmp}-openmp |
110 |
- --enable-largefile |
111 |
- --enable-shared |
112 |
- $(use_enable static-libs static) |
113 |
- $(use_enable debug prof) |
114 |
- $(use_enable debug gcov) |
115 |
- $(use_enable imagemagick magick-compat) |
116 |
- $(use_with threads) |
117 |
- $(use_with modules) |
118 |
- --with-quantum-depth=${depth} |
119 |
- --without-frozenpaths |
120 |
- $(use_with cxx magick-plus-plus) |
121 |
- $(use_with perl) |
122 |
- --with-perl-options=INSTALLDIRS=vendor |
123 |
- $(use_with bzip2 bzlib) |
124 |
- $(use_with postscript dps) |
125 |
- $(use_with fpx) |
126 |
- --without-gslib |
127 |
- $(use_with jbig) |
128 |
- $(use_with webp) |
129 |
- $(use_with jpeg) |
130 |
- --without-jp2 |
131 |
- $(use_with lcms lcms2) |
132 |
- $(use_with lzma) |
133 |
- $(use_with png) |
134 |
- $(use_with tiff) |
135 |
- $(use_with truetype ttf) |
136 |
- $(use_with wmf) |
137 |
- --with-fontpath="${EPREFIX}"/usr/share/fonts |
138 |
- --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts |
139 |
- --with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts |
140 |
- $(use_with svg xml) |
141 |
- $(use_with zlib) |
142 |
- $(use_with X x) |
143 |
- ) |
144 |
- econf "${myeconfargs[@]}" |
145 |
-} |
146 |
- |
147 |
-src_compile() { |
148 |
- default |
149 |
- use perl && emake perl-build |
150 |
-} |
151 |
- |
152 |
-src_test() { |
153 |
- unset DISPLAY # some perl tests fail when DISPLAY is set |
154 |
- default |
155 |
-} |
156 |
- |
157 |
-src_install() { |
158 |
- default |
159 |
- |
160 |
- if use perl; then |
161 |
- emake -C PerlMagick DESTDIR="${D}" install |
162 |
- find "${ED}" -type f -name perllocal.pod -exec rm -f {} + || die |
163 |
- find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + || die |
164 |
- fi |
165 |
- |
166 |
- find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + || die |
167 |
-} |