diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-12 16:05:39 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:21 +0700 |
commit | 02aabc74a72e59d48021aa771fec8c0d430eda75 (patch) | |
tree | ee2be0798078215bcd6608c8874e0b90c6d8b4bb /perl | |
parent | d05ec1e0af5975448dc71aeb648bcaa4db192782 (diff) |
perl/perl-gnome2-canvas: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-gnome2-canvas/README | 9 | ||||
-rw-r--r-- | perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild | 26 | ||||
-rw-r--r-- | perl/perl-gnome2-canvas/perl-gnome2-canvas.info | 6 | ||||
-rw-r--r-- | perl/perl-gnome2-canvas/slack-desc | 14 |
4 files changed, 31 insertions, 24 deletions
diff --git a/perl/perl-gnome2-canvas/README b/perl/perl-gnome2-canvas/README index 8d4180f779651..55b949c90f563 100644 --- a/perl/perl-gnome2-canvas/README +++ b/perl/perl-gnome2-canvas/README @@ -1 +1,8 @@ -Perl bindings for libgnomecanvas. +perl-gnome2-canvas (perl bindings for libgnomecanvas) + +The Gnome2::Canvas module allows a perl developer to use the +GnomeCanvas widget with Gtk2-Perl. + +Like the Gtk2 module on which it depends, Gnome2::Canvas follows the C +API of libgnomecanvas-2.0 as closely as possible while still being +perlish. Thus, the C API reference remains the canonical documentation. diff --git a/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild b/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild index 76d3a9c313f3b..9567cc1a58376 100644 --- a/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild +++ b/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild @@ -1,8 +1,11 @@ #!/bin/sh - -# Slackware build script for perl-gnome2-canvas - +# +# Slackware build script for perl-gnome2-canvas. +# # Copyright 2010 Binh Nguyen <binhvng@gmail.com> +# Copyright 2014-2017 Glenn Becker <glenn.becker@gmail.com> +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,18 +24,15 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 2014-10-11 Adopted by Glenn Becker <burningc@sdf.org> PRGNAM=perl-gnome2-canvas VERSION=${VERSION:-1.002} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -SRCNAM=Gnome2-Canvas - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,7 +57,9 @@ else LIBDIRSUFFIX="" fi -set -eu +SRCNAM="Gnome2-Canvas" + +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -86,8 +88,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; -# Remove perllocal.pod and other special files that don't need to be installed, -# as they will overwrite what's already on the system find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true # Remove empty directories diff --git a/perl/perl-gnome2-canvas/perl-gnome2-canvas.info b/perl/perl-gnome2-canvas/perl-gnome2-canvas.info index 664373f296690..33575ed28dade 100644 --- a/perl/perl-gnome2-canvas/perl-gnome2-canvas.info +++ b/perl/perl-gnome2-canvas/perl-gnome2-canvas.info @@ -1,10 +1,10 @@ PRGNAM="perl-gnome2-canvas" VERSION="1.002" -HOMEPAGE="https://metacpan.org/pod/Gnome2::Canvas" +HOMEPAGE="https://metacpan.org/release/Gnome2-Canvas" DOWNLOAD="http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-Canvas-1.002.tar.gz" MD5SUM="93405a987ba4bbd03c2f91592b88f5cb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libgnomecanvas perl-gtk2" -MAINTAINER="Glenn Becker" -EMAIL="glenn.becker@gmail.com" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-gnome2-canvas/slack-desc b/perl/perl-gnome2-canvas/slack-desc index 93527cbe55763..b30edba102f91 100644 --- a/perl/perl-gnome2-canvas/slack-desc +++ b/perl/perl-gnome2-canvas/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-gnome2-canvas: perl-gnome2-canvas (perl module) -perl-gnome2-canvas: -perl-gnome2-canvas: Perl bindings for libgnomecanvas. -perl-gnome2-canvas: -perl-gnome2-canvas: Homepage: http://search.cpan.org/dist/Gnome2-Canvas/ -perl-gnome2-canvas: -perl-gnome2-canvas: +perl-gnome2-canvas: perl-gnome2-canvas (perl bindings for libgnomecanvas) perl-gnome2-canvas: +perl-gnome2-canvas: The Gnome2::Canvas module allows a perl developer to use the +perl-gnome2-canvas: GnomeCanvas widget with Gtk2-Perl. perl-gnome2-canvas: +perl-gnome2-canvas: Like the Gtk2 module on which it depends, Gnome2::Canvas follows the C +perl-gnome2-canvas: API of libgnomecanvas-2.0 as closely as possible while still being +perl-gnome2-canvas: perlish. Thus, the C API reference remains the canonical documentation. perl-gnome2-canvas: +perl-gnome2-canvas: Home page: https://metacpan.org/release/Gnome2-Canvas perl-gnome2-canvas: |