From 278d9e112e23d42e176502bfb6367d0708e68c33 Mon Sep 17 00:00:00 2001 From: Willer Moreira Date: Tue, 2 Feb 2010 16:21:39 -0400 Subject: [PATCH 103/118] evilwm-1.0.0: adding recipe Signed-off-by: Ricardo Salveti de Araujo Signed-off-by: Willer Moreira --- recipes/evilwm/evilwm/change_to_fixed_font.patch | 13 +++++++++++ recipes/evilwm/evilwm/dont_set_cc.patch | 11 +++++++++ recipes/evilwm/evilwm/removing_install_s.patch | 13 +++++++++++ recipes/evilwm/evilwm_1.0.1.bb | 25 ++++++++++++++++++++++ 4 files changed, 62 insertions(+), 0 deletions(-) create mode 100644 recipes/evilwm/evilwm/change_to_fixed_font.patch create mode 100644 recipes/evilwm/evilwm/dont_set_cc.patch create mode 100644 recipes/evilwm/evilwm/removing_install_s.patch create mode 100644 recipes/evilwm/evilwm_1.0.1.bb diff --git a/recipes/evilwm/evilwm/change_to_fixed_font.patch b/recipes/evilwm/evilwm/change_to_fixed_font.patch new file mode 100644 index 0000000..d7d14bc --- /dev/null +++ b/recipes/evilwm/evilwm/change_to_fixed_font.patch @@ -0,0 +1,13 @@ +diff --git a/evilwm.h b/evilwm.h +index c4ece56..923f048 100644 +--- a/evilwm.h ++++ b/evilwm.h +@@ -40,7 +40,7 @@ typedef struct { + + /* default settings */ + +-#define DEF_FONT "variable" ++#define DEF_FONT "fixed" + #define DEF_FG "goldenrod" + #define DEF_BG "grey50" + #define DEF_BW 1 diff --git a/recipes/evilwm/evilwm/dont_set_cc.patch b/recipes/evilwm/evilwm/dont_set_cc.patch new file mode 100644 index 0000000..e272d61 --- /dev/null +++ b/recipes/evilwm/evilwm/dont_set_cc.patch @@ -0,0 +1,11 @@ +diff --git a/Makefile b/Makefile +index 4f139b8..89a63ab 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,5 @@ + # If you don't use CC +-CC = gcc ++#CC = gcc + + # Edit this line if you don't want evilwm to install under /usr. + # Note that $(DESTDIR) is used by the Debian build process. diff --git a/recipes/evilwm/evilwm/removing_install_s.patch b/recipes/evilwm/evilwm/removing_install_s.patch new file mode 100644 index 0000000..8a9f976 --- /dev/null +++ b/recipes/evilwm/evilwm/removing_install_s.patch @@ -0,0 +1,13 @@ +Index: evilwm-1.0.1/Makefile +=================================================================== +--- evilwm-1.0.1.orig/Makefile ++++ evilwm-1.0.1/Makefile +@@ -93,7 +93,7 @@ evilwm: $(OBJS) + install: evilwm + if [ -f evilwm.exe ]; then mv evilwm.exe evilwm; fi + mkdir -p $(prefix)/bin $(prefix)/share/man/man1 +- install -s evilwm $(prefix)/bin ++ install evilwm $(prefix)/bin + install evilwm.1 $(prefix)/share/man/man1 + #gzip -9 $(prefix)/share/man/man1/evilwm.1 + diff --git a/recipes/evilwm/evilwm_1.0.1.bb b/recipes/evilwm/evilwm_1.0.1.bb new file mode 100644 index 0000000..b22d5db --- /dev/null +++ b/recipes/evilwm/evilwm_1.0.1.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "A minimalist window manager for X." +LICENSE = "As is" +HOMEPAGE = "http://www.6809.org.uk/evilwm/" +DEPENDS = "libxext libxrandr xextproto xproto" +PR = "r0" + +inherit autotools update-alternatives + +SRC_URI = "http://www.6809.org.uk/evilwm/${P}.tar.gz \ + file://dont_set_cc.patch;patch=1 \ + file://change_to_fixed_font.patch;patch=1 \ + file://removing_install_s.patch;patch=1" + +do_configure() { + : +} + +do_compile() { + oe_runmake XROOT="${D}${prefix}" LDPATH="-L${D}${prefix}/${libdir}" +} + +ALTERNATIVE_PATH = "${bindir}/evilwm" +ALTERNATIVE_NAME = "x-window-manager" +ALTERNATIVE_LINK = "${bindir}/x-window-manager" +ALTERNATIVE_PRIORITY = "20" -- 1.6.3.3