Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/imlib2/, media-libs/imlib2/files/
Date: Sat, 02 Apr 2016 04:12:06
Message-Id: 1459570297.f7630e543d6da07c4d465aa935c998dd36aff5af.vapier@gentoo
1 commit: f7630e543d6da07c4d465aa935c998dd36aff5af
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 02:52:03 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 04:11:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7630e54
7
8 media-libs/imlib2: drop old <1.4.7 versions
9
10 media-libs/imlib2/Manifest | 1 -
11 .../imlib2/files/imlib2-1.4.5-giflib-5.patch | 31 --------
12 .../imlib2/files/imlib2-1.4.5-no-my-libs.patch | 28 --------
13 media-libs/imlib2/files/imlib2-1.4.6-no-x.patch | 33 ---------
14 .../files/imlib2-1.4.6-out-of-source-build.patch | 28 --------
15 media-libs/imlib2/imlib2-1.4.6-r2.ebuild | 82 ----------------------
16 6 files changed, 203 deletions(-)
17
18 diff --git a/media-libs/imlib2/Manifest b/media-libs/imlib2/Manifest
19 index e33eadb..a7c26bd 100644
20 --- a/media-libs/imlib2/Manifest
21 +++ b/media-libs/imlib2/Manifest
22 @@ -1,2 +1 @@
23 -DIST imlib2-1.4.6.tar.gz 971792 SHA256 17cc128c0e61974d59c423b59d0fb5cb85c97169adf5b05184cc58f7c87b4f4e SHA512 8c49f2c9a4b997b536ab7553ffd80b764eccf95c6926a90c10390463e353df27c0e52345bdea9ac8fbefae3e29274022e6a8c0944f406a449293a06192a95fe5 WHIRLPOOL 98ff99fb216a867f60287b369a0b05bf5eea2da23ee8bec14f105f1805f12b035f3ff03ede0bc5909eec178b09e285b5bb0ab0c394487502aa893a94a34da90c
24 DIST imlib2-1.4.7.tar.gz 1027716 SHA256 48e98337a560d8904f685447f41c43914fec1f8cd3745a9fd86cba9fd24a6563 SHA512 24728586bf0d2a289fdaa7d05385a059b10092f3f777691881f01d6c9e4aa8f893ebb7bc04933644a9f62163cc649272851f1189f72aee83035816caca3a73a2 WHIRLPOOL 662c671b723f4df8267d84607b74bc76b6790d2a694a2e7b3bef084403ae8f41761813455a404c4886dbf3b7b7782534c17677b1ac81bdccf24120a3d07714e1
25
26 diff --git a/media-libs/imlib2/files/imlib2-1.4.5-giflib-5.patch b/media-libs/imlib2/files/imlib2-1.4.5-giflib-5.patch
27 deleted file mode 100644
28 index 5ca0524..0000000
29 --- a/media-libs/imlib2/files/imlib2-1.4.5-giflib-5.patch
30 +++ /dev/null
31 @@ -1,31 +0,0 @@
32 -https://bugs.gentoo.org/457634
33 -
34 -From 1df8defbaa5712fe23d34f13d6aae7a568c720a1 Mon Sep 17 00:00:00 2001
35 -From: Kim Woelders <kim@××××××××.dk>
36 -Date: Sun, 4 Aug 2013 08:05:27 +0200
37 -Subject: [PATCH] GIF loader: Fix for libgif version 5.
38 -
39 ----
40 - src/modules/loaders/loader_gif.c | 7 +++++++
41 - 1 file changed, 7 insertions(+)
42 -
43 -diff --git a/src/modules/loaders/loader_gif.c b/src/modules/loaders/loader_gif.c
44 -index 23b8fd0..d1c2ae2 100644
45 ---- a/src/modules/loaders/loader_gif.c
46 -+++ b/src/modules/loaders/loader_gif.c
47 -@@ -36,7 +37,12 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity,
48 - #endif
49 - if (fd < 0)
50 - return 0;
51 -+
52 -+#if GIFLIB_MAJOR >= 5
53 -+ gif = DGifOpenFileHandle(fd, NULL);
54 -+#else
55 - gif = DGifOpenFileHandle(fd);
56 -+#endif
57 - if (!gif)
58 - {
59 - close(fd);
60 ---
61 -1.8.4.3
62 -
63
64 diff --git a/media-libs/imlib2/files/imlib2-1.4.5-no-my-libs.patch b/media-libs/imlib2/files/imlib2-1.4.5-no-my-libs.patch
65 deleted file mode 100644
66 index 55afb38..0000000
67 --- a/media-libs/imlib2/files/imlib2-1.4.5-no-my-libs.patch
68 +++ /dev/null
69 @@ -1,28 +0,0 @@
70 -From 5dde234b2d3caf067ea827858c53adc5d4c56c13 Mon Sep 17 00:00:00 2001
71 -From: Mike Frysinger <vapier@g.o>
72 -Date: Sat, 18 Jan 2014 13:56:54 -0500
73 -Subject: [PATCH] imlib2-config: delete old reference to @my_libs@
74 -
75 -This was cleaned up a while ago, but this file was missed.
76 -
77 -URL: https://bugs.gentoo.org/497894
78 ----
79 - imlib2-config.in | 2 +-
80 - 1 file changed, 1 insertion(+), 1 deletion(-)
81 -
82 -diff --git a/imlib2-config.in b/imlib2-config.in
83 -index cf814c6..965f7c3 100644
84 ---- a/imlib2-config.in
85 -+++ b/imlib2-config.in
86 -@@ -46,7 +46,7 @@ while test $# -gt 0; do
87 - ;;
88 - --libs)
89 - libdirs=-L@libdir@
90 -- echo $libdirs -lImlib2 @my_libs@
91 -+ echo $libdirs -lImlib2
92 - ;;
93 - *)
94 - echo "${usage}" 1>&2
95 ---
96 -1.8.4.3
97 -
98
99 diff --git a/media-libs/imlib2/files/imlib2-1.4.6-no-x.patch b/media-libs/imlib2/files/imlib2-1.4.6-no-x.patch
100 deleted file mode 100644
101 index b3ce989..0000000
102 --- a/media-libs/imlib2/files/imlib2-1.4.6-no-x.patch
103 +++ /dev/null
104 @@ -1,33 +0,0 @@
105 -https://bugs.gentoo.org/517670
106 -
107 -already in upstream
108 -
109 -From 3e6ca0b48d2b07980c310935ad1a8dde209efed5 Mon Sep 17 00:00:00 2001
110 -From: Mike Frysinger <vapier@g.o>
111 -Date: Mon, 28 Jul 2014 23:01:23 -0400
112 -Subject: [PATCH] do not link with X libs when X is disabled
113 -
114 -Signed-off-by: Mike Frysinger <vapier@g.o>
115 ----
116 - src/lib/Makefile.am | 5 ++++-
117 - 1 file changed, 4 insertions(+), 1 deletion(-)
118 -
119 -diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
120 -index b03f753..93c708f 100644
121 ---- a/src/lib/Makefile.am
122 -+++ b/src/lib/Makefile.am
123 -@@ -84,7 +84,10 @@ AMD64_OBJS = $(AMD64_SRCS:.S=.lo)
124 -
125 - EXTRA_DIST = $(MMX_SRCS) $(AMD64_SRCS) asm_loadimmq.S
126 -
127 --MY_LIBS = -lXext -lX11 $(FREETYPE_LIBS) $(DLOPEN_LIBS) -lm
128 -+MY_LIBS = $(FREETYPE_LIBS) $(DLOPEN_LIBS) -lm
129 -+if BUILD_X11
130 -+MY_LIBS += -lXext -lX11
131 -+endif
132 -
133 - if BUILD_MMX
134 - libImlib2_la_LIBADD = $(MMX_OBJS) $(MY_LIBS)
135 ---
136 -2.0.0
137 -
138
139 diff --git a/media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch b/media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch
140 deleted file mode 100644
141 index 8442628..0000000
142 --- a/media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch
143 +++ /dev/null
144 @@ -1,28 +0,0 @@
145 -From 8d5ebc7399ee03d742a1abe115905c807f8186e3 Mon Sep 17 00:00:00 2001
146 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
147 -Date: Sat, 17 May 2014 09:23:02 +0200
148 -Subject: [PATCH] Fix -I flags to support building out-of-source.
149 -
150 -When building out-of-source, the headers are located in subdirectories
151 -in $(top_srcdir) rather than $(top_builddir). Adjust AM_CPPFLAGS
152 -accordingly.
153 ----
154 - src/bin/Makefile.am | 2 +-
155 - 1 file changed, 1 insertion(+), 1 deletion(-)
156 -
157 -diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
158 -index 1d3d445..111c24a 100644
159 ---- a/src/bin/Makefile.am
160 -+++ b/src/bin/Makefile.am
161 -@@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in
162 -
163 - AM_CPPFLAGS = \
164 - -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
165 ---I$(top_builddir)/src/lib \
166 -+-I$(top_srcdir)/src/lib \
167 - $(X_CFLAGS)
168 -
169 - if BUILD_X11
170 ---
171 -1.9.3
172 -
173
174 diff --git a/media-libs/imlib2/imlib2-1.4.6-r2.ebuild b/media-libs/imlib2/imlib2-1.4.6-r2.ebuild
175 deleted file mode 100644
176 index a0f535f..0000000
177 --- a/media-libs/imlib2/imlib2-1.4.6-r2.ebuild
178 +++ /dev/null
179 @@ -1,82 +0,0 @@
180 -# Copyright 1999-2015 Gentoo Foundation
181 -# Distributed under the terms of the GNU General Public License v2
182 -# $Id$
183 -
184 -EAPI="4"
185 -
186 -EGIT_SUB_PROJECT="legacy"
187 -EGIT_URI_APPEND=${PN}
188 -
189 -if [[ ${PV} != "9999" ]] ; then
190 - EKEY_STATE="snap"
191 -fi
192 -
193 -# Select automake version explicitly to avoid regenerating all autotools.
194 -# This is a minor optimization.
195 -WANT_AUTOMAKE="1.13"
196 -inherit autotools enlightenment toolchain-funcs multilib-minimal
197 -
198 -DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm"
199 -HOMEPAGE="https://www.enlightenment.org/"
200 -
201 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
202 -
203 -IUSE="bzip2 gif jpeg cpu_flags_x86_mmx mp3 png static-libs tiff X zlib"
204 -
205 -RDEPEND="=media-libs/freetype-2*[${MULTILIB_USEDEP}]
206 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
207 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
208 - gif? ( >=media-libs/giflib-4.1.6-r3[${MULTILIB_USEDEP}] )
209 - png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] )
210 - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
211 - tiff? ( >=media-libs/tiff-4.0.3-r6:0[${MULTILIB_USEDEP}] )
212 - X? (
213 - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
214 - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
215 - )
216 - mp3? ( >=media-libs/libid3tag-0.15.1b-r3[${MULTILIB_USEDEP}] )"
217 -DEPEND="${RDEPEND}
218 - png? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
219 - X? (
220 - >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
221 - >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
222 - )"
223 -
224 -src_prepare() {
225 - epatch "${FILESDIR}"/${PN}-1.4.5-no-my-libs.patch #497894
226 - epatch "${FILESDIR}"/${PN}-1.4.5-giflib-5.patch #457634
227 - epatch "${FILESDIR}"/${P}-out-of-source-build.patch #510522
228 - epatch "${FILESDIR}"/${P}-no-x.patch
229 -
230 - eautomake
231 -}
232 -
233 -multilib_src_configure() {
234 - # imlib2 has diff configure options for x86/amd64 mmx
235 - if [[ $(tc-arch) == amd64 ]]; then
236 - E_ECONF+=( $(use_enable cpu_flags_x86_mmx amd64) --disable-mmx )
237 - else
238 - E_ECONF+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) )
239 - fi
240 -
241 - [[ $(gcc-major-version) -ge 4 ]] && E_ECONF+=( --enable-visibility-hiding )
242 -
243 - ECONF_SOURCE="${S}" \
244 - E_ECONF+=(
245 - $(use_enable static-libs static)
246 - $(use_with X x)
247 - $(use_with jpeg)
248 - $(use_with png)
249 - $(use_with tiff)
250 - $(use_with gif)
251 - $(use_with zlib)
252 - $(use_with bzip2)
253 - $(use_with mp3 id3)
254 - )
255 -
256 - enlightenment_src_configure
257 -}
258 -
259 -multilib_src_install() {
260 - enlightenment_src_install
261 -}