summaryrefslogtreecommitdiff
path: root/media-libs/netpbm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-12 11:28:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-12 11:28:19 +0100
commit949f40bfce898427eff8391d6b07b5aafc9e92a2 (patch)
treecc00375087195bd62662092657ece5a582a22798 /media-libs/netpbm
parented7b29dac0f97dbcf5472b7556b83731a6b6b0d4 (diff)
gentoo auto-resync : 12:04:2024 - 11:28:19
Diffstat (limited to 'media-libs/netpbm')
-rw-r--r--media-libs/netpbm/Manifest10
-rw-r--r--media-libs/netpbm/netpbm-11.2.9.ebuild (renamed from media-libs/netpbm/netpbm-11.2.8.ebuild)4
-rw-r--r--media-libs/netpbm/netpbm-11.5.3.ebuild260
-rw-r--r--media-libs/netpbm/netpbm-11.6.1.ebuild (renamed from media-libs/netpbm/netpbm-11.6.0.ebuild)4
4 files changed, 8 insertions, 270 deletions
diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest
index 86358b0a7f14..eeda41d9b680 100644
--- a/media-libs/netpbm/Manifest
+++ b/media-libs/netpbm/Manifest
@@ -5,11 +5,9 @@ AUX netpbm-11.1.0-fix-clang-O2.patch 773 BLAKE2B a8d2bef659d384b0f94560fec847d37
AUX netpbm-11.2.7-fix-pnmcolormap2-test.patch 7051 BLAKE2B 741d4943b2e9eab1fb0061d6265271df8e25e458c1eb39f50aed8a392edf8369c9f0f3c43fc6ca0b940dd376166c9419c5039ddeaf10487859a7ea9bec4e6075 SHA512 4c7be95b582db27e3ce542b8f53bfdad2e6882b22ccc383aa7ca480cb5ba2a6aa000724dae3c5107efd1071bb87fac0648061dd46b0b75f1072ef05b7e128a68
AUX netpbm-11.5.2-fix-tests-musl.patch 4779 BLAKE2B 049b20cecdaf40e77c37ad01cfe4e17b8006c3788f47971319e553bfbab760e7e0bb3a970060e74860a7c3326945f5505680519efe7c2feee5fa6ee08ba45202 SHA512 260f4282dcfd6dd0922b62e4c3f217e33d159ab2df779ec0c1df27f16c8075fb77927ce2aadd34c20475d38b7482506758e38b7571df7c3d5a92de9c5cc496d6
DIST netpbm-11.2.7.tar.xz 3780372 BLAKE2B 8a6a75bd0358acf21faa3defd2b3ca886aacd38a28a1f8b65280a9d6c1667102a47efb734fe2ff2dfae38a5d0995b5efaa4b3ec70138bac7ad07e3e6e79c6063 SHA512 3fb00524b958d97304066749d4117b11ce5e23b7c8e08e68bfb5109575cc40a52dbe0f44559e6c0832a4397298efbea50a8ed0b9d2b57e41a09275729574bace
-DIST netpbm-11.2.8.tar.xz 3781396 BLAKE2B cb74b79b61a88d739071ab85e0ca96a0e51140e9398aba4bd1a8c918b26580acb81b4653863127676ee1d032251e8e9968500fe5fee72a4cf65c5e5064f55fb1 SHA512 8bfd0f08ae62515be18f0b6b8ef610dc72dda2dd063d2732096f540cbadb27314d2ea20b1a79ed5ea9442a9f8cee10f445f16caaef1227b486e16a4ebf8412f1
-DIST netpbm-11.5.3.tar.xz 3783400 BLAKE2B 45a0169865922dcdd2cba0d91e347aa753153e7a9496c8469ac40039628dc3bf13adbf67f30e6af929f4bb582c09769eac579f7086ee78fa206b564b736492c9 SHA512 f7e58fa086e6f549bb350ca9592ad5df2cdacd80c8cb0f508ab17b5f85c9358df56306d293e5b88bdcb3d2b350731bd7def0098437fdfea2711921b1caa95b95
-DIST netpbm-11.6.0.tar.xz 3792264 BLAKE2B 482e27df7aca081851b5e87cbd2e54d851c73922553a570223c22b4074178caef2e3018c8c2bab8a301bc35a645ea6ce8ac3bb7eb1001c0ca977f53182e0e19f SHA512 911912b0d6b9817ffdf3b9183c51305bc5418497865cd48cb7fad8bc5212e7092df7b2c0714b05f7459123f6ff10bcd128ffabcf2343c503e430d04aff1a837f
+DIST netpbm-11.2.9.tar.xz 3782172 BLAKE2B b5acec8306c820e7b0ac2dec21ab5df8f2cdbec01d3d59f82b307d90111954e81e1b01ad7d8e25e8fbd0ea7cf61e8b023e3dfaed6d1cab71b51f7e367d792e56 SHA512 02961bb2ac4a4292e028ed5dbd05daf89ac795f50d36d97be67c49a61be0cbd977e954aa9266c4649d9a46de3fbe7c4b2b51c8363cc7bee322926dd4a9af2ab1
+DIST netpbm-11.6.1.tar.xz 3792940 BLAKE2B e48ec658708baac53708c96feb7aac94c32debae675d8f9114393aaccabc1f59309bf577bff98d252fecab37fb0faa1cc29955269636f736563a859edbdd947d SHA512 844256dc61d29c4f1ba164d5c1ec0b7c6cb8e97c4c6c04cf7b92cd7c118b99994cf7dda4a256f35ef575cb718a7a7f253468b60ba567733a613da8102d23bebf
EBUILD netpbm-11.2.7.ebuild 6976 BLAKE2B 18225d4d04fe229802a170d569d297f9231b1c0d46c05239ec4221a10da0e4934b01c6ac294e8d972333e0ab90b8b71c5334ea5a4c85fac006c3fe87060f99f7 SHA512 4da684cb71c45de8b76bae5c7f79269bb25fb4b3fac9cc71cde5707923bdddb7e52e527c1e47755df7185e7fd18c1a19ebbbbc94f9e6a171583415735602de2c
-EBUILD netpbm-11.2.8.ebuild 7068 BLAKE2B 13319efacfa64a5e9b306efbdafaaf1ca31580d21e17f2e72eaa3f1df6a1cb0aeef4bc6a9fb9b82d115588dab51ee295f8ad8e453a6bede6ef2c6c6d39068115 SHA512 8dc9ce4a4d64b84b2c3a752fe2ba6fafc5d64219be23f1b9703d76ccc9e0ade030539d7c1108779d79f9e17ebaeaf8893f3fae02032234f8639e5bbbb097e334
-EBUILD netpbm-11.5.3.ebuild 6984 BLAKE2B 23d8dc85e12a8a41f0f485b3eb308714185bbaa48c9016f238a3b4341f243114e7c6398361e21083fcdd42327fe83827c5c72b4941a9d802a9800d8e05f15f29 SHA512 8eb6062eeb78bd2edf00eb8d2b6fc3f1515115e1baf43e517184390384caa318a83a30b84d77c9fb2f66e62acfdd12bbe60c9cd254da2962048cb1b3f434dbb7
-EBUILD netpbm-11.6.0.ebuild 6934 BLAKE2B da524853140b4a2c3968904f607968a9db572a30f50e7b33da7a56e0154a9d49c58faf42e4e6988cdeb40e5ba754cd6fc2166d690bae66587e97cca99aa92635 SHA512 86461347264f11c113c216629ab11a3e662ee182d9f821ee4ce8f2a2705ddd9ffae7541107e9ec4d1358cc8496799259797a71418376221a4002010704ae97a7
+EBUILD netpbm-11.2.9.ebuild 7056 BLAKE2B 98516177afd25c82919639f5d31dcd5c98201b10c4084c606c0d2c2b2b2dee5de7c6dbc4edb5585f2fce74cb0464a01a889937a63c4e2d49122253becce4877b SHA512 a17e4559de67e1d479748eaa3f783deaec6af76e1f8b8929d4d21a5075655fcbdfe4cc82dbab47ae16841bb1ba709147f1a083cf50534c363f8fe8d44521fba4
+EBUILD netpbm-11.6.1.ebuild 6922 BLAKE2B bcceeb28fbb881a7c71ee1794b0f190cc14881b78f7345f315d099c496172d72f5a0ff5ffbe061118bbb0e9ccffcb25421b0c0ddd46edf3b74915d416528d805 SHA512 4dd64564ded09bdd30e106ac194de5a62bfb8a3356ce5be08dbd7685cf4cc3ce8dc85d706782579477c98986d5337f98c4593cb98cd78e336102d22cc3956747
MISC metadata.xml 424 BLAKE2B 9ccc907d6c15cb1a7d6cfe4679d6fa9f488642948897ca34958a06b439ebcfb912cfb18fa9d93f15f19573aed4bd7083d277151c477410a59cd64b4c9c0446d4 SHA512 a987be2134a44cc916d5a026068219b8ccaa149e577eaf2a53a7802321793129777cc79b069df95ec9320f15279249a5f9d8a61509452ef02effcb6c66cf9e80
diff --git a/media-libs/netpbm/netpbm-11.2.8.ebuild b/media-libs/netpbm/netpbm-11.2.9.ebuild
index 72ada702ad14..ed27be399d6c 100644
--- a/media-libs/netpbm/netpbm-11.2.8.ebuild
+++ b/media-libs/netpbm/netpbm-11.2.9.ebuild
@@ -7,8 +7,8 @@ inherit flag-o-matic multilib toolchain-funcs
# Upstream has 3 flavors of netpbm: super stable, stable and advanced.
# They only provide a tarball for super stable, but super stable is a bit lagging.
-# So we package the stable branch of their svn (currently versions 11.2.xx) on SLOT "0/stable[.rev]"
-# and the advanced branch of their svn (currently versions 11.3.yy) on SLOT "0/advanced[.rev]".
+# So we package the stable branch of their svn (currently versions 11.2.xx) on SLOT "0/stable"
+# and the advanced branch of their svn (currently versions 11.6.yy) on SLOT "0/advanced".
# The stable branch is stabilized according to usual Gentoo rules, while the
# advanced branch will not be stabilized.
# A detailed explanation is here https://netpbm.sourceforge.net/release.html
diff --git a/media-libs/netpbm/netpbm-11.5.3.ebuild b/media-libs/netpbm/netpbm-11.5.3.ebuild
deleted file mode 100644
index 1870cbbec2ed..000000000000
--- a/media-libs/netpbm/netpbm-11.5.3.ebuild
+++ /dev/null
@@ -1,260 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic multilib toolchain-funcs
-
-# Upstream has 3 flavors of netpbm: super stable, stable and advanced.
-# They only provide a tarball for super stable, but super stable is a bit lagging.
-# So we package the stable branch of their svn (currently versions 11.2.xx) on SLOT "0/stable[.rev]"
-# and the advanced branch of their svn (currently versions 11.4.yy) on SLOT "0/advanced[.rev]".
-# The stable branch is stabilized according to usual Gentoo rules, while the
-# advanced branch will not be stabilized.
-# A detailed explanation is here https://netpbm.sourceforge.net/release.html
-
-DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats"
-HOMEPAGE="https://netpbm.sourceforge.net/"
-SRC_URI="https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${P}.tar.xz"
-
-LICENSE="Artistic BSD GPL-2 IJG LGPL-2.1 MIT public-domain"
-SLOT="0/advanced"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="jbig jpeg png postscript rle cpu_flags_x86_sse2 static-libs svga tiff X xml"
-
-# app-text/ghostscript-gpl is really needed for postscript
-# some utilities execute /usr/bin/gs
-# some installed programs are perl scripts
-RDEPEND="
- dev-lang/perl
- jbig? ( media-libs/jbigkit:= )
- jpeg? ( media-libs/libjpeg-turbo:=[static-libs?] )
- png? (
- >=media-libs/libpng-1.4:0=
- sys-libs/zlib
- )
- postscript? (
- app-text/ghostscript-gpl
- sys-libs/zlib
- )
- rle? ( media-libs/urt:= )
- svga? ( media-libs/svgalib )
- tiff? ( >=media-libs/tiff-3.5.5:= )
- xml? ( dev-libs/libxml2 )
- X? ( x11-libs/libX11 )
-"
-DEPEND="
- ${RDEPEND}
- x11-base/xorg-proto
-"
-BDEPEND="
- app-arch/xz-utils
- app-alternatives/lex
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}"/netpbm-10.86.21-build.patch
- "${FILESDIR}"/netpbm-11.0.0-misc-deps.patch
- "${FILESDIR}"/netpbm-11.1.0-fix-clang-O2.patch
- "${FILESDIR}"/netpbm-11.5.2-fix-tests-musl.patch
-)
-
-netpbm_libtype() {
- case ${CHOST} in
- *-darwin*) echo dylib;;
- *) echo unixshared;;
- esac
-}
-
-netpbm_libsuffix() {
- local suffix=$(get_libname)
- echo ${suffix//\.}
-}
-
-netpbm_ldshlib() {
- case ${CHOST} in
- *-darwin*) echo '$(LDFLAGS) -dynamiclib -install_name $(SONAME)';;
- *) echo '$(LDFLAGS) -shared -Wl,-soname,$(SONAME)';;
- esac
-}
-
-netpbm_config_lib() {
- usex ${1} -l${2:-$1} NONE
-}
-
-# for bug #828127
-netpbm_cflags_for_build() {
- if is-flagq -fPIC; then
- echo -fPIC
- fi
-}
-
-src_prepare() {
- default
-
- # make sure we use system libs
- sed '/SUPPORT_SUBDIRS/s:urt::' -i GNUmakefile || die
- rm -r urt converter/other/jbig/libjbig converter/other/jpeg2000/libjasper || die
-
- # take care of the importinc stuff ourselves by only doing it once
- # at the top level and having all subdirs use that one set #149843
- sed \
- -e '/^importinc:/s|^|importinc:\nmanual_|' \
- -e '/-Iimportinc/s|-Iimp|-I"$(BUILDDIR)"/imp|g'\
- -i common.mk || die
- sed \
- -e '/%.c/s: importinc$::' \
- -i common.mk lib/Makefile lib/util/Makefile || die
- sed \
- -e 's:pkg-config:$(PKG_CONFIG):' \
- -i GNUmakefile converter/other/Makefile other/pamx/Makefile || die
-
- # The postscript knob is currently bound up with a fork test.
- if ! use postscript ; then
- sed \
- -e 's:$(DONT_HAVE_PROCESS_MGMT):Y:' \
- -i converter/other/Makefile generator/Makefile || die
- sed -r \
- -e 's:(pbmtextps|pnmtops|pstopnm).*::' \
- -i test/all-in-place.{ok,test} || die
- sed \
- -e 's:lps-roundtrip.*::' \
- -e 's:pbmtextps-dump.*::' \
- -e 's:pbmtextps.*::' \
- -i test/Test-Order || die
- sed \
- -e '/^$/d' \
- -i test/all-in-place.ok || die
- sed \
- '2iexit 80' \
- -i test/ps-{alt-,flate-,}roundtrip.test || die
- fi
-
- # the new postscript test needs +x
- chmod +x test/lps-roundtrip.test || die
-
- # Do not test png if not built
- if ! use png ; then
- sed -E \
- -e 's:(pamtopng|pngtopam|pnmtopng).*::' \
- -i test/all-in-place.{ok,test} || die
- sed \
- -e '/^$/d' \
- -i test/all-in-place.ok || die
-
- sed -E \
- -e 's:(pamrgbatopng|pngtopnm).*::' \
- -i test/legacy-names.{ok,test} || die
- sed \
- -e '/^$/d' \
- -i test/legacy-names.ok || die
- sed \
- -e 's:png-roundtrip.*::' \
- -e 's:winicon-roundtrip.*::' \
- -i test/Test-Order || die
- fi
-
- # pbmtext-iso88591 requires LC_ALL=en_US.iso88591, not available on musl
- # pbmtext-utf8 requires locale, not available on musl
- # ppmpat-random and pnmindex are broken on musl
- # bug #907295
- if use elibc_musl; then
- sed \
- -e 's:pbmtext-iso88591.*::' \
- -e 's:pbmtext-utf8.*::' \
- -e 's:ppmpat-random.*::' \
- -e 's:pnmindex.*::' \
- -i test/Test-Order || die
- fi
-}
-
-src_configure() {
- cat config.mk.in - >> config.mk <<-EOF || die "writing config.mk failed"
- # Misc stuff
- BUILD_FIASCO = N
- SYMLINK = ln -sf
-
- # These vars let src_test work by default
- PKGDIR_DEFAULT = ${T}/netpbm
- RESULTDIR_DEFAULT = ${T}/netpbm-test
-
- # Toolchain options
- CC = $(tc-getCC) -Wall
- LD = \$(CC)
- CC_FOR_BUILD = $(tc-getBUILD_CC)
- LD_FOR_BUILD = \$(CC_FOR_BUILD)
- AR = $(tc-getAR)
- RANLIB = $(tc-getRANLIB)
- PKG_CONFIG = $(tc-getPKG_CONFIG)
-
- STRIPFLAG =
- CFLAGS_SHLIB = -fPIC
- CFLAGS_FOR_BUILD += $(netpbm_cflags_for_build)
-
- LDRELOC = \$(LD) -r
- LDSHLIB = $(netpbm_ldshlib)
- LINKER_CAN_DO_EXPLICIT_LIBRARY = N # we can, but dont want to
- LINKERISCOMPILER = Y
- NETPBMLIBSUFFIX = $(netpbm_libsuffix)
- NETPBMLIBTYPE = $(netpbm_libtype)
- STATICLIB_TOO = $(usex static-libs Y N)
-
- # The var is called SSE, but the code is actually SSE2.
- WANT_SSE = $(usex cpu_flags_x86_sse2 Y N)
-
- # Gentoo build options
- TIFFLIB = $(netpbm_config_lib tiff)
- # Let tiff worry about its own dependencies #395753
- TIFFLIB_NEEDS_JPEG = N
- TIFFLIB_NEEDS_Z = N
- JPEGLIB = $(netpbm_config_lib jpeg)
- PNGLIB = $(netpbm_config_lib png)
- ZLIB = $($(tc-getPKG_CONFIG) --libs zlib)
- LINUXSVGALIB = $(netpbm_config_lib svga vga)
- XML2_LIBS = $(netpbm_config_lib xml xml2)
- JBIGLIB = $(netpbm_config_lib jbig)
- JBIGHDR_DIR =
- JASPERLIB = NONE
- JASPERHDR_DIR =
- URTLIB = $(netpbm_config_lib rle)
- URTHDR_DIR =
- X11LIB = $(netpbm_config_lib X X11)
- X11HDR_DIR =
- EOF
-}
-
-src_compile() {
- emake -j1 pm_config.h version.h manual_importinc #149843
- emake
-}
-
-src_test() {
- # The code wants to install everything first and then test the result.
- emake install.{bin,lib,data}
- emake check
-}
-
-src_install() {
- # Subdir make targets like to use `mkdir` all over the place
- # without any actual dependencies, thus the -j1.
- emake -j1 package pkgdir="${ED}"/usr
-
- if [[ $(get_libdir) != "lib" ]] ; then
- mv "${ED}"/usr/lib "${ED}"/usr/$(get_libdir) || die
- fi
-
- # Remove cruft that we don't need, and move around stuff we want
- rm "${ED}"/usr/{README,VERSION,{pkgconfig,config}_template,pkginfo} || die
-
- dodir /usr/share
- mv "${ED}"/usr/misc "${ED}"/usr/share/netpbm || die
-
- doman userguide/*.[0-9]
- dodoc README
-
- cd doc || die
- dodoc HISTORY USERDOC
- docinto html
- dodoc -r ../userguide/*.html
-}
diff --git a/media-libs/netpbm/netpbm-11.6.0.ebuild b/media-libs/netpbm/netpbm-11.6.1.ebuild
index 80e083e89bc2..56896f092bd3 100644
--- a/media-libs/netpbm/netpbm-11.6.0.ebuild
+++ b/media-libs/netpbm/netpbm-11.6.1.ebuild
@@ -7,8 +7,8 @@ inherit flag-o-matic multilib toolchain-funcs
# Upstream has 3 flavors of netpbm: super stable, stable and advanced.
# They only provide a tarball for super stable, but super stable is a bit lagging.
-# So we package the stable branch of their svn (currently versions 11.2.xx) on SLOT "0/stable[.rev]"
-# and the advanced branch of their svn (currently versions 11.4.yy) on SLOT "0/advanced[.rev]".
+# So we package the stable branch of their svn (currently versions 11.2.xx) on SLOT "0/stable"
+# and the advanced branch of their svn (currently versions 11.6.yy) on SLOT "0/advanced".
# The stable branch is stabilized according to usual Gentoo rules, while the
# advanced branch will not be stabilized.
# A detailed explanation is here https://netpbm.sourceforge.net/release.html