Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/hppa/, profiles/arch/alpha/, profiles/arch/ia64/, ...
Date: Tue, 26 Apr 2022 05:26:52
Message-Id: 1650950022.28babcba3e2340e58afb04916c17952f51091af4.sam@gentoo
1 commit: 28babcba3e2340e58afb04916c17952f51091af4
2 Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
3 AuthorDate: Sun Apr 24 02:42:19 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 05:13:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28babcba
7
8 media-libs/imlib2: add v1.9.0
9
10 some of the new dependencies are missing keywords. mask them
11 accordingly.
12
13 change deprecated `virtual/jpeg` to `media-libs/jpeg-turbo`
14
15 also fixes the following issue, which should've been `bz2`
16 instead of `bzip2`.
17
18 * QA Notice: Unrecognized configure options:
19 * --with-bzip2
20
21 Closes: https://bugs.gentoo.org/833490
22 Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
23 Closes: https://github.com/gentoo/gentoo/pull/25174
24 Signed-off-by: Sam James <sam <AT> gentoo.org>
25
26 media-libs/imlib2/Manifest | 1 +
27 media-libs/imlib2/imlib2-1.9.0.ebuild | 89 ++++++++++++++++++++++++++++
28 media-libs/imlib2/metadata.xml | 3 +
29 profiles/arch/alpha/package.use.mask | 4 ++
30 profiles/arch/arm/armv4/package.use.mask | 1 +
31 profiles/arch/arm/armv4t/package.use.mask | 1 +
32 profiles/arch/arm/armv5te/package.use.mask | 1 +
33 profiles/arch/hppa/package.use.mask | 4 ++
34 profiles/arch/ia64/package.use.mask | 4 ++
35 profiles/arch/powerpc/ppc32/package.use.mask | 4 ++
36 profiles/arch/sparc/package.use.mask | 4 ++
37 11 files changed, 116 insertions(+)
38
39 diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
40 index 94d9d49aa726..53c2c96ce9c2 100644
41 --- a/media-libs/imlib2/Manifest
42 +++ b/media-libs/imlib2/Manifest
43 @@ -1,2 +1,3 @@
44 DIST imlib2-1.7.1.tar.bz2 893631 BLAKE2B 637bf70ea223a63c51def0fac4102683a090de41a1f5904d6232fd2fa004915e3dcde54eac51d16532d2df83a0f8df127266766ac3700ae2948d39fefef512b8 SHA512 36e457855da0f129c7e7ba3dfcb44162b6624b1d56df5f84448495a96fe9ad1ce3e6c628222630be7274476722c4feaa8e1648d1e463439ca758e66ce9645970
45 DIST imlib2-1.7.5.tar.xz 793124 BLAKE2B bc47f81aeb635ca2f3d4962e1be5c53111a25a88ccbfcd8f9a7c87717b256966ca6b8cd78fb897287dab656ef2ade41a0955f7d3770d6d670e675954f000cebb SHA512 6e0a79359d6cac297b7a074a75bf577c8c1e3932d9993616834ea9076a7df544fafcfa960fe8ed7468f1291533f3c828260ccb809a882dadb3f3650ba9dd3f28
46 +DIST imlib2-1.9.0.tar.xz 807740 BLAKE2B 5fc1694a4a419434d2308f0bd76e7a2fe086a00159c5fe73a383bee4d0c721f2bf294e9a9e7cb86416f702d1991646b56fd3a876c573584c4a18c7bd5e5f5f88 SHA512 958fdabc938ec03ab48001ca4df72c8352cb261b12b09334d38348b22b8859cff16a1cda0d4447b73261723f223f62a799f80eb85a710ac5a44a3fa4f90734fd
47
48 diff --git a/media-libs/imlib2/imlib2-1.9.0.ebuild b/media-libs/imlib2/imlib2-1.9.0.ebuild
49 new file mode 100644
50 index 000000000000..78c8baa4b8cc
51 --- /dev/null
52 +++ b/media-libs/imlib2/imlib2-1.9.0.ebuild
53 @@ -0,0 +1,89 @@
54 +# Copyright 1999-2022 Gentoo Authors
55 +# Distributed under the terms of the GNU General Public License v2
56 +
57 +EAPI=8
58 +
59 +inherit multilib-minimal toolchain-funcs
60 +
61 +DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
62 +HOMEPAGE="https://www.enlightenment.org/
63 + https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
64 +SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
65 +
66 +LICENSE="BSD"
67 +SLOT="0"
68 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69 +IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug doc +gif +jpeg mp3 +png +shm
70 + static-libs +tiff +webp zlib svg heif eps jpeg2k jpegxl"
71 +
72 +REQUIRED_USE="shm? ( X )"
73 +
74 +RDEPEND="
75 + media-libs/freetype:2[${MULTILIB_USEDEP}]
76 + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
77 + gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
78 + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
79 + mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
80 + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
81 + tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] )
82 + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
83 + svg? ( >=gnome-base/librsvg-2.46.0:=[${MULTILIB_USEDEP}] )
84 + heif? ( media-libs/libheif:=[${MULTILIB_USEDEP}] )
85 + eps? ( app-text/libspectre )
86 + jpeg2k? ( media-libs/openjpeg:=[${MULTILIB_USEDEP}] )
87 + jpegxl? ( media-libs/libjxl:=[${MULTILIB_USEDEP}] )
88 + X? (
89 + x11-libs/libX11[${MULTILIB_USEDEP}]
90 + x11-libs/libXext[${MULTILIB_USEDEP}]
91 + )
92 + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
93 + !<media-plugins/imlib2_loaders-1.7.0
94 +"
95 +DEPEND="${RDEPEND}
96 + X? ( x11-base/xorg-proto )"
97 +BDEPEND="virtual/pkgconfig"
98 +
99 +multilib_src_configure() {
100 + local myeconfargs=(
101 + $(use_with X x)
102 + $(use_with bzip2 bz2)
103 + $(use_enable debug)
104 + $(use_with gif)
105 + $(use_with jpeg)
106 + $(use_with mp3 id3)
107 + $(use_with png)
108 + $(use_with shm x-shm-fd)
109 + $(use_enable static-libs static)
110 + $(use_with tiff)
111 + $(use_with webp)
112 + $(use_with zlib)
113 + $(use_with svg)
114 + $(use_with heif)
115 + $(use_with eps ps)
116 + $(use_with jpeg2k j2k)
117 + $(use_with jpegxl jxl)
118 + )
119 +
120 + # imlib2 has different configure options for x86/amd64 assembly
121 + if [[ $(tc-arch) == amd64 ]]; then
122 + myeconfargs+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
123 + else
124 + myeconfargs+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
125 + fi
126 +
127 + ECONF_SOURCE="${S}" \
128 + econf "${myeconfargs[@]}"
129 +}
130 +
131 +multilib_src_install() {
132 + V=1 emake install DESTDIR="${D}"
133 + find "${D}" -name '*.la' -delete || die
134 +}
135 +
136 +multilib_src_install_all() {
137 + if use doc; then
138 + local HTML_DOCS=( "${S}"/doc/. )
139 + rm "${S}"/doc/Makefile.{am,in} || die
140 + fi
141 + einstalldocs
142 +}
143
144 diff --git a/media-libs/imlib2/metadata.xml b/media-libs/imlib2/metadata.xml
145 index 9194df3a2ef1..67e82bb6cd24 100644
146 --- a/media-libs/imlib2/metadata.xml
147 +++ b/media-libs/imlib2/metadata.xml
148 @@ -10,6 +10,9 @@
149 <flag name="bzip2">Bzip2 loader support</flag>
150 <flag name="gif">Gif image loader support</flag>
151 <flag name="jpeg">Jpeg image loader support</flag>
152 + <flag name="heif">Hief and Avif image loader support</flag>
153 + <flag name="eps">Eps image loader support</flag>
154 + <flag name="jpegxl">Jxl image loader support</flag>
155 <flag name="mp3">ID3 loader support</flag>
156 <flag name="png">PNG image loader support</flag>
157 <flag name="shm">Use MIT shared memory support for X image transfer</flag>
158
159 diff --git a/profiles/arch/alpha/package.use.mask b/profiles/arch/alpha/package.use.mask
160 index 631eabb1f5e9..d373ed4fe667 100644
161 --- a/profiles/arch/alpha/package.use.mask
162 +++ b/profiles/arch/alpha/package.use.mask
163 @@ -1,6 +1,10 @@
164 # Copyright 1999-2022 Gentoo Authors
165 # Distributed under the terms of the GNU General Public License v2
166
167 +# Nickolas Raymond Kaczynski <nrk@×××××××.org> (2022-04-24)
168 +# Dependencies are missing keywords
169 +media-libs/imlib2 svg heif jpegxl
170 +
171 # Matt Turner <mattst88@g.o> (2022-04-18)
172 # app-text/nuspell is not keyworded
173 app-text/enchant nuspell
174
175 diff --git a/profiles/arch/arm/armv4/package.use.mask b/profiles/arch/arm/armv4/package.use.mask
176 index e507c3a3eca6..4ee82d31442a 100644
177 --- a/profiles/arch/arm/armv4/package.use.mask
178 +++ b/profiles/arch/arm/armv4/package.use.mask
179 @@ -4,6 +4,7 @@
180 # Sam James <sam@g.o> (2022-04-22)
181 # Needs Rustified librsvg
182 >=media-libs/freetype-2.12.0 svg
183 +media-libs/imlib2 svg
184
185 # Matt Turner <mattst88@g.o> (2021-07-25)
186 # gdm requires gnome-shell requires rustified librsvg.
187
188 diff --git a/profiles/arch/arm/armv4t/package.use.mask b/profiles/arch/arm/armv4t/package.use.mask
189 index e507c3a3eca6..4ee82d31442a 100644
190 --- a/profiles/arch/arm/armv4t/package.use.mask
191 +++ b/profiles/arch/arm/armv4t/package.use.mask
192 @@ -4,6 +4,7 @@
193 # Sam James <sam@g.o> (2022-04-22)
194 # Needs Rustified librsvg
195 >=media-libs/freetype-2.12.0 svg
196 +media-libs/imlib2 svg
197
198 # Matt Turner <mattst88@g.o> (2021-07-25)
199 # gdm requires gnome-shell requires rustified librsvg.
200
201 diff --git a/profiles/arch/arm/armv5te/package.use.mask b/profiles/arch/arm/armv5te/package.use.mask
202 index e507c3a3eca6..4ee82d31442a 100644
203 --- a/profiles/arch/arm/armv5te/package.use.mask
204 +++ b/profiles/arch/arm/armv5te/package.use.mask
205 @@ -4,6 +4,7 @@
206 # Sam James <sam@g.o> (2022-04-22)
207 # Needs Rustified librsvg
208 >=media-libs/freetype-2.12.0 svg
209 +media-libs/imlib2 svg
210
211 # Matt Turner <mattst88@g.o> (2021-07-25)
212 # gdm requires gnome-shell requires rustified librsvg.
213
214 diff --git a/profiles/arch/hppa/package.use.mask b/profiles/arch/hppa/package.use.mask
215 index c87f9a065595..3bfe1340a150 100644
216 --- a/profiles/arch/hppa/package.use.mask
217 +++ b/profiles/arch/hppa/package.use.mask
218 @@ -4,6 +4,10 @@
219 # NOTE: When masking a USE flag due to missing keywords, please file a keyword
220 # request bug for the hppa arch.
221
222 +# Nickolas Raymond Kaczynski <nrk@×××××××.org> (2022-04-24)
223 +# Dependencies are missing keywords
224 +media-libs/imlib2 svg heif jpegxl
225 +
226 # Sam James <sam@g.o> (2022-04-24)
227 # Requires dev-util/pahole.
228 sys-kernel/gentoo-kernel debug
229
230 diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask
231 index 3302882b0146..b6add3eb6241 100644
232 --- a/profiles/arch/ia64/package.use.mask
233 +++ b/profiles/arch/ia64/package.use.mask
234 @@ -1,6 +1,10 @@
235 # Copyright 1999-2022 Gentoo Authors
236 # Distributed under the terms of the GNU General Public License v2
237
238 +# Nickolas Raymond Kaczynski <nrk@×××××××.org> (2022-04-24)
239 +# Dependencies are missing keywords
240 +media-libs/imlib2 svg heif jpegxl
241 +
242 # Matt Turner <mattst88@g.o> (2022-04-18)
243 # app-text/nuspell is not keyworded
244 app-text/enchant nuspell
245
246 diff --git a/profiles/arch/powerpc/ppc32/package.use.mask b/profiles/arch/powerpc/ppc32/package.use.mask
247 index 6e8d8216b88e..fd0efe2b6bd3 100644
248 --- a/profiles/arch/powerpc/ppc32/package.use.mask
249 +++ b/profiles/arch/powerpc/ppc32/package.use.mask
250 @@ -1,6 +1,10 @@
251 # Copyright 1999-2022 Gentoo Authors
252 # Distributed under the terms of the GNU General Public License v2
253
254 +# Nickolas Raymond Kaczynski <nrk@×××××××.org> (2022-04-24)
255 +# Dependencies are missing keywords
256 +media-libs/imlib2 heif
257 +
258 # Lars Wendler <polynomial-c@g.o> (2022-04-22)
259 # gnome-base/librsvg missing keywords
260 media-libs/freetype svg
261
262 diff --git a/profiles/arch/sparc/package.use.mask b/profiles/arch/sparc/package.use.mask
263 index e7b2542e7273..430204b80ce4 100644
264 --- a/profiles/arch/sparc/package.use.mask
265 +++ b/profiles/arch/sparc/package.use.mask
266 @@ -1,6 +1,10 @@
267 # Copyright 1999-2022 Gentoo Authors
268 # Distributed under the terms of the GNU General Public License v2
269
270 +# Nickolas Raymond Kaczynski <nrk@×××××××.org> (2022-04-24)
271 +# Dependencies are missing keywords
272 +media-libs/imlib2 svg heif
273 +
274 # Matt Turner <mattst88@g.o> (2022-04-18)
275 # app-text/nuspell is not keyworded
276 app-text/enchant nuspell