summaryrefslogtreecommitdiff
path: root/spectrwm
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2014-08-25 17:31:44 +0200
committerJuergen Daubert <jue@jue.li>2014-08-25 17:31:44 +0200
commit8ea8a6f82660173012455a803c068662492cb558 (patch)
treea31514cb2eb3cc02abb4f596e1e3ea674e484cd6 /spectrwm
parentf389e829425f7d4ffd511f4f364ad588624cbaf0 (diff)
downloadopt-8ea8a6f82660173012455a803c068662492cb558.tar.gz
opt-8ea8a6f82660173012455a803c068662492cb558.tar.xz
spectrwm: update to 2.6.0
Diffstat (limited to 'spectrwm')
-rw-r--r--spectrwm/.md5sum4
-rw-r--r--spectrwm/Pkgfile4
-rw-r--r--spectrwm/spectrwm-remove_libswmhack.patch69
3 files changed, 31 insertions, 46 deletions
diff --git a/spectrwm/.md5sum b/spectrwm/.md5sum
index 14ebfc6f6..16422e30f 100644
--- a/spectrwm/.md5sum
+++ b/spectrwm/.md5sum
@@ -1,2 +1,2 @@
-d9aec3342920e31cbe60f1032571043a spectrwm-2.5.1.tgz
-1d3da28ec67022021725f739f2684148 spectrwm-remove_libswmhack.patch
+278acafe23d2fa2b1d7a3705bcbe95de spectrwm-2.6.0.tgz
+4ea083ba70748fb99b37dc2b64bc1e3d spectrwm-remove_libswmhack.patch
diff --git a/spectrwm/Pkgfile b/spectrwm/Pkgfile
index 90f474ee1..98bfd187d 100644
--- a/spectrwm/Pkgfile
+++ b/spectrwm/Pkgfile
@@ -4,7 +4,7 @@
# Depends on: xorg-libxrender fontconfig xorg-xcb-util-keysyms xorg-xcb-util-wm
name=spectrwm
-version=2.5.1
+version=2.6.0
release=1
source=(https://opensource.conformal.com/snapshots/$name/$name-$version.tgz
$name-remove_libswmhack.patch)
@@ -13,6 +13,6 @@ build () {
cd $name-$version/linux
patch -p 1 -d .. -i $SRC/$name-remove_libswmhack.patch
make PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG install
- rm $PKG/usr/man/man1/spectrwm_*.1
+ rm -r $PKG/usr/{man/??/,share}
ln -sf spectrwm $PKG/usr/bin/scrotwm
}
diff --git a/spectrwm/spectrwm-remove_libswmhack.patch b/spectrwm/spectrwm-remove_libswmhack.patch
index 315fca1e2..0cecb5773 100644
--- a/spectrwm/spectrwm-remove_libswmhack.patch
+++ b/spectrwm/spectrwm-remove_libswmhack.patch
@@ -1,44 +1,29 @@
-diff -Nru spectrwm-2.5.1.orig/linux/Makefile spectrwm-2.5.1/linux/Makefile
---- spectrwm-2.5.1.orig/linux/Makefile 2014-05-09 10:02:47.399230659 +0200
-+++ spectrwm-2.5.1/linux/Makefile 2014-05-09 10:03:07.311852348 +0200
-@@ -6,7 +6,7 @@
- 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)\"
-+CFLAGS+= -D_GNU_SOURCE -I. -I/usr/include/freetype2
- LDADD+= -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
-
- CC?= cc
-@@ -16,7 +16,7 @@
- CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
- endif
-
--all: spectrwm libswmhack.so.$(LVERS)
-+all: spectrwm
-
- spectrwm.c:
- ln -sf ../spectrwm.c
-@@ -39,15 +39,12 @@
- 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 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
- install -m 644 ../spectrwm_pt.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_pt.1
- install -m 644 ../spectrwm_ru.1 $(DESTDIR)$(MANDIR)/man1/spectrwm_ru.1
- ln -sf spectrwm $(DESTDIR)$(BINDIR)/scrotwm
-- ln -sf libswmhack.so.0.0 $(DESTDIR)$(LIBDIR)/libswmhack.so.0
-- ln -sf libswmhack.so.0.0 $(DESTDIR)$(LIBDIR)/libswmhack.so
-
- clean:
- rm -f spectrwm *.o *.so libswmhack.so.* spectrwm.c swm_hack.c version.h
-diff -Nru spectrwm-2.5.1.orig/spectrwm.c spectrwm-2.5.1/spectrwm.c
---- spectrwm-2.5.1.orig/spectrwm.c 2014-05-09 10:02:47.399230659 +0200
-+++ spectrwm-2.5.1/spectrwm.c 2014-05-09 10:03:07.311852348 +0200
-@@ -299,9 +299,9 @@
+diff -Nru spectrwm-2.6.0.orig/linux/Makefile spectrwm-2.6.0/linux/Makefile
+--- spectrwm-2.6.0.orig/linux/Makefile 2014-08-23 09:01:02.136856255 +0200
++++ spectrwm-2.6.0/linux/Makefile 2014-08-23 09:02:22.330669060 +0200
+@@ -10,7 +10,7 @@
+ LIBMAJORVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major)
+
+ MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
+-MAINT_CPPFLAGS = -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LIBVERSION)\"
++MAINT_CPPFLAGS = -D_GNU_SOURCE -I. -I/usr/include/freetype2
+ MAINT_LDLIBS = -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
+
+ ifneq ("${BUILDVERSION}", "")
+@@ -48,9 +48,6 @@
+ install -m 755 -d $(DESTDIR)$(XSESSIONSDIR)
+ install -m 755 spectrwm $(DESTDIR)$(BINDIR)
+ ln -sf spectrwm $(DESTDIR)$(BINDIR)/scrotwm
+- install -m 644 libswmhack.so.$(LIBVERSION) $(DESTDIR)$(LIBDIR)
+- ln -sf libswmhack.so.$(LIBVERSION) $(DESTDIR)$(LIBDIR)/libswmhack.so.$(LIBMAJORVERSION)
+- ln -sf libswmhack.so.$(LIBVERSION) $(DESTDIR)$(LIBDIR)/libswmhack.so
+ install -m 644 ../spectrwm.1 $(DESTDIR)$(MANDIR)/man1/spectrwm.1
+ install -m 644 ../spectrwm_es.1 $(DESTDIR)$(MANDIR)/es/man1/spectrwm.1
+ install -m 644 ../spectrwm_it.1 $(DESTDIR)$(MANDIR)/it/man1/spectrwm.1
+diff -Nru spectrwm-2.6.0.orig/spectrwm.c spectrwm-2.6.0/spectrwm.c
+--- spectrwm-2.6.0.orig/spectrwm.c 2014-08-23 09:01:02.136856255 +0200
++++ spectrwm-2.6.0/spectrwm.c 2014-08-23 09:04:35.139391508 +0200
+@@ -300,9 +300,9 @@
#define SWM_CONF_DEFAULT (0)
#define SWM_CONF_KEYMAPPING (1)
@@ -50,7 +35,7 @@ diff -Nru spectrwm-2.5.1.orig/spectrwm.c spectrwm-2.5.1/spectrwm.c
char **start_argv;
xcb_atom_t a_state;
-@@ -3324,7 +3324,7 @@
+@@ -3349,7 +3349,7 @@
close(xcb_get_file_descriptor(conn));

Generated by cgit