From b62381b18b4bf2e919cbfbae11ebcad391e38e77 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Dec 2022 03:35:12 +0000 Subject: gentoo auto-resync : 16:12:2022 - 03:35:12 --- media-gfx/xloadimage/Manifest | 2 +- media-gfx/xloadimage/xloadimage-4.1-r12.ebuild | 96 -------------------------- media-gfx/xloadimage/xloadimage-4.1-r14.ebuild | 96 ++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 media-gfx/xloadimage/xloadimage-4.1-r12.ebuild create mode 100644 media-gfx/xloadimage/xloadimage-4.1-r14.ebuild (limited to 'media-gfx/xloadimage') diff --git a/media-gfx/xloadimage/Manifest b/media-gfx/xloadimage/Manifest index 1e358bf6c0fe..edd946ff51b9 100644 --- a/media-gfx/xloadimage/Manifest +++ b/media-gfx/xloadimage/Manifest @@ -8,5 +8,5 @@ AUX xloadimage-4.1-zio-shell-meta-char.diff 1372 BLAKE2B 1c960ba7ae4da62eedcdfc2 AUX xloadimage-gentoo.patch 8956 BLAKE2B 9834cb47e16fb20f970e9d33a6e42fef09d5a3d3cae3f5ab0db5c76661acb7c67a20115f4069bc2769b6d9f54acf4adea27e27b79495d74a77644db5281beba8 SHA512 8eba3107d81f0dc6caf749e9a9889f1662e5d1004e480a9a170533f3ee00c6f9f11d3c2008655322242ab61f31b676406fd44b97d83e4ce93b8f68a12397830b DIST xloadimage-4.1-gentoo-r1.diff.bz2 41535 BLAKE2B 77cdbb2e6d5dda6084aae2831bcb8750a027f59a673f5a1f8eeb61385bd21243d640bd13a3be7fb24d2ce2cb475a05cb04c91c2b53977c61fb3aa4416e67e112 SHA512 a1a52d576eb68c44e5ff3b68a6bd87cd9b8f21f6fa8edee2d7df2329002d40f6513df6c04ecd57f66018583d0251019bd02e15756dac705b8c9cb8470cb386e3 DIST xloadimage.4.1.tar.gz 596021 BLAKE2B 3c22facf05167d1836c21243799d8f66c211e44d659b4397668ed604cdd82b3bd8f11ab7b3be5e87c59a9b3aa8569d0d3d2e474b572c3bca07b6437b293014bf SHA512 2c91699c8ef07c101ff9b458708ace01cab2979a5e88cf8a4e47ec971f7b4cb5571108afa3e53271ade4e8ccfdcf72ef9e2e09edfc0be6b8afaba50847aa0586 -EBUILD xloadimage-4.1-r12.ebuild 2494 BLAKE2B 0c9aa20b74afb0c929872ed0809b3a00e4fbe8ca7179a0f676e8b4af9cc1647d1c04fa30a0fc17d01ad8ad5d2fa0c8d566e53de0d39a6d3bd2d8a46f0e922673 SHA512 f52a6423eed2e0309164024860ecc766c486c61d1c4cddad6f5d6fd0f883a75ddf136cf9f0f981ce686654a70d063fefc8d3052454bc8b2fd21185e389026509 +EBUILD xloadimage-4.1-r14.ebuild 2504 BLAKE2B 12c9a486786e1640d4697c39f4e2fb9fdb61adf775026c2023e9643c5e4191b6a4bf10bcfb8a0345a3650e178c91de58faee153bb0dceeac2c200423b80df7f9 SHA512 c57e7d7b571fc2ad4f56fdd1e7d5de1b56107782edb2703a0887c826d8ac230ce924e0c85772df15a419b1e2550e664f6d5c3716c7430a6fc95aed615e9ccb09 MISC metadata.xml 169 BLAKE2B 25149b73446be31f3ea3dd3a6394230987e7d4c601d1605fd3827b37bd99b3301c2e0edb95d0f59a4577ed27919f43c2cc02b1edf62c4012b935a82e709e0c05 SHA512 55c53f74b001bae56ba8c54581a4168335b6b3a28dac23a2102b76795d5fd41de33b8b3e1ec03f9acc6e7a3a77e93b1a6ff3e3967c3156dcbf22b5b5a6245ef5 diff --git a/media-gfx/xloadimage/xloadimage-4.1-r12.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r12.ebuild deleted file mode 100644 index 09484d7f4b2f..000000000000 --- a/media-gfx/xloadimage/xloadimage-4.1-r12.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="utility to view many different types of images under X11" -HOMEPAGE="https://tracker.debian.org/pkg/xloadimage" -SRC_URI="ftp://ftp.x.org/R5contrib/${P/-/.}.tar.gz - mirror://gentoo/${P}-gentoo-r1.diff.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="tiff jpeg png" - -RDEPEND="x11-libs/libX11 - tiff? ( media-libs/tiff:0= ) - png? ( media-libs/libpng:0= ) - jpeg? ( virtual/jpeg:0 )" -DEPEND="${RDEPEND} - !media-gfx/xli" - -S=${WORKDIR}/${P/-/.} - -src_prepare() { - eapply "${WORKDIR}"/${P}-gentoo-r1.diff - eapply "${FILESDIR}"/${P}-zio-shell-meta-char.diff - eapply "${FILESDIR}"/${P}-endif.patch - - # Do not define errno extern, but rather include errno.h - # (1 Jan 2003) - eapply "${FILESDIR}"/${P}-include-errno_h.patch - - eapply "${FILESDIR}"/xloadimage-gentoo.patch - - sed -i -e "s:OPT_FLAGS=:OPT_FLAGS=$CFLAGS:" Make.conf || die - sed -i -e "s:^#include :#include :" rlelib.c || die - - # On FreeBSD systems malloc.h is a false header asking for fixes. - # On MacOSX it would require malloc/malloc.h - # On other systems it's simply unneeded - sed -i -e 's,,,' vicar.c || die - - eapply "${FILESDIR}"/${P}-unaligned-access.patch - eapply "${FILESDIR}"/${P}-ldflags_and_exit.patch - - sed -i -e "/^DEFS = /s:/etc:${EPREFIX}/etc:" Makefile.in || die - - eapply "${FILESDIR}"/${P}-libpng15.patch - sed -i \ - -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ - png.c || die - - # One of the previous patches screws up a bracket... - eapply "${FILESDIR}"/${P}-bracket.patch - - default - - chmod +x configure || die - eautoreconf -} - -src_configure() { - # Set TIFFHeader to TIFFHeaderCommon wrt #319383 - has_version '>=media-libs/tiff-4.0.0_pre' && \ - append-flags -DTIFFHeader=TIFFHeaderCommon - - tc-export CC - econf $(use_with jpeg) \ - $(use_with png) \ - $(use_with tiff) -} - -src_compile() { - emake SYSPATHFILE="${EPREFIX}"/etc/X11/Xloadimage -} - -src_install() { - dobin xloadimage uufilter - - dosym xloadimage /usr/bin/xsetbg - dosym xloadimage /usr/bin/xview - - insinto /etc/X11 - doins xloadimagerc - - newman xloadimage.man xloadimage.1 - newman uufilter.man uufilter.1 - - echo ".so man1/xloadimage.1" > "${T}"/xsetbg.1 || die - doman "${T}"/xsetbg.1 - newman "${T}"/xsetbg.1 xview.1 - - dodoc README -} diff --git a/media-gfx/xloadimage/xloadimage-4.1-r14.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r14.ebuild new file mode 100644 index 000000000000..ff90d31efe03 --- /dev/null +++ b/media-gfx/xloadimage/xloadimage-4.1-r14.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="utility to view many different types of images under X11" +HOMEPAGE="https://tracker.debian.org/pkg/xloadimage" +SRC_URI="ftp://ftp.x.org/R5contrib/${P/-/.}.tar.gz + mirror://gentoo/${P}-gentoo-r1.diff.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="tiff jpeg png" + +RDEPEND="x11-libs/libX11 + tiff? ( media-libs/tiff:= ) + png? ( media-libs/libpng:= ) + jpeg? ( media-libs/libjpeg-turbo:= )" +DEPEND="${RDEPEND} + !media-gfx/xli" + +S=${WORKDIR}/${P/-/.} + +src_prepare() { + eapply "${WORKDIR}"/${P}-gentoo-r1.diff + eapply "${FILESDIR}"/${P}-zio-shell-meta-char.diff + eapply "${FILESDIR}"/${P}-endif.patch + + # Do not define errno extern, but rather include errno.h + # (1 Jan 2003) + eapply "${FILESDIR}"/${P}-include-errno_h.patch + + eapply "${FILESDIR}"/xloadimage-gentoo.patch + + sed -i -e "s:OPT_FLAGS=:OPT_FLAGS=$CFLAGS:" Make.conf || die + sed -i -e "s:^#include :#include :" rlelib.c || die + + # On FreeBSD systems malloc.h is a false header asking for fixes. + # On MacOSX it would require malloc/malloc.h + # On other systems it's simply unneeded + sed -i -e 's,,,' vicar.c || die + + eapply "${FILESDIR}"/${P}-unaligned-access.patch + eapply "${FILESDIR}"/${P}-ldflags_and_exit.patch + + sed -i -e "/^DEFS = /s:/etc:${EPREFIX}/etc:" Makefile.in || die + + eapply "${FILESDIR}"/${P}-libpng15.patch + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ + png.c || die + + # One of the previous patches screws up a bracket... + eapply "${FILESDIR}"/${P}-bracket.patch + + default + + chmod +x configure || die + eautoreconf +} + +src_configure() { + # Set TIFFHeader to TIFFHeaderCommon wrt #319383 + has_version '>=media-libs/tiff-4.0.0_pre' && \ + append-flags -DTIFFHeader=TIFFHeaderCommon + + tc-export CC + econf $(use_with jpeg) \ + $(use_with png) \ + $(use_with tiff) +} + +src_compile() { + emake SYSPATHFILE="${EPREFIX}"/etc/X11/Xloadimage +} + +src_install() { + dobin xloadimage uufilter + + dosym xloadimage /usr/bin/xsetbg + dosym xloadimage /usr/bin/xview + + insinto /etc/X11 + doins xloadimagerc + + newman xloadimage.man xloadimage.1 + newman uufilter.man uufilter.1 + + echo ".so man1/xloadimage.1" > "${T}"/xsetbg.1 || die + doman "${T}"/xsetbg.1 + newman "${T}"/xsetbg.1 xview.1 + + dodoc README +} -- cgit v1.2.3