From df4b6704ad5b3e016af70810f7ee9bb358ffd6fc Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Fri, 22 Feb 2008 23:56:40 +0000 Subject: free42: fix SRC_URI, add HOMEPAGE and update to latest version 1.4.41. Closes 3643. --- packages/free42/free42-vga_1.4.36.bb | 44 ------------------------------------ packages/free42/free42-vga_1.4.41.bb | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 packages/free42/free42-vga_1.4.36.bb create mode 100644 packages/free42/free42-vga_1.4.41.bb (limited to 'packages/free42') diff --git a/packages/free42/free42-vga_1.4.36.bb b/packages/free42/free42-vga_1.4.36.bb deleted file mode 100644 index 3f64f99c6a..0000000000 --- a/packages/free42/free42-vga_1.4.36.bb +++ /dev/null @@ -1,44 +0,0 @@ -DESCRIPTION = "Free42 RPN Calculator" -SECTION = "openmoko/applications" -DEPENDS = "gtk+" -PV = "1.4.36" -PR = "r1" - -SRC_URI = "http://home.planet.nl/~demun000/thomas_projects/free42/free42.tgz \ - http://sense.net/zc/free42/42c_skins.tgz \ - file://free42-bcd-gtk-only.patch;patch=1 \ - file://free42-vga-skin.patch;patch=1 \ - file://free42-dont-declare-sincos.patch;patch=1 \ - file://free42dec.desktop" - -S = "${WORKDIR}/free42" - -TARGET_CXXFLAGS_append = " -fsigned-char" -TARGET_CXXFLAGS_append += "-DVERSION=\\"${PV}\\" -DBCD_MATH" -TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/gtk-2.0" -TARGET_CXXFLAGS_append += "-I${STAGING_LIBDIR}/gtk-2.0/include" -TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/cairo" -TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/glib-2.0" -TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/pango-1.0" -TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/atk-1.0" - -do_compile() { - cp -fv ${S}/common/* ${S}/gtk - cp -fv ${S}/ppcskins/Ehrling42ssv.* ${S}/skins/ - cp ${WORKDIR}/42ct.* ${S}/skins/ - cd ${S}/gtk/ - ${BUILD_CXX} -o skin2cc skin2cc.cc ${BUILD_CXXFLAGS} - ${BUILD_CXX} -o keymap2cc keymap2cc.cc ${BUILD_CXXFLAGS} - oe_runmake -} - -do_install() { - install -d ${D}${bindir} - install -m 0755 ${S}/gtk/free42dec ${D}${bindir}/free42dec - install -d ${D}${datadir}/applications - install -m 0644 ${WORKDIR}/free42dec.desktop ${D}${datadir}/applications/ - install -d ${D}${datadir}/pixmaps - install -m 0644 ${S}/gtk/icon.xpm ${D}${datadir}/pixmaps/free42.xpm -} - - diff --git a/packages/free42/free42-vga_1.4.41.bb b/packages/free42/free42-vga_1.4.41.bb new file mode 100644 index 0000000000..ff5e07feae --- /dev/null +++ b/packages/free42/free42-vga_1.4.41.bb @@ -0,0 +1,44 @@ +DESCRIPTION = "Free42 RPN Calculator" +HOMEPAGE = "http://free42.sf.net" +SECTION = "openmoko/applications" +DEPENDS = "gtk+" +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/free42/free42.tgz \ + http://sense.net/zc/free42/42c_skins.tgz \ + file://free42-bcd-gtk-only.patch;patch=1 \ + file://free42-vga-skin.patch;patch=1 \ + file://free42-dont-declare-sincos.patch;patch=1 \ + file://free42dec.desktop" + +S = "${WORKDIR}/free42" + +TARGET_CXXFLAGS_append = " -fsigned-char" +TARGET_CXXFLAGS_append += "-DVERSION=\\"${PV}\\" -DBCD_MATH" +TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/gtk-2.0" +TARGET_CXXFLAGS_append += "-I${STAGING_LIBDIR}/gtk-2.0/include" +TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/cairo" +TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/glib-2.0" +TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/pango-1.0" +TARGET_CXXFLAGS_append += "-I${STAGING_INCDIR}/atk-1.0" + +do_compile() { + cp -fv ${S}/common/* ${S}/gtk + cp -fv ${S}/ppcskins/Ehrling42ssv.* ${S}/skins/ + cp ${WORKDIR}/42ct.* ${S}/skins/ + cd ${S}/gtk/ + ${BUILD_CXX} -o skin2cc skin2cc.cc ${BUILD_CXXFLAGS} + ${BUILD_CXX} -o keymap2cc keymap2cc.cc ${BUILD_CXXFLAGS} + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${S}/gtk/free42dec ${D}${bindir}/free42dec + install -d ${D}${datadir}/applications + install -m 0644 ${WORKDIR}/free42dec.desktop ${D}${datadir}/applications/ + install -d ${D}${datadir}/pixmaps + install -m 0644 ${S}/gtk/icon.xpm ${D}${datadir}/pixmaps/free42.xpm +} + + -- cgit v1.2.3