1 |
commit: d2be0cf2f7a25081ed26081f5822c3843b3ae31a |
2 |
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> |
3 |
AuthorDate: Sun Sep 4 12:10:00 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 10 11:17:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2be0cf2 |
7 |
|
8 |
media-gfx/graphicsmagick: enable threads by default |
9 |
|
10 |
This follows upstream's default behaviour and mimicks ImageMagick. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/868360 |
13 |
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/27136 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
.../{graphicsmagick-9999.ebuild => graphicsmagick-1.3.38-r3.ebuild} | 5 +++-- |
18 |
media-gfx/graphicsmagick/graphicsmagick-9999.ebuild | 4 ++-- |
19 |
2 files changed, 5 insertions(+), 4 deletions(-) |
20 |
|
21 |
diff --git a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.38-r3.ebuild |
22 |
similarity index 97% |
23 |
copy from media-gfx/graphicsmagick/graphicsmagick-9999.ebuild |
24 |
copy to media-gfx/graphicsmagick/graphicsmagick-1.3.38-r3.ebuild |
25 |
index 889ce23dc4ff..926e23f0152b 100644 |
26 |
--- a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild |
27 |
+++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.38-r3.ebuild |
28 |
@@ -28,7 +28,7 @@ LICENSE="MIT" |
29 |
SLOT="0/${PV%.*}" |
30 |
|
31 |
IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpegxl lcms lzma" |
32 |
-IUSE+=" openmp perl png postscript q16 q32 static-libs svg tcmalloc threads tiff truetype" |
33 |
+IUSE+=" openmp perl png postscript q16 q32 static-libs svg tcmalloc tiff truetype" |
34 |
IUSE+=" webp wmf X zlib zstd" |
35 |
|
36 |
RDEPEND=" |
37 |
@@ -67,6 +67,7 @@ DEPEND="${RDEPEND}" |
38 |
PATCHES=( |
39 |
"${FILESDIR}"/${PN}-1.3.36-flags.patch |
40 |
"${FILESDIR}"/${PN}-1.3.19-perl.patch |
41 |
+ "${FILESDIR}"/${P}-configure-bashism.patch |
42 |
) |
43 |
|
44 |
pkg_pretend() { |
45 |
@@ -97,7 +98,7 @@ src_configure() { |
46 |
$(use_enable debug gcov) |
47 |
$(use_enable imagemagick magick-compat) |
48 |
$(use_enable openmp) |
49 |
- $(use_with threads) |
50 |
+ --with-threads |
51 |
$(use_with dynamic-loading modules) |
52 |
--with-quantum-depth=${depth} |
53 |
--without-frozenpaths |
54 |
|
55 |
diff --git a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild |
56 |
index 889ce23dc4ff..e67843f1b019 100644 |
57 |
--- a/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild |
58 |
+++ b/media-gfx/graphicsmagick/graphicsmagick-9999.ebuild |
59 |
@@ -28,7 +28,7 @@ LICENSE="MIT" |
60 |
SLOT="0/${PV%.*}" |
61 |
|
62 |
IUSE="bzip2 +cxx debug dynamic-loading fpx heif imagemagick jbig jpeg jpegxl lcms lzma" |
63 |
-IUSE+=" openmp perl png postscript q16 q32 static-libs svg tcmalloc threads tiff truetype" |
64 |
+IUSE+=" openmp perl png postscript q16 q32 static-libs svg tcmalloc tiff truetype" |
65 |
IUSE+=" webp wmf X zlib zstd" |
66 |
|
67 |
RDEPEND=" |
68 |
@@ -97,7 +97,7 @@ src_configure() { |
69 |
$(use_enable debug gcov) |
70 |
$(use_enable imagemagick magick-compat) |
71 |
$(use_enable openmp) |
72 |
- $(use_with threads) |
73 |
+ --with-threads |
74 |
$(use_with dynamic-loading modules) |
75 |
--with-quantum-depth=${depth} |
76 |
--without-frozenpaths |