From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: 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 Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/galculator/galculator-1.2.3/Makefile.am.patch | 14 ++++++++++++++ .../galculator-1.2.3/desktop-categories.patch | 10 ++++++++++ recipes/galculator/galculator-1.2.3/src-ui.c.patch | 11 +++++++++++ recipes/galculator/galculator_1.2.3.bb | 19 +++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 recipes/galculator/galculator-1.2.3/Makefile.am.patch create mode 100644 recipes/galculator/galculator-1.2.3/desktop-categories.patch create mode 100644 recipes/galculator/galculator-1.2.3/src-ui.c.patch create mode 100644 recipes/galculator/galculator_1.2.3.bb (limited to 'recipes/galculator') diff --git a/recipes/galculator/galculator-1.2.3/Makefile.am.patch b/recipes/galculator/galculator-1.2.3/Makefile.am.patch new file mode 100644 index 0000000000..d39b5ea902 --- /dev/null +++ b/recipes/galculator/galculator-1.2.3/Makefile.am.patch @@ -0,0 +1,14 @@ +--- galculator-1.2.3/src/Makefile.am 2004-03-20 19:58:18.000000000 +0100 ++++ galculator-1.2.3-oe/src/Makefile.am 2004-05-26 15:35:46.000000000 +0200 +@@ -1,9 +1,8 @@ + ## Process this file with automake to produce Makefile.in + # -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ +-# \ ++# + +-INCLUDES = \ +- -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \ ++INCLUDES = -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \ + -DPACKAGE_GLADE_DIR=\""$(datadir)/galculator/glade"\" \ + @PACKAGE_CFLAGS@ + diff --git a/recipes/galculator/galculator-1.2.3/desktop-categories.patch b/recipes/galculator/galculator-1.2.3/desktop-categories.patch new file mode 100644 index 0000000000..160932d026 --- /dev/null +++ b/recipes/galculator/galculator-1.2.3/desktop-categories.patch @@ -0,0 +1,10 @@ +--- galculator-1.2.3/galculator.desktop.in.old 2004-08-03 15:41:54.000000000 +0100 ++++ galculator-1.2.3/galculator.desktop.in 2004-08-03 15:42:00.000000000 +0100 +@@ -5,6 +5,6 @@ + Icon=gnome-calc2.png + Terminal=false + Type=Application +-Categories=Application;Utility; ++Categories=Application;Utility;Office; + StartupNotify=true + Encoding=UTF-8 diff --git a/recipes/galculator/galculator-1.2.3/src-ui.c.patch b/recipes/galculator/galculator-1.2.3/src-ui.c.patch new file mode 100644 index 0000000000..7da341a39b --- /dev/null +++ b/recipes/galculator/galculator-1.2.3/src-ui.c.patch @@ -0,0 +1,11 @@ +--- src/ui.c.orig 2004-08-09 17:26:37.000000000 +0200 ++++ src/ui.c 2004-08-09 17:22:02.000000000 +0200 +@@ -582,7 +582,7 @@ + /* just put one here and hide it afterwards. we need the button + for working key accelerators. */ + if (prefs.mode == BASIC_MODE) +- ui_main_window_set_dispctrl (DISPCTRL_BOTTOM); ++ ui_main_window_set_dispctrl (DISPCTRL_RIGHT); + else if (current_status.notation == CS_RPN) + ui_main_window_set_dispctrl (DISPCTRL_RIGHTV); + else ui_main_window_set_dispctrl (DISPCTRL_RIGHT); diff --git a/recipes/galculator/galculator_1.2.3.bb b/recipes/galculator/galculator_1.2.3.bb new file mode 100644 index 0000000000..3348b9ece4 --- /dev/null +++ b/recipes/galculator/galculator_1.2.3.bb @@ -0,0 +1,19 @@ +LICENSE = "GPL" +PR = "r7" + +inherit autotools pkgconfig gconf + +PROVIDES = "galculator" +DESCRIPTION = "GTK Advanced Calculator" +DEPENDS = "virtual/libc gtk+ libglade gnome-desktop" +RDEPENDS = "gnome-desktop" +SECTION = "gpe" +PRIORITY = "optional" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.bz2 \ + file://desktop-categories.patch;patch=1 \ + file://Makefile.am.patch;patch=1 \ + file://src-ui.c.patch;patch=1;pnum=0" + +LDFLAGS += '-Wl,--export-dynamic' + -- cgit 1.2.3-korg