mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
MATE: Upgrade to 1.17.0, enable GTK+3-build and provide HELP files.
atril: Changed dep to webkit2gtk. mate-calc: Added caja-actions: Added galculator: Removed doinst: use -f to force icon cache generation Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
8a163138f3
commit
663acf19d1
95 changed files with 973 additions and 442 deletions
|
@ -7,54 +7,32 @@ MATE's wiki: http://wiki.mate-desktop.org/dev-doc.
|
||||||
Currently, there are three branches in the MSB GIT repository:
|
Currently, there are three branches in the MSB GIT repository:
|
||||||
|
|
||||||
- master: The MSB development branch. It represents the most up-to-date
|
- master: The MSB development branch. It represents the most up-to-date
|
||||||
code, but no binary packages are built from this branch. Building from
|
code, but no regular binary packages are built from this branch.
|
||||||
this branch may or may not work. This is where the next stable release
|
Building from this branch may or may not work due to the nature of changes.
|
||||||
will come from. Please use this branch for testing only and not for
|
This is where the next stable release will come from.
|
||||||
production environments.
|
Please use this branch for testing only and not for production environments.
|
||||||
|
|
||||||
- 14.0-mate-1.6: The MSB stable branch for Slackware 14.0. This is the
|
- 14.0-mate-1.6: The MSB stable branch for Slackware 14.0. The MSB
|
||||||
previously supported branch and only receives bug fix updates. The MSB
|
|
||||||
1.6 binary packages for Slackware 14.0 were built from this branch.
|
1.6 binary packages for Slackware 14.0 were built from this branch.
|
||||||
Since Slackware 14.1 has been declared as the next stable release then
|
Since Slackware 14.1 has been declared as the next stable release then
|
||||||
this branch is considered obsoleted and no longer updated.
|
this branch is considered obsoleted and no longer updated.
|
||||||
|
|
||||||
- 14.1-mate-1.6: The MSB stable branch for Slackware 14.1.
|
- 14.1-mate-1.6
|
||||||
This is the previously supported branch and only receives bug fix
|
14.1-mate-1.8
|
||||||
updates. The MSB 1.6 binary packages for Slackware 14.1 are built from
|
14.1-mate-1.10
|
||||||
this branch. You might want to use this branch if you enjoy stable
|
14.1-mate-1.12: The MSB stable branch for Slackware 14.1.
|
||||||
releases. Since MATE 1.8 has been released as the next stable release
|
The MSB 1.6 binary packages for Slackware 14.1 are built from
|
||||||
|
this branch. Since Slackware 14.2 has been released as the next stable release
|
||||||
then this branch is considered obsoleted and no longer updated.
|
then this branch is considered obsoleted and no longer updated.
|
||||||
|
|
||||||
- 14.1-mate-1.8: The MSB stable branch for Slackware 14.1.
|
|
||||||
This is the previously supported branch and only receives bug fix
|
|
||||||
updates. The MSB 1.8 binary packages for Slackware 14.1 are built from
|
|
||||||
this branch. You might want to use this branch if you enjoy stable
|
|
||||||
releases. Since MATE 1.10 has been released as the next stable release
|
|
||||||
then this branch is considered obsoleted and no longer updated.
|
|
||||||
|
|
||||||
- 14.1-mate-1.10: The MSB stable branch for Slackware 14.1.
|
|
||||||
This is the previously supported branch and only receives bug fix updates.
|
|
||||||
The MSB 1.10 binary packages for Slackware 14.1 are built from this branch.
|
|
||||||
You might want to use this branch if you enjoy stable releases.
|
|
||||||
Since MATE 1.12 has been released as the next stable release
|
|
||||||
then this branch is considered obsoleted and no longer updated.
|
|
||||||
|
|
||||||
- 14.1-mate-1.12: The MSB stable branch for Slackware 14.1.
|
|
||||||
This is the previously supported branch and only receives bug fix updates.
|
|
||||||
The MSB 1.12 binary packages for Slackware 14.1 are built from this branch.
|
|
||||||
Since MATE 1.12 has been released as the next stable release and
|
|
||||||
Slackware 14.2 gets closer, this branch is considered obsoleted and no
|
|
||||||
longer updated.
|
|
||||||
|
|
||||||
- 14.2-mate-1.14: The MSB stable branch for Slackware 14.2.
|
- 14.2-mate-1.14: The MSB stable branch for Slackware 14.2.
|
||||||
This is the previously supported branch and only receives bug fix updates.
|
|
||||||
The MSB 1.14 binary packages for Slackware 14.2 are built from this branch.
|
The MSB 1.14 binary packages for Slackware 14.2 are built from this branch.
|
||||||
Since MATE 1.16 has been released as the next stable release then this branch
|
Since MATE 1.16 has been released as the next stable release then this branch
|
||||||
is considered obsoleted and no longer updated.
|
is considered obsoleted and no longer updated.
|
||||||
|
|
||||||
- 14.2-mate-1.16: The MSB stable branch for Slackware 14.2.
|
- 14.2-mate-1.16: The MSB stable branch for Slackware 14.2.
|
||||||
This is the currently supported branch and only receives bug fix updates.
|
This is the currently supported branch and only receives bug fix updates.
|
||||||
The MSB 1.14 binary packages for Slackware 14.2 are built from this branch.
|
The MSB 1.16 binary packages for Slackware 14.2 are built from this branch.
|
||||||
You might want to use this branch if you enjoy stable releases.
|
You might want to use this branch if you enjoy stable releases.
|
||||||
|
|
||||||
An easy way to find out which branch are you in right now (once you have
|
An easy way to find out which branch are you in right now (once you have
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
New Packages in MATE 1.16:
|
|
||||||
libgxps
|
|
||||||
vala
|
|
||||||
vte3
|
|
||||||
|
|
||||||
Renamed Packages in MATE 1.16:
|
|
||||||
|
|
||||||
Packages removed in MATE 1.16:
|
|
||||||
|
|
14
MATE-1.18-CHANGES.TXT
Normal file
14
MATE-1.18-CHANGES.TXT
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
New Packages in MATE 1.18:
|
||||||
|
glade
|
||||||
|
gtksourceview3
|
||||||
|
libunique3
|
||||||
|
libpeas
|
||||||
|
mate-calc
|
||||||
|
caja-actions
|
||||||
|
|
||||||
|
Renamed Packages in MATE 1.18:
|
||||||
|
|
||||||
|
Packages removed in MATE 1.18:
|
||||||
|
gtksourceview
|
||||||
|
pygtksourceview
|
||||||
|
galculator
|
|
@ -1,12 +1,12 @@
|
||||||
This is a list of dependencies for the packages in the /extra directory.
|
This is a list of dependencies for the packages in the /extra directory.
|
||||||
|
|
||||||
1. extra/mate-applets requires deps/libgtop and deps/gtksourceview
|
1. extra/mate-applets requires deps/libgtop and deps/gtksourceview3
|
||||||
|
|
||||||
2. extra/caja-extensions requires deps/gssdp and deps/gupnp
|
2. extra/caja-extensions requires deps/gssdp and deps/gupnp
|
||||||
|
|
||||||
3. extra/mate-utils requires deps/libgtop
|
3. extra/mate-utils requires deps/libgtop
|
||||||
|
|
||||||
4. extra/pluma requires both deps/gtksourceview and deps/pygtksourceview
|
4. extra/pluma requires deps/gtksourceview3 and deps/libpeas
|
||||||
|
|
||||||
5. extra/caja-dropbox requires deps/doc-utils
|
5. extra/caja-dropbox requires deps/doc-utils
|
||||||
|
|
|
@ -27,7 +27,7 @@ How to build and install the MATE packages using these scripts:
|
||||||
|
|
||||||
2. Run the 'mate-build-deps.sh' in the msb root directory which will build
|
2. Run the 'mate-build-deps.sh' in the msb root directory which will build
|
||||||
and install all the necessary dependencies in the /deps directory. There are
|
and install all the necessary dependencies in the /deps directory. There are
|
||||||
a total of 20 packages. Please use "su" or "su -" to build as root instead
|
a total of 22 packages. Please use "su" or "su -" to build as root instead
|
||||||
of using "sudo".
|
of using "sudo".
|
||||||
|
|
||||||
3. Run the 'mate-build-base.sh' in the msb root directory which will build
|
3. Run the 'mate-build-base.sh' in the msb root directory which will build
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=caja
|
PRGNAM=caja
|
||||||
VERSION=${VERSION:-1.16.2}
|
VERSION=${VERSION:-1.17.3}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -82,7 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--libexecdir=/usr/lib${LIBDIRSUFFIX}/mate-file-manager \
|
--libexecdir=/usr/lib${LIBDIRSUFFIX}/caja \
|
||||||
--disable-update-mimedb \
|
--disable-update-mimedb \
|
||||||
--enable-introspection \
|
--enable-introspection \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for engrampa
|
# Slackware build script for engrampa
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=engrampa
|
PRGNAM=engrampa
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=eom
|
PRGNAM=eom
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for libmatekbd
|
# Slackware build script for libmatekbd
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libmatekbd
|
PRGNAM=libmatekbd
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,9 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -108,8 +106,7 @@ if [ -d $PKG/usr/man ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog NEWS README \
|
cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
|
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
|
||||||
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for libmatemixer
|
# Slackware build script for libmatemixer
|
||||||
|
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libmatemixer
|
PRGNAM=libmatemixer
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -35,9 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for libmateweather
|
# Slackware build script for libmateweather
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libmateweather
|
PRGNAM=libmateweather
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for marco
|
# Slackware build script for marco
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=marco
|
PRGNAM=marco
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,9 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-backgrounds
|
# Slackware build script for mate-backgrounds
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,13 +24,13 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-backgrounds
|
PRGNAM=mate-backgrounds
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-common
|
# Slackware build script for mate-common
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-common
|
PRGNAM=mate-common
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-control-center
|
PRGNAM=mate-control-center
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.3}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -82,6 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
--enable-appindicator=auto \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-desktop
|
# Slackware build script for mate-desktop
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-desktop
|
PRGNAM=mate-desktop
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -82,7 +82,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-mpaste \
|
|
||||||
--enable-introspection \
|
--enable-introspection \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,3 @@ fi
|
||||||
if [ -x /usr/bin/update-mime-database ]; then
|
if [ -x /usr/bin/update-mime-database ]; then
|
||||||
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
||||||
fi
|
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/hicolor >/dev/null 2>&1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-icon-theme
|
# Slackware build script for mate-icon-theme
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,13 +24,13 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-icon-theme
|
PRGNAM=mate-icon-theme
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
ARCH=noarch
|
ARCH=noarch
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -52,7 +52,6 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
cp $CWD/mate.svg mate/scalable/apps/mate.svg
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
|
@ -1,178 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="48"
|
|
||||||
height="48"
|
|
||||||
id="svg4908"
|
|
||||||
sodipodi:version="0.32"
|
|
||||||
inkscape:version="0.48.4 r9939"
|
|
||||||
version="1.0"
|
|
||||||
sodipodi:docname="mate.svg"
|
|
||||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
|
||||||
inkscape:export-xdpi="90"
|
|
||||||
inkscape:export-ydpi="90">
|
|
||||||
<defs
|
|
||||||
id="defs4910">
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="linearGradient5671">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#729fcf;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop5673" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#3465a4;stop-opacity:1"
|
|
||||||
offset="1"
|
|
||||||
id="stop5675" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient5671"
|
|
||||||
id="linearGradient5677"
|
|
||||||
x1="10.915961"
|
|
||||||
y1="14.010388"
|
|
||||||
x2="10.915961"
|
|
||||||
y2="18.908218"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="matrix(2.3340955,0,0,2.0797356,-1.8209963,2.8226078)" />
|
|
||||||
<filter
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="filter5761"
|
|
||||||
x="-0.077635549"
|
|
||||||
width="1.1552711"
|
|
||||||
y="-0.41717416"
|
|
||||||
height="1.8343483">
|
|
||||||
<feGaussianBlur
|
|
||||||
inkscape:collect="always"
|
|
||||||
stdDeviation="0.45085227"
|
|
||||||
id="feGaussianBlur5763" />
|
|
||||||
</filter>
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient5671"
|
|
||||||
id="linearGradient3022"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="matrix(2.3340955,0,0,2.0797356,-1.8209963,2.8226078)"
|
|
||||||
x1="10.915961"
|
|
||||||
y1="14.010388"
|
|
||||||
x2="10.915961"
|
|
||||||
y2="18.908218" />
|
|
||||||
</defs>
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="base"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageopacity="0.0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:zoom="8"
|
|
||||||
inkscape:cx="6.747905"
|
|
||||||
inkscape:cy="33.475858"
|
|
||||||
inkscape:current-layer="layer1"
|
|
||||||
showgrid="true"
|
|
||||||
inkscape:grid-bbox="true"
|
|
||||||
inkscape:document-units="px"
|
|
||||||
width="48px"
|
|
||||||
height="48px"
|
|
||||||
inkscape:window-width="1278"
|
|
||||||
inkscape:window-height="948"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="27"
|
|
||||||
inkscape:window-maximized="0">
|
|
||||||
<inkscape:grid
|
|
||||||
type="xygrid"
|
|
||||||
id="grid5068" />
|
|
||||||
</sodipodi:namedview>
|
|
||||||
<metadata
|
|
||||||
id="metadata4913">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
id="layer1"
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer">
|
|
||||||
<rect
|
|
||||||
style="opacity:0.24074073;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter5761)"
|
|
||||||
id="rect5679"
|
|
||||||
width="13.9375"
|
|
||||||
height="2.59375"
|
|
||||||
x="4.03125"
|
|
||||||
y="18.96875"
|
|
||||||
rx="0.4498865"
|
|
||||||
ry="0.63501096"
|
|
||||||
transform="matrix(2.0842678,0,0,1.4766422,0.6792651,15.488168)" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.19444442;fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
|
|
||||||
d="m 37.756513,11.747296 c 0,0 5.140615,5.035338 5.157002,12.720854 0.01653,7.751769 -5.355349,12.985871 -5.355349,12.985871"
|
|
||||||
id="path5667"
|
|
||||||
sodipodi:nodetypes="czc" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.18981479;fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
|
|
||||||
d="m 30.616047,16.915142 c 0,0 3.686577,2.501111 3.636349,7.685516 -0.04959,5.118158 -3.636349,7.28799 -3.636349,7.28799"
|
|
||||||
id="path5669"
|
|
||||||
sodipodi:nodetypes="czc" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:#87a556;fill-opacity:1;fill-rule:evenodd;stroke:#5a6943;stroke-width:0.99999987999999995px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
||||||
d="M 3.033391,11.648109 24.671136,24.418378 3.016816,37.198431 3.033391,11.648109 z"
|
|
||||||
id="path5070" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.18055558;fill:none;stroke:#eeeeec;stroke-width:0.99999988px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
||||||
d="M 4.04192,13.453223 22.5645,24.420891 4.027734,35.311401 4.04192,13.453223 z"
|
|
||||||
id="path5665"
|
|
||||||
sodipodi:nodetypes="cccc" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.32407406;fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
|
|
||||||
d="m 38.153525,11.23664 c 0,0 5.427094,5.46394 5.427094,13.24865 0,7.850944 -5.427094,13.182407 -5.427094,13.182407"
|
|
||||||
id="path5689"
|
|
||||||
sodipodi:nodetypes="czc" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.32407406;fill:none;stroke:#ffffff;stroke-width:1px;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"
|
|
||||||
d="m 33.305222,17.049165 c 0,0 2.779731,2.878431 2.779731,7.220514 0,4.27587 -2.514994,7.220514 -2.514994,7.220514"
|
|
||||||
id="path5691"
|
|
||||||
sodipodi:nodetypes="czc" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:#87a556;fill-opacity:1;stroke:#5a6943;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
|
||||||
d="m 44.983184,24.545684 c 0,-11.316001 -9.170001,-20.5 -20.46875,-20.5 -6.524212,0 -12.313471,3.0771446 -16.0625,7.84375 l 2.5625,1.625 c 3.198502,-3.9147617 8.085497,-6.40625 13.53125,-6.40625 9.625499,-10e-8 17.4375,7.812 17.4375,17.4375 0,9.6255 -7.812,17.4375 -17.4375,17.4375 -5.430049,0 -10.301145,-2.47967 -13.5,-6.375 l -2.5625,1.625 c 3.749919,4.746873 9.522794,7.8125 16.03125,7.8125 11.29875,0 20.46875,-9.183999 20.46875,-20.5 z"
|
|
||||||
id="path5067" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:#87a556;fill-opacity:1;stroke:#5a6943;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
|
||||||
d="m 37.045684,24.576934 c 0,-6.91725 -5.614001,-12.53125 -12.53125,-12.53125 -3.682751,0 -6.987847,1.592947 -9.28125,4.125 l 2.65625,1.65625 c 1.708502,-1.687387 4.044211,-2.71875 6.625,-2.71875 5.226749,0 9.46875,4.27 9.46875,9.53125 0,5.261251 -4.242001,9.53125 -9.46875,9.53125 -2.628895,10e-7 -5.002549,-1.069255 -6.71875,-2.8125 l -2.5625,1.625 c 2.293403,2.532054 5.598499,4.125001 9.28125,4.125 6.91725,0 12.53125,-5.614 12.53125,-12.53125 z"
|
|
||||||
id="path5648" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.33333333;fill:none;stroke:#eeeeec;stroke-width:1.00000012;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
|
||||||
d="m 10.045238,37.420684 c 3.560547,4.071766 8.326523,6.5625 14.45318,6.5625 10.721091,0 19.422266,-8.721999 19.422266,-19.46875 0,-10.74675 -8.701175,-19.46875 -19.422266,-19.46875 -6.157926,0 -10.831105,2.5141711 -14.452732,6.6875"
|
|
||||||
id="path5664"
|
|
||||||
sodipodi:nodetypes="cscsc" />
|
|
||||||
<path
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="opacity:0.33333333;fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
|
||||||
d="m 16.826934,33.201934 c 2.164413,1.898506 4.331161,2.843749 7.625,2.84375 6.36525,0 11.53125,-5.152 11.53125,-11.5 0,-6.348 -5.166,-11.5 -11.53125,-11.5 -3.309727,0 -5.552652,1.207783 -7.65625,3.125"
|
|
||||||
id="path5677"
|
|
||||||
sodipodi:nodetypes="cscsc" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 8.1 KiB |
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-media
|
# Slackware build script for mate-media
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-media
|
PRGNAM=mate-media
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-menus
|
# Slackware build script for mate-menus
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-menus
|
PRGNAM=mate-menus
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-notification-daemon
|
PRGNAM=mate-notification-daemon
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-panel
|
PRGNAM=mate-panel
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -83,7 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--libexecdir=/usr/lib${LIBDIRSUFFIX}/mate-panel \
|
--libexecdir=/usr/lib${LIBDIRSUFFIX}/mate-panel \
|
||||||
--enable-introspection \
|
--enable-introspection=yes \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-polkit
|
# Slackware build script for mate-polkit
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-polkit
|
PRGNAM=mate-polkit
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
249
base/mate-power-manager/ck2.patch
Normal file
249
base/mate-power-manager/ck2.patch
Normal file
|
@ -0,0 +1,249 @@
|
||||||
|
commit 43ea466c7f14c23c51c26ddf698d2ddf5ac8446b
|
||||||
|
Author: infirit <infirit@gmail.com>
|
||||||
|
Date: Sun Apr 17 19:23:33 2016 +0200
|
||||||
|
|
||||||
|
Replace deprecated UPower functions with ConsoleKit2 equivalents
|
||||||
|
|
||||||
|
This requires ConsoleKit2 0.9.2.
|
||||||
|
|
||||||
|
diff --git a/src/egg-console-kit.c b/src/egg-console-kit.c
|
||||||
|
index 0602d7c..df47210 100644
|
||||||
|
--- a/src/egg-console-kit.c
|
||||||
|
+++ b/src/egg-console-kit.c
|
||||||
|
@@ -108,6 +108,54 @@ egg_console_kit_stop (EggConsoleKit *console, GError **error)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
+ * egg_console_kit_suspend:
|
||||||
|
+ **/
|
||||||
|
+gboolean
|
||||||
|
+egg_console_kit_suspend (EggConsoleKit *console, GError **error)
|
||||||
|
+{
|
||||||
|
+ gboolean ret;
|
||||||
|
+ GError *error_local = NULL;
|
||||||
|
+
|
||||||
|
+ g_return_val_if_fail (EGG_IS_CONSOLE_KIT (console), FALSE);
|
||||||
|
+ g_return_val_if_fail (console->priv->proxy_manager != NULL, FALSE);
|
||||||
|
+
|
||||||
|
+ ret = dbus_g_proxy_call (console->priv->proxy_manager, "Suspend", &error_local,
|
||||||
|
+ G_TYPE_BOOLEAN, TRUE,
|
||||||
|
+ G_TYPE_INVALID, G_TYPE_INVALID);
|
||||||
|
+ if (!ret) {
|
||||||
|
+ egg_warning ("Couldn't suspend: %s", error_local->message);
|
||||||
|
+ if (error != NULL)
|
||||||
|
+ *error = g_error_new (1, 0, "%s", error_local->message);
|
||||||
|
+ g_error_free (error_local);
|
||||||
|
+ }
|
||||||
|
+ return ret;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/**
|
||||||
|
+ * egg_console_kit_hibernate:
|
||||||
|
+ **/
|
||||||
|
+gboolean
|
||||||
|
+egg_console_kit_hibernate (EggConsoleKit *console, GError **error)
|
||||||
|
+{
|
||||||
|
+ gboolean ret;
|
||||||
|
+ GError *error_local = NULL;
|
||||||
|
+
|
||||||
|
+ g_return_val_if_fail (EGG_IS_CONSOLE_KIT (console), FALSE);
|
||||||
|
+ g_return_val_if_fail (console->priv->proxy_manager != NULL, FALSE);
|
||||||
|
+
|
||||||
|
+ ret = dbus_g_proxy_call (console->priv->proxy_manager, "Hibernate", &error_local,
|
||||||
|
+ G_TYPE_BOOLEAN, TRUE,
|
||||||
|
+ G_TYPE_INVALID, G_TYPE_INVALID);
|
||||||
|
+ if (!ret) {
|
||||||
|
+ egg_warning ("Couldn't hibernate: %s", error_local->message);
|
||||||
|
+ if (error != NULL)
|
||||||
|
+ *error = g_error_new (1, 0, "%s", error_local->message);
|
||||||
|
+ g_error_free (error_local);
|
||||||
|
+ }
|
||||||
|
+ return ret;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/**
|
||||||
|
* egg_console_kit_can_stop:
|
||||||
|
**/
|
||||||
|
gboolean
|
||||||
|
@@ -162,6 +210,65 @@ egg_console_kit_can_restart (EggConsoleKit *console, gboolean *can_restart, GErr
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
+ * egg_console_kit_can_suspend:
|
||||||
|
+ **/
|
||||||
|
+gboolean
|
||||||
|
+egg_console_kit_can_suspend (EggConsoleKit *console, gboolean *can_suspend, GError **error)
|
||||||
|
+{
|
||||||
|
+ GError *error_local = NULL;
|
||||||
|
+ gboolean ret;
|
||||||
|
+ gchar *retval;
|
||||||
|
+
|
||||||
|
+ g_return_val_if_fail (EGG_IS_CONSOLE_KIT (console), FALSE);
|
||||||
|
+ g_return_val_if_fail (console->priv->proxy_manager != NULL, FALSE);
|
||||||
|
+
|
||||||
|
+ ret = dbus_g_proxy_call (console->priv->proxy_manager, "CanSuspend", &error_local,
|
||||||
|
+ G_TYPE_INVALID,
|
||||||
|
+ G_TYPE_STRING, &retval, G_TYPE_INVALID);
|
||||||
|
+ if (!ret) {
|
||||||
|
+ egg_warning ("Couldn't do CanSuspend: %s", error_local->message);
|
||||||
|
+ if (error != NULL)
|
||||||
|
+ *error = g_error_new (1, 0, "%s", error_local->message);
|
||||||
|
+ g_error_free (error_local);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ *can_suspend = g_strcmp0 (retval, "yes") == 0 ||
|
||||||
|
+ g_strcmp0 (retval, "challenge") == 0;
|
||||||
|
+
|
||||||
|
+ g_free (retval);
|
||||||
|
+ return ret;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/**
|
||||||
|
+ * egg_console_kit_can_hibernate:
|
||||||
|
+ **/
|
||||||
|
+
|
||||||
|
+gboolean
|
||||||
|
+egg_console_kit_can_hibernate (EggConsoleKit *console, gboolean *can_hibernate, GError **error)
|
||||||
|
+{
|
||||||
|
+ GError *error_local = NULL;
|
||||||
|
+ gboolean ret;
|
||||||
|
+ gchar *retval;
|
||||||
|
+
|
||||||
|
+ g_return_val_if_fail (EGG_IS_CONSOLE_KIT (console), FALSE);
|
||||||
|
+ g_return_val_if_fail (console->priv->proxy_manager != NULL, FALSE);
|
||||||
|
+
|
||||||
|
+ ret = dbus_g_proxy_call (console->priv->proxy_manager, "CanHibernate", &error_local,
|
||||||
|
+ G_TYPE_INVALID,
|
||||||
|
+ G_TYPE_STRING, &retval, G_TYPE_INVALID);
|
||||||
|
+ if (!ret) {
|
||||||
|
+ egg_warning ("Couldn't do CanHibernate: %s", error_local->message);
|
||||||
|
+ if (error != NULL)
|
||||||
|
+ *error = g_error_new (1, 0, "%s", error_local->message);
|
||||||
|
+ g_error_free (error_local);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ *can_hibernate = g_strcmp0 (retval, "yes") == 0 ||
|
||||||
|
+ g_strcmp0 (retval, "challenge") == 0;
|
||||||
|
+ return ret;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+/**
|
||||||
|
* egg_console_kit_is_local:
|
||||||
|
*
|
||||||
|
* Return value: Returns whether the session is local
|
||||||
|
diff --git a/src/egg-console-kit.h b/src/egg-console-kit.h
|
||||||
|
index c93ddce..6664131 100644
|
||||||
|
--- a/src/egg-console-kit.h
|
||||||
|
+++ b/src/egg-console-kit.h
|
||||||
|
@@ -58,12 +58,22 @@ gboolean egg_console_kit_stop (EggConsoleKit *console,
|
||||||
|
GError **error);
|
||||||
|
gboolean egg_console_kit_restart (EggConsoleKit *console,
|
||||||
|
GError **error);
|
||||||
|
+gboolean egg_console_kit_suspend (EggConsoleKit *console,
|
||||||
|
+ GError **error);
|
||||||
|
+gboolean egg_console_kit_hibernate (EggConsoleKit *console,
|
||||||
|
+ GError **error);
|
||||||
|
gboolean egg_console_kit_can_stop (EggConsoleKit *console,
|
||||||
|
gboolean *can_stop,
|
||||||
|
GError **error);
|
||||||
|
gboolean egg_console_kit_can_restart (EggConsoleKit *console,
|
||||||
|
gboolean *can_restart,
|
||||||
|
GError **error);
|
||||||
|
+gboolean egg_console_kit_can_suspend (EggConsoleKit *console,
|
||||||
|
+ gboolean *can_restart,
|
||||||
|
+ GError **error);
|
||||||
|
+gboolean egg_console_kit_can_hibernate (EggConsoleKit *console,
|
||||||
|
+ gboolean *can_restart,
|
||||||
|
+ GError **error);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
diff --git a/src/gpm-control.c b/src/gpm-control.c
|
||||||
|
index c334fb5..04d3925 100644
|
||||||
|
--- a/src/gpm-control.c
|
||||||
|
+++ b/src/gpm-control.c
|
||||||
|
@@ -39,7 +39,6 @@
|
||||||
|
#include <glib/gi18n.h>
|
||||||
|
#include <dbus/dbus-glib.h>
|
||||||
|
#include <dbus/dbus-glib-lowlevel.h>
|
||||||
|
-#define UPOWER_ENABLE_DEPRECATED
|
||||||
|
#include <libupower-glib/upower.h>
|
||||||
|
|
||||||
|
#ifdef WITH_KEYRING
|
||||||
|
@@ -212,6 +211,7 @@ gpm_control_suspend (GpmControl *control, GError **error)
|
||||||
|
gboolean ret = FALSE;
|
||||||
|
gboolean do_lock;
|
||||||
|
gboolean nm_sleep;
|
||||||
|
+ EggConsoleKit *console;
|
||||||
|
GpmScreensaver *screensaver;
|
||||||
|
guint32 throttle_cookie = 0;
|
||||||
|
#ifdef WITH_KEYRING
|
||||||
|
@@ -293,11 +293,12 @@ gpm_control_suspend (GpmControl *control, GError **error)
|
||||||
|
}
|
||||||
|
g_object_unref(proxy);
|
||||||
|
}
|
||||||
|
-#if !UP_CHECK_VERSION(0, 99, 0)
|
||||||
|
else {
|
||||||
|
- ret = up_client_suspend_sync (control->priv->client, NULL, error);
|
||||||
|
+ console = egg_console_kit_new ();
|
||||||
|
+ ret = egg_console_kit_suspend (console, error);
|
||||||
|
+ g_object_unref (console);
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
+
|
||||||
|
egg_debug ("emitting resume");
|
||||||
|
g_signal_emit (control, signals [RESUME], 0, GPM_CONTROL_ACTION_SUSPEND);
|
||||||
|
|
||||||
|
@@ -326,6 +327,7 @@ gpm_control_hibernate (GpmControl *control, GError **error)
|
||||||
|
gboolean ret = FALSE;
|
||||||
|
gboolean do_lock;
|
||||||
|
gboolean nm_sleep;
|
||||||
|
+ EggConsoleKit *console;
|
||||||
|
GpmScreensaver *screensaver;
|
||||||
|
guint32 throttle_cookie = 0;
|
||||||
|
#ifdef WITH_KEYRING
|
||||||
|
@@ -406,11 +408,12 @@ gpm_control_hibernate (GpmControl *control, GError **error)
|
||||||
|
ret = TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-#if !UP_CHECK_VERSION(0, 99, 0)
|
||||||
|
else {
|
||||||
|
- ret = up_client_hibernate_sync (control->priv->client, NULL, error);
|
||||||
|
+ console = egg_console_kit_new ();
|
||||||
|
+ ret = egg_console_kit_hibernate (console, error);
|
||||||
|
+ g_object_unref (console);
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
+
|
||||||
|
egg_debug ("emitting resume");
|
||||||
|
g_signal_emit (control, signals [RESUME], 0, GPM_CONTROL_ACTION_HIBERNATE);
|
||||||
|
|
||||||
|
diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c
|
||||||
|
index b33ff22..65202e8 100644
|
||||||
|
--- a/src/gpm-prefs-core.c
|
||||||
|
+++ b/src/gpm-prefs-core.c
|
||||||
|
@@ -30,7 +30,6 @@
|
||||||
|
#include <dbus/dbus-glib.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <string.h>
|
||||||
|
-#define UPOWER_ENABLE_DEPRECATED
|
||||||
|
#include <libupower-glib/upower.h>
|
||||||
|
|
||||||
|
#include "egg-debug.h"
|
||||||
|
@@ -756,13 +755,10 @@ gpm_prefs_init (GpmPrefs *prefs)
|
||||||
|
g_object_unref(proxy);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
- /* are we allowed to shutdown? */
|
||||||
|
+ /* Get values from ConseleKit */
|
||||||
|
egg_console_kit_can_stop (prefs->priv->console, &prefs->priv->can_shutdown, NULL);
|
||||||
|
-#if !UP_CHECK_VERSION(0, 99, 0)
|
||||||
|
- /* get values from UpClient */
|
||||||
|
- prefs->priv->can_suspend = up_client_get_can_suspend (prefs->priv->client);
|
||||||
|
- prefs->priv->can_hibernate = up_client_get_can_hibernate (prefs->priv->client);
|
||||||
|
-#endif
|
||||||
|
+ egg_console_kit_can_suspend (prefs->priv->console, &prefs->priv->can_suspend, NULL);
|
||||||
|
+ egg_console_kit_can_hibernate (prefs->priv->console, &prefs->priv->can_hibernate, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (LOGIND_RUNNING()) {
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-power-manager
|
PRGNAM=mate-power-manager
|
||||||
VERSION=${VERSION:-1.16.2}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -72,6 +72,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
patch -p1 < $CWD/ck2.patch
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-screensaver
|
PRGNAM=mate-screensaver
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
468
base/mate-session-manager/ck2.patch
Normal file
468
base/mate-session-manager/ck2.patch
Normal file
|
@ -0,0 +1,468 @@
|
||||||
|
commit d0b39de2a8b714f746eef8aaabe278bf22b9b43e
|
||||||
|
Author: Sander Sweers <infirit@gmail.com>
|
||||||
|
Date: Sun Apr 17 15:04:08 2016 +0200
|
||||||
|
|
||||||
|
Replace deprecated upower functions with ConsoleKit2 equivalents
|
||||||
|
|
||||||
|
This requires ConsoleKit2 version 0.9.2.
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 4714e29..58b7f79 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -45,7 +45,6 @@ GLIB_REQUIRED=2.36.0
|
||||||
|
GIO_REQUIRED=2.25.0
|
||||||
|
GTK_REQUIRED=3.14.0
|
||||||
|
DBUS_GLIB_REQUIRED=0.76
|
||||||
|
-UPOWER_REQUIRED=0.9.0
|
||||||
|
|
||||||
|
dnl ====================================================================
|
||||||
|
dnl Dependency Checks
|
||||||
|
@@ -117,32 +116,6 @@ AM_CONDITIONAL(HAVE_SYSTEMD, test "x$use_systemd" = "xyes")
|
||||||
|
AC_SUBST(HAVE_SYSTEMD)
|
||||||
|
|
||||||
|
dnl ====================================================================
|
||||||
|
-dnl UPOWER
|
||||||
|
-dnl ====================================================================
|
||||||
|
-
|
||||||
|
-AC_ARG_ENABLE(upower,
|
||||||
|
- AS_HELP_STRING([--enable-upower],
|
||||||
|
- [Use upower to suspend/hibernate]),
|
||||||
|
- enable_upower=$enableval,
|
||||||
|
- enable_upower=no)
|
||||||
|
-if test "x$enable_upower" = "xyes"; then
|
||||||
|
- PKG_CHECK_MODULES([UPOWER], [upower-glib >= $UPOWER_REQUIRED], has_upower=yes, has_upower=no)
|
||||||
|
-
|
||||||
|
- if test "x$has_upower" = "xyes"; then
|
||||||
|
- AC_DEFINE(HAVE_UPOWER, 1, [upower support])
|
||||||
|
- AC_SUBST(UPOWER_CFLAGS)
|
||||||
|
- AC_SUBST(UPOWER_LIBS)
|
||||||
|
- fi
|
||||||
|
- PKG_CHECK_MODULES([UPOWER_HIBERNATE], [upower-glib < 0.99], has_upower_hibernate_suspend=yes, has_upower_hibernate_suspend=no)
|
||||||
|
- if test "x$has_upower_hibernate_suspend" = "xyes"; then
|
||||||
|
- AC_DEFINE(HAVE_UPOWER_HIBERNATE_SUSPEND, 1, [upower based support for hibernate and suspend (< 0.99)])
|
||||||
|
- fi
|
||||||
|
-
|
||||||
|
-fi
|
||||||
|
-AM_CONDITIONAL(HAVE_UPOWER, test "x$has_upower" = "xyes")
|
||||||
|
-AC_SUBST(HAVE_UPOWER)
|
||||||
|
-
|
||||||
|
-dnl ====================================================================
|
||||||
|
dnl Check for XSync extension
|
||||||
|
dnl ====================================================================
|
||||||
|
|
||||||
|
diff --git a/mate-session/Makefile.am b/mate-session/Makefile.am
|
||||||
|
index c6e8d37..4b2e3f1 100644
|
||||||
|
--- a/mate-session/Makefile.am
|
||||||
|
+++ b/mate-session/Makefile.am
|
||||||
|
@@ -7,7 +7,6 @@ noinst_PROGRAMS = \
|
||||||
|
AM_CPPFLAGS = \
|
||||||
|
$(MATE_SESSION_CFLAGS) \
|
||||||
|
$(SYSTEMD_CFLAGS) \
|
||||||
|
- $(UPOWER_CFLAGS) \
|
||||||
|
$(DISABLE_DEPRECATED_CFLAGS)
|
||||||
|
|
||||||
|
AM_CFLAGS = $(WARN_CFLAGS)
|
||||||
|
@@ -81,7 +80,6 @@ mate_session_LDADD = \
|
||||||
|
$(XEXT_LIBS) \
|
||||||
|
$(MATE_SESSION_LIBS) \
|
||||||
|
$(SYSTEMD_LIBS) \
|
||||||
|
- $(UPOWER_LIBS) \
|
||||||
|
$(EXECINFO_LIBS)
|
||||||
|
|
||||||
|
libgsmutil_la_SOURCES = \
|
||||||
|
diff --git a/mate-session/gsm-consolekit.c b/mate-session/gsm-consolekit.c
|
||||||
|
index a008c4c..e7af674 100644
|
||||||
|
--- a/mate-session/gsm-consolekit.c
|
||||||
|
+++ b/mate-session/gsm-consolekit.c
|
||||||
|
@@ -480,6 +480,65 @@ gsm_consolekit_attempt_stop (GsmConsolekit *manager)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+void
|
||||||
|
+gsm_consolekit_attempt_suspend (GsmConsolekit *manager)
|
||||||
|
+{
|
||||||
|
+ gboolean res;
|
||||||
|
+ GError *error;
|
||||||
|
+
|
||||||
|
+ error = NULL;
|
||||||
|
+
|
||||||
|
+ if (!gsm_consolekit_ensure_ck_connection (manager, &error)) {
|
||||||
|
+ g_warning ("Could not connect to ConsoleKit: %s",
|
||||||
|
+ error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ res = dbus_g_proxy_call_with_timeout (manager->priv->ck_proxy,
|
||||||
|
+ "Suspend",
|
||||||
|
+ INT_MAX,
|
||||||
|
+ &error,
|
||||||
|
+ G_TYPE_BOOLEAN, TRUE, /* interactive */
|
||||||
|
+ G_TYPE_INVALID,
|
||||||
|
+ G_TYPE_INVALID);
|
||||||
|
+
|
||||||
|
+ if (!res) {
|
||||||
|
+ g_warning ("Unable to suspend system: %s", error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+void
|
||||||
|
+gsm_consolekit_attempt_hibernate (GsmConsolekit *manager)
|
||||||
|
+{
|
||||||
|
+ gboolean res;
|
||||||
|
+ GError *error;
|
||||||
|
+
|
||||||
|
+ error = NULL;
|
||||||
|
+
|
||||||
|
+ if (!gsm_consolekit_ensure_ck_connection (manager, &error)) {
|
||||||
|
+ g_warning ("Could not connect to ConsoleKit: %s",
|
||||||
|
+ error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ res = dbus_g_proxy_call_with_timeout (manager->priv->ck_proxy,
|
||||||
|
+ "Hibernate",
|
||||||
|
+ INT_MAX,
|
||||||
|
+ &error,
|
||||||
|
+ G_TYPE_BOOLEAN, TRUE, /* interactive */
|
||||||
|
+ G_TYPE_INVALID,
|
||||||
|
+ G_TYPE_INVALID);
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ if (!res) {
|
||||||
|
+ g_warning ("Unable to hibernate system: %s", error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
static gboolean
|
||||||
|
get_current_session_id (DBusConnection *connection,
|
||||||
|
char **session_id)
|
||||||
|
@@ -836,6 +895,80 @@ gsm_consolekit_can_stop (GsmConsolekit *manager)
|
||||||
|
return can_stop;
|
||||||
|
}
|
||||||
|
|
||||||
|
+gboolean
|
||||||
|
+gsm_consolekit_can_suspend (GsmConsolekit *manager)
|
||||||
|
+{
|
||||||
|
+ gboolean res;
|
||||||
|
+ gboolean can_suspend;
|
||||||
|
+ gchar *retval;
|
||||||
|
+ GError *error = NULL;
|
||||||
|
+
|
||||||
|
+ if (!gsm_consolekit_ensure_ck_connection (manager, &error)) {
|
||||||
|
+ g_warning ("Could not connect to ConsoleKit: %s",
|
||||||
|
+ error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ return FALSE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ res = dbus_g_proxy_call_with_timeout (manager->priv->ck_proxy,
|
||||||
|
+ "CanSuspend",
|
||||||
|
+ INT_MAX,
|
||||||
|
+ &error,
|
||||||
|
+ G_TYPE_INVALID,
|
||||||
|
+ G_TYPE_STRING, &retval,
|
||||||
|
+ G_TYPE_INVALID);
|
||||||
|
+
|
||||||
|
+ if (res == FALSE) {
|
||||||
|
+ g_warning ("Could not make DBUS call: %s",
|
||||||
|
+ error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ return FALSE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ can_suspend = g_strcmp0 (retval, "yes") == 0 ||
|
||||||
|
+ g_strcmp0 (retval, "challenge") == 0;
|
||||||
|
+
|
||||||
|
+ g_free (retval);
|
||||||
|
+ return can_suspend;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+gboolean
|
||||||
|
+gsm_consolekit_can_hibernate (GsmConsolekit *manager)
|
||||||
|
+{
|
||||||
|
+ gboolean res;
|
||||||
|
+ gboolean can_hibernate;
|
||||||
|
+ gchar *retval;
|
||||||
|
+ GError *error = NULL;
|
||||||
|
+
|
||||||
|
+ if (!gsm_consolekit_ensure_ck_connection (manager, &error)) {
|
||||||
|
+ g_warning ("Could not connect to ConsoleKit: %s",
|
||||||
|
+ error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ return FALSE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ res = dbus_g_proxy_call_with_timeout (manager->priv->ck_proxy,
|
||||||
|
+ "CanHibernate",
|
||||||
|
+ INT_MAX,
|
||||||
|
+ &error,
|
||||||
|
+ G_TYPE_INVALID,
|
||||||
|
+ G_TYPE_STRING, &retval,
|
||||||
|
+ G_TYPE_INVALID);
|
||||||
|
+
|
||||||
|
+ if (res == FALSE) {
|
||||||
|
+ g_warning ("Could not make DBUS call: %s",
|
||||||
|
+ error->message);
|
||||||
|
+ g_error_free (error);
|
||||||
|
+ return FALSE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ can_hibernate = g_strcmp0 (retval, "yes") == 0 ||
|
||||||
|
+ g_strcmp0 (retval, "challenge") == 0;
|
||||||
|
+
|
||||||
|
+ g_free (retval);
|
||||||
|
+ return can_hibernate;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
gchar *
|
||||||
|
gsm_consolekit_get_current_session_type (GsmConsolekit *manager)
|
||||||
|
{
|
||||||
|
diff --git a/mate-session/gsm-consolekit.h b/mate-session/gsm-consolekit.h
|
||||||
|
index 741bde9..3dbb4f8 100644
|
||||||
|
--- a/mate-session/gsm-consolekit.h
|
||||||
|
+++ b/mate-session/gsm-consolekit.h
|
||||||
|
@@ -87,10 +87,18 @@ gboolean gsm_consolekit_can_stop (GsmConsolekit *manager);
|
||||||
|
|
||||||
|
gboolean gsm_consolekit_can_restart (GsmConsolekit *manager);
|
||||||
|
|
||||||
|
+gboolean gsm_consolekit_can_suspend (GsmConsolekit *manager);
|
||||||
|
+
|
||||||
|
+gboolean gsm_consolekit_can_hibernate (GsmConsolekit *manager);
|
||||||
|
+
|
||||||
|
void gsm_consolekit_attempt_stop (GsmConsolekit *manager);
|
||||||
|
|
||||||
|
void gsm_consolekit_attempt_restart (GsmConsolekit *manager);
|
||||||
|
|
||||||
|
+void gsm_consolekit_attempt_suspend (GsmConsolekit *manager);
|
||||||
|
+
|
||||||
|
+void gsm_consolekit_attempt_hibernate (GsmConsolekit *manager);
|
||||||
|
+
|
||||||
|
void gsm_consolekit_set_session_idle (GsmConsolekit *manager,
|
||||||
|
gboolean is_idle);
|
||||||
|
|
||||||
|
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
|
||||||
|
index 9eb9366..76e0167 100644
|
||||||
|
--- a/mate-session/gsm-logout-dialog.c
|
||||||
|
+++ b/mate-session/gsm-logout-dialog.c
|
||||||
|
@@ -27,10 +27,6 @@
|
||||||
|
#include <glib/gi18n.h>
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
-#include <upower.h>
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#include "gsm-logout-dialog.h"
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
#include "gsm-systemd.h"
|
||||||
|
@@ -58,9 +54,6 @@ typedef enum {
|
||||||
|
struct _GsmLogoutDialogPrivate
|
||||||
|
{
|
||||||
|
GsmDialogLogoutType type;
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- UpClient *up_client;
|
||||||
|
-#endif
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
GsmSystemd *systemd;
|
||||||
|
#endif
|
||||||
|
@@ -156,9 +149,6 @@ gsm_logout_dialog_init (GsmLogoutDialog *logout_dialog)
|
||||||
|
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (logout_dialog), TRUE);
|
||||||
|
gtk_window_set_keep_above (GTK_WINDOW (logout_dialog), TRUE);
|
||||||
|
gtk_window_stick (GTK_WINDOW (logout_dialog));
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- logout_dialog->priv->up_client = up_client_new ();
|
||||||
|
-#endif
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
if (LOGIND_RUNNING())
|
||||||
|
logout_dialog->priv->systemd = gsm_get_systemd ();
|
||||||
|
@@ -185,12 +175,6 @@ gsm_logout_dialog_destroy (GsmLogoutDialog *logout_dialog,
|
||||||
|
g_source_remove (logout_dialog->priv->timeout_id);
|
||||||
|
logout_dialog->priv->timeout_id = 0;
|
||||||
|
}
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- if (logout_dialog->priv->up_client) {
|
||||||
|
- g_object_unref (logout_dialog->priv->up_client);
|
||||||
|
- logout_dialog->priv->up_client = NULL;
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
if (logout_dialog->priv->systemd) {
|
||||||
|
g_object_unref (logout_dialog->priv->systemd);
|
||||||
|
@@ -214,12 +198,8 @@ gsm_logout_supports_system_suspend (GsmLogoutDialog *logout_dialog)
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
if (LOGIND_RUNNING())
|
||||||
|
ret = gsm_systemd_can_suspend (logout_dialog->priv->systemd);
|
||||||
|
-#endif
|
||||||
|
-#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER_HIBERNATE_SUSPEND)
|
||||||
|
- else
|
||||||
|
-#endif
|
||||||
|
-#ifdef HAVE_UPOWER_HIBERNATE_SUSPEND
|
||||||
|
- ret = up_client_get_can_suspend (logout_dialog->priv->up_client);
|
||||||
|
+#else
|
||||||
|
+ ret = gsm_consolekit_can_suspend (logout_dialog->priv->consolekit);
|
||||||
|
#endif
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
@@ -232,12 +212,8 @@ gsm_logout_supports_system_hibernate (GsmLogoutDialog *logout_dialog)
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
if (LOGIND_RUNNING())
|
||||||
|
ret = gsm_systemd_can_hibernate (logout_dialog->priv->systemd);
|
||||||
|
-#endif
|
||||||
|
-#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER_HIBERNATE_SUSPEND)
|
||||||
|
- else
|
||||||
|
-#endif
|
||||||
|
-#ifdef HAVE_UPOWER_HIBERNATE_SUSPEND
|
||||||
|
- ret = up_client_get_can_hibernate (logout_dialog->priv->up_client);
|
||||||
|
+#else
|
||||||
|
+ ret = gsm_consolekit_can_hibernate (logout_dialog->priv->consolekit);
|
||||||
|
#endif
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c
|
||||||
|
index 153e937..e09f7f4 100644
|
||||||
|
--- a/mate-session/gsm-manager.c
|
||||||
|
+++ b/mate-session/gsm-manager.c
|
||||||
|
@@ -38,10 +38,6 @@
|
||||||
|
#include <dbus/dbus-glib.h>
|
||||||
|
#include <dbus/dbus-glib-lowlevel.h>
|
||||||
|
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
-#include <upower.h>
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#include <gtk/gtk.h> /* for logout dialog */
|
||||||
|
#include <gio/gio.h> /* for gsettings */
|
||||||
|
|
||||||
|
@@ -150,10 +146,6 @@ struct GsmManagerPrivate
|
||||||
|
|
||||||
|
DBusGProxy *bus_proxy;
|
||||||
|
DBusGConnection *connection;
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- /* Interface with other parts of the system */
|
||||||
|
- UpClient *up_client;
|
||||||
|
-#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
enum {
|
||||||
|
@@ -1178,26 +1170,16 @@ manager_attempt_hibernate (GsmManager *manager)
|
||||||
|
|
||||||
|
gsm_systemd_attempt_hibernate (systemd);
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
-#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER_HIBERNATE_SUSPEND)
|
||||||
|
- else {
|
||||||
|
-#endif
|
||||||
|
-#ifdef HAVE_UPOWER_HIBERNATE_SUSPEND
|
||||||
|
- gboolean can_hibernate = up_client_get_can_hibernate (manager->priv->up_client);
|
||||||
|
+#else
|
||||||
|
+ GsmConsolekit *consolekit;
|
||||||
|
+ consolekit = gsm_get_consolekit ();
|
||||||
|
+
|
||||||
|
+ gboolean can_hibernate = gsm_consolekit_can_hibernate (consolekit);
|
||||||
|
if (can_hibernate) {
|
||||||
|
/* lock the screen before we suspend */
|
||||||
|
manager_perhaps_lock (manager);
|
||||||
|
|
||||||
|
- GError *error = NULL;
|
||||||
|
- gboolean ret = up_client_hibernate_sync (manager->priv->up_client, NULL, &error);
|
||||||
|
- if (!ret) {
|
||||||
|
- g_warning ("Unexpected hibernate failure: %s",
|
||||||
|
- error->message);
|
||||||
|
- g_error_free (error);
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
-#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER_HIBERNATE_SUSPEND)
|
||||||
|
+ gsm_consolekit_attempt_hibernate (consolekit);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
@@ -1217,27 +1199,18 @@ manager_attempt_suspend (GsmManager *manager)
|
||||||
|
|
||||||
|
gsm_systemd_attempt_suspend (systemd);
|
||||||
|
}
|
||||||
|
-#endif
|
||||||
|
-#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER_HIBERNATE_SUSPEND)
|
||||||
|
- else {
|
||||||
|
-#endif
|
||||||
|
-#ifdef HAVE_UPOWER_HIBERNATE_SUSPEND
|
||||||
|
- gboolean can_suspend = up_client_get_can_suspend (manager->priv->up_client);
|
||||||
|
+#else
|
||||||
|
+ GsmConsolekit *consolekit;
|
||||||
|
+ consolekit = gsm_get_consolekit ();
|
||||||
|
+
|
||||||
|
+ gboolean can_suspend = gsm_consolekit_can_suspend (consolekit);
|
||||||
|
if (can_suspend) {
|
||||||
|
/* lock the screen before we suspend */
|
||||||
|
manager_perhaps_lock (manager);
|
||||||
|
|
||||||
|
- GError *error = NULL;
|
||||||
|
- gboolean ret = up_client_suspend_sync (manager->priv->up_client, NULL, &error);
|
||||||
|
- if (!ret) {
|
||||||
|
- g_warning ("Unexpected suspend failure: %s",
|
||||||
|
- error->message);
|
||||||
|
- g_error_free (error);
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
-#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER_HIBERNATE_SUSPEND)
|
||||||
|
+ gsm_consolekit_attempt_suspend (consolekit);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -2452,12 +2425,6 @@ gsm_manager_dispose (GObject *object)
|
||||||
|
g_object_unref (manager->priv->settings_screensaver);
|
||||||
|
manager->priv->settings_screensaver = NULL;
|
||||||
|
}
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- if (manager->priv->up_client != NULL) {
|
||||||
|
- g_object_unref (manager->priv->up_client);
|
||||||
|
- manager->priv->up_client = NULL;
|
||||||
|
- }
|
||||||
|
-#endif
|
||||||
|
G_OBJECT_CLASS (gsm_manager_parent_class)->dispose (object);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -2664,9 +2631,6 @@ gsm_manager_init (GsmManager *manager)
|
||||||
|
"status-changed",
|
||||||
|
G_CALLBACK (on_presence_status_changed),
|
||||||
|
manager);
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- manager->priv->up_client = up_client_new ();
|
||||||
|
-#endif
|
||||||
|
g_signal_connect (manager->priv->settings_session,
|
||||||
|
"changed",
|
||||||
|
G_CALLBACK (on_gsettings_key_changed),
|
||||||
|
@@ -3376,14 +3340,6 @@ gsm_manager_can_shutdown (GsmManager *manager,
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
GsmSystemd *systemd;
|
||||||
|
#endif
|
||||||
|
- gboolean can_suspend = FALSE;
|
||||||
|
- gboolean can_hibernate = FALSE;
|
||||||
|
-#ifdef HAVE_UPOWER
|
||||||
|
- g_object_get (manager->priv->up_client,
|
||||||
|
- "can-suspend", &can_suspend,
|
||||||
|
- "can-hibernate", &can_hibernate,
|
||||||
|
- NULL);
|
||||||
|
-#endif
|
||||||
|
g_debug ("GsmManager: CanShutdown called");
|
||||||
|
|
||||||
|
g_return_val_if_fail (GSM_IS_MANAGER (manager), FALSE);
|
||||||
|
@@ -3403,8 +3359,8 @@ gsm_manager_can_shutdown (GsmManager *manager,
|
||||||
|
*shutdown_available = !_log_out_is_locked_down (manager) &&
|
||||||
|
(gsm_consolekit_can_stop (consolekit)
|
||||||
|
|| gsm_consolekit_can_restart (consolekit)
|
||||||
|
- || can_suspend
|
||||||
|
- || can_hibernate);
|
||||||
|
+ || gsm_consolekit_can_suspend (consolekit)
|
||||||
|
+ || gsm_consolekit_can_hibernate (consolekit));
|
||||||
|
g_object_unref (consolekit);
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
|
}
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-session-manager
|
PRGNAM=mate-session-manager
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -72,6 +72,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
patch -p1 < $CWD/ck2.patch
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-settings-daemon
|
PRGNAM=mate-settings-daemon
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-system-monitor
|
# Slackware build script for mate-system-monitor
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-system-monitor
|
PRGNAM=mate-system-monitor
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,9 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-terminal
|
PRGNAM=mate-terminal
|
||||||
VERSION=${VERSION:-1.16.2}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
2
deps/gksu/gksu.SlackBuild
vendored
2
deps/gksu/gksu.SlackBuild
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for gksu
|
# Slackware build script for gksu
|
||||||
|
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/glade/doinst.sh
vendored
2
deps/glade/doinst.sh
vendored
|
@ -1,5 +1,5 @@
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
2
deps/gssdp/gssdp.SlackBuild
vendored
2
deps/gssdp/gssdp.SlackBuild
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for gssdp
|
# Slackware build script for gssdp
|
||||||
|
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/gupnp/gupnp.SlackBuild
vendored
2
deps/gupnp/gupnp.SlackBuild
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for gupnp
|
# Slackware build script for gupnp
|
||||||
|
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/libgksu/doinst.sh
vendored
2
deps/libgksu/doinst.sh
vendored
|
@ -18,7 +18,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
2
deps/libgtop/libgtop.SlackBuild
vendored
2
deps/libgtop/libgtop.SlackBuild
vendored
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for libgtop
|
# Slackware build script for libgtop
|
||||||
|
|
||||||
# Copyright 2008 Stylianos Tsampas <ztsampas@otenet.gr>
|
# Copyright 2008 Stylianos Tsampas <ztsampas@otenet.gr>
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/libgxps/libgxps.SlackBuild
vendored
2
deps/libgxps/libgxps.SlackBuild
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for libgxps
|
# Slackware build script for libgxps
|
||||||
|
|
||||||
# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/libpeas/doinst.sh
vendored
2
deps/libpeas/doinst.sh
vendored
|
@ -1,5 +1,5 @@
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
2
deps/libunique/libunique.SlackBuild
vendored
2
deps/libunique/libunique.SlackBuild
vendored
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for libunique
|
# Slackware build script for libunique
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/vte3/vte3.SlackBuild
vendored
2
deps/vte3/vte3.SlackBuild
vendored
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for vte3
|
# Slackware build script for vte3
|
||||||
|
|
||||||
# Copyright 2012-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
# Copyright 2012-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/yelp-tools/yelp-tools.SlackBuild
vendored
2
deps/yelp-tools/yelp-tools.SlackBuild
vendored
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for yelp-tools
|
# Slackware build script for yelp-tools
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
2
deps/yelp-xsl/yelp-xsl.SlackBuild
vendored
2
deps/yelp-xsl/yelp-xsl.SlackBuild
vendored
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for yelp-xsl
|
# Slackware build script for yelp-xsl
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
1
deps/zenity/zenity.SlackBuild
vendored
1
deps/zenity/zenity.SlackBuild
vendored
|
@ -63,7 +63,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--enable-debug=no \
|
--enable-debug=no \
|
||||||
--enable-libnotify \
|
--enable-libnotify \
|
||||||
--without-help-dir \
|
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for atril
|
# Slackware build script for atril
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=atril
|
PRGNAM=atril
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -58,7 +58,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check webkitgtk existence
|
# check webkitgtk existence
|
||||||
webkit=`pkg-config --exists webkit-1.0`
|
webkit=`pkg-config --exists webkit2gtk-4.0`
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
epub="--enable-epub"
|
epub="--enable-epub"
|
||||||
else
|
else
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for caja-dropbox
|
# Slackware build script for caja-dropbox
|
||||||
|
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=caja-dropbox
|
PRGNAM=caja-dropbox
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -4,6 +4,6 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for caja-extensions
|
# Slackware build script for caja-extensions
|
||||||
|
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=caja-extensions
|
PRGNAM=caja-extensions
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
|
||||||
/usr/bin/update-desktop-database -q usr/share/applications
|
|
||||||
fi
|
|
|
@ -1,19 +0,0 @@
|
||||||
# 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 ':' except on otherwise blank lines.
|
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|
||||||
galculator: galculator (Scientific Calculator)
|
|
||||||
galculator:
|
|
||||||
galculator: galculator is a GTK 2 based calculator with ordinary notation/reverse
|
|
||||||
galculator: polish notation, a formula entry mode, different number bases (DEC,
|
|
||||||
galculator: HEX, OCT, BIN) and different units of angular measure (DEG, RAD, GRAD)
|
|
||||||
galculator:
|
|
||||||
galculator: Homepage: http://galculator.sourceforge.net/
|
|
||||||
galculator:
|
|
||||||
galculator:
|
|
||||||
galculator:
|
|
||||||
galculator:
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-applets
|
# Slackware build script for mate-applets
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-applets
|
PRGNAM=mate-applets
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -83,9 +83,11 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-cpufreq-lib=cpufreq \
|
--with-cpufreq-lib=cpufreq \
|
||||||
|
--enable-frequency-selector=yes \
|
||||||
--enable-polkit \
|
--enable-polkit \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-stickynotes \
|
--enable-stickynotes \
|
||||||
|
--enable-suid=yes \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
19
extra/mate-calc/doinst.sh
Normal file
19
extra/mate-calc/doinst.sh
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x /usr/bin/update-mime-database ]; then
|
||||||
|
/usr/bin/update-mime-database usr/share/mime >/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 -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
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
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for galculator
|
# Slackware build script for mate-calc
|
||||||
|
|
||||||
# Copyright 2008, 2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -12,21 +12,19 @@
|
||||||
# 1. Redistributions of this script must retain the above copyright
|
# 1. Redistributions of this script must retain the above copyright
|
||||||
# notice, this list of conditions and the following disclaimer.
|
# notice, this list of conditions and the following disclaimer.
|
||||||
#
|
#
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# Modified by Willy Sudiarto Raharjo for MSB Project
|
PRGNAM=mate-calc
|
||||||
|
VERSION=${VERSION:-1.17.0}
|
||||||
PRGNAM=galculator
|
|
||||||
VERSION=${VERSION:-2.1.4}
|
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -38,10 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c https://github.com/galculator/galculator/archive/v$VERSION.tar.gz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -68,38 +63,53 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./autogen.sh \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--enable-static=no \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--without-help-dir \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install-strip DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
# Compress and link manpages
|
||||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
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
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS $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
|
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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
12
extra/mate-calc/slack-desc
Normal file
12
extra/mate-calc/slack-desc
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
mate-calc: mate-calc (calculator for the MATE desktop)
|
||||||
|
mate-calc:
|
||||||
|
mate-calc: mate-calc is a fork of gnome-calc, a calculator application for
|
||||||
|
mate-calc: the MATE desktop.
|
||||||
|
mate-calc:
|
||||||
|
mate-calc:
|
||||||
|
mate-calc:
|
||||||
|
mate-calc:
|
||||||
|
mate-calc:
|
||||||
|
mate-calc: Homepage: http://www.mate-desktop.org
|
||||||
|
mate-calc:
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-icon-theme-faenza
|
# Slackware build script for mate-icon-theme-faenza
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-sensors-applet
|
PRGNAM=mate-sensors-applet
|
||||||
VERSION=${VERSION:-1.16.1}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mate-utils
|
# Slackware build script for mate-utils
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-utils
|
PRGNAM=mate-utils
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -85,7 +85,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-debug=no \
|
--enable-debug=no \
|
||||||
--enable-gdict-applet=yes \
|
--enable-gdict-applet=yes \
|
||||||
--with-gtk=2.0 \
|
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
# This is needed in -current, but should be harmless in -stable as well
|
# This is needed in -current, but should be harmless in -stable as well
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for mozo
|
# Slackware build script for mozo
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mozo
|
PRGNAM=mozo
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for pluma
|
# Slackware build script for pluma
|
||||||
|
|
||||||
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=pluma
|
PRGNAM=pluma
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -54,6 +54,7 @@ for dir in \
|
||||||
deps/gtk-engines \
|
deps/gtk-engines \
|
||||||
deps/murrine \
|
deps/murrine \
|
||||||
deps/glade \
|
deps/glade \
|
||||||
|
deps/libpeas \
|
||||||
deps/gtksourceview3 \
|
deps/gtksourceview3 \
|
||||||
deps/libgtop \
|
deps/libgtop \
|
||||||
deps/libgksu \
|
deps/libgksu \
|
||||||
|
|
|
@ -42,10 +42,11 @@ CHECKDUPLICATE=0
|
||||||
|
|
||||||
# Loop for all extra packages
|
# Loop for all extra packages
|
||||||
for dir in \
|
for dir in \
|
||||||
extra/galculator \
|
extra/mate-calc \
|
||||||
extra/atril \
|
extra/atril \
|
||||||
extra/caja-extensions \
|
extra/caja-extensions \
|
||||||
extra/caja-dropbox \
|
extra/caja-dropbox \
|
||||||
|
extra/caja-actions \
|
||||||
extra/mate-applets \
|
extra/mate-applets \
|
||||||
extra/mate-icon-theme-faenza \
|
extra/mate-icon-theme-faenza \
|
||||||
extra/mate-sensors-applet \
|
extra/mate-sensors-applet \
|
||||||
|
|
|
@ -29,7 +29,7 @@ TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/msb}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -87,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--with-gtk=2 \
|
--with-gtk=3 \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-tests \
|
--disable-tests \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for mate-indicator-applet
|
# Slackware build script for mate-indicator-applet
|
||||||
|
|
||||||
# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,27 +23,27 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-indicator-applet
|
PRGNAM=mate-indicator-applet
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
@ -80,7 +80,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--with-gtk=2.0 \
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for mate-user-guide
|
# Slackware build script for mate-user-guide
|
||||||
|
|
||||||
# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2015-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-user-guide
|
PRGNAM=mate-user-guide
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=mate-user-share
|
PRGNAM=mate-user-share
|
||||||
VERSION=${VERSION:-1.16.0}
|
VERSION=${VERSION:-1.17.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c http://pub.mate-desktop.org/releases/1.16/$PRGNAM-$VERSION.tar.xz
|
wget -c http://pub.mate-desktop.org/releases/1.17/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -82,6 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-httpd \
|
--with-httpd \
|
||||||
|
--with-modules-path=/usr/lib${LIBDIRSUFFIX}/httpd/modules/ \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -8,6 +8,6 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,6 +8,6 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,6 +8,6 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,7 +8,7 @@ fi
|
||||||
|
|
||||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for yelp
|
# Slackware build script for yelp
|
||||||
|
|
||||||
# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=yelp
|
PRGNAM=yelp
|
||||||
VERSION=${VERSION:-3.20.1}
|
VERSION=${VERSION:-3.22.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c ftp://ftp.gnome.org/pub/gnome/sources/yelp/3.20/$PRGNAM-$VERSION.tar.xz
|
wget -c ftp://ftp.gnome.org/pub/gnome/sources/yelp/3.22/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
|
Loading…
Reference in a new issue