nxcompext; new recipe
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 25 Aug 2010 20:03:15 +0000 (22:03 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 25 Aug 2010 20:07:28 +0000 (22:07 +0200)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/freenx/nxcompext/nxlib.patch [new file with mode: 0644]
recipes/freenx/nxcompext_3.4.0-1.bb [new file with mode: 0644]

diff --git a/recipes/freenx/nxcompext/nxlib.patch b/recipes/freenx/nxcompext/nxlib.patch
new file mode 100644 (file)
index 0000000..311e516
--- /dev/null
@@ -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 (file)
index 0000000..63be2c4
--- /dev/null
@@ -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
+}