Search Criteria
Package Details: spectrwm-git 20161209-1
Git Clone URL: | https://aur.archlinux.org/spectrwm-git.git (read-only, click to copy) |
---|---|
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: | |
Conflicts: | |
Provides: | |
Replaces: | |
Submitter: | keenerd |
Maintainer: | keenerd |
Last Packager: | keenerd |
Votes: | 17 |
Popularity: | 0.076967 |
First Submitted: | 2012-02-18 04:13 |
Last Updated: | 2017-01-09 16:36 |
Dependencies (12)
- dmenu (dmenu-xft-wxy-mouse, dmenu-pango-imlib, dmenu-ee-git, dmenu-git, rofi-dmenu, dmenux-git, dmenu-xyw-mouse-msel, dmenu-mouse-geometry, bemenu-dmenu, dmenu-baitinq-git, dmenu-wayland-git, dmenu-xft-mouse-height-fuzzy-history, dmenu-ekollof-git, dmenu-duncan-git, dmenu-ziro-git, dmenu-tiyn-git, dmenu-term, dmenu2, dmenu-oakszyjrnrdy, dmenu-jacob-git, dmenu-vus-git, dmenu-distrotube-git, dmenu-height, dmenu-dchaovii-git, dmenu-rs-git, dmenu-rs, dmenu-josemapt-git, dmenu-vojvoda-git, dmenu-abdellatif, dmenu-jadecell-git, dmenu-bbaovanc-git, instamenu, dmenu-randoragon-git)
- libxcursor (libxcursor-git)
- libxft (libxft-bgra, libxft-bgra-git)
- libxrandr (libxrandr-git)
- terminus-font (terminus-cyrillic, terminus-font-ll2-td1, terminus-font-ll2, terminus-font-ll2-td1-dv1-ij1, terminus-font-gq2-ll2-td1, terminus-font-td1)
- xcb-util
- xcb-util-keysyms
- xcb-util-wm
- git (git-git) (make)
- libxt (make)
- scrot (scrot-no-beep, scrot-slabua-git) (optional) – screenshots
- xlockmore (xlockmore-blank, xlockmore-nomotif) (optional) – screenlocking
Latest Comments
quite commented on 2016-11-28 05:21
Not building, project moved to github
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'