add fbvncserver patch from Henry von Tresckow - fixes bug #202
authorMichael Lauer <mickey@vanille-media.de>
Fri, 5 Aug 2005 09:19:17 +0000 (09:19 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 5 Aug 2005 09:19:17 +0000 (09:19 +0000)
packages/fbvncserver/fbvncserver-kmodule_0.9.4.bb
packages/fbvncserver/fbvncserver_0.9.4.bb
packages/fbvncserver/files/zaurus_panel.jpg [deleted file]

index 39004cb..44bdd9b 100644 (file)
@@ -1,19 +1,25 @@
-DESCRIPTION = "framebuffer VNC server keyboard events module"
-SECTION = "kernel"
+DESCRIPTION = "Framebuffer VNC server keyboard events module"
+SECTION = "kernel/module"
 LICENSE = "GPL"
+PR = "r1"
 
 SRC_URI = "http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \
            file://libvncs0.6.patch;patch=1 \
           file://paths.patch;patch=1 \
-          file://kernelinclude.patch;patch=1"
+          file://kernelinclude.patch;patch=1 \
+           file://ipaq.patch;patch=1"
          
 S = "${WORKDIR}/fbvncserver-${PV}"
 
 inherit module
 
-EXTRA_OEMAKE = "KERNEL_INCLUDES=-I${STAGING_KERNEL_DIR}/include zaurus_kbdsim.o"
+FBVNCSERVER_SYSTEM = "zaurus"
+FBVNCSERVER_SYSTEM_h3600 = "ipaq"
+FBVNCSERVER_SYSTEM_h3900 = "ipaq"
+
+EXTRA_OEMAKE = "KERNEL_INCLUDES=-I${STAGING_KERNEL_DIR}/include ${FBVNCSERVER_SYSTEM}_kbdsim.o"
 
 do_install () {
        install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc
-       install -m 0644 zaurus_kbdsim.o ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc/
+       install -m 0644 ${FBVNCSERVER_SYSTEM}_kbdsim.o ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/misc/kbdsim.o
 }
index fd2a1e6..66b7349 100644 (file)
@@ -1,18 +1,24 @@
-DESCRIPTION = "framebuffer VNC server"
+DESCRIPTION = "Framebuffer VNC server"
 LICENSE = "GPL"
 SECTION = "console/utils"
-DEPENDS = "libvncserver jpeg zlib"
+#DEPENDS = "libvncserver jpeg zlib"
+# using older version due of error with libvncserver-0.7.1
+# fbvncserver.c:577: error: structure has no member named `rfbAlwaysShared'
+# fbvncserver.c:602: error: structure has no member named `rfbClientHead'
+DEPENDS = "libvncserver-0.6 jpeg zlib"
 RDEPENDS = "fbvncserver-kmodule libvncserver-storepasswd libvncserver-javaapplet"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://sdgsystems.com/download/fbvncserver-${PV}.tar.gz \
            file://libvncs0.6.patch;patch=1 \
            file://paths.patch;patch=1 \
            file://kernelinclude.patch;patch=1 \
           file://buildfix.patch;patch=1 \
-           file://zaurus_panel.jpg \
+          file://ipaq.patch;patch=1 \
            file://init"
          
+S = "${WORKDIR}/fbvncserver-${PV}"
+
 export INCLUDES = "-I${STAGING_INCDIR}"
 
 export LIBS = "-L${STAGING_LIBDIR} -lpthread"
@@ -25,18 +31,25 @@ inherit update-rc.d
 INITSCRIPT_NAME = "fbvncinput"
 INITSCRIPT_PARAMS = "defaults 97"
 
+FBVNCSERVER_SYSTEM = "zaurus"
+FBVNCSERVER_SYSTEM_h3600 = "ipaq"
+FBVNCSERVER_SYSTEM_h3900 = "ipaq"
+
 do_compile () {
-       oe_runmake zaurus_fbvncserver zaurus_tssimd
+       oe_runmake ${FBVNCSERVER_SYSTEM}_fbvncserver ${FBVNCSERVER_SYSTEM}_tssimd
 }
 
 do_install () {
        install -d ${D}${bindir}
-       install -m 0755 zaurus_fbvncserver ${D}${bindir}/fbvncserver
-       install -m 0755 zaurus_tssimd ${D}${bindir}/tssimd
+       install -m 0755 ${FBVNCSERVER_SYSTEM}_fbvncserver ${D}${bindir}/fbvncserver
+       install -m 0755 ${FBVNCSERVER_SYSTEM}_tssimd ${D}${bindir}/tssimd
        
        install -d ${D}${datadir}/fbvncserver
-       install -m 0644 ${WORKDIR}/zaurus_panel.jpg ${D}${datadir}/fbvncserver/
+       install -m 0644 ${FBVNCSERVER_SYSTEM}_panel.jpg ${D}${datadir}/fbvncserver/
        
        install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/fbvncinput
 }
+
+FILES_${PN} += " /usr/share/fbvncserver/*.jpg"
+
diff --git a/packages/fbvncserver/files/zaurus_panel.jpg b/packages/fbvncserver/files/zaurus_panel.jpg
deleted file mode 100644 (file)
index cb8543f..0000000
Binary files a/packages/fbvncserver/files/zaurus_panel.jpg and /dev/null differ