Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions OVERLAY/desktop/pekwm/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The Pek Window Manager is a lightweight window manager with tabs,
based on aewm++.

- grouping windows in a single frame (tabbed windows);
- keychains (multi-level keybindings);
- mouse actions;
- root- and window-menus and keybindings for all menus;
- dynamic menus that regenerate on every view from a script output;
- multi-screen support via both XRandR and Xinerama;
- support for window placement;
- theming support with images, shaping and configurable buttons.
3 changes: 3 additions & 0 deletions OVERLAY/desktop/pekwm/doinst.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
118 changes: 118 additions & 0 deletions OVERLAY/desktop/pekwm/pekwm.SlackBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#!/bin/bash

# Slackware build script for pekwm

# Copyright 2012 Eugene Suter, <easuter at gmail dot com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Modified by Eugene M., <damagedone at gmx dot com>

cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=pekwm
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi

if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi

TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..

rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la

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

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

find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS INSTALL LICENSE NEWS.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

install -Dm0755 $CWD/xinitrc.pekwm $PKG/etc/X11/xinit/xinitrc.pekwm
install -Dm0644 $CWD/pekwm.desktop $PKG/usr/share/applications/pekwm.desktop

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
6 changes: 6 additions & 0 deletions OVERLAY/desktop/pekwm/pekwm.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=PekWM
Comment= Lightweight window manager
Exec=/usr/bin/pekwm
Type=XSession
10 changes: 10 additions & 0 deletions OVERLAY/desktop/pekwm/pekwm.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PRGNAM="pekwm"
VERSION="0.4.2"
HOMEPAGE="https://www.pekwm.se"
DOWNLOAD="https://www.pekwm.se/pekwm/uv/pekwm-0.4.2.tar.gz"
MD5SUM="1b32b8beed19dc8f38a9900ac1bedc3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Eugene M."
EMAIL="damagedone@gmx.com"
19 changes: 19 additions & 0 deletions OVERLAY/desktop/pekwm/slack-desc
Original file line number Diff line number Diff line change
@@ -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 ':' except on otherwise blank lines.

|-----handy-ruler------------------------------------------------------|
pekwm: pekwm (Lightweight window manager for X)
pekwm:
pekwm: The code is based on aewm++ wm, but it has evolved enough that it no
pekwm: longer resembles aewm++ at all. It also has an expanded feature-set,
pekwm: including window grouping, auto properties, xinerama and keygrabber
pekwm: that supports keychains, and much more.
pekwm:
pekwm:
pekwm:
pekwm:
pekwm:
35 changes: 35 additions & 0 deletions OVERLAY/desktop/pekwm/xinitrc.pekwm
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap

# Start DBUS session bus:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --sh-syntax --exit-with-session)
fi

# Start PipeWire services if not running
if ! pgrep -xu "$USER" pipewire >/dev/null 2>&1; then
pipewire &
fi
if ! pgrep -xu "$USER" wireplumber >/dev/null 2>&1; then
wireplumber &
fi
if ! pgrep -xu "$USER" pipewire-pulse >/dev/null 2>&1; then
pipewire-pulse &
fi

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/pekwm
else
exec /usr/bin/pekwm
fi
8 changes: 8 additions & 0 deletions OVERLAY/graphics/feh/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
feh (image viewer)

feh is an image viewer at heart, though it does other cool stuff.
feh features include simple image viewing, multiple image viewing
(slideshow), multiple image viewing in multiwindows, image viewing
in fullscreen, image list mode, loadable/unloadable listing,
recursive file opening, saving/loading filelists, loading images
via http, reloading after delay, montage creation, and more.
9 changes: 9 additions & 0 deletions OVERLAY/graphics/feh/doinst.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/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
120 changes: 120 additions & 0 deletions OVERLAY/graphics/feh/feh.SlackBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
#!/bin/bash

# Slackware build script for feh

# Copyright 2006-2009 Chess Griffin
# Copyright 2011-2012 Grigorios Bouzakis
# Copyright 2014-2015 Luka Novsak
# Copyright 2017-2021 Hunter Sezen
# Copyright 2024 B. Watson <urchlay@slackware.uk>
# Copyright 2024 Lumin Etherlight <lumin+slackbuilds@etherlight.link>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
# with or without fee is hereby granted, provided that the above copyright
# notice and this permission notice appear in all copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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
# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS 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.

# 20240916 lumin:
# - new maintainer
# 20240903 bkw:
# - new maintainer
# - update for v3.10.3
# - build with all useful options enabled, instead of having 4
# separate environment vars.
# - add rest of docs to doc dir.

cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=feh
VERSION=${VERSION:-3.11.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi

if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi

TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
else
SLKCFLAGS="-O2"
fi

set -eu

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
chmod 0755 $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +

CFLAGS="$SLKCFLAGS -D_GNU_SOURCE" \
make \
PREFIX=/usr \
curl=1 \
debug=1 \
exif=1 \
help=1 \
inotify=1 \
stat64=1 \
magic=1 \
mkstemps=1 \
verscmp=0 \
xinerama=1

strip src/feh

make install \
DESTDIR=$PKG \
PREFIX=/usr \
man_dir=$PKG/usr/man \
doc_dir=$PKG/usr/doc/$PRGNAM-$VERSION \
example_dir=$PKG/usr/doc/$PRGNAM-$VERSION/examples

gzip -9 $PKG/usr/man/man*/*

PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a AUTHORS COPYING ChangeLog README.md TODO $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
10 changes: 10 additions & 0 deletions OVERLAY/graphics/feh/feh.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PRGNAM="feh"
VERSION="3.11.2"
HOMEPAGE="https://feh.finalrewind.org"
DOWNLOAD="https://feh.finalrewind.org/feh-3.11.2.tar.bz2"
MD5SUM="f40ae1685173e1f9a4376953bb8b8180"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
MAINTAINER="Lumin Etherlight"
EMAIL="lumin+slackbuilds@etherlight.link"
19 changes: 19 additions & 0 deletions OVERLAY/graphics/feh/slack-desc
Original file line number Diff line number Diff line change
@@ -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 ':' except on otherwise blank lines.

|-----handy-ruler------------------------------------------------------|
feh: feh (image viewer)
feh:
feh: feh is an image viewer at heart, though it does other cool stuff.
feh: feh features include simple image viewing, multiple image viewing
feh: (slideshow), multiple image viewing in multiwindows, image viewing
feh: in fullscreen, image list mode, loadable/unloadable listing,
feh: recursive file opening, saving/loading filelists, loading images
feh: via http, reloading after delay, montage creation, and more.
feh:
feh: Homepage: https://feh.finalrewind.org
feh:
2 changes: 2 additions & 0 deletions OVERLAY/system/qemu/65-kvm.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
KERNEL=="kvm", GROUP="@GROUP@", MODE="0660"
KERNEL=="vhost-net", GROUP="@GROUP@", MODE="0660"
Loading