diff options
author | Damian Perticone <mjolnirdam@gmail.com> | 2022-10-24 01:03:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-10-29 10:28:35 +0700 |
commit | 82576ba4e430f6ec7c69a279bf00ad714e0aa252 (patch) | |
tree | 82bef425c6d9b587f3e844742488f8e1653c8893 /desktop/leftwm | |
parent | 7b009430b4a5a26c7d56202619dce3ac5a56d969 (diff) | |
download | slackbuilds-82576ba4e430f6ec7c69a279bf00ad714e0aa252.tar.gz |
desktop/leftwm: Added (tiling windows written in Rust)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/leftwm')
-rw-r--r-- | desktop/leftwm/README | 8 | ||||
-rw-r--r-- | desktop/leftwm/leftwm.SlackBuild | 182 | ||||
-rw-r--r-- | desktop/leftwm/leftwm.info | 288 | ||||
-rw-r--r-- | desktop/leftwm/slack-desc | 19 | ||||
-rw-r--r-- | desktop/leftwm/xinitrc.leftwm | 19 |
5 files changed, 516 insertions, 0 deletions
diff --git a/desktop/leftwm/README b/desktop/leftwm/README new file mode 100644 index 0000000000..6e667d29d5 --- /dev/null +++ b/desktop/leftwm/README @@ -0,0 +1,8 @@ +LeftWM is a tiling window manager written in Rust that aims to be stable +and performant. LeftWM is designed to do one thing and to do that one +thing well: be a window manager. LeftWM follows the following mantra: +LeftWM is not a compositor. +LeftWM is not a lock screen. +LeftWM is not a bar. +To build this you need at least Rust version 1.59, use +extra/rust-for-mozilla version 1.60 or higher. diff --git a/desktop/leftwm/leftwm.SlackBuild b/desktop/leftwm/leftwm.SlackBuild new file mode 100644 index 0000000000..9098f37170 --- /dev/null +++ b/desktop/leftwm/leftwm.SlackBuild @@ -0,0 +1,182 @@ +#!/bin/bash + +# Slackware build script for leftwm + +# Copyright 2022 Damian Perticone, Berisso, Argentina +# 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) + +PRGNAM=leftwm +VERSION=${VERSION:-0.4.0} +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 + + if [ "$ARCH" = "i586" ]; then + if rustc -Vv | grep host | grep i686 > /dev/null ; then + ARCH=i686 + fi + fi +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 "$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="" + CARGOTARGET="--target i586-unknown-linux-gnu" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" + CARGOTARGET="--target i686-unknown-linux-gnu" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + CARGOTARGET="--target x86_64-unknown-linux-gnu" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + CARGOTARGET="" +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 + +# build offline +# configuration tells cargo to use the configured directory +# for dependencies intead of downloading from crates.io +mkdir .cargo +cat << EOF >> .cargo/config +[source.crates-io] +registry = 'https://github.com/rust-lang/crates.io-index' +replace-with = 'vendored-sources' + +[source.vendored-sources] +directory = '$(pwd)/vendor' +EOF + +# deps and versions come from Cargo.lock +mkdir vendor +( + cd vendor + + grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \ + sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \ + awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \ + grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do + + ver="$(printf "%s\n" "$dep" | cut -d= -f2)" + dep="$(printf "%s\n" "$dep" | cut -d= -f1)" + + tar xvf $CWD/$dep-$ver.crate + + touch $dep-$ver/.cargo-ok + + # generate checksum + { + printf "{\n" + printf ' "files": {\n' + + ( + cd $dep-$ver + find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/' + ) | sed '$ s/,$//' + + printf " },\n" + printf ' "package": "' + + sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/' + + printf "}\n" + } > $dep-$ver/.cargo-checksum.json + done +) + +sed -i '/strip =/d' Cargo.toml + +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 {} \; + +CARGO_HOME=.cargo \ +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +cargo build --release --no-default-features --features=lefthk,sys-log $CARGOTARGET + +mkdir -p $PKG/usr/bin + +find target -name leftwm -exec install -m 755 {} $PKG/usr/bin/leftwm \; +find target -name leftwm-worker -exec install -m 755 {} $PKG/usr/bin/leftwm-worker \; +find target -name lefthk-worker -exec install -m 755 {} $PKG/usr/bin/lefthk-worker \; +find target -name leftwm-state -exec install -m 755 {} $PKG/usr/bin/leftwm-state \; +find target -name leftwm-check -exec install -m 755 {} $PKG/usr/bin/leftwm-check \; +find target -name leftwm-command -exec install -m 755 {} $PKG/usr/bin/leftwm-command \; +install -Dm644 leftwm/doc/leftwm.1 $PKG/usr/man/man1/leftwm.1 +install -Dm644 leftwm.desktop $PKG/usr/share/xsessions/leftwm.desktop +mkdir -p $PKG/usr/share/leftwm +cp -R themes/* $PKG/usr/share/leftwm +rm $PKG/usr/share/leftwm/README.md + +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 + +mkdir -p $PKG/etc/X11/xinit +cat $CWD/xinitrc.leftwm > $PKG/etc/X11/xinit/xinitrc.leftwm +chmod 0755 $PKG/etc/X11/xinit/xinitrc.leftwm + +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/$PRGNAM-$VERSION +cp -a CHANGELOG CONTRIBUTING.md LICENSE.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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/leftwm/leftwm.info b/desktop/leftwm/leftwm.info new file mode 100644 index 0000000000..d459b3203c --- /dev/null +++ b/desktop/leftwm/leftwm.info @@ -0,0 +1,288 @@ +PRGNAM="leftwm" +VERSION="0.4.0" +HOMEPAGE="http://leftwm.org" +DOWNLOAD="https://github.com/leftwm/leftwm/archive/0.4.0/leftwm-0.4.0.tar.gz \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.7.19.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi_term/ansi_term-0.12.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/anyhow/anyhow-1.0.65.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/anymap2/anymap2-0.13.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/base64/base64-0.13.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.3.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/block-buffer/block-buffer-0.10.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bytes/bytes-1.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.73.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-1.0.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-3.2.22.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/clap_lex/clap_lex-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/const_format/const_format-0.2.26.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/const_format_proc_macros/const_format_proc_macros-0.2.22.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cpufeatures/cpufeatures-0.2.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-channel/crossbeam-channel-0.5.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crossbeam-utils/crossbeam-utils-0.8.12.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/crypto-common/crypto-common-0.1.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/digest/digest-0.10.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dirs-next/dirs-next-2.0.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dirs-sys-next/dirs-sys-next-0.1.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dirs-sys/dirs-sys-0.3.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dirs/dirs-4.0.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/doc-comment/doc-comment-0.3.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/either/either-1.8.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/fastrand/fastrand-1.8.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-channel/futures-channel-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-core/futures-core-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-executor/futures-executor-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-io/futures-io-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-macro/futures-macro-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-sink/futures-sink-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-task/futures-task-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-util/futures-util-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures/futures-0.3.24.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/generic-array/generic-array-0.14.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.2.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/git-version-macro/git-version-macro-0.3.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/git-version/git-version-0.3.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/hashbrown/hashbrown-0.12.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.19.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/indexmap/indexmap-1.9.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/instant/instant-0.1.12.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/itertools/itertools-0.10.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/itoa/itoa-1.0.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/kstring/kstring-1.0.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/lefthk-core/lefthk-core-0.1.8.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.134.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/liquid-core/liquid-core-0.24.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/liquid-derive/liquid-derive-0.24.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/liquid-lib/liquid-lib-0.24.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/liquid/liquid-0.24.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.17.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/matchers/matchers-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.5.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/memoffset/memoffset-0.6.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.8.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/nix/nix-0.23.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-traits/num-traits-0.2.15.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num_cpus/num_cpus-1.13.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num_threads/num_threads-0.1.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/once_cell/once_cell-1.15.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/os_str_bytes/os_str_bytes-6.3.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/percent-encoding/percent-encoding-2.2.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pest/pest-2.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pest_derive/pest_derive-2.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pest_generator/pest_generator-2.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pest_meta/pest_meta-2.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.2.9.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.25.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-hack/proc-macro-hack-0.5.19.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.46.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-quote-impl/proc-quote-impl-0.3.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-quote/proc-quote-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.21.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.2.16.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_users/redox_users-0.4.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-automata/regex-automata-0.1.10.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-syntax/regex-syntax-0.6.27.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/regex/regex-1.6.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/remove_dir_all/remove_dir_all-0.5.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ron/ron-0.7.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.11.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.145.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.145.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_json/serde_json-1.0.85.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/sha1/sha1-0.10.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/sharded-slab/sharded-slab-0.1.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/shellexpand/shellexpand-2.1.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/signal-hook-registry/signal-hook-registry-1.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/signal-hook/signal-hook-0.3.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/smallvec/smallvec-1.9.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/socket2/socket2-0.4.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.10.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.101.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/syslog-tracing/syslog-tracing-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tempfile/tempfile-3.3.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/termcolor/termcolor-1.1.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.15.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror-impl/thiserror-impl-1.0.37.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror/thiserror-1.0.37.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/thread_local/thread_local-1.1.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/time-macros/time-macros-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.3.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio-macros/tokio-macros-1.8.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-1.21.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/toml/toml-0.5.9.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-appender/tracing-appender-0.2.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-attributes/tracing-attributes-0.1.22.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-core/tracing-core-0.1.29.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-journald/tracing-journald-0.3.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-log/tracing-log-0.1.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing-subscriber/tracing-subscriber-0.3.15.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tracing/tracing-0.1.36.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/typenum/typenum-1.15.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ucd-trie/ucd-trie-0.1.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-ident/unicode-ident-1.0.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-segmentation/unicode-segmentation-1.10.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/valuable/valuable-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-util/winapi-util-0.1.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/windows-sys/windows-sys-0.36.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.36.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/windows_i686_gnu/windows_i686_gnu-0.36.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/windows_i686_msvc/windows_i686_msvc-0.36.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.36.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.36.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/x11-dl/x11-dl-2.20.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/xdg/xdg-2.4.1.crate" +MD5SUM="66853e1ed5c9d07e139aa41024ac6ce2 \ + d67bff45f921eea8a4a4890cddf70e6c \ + f44e8d1d2e61974b268852797530ea41 \ + cd5a890205536eea1cf2b0509bbec3e5 \ + 20314e62290189c6e50f9636ef9c38df \ + 142cb4b9a653e56e56311f0c883b8582 \ + 05d77ef52e90ad161fdd41b252420467 \ + 80a2c27647a6acb1890a3a7de8fded72 \ + a295edb6953237ebbdfa8e731229f9a3 \ + 7caa371ca22e7a14288920a69c081d40 \ + 91d4b2bb0c615a1ed359967b054dd61a \ + 8e3a4d0980acef2c4e74485a45de29a9 \ + 74634128440dbc3766bda76fdf0aaa05 \ + 93e15a5ac07c68393778ab34b90e7d69 \ + a2e1b64489b6bdae548ec08f883eaecf \ + 936bad7cc2473e72fc4e14ad538a6b1c \ + 4c0cb3649af2b0096a98837f7a6fd500 \ + ebdc1f779823eaad615501b1cd3822b1 \ + 0324dfd2b4384ae8c82433bd0efdabf8 \ + 5dc694071fea9eb300bb47b221f05373 \ + 89e88633cab0e4b6f3d3878b84dffe8b \ + ebf95279270dfefc495cdf5192faaf4c \ + 3681f813c502d911e9eea940dddd26a5 \ + 056c8d712ee146347c412b72f4077b2f \ + 4c21da37e71a52f26c8c5490f3ec4837 \ + 889fdcd1499ef5939caaafab5c09729e \ + dd1e49c76e9d5853e673a3b41ba02917 \ + 212574e303e85b9101f495e021eb701b \ + d59e1fe9834d52c50e2414a34945e479 \ + ce2321226f452f0d36081b0f6e0f1f81 \ + 0e9735c4bc1f35deca4b5eb9d5d176cb \ + 4bee98e2dd9cb723c8c789100ac49fde \ + 30a5b0a5a593d691c6ce95b9f62fe9ba \ + 9834078714b56fd29ab1ae58980e0cd9 \ + 9857467d81492e9d6460e0438ed2c842 \ + f379edcefa876d212b85e7dbc46f38ac \ + def4e278d6d6a8de6cc56da9dcae407a \ + 1f047618dfbdce29aabbc00084a9df83 \ + e3480971fb7f7462149056fd70df74e2 \ + 62864db03072aaae4f855126d502b8c7 \ + d3542acfb5b79eaebf094e2b0f230a59 \ + 29103474523337dbad13204c224e8af5 \ + 1b41b97d982520b7364a87a39e2a1ed8 \ + 0b7994d1256215201bdfb810a357ffa2 \ + 9473c008d472707d1aa3273d7cbabb96 \ + 5f153f7135dceb02f88266121c836b4e \ + 20b9f5d97aaf06b0f580f12860b67ba8 \ + 7cb502e78aa72a02fffa9d954f7d4dfa \ + 60c0e58963f94811437412d98e7bb530 \ + fba3b040a55c01be7376d3dd5c4d4920 \ + 3b43a4a3dec8f91ad53596442cef72bd \ + 906dbb2baf63d05371775a545bb4e980 \ + 71b86d15ada312afe26a994f67ffa564 \ + 527bad0707e4e3f7018819c6a2cf8bb4 \ + 6ff1ed13c64340a806eaaec9564380af \ + 1013de00b3295ad0df045a297597b3b5 \ + b31bf94ffe7e0f2ada93afae1076eaeb \ + 29614f150859d094548bed37e78f586b \ + 94b8bf179385ff071bdc33b58bf047c0 \ + 76124c2327f642cddf19a4aa50cbcb7d \ + c000987eefc279a40c38c8f90f70af6f \ + 675fcfdbc94cd10b26b71965d3c3807b \ + a0de6eabdeb1320350abcbd7c02df6ac \ + c5e50e299295e662ad19c58428d6e085 \ + ae2471729f689287aec9da43f8106a4b \ + 81bd380ba31052f9c84f5e71e8c0ee52 \ + 64de3398e82ebbe60ed771948179d375 \ + c7ce684666ac9c76223b1a0a5034ce99 \ + d67c8854f85a6b085e9a102ae9b7ad53 \ + d0a077365a54e72ed54f020ddaff76c7 \ + e8635cd58c513f0c80e1db937849e05c \ + 63956b7aae415319e3d7a98e6a7d27b9 \ + ce6dde2ea2691fdd97632fb8c9b3e042 \ + 07c75fec267864bcbb800ca7709ceae2 \ + b478ee84018082806ea8da763f0b3f1f \ + c7c38eb603bed6f42edbc4294806a44a \ + ebdf8b160c0945f25087762c9de2a3ff \ + 728f01d21163a134203953e29e6c6bee \ + addf39511919680d720bb64f7f3cd86c \ + 1de20a0fc1cfdf5e332cbdb2e0899a2b \ + 16111f31a29feae4ce4a324b83dc0189 \ + 2793ed3e6807d79ff72271baec586531 \ + 95f4b6766a27d814b4e54d1ccb3b7fc9 \ + eae2f2a5c23013ff8849962c49844095 \ + 91b6b40d2d4c43ea78a8fa15b6b9b3d7 \ + 0538d1da369f3e3f0412aa4d735c1b61 \ + c6405a9cf543fbff4bd6bf24c85ac575 \ + 20e127104e602f7766746289ffd23c67 \ + 6c640cd30f0be008a9ccba6ed9aa54ff \ + 2dcacb315b91ced913b68b69584622ad \ + 8033d8942c141f80e2b9ad697a4b847a \ + 602d4f1e2fe53f870b70e83c8cee49db \ + aea6e994efc417ef3e4b6de03255b64d \ + acae3d5b95bce9dff5caa5be4ac8641c \ + 21b43d5721b3a9c16059acb691f4314d \ + 8532a59ccbacb95018a128b2d7b2601a \ + 9b7ebf6b588afaad70bf48a742973a30 \ + f087a0412ec128b8a1a19460ae7aaf7a \ + 362eebacce3b2c9204fdef6d1c04d757 \ + 82d98dc87dc8503400aa095f5aa70f13 \ + c978ad817df6ddd1969d863c1bb56939 \ + feff76deeab2da1c36b6d3d8bf4751c9 \ + f29a1bb1b5f3f29cedb36f40f720d765 \ + 40ce77bc7803d0ff8734f6a11c4e8814 \ + e35a9158fcb2c35183dde4ce83f39bfb \ + 1688ae2cb59368d0b35c9913ebc06dad \ + a1fa70e992507a9d15a30b054b07591a \ + d03f75b223b8c2a58c73971ec0227fc0 \ + 1810b2a2299ed5a2434da7926161fbd4 \ + 7de3c191486a92a2becbbdbf80a8ed8e \ + 45273943465d6fc2a3f8bf282460508a \ + 1024839cb24a2ec4af860cb73259c43b \ + b02f8aae39609bfe759838fbe0616c1a \ + 9014f820a12e8d071a961a17f1922cf2 \ + f5e4d58e07be644002edb30f6a3d21ed \ + e5dbc8725f73e547dda26f1cdc5919fc \ + c46b97d5aac95cec07b46a285f216dc6 \ + 96f07664354435a127662981676765dd \ + 3e320b8182c80c03b30b9188dac5facd \ + 37d3f688f1926d0c87ce801137eec432 \ + 7b38b145ae3f6d7d09a1a7a98396f1a2 \ + 11ad59bd731103e90d688afc5f35271b \ + c12056f5fc11f0d69b92b1d1d4799c80 \ + 1bee40619dc49044e9691164d7182a2a \ + 1fcc5c68ddd2899481f89c74a6f35ea6 \ + 4efc6e7a118524cecefa0023a18accf7 \ + d18d362345c4fe512ef67b738b239fb8 \ + e972ea58ec203bfa6c79c1207852298b \ + db96b50050277bf05a3c68534bbb9586 \ + b9e37d5fc4ad28b612b78ad37816684d \ + 09de9d01e7331ff3da11f58be8bef0df \ + 0498c4a11448bfc35dc7bb2caa64c753 \ + b3083009944ab58cbd9c4941f4965545 \ + 776128629d743f0d6127db259a0d8844 \ + 7f60b76e78bd2a190cf3ddc2b4c4920b \ + ce798410cba61fe713f3487cd6cafef4 \ + f55176d04297df9dd5ccae7c748e26c7 \ + 8e285ddee403a9abe62d6fe2bfbb736a \ + 01ab1676916c92444595ddee85afe6ed \ + 236543796b708fd01b4087696067a225" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="%README%" +MAINTAINER="Damian Perticone" +EMAIL="mjolnirdam@gmail.com" diff --git a/desktop/leftwm/slack-desc b/desktop/leftwm/slack-desc new file mode 100644 index 0000000000..d32eb5c5d2 --- /dev/null +++ b/desktop/leftwm/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------------------------------------------------------| +leftwm: leftwm (tiling windows written in Rust) +leftwm: +leftwm: Leftwm is a tiling windows written in Rust that aims to be stable +leftwm: and performant +leftwm: +leftwm: +leftwm: +leftwm: +leftwm: +leftwm: Home: http://leftwm.org +leftwm: diff --git a/desktop/leftwm/xinitrc.leftwm b/desktop/leftwm/xinitrc.leftwm new file mode 100644 index 0000000000..bff5e02de1 --- /dev/null +++ b/desktop/leftwm/xinitrc.leftwm @@ -0,0 +1,19 @@ +#!/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 ] && xrdb -merge $sysresources +[ -f $sysmodmap ] && xmodmap $sysmodmap +[ -f $userresources ] && xrdb -merge $userresources +[ -f $usermodmap ] && xmodmap $usermodmap + +# Start the window manager: +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + ck-launch-session dbus-launch --exit-with-session leftwm +else + leftwm +fi |