summaryrefslogtreecommitdiff
path: root/meta-moblin/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-17 12:13:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-17 12:13:21 +0000
commit36636a9e3896283d8c03de0f6987b24eb8c7c8ed (patch)
tree42203d460d454cc7f4657d38eab0538d165904a6 /meta-moblin/packages
parent57ba4a20fb28fdc228ba2ea405984349be5984e9 (diff)
downloadopenembedded-core-36636a9e3896283d8c03de0f6987b24eb8c7c8ed.tar.gz
openembedded-core-36636a9e3896283d8c03de0f6987b24eb8c7c8ed.tar.bz2
openembedded-core-36636a9e3896283d8c03de0f6987b24eb8c7c8ed.zip
meta-moblin: Add libjana (from meta-openmoko)
Diffstat (limited to 'meta-moblin/packages')
-rw-r--r--meta-moblin/packages/libjana/libjana/clockpatch.patch31
-rw-r--r--meta-moblin/packages/libjana/libjana_svn.bb32
2 files changed, 63 insertions, 0 deletions
diff --git a/meta-moblin/packages/libjana/libjana/clockpatch.patch b/meta-moblin/packages/libjana/libjana/clockpatch.patch
new file mode 100644
index 0000000000..7b20222239
--- /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 0000000000..f3be4c8cfd
--- /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 "