From 36636a9e3896283d8c03de0f6987b24eb8c7c8ed Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 17 Dec 2008 12:13:21 +0000 Subject: meta-moblin: Add libjana (from meta-openmoko) --- .../packages/libjana/libjana/clockpatch.patch | 31 +++++++++++++++++++++ meta-moblin/packages/libjana/libjana_svn.bb | 32 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 meta-moblin/packages/libjana/libjana/clockpatch.patch create mode 100644 meta-moblin/packages/libjana/libjana_svn.bb diff --git a/meta-moblin/packages/libjana/libjana/clockpatch.patch b/meta-moblin/packages/libjana/libjana/clockpatch.patch new file mode 100644 index 000000000..7b2022223 --- /dev/null +++ b/meta-moblin/packages/libjana/libjana/clockpatch.patch @@ -0,0 +1,31 @@ +Index: jana/libjana-gtk/jana-gtk-clock.c +=================================================================== +--- jana.orig/libjana-gtk/jana-gtk-clock.c ++++ jana/libjana-gtk/jana-gtk-clock.c +@@ -695,7 +695,7 @@ draw_digital_clock (JanaGtkClock *clock, + cairo_fill (cr); + + /* Draw dark outline frame */ +- thickness = width/20; ++ thickness = width/40; + cairo_new_path (cr); + cairo_rectangle (cr, thickness/2, thickness/2, + width - thickness, height - thickness); +@@ -703,7 +703,7 @@ draw_digital_clock (JanaGtkClock *clock, + cairo_set_source_rgb (cr, base_color[0]/2, + base_color[1]/2, base_color[2]/2); + cairo_stroke (cr); +- ++#if 0 + /* Draw main outline frame */ + cairo_new_path (cr); + cairo_rectangle (cr, thickness, thickness, +@@ -728,7 +728,7 @@ draw_digital_clock (JanaGtkClock *clock, + base_color[1]/1.5, base_color[2]/1.5); + cairo_set_line_width (cr, thickness/2); + cairo_stroke (cr); +- ++#endif + cairo_identity_matrix (cr); + } + diff --git a/meta-moblin/packages/libjana/libjana_svn.bb b/meta-moblin/packages/libjana/libjana_svn.bb new file mode 100644 index 000000000..f3be4c8cf --- /dev/null +++ b/meta-moblin/packages/libjana/libjana_svn.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "O-Hand Jana Library" +DEPENDS = "libmokojournal2" +DEPENDS = "gtk+ eds-dbus gconf" +PV = "0.1.0+svnr${SRCREV}" +PR = "r5" + +inherit autotools pkgconfig lib_package + +SRC_URI = "svn://svn.o-hand.com/repos/jana/;module=trunk;proto=http" +S = "${WORKDIR}/trunk/" + +EXTRA_OECONF = "--enable-examples " + +do_configure_prepend() { + touch gtk-doc.make +} + +do_stage() { + autotools_stage_all +} + +PACKAGES =+ "libjana-ecal libjana-ecal-dbg \ + libjana-gtk libjana-gtk-dbg \ + " + +LEAD_SONAME = "libjana.so" + +FILES_libjana-ecal = "${libdir}/libjana-ecal.so.*" +FILES_libjana-ecal-dbg += "${libdir}/.debug/libjana-ecal*" +FILES_libjana-gtk = "${libdir}/libjana-gtk.so.* ${datadir}/jana/landwater.vmf" +FILES_libjana-gtk-dbg += "${libdir}/.debug/libjana-gtk.so.*" +FILES_libjana-bin_append = " ${datadir}/jana/flag-uk.png " -- cgit v1.2.3