misc/ardesia: Updated for version 0.8.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Geoff Ritter 2011-05-28 00:51:23 -03:00 committed by Robby Workman
parent d1dfe23b74
commit 01d0231fd5
3 changed files with 72 additions and 26 deletions

View File

@ -5,27 +5,67 @@ as well as annotate and redistribute it. Ardesia is also pressure
sensitive assuming your device is properly configured.
USER TIPS:
Ardesia is set to be 'always on top' and will be on top of even desktop
panels. However, if you have shortcuts too or launch the program with
'-d' you can toggle the 'always on top' option and the panel should
be back on top. This will allow you to opperate at least operate the
panel as well as minimize ardesia to regain full control over the
desktop. Personally, they should of had a 'pass through' mode so that
you would not have to hide the panel or the drawings to do things on
the desktop.
Ardesia functions differently under different window managers.
Fluxbox/Blackbox: D-
Even with cairo-compmgr or xcompmgr these only function with a solid color
background. You may have difficulty selecting tool box, try launching
with '-d'. As for other minimalist window managers, you are on your own.
XFCE: C
The drawing window has a title bar and you can't type in windows unless shaded
or minimized. Unknown work around for this.
KDE: A+
Default KDE settings will darken the screen. To fix this
System Settings > All Effects Tab > Shadow Properties > Uncheck Active windows
have stronger shadows > Disable Shadows (important if running) > Click Apply.
Optionally re-enable Shadows and click Apply.
GNOME 3.0: F
Sorry, I have no work around for the issues with this window manager.
- The Application hides the bar at the top (you can still access Activities
with a shortcut key.
- The Tool Box will always be below the drawing window.
- Because of the tool box, the main features of pictures, pdf, an screen
record can not be accessed.
Other:
If you have 'focus' extensions that gray out everything but the focused
window, you will probably have to disable it. However, if you are using
compiz, you probably are not using ardesia because there is a plugin for all
this functionality.
General:
Depending on the window manager, you may need to launch as "ardesia -d" to
obtain control of the tools panel. This may also require tweaking of other
settings to have the pannel appear on top of the drawing overlay window. You
may have to toggle "always on top" for the drawing window if you are capable
of toggling it seperatly from the tool box window.
The "mouse option" only seems to effectively work in KDE and XFCE. This is
a pass through mode that will interact with the desktop below the drawing
window.
The PDF export will allow you to add new pages to a pdf that are screen
captures of when the button is pressed. It does not save vector shapes.
Fluxbox and Blackbox are not compatible! The program will draw
black over everything and not allow you to access the tools the same
goes for curtain and spotlighter (maintained by ardesia). Openbox
works without issues. You are on your own testing other minimalist
window managers.
Here some xprops of the windows if you can control windows based on these:
Tool Box:
WM_CLASS(STRING) = "ardesia", "Ardesia"
WM_NAME(STRING) = "Ardesia"
Drawing Window:
WM_CLASS(STRING) = "ardesia", "Ardesia"
WM_NAME(STRING) = "window"
This requires gsl.
Runtime Requires
Runtime Required:
- A Composite manager (compiz, kwin, xcompmgr, cairo-compmgr, etc.)
Runtime Optional
Runtime Optional:
- VLC for recording and streaming

View File

@ -7,7 +7,7 @@
# Public Domain
PRGNAM=ardesia
VERSION=${VERSION:-0.6}
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -44,7 +44,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
# If you are going to blindly reset permissions, this is a bit more readable.
@ -72,18 +72,24 @@ make install DESTDIR=$PKG
# Make sure the Icon parameter is set properly in .desktop file
sed -i 's/Icon=.*/Icon=ardesia/' $PKG/usr/share/applications/ardesia.desktop
# Copy the icon to the proper folder
mkdir -p $PKG/usr/share/icons/hicolor/22x22/apps/
cp $PKG/usr/share/pixmaps/ardesia.png $PKG/usr/share/icons/hicolor/22x22/apps
mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/
mv $PKG/usr/share/icons/ardesia.png $PKG/usr/share/icons/hicolor/48x48/apps
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
# No Manpages
# A Man page was added
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# --docdir is not respected and does not install all of the standard document files
# Alternate Fail safe to the standard.
# if [ -d $PKG/usr/share/doc/ ]; then mv $PKG/usr/share/doc/ $PKG/usr/doc/; fi
# if [ -d $PKG/usr/doc/$PRGNAM ]; then rename $PRGNAM $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION; fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# make install already did this but to the wrong directory
# --docdir is not respected
mv $PKG/usr/doc/ardesia/* $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
# Copy the build script
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="ardesia"
VERSION="0.6"
VERSION="0.8"
HOMEPAGE="http://code.google.com/p/ardesia/"
DOWNLOAD="http://ardesia.googlecode.com/files/ardesia-0.6.tar.gz"
MD5SUM="1dcb2d54ed15d5cb25cc5b1968ac6562"
DOWNLOAD="http://ardesia.googlecode.com/files/ardesia-0.8.tar.bz2"
MD5SUM="f63cd6851498b2f8603ff59d736a136a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Geoff Ritter"