aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:57:43 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:57:43 +0200
commit083514c8f098152b93b55874235410a218a0646d (patch)
tree43c5139872deaa0d4e4ddca1062a285911aad4ad /desktop
parent03e2d721f282c0b8f83e4ec053ed63f29addc826 (diff)
desktop/wally: Added to 13.0 repository
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wally/README5
-rw-r--r--desktop/wally/doinst.sh10
-rw-r--r--desktop/wally/slack-desc19
-rw-r--r--desktop/wally/wally-2.3.0-disable_popup.patch9
-rw-r--r--desktop/wally/wally.SlackBuild75
-rw-r--r--desktop/wally/wally.info10
6 files changed, 128 insertions, 0 deletions
diff --git a/desktop/wally/README b/desktop/wally/README
new file mode 100644
index 0000000000000..abdbabecb18e3
--- /dev/null
+++ b/desktop/wally/README
@@ -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.
diff --git a/desktop/wally/doinst.sh b/desktop/wally/doinst.sh
new file mode 100644
index 0000000000000..13524a5ae1384
--- /dev/null
+++ b/desktop/wally/doinst.sh
@@ -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/hicolor/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
+
diff --git a/desktop/wally/slack-desc b/desktop/wally/slack-desc
new file mode 100644
index 0000000000000..0268fee7749ba
--- /dev/null
+++ b/desktop/wally/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------------------------------------------------------|
+wally: wally
+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:
diff --git a/desktop/wally/wally-2.3.0-disable_popup.patch b/desktop/wally/wally-2.3.0-disable_popup.patch
new file mode 100644
index 0000000000000..6c1ad0e2b7c45
--- /dev/null
+++ b/desktop/wally/wally-2.3.0-disable_popup.patch
@@ -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.\")")
diff --git a/desktop/wally/wally.SlackBuild b/desktop/wally/wally.SlackBuild
new file mode 100644
index 0000000000000..1f7ac7dd059df
--- /dev/null
+++ b/desktop/wally/wally.SlackBuild
@@ -0,0 +1,75 @@
+#!/bin/sh
+
+# Slackware build script for wally
+
+# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+
+PRGNAM=wally
+VERSION=${VERSION:-2.3.1}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+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"
+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
+
+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 ..
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+)
+
+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}
diff --git a/desktop/wally/wally.info b/desktop/wally/wally.info
new file mode 100644
index 0000000000000..d99463acb17fd
--- /dev/null
+++ b/desktop/wally/wally.info
@@ -0,0 +1,10 @@
+PRGNAM="wally"
+VERSION="2.3.1"
+HOMEPAGE="http://www.becrux.com/index.php?page=projects&name=wally"
+DOWNLOAD="http://www.becrux.com/pages/projects/wally/wally-2.3.1.tar.gz"
+MD5SUM="aebadbc84a744bb63cb3d87f36023a6d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Larry Hajali"
+EMAIL="larryhaja[at]gmail[dot]com"
+APPROVED="Erik Hanson"