diff options
Diffstat (limited to 'dev-perl/Panotools-Script')
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-perl/Panotools-Script/Manifest b/dev-perl/Panotools-Script/Manifest new file mode 100644 index 000000000000..4bb82e55c1b7 --- /dev/null +++ b/dev-perl/Panotools-Script/Manifest @@ -0,0 +1,4 @@ +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-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 + diff --git a/dev-perl/Panotools-Script/metadata.xml b/dev-perl/Panotools-Script/metadata.xml new file mode 100644 index 000000000000..5d05919ccdc7 --- /dev/null +++ b/dev-perl/Panotools-Script/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <use> + <flag name="gui"> + Installs GUIs for some tools + </flag> + </use> + <upstream> + <remote-id type="cpan">Panotools-Script</remote-id> + <remote-id type="cpan-module">Panotools::Makefile</remote-id> + <remote-id type="cpan-module">Panotools::Makefile::Comment</remote-id> + <remote-id type="cpan-module">Panotools::Makefile::Rule</remote-id> + <remote-id type="cpan-module">Panotools::Makefile::Utils</remote-id> + <remote-id type="cpan-module">Panotools::Makefile::Variable</remote-id> + <remote-id type="cpan-module">Panotools::Matrix</remote-id> + <remote-id type="cpan-module">Panotools::Photos</remote-id> + <remote-id type="cpan-module">Panotools::Script</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Control</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::ControlMorph</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Image</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::ImageMetadata</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Mask</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Mode</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Option</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Output</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Panorama</remote-id> + <remote-id type="cpan-module">Panotools::Script::Line::Variable</remote-id> + </upstream> +</pkgmetadata> |