1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-15 15:41:54 +01:00
slackware-current/source/x/x11-skel/x11-skel.SlackBuild
Patrick J Volkerding 8b1588afc8 Tue Jan 5 22:42:46 UTC 2021
a/lzlib-1.12-x86_64-1.txz:  Upgraded.
ap/qpdf-10.1.0-x86_64-1.txz:  Upgraded.
kde/bluedevil-5.20.5-x86_64-1.txz:  Upgraded.
kde/breeze-5.20.5-x86_64-1.txz:  Upgraded.
kde/breeze-grub-5.20.5-x86_64-1.txz:  Upgraded.
kde/breeze-gtk-5.20.5-x86_64-1.txz:  Upgraded.
kde/drkonqi-5.20.5-x86_64-1.txz:  Upgraded.
kde/kactivitymanagerd-5.20.5-x86_64-1.txz:  Upgraded.
kde/kde-cli-tools-5.20.5-x86_64-1.txz:  Upgraded.
kde/kde-gtk-config-5.20.5-x86_64-1.txz:  Upgraded.
kde/kdecoration-5.20.5-x86_64-1.txz:  Upgraded.
kde/kdeplasma-addons-5.20.5-x86_64-1.txz:  Upgraded.
kde/kgamma5-5.20.5-x86_64-1.txz:  Upgraded.
kde/khotkeys-5.20.5-x86_64-1.txz:  Upgraded.
kde/kinfocenter-5.20.5-x86_64-1.txz:  Upgraded.
kde/kmenuedit-5.20.5-x86_64-1.txz:  Upgraded.
kde/kscreen-5.20.5-x86_64-1.txz:  Upgraded.
kde/kscreenlocker-5.20.5-x86_64-1.txz:  Upgraded.
kde/ksshaskpass-5.20.5-x86_64-1.txz:  Upgraded.
kde/ksysguard-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwallet-pam-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwayland-integration-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwayland-server-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwin-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwrited-5.20.5-x86_64-1.txz:  Upgraded.
kde/libkscreen-5.20.5-x86_64-1.txz:  Upgraded.
kde/libksysguard-5.20.5-x86_64-1.txz:  Upgraded.
kde/milou-5.20.5-x86_64-1.txz:  Upgraded.
kde/oxygen-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-browser-integration-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-desktop-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-disks-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-integration-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-nm-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-pa-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-sdk-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-vault-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-wallpapers-5.20.5-x86_64-1.txz:  Upgraded.
kde/polkit-kde-agent-1-5.20.5-x86_64-1.txz:  Upgraded.
kde/powerdevil-5.20.5-x86_64-1.txz:  Upgraded.
kde/sddm-kcm-5.20.5-x86_64-1.txz:  Upgraded.
kde/systemsettings-5.20.5-x86_64-1.txz:  Upgraded.
kde/xdg-desktop-portal-kde-5.20.5-x86_64-1.txz:  Upgraded.
l/pipewire-0.3.19-x86_64-1.txz:  Upgraded.
l/vte-0.62.1-x86_64-2.txz:  Rebuilt.
  Get rid of bogus symlink in the docs directory. Thanks to titopoquito.
n/php-7.4.14-x86_64-1.txz:  Upgraded.
  This update fixes bugs and a security issue:
  Standard: FILTER_VALIDATE_URL accepts URLs with invalid userinfo.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7071
  (* Security fix *)
x/x11-skel-7.7-x86_64-6.txz:  Rebuilt.
  Added /usr/share/xsessions/xwmconfig.desktop to run the session type
  configured by xwmconfig. This will show up in SDDM.
x/xdm-1.1.11-x86_64-12.txz:  Rebuilt.
  Fix some permissions in /etc/X11/xdm/.
2021-01-06 08:59:50 +01:00

96 lines
3 KiB
Bash
Executable file

#!/bin/bash
# Copyright 2008, 2009, 2011, 2012, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=x11-skel
VERSION=7.7
BUILD=${BUILD:-6}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
exit 0
fi
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else
LIBDIRSUFFIX=""
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-x11-skel
rm -rf $PKG
mkdir -p $TMP $PKG
cd $PKG
mkdir -p etc/xdg
mkdir -p etc/X11
mkdir -p usr/lib${LIBDIRSUFFIX}/X11
mkdir -p usr/bin
mkdir -p var/log/setup
mkdir -p usr/man/man1
mkdir -p usr/share/xsessions
# obsolete:
#cp -a $CWD/scripts/xorg.conf-fbdev etc/X11
cp -a $CWD/scripts/xorg.conf-vesa etc/X11
chown -R root:root etc/X11
find etc/X11 -type f -exec chmod 644 {} \+
cp -a $CWD/scripts/xorgsetup usr/bin
cp -a $CWD/scripts/xwmconfig usr/bin
chown root:root usr/bin/*
chmod 755 usr/bin/*
sed -i -e "s#lib/#lib${LIBDIRSUFFIX}/#g" usr/bin/*
cp -a $CWD/scripts/setup.xwmconfig var/log/setup
chown root:root var/log/setup/setup.xwmconfig
chmod 755 var/log/setup/setup.xwmconfig
cat $CWD/manpages/xwmconfig.1 | gzip -9c > $PKG/usr/man/man1/xwmconfig.1.gz
cp -a $CWD/scripts/xwmconfig.desktop usr/share/xsessions
chown root:root usr/share/xsessions/xwmconfig.desktop
chmod 644 usr/share/xsessions/xwmconfig.desktop
mkdir -p install
zcat $CWD/doinst.sh.gz \
| sed -e "s#lib/#lib${LIBDIRSUFFIX}/#g" -e "s#lib #lib${LIBDIRSUFFIX} #g" \
> $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/x11-skel-$VERSION-$ARCH-$BUILD.txz