From 90fd724a8dc2808ec96ce16bb53a51feea460d7f Mon Sep 17 00:00:00 2001 From: Jose Maria Marin Carceles Date: Thu, 13 May 2010 00:58:24 +0200 Subject: [PATCH] graphics/whyteboard: Added to 13.0 repository --- graphics/whyteboard/README | 16 +++++ graphics/whyteboard/doinst.sh | 4 ++ graphics/whyteboard/slack-desc | 19 ++++++ graphics/whyteboard/whyteboard.SlackBuild | 76 ++++++++++++++++++++++ graphics/whyteboard/whyteboard.desktop | 11 ++++ graphics/whyteboard/whyteboard.info | 10 +++ graphics/whyteboard/whyteboard.png | Bin 0 -> 4548 bytes 7 files changed, 136 insertions(+) create mode 100644 graphics/whyteboard/README create mode 100644 graphics/whyteboard/doinst.sh create mode 100644 graphics/whyteboard/slack-desc create mode 100644 graphics/whyteboard/whyteboard.SlackBuild create mode 100644 graphics/whyteboard/whyteboard.desktop create mode 100644 graphics/whyteboard/whyteboard.info create mode 100644 graphics/whyteboard/whyteboard.png diff --git a/graphics/whyteboard/README b/graphics/whyteboard/README new file mode 100644 index 0000000000..e3a8f97b8b --- /dev/null +++ b/graphics/whyteboard/README @@ -0,0 +1,16 @@ +Whyteboard is a painting whiteboard application that runs on Linux and +Windows, that allows the annotation of PDF, PostScript documents and +various image formats with common drawing tools (pen, rectangles, ellipses, +text). A history of your drawing is stored, facilitating the replaying of +your drawing. + +Whyteboard enables tabbed painting, with multiple sheets that can be drawn +upon, with each sheet having its own live-updating thumbnail. This allows +the editing of multiple documents or images inside a single instance of +Whyteboard. Each sheet has its own undo and redo operations as well as +its own history replay list. + +Requires python >=2.5 (included in slackware-13.0), wxPython >= 2.8 +available at Slackbuilds.org. + +An optional requirement is ImageMagick included in Slackware. diff --git a/graphics/whyteboard/doinst.sh b/graphics/whyteboard/doinst.sh new file mode 100644 index 0000000000..392c12adb9 --- /dev/null +++ b/graphics/whyteboard/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications +fi + diff --git a/graphics/whyteboard/slack-desc b/graphics/whyteboard/slack-desc new file mode 100644 index 0000000000..450b6c085b --- /dev/null +++ b/graphics/whyteboard/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler----------------------------------------------------| +whyteboard: Whyteboard (A simple image, pdf and postcript annotator) +whyteboard: +whyteboard: Whyteboard is a painting application that allows +whyteboard: the annotation of pdf, postcript documents and various image +whyteboard: formats with common drawing tools (pen, rectangles, ellipses, +whyteboard: text) +whyteboard: +whyteboard: Homepage: http://code.google.com/p/whyteboard +whyteboard: +whyteboard: +whyteboard: diff --git a/graphics/whyteboard/whyteboard.SlackBuild b/graphics/whyteboard/whyteboard.SlackBuild new file mode 100644 index 0000000000..44ccf301d6 --- /dev/null +++ b/graphics/whyteboard/whyteboard.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/sh +# +# Slackware build script for Whyteboard +# +# Copyright 2009 Jose Maria Marin Carceles +# +# +# 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=whyteboard +VERSION=${VERSION:-0.37.0} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +SRCVER=$(echo $VERSION|tr -d ".") + +if [ "$ARCH" = "i486" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM +chown -R root:root . + +mkdir -p $PKG/usr/bin \ + $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM \ + $PKG/usr/doc/$PRGNAM-$VERSION \ + $PKG/usr/share/{applications,pixmaps} + +cp *.py $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM +cp *.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp whyteboard-help/*.htm $PKG/usr/doc/$PRGNAM-$VERSION +cd $PKG/usr/bin +ln -s ../lib/$PRGNAM/whyteboard.py whyteboard + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop +cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/graphics/whyteboard/whyteboard.desktop b/graphics/whyteboard/whyteboard.desktop new file mode 100644 index 0000000000..074cc0a349 --- /dev/null +++ b/graphics/whyteboard/whyteboard.desktop @@ -0,0 +1,11 @@ + +[Desktop Entry] +Exec=whyteboard +Icon=/usr/share/pixmaps/whyteboard.png +Type=Application +Categories=Graphics; +Name=whyteboard.desktop +GenericName= +Comment=A simple pdf and image annotator +MimeType=x-whyteboard +StartupNotify=true diff --git a/graphics/whyteboard/whyteboard.info b/graphics/whyteboard/whyteboard.info new file mode 100644 index 0000000000..22219682a1 --- /dev/null +++ b/graphics/whyteboard/whyteboard.info @@ -0,0 +1,10 @@ +PRGNAM="whyteboard" +VERSION="0.37.0" +HOMEPAGE="http://code.google.com/p/whyteboard" +DOWNLOAD="http://whyteboard.googlecode.com/files/whyteboard-0.37.0.tar.gz" +MD5SUM="deea69ebc5dc68d849b293d3695984c9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Jose Maria Marin Carceles" +EMAIL="chemarister@gmail.com" +APPROVED="dsomero" diff --git a/graphics/whyteboard/whyteboard.png b/graphics/whyteboard/whyteboard.png new file mode 100644 index 0000000000000000000000000000000000000000..09dfe57c3329af5b20958157f648b12d2bb83db4 GIT binary patch literal 4548 zcmV;#5j*aQP)kWS+eDo_p@e65fZ%@A?q|L5vZEfS8sWB7_)$h!6rL1QC!@ zMo3@!w_NtW@`zC&h-u+55@N)Li1A=O5Cc*~aw*VCpjAXkMI`?I!3hx|01`rg)xX?h43s3!K;~MIV-5j5-rv57hH^EwL}mSVx;$hr<3JB*B$?{HvDyOxSV^+ zXnCA@{&1V~^V=17ub{4q-zT^jQyl?>5Rno(6Zm>E{CVB+r>{MK**m@*Jlmbap3nT3 zY}u{_-gJm?%l*yr_XlnSHbzbef%lGc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