diff --git a/deps/atkmm/atkmm.SlackBuild b/deps/atkmm/atkmm.SlackBuild index 5cd82aa..109c264 100644 --- a/deps/atkmm/atkmm.SlackBuild +++ b/deps/atkmm/atkmm.SlackBuild @@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.22/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/2.22/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/glibmm/glibmm.SlackBuild b/deps/glibmm/glibmm.SlackBuild index 2a3b9db..4685af5 100644 --- a/deps/glibmm/glibmm.SlackBuild +++ b/deps/glibmm/glibmm.SlackBuild @@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.acc.umu.se/pub/GNOME/sources/glibmm/2.36/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/2.36/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/gtkmm/gtkmm.SlackBuild b/deps/gtkmm/gtkmm.SlackBuild index 7e32058..68ba46d 100644 --- a/deps/gtkmm/gtkmm.SlackBuild +++ b/deps/gtkmm/gtkmm.SlackBuild @@ -38,7 +38,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.acc.umu.se/pub/GNOME/sources/gtkmm/2.24/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/2.24/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/gupnp/gupnp.SlackBuild b/deps/gupnp/gupnp.SlackBuild index 0f49e2e..363d50b 100644 --- a/deps/gupnp/gupnp.SlackBuild +++ b/deps/gupnp/gupnp.SlackBuild @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.20/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/0.20/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/libgnomecanvas/libgnomecanvas.SlackBuild b/deps/libgnomecanvas/libgnomecanvas.SlackBuild index 6641f48..dfb8764 100644 --- a/deps/libgnomecanvas/libgnomecanvas.SlackBuild +++ b/deps/libgnomecanvas/libgnomecanvas.SlackBuild @@ -24,7 +24,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/2.30/$PRGNAM-$VERSION.tar.bz2 +wget -c http://download.gnome.org/sources/$PRGNAM/2.30/$PRGNAM-$VERSION.tar.bz2 NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/libgtop/libgtop.SlackBuild b/deps/libgtop/libgtop.SlackBuild index f3866b0..9ada978 100644 --- a/deps/libgtop/libgtop.SlackBuild +++ b/deps/libgtop/libgtop.SlackBuild @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/libgtop/2.32/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/2.32/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/liboobs/liboobs.SlackBuild b/deps/liboobs/liboobs.SlackBuild index b98fa7e..0e1e6d8 100644 --- a/deps/liboobs/liboobs.SlackBuild +++ b/deps/liboobs/liboobs.SlackBuild @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/liboobs/3.0/$PRGNAM-$VERSION.tar.bz2 +wget -c http://download.gnome.org/sources/$PRGNAM/3.0/$PRGNAM-$VERSION.tar.bz2 NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/libsigc++/libsigc++.SlackBuild b/deps/libsigc++/libsigc++.SlackBuild index d492811..45c816f 100644 --- a/deps/libsigc++/libsigc++.SlackBuild +++ b/deps/libsigc++/libsigc++.SlackBuild @@ -39,7 +39,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.4/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/2.4/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/libunique/libunique.SlackBuild b/deps/libunique/libunique.SlackBuild index 85f8412..04e587d 100644 --- a/deps/libunique/libunique.SlackBuild +++ b/deps/libunique/libunique.SlackBuild @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-1.1.6.tar.bz2 +wget -c http://download.gnome.org/sources/$PRGNAM/1.1/libunique-1.1.6.tar.bz2 NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/mm-common/mm-common.SlackBuild b/deps/mm-common/mm-common.SlackBuild index 0c7169c..1b5c80a 100644 --- a/deps/mm-common/mm-common.SlackBuild +++ b/deps/mm-common/mm-common.SlackBuild @@ -35,7 +35,7 @@ TAG=${TAG:-_msb} ARCH=noarch -wget -c http://ftp.gnome.org/pub/GNOME/sources/mm-common/0.9/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/0.9/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/murrine/murrine.SlackBuild b/deps/murrine/murrine.SlackBuild index 1bef0f1..51bba59 100644 --- a/deps/murrine/murrine.SlackBuild +++ b/deps/murrine/murrine.SlackBuild @@ -36,8 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c \ - http://ftp.acc.umu.se/pub/GNOME/sources/murrine/0.98/murrine-0.98.2.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/0.98/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/pangomm/pangomm.SlackBuild b/deps/pangomm/pangomm.SlackBuild index 7f70a93..de9b89f 100644 --- a/deps/pangomm/pangomm.SlackBuild +++ b/deps/pangomm/pangomm.SlackBuild @@ -37,7 +37,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/pangomm/2.34/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/2.34/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/pangox-compat/pangox-compat.SlackBuild b/deps/pangox-compat/pangox-compat.SlackBuild index 29888a9..a87558d 100755 --- a/deps/pangox-compat/pangox-compat.SlackBuild +++ b/deps/pangox-compat/pangox-compat.SlackBuild @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/pangox-compat/0.0/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/0.0/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/pygobject3/pygobject3.SlackBuild b/deps/pygobject3/pygobject3.SlackBuild index 2355a47..b1e92d9 100755 --- a/deps/pygobject3/pygobject3.SlackBuild +++ b/deps/pygobject3/pygobject3.SlackBuild @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/$SRCNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$SRCNAM/3.10/$SRCNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/pygtksourceview/pygtksourceview.SlackBuild b/deps/pygtksourceview/pygtksourceview.SlackBuild index 9a332d5..84200d3 100755 --- a/deps/pygtksourceview/pygtksourceview.SlackBuild +++ b/deps/pygtksourceview/pygtksourceview.SlackBuild @@ -38,7 +38,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/$PRGNAM-$VERSION.tar.bz2 +wget -c http://download.gnome.org/sources/$PRGNAM/2.10/$PRGNAM-$VERSION.tar.bz2 NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/system-tools-backends/system-tools-backends.SlackBuild b/deps/system-tools-backends/system-tools-backends.SlackBuild index db45a70..6d417b4 100644 --- a/deps/system-tools-backends/system-tools-backends.SlackBuild +++ b/deps/system-tools-backends/system-tools-backends.SlackBuild @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/gnome/sources/system-tools-backends/2.10/$PRGNAM-$VERSION.tar.bz2 +wget -c http://download.gnome.org/sources/$PRGNAM/2.10/$PRGNAM-$VERSION.tar.bz2 NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/yelp-tools/yelp-tools.SlackBuild b/deps/yelp-tools/yelp-tools.SlackBuild index 03f9bdd..d665be7 100644 --- a/deps/yelp-tools/yelp-tools.SlackBuild +++ b/deps/yelp-tools/yelp-tools.SlackBuild @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c ftp://ftp.gnome.org/pub/gnome/sources/yelp-tools/3.14/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/3.14/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/yelp-xsl/yelp-xsl.SlackBuild b/deps/yelp-xsl/yelp-xsl.SlackBuild index 014b0e2..6a952fa 100644 --- a/deps/yelp-xsl/yelp-xsl.SlackBuild +++ b/deps/yelp-xsl/yelp-xsl.SlackBuild @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c ftp://ftp.gnome.org/pub/gnome/sources/yelp-xsl/3.14/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/3.14/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/deps/zenity/zenity.SlackBuild b/deps/zenity/zenity.SlackBuild index 844d202..a186f46 100644 --- a/deps/zenity/zenity.SlackBuild +++ b/deps/zenity/zenity.SlackBuild @@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.gnome.org/pub/GNOME/sources/zenity/3.16/$PRGNAM-$VERSION.tar.xz +wget -c http://download.gnome.org/sources/$PRGNAM/3.16/$PRGNAM-$VERSION.tar.xz NUMJOBS=${NUMJOBS:-" -j8 "} diff --git a/testing/dock-applet/README b/testing/dock-applet/README new file mode 100644 index 0000000..98341b5 --- /dev/null +++ b/testing/dock-applet/README @@ -0,0 +1 @@ +Requires python3. You can install python3 from SlackBuilds.org. diff --git a/testing/dock-applet/dock-applet.SlackBuild b/testing/dock-applet/dock-applet.SlackBuild new file mode 100755 index 0000000..d3b53b7 --- /dev/null +++ b/testing/dock-applet/dock-applet.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/sh + +# Slackware build script for dock-applet + +# Copyright 2013 Chess Griffin Raleigh, NC +# Copyright 2014-2015 Willy Sudiarto Raharjo +# Copyright 2015 Widya Walesa +# All rights reserved. +# +# 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=dock-applet +VERSION=${VERSION:-0.64} +BUILD=${BUILD:-1} +TAG=${TAG:-_msb} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +wget -O $PRGNAM-$VERSION.tar.gz -c https://github.com/robint99/dock-applet/archive/V${VERSION}.tar.gz + +NUMJOBS=${NUMJOBS:-" -j8 "} + +CWD=$(pwd) +TMP=${TMP:-/tmp/msb} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -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 + +autoreconf -ivsf + +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +make $NUMJOBS || make +make install DESTDIR=$PKG + +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 + +# Compress and link manpages +if [ -d $PKG/usr/man ]; then + ( cd $PKG/usr/man + for manpagedir in $(find . -type d -name "man*") ; do + ( cd $manpagedir + for eachpage in $( find . -type l -maxdepth 1) ; do + ln -s $( readlink $eachpage ).gz $eachpage.gz + rm $eachpage + done + gzip -9 *.? + ) + done + ) +fi + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog NEWS* README* $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION + +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:-txz} diff --git a/testing/dock-applet/doinst.sh b/testing/dock-applet/doinst.sh new file mode 100644 index 0000000..6922dbb --- /dev/null +++ b/testing/dock-applet/doinst.sh @@ -0,0 +1,5 @@ +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi diff --git a/testing/dock-applet/slack-desc b/testing/dock-applet/slack-desc new file mode 100644 index 0000000..89bd8c7 --- /dev/null +++ b/testing/dock-applet/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +dock-applet: dock-applet (MATE Panel Applet) +dock-applet: +dock-applet: An application dock applet for the MATE panel. +dock-applet: +dock-applet: +dock-applet: +dock-applet: +dock-applet: +dock-applet: +dock-applet: Homepage: https://github.com/robint99/dock-applet +dock-applet: diff --git a/testing/mate-build-testing.sh b/testing/mate-build-testing.sh index a8f6867..9c1d2b2 100644 --- a/testing/mate-build-testing.sh +++ b/testing/mate-build-testing.sh @@ -41,6 +41,7 @@ for dir in \ yelp \ mate-user-guide \ mate-tweak \ + dock-applet \ ; do # Get the package name package=$(echo $dir | cut -f2- -d /)