1 |
commit: 45e75cba8c3d04be73be01cf07d5e747014b0a9c |
2 |
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 08:47:49 2023 +0000 |
4 |
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 09:10:54 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e75cba |
7 |
|
8 |
media-libs/netpbm: drop 10.86.35-r1 |
9 |
|
10 |
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> |
11 |
|
12 |
media-libs/netpbm/Manifest | 1 - |
13 |
media-libs/netpbm/netpbm-10.86.35-r1.ebuild | 249 ---------------------------- |
14 |
2 files changed, 250 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest |
17 |
index acaa02b0bca2..d4bfccadecbb 100644 |
18 |
--- a/media-libs/netpbm/Manifest |
19 |
+++ b/media-libs/netpbm/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST netpbm-10.86.35.tar.xz 3699944 BLAKE2B 754b695ab25ba2c3ff0cdc8d3810a3df7af9a30476dfd6afa70591df0931334806ad41da41797e3f6121b77b7e3fb77a3c01ebc533812e9a8cb3ccb3eb6c19ea SHA512 a4a0107f04ccdef066d340f97a7d3487a2b349dd5994b294fd815813bb04db10063ba933442ef77e27a96fb3b31a5769f3a19532a651b802f14667dbf43c06f5 |
22 |
DIST netpbm-10.86.36.tar.xz 3700660 BLAKE2B c5f0acd0147f2ad66f69ae2ade56fcbb5286faddc7f8f3387e2269fd20ea2586a29d7e7dc96bd715fe12896eef47803b826031087e6be8166183ba7cf82aebf4 SHA512 b05df76760629881047c44799a905a491fb4c139a9af909d77cc4238fc82dfac37ba174df4f81cb1177716ad38a37b26eadcc3889d2c2057ff9d850697fad3c6 |
23 |
DIST netpbm-11.1.0.tar.xz 3771676 BLAKE2B 0f377dc36b03b99a174c2d5a09d62aea8a813f9eb501a59630c4f083247cc3c82e3fee88085ec686f4d787d67104b834a511b4ef1f7d75eda7b10fed3281d9e5 SHA512 77528e2508d7a2d348de339d57b677fd1a061bb2902273d536ea09c34033af03a75bb723bcc7e87551406f47f115085a60691b3fda4ae672372b8473528370de |
24 |
|
25 |
diff --git a/media-libs/netpbm/netpbm-10.86.35-r1.ebuild b/media-libs/netpbm/netpbm-10.86.35-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 0798299bfe79..000000000000 |
28 |
--- a/media-libs/netpbm/netpbm-10.86.35-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,249 +0,0 @@ |
31 |
-# Copyright 1999-2022 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-inherit flag-o-matic multilib toolchain-funcs |
37 |
- |
38 |
-# Upstream has 3 flavors of netpbm: super stable, stable and advanced. |
39 |
-# They only provide a tarball for super stable, but super stable is a bit lagging. |
40 |
-# So we package the stable branch of their svn (currently versions 10.86.xx) on SLOT "0/stable" |
41 |
-# and the advanced branch of their svn (currently versions 11.aa.bb) on SLOT "0/advanced". |
42 |
-# The stable branch is stabilized according to usual Gentoo rules, while the |
43 |
-# advanced branch will not be stabilized. |
44 |
-# A detailed explanation is here https://netpbm.sourceforge.net/release.html |
45 |
- |
46 |
-# libnetpbm.so is not 100% ABI compatible between stable and advanced, so |
47 |
-# packages that depend on it should use "media-libs/netpbm:=" |
48 |
- |
49 |
-DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" |
50 |
-HOMEPAGE="https://netpbm.sourceforge.net/" |
51 |
-SRC_URI="https://github.com/ceamac/netpbm-make-dist/releases/download/v${PV}/${P}.tar.xz" |
52 |
- |
53 |
-LICENSE="Artistic BSD GPL-2 IJG LGPL-2.1 MIT public-domain" |
54 |
-SLOT="0/stable" |
55 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
56 |
-IUSE="jbig jpeg png postscript rle cpu_flags_x86_sse2 static-libs svga tiff X xml" |
57 |
- |
58 |
-# app-text/ghostscript-gpl is really needed for postscript |
59 |
-# some utilities execute /usr/bin/gs |
60 |
-# also some installed programs are perl scripts |
61 |
-RDEPEND=" |
62 |
- dev-lang/perl |
63 |
- jbig? ( media-libs/jbigkit:= ) |
64 |
- jpeg? ( media-libs/libjpeg-turbo:=[static-libs?] ) |
65 |
- png? ( |
66 |
- >=media-libs/libpng-1.4:0= |
67 |
- sys-libs/zlib |
68 |
- ) |
69 |
- postscript? ( |
70 |
- app-text/ghostscript-gpl |
71 |
- sys-libs/zlib |
72 |
- ) |
73 |
- rle? ( media-libs/urt:= ) |
74 |
- svga? ( media-libs/svgalib ) |
75 |
- tiff? ( >=media-libs/tiff-3.5.5:= ) |
76 |
- xml? ( dev-libs/libxml2 ) |
77 |
- X? ( x11-libs/libX11 ) |
78 |
-" |
79 |
- |
80 |
-DEPEND=" |
81 |
- ${RDEPEND} |
82 |
- x11-base/xorg-proto |
83 |
-" |
84 |
- |
85 |
-BDEPEND=" |
86 |
- app-arch/xz-utils |
87 |
- sys-devel/flex |
88 |
- virtual/pkgconfig |
89 |
-" |
90 |
- |
91 |
-PATCHES=( |
92 |
- "${FILESDIR}"/netpbm-10.86.21-build.patch |
93 |
- "${FILESDIR}"/netpbm-10.86.21-test.patch #450530 |
94 |
- "${FILESDIR}"/netpbm-10.86.21-misc-deps.patch |
95 |
- "${FILESDIR}"/netpbm-10.86.22-fix-ps-test.patch #670362 |
96 |
-) |
97 |
- |
98 |
-netpbm_libtype() { |
99 |
- case ${CHOST} in |
100 |
- *-darwin*) echo dylib;; |
101 |
- *) echo unixshared;; |
102 |
- esac |
103 |
-} |
104 |
- |
105 |
-netpbm_libsuffix() { |
106 |
- local suffix=$(get_libname) |
107 |
- echo ${suffix//\.} |
108 |
-} |
109 |
- |
110 |
-netpbm_ldshlib() { |
111 |
- case ${CHOST} in |
112 |
- *-darwin*) echo '$(LDFLAGS) -dynamiclib -install_name $(SONAME)';; |
113 |
- *) echo '$(LDFLAGS) -shared -Wl,-soname,$(SONAME)';; |
114 |
- esac |
115 |
-} |
116 |
-netpbm_config() { |
117 |
- if use ${1} ; then |
118 |
- [[ ${2} != "!" ]] && echo -l${2:-$1} |
119 |
- else |
120 |
- echo NONE |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-# for bug #828127 |
125 |
-netpbm_cflags_for_build() { |
126 |
- if is-flagq -fPIC; then |
127 |
- echo -fPIC |
128 |
- fi |
129 |
-} |
130 |
- |
131 |
-src_prepare() { |
132 |
- default |
133 |
- |
134 |
- # make sure we use system libs |
135 |
- sed -i '/SUPPORT_SUBDIRS/s:urt::' GNUmakefile || die |
136 |
- rm -r urt converter/other/jbig/libjbig converter/other/jpeg2000/libjasper || die |
137 |
- |
138 |
- # take care of the importinc stuff ourselves by only doing it once |
139 |
- # at the top level and having all subdirs use that one set #149843 |
140 |
- sed -i \ |
141 |
- -e '/^importinc:/s|^|importinc:\nmanual_|' \ |
142 |
- -e '/-Iimportinc/s|-Iimp|-I"$(BUILDDIR)"/imp|g'\ |
143 |
- common.mk || die |
144 |
- sed -i \ |
145 |
- -e '/%.c/s: importinc$::' \ |
146 |
- common.mk lib/Makefile lib/util/Makefile || die |
147 |
- sed -i \ |
148 |
- -e 's:pkg-config:$(PKG_CONFIG):' \ |
149 |
- GNUmakefile converter/other/Makefile other/pamx/Makefile || die |
150 |
- |
151 |
- # The postscript knob is currently bound up with a fork test. |
152 |
- if ! use postscript ; then |
153 |
- sed -i \ |
154 |
- -e 's:$(DONT_HAVE_PROCESS_MGMT):Y:' \ |
155 |
- converter/other/Makefile generator/Makefile || die |
156 |
- sed -i -r \ |
157 |
- -e 's:(pbmtextps|pnmtops|pstopnm).*::' \ |
158 |
- test/all-in-place.{ok,test} || die |
159 |
- sed -i -e 's:lps-roundtrip.*::' test/Test-Order || die |
160 |
- sed -i -e '/^$/d' test/all-in-place.ok || die |
161 |
- sed -i '2iexit 80' test/ps-{alt-,flate-,}roundtrip.test || die |
162 |
- fi |
163 |
- |
164 |
- # the new postscript test needs +x |
165 |
- chmod +x test/lps-roundtrip.test |
166 |
- |
167 |
- # Do not test png if not built |
168 |
- if ! use png ; then |
169 |
- sed -i -r \ |
170 |
- -e 's:(pamtopng|pngtopam|pnmtopng).*::' \ |
171 |
- test/all-in-place.{ok,test} || die |
172 |
- sed -i -e '/^$/d' test/all-in-place.ok || die |
173 |
- |
174 |
- sed -i -r \ |
175 |
- -e 's:(pamrgbatopng|pngtopnm).*::' \ |
176 |
- test/legacy-names.{ok,test} || die |
177 |
- sed -i -e '/^$/d' test/legacy-names.ok || die |
178 |
- sed -i -e 's:png-roundtrip.*::' test/Test-Order || die |
179 |
- fi |
180 |
- |
181 |
- # this test requires LC_ALL=en_US.iso88591, not available on musl |
182 |
- if use elibc_musl; then |
183 |
- sed -i -e 's:pbmtext-iso88591.*::' test/Test-Order || die |
184 |
- fi |
185 |
-} |
186 |
- |
187 |
-src_configure() { |
188 |
- # cannot chain the die with the heredoc |
189 |
- # repoman tries to parse the heredoc and fails |
190 |
- cat config.mk.in - >> config.mk <<-EOF |
191 |
- # Misc stuff |
192 |
- BUILD_FIASCO = N |
193 |
- SYMLINK = ln -sf |
194 |
- |
195 |
- # These vars let src_test work by default |
196 |
- PKGDIR_DEFAULT = ${T}/netpbm |
197 |
- RESULTDIR_DEFAULT = ${T}/netpbm-test |
198 |
- |
199 |
- # Toolchain options |
200 |
- CC = $(tc-getCC) -Wall |
201 |
- LD = \$(CC) |
202 |
- CC_FOR_BUILD = $(tc-getBUILD_CC) |
203 |
- LD_FOR_BUILD = \$(CC_FOR_BUILD) |
204 |
- AR = $(tc-getAR) |
205 |
- RANLIB = $(tc-getRANLIB) |
206 |
- PKG_CONFIG = $(tc-getPKG_CONFIG) |
207 |
- |
208 |
- STRIPFLAG = |
209 |
- CFLAGS_SHLIB = -fPIC |
210 |
- CFLAGS_FOR_BUILD += $(netpbm_cflags_for_build) |
211 |
- |
212 |
- LDRELOC = \$(LD) -r |
213 |
- LDSHLIB = $(netpbm_ldshlib) |
214 |
- LINKER_CAN_DO_EXPLICIT_LIBRARY = N # we can, but dont want to |
215 |
- LINKERISCOMPILER = Y |
216 |
- NETPBMLIBSUFFIX = $(netpbm_libsuffix) |
217 |
- NETPBMLIBTYPE = $(netpbm_libtype) |
218 |
- STATICLIB_TOO = $(usex static-libs Y N) |
219 |
- |
220 |
- # The var is called SSE, but the code is actually SSE2. |
221 |
- WANT_SSE = $(usex cpu_flags_x86_sse2 Y N) |
222 |
- |
223 |
- # Gentoo build options |
224 |
- TIFFLIB = $(netpbm_config tiff) |
225 |
- # Let tiff worry about its own dependencies #395753 |
226 |
- TIFFLIB_NEEDS_JPEG = N |
227 |
- TIFFLIB_NEEDS_Z = N |
228 |
- JPEGLIB = $(netpbm_config jpeg) |
229 |
- PNGLIB = $(netpbm_config png) |
230 |
- ZLIB = $($(tc-getPKG_CONFIG) --libs zlib) |
231 |
- LINUXSVGALIB = $(netpbm_config svga vga) |
232 |
- XML2_LIBS = $(netpbm_config xml xml2) |
233 |
- JBIGLIB = $(netpbm_config jbig) |
234 |
- JBIGHDR_DIR = |
235 |
- JASPERLIB = NONE |
236 |
- JASPERHDR_DIR = |
237 |
- URTLIB = $(netpbm_config rle) |
238 |
- URTHDR_DIR = |
239 |
- X11LIB = $(netpbm_config X X11) |
240 |
- X11HDR_DIR = |
241 |
- EOF |
242 |
- [[ $? -eq 0 ]] || die "writing config.mk failed" |
243 |
-} |
244 |
- |
245 |
-src_compile() { |
246 |
- emake -j1 pm_config.h version.h manual_importinc #149843 |
247 |
- emake |
248 |
-} |
249 |
- |
250 |
-src_test() { |
251 |
- # The code wants to install everything first and then test the result. |
252 |
- emake install.{bin,lib,data} |
253 |
- emake check |
254 |
-} |
255 |
- |
256 |
-src_install() { |
257 |
- # Subdir make targets like to use `mkdir` all over the place |
258 |
- # without any actual dependencies, thus the -j1. |
259 |
- emake -j1 package pkgdir="${ED}"/usr |
260 |
- |
261 |
- if [[ $(get_libdir) != "lib" ]] ; then |
262 |
- mv "${ED}"/usr/lib "${ED}"/usr/$(get_libdir) || die |
263 |
- fi |
264 |
- |
265 |
- # Remove cruft that we don't need, and move around stuff we want |
266 |
- rm "${ED}"/usr/{README,VERSION,{pkgconfig,config}_template,pkginfo} || die |
267 |
- |
268 |
- dodir /usr/share |
269 |
- mv "${ED}"/usr/misc "${ED}"/usr/share/netpbm || die |
270 |
- |
271 |
- doman userguide/*.[0-9] |
272 |
- dodoc README |
273 |
- |
274 |
- cd doc || die |
275 |
- dodoc HISTORY Netpbm.programming USERDOC |
276 |
- docinto html |
277 |
- dodoc -r *.html |
278 |
- dodoc -r ../userguide/*.html |
279 |
-} |