[oe-commits] Henning Heinold : disko: update to version 1.7.0

git version control git at git.openembedded.org
Thu Oct 14 20:57:34 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a14a6463ae7747074f5ecef8160f910db9e0958b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a14a6463ae7747074f5ecef8160f910db9e0958b

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Thu Oct 14 22:53:18 2010 +0200

disko: update to version 1.7.0

---

 recipes/disko/disko_1.7.0.bb              |   27 +++++++++++++++++++++++++++
 recipes/disko/files/mmsfiletransfer.patch |   13 +++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/recipes/disko/disko_1.7.0.bb b/recipes/disko/disko_1.7.0.bb
new file mode 100644
index 0000000..7907d7a
--- /dev/null
+++ b/recipes/disko/disko_1.7.0.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Disko is an application framework, that can be used to develop GUI applications for embedded devices. It is closely connected to the DirectFB"
+LICENSE = "LGPL"
+PR = "r0"
+
+require disko.inc
+
+DEPENDS += "taglib directfb virtual/libx11 hal libxv libxxf86vm"
+
+SRC_URI = "http://www.diskohq.com/repository/ubuntu/pool/${PN}_${PV}.tar.gz \
+           file://mmsfiletransfer.patch \
+	  "
+
+do_compile() {
+    if [ "${SCONS_FIX_ENV}" = "1" ] ; then
+        if grep "toolchain-from-env" ${S}/SConstruct ; then
+            echo "Toolchain overrides already applied"
+        else
+           cat ${STAGING_DATADIR_NATIVE}/scons/toolchain-from-env.SConscript >> ${S}/SConstruct
+        fi
+    fi
+
+    ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} CXX="${CXX}" PREFIX=${prefix} prefix=${prefix} graphics=all || \
+    oefatal "scons build execution failed."
+}
+
+SRC_URI[md5sum] = "23162e567fd980c20ba40b574afd9276"
+SRC_URI[sha256sum] = "9ec9f5c4c03716cc1d24cc8bce252f4d44ce56837e37f1b9cb6ddc44639dedfc"
diff --git a/recipes/disko/files/mmsfiletransfer.patch b/recipes/disko/files/mmsfiletransfer.patch
new file mode 100644
index 0000000..9e2876d
--- /dev/null
+++ b/recipes/disko/files/mmsfiletransfer.patch
@@ -0,0 +1,13 @@
+Index: disko-1.7.0/src/mmstools/mmsfiletransfer.cpp
+===================================================================
+--- disko-1.7.0.orig/src/mmstools/mmsfiletransfer.cpp	2010-10-14 22:41:29.902763049 +0200
++++ disko-1.7.0/src/mmstools/mmsfiletransfer.cpp	2010-10-14 22:42:12.168591440 +0200
+@@ -92,7 +92,7 @@
+ 
+ 
+ int progress_callback(void *pclient, double dltotal, double dlnow, double ultotal, double ulnow) {
+-	((MMSFiletransfer::MMSFiletransfer*) pclient)->progress.emit(dltotal != 0 ? (int) (.5 + 100* dlnow / dltotal) : (int) (.5 + 100* ulnow / ultotal));
++	((MMSFiletransfer*) pclient)->progress.emit(dltotal != 0 ? (int) (.5 + 100* dlnow / dltotal) : (int) (.5 + 100* ulnow / ultotal));
+ 	return 0;
+ }
+ 





More information about the Openembedded-commits mailing list