graphics/tuxpaint: Added tuxpaint-config.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d2fd5bc342
commit
287b7c78e5
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue