summaryrefslogtreecommitdiff
path: root/fbvncserver
diff options
context:
space:
mode:
Diffstat (limited to 'fbvncserver')
-rw-r--r--fbvncserver/fbvncserver-kmodule_0.9.4.oe22
-rw-r--r--fbvncserver/fbvncserver_0.9.4.oe39
2 files changed, 61 insertions, 0 deletions
diff --git a/fbvncserver/fbvncserver-kmodule_0.9.4.oe b/fbvncserver/fbvncserver-kmodule_0.9.4.oe
index e69de29bb2..164f7ef195 100644
--- a/fbvncserver/fbvncserver-kmodule_0.9.4.oe
+++ b/fbvncserver/fbvncserver-kmodule_0.9.4.oe
@@ -0,0 +1,22 @@
+DESCRIPTION = "framebuffer VNC server keyboard events module"
+
+SRC_URI = http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \
+ file://${FILESDIR}/libvncs0.6.patch;patch=1 \
+ file://${FILESDIR}/paths.patch;patch=1 \
+ file://${FILESDIR}/kernelinclude.patch;patch=1
+
+S = "${WORKDIR}/fbvncserver-${PV}"
+
+inherit module
+
+#export INCLUDES = ${KERNEL_PATH}/include
+
+do_compile () {
+ oe_runmake KERNEL_PATH=${KERNEL_PATH} KERNEL_INCLUDES=-I${KERNEL_PATH}/include zaurus_kbdsim.o
+ mv zaurus_kbdsim.o kbdsim.o
+}
+
+do_install () {
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/misc
+ install -m 0755 kbdsim.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/misc/
+}
diff --git a/fbvncserver/fbvncserver_0.9.4.oe b/fbvncserver/fbvncserver_0.9.4.oe
index e69de29bb2..7d20798f5e 100644
--- a/fbvncserver/fbvncserver_0.9.4.oe
+++ b/fbvncserver/fbvncserver_0.9.4.oe
@@ -0,0 +1,39 @@
+DESCRIPTION = "framebuffer VNC server"
+DEPENDS = "virtual/libc libvncserver jpeg zlib"
+RDEPENDS = "libc6 fbvncserver-kmodule libvncserver-storepasswd libvncserver-javaapplet zlib libjpeg"
+
+SRC_URI = http://sdgsystems.com/download/${PN}-${PV}.tar.gz \
+ file://${FILESDIR}/libvncs0.6.patch;patch=1 \
+ file://${FILESDIR}/paths.patch;patch=1 \
+ file://${FILESDIR}/kernelinclude.patch;patch=1
+
+export INCLUDES = -I${STAGING_INCDIR}
+
+export LIBS = -L${STAGING_LIBDIR} -lpthread
+export VNCSERVER_DIR = ${STAGING_LIBDIR}
+export ZAURUS_ZLIB_LIBS = ${STAGING_LIBDIR}
+export ZAURUS_JPEG_LIBS = ${STAGING_LIBDIR}
+
+do_compile () {
+ oe_runmake zaurus_fbvncserver zaurus_tssimd
+}
+
+do_install () {
+ install -d ${D}/usr/bin
+ install -m 0755 zaurus_fbvncserver ${D}/usr/bin/fbvncserver
+ install -m 0755 zaurus_tssimd ${D}/usr/bin/tssimd
+
+ install -d ${D}/usr/share/fbvncserver
+ install -m 0644 ${FILESDIR}/zaurus_panel.jpg ${D}/usr/share/fbvncserver/
+
+ install -d ${D}/${sysconfdir}/init.d
+ install -d ${D}/${sysconfdir}/rc2.d
+ install -d ${D}/${sysconfdir}/rc3.d
+ install -d ${D}/${sysconfdir}/rc4.d
+ install -d ${D}/${sysconfdir}/rc5.d
+ install -m 0755 ${FILESDIR}/init ${D}/${sysconfdir}/init.d/fbvncinput
+ ln -sf ../init.d/fbvncinput ${D}/etc/rc2.d/S97fbvncinput
+ ln -sf ../init.d/fbvncinput ${D}/etc/rc3.d/S97fbvncinput
+ ln -sf ../init.d/fbvncinput ${D}/etc/rc4.d/S97fbvncinput
+ ln -sf ../init.d/fbvncinput ${D}/etc/rc5.d/S97fbvncinput
+}