Package Details: spectrwm-git 3.4.1.r19.g63b9ae4-1

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

Latest Comments

Geweldig commented on 2021-02-12 23:42 (UTC) (edited on 2021-05-13 10:54 (UTC) by Geweldig)

Does not build in a chroot as of (at least) 2021-02-13:

install: cannot stat 'LICENSE': No such file or directory

It works fine when building with makepkg -si though.

Edit 2021-05-13: Changing cd ../.. to cd "$srcdir" in the pkgbuild fixes the build in a chroot. This is also how it is done in the pkgbuild for spectrwm itself.

quite commented on 2016-11-28 05:21 (UTC)

Not building, project moved to github

<deleted-account> commented on 2013-04-06 05:05 (UTC)

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");

<deleted-account> commented on 2012-07-20 22:34 (UTC)

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

<deleted-account> commented on 2012-07-20 22:31 (UTC)

New deps for git: depends=('dmenu' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms' 'libxft' 'profont')

keenerd commented on 2012-02-18 04:15 (UTC)

ScrotWM is now SpectrWM.

<deleted-account> commented on 2011-11-02 04:37 (UTC)

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