diff options
Diffstat (limited to 'dev-perl/Panotools-Script')
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-perl/Panotools-Script/Manifest b/dev-perl/Panotools-Script/Manifest index 1f95b1b532b8..d382cee16ac8 100644 --- a/dev-perl/Panotools-Script/Manifest +++ b/dev-perl/Panotools-Script/Manifest @@ -1,3 +1,5 @@ +AUX Panotools-Script-0.28-curly-bracket.patch 1212 BLAKE2B 73e5be9293830d33cca8502260c68f32573d4e3302313e4fa487ecfbb7813c6e65bf62f602fb1cc3cda1a17bb00e0c66c171367c205ff598dbef202f3fb8de75 SHA512 bdeea08d578f92b6022dfb49e702a8ce3aeba59cbf3c6b3eb09c8eacb820e7d4d6f753bea4f0bf267f6639c0c9fe5217f9c113cec0a4b7114e361702b35fb1f6 DIST Panotools-Script-0.28.tar.gz 158062 BLAKE2B 8131df889a344fcff745158e144905e4b644f55c4cbbd8ab92bc9c28ef870e4d0c95052aa66e1fdcace1d702b57b5b040a349adbf14622017bf1386c6c178b58 SHA512 bc63985c7412dec33ce10025e96dc7b26fe57bf2d016e7de60c082204a22681ece624054c08051c3760582386eea0954118c523db192589ace78cdf2dfacc750 EBUILD Panotools-Script-0.280.0-r2.ebuild 929 BLAKE2B 7643763eab61d6f9547787eb93ca72da79070722e43006beb598d6149d9a433a3c588dad8ad1f0ebf30b0041e9ee7b79d134ebc50212adce4ca4ce539d3a8c3d SHA512 c899b3abd7aecb985f9b1ccb0a8f84ef1f02cbfd653464e2357270a5a86f88d9bf354e67dc5e6142c822383b3687df08c180978d158c9116ead12191f31319e8 +EBUILD Panotools-Script-0.280.0-r3.ebuild 967 BLAKE2B 402bdb7e15730091d3f3b8b73f96d98a4462776d6d7d7879687e6c03a08d4b624cc557f51a76dc172ccdc11d563c5110c5beaa31261f73227d63c8d303dbba19 SHA512 dcc45e39554510a69fe16143474c77120cce94501e26a314d5505bc7534357add781004e8d1b6dacd1d832cef1cf0455209b150d80ef13e73309a00a49d43dd0 MISC metadata.xml 1843 BLAKE2B a3ab7a5b8f88a6cd9c13595ed075b975ab45ef8163c87d0a7a79218e44f8a08311d4f061a461b11ea034ce3ff4b741ccc432cb58a19859aec5ec67c507d596ae SHA512 f385acdb7677a1dc63e64e30c79f6900ef258164d18fc003a4bd6dafa98659830c0b210511b86fe06834c10f335a21d1818cbcb72477ef2821d39e06251aea12 diff --git a/dev-perl/Panotools-Script/Panotools-Script-0.280.0-r3.ebuild b/dev-perl/Panotools-Script/Panotools-Script-0.280.0-r3.ebuild new file mode 100644 index 000000000000..c04a544f9aed --- /dev/null +++ b/dev-perl/Panotools-Script/Panotools-Script-0.280.0-r3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=BPOSTLE +DIST_VERSION=0.28 +inherit eutils perl-module + +DESCRIPTION="A perl module for reading, writing, and manipulating hugin script files" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gui" + +RDEPEND="dev-perl/URI + dev-perl/libwww-perl + >=dev-perl/Image-Size-2.900.0 + >=media-libs/exiftool-6 + gui? ( gnome-extra/zenity )" +DEPEND="" +PATCHES=( "${FILESDIR}/${PN}-0.28-curly-bracket.patch" ) + +src_install() { + perl-module_src_install + if use gui ; then + domenu "${S}"/desktop/*.desktop || die + else + rm "${D}"/usr/bin/*-gui || die + fi +} + +pkg_postinst() { + einfo "Some of the scripts require 'nona', 'freepv', 'enblend', 'autotrace', and" + einfo "ImageMagick command-line tools which are available in the following" + einfo "packages: media-gfx/hugin, media-gfx/freepv, media-gfx/enblend," + einfo "media-gfx/autotrace, and media-gfx/imagemagick." +} diff --git a/dev-perl/Panotools-Script/files/Panotools-Script-0.28-curly-bracket.patch b/dev-perl/Panotools-Script/files/Panotools-Script-0.28-curly-bracket.patch new file mode 100644 index 000000000000..edbc260e7d5b --- /dev/null +++ b/dev-perl/Panotools-Script/files/Panotools-Script-0.28-curly-bracket.patch @@ -0,0 +1,30 @@ +From eb0ec97d7cd256b1c57e1508134c0285203d6674 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> +Date: Mon, 22 May 2017 11:48:27 +0200 +Subject: Escape literal curly bracket in a regexp +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Literal curly brackets must be escaped for Perl 5.26.0. + +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=117275 +Bug: https://bugs.gentoo.org/623084 +Signed-off-by: Petr Písař <ppisar@redhat.com> +--- + t/104.metachars.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/104.metachars.t b/t/104.metachars.t +index 68ec199..8f3bb9e 100644 +--- a/t/104.metachars.t ++++ b/t/104.metachars.t +@@ -25,4 +25,4 @@ print $rule->Assemble; + ok ($rule->Assemble =~ /%.1 : %.pod/); + ok ($rule->Assemble =~ /\tpod2man --center \$\(PACKAGE\) --release \$\(PACKAGE_VERSION\) \$< \$@/); + ok ($rule->Assemble =~ /\techo `uname -a` > \$\(TMPDIR\)\/foo/); +-ok ($rule->Assemble =~ /\tuname -a > \${TMPDIR}\/bar && echo \\"\\ \\#\\#\\#\\ \\\(woo\\!\\\)\\ \\#\\#\\#\\ \\"/); ++ok ($rule->Assemble =~ /\tuname -a > \$\{TMPDIR\}\/bar && echo \\"\\ \\#\\#\\#\\ \\\(woo\\!\\\)\\ \\#\\#\\#\\ \\"/); +-- +2.15.1 + |