From 8f7131659cb9aa260a6f4d0a51b39d6f40d117b3 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Wed, 25 Aug 2010 22:03:15 +0200 Subject: nxcompext; new recipe Signed-off-by: Frans Meulenbroeks --- recipes/freenx/nxcompext/nxlib.patch | 13 +++++++++++++ recipes/freenx/nxcompext_3.4.0-1.bb | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 recipes/freenx/nxcompext/nxlib.patch create mode 100644 recipes/freenx/nxcompext_3.4.0-1.bb (limited to 'recipes/freenx') diff --git a/recipes/freenx/nxcompext/nxlib.patch b/recipes/freenx/nxcompext/nxlib.patch new file mode 100644 index 0000000000..311e51679e --- /dev/null +++ b/recipes/freenx/nxcompext/nxlib.patch @@ -0,0 +1,13 @@ +Index: nxcompext/NXlib.c +=================================================================== +--- nxcompext.orig/NXlib.c ++++ nxcompext/NXlib.c +@@ -56,6 +56,8 @@ + + #include "MD5.h" + ++#define _XGetIOError(dpy) (dpy -> flags & XlibDisplayIOError) ++ + #define PANIC + #define WARNING + #undef TEST diff --git a/recipes/freenx/nxcompext_3.4.0-1.bb b/recipes/freenx/nxcompext_3.4.0-1.bb new file mode 100644 index 0000000000..63be2c4b13 --- /dev/null +++ b/recipes/freenx/nxcompext_3.4.0-1.bb @@ -0,0 +1,22 @@ +LICENSE = "GPL" +DEPENDS = "nxcomp xserver-common libx11 pixman" + +SRC_URI = "http://64.34.161.181/download/3.4.0/sources/${PN}-${PV}.tar.gz \ + file://nxlib.patch \ + " + +CC += "-I${STAGING_INCDIR}/X11 -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/pixman-1" +CXX += "-I${STAGING_INCDIR}/X11 -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/pixman-1" + +SRC_URI[md5sum] = "605a8e2a136f89477f0059a0d2af4582" +SRC_URI[sha256sum] = "75be77fe0cdc3aca21afd0b72590d600b131b849b8e65926c237c3d87dd1160e" + +S = "${WORKDIR}/${PN}" + +inherit autotools + +do_install () { + oe_runmake "bindir=${D}${bindir}" \ + "man1dir=${D}${mandir}" \ + install +} -- cgit 1.2.3-korg