summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tuxpaint/README2
-rw-r--r--graphics/tuxpaint/slack-desc4
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild36
-rw-r--r--graphics/tuxpaint/tuxpaint.info6
4 files changed, 41 insertions, 7 deletions
diff --git a/graphics/tuxpaint/README b/graphics/tuxpaint/README
index e233013237..3be2b90773 100644
--- a/graphics/tuxpaint/README
+++ b/graphics/tuxpaint/README
@@ -6,5 +6,7 @@ images using a thumbnail browser (e.g., no access to the underlying
file-system). Unlike popular drawing programs like "The GIMP," it has
a very limited tool-set. However, it provides a much simpler interface,
and has entertaining, child-oriented additions such as sound effects.
+tuxpaint-config is now also included as a gui tool to configure
+tuxpaint.
SDL_Pango is an optional dependency.
diff --git a/graphics/tuxpaint/slack-desc b/graphics/tuxpaint/slack-desc
index 3faf6ec8bf..7add15e15a 100644
--- a/graphics/tuxpaint/slack-desc
+++ b/graphics/tuxpaint/slack-desc
@@ -12,8 +12,8 @@ tuxpaint: "Tux Paint" is a drawing program for young children.
tuxpaint: It provides a simple interface and fixed canvas size,
tuxpaint: and provides access to previous images using a thumbnail
tuxpaint: browser (e.g., no access to the underlying file-system).
-tuxpaint:
-tuxpaint:
+tuxpaint: tuxpaint-config is included as a gui for configuring
+tuxpaint: tuxpaint.
tuxpaint:
tuxpaint:
tuxpaint:
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild
index 41314b7256..9132dc564d 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -5,10 +5,12 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Taken over maintenance (and some updates) by Tim Dickson (dickson.tim@googlemail.com)
+# added tuxpaint-config 2019-02-11
PRGNAM=tuxpaint
VERSION=${VERSION:-0.9.23}
-BUILD=${BUILD:-1}
+CONFVER=${CONFVER:-0.0.14}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -44,6 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-config-$CONFVER
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -65,10 +68,37 @@ make \
install
mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new
-
mkdir -p $PKG/usr/share/applications
cp src/$PRGNAM.desktop $PKG/usr/share/applications/
-
+#
+#now for tuxpaint-config
+#
+cd ..
+tar xvf $CWD/$PRGNAM-config-$CONFVER.tar.gz
+cd $PRGNAM-config-$CONFVER
+make
+#unfortunately tuxpaint-config does not have DESTDIR configured, so we
+#have to do things by hand. copy executable, icons and desktop file and man
+mkdir -p $PKG/usr/bin
+cp $PRGNAM-config $PKG/usr/bin/
+mkdir -p $PKG/usr/share/pixmaps
+cp data/images/icon.png $PKG/usr/share/pixmaps/$PRGNAM-config.png
+cp data/images/icon32x32.xpm $PKG/usr/share/pixmaps/$PRGNAM-config.xpm
+for i in "16x16" "32x32" "48x48"; do
+ mkdir -p $PKG/usr/share/icons/hicolor/$i
+ cp data/images/icon$i.png $PKG/usr/share/icons/hicolor/$i/$PRGNAM-config.png
+done
+mkdir -p $PKG/usr/share/applications
+cp src/$PRGNAM-config.desktop $PKG/usr/share/applications/$PRGNAM-config.desktop
+mkdir -p $PKG/usr/man/man1
+cp src/$PRGNAM-config.1 $PKG/usr/man/man1/$PRGNAM-config.1
+gzip -9f $PKG/usr/man/man1/$PRGNAM-config.1
+#finally for translation files
+for i in `ls trans`; do
+ mkdir -p $PKG/usr/share/locale/$i/LC_MESSAGES
+ cp trans/$i $PKG/usr/share/locale/$i/LC_MESSAGES/$PRGNAM-config.mo
+done
+#now sanitize stuff.
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/tuxpaint/tuxpaint.info b/graphics/tuxpaint/tuxpaint.info
index 90c4e0c40c..4c2a9c9454 100644
--- a/graphics/tuxpaint/tuxpaint.info
+++ b/graphics/tuxpaint/tuxpaint.info
@@ -1,8 +1,10 @@
PRGNAM="tuxpaint"
VERSION="0.9.23"
HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.23.tar.gz"
-MD5SUM="5dfc5a710b5550c54bbc8cb7cf06d594"
+DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.23.tar.gz \
+ http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.14.tar.gz"
+MD5SUM="5dfc5a710b5550c54bbc8cb7cf06d594 \
+ 1d7e81f01c52943ee9849aac5415cd86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libpaper SDL_Pango"