diff options
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/GD/GD-2.760.0.ebuild | 79 | ||||
-rw-r--r-- | dev-perl/GD/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/GD/files/GD-2.760.0-respect-libdir.patch | 39 | ||||
-rw-r--r-- | dev-perl/Manifest.gz | bin | 281735 -> 281735 bytes | |||
-rw-r--r-- | dev-perl/Net-AMQP-RabbitMQ/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild | 48 |
6 files changed, 171 insertions, 0 deletions
diff --git a/dev-perl/GD/GD-2.760.0.ebuild b/dev-perl/GD/GD-2.760.0.ebuild new file mode 100644 index 000000000000..f722bb933ed8 --- /dev/null +++ b/dev-perl/GD/GD-2.760.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=RURBAN +DIST_VERSION=2.76 +DIST_EXAMPLES=("demos/*") +inherit perl-module + +DESCRIPTION="Interface to Thomas Boutell's gd library" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="animgif fcgi test truetype xpm" + +RDEPEND=" + >=media-libs/gd-2.2.3[png,jpeg] + media-libs/giflib + media-libs/libjpeg-turbo + media-libs/libpng + sys-libs/zlib + truetype? ( + media-libs/gd[truetype] + media-libs/freetype:2 + ) + xpm? ( + media-libs/gd[xpm] + x11-libs/libXpm + ) + fcgi? ( + dev-libs/fcgi + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} + >=virtual/perl-ExtUtils-Constant-0.230.0 + dev-perl/ExtUtils-PkgConfig + virtual/perl-ExtUtils-MakeMaker + test? ( + >=dev-perl/Test-Fork-0.20.0 + >=virtual/perl-Test-Simple-0.880.0 + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.760.0-respect-libdir.patch +) + +src_configure() { + local myconfargs=( + VERSION_33 + GD_UNCLOSEDPOLY + GD_FTCIRCLE + + JPEG + PNG + GIF + ) + + # The following flags do not work properly. This is why we force-enable + # at least some of them. See bug 787404 as tracker. + use animgif && myconfargs+=( ANIMGIF ) + use truetype && myconfargs+=( FT ) + use xpm && myconfargs+=( XPM ) + + # Per line 284 of Makefile.PL + local myconf="--lib_gd_path ${ESYSROOT}/usr/$(get_libdir) -options '$(printf '%s,' ${myconfargs[@]})'" + use fcgi && myconf+=" --fcgi" + + perl-module_src_configure +} + +src_test() { + # The 'GD' format itself is long-obsolete and gone in >=media-libs/gd-2.3.3 + perl_rm_files t/z_*.t t/GD.t + perl-module_src_test +} diff --git a/dev-perl/GD/Manifest b/dev-perl/GD/Manifest index f2b41ca89398..e6b40e6edce0 100644 --- a/dev-perl/GD/Manifest +++ b/dev-perl/GD/Manifest @@ -1,3 +1,6 @@ +AUX GD-2.760.0-respect-libdir.patch 1416 BLAKE2B 63ee4ce7af705624e7e52f5ccd36d521de5f78d4bb079a79661106d31a726eb64fd5069d6888dcec1e3ae46d83bb44ef88ae6c2fd5ad95a97c92d51d7afd8d07 SHA512 93bced05b6643681a9e566fa12fe259e7345a4de4101b2d9827bf81602544178dc7b17f0918d827ba5135c9e055a92707c802b8989e9518e8ed94e1482aa8df3 DIST GD-2.73.tar.gz 261203 BLAKE2B 088cb4d3c846d61e89631c7fef6b0273489297f0613e1ebb98c33b404a613431c79a5e72c2b757450496ef8d86aabe387b102a4c8d22d69532b8d8e989bac9bf SHA512 0c360c86307c8a2484bd8e1fb4cf24e27f7976bcfd830d9070fdc3775d233845734c59796082d498276aa715f30c9452c492b0d5bd75e488c1e9c5fa76490709 +DIST GD-2.76.tar.gz 264364 BLAKE2B 4cfe36f74aae50141f00cd8d3a6eddbf819dafd76ecfc1fbf219c3ae40009b9e4c1e6b94a33416842846dead17bfc1f883324757fd66124aae8e2cbae2bcfef3 SHA512 31c2d61440a7fef9804aed677ee5568f6c237e678cf5a2b7f48e98326ef7cddbf3624ce3965e6711ef9cec4148881a0cb4352c19b91ead4b78835fafaeefbe4d EBUILD GD-2.730.0-r1.ebuild 1601 BLAKE2B 8c92e9a553a1af58731441adc324e3c751370b3aec5182b57c6d1731152a277c1d0d4888bdcdc573f1252108b8fa9ad72836c99ee66d59755ae2f2482e011578 SHA512 1f962ebe6a9a9e1d499ad4fe298c57997913fc7a1594d7f54b3df1ad1ff6e6eb5e6b6c14f7261c9fd8119e075570c60a9cfd0a3e23af422531bf15d20e41119c +EBUILD GD-2.760.0.ebuild 1648 BLAKE2B 064964e4ca345b09107f0d5dc1f2f07d867082fe6b3a2a38077fd530c3904f43c73caf4a0bca3279c7b7187e3c22cc938b59004a150ea2e7e40e37880505e456 SHA512 f76e5b4d2e7bb72e32407dfe24110f03e33cf818a599c6cd23714d2cdb6a625485c3951f9087387f3dc1436ef5d4b81abcab62cfab2f6e2e76a51cc581153e86 MISC metadata.xml 853 BLAKE2B 4332a510e17993dbfe948ad2ab9bd2a87fed7336a9fb536e933ea81d595674b019a4fc4312e61306ed224996fdcc9e9131ced244ede1823d19270b72e7d0e43f SHA512 e96e747f74b628c306f4a28b36d40da109bf6b580c2dcf09426717a77e77620e63f3c559f83662f221e2ba95c9d317856c80e5e0f438edb82ef89b6d1d9879fa diff --git a/dev-perl/GD/files/GD-2.760.0-respect-libdir.patch b/dev-perl/GD/files/GD-2.760.0-respect-libdir.patch new file mode 100644 index 000000000000..3651cc3283e2 --- /dev/null +++ b/dev-perl/GD/files/GD-2.760.0-respect-libdir.patch @@ -0,0 +1,39 @@ +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -56,12 +56,6 @@ END + + @LIBS = qw(-lgd) unless @LIBS; + +-# support for AMD64 libraries +-if (-d '/usr/lib64') { +- my @libs64 = map {my $a = $_; $a=~ s/lib$/lib64/; $a} @LIBPATH; +- @LIBPATH = (@LIBPATH,@libs64); +-} +- + ############################################################################################# + # Build options passed in to script to support reproducible builds via Makefiles + ############################################################################################# +@@ -219,12 +213,6 @@ if( ! defined($lib_gd_path) ) + $PREFIX = prompt('Where is libgd installed?','/usr/lib'); + } + +-unless ($AUTOCONFIG || $PREFIX eq '/usr/lib') { +- $PREFIX =~ s!/lib$!!; +- unshift @INC,"-I$PREFIX/include"; +- unshift @LIBPATH,"-L$PREFIX/lib"; +-} +- + # FEATURE FLAGS + + ################################################################################################################## +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -514,7 +514,7 @@ sub try_to_autoconfigure { + unless ($config) { + my %config; + require ExtUtils::PkgConfig; +- %config = ExtUtils::PkgConfig->find ("$prefix/lib/pkgconfig/gdlib.pc") if $prefix; ++ %config = ExtUtils::PkgConfig->find ("$lib_gd_path/pkgconfig/gdlib.pc") if $prefix; + %config = ExtUtils::PkgConfig->find ("gdlib") unless %config; + return unless %config; + $version = $config{modversion}; diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz Binary files differindex 42b44296d0c4..d48695a2e8bf 100644 --- a/dev-perl/Manifest.gz +++ b/dev-perl/Manifest.gz diff --git a/dev-perl/Net-AMQP-RabbitMQ/Manifest b/dev-perl/Net-AMQP-RabbitMQ/Manifest index 1e84fb533387..561dc98ed7c7 100644 --- a/dev-perl/Net-AMQP-RabbitMQ/Manifest +++ b/dev-perl/Net-AMQP-RabbitMQ/Manifest @@ -1,3 +1,5 @@ DIST Net-AMQP-RabbitMQ-2.40009.tar.gz 198363 BLAKE2B 35aea3ba96b6b9cfaf8b8fa14d2a00326e4d64cc74d438ab59b6773f7ce67fd2ea7ded91a487eb20cdbe174c68825434839a8d7afb8e764e4a228e7088bba875 SHA512 2c0f53d59858e777fbc712c3bd06e3464783559dd9424c58a8fe586747e1d43aa4a607268484ec8bf4f10e979788ed5ea9558208096187c6e0c12a473e465459 +DIST Net-AMQP-RabbitMQ-2.40010.tar.gz 206449 BLAKE2B c7b3e8b9841fb10519da063088dd1f8b2aa9791d459ce88198610394d284c182147f22bf260c7291e36a9b56903499bc43991d029e02ff009709b38557b43bff SHA512 1e0256a3903379031059723ca0d11182ed4ef5a4ae4053d47f57ae1d4c5f42b3a9c48b7fd3dceb057c492c179bc01484651bb063fb5bca4542185fdca7471b06 EBUILD Net-AMQP-RabbitMQ-2.40009.ebuild 1095 BLAKE2B ce8e7ceb5812cfe232811635a38a187a1d141bc5ef2195e85e73c82ad29049cb080f9e1fbdb4dddc9aed55e92ae9f4765b799c9ed9a9b706177edd0a9c8a02d7 SHA512 9f13b847d0a2615ed0095ea1cd5eb48764894d0741dcaa55f5d007028217df349d2ac1031a6bbcdebd2ccc14d8e441a85d139c7444816d81092d535de4e5d810 +EBUILD Net-AMQP-RabbitMQ-2.40010.ebuild 1095 BLAKE2B ce8e7ceb5812cfe232811635a38a187a1d141bc5ef2195e85e73c82ad29049cb080f9e1fbdb4dddc9aed55e92ae9f4765b799c9ed9a9b706177edd0a9c8a02d7 SHA512 9f13b847d0a2615ed0095ea1cd5eb48764894d0741dcaa55f5d007028217df349d2ac1031a6bbcdebd2ccc14d8e441a85d139c7444816d81092d535de4e5d810 MISC metadata.xml 505 BLAKE2B d62dec2c43dbdb447305841145f339f353322e4191b3c9c88683013db6a734a53479dea77de1c6dd086a3bd81c0b80d70489460a2c278b17f4dec1a8c985302d SHA512 fc9e8ca0552cc6c5f638afaa918602f5fbd008c6a88afea0fc21366b3f2fa7289f1fef57a91111376bdb14566a826474dd0765ee9a9a88fa8e1bbfd3c9ba435c diff --git a/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild b/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild new file mode 100644 index 000000000000..dc9f888eecc1 --- /dev/null +++ b/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR="MSTEMLE" + +inherit perl-module + +DESCRIPTION="interact with RabbitMQ over AMQP using librabbitmq" + +LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-perl/Math-Int64-0.540.0" + +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.660.0 + test? ( + net-misc/rabbitmq-server + ) +" + +src_test() { + einfo "Starting rabbitmq" + local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log" + local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia" + local -x RABBITMQ_LOGS="${T}/rabbitmq.log" + local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid" + local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins" + /usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 & + + einfo "Waiting for rabbitmq to fully load" + while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do + sleep 1 + done + einfo "rabbitmq is ready" + + perl-module_src_test + + einfo "Stopping rabbitmq" + kill "$(<"${RABBITMQ_PID_FILE}")" || die +} |