Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/imlib2/files/, media-libs/imlib2/
Date: Fri, 17 Mar 2023 19:52:26
Message-Id: 1679082712.7a35b5d4db412bc2b24a47839a2b6f057e054c68.bircoph@gentoo
1 commit: 7a35b5d4db412bc2b24a47839a2b6f057e054c68
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 17 19:49:29 2023 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 17 19:51:52 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a35b5d4
7
8 media-libs/imlib2: drop 1.7.1-r4, 1.7.5-r1
9
10 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
11
12 media-libs/imlib2/Manifest | 2 -
13 media-libs/imlib2/files/7d60151ba9.patch | 37 ---------------
14 media-libs/imlib2/imlib2-1.7.1-r4.ebuild | 78 -------------------------------
15 media-libs/imlib2/imlib2-1.7.5-r1.ebuild | 80 --------------------------------
16 4 files changed, 197 deletions(-)
17
18 diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
19 index 001f3a0a5cc7..c6907aef828b 100644
20 --- a/media-libs/imlib2/Manifest
21 +++ b/media-libs/imlib2/Manifest
22 @@ -1,4 +1,2 @@
23 DIST imlib2-1.11.0.tar.xz 820368 BLAKE2B 2e1dec04c44ce14429910c0dd6b7b5173bc70e8968912c9c25e8b47d38fdfd6753c29de2e5a2ae0b0e6498550e207989ae927682b09032b637baf759744dfbec SHA512 2727b217ae18e1015591f2587f885a5a8d59471d6051f1aefb761329fd0fc979163e228154b2bff8728a3a2acc28437f189989d24a4d6e37bfc6f69445bd47e7
24 -DIST imlib2-1.7.1.tar.bz2 893631 BLAKE2B 637bf70ea223a63c51def0fac4102683a090de41a1f5904d6232fd2fa004915e3dcde54eac51d16532d2df83a0f8df127266766ac3700ae2948d39fefef512b8 SHA512 36e457855da0f129c7e7ba3dfcb44162b6624b1d56df5f84448495a96fe9ad1ce3e6c628222630be7274476722c4feaa8e1648d1e463439ca758e66ce9645970
25 -DIST imlib2-1.7.5.tar.xz 793124 BLAKE2B bc47f81aeb635ca2f3d4962e1be5c53111a25a88ccbfcd8f9a7c87717b256966ca6b8cd78fb897287dab656ef2ade41a0955f7d3770d6d670e675954f000cebb SHA512 6e0a79359d6cac297b7a074a75bf577c8c1e3932d9993616834ea9076a7df544fafcfa960fe8ed7468f1291533f3c828260ccb809a882dadb3f3650ba9dd3f28
26 DIST imlib2-1.9.1.tar.xz 813104 BLAKE2B ef7369d2285bd5b207f646ebb12492323203306c95786d8561a1191dbe489a8efe61975e4deed7bc9c8ed0ac24cf9bd826fa5a24095bc3d254e6f6d6379c8c8b SHA512 00eb8804a32e1403614e9f899f358dd9797f4bcfa7e9fdecd37992731019933e39834a60bd20be8fb69a35161ba1e784bd638b5ecb626d01a4f69c70c330e5f1
27
28 diff --git a/media-libs/imlib2/files/7d60151ba9.patch b/media-libs/imlib2/files/7d60151ba9.patch
29 deleted file mode 100644
30 index 33709d83849f..000000000000
31 --- a/media-libs/imlib2/files/7d60151ba9.patch
32 +++ /dev/null
33 @@ -1,37 +0,0 @@
34 -https://bugs.gentoo.org/877777
35 -https://git.enlightenment.org/old/legacy-imlib2/commit/7d60151ba9696ef07be79af68d5c631a97c63906
36 -
37 -From 7d60151ba9696ef07be79af68d5c631a97c63906 Mon Sep 17 00:00:00 2001
38 -From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@×××××××××××××.net>
39 -Date: Mon, 3 Jan 2022 10:56:03 +0100
40 -Subject: [PATCH] ICO loader: Fix compilation on big endian architectures
41 -
42 -Commit ff79901a071a76ec73cc98c7ff15102c514afb7b refactors the
43 -ico_read_idir function and removed the local nr variable. Unfortunately,
44 -this variable is still used within an `#ifdef WORDS_BIGENDIAN` block on
45 -big endian architectures as a for loop index variable. As such, the code
46 -does presently not compile since the aforementioned commit. This patch
47 -fixes this issue by re-introducing the variable conditionally on big
48 -endian architectures.
49 -
50 -Note: It would likely be cleaner to declare the nr variable as part of
51 -the loop declaration, however, this C99 feature does not seem to be used
52 -anywhere in the code base, hence I refrained from using it here.
53 ----
54 - src/modules/loaders/loader_ico.c | 3 +++
55 - 1 file changed, 3 insertions(+)
56 -
57 -diff --git a/src/modules/loaders/loader_ico.c b/src/modules/loaders/loader_ico.c
58 -index e8cef41..66c3643 100644
59 ---- a/src/modules/loaders/loader_ico.c
60 -+++ b/src/modules/loaders/loader_ico.c
61 -@@ -139,6 +139,9 @@ ico_read_icon(ico_t * ico, int ino)
62 - {
63 - ie_t *ie;
64 - unsigned int size;
65 -+#ifdef WORDS_BIGENDIAN
66 -+ unsigned int nr;
67 -+#endif
68 -
69 - ie = &ico->ie[ino];
70 -
71
72 diff --git a/media-libs/imlib2/imlib2-1.7.1-r4.ebuild b/media-libs/imlib2/imlib2-1.7.1-r4.ebuild
73 deleted file mode 100644
74 index 7914bb93ddd5..000000000000
75 --- a/media-libs/imlib2/imlib2-1.7.1-r4.ebuild
76 +++ /dev/null
77 @@ -1,78 +0,0 @@
78 -# Copyright 1999-2022 Gentoo Authors
79 -# Distributed under the terms of the GNU General Public License v2
80 -
81 -EAPI=7
82 -
83 -inherit multilib-minimal toolchain-funcs
84 -
85 -DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
86 -HOMEPAGE="https://www.enlightenment.org/
87 - https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
88 -SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.bz2"
89 -
90 -LICENSE="BSD"
91 -SLOT="0"
92 -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"
93 -IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 doc +gif +jpeg mp3 +png +shm
94 - static-libs +tiff +webp zlib"
95 -
96 -REQUIRED_USE="shm? ( X )"
97 -
98 -RDEPEND="
99 - media-libs/freetype:2[${MULTILIB_USEDEP}]
100 - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
101 - gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
102 - jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
103 - mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
104 - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
105 - tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] )
106 - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
107 - X? (
108 - x11-libs/libX11[${MULTILIB_USEDEP}]
109 - x11-libs/libXext[${MULTILIB_USEDEP}]
110 - )
111 - zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
112 - !<media-plugins/imlib2_loaders-1.7.0
113 -"
114 -DEPEND="${RDEPEND}
115 - X? ( x11-base/xorg-proto )"
116 -BDEPEND="virtual/pkgconfig"
117 -
118 -multilib_src_configure() {
119 - local myeconfargs=(
120 - $(use_with X x)
121 - $(use_with bzip2)
122 - $(use_with gif)
123 - $(use_with jpeg)
124 - $(use_with mp3 id3)
125 - $(use_with png)
126 - $(use_with shm x-shm-fd)
127 - $(use_enable static-libs static)
128 - $(use_with tiff)
129 - $(use_with webp)
130 - $(use_with zlib)
131 - )
132 -
133 - # imlib2 has different configure options for x86/amd64 assembly
134 - if [[ $(tc-arch) == amd64 ]]; then
135 - myeconfargs+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
136 - else
137 - myeconfargs+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
138 - fi
139 -
140 - ECONF_SOURCE="${S}" \
141 - econf "${myeconfargs[@]}"
142 -}
143 -
144 -multilib_src_install() {
145 - V=1 emake install DESTDIR="${D}"
146 - find "${D}" -name '*.la' -delete || die
147 -}
148 -
149 -multilib_src_install_all() {
150 - if use doc; then
151 - local HTML_DOCS=( "${S}"/doc/. )
152 - rm "${S}"/doc/Makefile.{am,in} || die
153 - fi
154 - einstalldocs
155 -}
156
157 diff --git a/media-libs/imlib2/imlib2-1.7.5-r1.ebuild b/media-libs/imlib2/imlib2-1.7.5-r1.ebuild
158 deleted file mode 100644
159 index 51cc24ffa142..000000000000
160 --- a/media-libs/imlib2/imlib2-1.7.5-r1.ebuild
161 +++ /dev/null
162 @@ -1,80 +0,0 @@
163 -# Copyright 1999-2023 Gentoo Authors
164 -# Distributed under the terms of the GNU General Public License v2
165 -
166 -EAPI=8
167 -
168 -inherit multilib-minimal toolchain-funcs
169 -
170 -DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
171 -HOMEPAGE="https://www.enlightenment.org/
172 - https://sourceforge.net/projects/enlightenment/files/imlib2-src/"
173 -SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.xz"
174 -
175 -LICENSE="BSD"
176 -SLOT="0"
177 -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"
178 -IUSE="+X bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 debug doc +gif +jpeg mp3 +png +shm
179 - static-libs +tiff +webp zlib"
180 -
181 -REQUIRED_USE="shm? ( X )"
182 -
183 -RDEPEND="
184 - media-libs/freetype:2[${MULTILIB_USEDEP}]
185 - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
186 - gif? ( media-libs/giflib:=[${MULTILIB_USEDEP}] )
187 - jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
188 - mp3? ( media-libs/libid3tag:=[${MULTILIB_USEDEP}] )
189 - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
190 - tiff? ( >=media-libs/tiff-4.0.4:=[${MULTILIB_USEDEP}] )
191 - webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
192 - X? (
193 - x11-libs/libX11[${MULTILIB_USEDEP}]
194 - x11-libs/libXext[${MULTILIB_USEDEP}]
195 - )
196 - zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
197 - !<media-plugins/imlib2_loaders-1.7.0
198 -"
199 -DEPEND="${RDEPEND}
200 - X? ( x11-base/xorg-proto )"
201 -BDEPEND="virtual/pkgconfig"
202 -PATCHES=( "${FILESDIR}/7d60151ba9.patch" )
203 -
204 -multilib_src_configure() {
205 - local myeconfargs=(
206 - $(use_with X x)
207 - $(use_with bzip2)
208 - $(use_enable debug)
209 - $(use_with gif)
210 - $(use_with jpeg)
211 - $(use_with mp3 id3)
212 - $(use_with png)
213 - $(use_with shm x-shm-fd)
214 - $(use_enable static-libs static)
215 - $(use_with tiff)
216 - $(use_with webp)
217 - $(use_with zlib)
218 - )
219 -
220 - # imlib2 has different configure options for x86/amd64 assembly
221 - if [[ $(tc-arch) == amd64 ]]; then
222 - myeconfargs+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx )
223 - else
224 - myeconfargs+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
225 - fi
226 -
227 - ECONF_SOURCE="${S}" \
228 - econf "${myeconfargs[@]}"
229 -}
230 -
231 -multilib_src_install() {
232 - V=1 emake install DESTDIR="${D}"
233 - find "${D}" -name '*.la' -delete || die
234 -}
235 -
236 -multilib_src_install_all() {
237 - if use doc; then
238 - local HTML_DOCS=( "${S}"/doc/. )
239 - rm "${S}"/doc/Makefile.{am,in} || die
240 - fi
241 - einstalldocs
242 -}