diff options
Diffstat (limited to '')
-rwxr-xr-x | source/x/mesa/mesa.SlackBuild | 4 | ||||
-rw-r--r-- | source/x/mesa/patches/mesa.f93b7d14d66d8ba70d44772d1a1b6696310b7d17.patch | 48 | ||||
-rwxr-xr-x | source/xap/blueman/blueman.SlackBuild | 7 | ||||
-rw-r--r-- | source/xap/xgames/spider.gcc10.diff | 11 | ||||
-rwxr-xr-x | source/xap/xgames/xgames.SlackBuild | 35 | ||||
-rw-r--r-- | source/xap/xscreensaver/clarify-desc-in-xfce-settings.patch | 13 | ||||
-rwxr-xr-x | source/xap/xscreensaver/xscreensaver.SlackBuild | 6 | ||||
-rw-r--r-- | source/xap/xsnow/slack-desc | 19 | ||||
-rwxr-xr-x | source/xap/xsnow/xsnow.SlackBuild (renamed from extra/source/pure-alsa-system/xfce4-mixer/xfce4-mixer.SlackBuild) | 114 | ||||
-rw-r--r-- | source/xap/xsnow/xsnow.url | 1 | ||||
-rw-r--r-- | source/xfce/xfce4-screensaver/clarify-desc-in-xfce-settings.patch | 12 | ||||
-rwxr-xr-x | source/xfce/xfce4-screensaver/xfce4-screensaver.SlackBuild | 6 | ||||
-rw-r--r-- | source/xfce/xfce4-session/use-xfss-by-default-in-xfce.patch | 12 | ||||
-rwxr-xr-x | source/xfce/xfce4-session/xfce4-session.SlackBuild | 8 |
14 files changed, 213 insertions, 83 deletions
diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild index 67ace3b5a..a10c955ba 100755 --- a/source/x/mesa/mesa.SlackBuild +++ b/source/x/mesa/mesa.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mesa VERSION=${VERSION:-$(echo $PKGNAM-[0-9]*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} DEMOVERS=${DEMOVERS:-8.4.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} BUILD_DEMOS=${BUILD_DEMOS:-YES} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -97,7 +97,7 @@ find . \ # git format-patch 93c2beafc0a7fa2f210b006d22aba61caa71f773 # 17.2.6 release if /bin/ls $CWD/patches/*.patch 1> /dev/null 2> /dev/null ; then for patch in $CWD/patches/*.patch ; do - patch -p1 < $patch || exit 1 ; + patch -p1 --verbose < $patch || exit 1 ; done fi diff --git a/source/x/mesa/patches/mesa.f93b7d14d66d8ba70d44772d1a1b6696310b7d17.patch b/source/x/mesa/patches/mesa.f93b7d14d66d8ba70d44772d1a1b6696310b7d17.patch new file mode 100644 index 000000000..bf3483a41 --- /dev/null +++ b/source/x/mesa/patches/mesa.f93b7d14d66d8ba70d44772d1a1b6696310b7d17.patch @@ -0,0 +1,48 @@ +From f93b7d14d66d8ba70d44772d1a1b6696310b7d17 Mon Sep 17 00:00:00 2001 +From: Witold Baryluk <witold.baryluk@gmail.com> +Date: Mon, 7 Dec 2020 20:45:42 +0000 +Subject: [PATCH] vulkan/device_select: Store Vulkan vendorID and deviceID as + uint32_t + +Vulkan uses 32-bit IDs, compared to PCI/USB 16-bit ones. + +Some driver vendorIDs do exceed 0xffff, including MESA (used by lavapipe). + +Without this, the value will be truncated, and device select layer +will not match expected (or any) device. + +Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3935 +Reviewed-by: Dave Airlie <airlied@redhat.com> +Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7977> +--- + src/vulkan/device-select-layer/device_select.h | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/src/vulkan/device-select-layer/device_select.h b/src/vulkan/device-select-layer/device_select.h +index 23350707a33..248878fbc71 100644 +--- a/src/vulkan/device-select-layer/device_select.h ++++ b/src/vulkan/device-select-layer/device_select.h +@@ -24,10 +24,18 @@ + #define DEVICE_SELECT_H + + #include <stdbool.h> ++#include <stdint.h> + #include "xf86drm.h" + ++/* We don't use `drmPciDeviceInfo` because it uses 16-bit ids, ++ * instead of Vulkan's 32-bit ones. */ ++struct device_info { ++ uint32_t vendor_id; ++ uint32_t device_id; ++}; ++ + struct device_pci_info { +- drmPciDeviceInfo dev_info; ++ struct device_info dev_info; + drmPciBusInfo bus_info; + bool has_bus_info; + bool cpu_device; +-- +GitLab + + diff --git a/source/xap/blueman/blueman.SlackBuild b/source/xap/blueman/blueman.SlackBuild index e7d9c8c89..cfe25a438 100755 --- a/source/xap/blueman/blueman.SlackBuild +++ b/source/xap/blueman/blueman.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=blueman VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -123,6 +123,11 @@ sed -i "s,#!/usr/bin/env python3,#!/usr/bin/python${PYTHON3VER},g" module/_bluem make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +# Move the dbus config file to the system directory +mkdir -p $PKG/usr/share/dbus-1/system.d/ +mv $PKG/etc/dbus-1/system.d/* $PKG/usr/share/dbus-1/system.d/ +rmdir --parents $PKG/etc/dbus-1/system.d/ + 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 diff --git a/source/xap/xgames/spider.gcc10.diff b/source/xap/xgames/spider.gcc10.diff new file mode 100644 index 000000000..cbde66d64 --- /dev/null +++ b/source/xap/xgames/spider.gcc10.diff @@ -0,0 +1,11 @@ +--- ./Makefile.orig 2020-12-24 15:54:29.538553593 -0600 ++++ ./Makefile 2020-12-24 15:56:23.320547299 -0600 +@@ -295,7 +295,7 @@ + + ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(INSTALLED_INCLUDES) $(STD_INCLUDES) + ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(MODULE_DEFINES) $(DEFINES) $(EXTRA_DEFINES) +- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES) ++ CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(MODULE_CFLAGS) $(ALLDEFINES) -fcommon + LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES) + LDPRELIB = -L$(USRLIBDIR) $(INSTALLED_LIBS) + LDPOSTLIB = diff --git a/source/xap/xgames/xgames.SlackBuild b/source/xap/xgames/xgames.SlackBuild index f688a41ce..6931b8dcd 100755 --- a/source/xap/xgames/xgames.SlackBuild +++ b/source/xap/xgames/xgames.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xgames VERSION=0.3 -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -53,10 +53,11 @@ mkdir -p $TMP $PKG # Build spider: cd $TMP -tar xvf $CWD/spider.tar.gz || exit 1 +tar xvf $CWD/spider.tar.lz || exit 1 cd spider || exit 1 zcat $CWD/spider.diff.gz | patch -p1 --verbose || exit 1 xmkmf +zcat $CWD/spider.gcc10.diff.gz | patch -p1 --verbose || exit 1 make $NUMJOBS || make || exit 1 mkdir -p $PKG/usr/bin cat spider > $PKG/usr/bin/spider @@ -67,7 +68,7 @@ cp -a README* $PKG/usr/doc/xgames-$VERSION/spider # Build maze: cd $TMP -tar xvf $CWD/maze.tar.gz || exit 1 +tar xvf $CWD/maze.tar.lz || exit 1 cd maze || exit 1 zcat $CWD/maze.diff.gz | patch -p1 || exit 1 xmkmf @@ -79,7 +80,7 @@ cp -a README $PKG/usr/doc/xgames-$VERSION/maze # Build xcolormap: cd $TMP -tar xvf $CWD/xcolormap.tar.gz || exit 1 +tar xvf $CWD/xcolormap.tar.lz || exit 1 cd xcolormap || exit 1 zcat $CWD/xcolormap.diff.gz | patch -p1 || exit 1 make $NUMJOBS || make || exit 1 @@ -89,7 +90,7 @@ cp -a README $PKG/usr/doc/xgames-$VERSION/xcolormap # Build xcuckoo: cd $TMP -tar xvf $CWD/xcuckoo-1.1.tar.gz || exit 1 +tar xvf $CWD/xcuckoo-1.1.tar.lz || exit 1 cd xcuckoo || exit 1 zcat $CWD/xcuckoo.diff.gz | patch -p1 --verbose || exit 1 xmkmf @@ -101,7 +102,7 @@ cp -a CHANGES $PKG/usr/doc/xgames-$VERSION/xcuckoo # Build xlander: cd $TMP -tar xvf $CWD/xlander.tar.gz || exit 1 +tar xvf $CWD/xlander.tar.lz || exit 1 cd xlander || exit 1 zcat $CWD/xlander.fixes.diff.gz | patch -p1 || exit 1 zcat $CWD/xlander-2009-07-18.diff.gz | patch -p1 || exit 1 @@ -114,7 +115,7 @@ cp -a README $PKG/usr/doc/xgames-$VERSION/xlander # Build xminesweep: cd $TMP -tar xvf $CWD/xminesweep3.0.tar.gz || exit 1 +tar xvf $CWD/xminesweep3.0.tar.lz || exit 1 cd xminesweep3.0 || exit 1 xmkmf make $NUMJOBS || make || exit 1 @@ -125,7 +126,7 @@ cp -a README $PKG/usr/doc/xgames-$VERSION/xminesweep # Build xneko: cd $TMP -tar xvf $CWD/xneko.tar.gz || exit 1 +tar xvf $CWD/xneko.tar.lz || exit 1 cd xneko || exit 1 xmkmf make $NUMJOBS || make || exit 1 @@ -136,7 +137,7 @@ cp -a README $PKG/usr/doc/xgames-$VERSION/xneko # Build xroach: cd $TMP -tar xvf $CWD/xroach.tar.gz || exit 1 +tar xvf $CWD/xroach.tar.lz || exit 1 cd xroach || exit 1 xmkmf make $NUMJOBS || make || exit 1 @@ -145,24 +146,13 @@ cat xroach.man | gzip -9c > $PKG/usr/man/man6/xroach.6.gz mkdir -p $PKG/usr/doc/xgames-$VERSION/xroach cp -a README.linux $PKG/usr/doc/xgames-$VERSION/xroach -# Build xsnow: -cd $TMP -tar xvf $CWD/xsnow-1.42.tar.gz || exit 1 -cd xsnow-1.42 || exit 1 -xmkmf -make $NUMJOBS || make || exit 1 -cat xsnow > $PKG/usr/bin/xsnow -cat xsnow.man | gzip -9c > $PKG/usr/man/man6/xsnow.6.gz -mkdir -p $PKG/usr/doc/xgames-$VERSION/xsnow -cp -a README $PKG/usr/doc/xgames-$VERSION/xsnow - # Fix everything up: chmod 755 $PKG/usr/bin/* strip $PKG/usr/bin/* ( cd $PKG/usr/doc - find . -type f -exec chown root.root {} \+ - find . -type f -exec chmod 644 {} \+ + find . -type f -exec chown root.root {} \; + find . -type f -exec chmod 644 {} \; ) mkdir -p $PKG/install @@ -170,4 +160,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $TMP/xgames-$VERSION-$ARCH-$BUILD.txz - diff --git a/source/xap/xscreensaver/clarify-desc-in-xfce-settings.patch b/source/xap/xscreensaver/clarify-desc-in-xfce-settings.patch new file mode 100644 index 000000000..8a1a0ab9f --- /dev/null +++ b/source/xap/xscreensaver/clarify-desc-in-xfce-settings.patch @@ -0,0 +1,13 @@ +diff -Nur xscreensaver-5.45.orig/driver/screensaver-properties.desktop.in xscreensaver-5.45/driver/screensaver-properties.desktop.in +--- xscreensaver-5.45.orig/driver/screensaver-properties.desktop.in 2009-10-06 21:26:41.000000000 -0500 ++++ xscreensaver-5.45/driver/screensaver-properties.desktop.in 2020-12-15 20:12:13.223955366 -0600 +@@ -2,7 +2,7 @@ + Exec=xscreensaver-demo + Icon=xscreensaver + Terminal=false +-_Name=Screensaver +-_Comment=Change screensaver properties ++_Name=XScreenSaver ++_Comment=Change XScreenSaver properties + Type=Application + Categories=Settings;DesktopSettings;Security;X-XFCE; diff --git a/source/xap/xscreensaver/xscreensaver.SlackBuild b/source/xap/xscreensaver/xscreensaver.SlackBuild index cb9c10cdb..46fef08e2 100755 --- a/source/xap/xscreensaver/xscreensaver.SlackBuild +++ b/source/xap/xscreensaver/xscreensaver.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xscreensaver VERSION=${VERSION:-$(echo xscreensaver-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -91,6 +91,10 @@ zcat $CWD/xscreensaver.electricsheep.diff.gz | patch -p1 --verbose --backup --su # helpful to distributions. zcat $CWD/xscreensaver.no.expiration.date.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit 1 +# Make the description of the xscreensaver settings be clearly for xscreensaver +# as opposed to a generic "screensaver" settings +zcat $CWD/clarify-desc-in-xfce-settings.patch.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/source/xap/xsnow/slack-desc b/source/xap/xsnow/slack-desc new file mode 100644 index 000000000..9e126a9af --- /dev/null +++ b/source/xap/xsnow/slack-desc @@ -0,0 +1,19 @@ +# 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 ':'. + + |-----handy-ruler------------------------------------------------------| +xsnow: xsnow (let it snow on your desktop) +xsnow: +xsnow: XSnow brings snow, trees, reindeer, Santa, and birds to your desktop. +xsnow: +xsnow: Homepage: http://ratrabbit.nl/ratrabbit/xsnow/ +xsnow: +xsnow: +xsnow: +xsnow: +xsnow: +xsnow: diff --git a/extra/source/pure-alsa-system/xfce4-mixer/xfce4-mixer.SlackBuild b/source/xap/xsnow/xsnow.SlackBuild index e9aced1c8..59e6639ee 100755 --- a/extra/source/pure-alsa-system/xfce4-mixer/xfce4-mixer.SlackBuild +++ b/source/xap/xsnow/xsnow.SlackBuild @@ -1,9 +1,6 @@ #!/bin/bash -# Slackware build script for xfce4-mixer - -# Copyright 2010, 2011 Robby Workman, Northport, Alabama, USA -# Copyright 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -12,7 +9,7 @@ # 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 +# 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, @@ -25,101 +22,112 @@ cd $(dirname $0) ; CWD=$(pwd) -PKGNAM=xfce4-mixer +PKGNAM=xsnow VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2_alsa} +BUILD=${BUILD:-1} +# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then - case "$( uname -m )" in + case "$(uname -m)" in i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; + arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$(uname -m) ;; esac + export ARCH fi -NUMJOBS=${NUMJOBS:-" -j7 "} +# 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 -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM +NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" 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 +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM rm -rf $PKG mkdir -p $TMP $PKG + cd $TMP rm -rf $PKGNAM-$VERSION tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 cd $PKGNAM-$VERSION || exit 1 + chown -R root:root . find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \+ - -zcat $CWD/0001-Make-Unique-support-optional.patch | patch -p1 --verbose || exit 1 -zcat $CWD/0001-Use-datadir-xfce4-mixer-as-MIXER_DATADIR.patch | patch -p1 --verbose || exit 1 -zcat $CWD/0001-icons-Makefile.am-Remove-unnecessary-gtk-update-icon.patch | patch -p1 --verbose || exit 1 - -xdt-autogen - + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +# Configure, build, and install: +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc/xfce \ + --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/man \ --docdir=/usr/doc/$PKGNAM-$VERSION \ - --disable-debug \ - --disable-unique \ + --mandir=/usr/man \ + --with-x \ --build=$ARCH-slackware-linux || exit 1 +make $NUMJOBS gamesdir=/usr/bin || make gamesdir=/usr/bin || exit 1 +make install gamesdir=/usr/bin DESTDIR=$PKG || exit 1 -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Strip binaries: +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -gzip -9 $PKG/usr/man/man?/*.? +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION +# Add a documentation directory: +mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION cp -a \ - AUTHORS COPYING* HACKING INSTALL NEWS README* THANKS TODO \ - $PKG/usr/doc/$PKGNAM-$VERSION - -# If there's a ChangeLog, installing at least part of the recent history -# is useful, but don't let it get totally out of control: -if [ -r ChangeLog ]; then - DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION) - cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog - touch -r ChangeLog $DOCSDIR/ChangeLog -fi + AUTHORS* ChangeLog Changes COPYING* NEWS* README* \ + $PKG/usr/doc/${PKGNAM}-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/xap/xsnow/xsnow.url b/source/xap/xsnow/xsnow.url new file mode 100644 index 000000000..2f6285fcc --- /dev/null +++ b/source/xap/xsnow/xsnow.url @@ -0,0 +1 @@ +https://sourceforge.net/projects/xsnow/files/ diff --git a/source/xfce/xfce4-screensaver/clarify-desc-in-xfce-settings.patch b/source/xfce/xfce4-screensaver/clarify-desc-in-xfce-settings.patch new file mode 100644 index 000000000..a411b16c5 --- /dev/null +++ b/source/xfce/xfce4-screensaver/clarify-desc-in-xfce-settings.patch @@ -0,0 +1,12 @@ +diff -Nur xfce4-screensaver-0.1.11.orig/data/xfce4-screensaver-preferences.desktop.in xfce4-screensaver-0.1.11/data/xfce4-screensaver-preferences.desktop.in +--- xfce4-screensaver-0.1.11.orig/data/xfce4-screensaver-preferences.desktop.in 2020-11-07 06:53:45.000000000 -0600 ++++ xfce4-screensaver-0.1.11/data/xfce4-screensaver-preferences.desktop.in 2020-12-15 20:16:14.521788731 -0600 +@@ -1,6 +1,6 @@ + [Desktop Entry] +-_Name=Screensaver +-_Comment=Set your screensaver preferences ++_Name=xfce4-screensaver ++_Comment=Set your xfce4-screensaver preferences + Icon=org.xfce.ScreenSaver + Exec=xfce4-screensaver-preferences + Terminal=false diff --git a/source/xfce/xfce4-screensaver/xfce4-screensaver.SlackBuild b/source/xfce/xfce4-screensaver/xfce4-screensaver.SlackBuild index 22165e39f..80bc42657 100755 --- a/source/xfce/xfce4-screensaver/xfce4-screensaver.SlackBuild +++ b/source/xfce/xfce4-screensaver/xfce4-screensaver.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xfce4-screensaver VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -82,6 +82,9 @@ find . \ # Revert this one: https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/66 zcat $CWD/0001-Catch-gs_listener_dbus_init-failures.patch.gz | patch -p1 -R || exit 1 +# Clarify description in Xfce Settings menu +zcat $CWD/clarify-desc-in-xfce-settings.patch.gz | patch -p1 --verbose || exit 1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -141,7 +144,6 @@ fi mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz diff --git a/source/xfce/xfce4-session/use-xfss-by-default-in-xfce.patch b/source/xfce/xfce4-session/use-xfss-by-default-in-xfce.patch new file mode 100644 index 000000000..ce73c10f1 --- /dev/null +++ b/source/xfce/xfce4-session/use-xfss-by-default-in-xfce.patch @@ -0,0 +1,12 @@ +diff -Nur xfce4-session-4.14.2.orig/settings/xfce4-session.xml xfce4-session-4.14.2/settings/xfce4-session.xml +--- xfce4-session-4.14.2.orig/settings/xfce4-session.xml 2019-07-25 17:33:25.000000000 -0500 ++++ xfce4-session-4.14.2/settings/xfce4-session.xml 2020-12-15 20:27:10.194758457 -0600 +@@ -3,7 +3,7 @@ + <channel name="xfce4-session" version="1.0"> + <property name="general" type="empty"> + <property name="FailsafeSessionName" type="string" value="Failsafe"/> +- <property name="LockCommand" type="string" value=""/> ++ <property name="LockCommand" type="string" value="/usr/bin/xfce4-screensaver-command --lock"/> + </property> + <property name="sessions" type="empty"> + <property name="Failsafe" type="empty"> diff --git a/source/xfce/xfce4-session/xfce4-session.SlackBuild b/source/xfce/xfce4-session/xfce4-session.SlackBuild index 51578b8e4..7a3598f3f 100755 --- a/source/xfce/xfce4-session/xfce4-session.SlackBuild +++ b/source/xfce/xfce4-session/xfce4-session.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xfce4-session VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: MARCH=$( uname -m ) @@ -80,6 +80,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +zcat $CWD/use-xfss-by-default-in-xfce.patch.gz | patch -p1 --verbose || exit 1 + # Configure: CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -96,6 +98,10 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +# Don't ship the xscreensaver autostart file: +rm -f $PKG/etc/xdg/autostart/xscreensaver.desktop +rmdir --parents $PKG/etc/xdg/autostart/ + # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la |