Package Details: spectrwm-git 20140826-1

Git Clone URL: https://aur.archlinux.org/spectrwm-git.git (read-only)
Package Base: spectrwm-git
Description: A minimalistic dynamic tiling window manager that tries to stay out of the way.
Upstream URL: http://www.spectrwm.org
Licenses: custom:ISC
Conflicts: scrotwm, spectrwm
Provides: scrotwm, spectrwm
Replaces: scrotwm
Submitter: keenerd
Maintainer: keenerd
Last Packager: keenerd
Votes: 16
Popularity: 0.098918
First Submitted: 2012-02-18 04:13
Last Updated: 2015-06-13 04:29

Latest Comments

bidulock commented on 2014-09-05 04:19

Ignore that last, I was still on old PKGBUILD.,,

bidulock commented on 2014-09-05 04:16

Here is a PKGBUILD that works based on your community PKGBUILD:

https://gist.github.com/bbidulock/aa4f9a55bfcf7f0e99fb#file-pkgbuild-spectrwm-git

bidulock commented on 2014-08-29 05:07

no longer builds

Anonymous comment on 2013-04-06 05:05

Drop the libswmhack.so.
In PKGBUILD
#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"


diff --git a/linux/Makefile b/linux/Makefile
index 709fd82..4330498 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -1,5 +1,5 @@
CFLAGS+= -std=c99 -Wall -Wextra -Wmissing-prototypes -Wshadow -g -D_GNU_SOURCE -I. -I/usr/include/freetype2
-CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
+#CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor

PREFIX?= /usr/local
@@ -16,7 +16,7 @@ ifneq ("${BUILDVERSION}", "")
CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
endif

-all: spectrwm libswmhack.so.$(LVERS)
+all: spectrwm

spectrwm.c:
ln -sf ../spectrwm.c
@@ -31,15 +31,15 @@ spectrwm: spectrwm.o linux.o
%.so: %.c
$(CC) $(CFLAGS) -c -fpic -DPIC $+ -o $@

-libswmhack.so.$(LVERS): swm_hack.so
- $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)
+#libswmhack.so.$(LVERS): swm_hack.so
+# $(CC) -shared -fpic -o libswmhack.so.$(LVERS) swm_hack.so $(LDADD)

install: all
install -m 755 -d $(DESTDIR)$(BINDIR)
install -m 755 -d $(DESTDIR)$(LIBDIR)
install -m 755 -d $(DESTDIR)$(MANDIR)/man1
install -m 755 spectrwm $(DESTDIR)$(BINDIR)
- install -m 755 libswmhack.so.$(LVERS) $(DESTDIR)$(LIBDIR)
+ #install -m 755 libswmhack.so.$(LVERS) $(DESTDIR)$(LIBDIR)
install -m 644 ../spectrwm.1 $(DESTDIR)$(MANDIR)/man1/spectrwm.1
install -m 644 ../spectrwm_es.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_es.1
install -m 644 ../spectrwm_it.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_it.1
diff --git a/spectrwm.c b/spectrwm.c
index 1e20562..52b25ef 100644
--- a/spectrwm.c
+++ b/spectrwm.c
@@ -260,9 +260,11 @@ u_int32_t swm_debug = 0
#define SWM_CONF_DEFAULT (0)
#define SWM_CONF_KEYMAPPING (1)

+/*
#ifndef SWM_LIB
#define SWM_LIB "libswmhack.so"
#endif
+*/

char **start_argv;
xcb_atom_t a_state;
@@ -3047,7 +3049,7 @@ spawn(int ws_idx, union arg *args, int close_fd)

close(xcb_get_file_descriptor(conn));

- setenv("LD_PRELOAD", SWM_LIB, 1);
+ /*setenv("LD_PRELOAD", SWM_LIB, 1);*/

if (asprintf(&ret, "%d", ws_idx) == -1) {
warn("spawn: asprintf SWM_WS");


Anonymous comment on 2012-07-20 22:34

Also, please change:
ln -s ../version.h version.h

to

ln -sf ../version.h version.h

Anonymous comment on 2012-07-20 22:31

New deps for git:

depends=('dmenu' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms' 'libxft' 'profont')

keenerd commented on 2012-02-18 04:15

ScrotWM is now SpectrWM.

Anonymous comment on 2011-11-02 04:37

keenerd: in PKGBUILD package(), scrotwm.desktop is not found. Suggest placing the install line right after 'make install' to install 'scrotwm/linux/scrotwm.desktop'