summaryrefslogtreecommitdiff
path: root/packages/rosetta
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/rosetta
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/rosetta')
-rw-r--r--packages/rosetta/rosetta-makefile.patch86
-rw-r--r--packages/rosetta/rosetta_cvs.bb27
2 files changed, 0 insertions, 113 deletions
diff --git a/packages/rosetta/rosetta-makefile.patch b/packages/rosetta/rosetta-makefile.patch
deleted file mode 100644
index 50495e69a3..0000000000
--- a/packages/rosetta/rosetta-makefile.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-Index: rosetta/Makefile
-===================================================================
---- rosetta.orig/Makefile 2005-03-04 02:54:06.000000000 +0000
-+++ rosetta/Makefile 2005-03-07 12:18:35.284433304 +0000
-@@ -26,39 +26,27 @@
- VERSION = 0.01
-
- DESTDIR =
--PREFIX = /usr/local
-+PREFIX = /usr
- OPTIONS = -DNEW_NORMALIZE_CODE -DNEW_MATCH_CODE
-
--ifeq ($(CROSSCOMPILE),yes)
--
--CC = arm-linux-gcc
--STRIP = arm-linux-strip
--
--PKG_CONFIG_PATH=/skiff/local/arm-linux/lib/pkgconfig/
--
--LDFLAGS += -L/skiff/local/arm-linux/lib
--LDFLAGS += -L/skiff/local/arm-linux/lib/X11
--LDFLAGS += -lX11 -lXtst -lXext -lm
--
--else
--
--CC = gcc
--STRIP = strip
--
--LDFLAGS += -L/usr/X11R6/lib -lX11 -lXtst -lm
--
--endif
--
- CONTROL = control
-
- CFLAGS += -Os -Wall
- CFLAGS += -MD $(OPTIONS) -g
--CFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DGTK_PACKAGE=\"$(GTK_PACKAGE)\" -DPREFIX=\"$(PREFIX)\"
--CFLAGS += -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
--CFLAGS += -DPACKAGE_DATA_DIR=\"$(PREFIX)/share/\"
--CFLAGS += -I$(GPE_DIR)/libgpewidget
--CFLAGS += -DENABLE_NLS -D_GNU_SOURCE
--CFLAGS += $(GPECFLAGS)
-+
-+PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" $(OPTIONS)
-+PACKAGE_CPPFLAGS += -DGTK_PACKAGE=\"$(GTK_PACKAGE)\"
-+PACKAGE_CPPFLAGS += -DPREFIX=\"$(PREFIX)\"
-+PACKAGE_CPPFLAGS += -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
-+PACKAGE_CPPFLAGS += -DPACKAGE_DATA_DIR=\"$(PREFIX)/share/\"
-+PACKAGE_CPPFLAGS += -DENABLE_NLS
-+
-+PACKAGE_CFLAGS += `pkg-config --cflags gtk+-2.0 libgpewidget x11 xrandr xrender xft xtst xext xau` -D_GNU_SOURCE
-+PACKAGE_LDFLAGS += `pkg-config --libs gtk+-2.0 libgpewidget x11 xrandr xrender xft xtst xext xau`
-+PACKAGE_LDFLAGS += -L/skiff/local/arm-linux/lib
-+PACKAGE_LDFLAGS += -L/skiff/local/arm-linux/lib/X11
-+PACKAGE_LDFLAGS += -lm
-+
- #CFLAGS += -DDEBUG
-
- .SUFFIXES: .d .c
-@@ -77,11 +65,15 @@
- all: $(PACKAGE) $(GTK_PACKAGE)
-
- $(PACKAGE): $(OBJS)
-- $(CC) -o $@ $^ $(LDFLAGS)
-+ $(CC) -o $@ $^ $(PACKAGE_LDFLAGS) $(LDFLAGS)
-
- $(GTK_PACKAGE): $(GTK_OBJS)
-- $(CC) -o $@ $^ $(LDFLAGS) $(GPELIBS) -lXrender -lXinerama
-+ $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) $(GPELIBS)
-+
-+.c.o:;
-+ $(CC) $(PACKAGE_CPPFLAGS) $(PACKAGE_CFLAGS) -c $< -o $@
-
-+install: install-program
- install-program: all
- install -D $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
- install -D $(GTK_PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(GTK_PACKAGE)
-@@ -92,7 +84,7 @@
- mkdir -p $(DESTDIR)/etc
- install -m 644 $(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps/$(PACKAGE).png
- install -m 644 penwrite24.png $(DESTDIR)$(PREFIX)/share/pixmaps/penwrite24.png
-- install -m 644 $(PACKAGE).pc $(DESTDIR)$(PREFIX)/share/$(PACKAGE)
-+# install -m 644 $(PACKAGE).pc $(DESTDIR)$(PREFIX)/share/$(PACKAGE)
- install -m 666 $(PACKAGE).db $(DESTDIR)$(PREFIX)/share/$(PACKAGE)
- install -m 644 $(PACKAGE).conf $(DESTDIR)/etc
- mkdir -p $(DESTDIR)$(PREFIX)/share/applications
diff --git a/packages/rosetta/rosetta_cvs.bb b/packages/rosetta/rosetta_cvs.bb
deleted file mode 100644
index 726b68aa81..0000000000
--- a/packages/rosetta/rosetta_cvs.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-SECTION = "x11/utils"
-PV = "0.0+cvs${SRCDATE}"
-DEPENDS = "gtk+ libgpewidget virtual/libx11 libxrandr libxft libxtst libxext libxau \
- virtual/libintl"
-DESCRIPTION = "Multistroke / full word handwriting recognition for X"
-LICENSE = "GPL"
-
-SRC_URI = "${HANDHELDS_CVS};module=rosetta \
- file://rosetta-makefile.patch;patch=1"
-S = "${WORKDIR}/rosetta"
-PR = "r4"
-
-inherit pkgconfig gettext
-
-FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps ${datadir}/applications ${datadir}/rosetta"
-
-do_install () {
- oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program
-}
-
-pkg_postinst () {
-if test "x$D" != "x"; then
- exit 1
-else
- ${prefix}/bin/rosetta -P
-fi
-}