diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/tuxpaint/README | 7 | ||||
-rw-r--r-- | graphics/tuxpaint/tuxpaint.SlackBuild | 19 | ||||
-rw-r--r-- | graphics/tuxpaint/tuxpaint.info | 10 |
3 files changed, 23 insertions, 13 deletions
diff --git a/graphics/tuxpaint/README b/graphics/tuxpaint/README index 1884956536fd9..325526739b667 100644 --- a/graphics/tuxpaint/README +++ b/graphics/tuxpaint/README @@ -9,7 +9,8 @@ and has entertaining, child-oriented additions such as sound effects. tuxpaint-config is now also included as a gui tool to configure tuxpaint. -Note: end users will need to create a Pictures directory in their home -directory in order to export slideshows as animated GIFs. This bug has -been reported and will hopefully get fixed for the next version. +Note: Please uninstall inkscape before creating this package to avoid +a couple of file artifacts outside the package directory. inkscape can +be reinstalled once this package is created. +This is the sdl1 version of the program. diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild index 560bd9b0dfa9a..57e3881741c7d 100644 --- a/graphics/tuxpaint/tuxpaint.SlackBuild +++ b/graphics/tuxpaint/tuxpaint.SlackBuild @@ -11,12 +11,13 @@ # - update for v0.9.27 and config v0.0.18. # - fix parallel builds. # - stop spamming the real /usr (ugh). +# 20220610 tim dickson: updated to 0.9.28 . sticking with sdl1 version for now cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tuxpaint -VERSION=${VERSION:-0.9.27} -CONFVER=${CONFVER:-0.0.18} +VERSION=${VERSION:-0.9.28} +CONFVER=${CONFVER:-0.0.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,9 +59,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-sdl1 rm -rf $PRGNAM-config-$CONFVER -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION-sdl1.tar.gz +cd $PRGNAM-$VERSION-sdl1 +#prevent out-of-tree file if inkscape is installed +export INKSCAPE_PROFILE_DIR=${pwd}/.tmp.inkscape chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -111,6 +115,8 @@ cd $PRGNAM-config-$CONFVER # 20220226 bkw: fix parallel builds. mkdir trans +#fix X11 location +sed -i 's_X11R6/i_/i_g' Makefile make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS" make \ @@ -124,7 +130,10 @@ make \ install strip $PKG/usr/bin/tuxpaint{,-config} $PKG/usr/lib*/tuxpaint/plugins/*.so - +#fix permissions +chmod 0644 $PKG/usr/man/*/*/tuxpaint.1.gz +chmod 0644 $PKG/usr/man/man1/*.gz +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/graphics/tuxpaint/tuxpaint.info b/graphics/tuxpaint/tuxpaint.info index 6a3b3204bd4a8..005a444d5899d 100644 --- a/graphics/tuxpaint/tuxpaint.info +++ b/graphics/tuxpaint/tuxpaint.info @@ -1,10 +1,10 @@ PRGNAM="tuxpaint" -VERSION="0.9.27" +VERSION="0.9.28" HOMEPAGE="http://www.tuxpaint.org" -DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.27.tar.gz \ - http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.18.tar.gz" -MD5SUM="397b50d6c374d74380450b7d63733855 \ - 1f19c79ba30d6654a246885375c2a1a4" +DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.28-sdl1.tar.gz \ + http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.19.tar.gz" +MD5SUM="ee11362810ab358e8dc340c66f585fef \ + f732341c88761e756581264960553198" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libpaper SDL_Pango SDL_gfx fltk pngquant libunibreak" |