summaryrefslogtreecommitdiff
path: root/libre/spectrwm-libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 03:37:58 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 03:37:58 +0000
commit86a5624291a8a72d9a0a2c51fcc64bf6e221524b (patch)
treee585f1910631fdca9c14bc3127c269c8005c838e /libre/spectrwm-libre
parentb6ad8075baf858359209aa7f1af82a143dcc0c80 (diff)
Fri Feb 14 03:35:43 UTC 2014
Diffstat (limited to 'libre/spectrwm-libre')
-rw-r--r--libre/spectrwm-libre/PKGBUILD77
-rw-r--r--libre/spectrwm-libre/spectrwm-no-preload2
-rw-r--r--libre/spectrwm-libre/swmhack_path.patch27
3 files changed, 0 insertions, 106 deletions
diff --git a/libre/spectrwm-libre/PKGBUILD b/libre/spectrwm-libre/PKGBUILD
deleted file mode 100644
index d7d01b498..000000000
--- a/libre/spectrwm-libre/PKGBUILD
+++ /dev/null
@@ -1,77 +0,0 @@
-# $Id: PKGBUILD 103873 2014-01-13 00:22:03Z kkeen $
-# Maintainer: Kyle Keen <keenerd@gmail.com>
-# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
-
-_pkgname=spectrwm
-pkgname=spectrwm-libre
-pkgver=2.4.0
-pkgrel=2
-pkgdesc="A minimalistic automatic tiling window manager that tries to stay out of the way, without nonfree profont support"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://www.spectrwm.org"
-_watch="https://opensource.conformal.com/snapshots/spectrwm/"
-license=('custom:ISC')
-depends=('dmenu' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms' 'libxrandr' 'libxft' 'libxcursor')
-replaces=('spectrwm' 'scrotwm')
-conflicts=('spectrwm')
-provides=("spectrwm=$pkgver")
-makedepends=('libxt')
-optdepends=('scrot: screenshots' 'xlockmore: great screenlocker' 'terminus-font: great font')
-backup=(etc/spectrwm.conf)
-source=(http://opensource.conformal.com/snapshots/$_pkgname/$_pkgname-$pkgver.tgz \
- LICENSE \
- baraction.sh \
- swmhack_path.patch \
- spectrwm-no-preload)
-md5sums=('23e32c1e292f2fc94ed88195ffe60023'
- 'a67cfe51079481e5b0eab1ad371379e3'
- '950d663692e1da56e0ac864c6c3ed80e'
- '8914dc2bef96e3587fc9317a25c1cbe8'
- '974d109ce0af39cc73936d5efd682480')
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- sed -i 's|\"/usr/local/lib/libswmhack.so\"|\"libswmhack.so\"|' spectrwm.c
- sed -i 's/verbose_layout = 0;/verbose_layout = 1;/' spectrwm.c
- sed -i 's/# modkey = Mod1/modkey = Mod4/' spectrwm.conf
- # crashes if defaults can't be found, use less massive defaults
- sed -i 's/-\*-terminus-medium-\*-\*-\*-\*/-*-profont-*-*-*-*-12/' spectrwm.conf
- #sed -i 's/# program[lock].*/program[lock] = slock/' spectrwm.conf
-
- # see spectrwm FS#403
- sed -i 's/setconfspawn("lock".*/setconfspawn("lock", "xlock", SWM_SPAWN_OPTIONAL);/' spectrwm.c
-
- # FS#37998, remove on 2.4.1
- patch -p1 -i "$srcdir/swmhack_path.patch"
-
- cd linux
- make PREFIX="/usr"
-}
-
-package() {
- cd "$srcdir/$_pkgname-$pkgver/linux"
- make PREFIX="/usr" DESTDIR="$pkgdir" install
- install -Dm644 spectrwm.desktop "$pkgdir/usr/share/xsessions/spectrwm.desktop"
- cd ..
- install -Dm644 spectrwm.conf "$pkgdir/etc/spectrwm.conf"
- install -Dm755 screenshot.sh "$pkgdir/usr/share/spectrwm/screenshot.sh"
- mkdir -p "$pkgdir/etc/spectrwm"
- cp spectrwm_*.conf "$pkgdir/etc/spectrwm/"
- cd "$srcdir"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
- install -Dm755 baraction.sh "$pkgdir/usr/share/spectrwm/baraction.sh"
- install -Dm755 spectrwm-no-preload "$pkgdir/usr/bin/spectrwm-no-preload"
-
- #ln -s /usr/lib/libswmhack.so.0.0 "$pkgdir/usr/lib/libswmhack.so.0"
- #ln -s /usr/lib/libswmhack.so.0.0 "$pkgdir/usr/lib/libswmhack.so"
-
- # fix this for real in the makefile
- rm "$pkgdir/usr/bin/scrotwm"
- ln -s "/usr/bin/spectrwm" "$pkgdir/usr/bin/scrotwm"
- mkdir -p "$pkgdir"/usr/share/man/{es,it,pt,ru}/man1/
- mv "$pkgdir/usr/share/man/man1/spectrwm_es.1" "$pkgdir/usr/share/man/es/man1/"
- mv "$pkgdir/usr/share/man/man1/spectrwm_it.1" "$pkgdir/usr/share/man/it/man1/"
- mv "$pkgdir/usr/share/man/man1/spectrwm_pt.1" "$pkgdir/usr/share/man/pt/man1/"
- mv "$pkgdir/usr/share/man/man1/spectrwm_ru.1" "$pkgdir/usr/share/man/ru/man1/"
-}
diff --git a/libre/spectrwm-libre/spectrwm-no-preload b/libre/spectrwm-libre/spectrwm-no-preload
deleted file mode 100644
index 12385eddb..000000000
--- a/libre/spectrwm-libre/spectrwm-no-preload
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec env -u LD_PRELOAD $@
diff --git a/libre/spectrwm-libre/swmhack_path.patch b/libre/spectrwm-libre/swmhack_path.patch
deleted file mode 100644
index a4f1c3cf0..000000000
--- a/libre/spectrwm-libre/swmhack_path.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/linux/Makefile b/linux/Makefile
-index 73c3d37..f48a32f 100644
---- a/linux/Makefile
-+++ b/linux/Makefile
-@@ -1,16 +1,16 @@
--CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
--CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"libswmhack.so.$(LVERS)\"
--LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
--
- PREFIX?= /usr/local
- BINDIR?= $(PREFIX)/bin
- LIBDIR?= $(PREFIX)/lib
- MANDIR?= $(PREFIX)/share/man
-
--CC?= cc
--
- LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
-
-+CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
-+CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
-+LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
-+
-+CC?= cc
-+
- BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh)
- ifneq ("${BUILDVERSION}", "")
- CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"