aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpaint/gpaint.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2023-04-21 20:52:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-22 11:38:32 +0700
commit9462de532a0c6a8a4c207a697c3997f6193f833d (patch)
treeb5b5a1214a32fd359b90ae9891fc788b8d9d0ca4 /graphics/gpaint/gpaint.SlackBuild
parent5cc9f6c52280365cf7785bdf7cebfd8153bdc052 (diff)
graphics/gpaint: Updated for version 0.3.4.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/gpaint/gpaint.SlackBuild')
-rw-r--r--graphics/gpaint/gpaint.SlackBuild26
1 files changed, 5 insertions, 21 deletions
diff --git a/graphics/gpaint/gpaint.SlackBuild b/graphics/gpaint/gpaint.SlackBuild
index eaf7533c25b98..107df39559011 100644
--- a/graphics/gpaint/gpaint.SlackBuild
+++ b/graphics/gpaint/gpaint.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gpaint
-# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2013-2023 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gpaint
-VERSION=${VERSION:-0.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-2-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
+tar xvf $CWD/$PRGNAM-2-$VERSION.tar.gz
cd $PRGNAM-2-$VERSION
chown -R root:root .
find -L . \
@@ -79,22 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Thanks to Debian for the patches! And the man page and icon! And the
-# whole source tarball, actually...
-patch -p1 -i $CWD/patches/01_drawing.patch
-patch -p1 -i $CWD/patches/02_remove_menu_h_reference.patch
-patch -p1 -i $CWD/patches/09_fix_menu_entry.patch
-patch -p1 -i $CWD/patches/10_fix_crash_on_font_select.patch
-patch -p1 -i $CWD/patches/11_fix_image_rotation.patch
-patch -p1 -i $CWD/patches/20_fix_line_width_combo.patch
-patch -p1 -i $CWD/patches/21_fix_crash_on_fill_button_click.patch
-patch -p1 -i $CWD/patches/22_fix_not_printable_string.patch
-patch -p1 -i $CWD/patches/23_add_accelerator_keys.patch
-patch -p1 -i $CWD/patches/24_fix_crash_on_failed_write.patch
-patch -p1 -i $CWD/patches/25_fix_color_selection.patch
-patch -p1 -i $CWD/patches/26_fix_toolbar.patch
-
-LIBS="-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -118,7 +102,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO \
+ AUTHORS ChangeLog COPYING NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild