|
@ -1,7 +1,7 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
# $Id: lxsession.SlackBuild,v 1.1 2009/09/11 10:33:13 root Exp root $ |
|
|
# $Id: lxsession.SlackBuild,v 1.1 2009/09/11 10:33:13 root Exp root $ |
|
|
# Copyright (c) 2008-2009 Eric Hameleers, Eindhoven, NL |
|
|
# Copyright (c) 2008-2009 Eric Hameleers, Eindhoven, NL |
|
|
# Copyright (c) 2010-2024 Matteo Bernardini, Pisa, IT |
|
|
|
|
|
|
|
|
# Copyright (c) 2010-2025 Matteo Bernardini, Pisa, IT |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
|
# |
|
|
# |
|
|
# Permission to use, copy, modify, and distribute this software for |
|
|
# Permission to use, copy, modify, and distribute this software for |
|
@ -63,6 +63,8 @@ |
|
|
# * remove empty file from doc dir. |
|
|
# * remove empty file from doc dir. |
|
|
# 0.5.5-3: 24/apr/2024 by Matteo Bernardini <ponce@slackbuilds.org> |
|
|
# 0.5.5-3: 24/apr/2024 by Matteo Bernardini <ponce@slackbuilds.org> |
|
|
# * Switch to gtk+3. |
|
|
# * Switch to gtk+3. |
|
|
|
|
|
# 0.5.6-1: 29/apr/2025 by Matteo Bernardini <ponce@slackbuilds.org> |
|
|
|
|
|
# * update. |
|
|
# |
|
|
# |
|
|
# Run 'sh lxsession.SlackBuild' to build a Slackware package. |
|
|
# Run 'sh lxsession.SlackBuild' to build a Slackware package. |
|
|
# The package (.tgz) plus descriptive .txt file are created in /tmp . |
|
|
# The package (.tgz) plus descriptive .txt file are created in /tmp . |
|
@ -73,8 +75,8 @@ |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=lxsession |
|
|
PRGNAM=lxsession |
|
|
VERSION=${VERSION:-0.5.5} |
|
|
|
|
|
BUILD=${BUILD:-3} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-0.5.6} |
|
|
|
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
|
|
|
|
@ -120,7 +122,7 @@ 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.xz |
|
|
|
|
|
|
|
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z |
|
|
cd $PRGNAM-$VERSION |
|
|
cd $PRGNAM-$VERSION |
|
|
chown -R root:root . |
|
|
chown -R root:root . |
|
|
find -L . \ |
|
|
find -L . \ |
|
@ -129,8 +131,7 @@ 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 {} \; |
|
|
|
|
|
|
|
|
rm *.stamp |
|
|
|
|
|
autoreconf -fi |
|
|
|
|
|
|
|
|
./autogen.sh || true |
|
|
|
|
|
|
|
|
CXXFLAGS="$SLKCFLAGS" \ |
|
|
CXXFLAGS="$SLKCFLAGS" \ |
|
|
CFLAGS="$SLKCFLAGS" \ |
|
|
CFLAGS="$SLKCFLAGS" \ |
|
@ -145,7 +146,6 @@ CFLAGS="$SLKCFLAGS" \ |
|
|
--program-suffix= \ |
|
|
--program-suffix= \ |
|
|
$WITHGTK3 \ |
|
|
$WITHGTK3 \ |
|
|
--enable-buildin-clipboard \ |
|
|
--enable-buildin-clipboard \ |
|
|
--enable-buildin-polkit \ |
|
|
|
|
|
--build=$ARCH-slackware-linux |
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
|
|
|
|
make |
|
|
make |
|
|