desktop/wally: Added (wallpaper changer)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2010-06-15 00:10:08 -05:00 committed by Robby Workman
parent 9e2a44646a
commit 898a1a45cb
7 changed files with 158 additions and 0 deletions

5
desktop/wally/README Normal file
View file

@ -0,0 +1,5 @@
Wally is a Qt4 wallpaper changer, using multiple sources like files, folders,
FTP remote folders, Flickr, Yahoo!, Panoramio, Pikeo, Ipernity, Photobucket,
Buzznet, Picasa, Smugmug and Bing images. Now it's available in many languages!!
Note: For xfce users read README.XFCE4 to activate wally.

10
desktop/wally/doinst.sh Normal file
View file

@ -0,0 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/oxygen/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/oxygen >/dev/null 2>&1
fi
fi

19
desktop/wally/slack-desc Normal file
View file

@ -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------------------------------------------------------|
wally: wally (wallpaper changer)
wally:
wally: Wally is a Qt4 wallpaper changer, using multiple sources like files,
wally: folders, FTP remote folders, Flickr, Yahoo!, Panoramio, Pikeo,
wally: Ipernity, Photobucket, Buzznet, Picasa, Smugmug and Bing images. Now
wally: it's available in many languages!!
wally:
wally: Homepage: http://www.becrux.com/index.php?page=projects&name=wally
wally:
wally:
wally:

View file

@ -0,0 +1,9 @@
diff -Naur wally-2.3.0.orig/wallyplugin/CMakeLists.txt wally-2.3.0/wallyplugin/CMakeLists.txt
--- wally-2.3.0.orig/wallyplugin/CMakeLists.txt 2009-10-21 06:59:24.000000000 +0000
+++ wally-2.3.0/wallyplugin/CMakeLists.txt 2009-11-14 07:17:20.000000000 +0000
@@ -27,5 +27,3 @@
install(FILES plasma-wallpaper-wallyplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES wallyplugin.png DESTINATION ${ICON_INSTALL_DIR}/oxygen/16x16/apps)
-install(CODE "execute_process(COMMAND kbuildsycoca4 OUTPUT_QUIET ERROR_QUIET)")
-install(CODE "execute_process(COMMAND kdialog --title \"WallyPlugin\" --msgbox \"WallyPlugin will be loaded next time KDE is started. Please select it in Appearance Settings.\")")

View file

@ -0,0 +1,23 @@
Index: wally-2.3.2/src/main.cpp
===================================================================
--- wally-2.3.2.orig/src/main.cpp
+++ wally-2.3.2/src/main.cpp
@@ -17,18 +17,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#if (!defined(QT_SHARED)) && (!defined(QT_DLL))
- #include <QtPlugin>
-
- Q_IMPORT_PLUGIN(qgif)
- Q_IMPORT_PLUGIN(qico)
- Q_IMPORT_PLUGIN(qjpeg)
- Q_IMPORT_PLUGIN(qmng)
- Q_IMPORT_PLUGIN(qsvg)
- Q_IMPORT_PLUGIN(qtiff)
- Q_IMPORT_PLUGIN(qsqlite)
-#endif
-
#include <QTimer>
#include <QMessageBox>

View file

@ -0,0 +1,82 @@
#!/bin/sh
# Slackware build script for wally
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=wally
VERSION=${VERSION:-2.3.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
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-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
patch -p1 < $CWD/wally-2.3.0-disable_popup.patch
patch -p1 < $CWD/wally-2.3.2-disable-plugins.patch
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG
cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog DISCLAIMER LICENSE README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

10
desktop/wally/wally.info Normal file
View file

@ -0,0 +1,10 @@
PRGNAM="wally"
VERSION="2.3.2"
HOMEPAGE="http://www.becrux.com/index.php?page=projects&name=wally"
DOWNLOAD="http://www.becrux.com/pages/projects/wally/wally-2.3.2.tar.gz"
MD5SUM="78b3381b44e2669327e88a6718ddaa23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="rworkman"