From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/skippy/files/event_base.patch | 11 ++++++++++ recipes/skippy/files/fix-makefile.patch | 37 +++++++++++++++++++++++++++++++++ recipes/skippy/skippy-xd_0.5.0.bb | 18 ++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 recipes/skippy/files/event_base.patch create mode 100644 recipes/skippy/files/fix-makefile.patch create mode 100644 recipes/skippy/skippy-xd_0.5.0.bb (limited to 'recipes/skippy') diff --git a/recipes/skippy/files/event_base.patch b/recipes/skippy/files/event_base.patch new file mode 100644 index 0000000000..20632edf15 --- /dev/null +++ b/recipes/skippy/files/event_base.patch @@ -0,0 +1,11 @@ +--- skippy-xd-0.5.0/mainwin.c.old 2005-04-29 03:54:32 +01:00 ++++ skippy-xd-0.5.0/mainwin.c 2005-04-29 03:55:06 +01:00 +@@ -67,7 +67,7 @@ + XRenderPictureAttributes pa; + XRenderColor clear; + int error_base; +-#ifdef XINERAMA ++#if 1 + int event_base; + #endif /* XINERAMA */ + diff --git a/recipes/skippy/files/fix-makefile.patch b/recipes/skippy/files/fix-makefile.patch new file mode 100644 index 0000000000..843be52467 --- /dev/null +++ b/recipes/skippy/files/fix-makefile.patch @@ -0,0 +1,37 @@ +--- skippy-xd-0.5.0/Makefile.old 2005-04-29 03:42:33 +01:00 ++++ skippy-xd-0.5.0/Makefile 2005-04-29 03:45:21 +01:00 +@@ -1,17 +1,17 @@ +-PREFIX = /usr/local +-BINDIR = ${PREFIX}/bin ++#PREFIX = /usr ++#BINDIR = ${PREFIX}/bin + +-X11PREFIX = /usr/X11R6 ++#X11PREFIX = /usr/X11R6 + +-CFLAGS += -I${X11PREFIX}/include `pkg-config xft xrender xcomposite xdamage xfixes --cflags` -g -pedantic -Wall +-LDFLAGS += -L${X11PREFIX}/lib -lX11 -lm `pkg-config xft xrender xcomposite xdamage xfixes --libs` ++CFLAGS += `${PKG_CONFIG} xft xrender xcomposite xdamage xfixes --cflags` -Wall ++LDFLAGS += -lX11 -lm `${PKG_CONFIG} xft xrender xcomposite xdamage xfixes --libs` + + # Disable post-processing effects +-# CFLAGS += -DNOEFFECTS ++CFLAGS += -DNOEFFECTS + + # Comment these out to disable Xinerama support +-CFLAGS += -DXINERAMA +-LDFLAGS += -lXext -lXinerama ++#CFLAGS += -DXINERAMA ++#LDFLAGS += -lXext -lXinerama + + # Uncomment this for Xinerama debugging + #CFLAGS += -DDEBUG +@@ -24,7 +24,7 @@ + all: skippy-xd${EXESUFFIX} + + skippy-xd${EXESUFFIX}: Makefile ${SOURCES} ${HEADERS} +- gcc ${CFLAGS} -o skippy-xd${EXESUFFIX} ${SOURCES} ${LDFLAGS} ++ ${CC} ${CFLAGS} -o skippy-xd${EXESUFFIX} ${SOURCES} ${LDFLAGS} + + clean: + rm -f skippy-xd${EXESUFFIX} diff --git a/recipes/skippy/skippy-xd_0.5.0.bb b/recipes/skippy/skippy-xd_0.5.0.bb new file mode 100644 index 0000000000..c5ed177aa6 --- /dev/null +++ b/recipes/skippy/skippy-xd_0.5.0.bb @@ -0,0 +1,18 @@ +LICENSE = "GPLV2" +DESCRIPTION = "Skippy is a full-screen task-switcher for X11." +SECTION = "x11" +DEPENDS = "virtual/xserver libxdamage libxcomposite" + +inherit pkgconfig + +SRC_URI = "http://thegraveyard.org/files/${PN}-${PV}.tar.bz2 \ + file://fix-makefile.patch;patch=1 \ + file://event_base.patch;patch=1" + +EXTRA_OEMAKE = "X11PREFIX='${STAGING_DIR_TARGET}${layout_prefix}' PKG_CONFIG='${STAGING_BINDIR_NATIVE}/pkg-config'" +CFLAGS_append = " -I${STAGING_INCDIR}/X11" +LDFLAGS_append = " -L${STAGING_LIBDIR}/X11" + +do_install() { + oe_runmake 'BINDIR=${D}${bindir}' install +} -- cgit v1.2.3