From c959f4723b6bd7c9940e228807b451933e5b43da Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Tue, 18 May 2021 17:43:38 +0300 Subject: perl/perl-tk: update for version 804.036 Signed-off-by: Willy Sudiarto Raharjo --- perl/perl-tk/patches/perl-tk-804.031.diff | 9 --------- perl/perl-tk/patches/perl_bin_path.diff | 8 -------- perl/perl-tk/perl-tk.SlackBuild | 30 +++++++++++++++++++++++++----- perl/perl-tk/perl-tk.info | 6 +++--- perl/perl-tk/perl_bin_path.diff | 8 ++++++++ 5 files changed, 36 insertions(+), 25 deletions(-) delete mode 100644 perl/perl-tk/patches/perl-tk-804.031.diff delete mode 100644 perl/perl-tk/patches/perl_bin_path.diff create mode 100644 perl/perl-tk/perl_bin_path.diff (limited to 'perl/perl-tk') diff --git a/perl/perl-tk/patches/perl-tk-804.031.diff b/perl/perl-tk/patches/perl-tk-804.031.diff deleted file mode 100644 index 1e595c009a5c..000000000000 --- a/perl/perl-tk/patches/perl-tk-804.031.diff +++ /dev/null @@ -1,9 +0,0 @@ -diff -ru Tk-804.031.org/TextList/reindex.pl Tk-804.031/TextList/reindex.pl ---- Tk-804.031.org/TextList/reindex.pl 2007-02-10 05:54:45.000000000 -0300 -+++ Tk-804.031/TextList/reindex.pl 2010-08-05 13:53:36.447371174 -0300 -@@ -1,4 +1,4 @@ --#!/bin/perl -+#!/usr/bin/perl - - use lib qw(/home1/gbartels/textlist); - use Tk; diff --git a/perl/perl-tk/patches/perl_bin_path.diff b/perl/perl-tk/patches/perl_bin_path.diff deleted file mode 100644 index 2d304b4dc41f..000000000000 --- a/perl/perl-tk/patches/perl_bin_path.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- TextList/reindex.pl.orig 2015-11-05 21:46:10.470602695 +0100 -+++ TextList/reindex.pl 2015-11-05 21:46:21.884547803 +0100 -@@ -1,4 +1,4 @@ --#!/bin/perl -+#!/usr/bin/perl - - use lib qw(/home1/gbartels/textlist); - use Tk; diff --git a/perl/perl-tk/perl-tk.SlackBuild b/perl/perl-tk/perl-tk.SlackBuild index e0f0cf71262a..681153ae4f3d 100644 --- a/perl/perl-tk/perl-tk.SlackBuild +++ b/perl/perl-tk/perl-tk.SlackBuild @@ -1,11 +1,31 @@ #!/bin/sh -# Slackware build script for perl-tk (Tk) - -# Written by Pablo Santamaria (pablosantamaria@gmail.com) +# Slackware build script for perl-tk + +# Copyright 2010-2017 Pablo Santamaria pablosantamaria@gmail.com +# Copyright 2017-2020 Ryan S. Northrup northrup@yellowapple.us +# Updated in 2021 by Petar Petrov slackalaxy@gmail.com +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# 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. PRGNAM=perl-tk -VERSION=${VERSION:-804.033} +VERSION=${VERSION:-804.036} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,7 +72,7 @@ find -L . \ -exec chmod 644 {} \; # Apply a few patches -patch -p0 < $CWD/patches/perl_bin_path.diff +patch -p0 < $CWD/perl_bin_path.diff # XFT=1 (font manager) support, which gives perl-tk programs the ability to # use all fonts accessible from XFT and antialiasing. diff --git a/perl/perl-tk/perl-tk.info b/perl/perl-tk/perl-tk.info index aa6035734fb7..00a8599c040b 100644 --- a/perl/perl-tk/perl-tk.info +++ b/perl/perl-tk/perl-tk.info @@ -1,8 +1,8 @@ PRGNAM="perl-tk" -VERSION="804.033" +VERSION="804.036" HOMEPAGE="https://metacpan.org/pod/Tk" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.033.tar.gz" -MD5SUM="4c6d281ca9c6c2349e5cf84394e638fa" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz" +MD5SUM="d663d4cbf33a3ed92c8d2ede22aaed60" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-tk/perl_bin_path.diff b/perl/perl-tk/perl_bin_path.diff new file mode 100644 index 000000000000..2d304b4dc41f --- /dev/null +++ b/perl/perl-tk/perl_bin_path.diff @@ -0,0 +1,8 @@ +--- TextList/reindex.pl.orig 2015-11-05 21:46:10.470602695 +0100 ++++ TextList/reindex.pl 2015-11-05 21:46:21.884547803 +0100 +@@ -1,4 +1,4 @@ +-#!/bin/perl ++#!/usr/bin/perl + + use lib qw(/home1/gbartels/textlist); + use Tk; -- cgit v1.2.3