mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-27 09:58:14 +01:00
Merge pull request #12 from w41l/mate-use-gnome-mirror
Update gnome mirror url and adding dock-applet into testing
This commit is contained in:
commit
524037e3f4
24 changed files with 162 additions and 20 deletions
2
deps/atkmm/atkmm.SlackBuild
vendored
2
deps/atkmm/atkmm.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/glibmm/glibmm.SlackBuild
vendored
2
deps/glibmm/glibmm.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/gtkmm/gtkmm.SlackBuild
vendored
2
deps/gtkmm/gtkmm.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/gupnp/gupnp.SlackBuild
vendored
2
deps/gupnp/gupnp.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/libgtop/libgtop.SlackBuild
vendored
2
deps/libgtop/libgtop.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/liboobs/liboobs.SlackBuild
vendored
2
deps/liboobs/liboobs.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/libsigc++/libsigc++.SlackBuild
vendored
2
deps/libsigc++/libsigc++.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/libunique/libunique.SlackBuild
vendored
2
deps/libunique/libunique.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/mm-common/mm-common.SlackBuild
vendored
2
deps/mm-common/mm-common.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
3
deps/murrine/murrine.SlackBuild
vendored
3
deps/murrine/murrine.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/pangomm/pangomm.SlackBuild
vendored
2
deps/pangomm/pangomm.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/pangox-compat/pangox-compat.SlackBuild
vendored
2
deps/pangox-compat/pangox-compat.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/pygobject3/pygobject3.SlackBuild
vendored
2
deps/pygobject3/pygobject3.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
|
@ -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 "}
|
||||
|
||||
|
|
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/yelp-tools/yelp-tools.SlackBuild
vendored
2
deps/yelp-tools/yelp-tools.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/yelp-xsl/yelp-xsl.SlackBuild
vendored
2
deps/yelp-xsl/yelp-xsl.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
2
deps/zenity/zenity.SlackBuild
vendored
2
deps/zenity/zenity.SlackBuild
vendored
|
@ -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 "}
|
||||
|
||||
|
|
1
testing/dock-applet/README
Normal file
1
testing/dock-applet/README
Normal file
|
@ -0,0 +1 @@
|
|||
Requires python3. You can install python3 from SlackBuilds.org.
|
124
testing/dock-applet/dock-applet.SlackBuild
Executable file
124
testing/dock-applet/dock-applet.SlackBuild
Executable file
|
@ -0,0 +1,124 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for dock-applet
|
||||
|
||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||
# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||
# Copyright 2015 Widya Walesa <walecha99@gmail.com>
|
||||
# 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}
|
5
testing/dock-applet/doinst.sh
Normal file
5
testing/dock-applet/doinst.sh
Normal file
|
@ -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
|
12
testing/dock-applet/slack-desc
Normal file
12
testing/dock-applet/slack-desc
Normal file
|
@ -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:
|
|
@ -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 /)
|
||||
|
|
Loading…
Reference in a new issue