From 4b7993d765944a2c6a0ab954079e4ac98b66dbe3 Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Fri, 24 Sep 2004 12:42:40 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into chris.(none):/home/cwiiis/oe/packages 2004/09/24 13:28:10+01:00 (none)!cwiiis Fix rosetta problems, courtesy of Ole Reinhardt and florian. BKrev: 41541640YJon8iOgGNhJ13j_1fAavg --- rosetta/rosetta-makefile.patch | 2 +- rosetta/rosetta_cvs.oe | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'rosetta') diff --git a/rosetta/rosetta-makefile.patch b/rosetta/rosetta-makefile.patch index 7b9db522e4..73efd99535 100644 --- a/rosetta/rosetta-makefile.patch +++ b/rosetta/rosetta-makefile.patch @@ -46,7 +46,7 @@ diff -u rosetta.orig/Makefile rosetta/Makefile -CFLAGS += -DENABLE_NLS -CFLAGS += $(GPECFLAGS) + -+PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" ++PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" $(OPTIONS) +PACKAGE_CPPFLAGS += -DGTK_PACKAGE=\"$(GTK_PACKAGE)\" +PACKAGE_CPPFLAGS += -DPREFIX=\"$(PREFIX)\" +PACKAGE_CPPFLAGS += -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\" diff --git a/rosetta/rosetta_cvs.oe b/rosetta/rosetta_cvs.oe index d8ffaa47e1..e8d2231d3c 100644 --- a/rosetta/rosetta_cvs.oe +++ b/rosetta/rosetta_cvs.oe @@ -5,7 +5,7 @@ DESCRIPTION = "Multistroke / full word handwriting recognition for X" SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=rosetta \ file://rosetta-makefile.patch;patch=1" S = "${WORKDIR}/rosetta" -PR = "r1" +PR = "r2" inherit pkgconfig @@ -15,3 +15,6 @@ do_install () { oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program } +do_postinst () { + ${prefix}/bin/rosetta -R +} -- cgit v1.2.3