1
0
forked from ports/opt

spectrwm: update to 3.0.2

This commit is contained in:
Juergen Daubert 2016-05-27 14:52:29 +02:00
parent 09afb6ef29
commit 3d69876ec8
3 changed files with 19 additions and 11 deletions

View File

@ -1,2 +1,2 @@
4df6713ad2bea95431e07317573baf0f SPECTRWM_3_0_1.tar.gz
a9d07e98d8536bde4c37c0d6a726d93d spectrwm-remove_libswmhack.patch
b95af7630bfc1cae4de07286ac7e2318 SPECTRWM_3_0_2.tar.gz
7090cd60f503116e9a7bc8c7bb71e616 spectrwm-remove_libswmhack.patch

View File

@ -1,10 +1,10 @@
# Description: Minimalistic tiling window manager
# URL: https://opensource.conformal.com/wiki/spectrwm
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: xorg-libxrender fontconfig xorg-xcb-util-keysyms xorg-xcb-util-wm
# Depends on: xorg-libxcursor xorg-libxft xorg-xcb-util-keysyms xorg-xcb-util-wm
name=spectrwm
version=3.0.1
version=3.0.2
release=1
source=(https://github.com/conformal/spectrwm/archive/SPECTRWM_${version//./_}.tar.gz
$name-remove_libswmhack.patch)

View File

@ -1,7 +1,7 @@
diff -Nru spectrwm-3.0.1.orig/linux/Makefile spectrwm-3.0.1/linux/Makefile
--- spectrwm-3.0.1.orig/linux/Makefile 2016-05-16 15:22:06.375506421 +0200
+++ spectrwm-3.0.1/linux/Makefile 2016-05-16 15:27:15.595398541 +0200
@@ -10,7 +10,7 @@
diff -Nru spectrwm-3.0.2.orig/linux/Makefile spectrwm-3.0.2/linux/Makefile
--- spectrwm-3.0.2.orig/linux/Makefile 2016-05-24 11:53:05.831647479 +0200
+++ spectrwm-3.0.2/linux/Makefile 2016-05-24 11:57:34.912071921 +0200
@@ -10,14 +10,14 @@
LIBMAJORVERSION = $(shell . $(CURDIR)/../lib/shlib_version; echo $$major)
MAINT_CFLAGS = -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
@ -10,9 +10,17 @@ diff -Nru spectrwm-3.0.1.orig/linux/Makefile spectrwm-3.0.1/linux/Makefile
MAINT_LDLIBS = -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor
ifneq ("${BUILDVERSION}", "")
diff -Nru spectrwm-3.0.1.orig/spectrwm.c spectrwm-3.0.1/spectrwm.c
--- spectrwm-3.0.1.orig/spectrwm.c 2016-05-16 15:22:06.378839754 +0200
+++ spectrwm-3.0.1/spectrwm.c 2016-05-16 15:30:08.021987775 +0200
MAINT_CPPFLAGS += -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
endif
-all: spectrwm libswmhack.so.$(LIBVERSION)
+all: spectrwm
spectrwm: spectrwm.o linux.o
$(CC) $(MAINT_LDFLAGS) $(LDFLAGS) -o $@ $+ $(MAINT_LDLIBS) $(LDLIBS)
diff -Nru spectrwm-3.0.2.orig/spectrwm.c spectrwm-3.0.2/spectrwm.c
--- spectrwm-3.0.2.orig/spectrwm.c 2016-05-24 11:53:05.831647479 +0200
+++ spectrwm-3.0.2/spectrwm.c 2016-05-24 11:57:03.713195913 +0200
@@ -273,9 +273,9 @@
#define SWM_CONF_DEFAULT (0)
#define SWM_CONF_KEYMAPPING (1)