First trial at commiting tested recipes
authorKirtika Ruchandani <kirtibr@gmail.com>
Sat, 23 May 2009 05:14:12 +0000 (10:44 +0530)
committerKirtika Ruchandani <kirtibr@gmail.com>
Sat, 23 May 2009 05:14:12 +0000 (10:44 +0530)
12 files changed:
hildon-thumbnail.inc [new file with mode: 0644]
hildon-thumbnail_0.14.bb [new file with mode: 0644]
icd2-osso-ic_2.0.bb [new file with mode: 0644]
libhildon.inc [new file with mode: 0644]
libhildon_2.0.6.bb [new file with mode: 0644]
libhildonmime_2.0.2.bb [new file with mode: 0644]
libosso.inc [new file with mode: 0644]
libosso/gcc431.patch [new file with mode: 0644]
libosso_2.16.bb [new file with mode: 0644]
mce-dev.inc [new file with mode: 0644]
mce-dev_1.6.3.bb [new file with mode: 0644]
osso-gwconnect_1.0.12.bb [new file with mode: 0644]

diff --git a/hildon-thumbnail.inc b/hildon-thumbnail.inc
new file mode 100644 (file)
index 0000000..46468e1
--- /dev/null
@@ -0,0 +1,19 @@
+LICENSE = "LGPL"
+DESCRIPTION = "Nokia hildon thumbnail library"
+
+DEPENDS = "libhildonmime"
+
+inherit autotools pkgconfig lib_package
+
+do_configure_prepend() {
+       # remove Werror from OSSO_CFLAGS
+       sed -i s:-Werror::g configure.ac
+
+       touch gtk-doc.make
+}
+
+do_stage() {
+       autotools_stage_all
+}
+
+
diff --git a/hildon-thumbnail_0.14.bb b/hildon-thumbnail_0.14.bb
new file mode 100644 (file)
index 0000000..15ea323
--- /dev/null
@@ -0,0 +1,7 @@
+require hildon-thumbnail.inc
+
+DEPENDS = "libosso gnome-vfs gconf gdk-pixbuf glib-2.0"
+
+PR = "r1"
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/h/${PN}/${PN}_${PV}.tar.gz"
diff --git a/icd2-osso-ic_2.0.bb b/icd2-osso-ic_2.0.bb
new file mode 100644 (file)
index 0000000..987dd01
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright (C) 2009 Kirtika B Ruchandani <kirtibr@gmail.com> 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Headers needed for libconic"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "GNU Lesser General Public License-version 2.1 "
+SECTION = "base"
+DEPENDS = "dbus gconf"
+PR = "r1"
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/i/${PN}-dev/${PN}-dev_${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/${PN}-dev-${PV}"
+    
+
+do_configure_prepend() {
+ #Horrible hack follows. The dpkg-parsechangelog
+  #command in the first line used in AC_INIT breaks thing
+  #so do a manual replacement of that line
+  sed -i '1,2d' configure.ac
+  sed -i '1i AC_INIT([${PN}],[${PV}])' configure.ac
+
+}
+
+do_stage(){
+    autotools_stage_all
+}
+
+
+
+
diff --git a/libhildon.inc b/libhildon.inc
new file mode 100644 (file)
index 0000000..4b1a55d
--- /dev/null
@@ -0,0 +1,13 @@
+DESCRIPTION = "Hildon widget library"
+LICENSE = "GNU Lesser General Public License-version 2.1"
+
+DEPENDS = "gconf-dbus esound gtk+"
+
+inherit autotools pkgconfig lib_package
+
+EXTRA_OECONF = "--with-maemo-gtk=no"
+
+do_stage() {
+        autotools_stage_all
+}
+
diff --git a/libhildon_2.0.6.bb b/libhildon_2.0.6.bb
new file mode 100644 (file)
index 0000000..6f4120d
--- /dev/null
@@ -0,0 +1,17 @@
+# Copyright (C) 2009  Kirtika B Ruchandani <kirtibr@gmail.com> 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Hildon widget library"
+HOMEPAGE = "http://live.gnome.org/Hildon"
+LICENSE = "GNU Lesser General Public License-version 2.1 "
+SECTION = "base"
+DEPENDS = "gconf-dbus esound gtk+ gtk-doc libpng libxt libxi"
+PR = "r1"
+
+require libhildon.inc
+
+
+
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/libh/${PN}/${PN}_${PV}-1.tar.gz"
+
diff --git a/libhildonmime_2.0.2.bb b/libhildonmime_2.0.2.bb
new file mode 100644 (file)
index 0000000..f6e8cb0
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright (C) 2009 Unknow User <unknow@user.org>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Nokia Hildon mime library"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "GNU Lesser General Public License-version 2.1"
+SECTION = "base"
+DEPENDS = "libosso gnome-vfs"
+PR = "r1"
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/libh/${PN}/${PN}_${PV}-1.tar.gz"
+
+EXTRA_OECONF += "--with-compile-warnings=no"
+
+inherit autotools pkgconfig lib_package
+
+do_configure_prepend() {
+       # remove Werror from OSSO_CFLAGS
+       sed -i s:-Werror::g configure.in
+}
+
+do_stage() {
+       autotools_stage_all
+}
+
+
+
+
+
+
+
diff --git a/libosso.inc b/libosso.inc
new file mode 100644 (file)
index 0000000..8af01ab
--- /dev/null
@@ -0,0 +1,19 @@
+LICENSE     = "GNU Lesser General Public License-version 2.1 "
+DESCRIPTION = "Nokia OSSO IPC library"
+
+DEPENDS = "dbus-glib glib-2.0 mce-dev"
+
+inherit autotools pkgconfig lib_package
+
+do_configure_prepend() {
+  # Remove Werror from OSSO_CFLAGS since the source
+  # contains many implicit (const void *) to (void *)
+  # conversions.
+  sed -i s:-Werror::g configure.ac
+}
+
+do_stage() {
+  autotools_stage_all
+}
+
+
diff --git a/libosso/gcc431.patch b/libosso/gcc431.patch
new file mode 100644 (file)
index 0000000..11eef6b
--- /dev/null
@@ -0,0 +1,41 @@
+--- libosso-2.16/src/osso-init.c
++++ libosso-2.16/src/osso-init.c
+@@ -655,11 +655,10 @@ _msg_handler(DBusConnection *conn, DBusM
+ #endif
+     return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+ }
+-inline int __attribute__ ((visibility("hidden")))
+ muali_convert_msgtype(int t)
+ {
+     switch (t) {
+             case DBUS_MESSAGE_TYPE_METHOD_CALL:
+                     return MUALI_EVENT_MESSAGE;
+--- libosso-2.16/src/osso-internal.h
++++ libosso-2.16/src/osso-internal.h
+@@ -295,9 +295,8 @@ void _close_all_plugins(osso_context_t *
+ inline void __attribute__ ((visibility("hidden")))
+ _muali_parse_id(const char *id, muali_bus_type *bus, char *sender,
+                 int *serial);
+-inline void __attribute__ ((visibility("hidden")))
+ _muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id);
+ #endif /* OSSO_INTERNAL_H_ */
+--- libosso-2.16/src/osso-rpc.c
++++ libosso-2.16/src/osso-rpc.c
+@@ -1024,11 +1024,10 @@ _muali_parse_id(const char *id, muali_bu
+         }
+         buf[i] = '\0';
+         *serial = atoi(buf);
+ }
+-inline void __attribute__ ((visibility("hidden")))
+ _muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id)
+ {
+         snprintf(id, MAX_MSGID_LEN, "%d,%s,%d", bus, sender, serial);
+ }
+
diff --git a/libosso_2.16.bb b/libosso_2.16.bb
new file mode 100644 (file)
index 0000000..8c2d598
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright (C) 2009 Kirtika B Ruchandani <kirtibr@gmail.com> 
+# Released under the MIT license (see COPYING.MIT for the terms)
+# NOTE: outo is now optional in libosso.
+# libosso builds without outo. TO-DO- add outo recipes
+
+DESCRIPTION = "Nokia OSSO IPC library"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "GNU Lesser Public License-version 2.1"
+SECTION = "base"
+SECTION_${PN}-doc = "doc"
+SECTION_${PN}-dev = "devel"
+
+PR = "r1"
+
+
+require libosso.inc
+
+
+SRC_URI = " \
+            http://repository.maemo.org/pool/diablo/free/libo/${PN}/${PN}_${PV}-1.tar.gz \
+            file://gcc431.patch;patch=1 \
+          "
+
+PACKAGES += "${PN}-outo ${PN}-outo-dev ${PN}-outo-dbg ${PN}-outo-bin-dbg ${PN}-outo-bin"
+
+FILES_${PN}-outo = "${libdir}/outo/lib*.so"
+FILES_${PN}-outo-dev = "${libdir}/outo/*.la ${libdir}/outo/*.a"
+FILES_${PN}-outo-dbg = "${libdir}/outo/.debug/lib*.so"
+FILES_${PN}-outo-bin-dbg = "${libdir}/outo/.debug/*bin"
+FILES_${PN}-outo-bin = "${libdir}/outo/*bin ${libdir}/outo/mimedummy.doc"
diff --git a/mce-dev.inc b/mce-dev.inc
new file mode 100644 (file)
index 0000000..55db0d6
--- /dev/null
@@ -0,0 +1,22 @@
+LICENSE = "LGPL"
+DESCRIPTION = "Nokia MCE headers"
+
+inherit  pkgconfig 
+
+do_compile() {
+       # Nothing to compile in this recipe. These are just headers.
+       :
+}
+
+do_install() {
+       install -d ${D}${prefix}/include
+       install -d ${D}${libdir}/pkgconfig
+
+       cp -pPr include/* ${D}${prefix}/include
+       cp *.pc ${D}${libdir}/pkgconfig/
+}
+
+do_stage() {
+       cp -pPr include/* ${STAGING_INCDIR}/
+}
+
diff --git a/mce-dev_1.6.3.bb b/mce-dev_1.6.3.bb
new file mode 100644 (file)
index 0000000..62df7a1
--- /dev/null
@@ -0,0 +1,7 @@
+require mce-dev.inc
+
+PR = "r0"
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/m/mce-dev/mce-dev_${PV}.tar.gz"
+
+
diff --git a/osso-gwconnect_1.0.12.bb b/osso-gwconnect_1.0.12.bb
new file mode 100644 (file)
index 0000000..e85c0ca
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2009 Kirtika B Ruchandani <kirtibr@gmail.com> 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Nokia OSSO connectivity library & Bluetooth connectivity applications"
+HOMEPAGE = "http://maemo.org"
+LICENSE = "GPL"
+SECTION = "base"
+DEPENDS = "libosso libhildon bluez-libs"
+PR = "r1"
+
+
+SRC_URI = "http://repository.maemo.org/pool/diablo/free/o/${PN}/${PN}_${PV}.tar.gz"
+
+
+inherit autotools pkgconfig 
+
+do_configure_prepend() {
+       # remove Werror from OSSO_CFLAGS
+       sed -i s:-Werror::g configure.ac
+}
+
+do_stage() {
+       autotools_stage_all
+}
+
+