diff options
1181 files changed, 72709 insertions, 0 deletions
diff --git a/COPYING.MIT b/COPYING.MIT new file mode 100644 index 0000000..fb950dc --- /dev/null +++ b/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. @@ -0,0 +1,36 @@ +meta-opie +========= + +This layer provides the metadata necessary to build Opie, Qt/Embedded 2.3.10, +related libraries and 3rd-party Qtopia applications. Initially based on +recipes developed within OpenEmbedded master. + + +Dependencies +------------ + +This layer depends on: + +URI: git://git.openembedded.org/openembedded-core +branch: master +revision: HEAD + + +Maintenance +----------- + +Send patches / pull requests to openembedded-devel@lists.openembedded.org +with '[meta-opie]' in the subject. + +Main layer maintainer: Paul Eggleton <paul.eggleton@linux.intel.com> + + +License +------- + +All metadata is MIT licensed unless otherwise stated. Source code included +in tree for individual recipes is under the LICENSE stated in each recipe +(.bb file) unless otherwise stated. + +This README document is Copyright (C) 2011 Intel Corporation. + diff --git a/classes/opie.bbclass b/classes/opie.bbclass new file mode 100644 index 0000000..833ea4d --- /dev/null +++ b/classes/opie.bbclass @@ -0,0 +1,105 @@ +# +# This oeclass takes care about some of the itchy details of installing parts +# of Opie applications. Depending on quicklaunch or not, plugin or not, the +# TARGET is either a shared object, a shared object with a link to quicklauncher, +# or a usual binary. +# +# You have to provide two things: 1.) A proper SECTION field, and 2.) a proper APPNAME +# Then opie.oeclass will: +# * create the directory for the binary and install the binary file(s) +# * for applications: create the directory for the .desktop and install the .desktop file +# * for quicklauncher applications: create the startup symlink to the quicklauncher +# You can override the automatic detection of APPTYPE, valid values are 'quicklaunch', 'binary', 'plugin' +# You can override the default location of APPDESKTOP (<workdir>/apps/<section>/) +# + +inherit palmtop + +OPIE_CVS_PV ?= "1.2.2+cvs${SRCDATE}" +OPIE_SRCREV ?= "8c3beef263bc9c34443eacfc821e99813e17554f" +OPIE_GIT_PV ?= "1.2.4+gitr${OPIE_SRCREV}" +DEPENDS_prepend = "${@["libopie2 ", ""][(bb.data.getVar('PN', d, 1) == 'libopie2')]}" + +# to be consistent, put all targets into workdir +# NOTE: leave one space at the end, other files are expecting that +EXTRA_QMAKEVARS_POST += " DESTDIR=${S} " + +# Opie standard TAG value +TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" + +# plan for later: +# add common scopes for opie applications, see qmake-native/common.pro +# qmake should care about all the details then. qmake can do that, i know it :) +# + +python opie_do_opie_install() { + import os, shutil + section = bb.data.getVar( "SECTION", d ).split( '/' )[1] or "Applications" + section = section.title() + if section in ( "Base", "Libs" ): + bb.note( "Section = Base or Libs. Target won't be installed automatically." ) + return + + # SECTION : BINDIR DESKTOPDIR + dirmap = { "Applets" : ( "/plugins/applets", None ), + "Applications" : ( "<BINDIR>", "/apps/Applications" ), + "Multimedia" : ( "<BINDIR>", "/apps/Applications" ), + "Games" : ( "<BINDIR>", "/apps/Games" ), + "Settings" : ( "<BINDIR>", "/apps/Settings" ), + "Pim" : ( "<BINDIR>", "/apps/1Pim" ), + "Examples" : ( "<BINDIR>", "/apps/Examples" ), + "Shell" : ( "/bin", "/apps/Opie-SH" ), + "Codecs" : ( "/plugins/codecs", None ), + "Decorations" : ( "/plugins/decorations", None ), + "Inputmethods" : ( "/plugins/inputmethods", None ), + "Fontfactories" : ( "/plugins/fontfactories", None ), + "Security" : ( "/plugins/security", None ), + "Styles" : ( "/plugins/styles", None ), + "Today" : ( "/plugins/today", None ), + "Datebook" : ( "/plugins/holidays", None ), + "Networksettings" : ( "/plugins/networksettings", None ) } + + if section not in dirmap: + raise ValueError, "Unknown section '%s'. Valid sections are: %s" % ( section, dirmap.keys() ) + + bindir, desktopdir = dirmap[section] + APPNAME = bb.data.getVar( "APPNAME", d, True ) or bb.data.getVar( "PN", d, True ) + APPTYPE = bb.data.getVar( "APPTYPE", d, True ) + if not APPTYPE: + if bindir == "<BINDIR>": + APPTYPE = "quicklaunch" + else: + APPTYPE = "plugin" + + appmap = { "binary":"/bin", "quicklaunch":"/plugins/application" } + if bindir == "<BINDIR>": bindir = appmap[APPTYPE] + + bb.note( "Section='%s', bindir='%s', desktopdir='%s', name='%s', type='%s'" % + ( section, bindir, desktopdir, APPNAME, APPTYPE ) ) + + S = bb.data.getVar( "S", d, 1 ) + D = "%s/image" % bb.data.getVar( "WORKDIR", d, True ) + WORKDIR = bb.data.getVar( "WORKDIR", d, True ) + palmtopdir = bb.data.getVar( "palmtopdir", d, True ) + gnubindir = bb.data.getVar( "bindir", d, True ) + APPDESKTOP = bb.data.getVar( "APPDESKTOP", d, True ) or "%s/%s" % ( WORKDIR, desktopdir ) + + if desktopdir is not None: + os.system( "install -d %s%s%s/" % ( D, palmtopdir, desktopdir ) ) + os.system( "install -m 0644 %s/%s.desktop %s%s%s/" % ( APPDESKTOP, APPNAME, D, palmtopdir, desktopdir ) ) + + os.system( "install -d %s%s%s/" % ( D, palmtopdir, bindir ) ) + + if APPTYPE == "binary": + os.system( "install -d %s%s/" % ( D, gnubindir ) ) + os.system( "install -m 0755 %s/%s %s%s/" % ( S, APPNAME, D, gnubindir ) ) + elif APPTYPE == "quicklaunch": + os.system( "install -m 0755 %s/lib%s.so %s%s%s/" % ( S, APPNAME, D, palmtopdir, bindir ) ) + os.system( "install -d %s%s/" % ( D, gnubindir ) ) + os.system( "ln -sf %s/quicklauncher %s%s/%s" % ( gnubindir, D, gnubindir, APPNAME ) ) + elif APPTYPE == "plugin": + os.system( "install -m 0755 %s/lib%s.so %s%s%s/" % ( S, APPNAME, D, palmtopdir, bindir ) ) +} + +EXPORT_FUNCTIONS do_opie_install +addtask opie_install after do_compile before do_package diff --git a/classes/opie_i18n.bbclass b/classes/opie_i18n.bbclass new file mode 100644 index 0000000..c9b0134 --- /dev/null +++ b/classes/opie_i18n.bbclass @@ -0,0 +1,163 @@ +# classes/opie_i18n.oeclass Matthias 'CoreDump' Hentges 16-10-2004 +# +# Automatically builds i18n ipks for opie packages. It downloads opie-i18n from opie CVS +# and tries to guess the name of the .ts file based on the package name: +# ${PN}.ts, lib${PN}.ts and opie-${PN}.ts are all valid. The .ts "guessing" can be +# disabled by setting I18N_FILES in the .oe file. +# +# Todo: +# + +I18N_STATS = "1" +SRC_URI += "${OPIE_GIT};protocol=git;subpath=i18n" +DEPENDS += "opie-i18n" + +die () { + printf "opie_18n: ERROR: $1\n" + exit 1 +} + +python do_build_opie_i18n_data() { + + import os, bb, re + workdir = bb.data.getVar("WORKDIR", d, 1) + packages = bb.data.getVar("PACKAGES", d, 1) + files = bb.data.getVar("FILES", d, 1) + section = bb.data.getVar("SECTION", d, 1) + pn = bb.data.getVar("PN", d, 1) + rdepends = bb.data.getVar("RDEPENDS", d, 1) + + if os.path.exists(workdir + "/PACKAGES.tmp"): + fd = open(workdir + "/PACKAGES.tmp", 'r') + lines = fd.readlines() + fd.close() + + bb.data.setVar('PACKAGES', " ".join(lines).lower() + " " + packages, d) + + fd = open(workdir + "/FILES.tmp", 'r') + lines = fd.readlines() + fd.close() + + for l in lines: + x = re.split("\#", l) + bb.data.setVar('FILES_%s' % x[0].lower(), " " + x[1].strip('\n'), d) + bb.data.setVar('SECTION_%s' % x[0].lower(), "opie/translations", d) + bb.data.setVar('RDEPENDS_%s' % x[0].lower(), pn, d) + + bb.data.setVar('SECTION_%s' % pn, section, d) + bb.data.setVar('RDEPENDS', rdepends, d) + else: + bb.note("No translations found for package " + pn) +} + +do_build_opie_i18n () { + + cd "${WORKDIR}/i18n" || die "ERROR:\nCouldn't find Opies i18n sources in ${PN}/i18n\nMake sure that <inherit opie_i18n> or <inherit opie> is *below* <SRC_URIS =>!" + + if test -z "${I18N_FILES}" + then + package_name="`echo "${PN}"| sed "s/^opie\-//"`" + package_name2="`echo "${PN}"| sed "s/^opie\-//;s/\-//"`" + test "$package_name" != "$package_name2" && I18N_FILES="${package_name}.ts lib${package_name}.ts opie-${package_name}.ts ${package_name2}.ts lib${package_name2}.ts opie-${package_name2}.ts" + test "$package_name" = "$package_name2" && I18N_FILES="${package_name}.ts lib${package_name}.ts opie-${package_name}.ts" + printf "I18N Datafiles: ${I18N_FILES} (auto-detected)\nYou can overide the auto-detection by setting I18N_FILES in your .oe file\n" + else + echo "I18N Datafiles: ${I18N_FILES} (provided by .bb)" + fi + + rm -f "${WORKDIR}/FILES.tmp" "${WORKDIR}/PACKAGES.tmp" + + printf "\nFILES is set to [${FILES}]\n\n" + + for file in ${I18N_FILES} + do + echo "Working on [$file]" + for ts_file in `ls -1 */*.ts | egrep "/$file"` + do + printf "\tCompiling [$ts_file]\n" + cd "${WORKDIR}/i18n/`dirname $ts_file`" || die "[${WORKDIR}/i18n/`dirname $ts_file`] not found" + opie-lrelease "`basename $ts_file`" || die "lrelease failed! Make sure that <inherit opie_i18n> or <inherit opie> is *below* <DEPENDS =>!" + + # $lang is the language as in de_DE, $lang_sane replaces "_" with "-" + # to allow packaging as "_" is not allowed in a package name + lang="`echo "$ts_file" | sed -n "s#\(.*\)/\(.*\)#\1#p"`" + lang_sane="`echo "$ts_file" | sed -n "s#\(.*\)/\(.*\)#\1#p"|sed s/\_/\-/`" + printf "\tPackaging [`basename $ts_file`] for language [$lang]\n" + + install -d ${D}${palmtopdir}/i18n/$lang + install -m 0644 ${WORKDIR}/i18n/$lang/.directory ${D}${palmtopdir}/i18n/$lang/ + install -m 0644 ${WORKDIR}/i18n/$lang/*.qm "${D}${palmtopdir}/i18n/$lang/" + + # As it is not possible to modify OE vars from within a _shell_ function, + # some major hacking was needed. These two files will be read by the python + # function do_build_opie_i18n_data() which sets the variables FILES_* and + # PACKAGES as needed. + echo -n "${PN}-${lang_sane} " >> "${WORKDIR}/PACKAGES.tmp" + printf "${PN}-${lang_sane}#${palmtopdir}/i18n/$lang" >> "${WORKDIR}/FILES.tmp\n" + + ts_found_something=1 + done + + if test "$ts_found_something" != 1 + then + printf "\tNo translations found\n" + else + ts_found_something="" + ts_found="$ts_found $file" + fi + + # Only used for debugging purposes + test "${I18N_STATS}" = 1 && cd "${WORKDIR}/i18n" + + printf "Completed [$file]\n\n\n" + done + + qt_dirs="apps bin etc lib pics plugins share sounds" + + for dir in $qt_dirs + do + dir_="$dir_ ${palmtopdir}/$dir " + done + + + # If we don't adjust FILES to exclude the i18n directory, we will end up with + # _lots_ of empty i18n/$lang directories in the original .ipk. + if (echo "${FILES}" | egrep "${palmtopdir}/? |${palmtopdir}/?$") &>/dev/null + then + echo "NOTE: FILES was set to ${palmtopdir} which would include the i18n directory" + printf "\n\nI'll remove ${palmtopdir} from FILES and replace it with all directories\n" + echo "below QtPalmtop, except i18n ($qt_dirs). See classes/opie_i18n.oeclass for details" + + # Removes /opt/QtPalmtop from FILES but keeps /opt/QtPalmtop/$some_dir + FILES="`echo "$FILES"| sed "s#${palmtopdir}[/]\?\$\|${palmtopdir}[/]\? ##"`" + + echo "${PN}#$FILES $dir_" >> "${WORKDIR}/FILES.tmp" + fi + + # This is the common case for OPIE apps which are installed by opie.oeclass magic + if test -z "${FILES}" + then + echo "NOTE:" + printf "Since FILES is empty, i'll add all directories below ${palmtopdir} to it,\nexcluding i18n: ( $qt_dirs )\n" + echo "${PN}#$FILES $dir_" >> "${WORKDIR}/FILES.tmp" + fi + + if ! test -e "${WORKDIR}/PACKAGES.tmp" -a "${I18N_STATS}" = 1 + then + echo "No translations for package [${PN}]" >> /tmp/oe-i18n-missing.log + else + echo "Using [$ts_found ] for package [${PN}]" >> /tmp/oe-i18n.log + fi + + # While this might not be very elegant, it safes a _ton_ of space (~30Mb) for + # each opie package. + for file in $(ls */*.ts | egrep -v "`echo "$ts_found"| sed "s/^\ //;s/\ /\|/"`") + do + rm "$file" + done + + return 0 +} + +addtask build_opie_i18n before do_compile +addtask build_opie_i18n_data after do_build_opie_i18n before do_compile diff --git a/classes/palmtop.bbclass b/classes/palmtop.bbclass new file mode 100644 index 0000000..b4ee62c --- /dev/null +++ b/classes/palmtop.bbclass @@ -0,0 +1,26 @@ +# this build class sets up qmake variables to +# * build using the Qt Windowing System (QWS) +# * use qt +# * link against supc++ instead of stdc++ +# * use threads, if requested via PALMTOP_USE_MULTITHREADED_QT = "yes" +# inherit this class to build programs against libqpe +# inherit opie if you want to build programs against libopie2 +# don't override EXTRA_QMAKEVARS_POST, if you use inherit this class + +inherit qmake + +# special case for DISTRO = sharprom +CPP_SUPPORT_LIB = "LIBS-=-lstdc++ LIBS+=-lsupc++" +CPP_SUPPORT_LIB_sharprom-compatible = "LIBS+=-lstdc++" +EXTRA_QMAKEVARS_POST += "DEFINES+=QWS CONFIG+=qt ${CPP_SUPPORT_LIB}" +EXTRA_QMAKEVARS_POST += '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "CONFIG+=thread", "CONFIG-=thread",d)}' +EXTRA_QMAKEVARS_POST += "${@["LIBS+=-lqpe ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" +DEPENDS_prepend = "${@["virtual/libqpe1 uicmoc-native ", ""][(bb.data.getVar('PN', d, 1) == 'libqpe-opie')]}" +QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}' +EXTRA_QMAKEVARS_POST += " DEFINES+=OPIE_BINDIR='\"${bindir}\"' DEFINES+=OPIE_LIBDIR='\"${libdir}/opie/lib\"' DEFINES+=OPIE_QTDIR='\"${libdir}/opie\"' " + +PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale" +FILES_${PN} += " ${palmtopdir} " +FILES_${PN}-dbg += " ${palmtopdir}/lib/.debug \ + ${palmtopdir}/bin/.debug \ + ${palmtopdir}/plugins/*/.debug " diff --git a/classes/qmake.bbclass b/classes/qmake.bbclass new file mode 100644 index 0000000..40fc739 --- /dev/null +++ b/classes/qmake.bbclass @@ -0,0 +1,15 @@ +inherit qmake_base + +DEPENDS_prepend = "qmake-native " + +export QMAKESPEC +export OE_QMAKE_UIC="${STAGING_BINDIR_NATIVE}/uic" +export OE_QMAKE_MOC="${STAGING_BINDIR_NATIVE}/moc" +export OE_QMAKE_QMAKE="${STAGING_BINDIR_NATIVE}/qmake" +export OE_QMAKE_CXXFLAGS="-fno-exceptions -fno-rtti ${CXXFLAGS}" +export OE_QMAKE_LINK="${CCLD}" +export OE_QMAKE_INCDIR_QT="${STAGING_INCDIR}/qte" +export OE_QMAKE_LIBDIR_QT="${STAGING_LIBDIR}" +export OE_QMAKE_LIBS_QT="qte" +export OE_QMAKE_LIBS_X11="" + diff --git a/classes/qmake_base.bbclass b/classes/qmake_base.bbclass new file mode 100644 index 0000000..cc3297c --- /dev/null +++ b/classes/qmake_base.bbclass @@ -0,0 +1,105 @@ + +OE_QMAKE_PLATFORM = "${TARGET_OS}-oe-g++" +QMAKESPEC = "${QMAKE_MKSPEC_PATH}/${OE_QMAKE_PLATFORM}" + +# We override this completely to eliminate the -e normally passed in +EXTRA_OEMAKE = ' MAKEFLAGS= ' + +export OE_QMAKE_CC="${CC}" +export OE_QMAKE_CFLAGS="${CFLAGS}" +export OE_QMAKE_CXX="${CXX}" +export OE_QMAKE_LDFLAGS="${LDFLAGS}" +export OE_QMAKE_AR="${AR}" +export OE_QMAKE_STRIP="echo" +export OE_QMAKE_RPATH="-Wl,-rpath-link," + +# do not export STRIP to the environment +STRIP[unexport] = "1" + +# default to qte2 via bb.conf, inherit qt3x11 to configure for qt3x11 + +oe_qmake_mkspecs () { + mkdir -p mkspecs/${OE_QMAKE_PLATFORM} + for f in ${QMAKE_MKSPEC_PATH}/${OE_QMAKE_PLATFORM}/*; do + if [ -L $f ]; then + lnk=`readlink $f` + if [ -f mkspecs/${OE_QMAKE_PLATFORM}/$lnk ]; then + ln -s $lnk mkspecs/${OE_QMAKE_PLATFORM}/`basename $f` + else + cp $f mkspecs/${OE_QMAKE_PLATFORM}/ + fi + else + cp $f mkspecs/${OE_QMAKE_PLATFORM}/ + fi + done +} + +do_generate_qt_config_file() { + export QT_CONF_PATH=${WORKDIR}/qt.conf + cat > ${WORKDIR}/qt.conf <<EOF +[Paths] +Prefix = ${STAGING_DIR} +Binaries = ${BUILD_SYS}${bindir_native} +Headers = ${BASEPKG_HOST_SYS}${layout_prefix}/include/qt4 +Plugins = ${BASEPKG_HOST_SYS}${layout_prefix}/lib/qt4/plugins/ +Mkspecs = ${BASEPKG_HOST_SYS}${layout_prefix}/share/qt4/mkspecs/ +EOF +} + +addtask generate_qt_config_file after do_patch before do_configure + +qmake_base_do_configure() { + case ${QMAKESPEC} in + *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++|*linux-uclibceabi-oe-g++|*linux-gnuspe-oe-g++|*linux-uclibcspe-oe-g++) + ;; + *-oe-g++) + die Unsupported target ${TARGET_OS} for oe-g++ qmake spec + ;; + *) + oenote Searching for qmake spec file + paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-${TARGET_ARCH}-g++" + paths="${QMAKE_MKSPEC_PATH}/${TARGET_OS}-g++ $paths" + + if (echo "${TARGET_ARCH}"|grep -q 'i.86'); then + paths="${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-x86-g++ $paths" + fi + for i in $paths; do + if test -e $i; then + export QMAKESPEC=$i + break + fi + done + ;; + esac + + oenote "using qmake spec in ${QMAKESPEC}, using profiles '${QMAKE_PROFILES}'" + + if [ -z "${QMAKE_PROFILES}" ]; then + PROFILES="`ls ${S}/*.pro`" + else + PROFILES="${QMAKE_PROFILES}" + fi + + if [ -z "$PROFILES" ]; then + die "QMAKE_PROFILES not set and no profiles found in $PWD" + fi + + if [ ! -z "${EXTRA_QMAKEVARS_POST}" ]; then + AFTER="-after" + QMAKE_VARSUBST_POST="${EXTRA_QMAKEVARS_POST}" + oenote "qmake postvar substitution: ${EXTRA_QMAKEVARS_POST}" + fi + + if [ ! -z "${EXTRA_QMAKEVARS_PRE}" ]; then + QMAKE_VARSUBST_PRE="${EXTRA_QMAKEVARS_PRE}" + oenote "qmake prevar substitution: ${EXTRA_QMAKEVARS_PRE}" + fi + +#oenote "Calling '${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST'" + unset QMAKESPEC || true + ${OE_QMAKE_QMAKE} -makefile -spec ${QMAKESPEC} -o Makefile $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling ${OE_QMAKE_QMAKE} on $PROFILES" +} + +EXPORT_FUNCTIONS do_configure + +addtask configure after do_unpack do_patch before do_compile diff --git a/classes/qt3e.bbclass b/classes/qt3e.bbclass new file mode 100644 index 0000000..d3d4a14 --- /dev/null +++ b/classes/qt3e.bbclass @@ -0,0 +1,11 @@ +# +# override variables set by qmake_base to compile Qt/X11 apps +# +export QTDIR="${STAGING_DIR_HOST}/qte3" +export QTEDIR="${STAGING_DIR_HOST}/qte3" +export OE_QMAKE_UIC="${STAGING_BINDIR_NATIVE}/uic3" +export OE_QMAKE_MOC="${STAGING_BINDIR_NATIVE}/moc3" +export OE_QMAKE_CXXFLAGS="${CXXFLAGS} " +export OE_QMAKE_INCDIR_QT="${STAGING_INCDIR}/qte3/include" +export OE_QMAKE_LIBDIR_QT="${STAGING_LIBDIR}/qte3/lib" +export OE_QMAKE_LIBS_QT="qte" diff --git a/classes/sdl.bbclass b/classes/sdl.bbclass new file mode 100644 index 0000000..dc4cd8f --- /dev/null +++ b/classes/sdl.bbclass @@ -0,0 +1,46 @@ +# +# (C) Michael 'Mickey' Lauer <mickey@Vanille.de> +# + +DEPENDS += "virtual/libsdl libsdl-mixer libsdl-image" + +APPDESKTOP ?= "${WORKDIR}/${PN}.desktop" +APPNAME ?= "${PN}" +APPIMAGE ?= "${WORKDIR}/${PN}.png" + +export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config" + +sdl_do_sdl_install() { + install -d ${D}${datadir}/applications + install -d ${D}${datadir}/pixmaps + + install -m 0644 ${APPIMAGE} ${D}${datadir}/pixmaps/${PN}.png + + if [ -e "${APPDESKTOP}" ] + then + echo ${APPDESKTOP} present, using it... + install -m 0644 ${APPDESKTOP} ${D}${datadir}/applications/ + else + echo ${APPDESKTOP} not present, creating one on-the-fly... + cat >${D}${datadir}/applications/${PN}.desktop <<EOF +[Desktop Entry] +Name=${PN} +Comment=${DESCRIPTION} +Note=Auto Generated by OE SDL bbclass +Exec=${APPNAME} +Icon=${PN}.png +Type=Application +Categories=Games +EOF + fi +} + +EXPORT_FUNCTIONS do_sdl_install +addtask sdl_install after do_install before do_package + +#SECTION = "x11/games" +#SECTION_${PN}-opie = "opie/games" + +#PACKAGES += "${PN}-opie" +#RDEPENDS_${PN}-opie += "${PN}" +#FILES_${PN}-opie = "${palmtopdir}" diff --git a/conf/distro/include/preferred-opie-git-versions.inc b/conf/distro/include/preferred-opie-git-versions.inc new file mode 100644 index 0000000..3470866 --- /dev/null +++ b/conf/distro/include/preferred-opie-git-versions.inc @@ -0,0 +1,215 @@ +# +# Default versions +QTE_VERSION ?= "2.3.10" +PALMTOP_USE_MULTITHREADED_QT ?= "yes" + +OPIE_SRCREV ?= "8c3beef263bc9c34443eacfc821e99813e17554f" + +OPIE_VERSION = "1.2.5+gitr${OPIE_SRCREV}" +OPIE_GIT_PV = "${OPIE_VERSION}" + + +# +# +# Opie libraries +# +PREFERRED_PROVIDER_virtual/libqte2 ?= '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}' +PREFERRED_PROVIDER_virtual/libqpe1 ?= "libqpe-opie" +PREFERRED_VERSION_qte-mt ?= "${QTE_VERSION}" +PREFERRED_VERSION_qte ?= "${QTE_VERSION}" +SRCREV_pn-libopie2 ?= "${OPIE_SRCREV}" +SRCREV_pn-libopieobex0 ?= "${OPIE_SRCREV}" +SRCREV_pn-libopietooth1 ?= "${OPIE_SRCREV}" +SRCREV_pn-libqpe-opie ?= "${OPIE_SRCREV}" +SRCREV_pn-libqtaux2 ?= "${OPIE_SRCREV}" +SRCREV_pn-libmailwrapper ?= "${OPIE_SRCREV}" +# +# Opie applications +# +SRCREV_pn-opie-aboutapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-addressbook ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-advancedfm ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-alarm ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-appearance ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-aqpkg ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-autorotateapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-backgammon ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-backup ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-bartender ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-batteryapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-bluepin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-bluetoothapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-bluetoothmanager ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-bounce ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-brightnessapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-button-settings ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-buzzword ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-calculator ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-calibrate ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-camera ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-cardapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-checkbook ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-citytime ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-clipboardapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-clockapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-clock ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-confeditor ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-console ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-dagger ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-dasher ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-datebook ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-datebook-chrisholidayplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-datebook-nationalholidayplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-datebook-birthdayplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-deco-flat ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-deco-liquid ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-deco-polished ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-doctab ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-drawpad ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-dvorak ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-embeddedkonsole ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-euroconv ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-examples-python ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-examples ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-eye ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-fifteen ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-formatter ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-freetype ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-ftplib ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-ftp ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-go ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-gutenbrowser ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-handwriting ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-helpbrowser ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-help-en ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-homeapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-i18n ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-lrelease-native ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-lupdate-native ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-icon-reload ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-irc ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-irdaapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-jumpx ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-kbill ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-kcheckers ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-keyboard ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-keypebble ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-keytabs ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-keyview ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-kjumpx ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-kpacman ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-language ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-launcher-settings ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-libqrsync ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-light-and-power ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-lockapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-login ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-logoutapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mailapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mail ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer1-libmadplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer1-libmodplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer1-libtremorplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer1-libwavplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer1-libwavplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer1-core ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer2 ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer2-skin-default ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer2-skin-default-landscape ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer2-skin-pod ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediaplayer2-skin-techno ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mediummount ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-memoryapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mindbreaker ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-minesweep ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-mobilemsg ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-multikeyapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-multikey ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-networkapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-networksettings ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-notes ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-notesapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-odict ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-osearch ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-oxygen ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-oyatzee ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-packagemanager ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-parashoot ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-performance ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-pickboard ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-pics ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-pimconverter ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-powerchord ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-pyquicklaunchapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-qasteroids ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-qcop ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-quicklauncher ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-qss ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-rdesktop ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-reader ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-recorder ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-remote ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-restartapplet2 ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-restartapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-restartapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-rotateapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-screenshotapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-search ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-security ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-securityplugin-blueping ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-securityplugin-dummy ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-securityplugin-notice ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-securityplugin-pin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-sfcave ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-sheet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-sh ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-showimg ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-snake ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-solitaire ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-sshkeys ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-style-flat ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-style-fresh ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-style-liquid ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-style-metal ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-style-phase ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-style-web ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-sounds ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-stumbler ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-suspendapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-symlinker ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-sysinfo ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-systemtime ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-tableviewer ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-tabmanager ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-taskbar-images ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-taskbar ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-tetrix ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-textedit ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-theme ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-tictac ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-tinykate ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-addressbookplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-datebookplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-fortuneplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-mailplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-stocktickerplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-todolistplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-today-weatherplugin ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-todo ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-tonleiter ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-unikeyboard ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-usermanager ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-vmemo ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-vmemo-settings ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-volumeapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-vtapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-wellenreiter ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-wirelessapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-wordgame ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-write ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-zkbapplet ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-zlines ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-zsafe ?= "${OPIE_SRCREV}" +SRCREV_pn-opie-zsame ?= "${OPIE_SRCREV}" +PREFERRED_VERSION_konqueror-embedded = "20070316" diff --git a/conf/distro/include/preferred-opie-versions-1.2.5.inc b/conf/distro/include/preferred-opie-versions-1.2.5.inc new file mode 100644 index 0000000..c345d2f --- /dev/null +++ b/conf/distro/include/preferred-opie-versions-1.2.5.inc @@ -0,0 +1,210 @@ +# +# Default versions +QTE_VERSION ?= "2.3.10" +OPIE_VERSION ?= "1.2.5" +PALMTOP_USE_MULTITHREADED_QT ?= "yes" + +# +# +# Opie libraries +# +PREFERRED_PROVIDER_virtual/libqte2 = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}' +PREFERRED_PROVIDER_virtual/libqpe1 = "libqpe-opie" +PREFERRED_VERSION_qte-mt = "${QTE_VERSION}" +PREFERRED_VERSION_qte = "${QTE_VERSION}" +PREFERRED_VERSION_libopie2 ?= "${OPIE_VERSION}" +PREFERRED_VERSION_libopieobex0 = "${OPIE_VERSION}" +PREFERRED_VERSION_libopietooth1 = "${OPIE_VERSION}" +PREFERRED_VERSION_libqpe-opie = "${OPIE_VERSION}" +PREFERRED_VERSION_libqtaux2 = "${OPIE_VERSION}" +PREFERRED_VERSION_libmailwrapper = "${OPIE_VERSION}" +# +# Opie applications +# +PREFERRED_VERSION_opie-aboutapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-addressbook = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-advancedfm = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-alarm = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-appearance = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-aqpkg = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-autorotateapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-backgammon = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-backup = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bartender = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-batteryapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bluepin ?= "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bluetoothapplet ?= "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bluetoothmanager ?= "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bounce = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-brightnessapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-button-settings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-buzzword = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-calculator = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-calibrate = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-camera = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-cardapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-checkbook = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-citytime = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-clipboardapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-clockapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-clock = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-confeditor = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-console = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-dagger = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-dasher = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook-chrisholidayplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook-nationalholidayplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook-birthdayplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-deco-flat = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-deco-liquid = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-deco-polished = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-doctab = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-drawpad = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-dvorak = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-embeddedkonsole = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-euroconv = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-examples-python = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-examples = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-eye = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-fifteen = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-formatter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-freetype = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-ftplib = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-ftp = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-go = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-gutenbrowser = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-handwriting = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-helpbrowser = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-help-en = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-homeapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-i18n = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-lrelease-native = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-lupdate-native = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-icon-reload = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-irc = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-irdaapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-jumpx = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kbill = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kcheckers = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keyboard = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keypebble = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keytabs = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keyview = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kjumpx = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kpacman = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-language = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-launcher-settings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-libqrsync = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-light-and-power = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-lockapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-login = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-logoutapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mailapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mail = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libmadplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libmodplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libtremorplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libwavplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-core = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1 = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2 = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-default = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-default-landscape = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-pod = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-techno = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediummount = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-memoryapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mindbreaker = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-minesweep = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mobilemsg = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-multikeyapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-multikey = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-networkapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-networksettings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-notes = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-notesapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-odict = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-osearch = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-oxygen = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-oyatzee = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-packagemanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-parashoot = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-performance = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pickboard = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pics = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pimconverter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-powerchord = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pyquicklaunchapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-qasteroids = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-qcop = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-quicklauncher = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-qss = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-rdesktop = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-reader = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-recorder = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-remote = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-restartapplet2 = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-restartapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-restartapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-rotateapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-screenshotapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-search = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-security = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-blueping = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-notice = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-pin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sfcave = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sheet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sh = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-showimg = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-snake = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-solitaire = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sshkeys = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-flat = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-fresh = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-liquid = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-metal = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-phase = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-web = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sounds = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-suspendapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-symlinker = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sysinfo = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-systemtime = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tableviewer = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tabmanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-taskbar = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-taskbar-images = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tetrix = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-textedit = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-theme = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tictac = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tinykate = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-addressbookplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-datebookplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-fortuneplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-mailplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-stocktickerplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-todolistplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-weatherplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-todo = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tonleiter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-unikeyboard = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-usermanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-vmemo = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-vmemo-settings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-volumeapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-vtapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-wellenreiter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-wirelessapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-wordgame = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-write = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zkbapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zlines = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zsafe = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zsame = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sh-snes = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-stumbler = "${OPIE_VERSION}" +PREFERRED_VERSION_konqueror-embedded = "20070316" diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..dcba5da --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,13 @@ +# Layer configuration for meta-opie layer +# Copyright 2011 Intel Corporation + +# We have a conf and classes directory, prepend to BBPATH to prefer our versions +BBPATH := "${LAYERDIR}:${BBPATH}" + +# We have a recipes directory, add to BBFILES +BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-opie" +BBFILE_PATTERN_meta-opie := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-opie = "8" + diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/SDL-Akita-1.2.9.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/SDL-Akita-1.2.9.patch new file mode 100644 index 0000000..56ffe46 --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/SDL-Akita-1.2.9.patch @@ -0,0 +1,51 @@ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc 2007-03-12 20:58:19.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc 2007-03-12 20:58:27.000000000 +0100 +@@ -109,6 +109,7 @@ + MACHINE_SHARP_SLC760, + MACHINE_SHARP_SLC860, + MACHINE_SHARP_SL6000, ++ MACHINE_SHARP_SLC1000, + MACHINE_IPAQ, + MACHINE_MAX + } machine_t; +@@ -123,6 +124,7 @@ + { "Sharp", "SL-C760", 0 }, + { "Sharp", "SL-C860", 0 }, + { "Sharp", "SL-6000", 0 }, ++ { "Sharp", "SL-C1000", 0 }, + { "HP", "HP IPAQ", 0 }, + }; + +@@ -428,6 +430,8 @@ + machine = MACHINE_SHARP_SLC760; + else if (strstr(buf, "SHARP Boxer") != NULL) + machine = MACHINE_SHARP_SLC860; ++ else if (strstr(buf, "SHARP Akita") != NULL) ++ machine = MACHINE_SHARP_SLC1000; + else if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) + machine = MACHINE_IPAQ; + else +@@ -522,17 +526,18 @@ + if (machine == MACHINE_SHARP_SLC700 || + machine == MACHINE_SHARP_SLC750 || + machine == MACHINE_SHARP_SLC760 || +- machine == MACHINE_SHARP_SLC860 || // ¾Ü¤·¤¤¤³¤È¤ï¤«¤é¤ó¤±¤É¤È¤ê¤¢¤¨¤º +- machine == MACHINE_SHARP_SL6000 ) { // ¾Ü¤·¤¤¤³¤È¤ï¤«¤é¤ó¤±¤É¤È¤ê¤¢¤¨¤º ++ machine == MACHINE_SHARP_SLC860 || ++ machine == MACHINE_SHARP_SL6000 || ++ machine == MACHINE_SHARP_SLC1000 ) { + is_VGA_machine = true; + }else { + is_VGA_machine = false; + } + +- // qte ¤Ç¤Î²óž³ÑÅÙ¤ò¼èÆÀ ++ // qte + QT_GetQteServerSpec(_this, &qteRotation, &isQteQvga); + +- // SL-C700 ¤Î¥¹¥¿¥¤¥ë ++ // SL-C700 + bool isInputStyle = false; + if (is_VGA_machine) { + int status = system("/home/QtPalmtop/bin/chkhinge"); diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/acinclude.m4 b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/acinclude.m4 new file mode 100644 index 0000000..30597cc --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/acinclude.m4 @@ -0,0 +1,332 @@ +# Local macros for the SDL configure.in script + +dnl Function to link an architecture specific file +dnl LINK_ARCH_SRC(source_dir, arch, source_file) +AC_DEFUN([COPY_ARCH_SRC], +[ + old="$srcdir/$1/$2/$3" + new="$1/$3" + if test ! -d $1; then + echo "Creating directory $1" + mkdir -p $1 + fi + echo "Copying $old -> $new" + cat >$new <<__EOF__ +/* WARNING: This file was automatically generated! + * Original: $old + */ +__EOF__ + cat >>$new <$old +]) +############################################################################## +dnl Configure Paths for Alsa +dnl Some modifications by Richard Boulton <richard-alsa@tartarus.org> +dnl Christopher Lansdown <lansdoct@cs.alfred.edu> +dnl Jaroslav Kysela <perex@suse.cz> +dnl Last modification: alsa.m4,v 1.23 2004/01/16 18:14:22 tiwai Exp +dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate. +dnl enables arguments --with-alsa-prefix= +dnl --with-alsa-enc-prefix= +dnl --disable-alsatest +dnl +dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified, +dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result. +dnl +AC_DEFUN([AM_PATH_ALSA], +[dnl Save the original CFLAGS, LDFLAGS, and LIBS +alsa_save_CFLAGS="$CFLAGS" +alsa_save_LDFLAGS="$LDFLAGS" +alsa_save_LIBS="$LIBS" +alsa_found=yes + +dnl +dnl Get the cflags and libraries for alsa +dnl +AC_ARG_WITH(alsa-prefix, +[ --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)], +[alsa_prefix="$withval"], [alsa_prefix=""]) +AC_ARG_WITH(alsa-inc-prefix, +[ --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)], +[alsa_inc_prefix="$withval"], [alsa_inc_prefix=""]) + +dnl FIXME: this is not yet implemented +AC_ARG_ENABLE(alsatest, +[ --disable-alsatest Do not try to compile and run a test Alsa program], +[enable_alsatest="$enableval"], +[enable_alsatest=yes]) + +dnl Add any special include directories +AC_MSG_CHECKING(for ALSA CFLAGS) +if test "$alsa_inc_prefix" != "" ; then + ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" + CFLAGS="$CFLAGS -I$alsa_inc_prefix" +fi +AC_MSG_RESULT($ALSA_CFLAGS) + +dnl add any special lib dirs +AC_MSG_CHECKING(for ALSA LDFLAGS) +if test "$alsa_prefix" != "" ; then + ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" + LDFLAGS="$LDFLAGS $ALSA_LIBS" +fi + +dnl add the alsa library +ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" +LIBS=`echo $LIBS | sed 's/-lm//'` +LIBS=`echo $LIBS | sed 's/-ldl//'` +LIBS=`echo $LIBS | sed 's/-lpthread//'` +LIBS=`echo $LIBS | sed 's/ //'` +LIBS="$ALSA_LIBS $LIBS" +AC_MSG_RESULT($ALSA_LIBS) + +dnl Check for a working version of libasound that is of the right version. +min_alsa_version=ifelse([$1], ,0.1.1,$1) +AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) +no_alsa="" + alsa_min_major_version=`echo $min_alsa_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + alsa_min_minor_version=`echo $min_alsa_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + alsa_min_micro_version=`echo $min_alsa_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + +AC_LANG_SAVE +AC_LANG_C +AC_TRY_COMPILE([ +#include <alsa/asoundlib.h> +], [ +/* ensure backward compatibility */ +#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) +#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR +#endif +#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) +#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR +#endif +#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) +#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR +#endif + +# if(SND_LIB_MAJOR > $alsa_min_major_version) + exit(0); +# else +# if(SND_LIB_MAJOR < $alsa_min_major_version) +# error not present +# endif + +# if(SND_LIB_MINOR > $alsa_min_minor_version) + exit(0); +# else +# if(SND_LIB_MINOR < $alsa_min_minor_version) +# error not present +# endif + +# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) +# error not present +# endif +# endif +# endif +exit(0); +], + [AC_MSG_RESULT(found.)], + [AC_MSG_RESULT(not present.) + ifelse([$3], , [AC_MSG_ERROR(Sufficiently new version of libasound not found.)]) + alsa_found=no] +) +AC_LANG_RESTORE + +dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. +if test "x$enable_alsatest" = "xyes"; then +AC_CHECK_LIB([asound], [snd_ctl_open],, + [ifelse([$3], , [AC_MSG_ERROR(No linkable libasound was found.)]) + alsa_found=no] +) +fi +if test "x$alsa_found" = "xyes" ; then + ifelse([$2], , :, [$2]) + LIBS=`echo $LIBS | sed 's/-lasound//g'` + LIBS=`echo $LIBS | sed 's/ //'` + LIBS="-lasound $LIBS" +fi +if test "x$alsa_found" = "xno" ; then + ifelse([$3], , :, [$3]) + CFLAGS="$alsa_save_CFLAGS" + LDFLAGS="$alsa_save_LDFLAGS" + LIBS="$alsa_save_LIBS" + ALSA_CFLAGS="" + ALSA_LIBS="" +fi + +dnl That should be it. Now just export out symbols: +AC_SUBST(ALSA_CFLAGS) +AC_SUBST(ALSA_LIBS) +]) + +# +# --- esd.m4 --- +# +# Configure paths for ESD +# Manish Singh 98-9-30 +# stolen back from Frank Belew +# stolen from Manish Singh +# Shamelessly stolen from Owen Taylor + +dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS +dnl +AC_DEFUN([AM_PATH_ESD], +[dnl +dnl Get the cflags and libraries from the esd-config script +dnl +AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)], + esd_prefix="$withval", esd_prefix="") +AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)], + esd_exec_prefix="$withval", esd_exec_prefix="") +AC_ARG_ENABLE(esdtest, [ --disable-esdtest Do not try to compile and run a test ESD program], + , enable_esdtest=yes) + + if test x$esd_exec_prefix != x ; then + esd_args="$esd_args --exec-prefix=$esd_exec_prefix" + if test x${ESD_CONFIG+set} != xset ; then + ESD_CONFIG=$esd_exec_prefix/bin/esd-config + fi + fi + if test x$esd_prefix != x ; then + esd_args="$esd_args --prefix=$esd_prefix" + if test x${ESD_CONFIG+set} != xset ; then + ESD_CONFIG=$esd_prefix/bin/esd-config + fi + fi + + AC_PATH_PROG(ESD_CONFIG, esd-config, no) + min_esd_version=ifelse([$1], ,0.2.7,$1) + AC_MSG_CHECKING(for ESD - version >= $min_esd_version) + no_esd="" + if test "$ESD_CONFIG" = "no" ; then + no_esd=yes + else + ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags` + ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs` + + esd_major_version=`$ESD_CONFIG $esd_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + esd_minor_version=`$ESD_CONFIG $esd_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_esdtest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $ESD_CFLAGS" + LIBS="$LIBS $ESD_LIBS" +dnl +dnl Now check if the installed ESD is sufficiently new. (Also sanity +dnl checks the results of esd-config to some extent +dnl + rm -f conf.esdtest + AC_TRY_RUN([ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <esd.h> + +char* +my_strdup (char *str) +{ + char *new_str; + + if (str) + { + new_str = malloc ((strlen (str) + 1) * sizeof(char)); + strcpy (new_str, str); + } + else + new_str = NULL; + + return new_str; +} + +int main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.esdtest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = my_strdup("$min_esd_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_esd_version"); + exit(1); + } + + if (($esd_major_version > major) || + (($esd_major_version == major) && ($esd_minor_version > minor)) || + (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version); + printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n"); + printf("*** to point to the correct copy of esd-config, and remove the file\n"); + printf("*** config.cache before re-running configure\n"); + return 1; + } +} + +],, no_esd=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_esd" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$ESD_CONFIG" = "no" ; then + echo "*** The esd-config script installed by ESD could not be found" + echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the ESD_CONFIG environment variable to the" + echo "*** full path to esd-config." + else + if test -f conf.esdtest ; then + : + else + echo "*** Could not run ESD test program, checking why..." + CFLAGS="$CFLAGS $ESD_CFLAGS" + LIBS="$LIBS $ESD_LIBS" + AC_TRY_LINK([ +#include <stdio.h> +#include <esd.h> +], [ return 0; ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding ESD or finding the wrong" + echo "*** version of ESD. If it is not finding ESD, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means ESD was incorrectly installed" + echo "*** or that you have moved ESD since it was installed. In the latter case, you" + echo "*** may want to edit the esd-config script: $ESD_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + ESD_CFLAGS="" + ESD_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(ESD_CFLAGS) + AC_SUBST(ESD_LIBS) + rm -f conf.esdtest +]) + diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/agawa-piro-mickey-1.2.9.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/agawa-piro-mickey-1.2.9.patch new file mode 100644 index 0000000..d7c5614 --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/agawa-piro-mickey-1.2.9.patch @@ -0,0 +1,2054 @@ +diff -Naur SDL-1.2.9-orig/src/video/fbcon/SDL_fbevents.c SDL-1.2.9/src/video/fbcon/SDL_fbevents.c +--- SDL-1.2.9-orig/src/video/fbcon/SDL_fbevents.c 2005-01-04 20:04:14.000000000 +0100 ++++ SDL-1.2.9/src/video/fbcon/SDL_fbevents.c 2007-03-12 20:54:14.000000000 +0100 +@@ -60,7 +60,13 @@ + #ifndef GPM_NODE_FIFO + #define GPM_NODE_FIFO "/dev/gpmdata" + #endif ++#define POINTERCAL "/etc/pointercal" + ++static struct SDL_cal { ++ long ok; ++ long a, b, c, d, e, f, s; ++ long rotate; ++} cal = { 0 }; + + /* The translation tables from a console scancode to a SDL keysym */ + #define NUM_VGAKEYMAPS (1<<KG_CAPSSHIFT) +@@ -317,6 +323,7 @@ + MOUSE_MS, + MOUSE_BM, + MOUSE_ELO, ++ TS_SLC7X0, + NUM_MOUSE_DRVS + } mouse_drv = MOUSE_NONE; + +@@ -500,6 +507,9 @@ + mousedev = getenv("SDL_MOUSEDEV"); + mouse_fd = -1; + ++ const char *sdl_rot_flag; ++ sdl_rot_flag = getenv("SDL_FBROT"); ++ + /* ELO TOUCHSCREEN SUPPORT */ + + if( (mousedrv != NULL) && (strcmp(mousedrv, "ELO") == 0) ) { +@@ -601,9 +611,39 @@ + mouse_drv = MOUSE_MS; + } + } ++ /* Default to a SLC7X0 touch screen */ ++ if ( mouse_fd < 0 ) { ++ mousedev = "/dev/ts"; ++ mouse_fd = open(mousedev, O_RDONLY, 0); ++ if ( mouse_fd >= 0 ) { ++ FILE *pcal; ++ cal.ok = 0; ++ pcal = fopen(POINTERCAL, "r"); ++ if(pcal == NULL){ ++ fprintf(stderr, "Warning: cannot open " POINTERCAL ".\n"); ++ }else{ ++ int n; ++ n = fscanf(pcal, "%d %d %d %d %d %d %d", ++ &cal.a, &cal.b, &cal.c, &cal.d, &cal.e, &cal.f, &cal.s); ++ if(n != 7){ ++ fprintf(stderr, "Warning: " POINTERCAL " is unknown format.\n"); ++ }else{ ++ cal.ok = 1; ++ } ++ fclose(pcal); ++ } ++ if ( sdl_rot_flag == NULL ) { ++ cal.rotate = 0; ++ } else { ++ cal.rotate = atoi(sdl_rot_flag); ++ } ++ mouse_drv = TS_SLC7X0; ++ } ++ } + if ( mouse_fd < 0 ) { + mouse_drv = MOUSE_NONE; + } ++ + return(mouse_fd); + } + +@@ -678,6 +718,10 @@ + packetsize = ELO_PACKET_SIZE; + relative = 0; + break; ++ case TS_SLC7X0: ++ packetsize = 8; ++ relative = 0; ++ break; + case NUM_MOUSE_DRVS: + /* Uh oh.. */ + packetsize = 0; +@@ -810,6 +854,25 @@ + */ + + case MOUSE_ELO: ++ case TS_SLC7X0: ++ /* Get current mouse state */ ++ button = ((mousebuf[i+1] << 8)+mousebuf[i])/500; ++ dx = (mousebuf[i+3] << 8)+mousebuf[i+2]; ++ dy = (mousebuf[i+5] << 8)+mousebuf[i+4]; ++ if(cal.ok){ ++ long X, Y; ++ X = (cal.a * dx + cal.b * dy + cal.c) / cal.s; ++ Y = (cal.d * dx + cal.e * dy + cal.f) / cal.s; ++ dx = X; ++ dy = Y; ++ } ++ if(cal.rotate == 3){ ++ int tmp; ++ tmp=dx; ++ dx = dy; ++ dy = 480-tmp; ++ } ++ break; + case NUM_MOUSE_DRVS: + /* Uh oh.. */ + dx = 0; +diff -Naur SDL-1.2.9-orig/src/video/fbcon/SDL_fbvideo.c SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c +--- SDL-1.2.9-orig/src/video/fbcon/SDL_fbvideo.c 2005-02-12 19:03:54.000000000 +0100 ++++ SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c 2007-03-12 20:54:14.000000000 +0100 +@@ -51,7 +51,7 @@ + #include "SDL_fbmatrox.h" + #include "SDL_fbriva.h" + +- ++/* #define FBCON_DEBUG 1 */ + #if defined(i386) && defined(FB_TYPE_VGA_PLANES) + #define VGA16_FBCON_SUPPORT + #ifndef FB_AUX_VGA_PLANES_VGA4 +@@ -76,9 +76,11 @@ + { 0, 0, 720, 576 }, /* PAL */ + { 0, 0, 720, 480 }, /* NTSC */ + { 0, 0, 640, 480 }, /* 16 bpp: 0x111, or 273 */ ++ { 0, 0, 480, 640 }, + { 0, 0, 640, 400 }, /* 8 bpp: 0x100, or 256 */ + { 0, 0, 512, 384 }, + { 0, 0, 320, 240 }, ++ { 0, 0, 240, 320 }, + { 0, 0, 320, 200 } + }; + static const struct { +@@ -112,9 +114,11 @@ + */ + { 320, 200, 79440, 16, 16, 20, 4, 48, 1, 0, 2 }, /* 70 Hz */ + { 320, 240, 63492, 16, 16, 16, 4, 48, 2, 0, 2 }, /* 72 Hz */ ++ { 240, 320, 63492, 16, 16, 16, 4, 48, 3, 0, 2 }, /* 72 Hz */ + { 512, 384, 49603, 48, 16, 16, 1, 64, 3, 0, 0 }, /* 78 Hz */ + { 640, 400, 31746, 96, 32, 41, 1, 64, 3, 2, 0 }, /* 85 Hz */ + { 640, 480, 31746, 120, 16, 16, 1, 64, 3, 0, 0 }, /* 75 Hz */ ++ { 480, 640, 31746, 120, 16, 16, 1, 64, 4, 0, 0 }, /* 75 Hz */ + { 768, 576, 26101, 144, 16, 28, 6, 112, 4, 0, 0 }, /* 60 Hz */ + { 800, 600, 20000, 64, 56, 23, 37, 120, 6, 3, 0 }, /* 72 Hz */ + { 960, 720, 17686, 144, 24, 28, 8, 112, 4, 0, 0 }, /* 60 Hz */ +@@ -152,6 +156,10 @@ + struct fb_var_screeninfo *vinfo); + static void FB_RestorePalette(_THIS); + ++static char *console_fd_buf; ++static char *mapped_mem_fb; ++static int rotation_flag; ++ + /* FB driver bootstrap functions */ + + static int FB_Available(void) +@@ -241,18 +249,30 @@ + + mode_okay = 0; + vinfo->bits_per_pixel = (index+1)*8; +- vinfo->xres = *w; +- vinfo->xres_virtual = *w; +- vinfo->yres = *h; +- vinfo->yres_virtual = *h; ++ if ((rotation_flag == 0) || (rotation_flag == 2)) { ++ vinfo->xres = *w; ++ vinfo->xres_virtual = *w; ++ vinfo->yres = *h; ++ vinfo->yres_virtual = *h; ++ } else { ++ vinfo->xres = *h; ++ vinfo->xres_virtual = *h; ++ vinfo->yres = *w; ++ vinfo->yres_virtual = *w; ++ } + vinfo->activate = FB_ACTIVATE_TEST; + if ( ioctl(console_fd, FBIOPUT_VSCREENINFO, vinfo) == 0 ) { + #ifdef FBCON_DEBUG + fprintf(stderr, "Checked mode %dx%d at %d bpp, got mode %dx%d at %d bpp\n", *w, *h, (index+1)*8, vinfo->xres, vinfo->yres, vinfo->bits_per_pixel); + #endif + if ( (((vinfo->bits_per_pixel+7)/8)-1) == index ) { +- *w = vinfo->xres; +- *h = vinfo->yres; ++ if ((rotation_flag == 0) || (rotation_flag == 2)) { ++ *w = vinfo->xres; ++ *h = vinfo->yres; ++ } else { ++ *h = vinfo->xres; ++ *w = vinfo->yres; ++ } + mode_okay = 1; + } + } +@@ -332,6 +352,7 @@ + unsigned int current_w; + unsigned int current_h; + const char *SDL_fbdev; ++ const char *SDL_rot_flag; + + /* Initialize the library */ + SDL_fbdev = getenv("SDL_FBDEV"); +@@ -344,6 +365,14 @@ + return(-1); + } + ++ SDL_rot_flag = getenv("SDL_FBROT"); ++ if ( SDL_rot_flag == NULL ) { ++ rotation_flag = 0; ++ } else { ++ rotation_flag = atoi(SDL_rot_flag); ++ } ++ ++ + #ifndef DISABLE_THREADS + /* Create the hardware surface lock mutex */ + hw_lock = SDL_CreateMutex(); +@@ -407,13 +436,33 @@ + mapped_offset = (((long)finfo.smem_start) - + (((long)finfo.smem_start)&~(PAGE_SIZE-1))); + mapped_memlen = finfo.smem_len+mapped_offset; +- mapped_mem = mmap(NULL, mapped_memlen, +- PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0); +- if ( mapped_mem == (char *)-1 ) { +- SDL_SetError("Unable to memory map the video hardware"); +- mapped_mem = NULL; +- FB_VideoQuit(this); +- return(-1); ++ if (rotation_flag == 0) { ++ mapped_mem = mmap(NULL, mapped_memlen, ++ PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0); ++ if ( mapped_mem == (char *)-1 ) { ++ SDL_SetError("Unable to memory map the video hardware"); ++ mapped_mem = NULL; ++ FB_VideoQuit(this); ++ return(-1); ++ } ++ } else { ++ ++ console_fd_buf = (char *)malloc(640*480*2); ++ ++ if (console_fd_buf == NULL){ ++ SDL_SetError("Unable to memory for buffer"); ++ return(-1); ++ } ++ ++ mapped_mem_fb = mmap(NULL, mapped_memlen, ++ PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0); ++ if ( mapped_mem_fb == (char *)-1 ) { ++ SDL_SetError("Unable to memory map the video hardware"); ++ mapped_mem_fb = NULL; ++ FB_VideoQuit(this); ++ return(-1); ++ } ++ mapped_mem = console_fd_buf; + } + + /* Determine the current screen depth */ +@@ -555,6 +604,7 @@ + + /* Various screen update functions available */ + static void FB_DirectUpdate(_THIS, int numrects, SDL_Rect *rects); ++static void FB_RotationUpdate(_THIS, int numrects, SDL_Rect *rects); + #ifdef VGA16_FBCON_SUPPORT + static void FB_VGA16Update(_THIS, int numrects, SDL_Rect *rects); + #endif +@@ -725,7 +775,7 @@ + Uint32 Bmask; + char *surfaces_mem; + int surfaces_len; +- ++ + /* Set the terminal into graphics mode */ + if ( FB_EnterGraphicsMode(this) < 0 ) { + return(NULL); +@@ -734,6 +784,8 @@ + /* Restore the original palette */ + FB_RestorePalette(this); + ++ flags &= ~SDL_DOUBLEBUF; ++ + /* Set the video mode and get the final screen format */ + if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { + SDL_SetError("Couldn't get console screen info"); +@@ -748,13 +800,24 @@ + vinfo.activate = FB_ACTIVATE_NOW; + vinfo.accel_flags = 0; + vinfo.bits_per_pixel = bpp; +- vinfo.xres = width; +- vinfo.xres_virtual = width; +- vinfo.yres = height; +- if ( flags & SDL_DOUBLEBUF ) { +- vinfo.yres_virtual = height*2; ++ if ((rotation_flag == 0) || (rotation_flag == 2)) { ++ vinfo.xres = width; ++ vinfo.xres_virtual = width; ++ vinfo.yres = height; ++ if ( flags & SDL_DOUBLEBUF ) { ++ vinfo.yres_virtual = height*2; ++ } else { ++ vinfo.yres_virtual = height; ++ } + } else { +- vinfo.yres_virtual = height; ++ vinfo.xres = height; ++ vinfo.xres_virtual = height; ++ vinfo.yres = width; ++ if ( flags & SDL_DOUBLEBUF ) { ++ vinfo.yres_virtual = width*2; ++ } else { ++ vinfo.yres_virtual = width; ++ } + } + vinfo.xoffset = 0; + vinfo.yoffset = 0; +@@ -776,6 +839,15 @@ + return(NULL); + } + } ++ vinfo.xres = width; ++ vinfo.xres_virtual = width; ++ vinfo.yres = height; ++ if ( flags & SDL_DOUBLEBUF ) { ++ vinfo.yres_virtual = height*2; ++ } else { ++ vinfo.yres_virtual = height; ++ } ++ + } else { + int maxheight; + +@@ -821,7 +893,9 @@ + SDL_SetError("Couldn't get console hardware info"); + return(NULL); + } +- ++#ifdef FBCON_DEBUG ++ print_finfo(&finfo); ++#endif + /* Save hardware palette, if needed */ + FB_SavePalette(this, &finfo, &vinfo); + +@@ -829,7 +903,11 @@ + current->flags = (SDL_FULLSCREEN|SDL_HWSURFACE); + current->w = vinfo.xres; + current->h = vinfo.yres; +- current->pitch = finfo.line_length; ++ if ((rotation_flag == 0) || (rotation_flag == 2) ) { ++ current->pitch = finfo.line_length; ++ } else { ++ current->pitch = vinfo.xres*2; ++ } + current->pixels = mapped_mem+mapped_offset; + + /* Set up the information for hardware surfaces */ +@@ -863,7 +941,7 @@ + } + + /* Set the update rectangle function */ +- this->UpdateRects = FB_DirectUpdate; ++ this->UpdateRects = FB_RotationUpdate; + + /* We're done */ + return(current); +@@ -1123,6 +1201,89 @@ + return; + } + ++static void FB_RotationUpdate(_THIS, int numrects, SDL_Rect *rects) ++{ ++ unsigned short *pDst; ++ unsigned short *pSrc; ++ unsigned int width; ++ unsigned int height; ++ unsigned int srcYAdd; ++ unsigned int dstXAdd; ++ unsigned int dstYSub; ++ unsigned int i; ++ unsigned int dstH; ++ unsigned int dstW; ++ ++#ifdef FBCON_DEBUG ++ fprintf(stderr,"rotation_flag = %d \n",rotation_flag); ++#endif ++ switch (rotation_flag) { ++ case 0: ++ break; ++ case 1: ++ memcpy(mapped_mem_fb,mapped_mem,640*480*2); ++ break; ++ case 2: ++ memcpy(mapped_mem_fb,mapped_mem,640*480*2); ++ break; ++ case 3: ++ dstW=cache_vinfo.xres; ++ dstH=cache_vinfo.yres; ++#ifdef FBCON_DEBUG ++ fprintf(stderr,"dstH = %d : dstW = %d : rects->x = %d : rects->y = %d\n",dstH,dstW); ++ fprintf(stderr,"rects->x = %d : rects->y = %d : rects->w = %d : rects->h = %d\n",rects->x,rects->y,rects->w,rects->h); ++#endif ++ while (numrects) { ++ if (rects->w != dstW || rects->h != dstH) { ++ pSrc = mapped_mem + (rects->x + rects->y * dstW)*2; ++ pDst = mapped_mem_fb + (dstH-1+rects->x * dstH - rects->y)*2; ++ ++ width = rects->w; ++ height = rects->h; ++ ++ srcYAdd = dstW - rects->w; ++ dstXAdd = dstH; ++ dstYSub = (dstH * rects->w) + 1; ++ ++ while (height--) { ++ i = width; ++ while (i--) { ++ *pDst = *pSrc ++; ++ pDst += dstXAdd; ++ } ++ pSrc += srcYAdd; ++ pDst -= dstYSub; ++ } ++ ++ } else { ++ pDst=mapped_mem_fb+dstH*2-2; ++ pSrc=mapped_mem; ++ height=dstH; ++ width=dstW; ++ dstXAdd=height; ++ dstYSub=dstW*dstH+1; ++ ++ while (height--) { ++ i = width; ++ while (i--) { ++ *pDst = *pSrc ++; ++ pDst += dstXAdd; ++ } ++ pDst -= dstYSub; ++ } ++ } ++ numrects--; ++ rects++; ++ } ++ break; ++ default: ++ break; ++ } ++ ++ ++ ++} ++ + #ifdef VGA16_FBCON_SUPPORT + /* Code adapted with thanks from the XFree86 VGA16 driver! :) */ + #define writeGr(index, value) \ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.cc SDL-1.2.9/src/video/qtopia/SDL_QWin.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.cc 2004-01-04 17:49:26.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_QWin.cc 2007-03-12 20:54:14.000000000 +0100 +@@ -1,3 +1,4 @@ ++ + /* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2004 Sam Lantinga +@@ -27,15 +28,24 @@ + + #include "SDL_QWin.h" + #include <qapplication.h> ++#include <qpe/qpeapplication.h> + #include <qdirectpainter_qws.h> + ++extern int fb_hwrot; ++extern int fb_direct; ++extern bool is_VGA_machine; ++static int mouse_button_mode=1; ++ + screenRotationT screenRotation = SDL_QT_NO_ROTATION; + + SDL_QWin::SDL_QWin(const QSize& size) + : QWidget(0, "SDL_main"), my_painter(0), my_image(0), + my_inhibit_resize(false), my_mouse_pos(-1,-1), my_flags(0), +- my_has_fullscreen(false), my_locked(0) ++ my_has_fullscreen(false), my_locked(0), ++ rotation_(0), qteRotation_(0), keyRotation_(0), qteKeyRotation_(0), ++ isSLA300InputFix_(0) + { ++ for (int i = 0; i < 5; i++) curAxis_[i] = 0; + setBackgroundMode(NoBackground); + } + +@@ -84,6 +94,7 @@ + } + + void SDL_QWin::setMousePos(const QPoint &pos) { ++#if 0 + if(my_image->width() == height()) { + if (screenRotation == SDL_QT_ROTATION_90) + my_mouse_pos = QPoint(height()-pos.y(), pos.x()); +@@ -92,6 +103,66 @@ + } else { + my_mouse_pos = pos; + } ++#else ++ QPoint realPos; ++ ++ if (is_VGA_machine) { ++ realPos = pos; ++ my_mouse_pos = realPos; ++ }else { ++ switch (qteRotation_) { ++ case 0: ++ realPos = pos; ++ break; ++ case 1: ++ realPos.setX(pos.y()); ++ realPos.setY(fbSize_.height() - 1 - pos.x()); ++ break; ++ case 2: ++ realPos.setX(fbSize_.width() - 1 - pos.x()); ++ realPos.setY(fbSize_.height() - 1 - pos.y()); ++ break; ++ case 3: ++ realPos.setX(fbSize_.width() - 1 - pos.y()); ++ realPos.setY(pos.x()); ++ break; ++ }; ++ ++ // fprintf(stderr, "setMousePos: realPos(%d, %d)\n", realPos.x(), realPos.y()); ++ ++ int borderWidth = (fbSize_.width() - my_image->width()) >> 1; ++ int borderHeight = (fbSize_.height() - my_image->height()) >> 1; ++ if ( rotation_ & 1 ){ ++ borderWidth = (fbSize_.height() - my_image->width()) >> 1; ++ borderHeight = (fbSize_.width() - my_image->height()) >> 1; ++ } ++ realPos.setX(realPos.x() - borderWidth); ++ realPos.setY(realPos.y() - borderHeight); ++ ++ fprintf(stderr, "setMousePos: realPos2(%d, %d)\n", realPos.x(), realPos.y()); ++ ++ switch (rotation_) { ++ case 0: ++ my_mouse_pos = realPos; ++ break; ++ case 1: ++ my_mouse_pos.setX(realPos.y()); ++ my_mouse_pos.setY(my_image->height() - 1 - realPos.x()); ++ break; ++ case 2: ++ my_mouse_pos.setX(my_image->width() - 1 - realPos.x()); ++ my_mouse_pos.setY(my_image->height() - 1 - realPos.y()); ++ break; ++ case 3: ++ my_mouse_pos.setX(realPos.y());//my_image->width() - 1 - realPos.y()); ++ my_mouse_pos.setY(my_image->height() - realPos.x()); ++ break; ++ } ++ } ++ ++// fprintf(stderr, "setMousePos: mymousePos(%d, %d)\n", (short)my_mouse_pos.x(), (short)my_mouse_pos.y()); ++ ++#endif + } + + void SDL_QWin::mouseMoveEvent(QMouseEvent *e) { +@@ -113,269 +184,318 @@ + void SDL_QWin::mousePressEvent(QMouseEvent *e) { + mouseMoveEvent(e); + Qt::ButtonState button = e->button(); +- SDL_PrivateMouseButton(SDL_PRESSED, +- (button & Qt::LeftButton) ? 1 : +- ((button & Qt::RightButton) ? 2 : 3), ++ SDL_PrivateMouseButton(SDL_PRESSED,mouse_button_mode, + my_mouse_pos.x(), my_mouse_pos.y()); + } + + void SDL_QWin::mouseReleaseEvent(QMouseEvent *e) { + setMousePos(e->pos()); + Qt::ButtonState button = e->button(); +- SDL_PrivateMouseButton(SDL_RELEASED, +- (button & Qt::LeftButton) ? 1 : +- ((button & Qt::RightButton) ? 2 : 3), ++ SDL_PrivateMouseButton(SDL_RELEASED,mouse_button_mode, + my_mouse_pos.x(), my_mouse_pos.y()); + my_mouse_pos = QPoint(-1, -1); + } + +-static inline void +-gs_fastRotateBlit_3 ( unsigned short *fb, +- unsigned short *bits, +- const QRect& rect ) ++#ifndef __i386__ ++ ++static void ++blitRotate3(Uint16 *dstBits, const QSize& dstSize, ++ const Uint16 *srcBits, const QSize& srcSize, ++ const QRect& srcBlitRect); ++ ++static void ++blitRotate0(Uint16 *dstBits, const QSize& dstSize, ++ const Uint16 *srcBits, const QSize& srcSize, ++ const QRect& srcBlitRect) + { +- // FIXME: this only works correctly for 240x320 displays +- int startx, starty; +- int width, height; +- +- startx = rect.left() >> 1; +- starty = rect.top() >> 1; +- width = ((rect.right() - rect.left()) >> 1) + 2; +- height = ((rect.bottom() - rect.top()) >> 1) + 2; +- +- if((startx+width) > 120) { +- width = 120 - startx; // avoid horizontal overflow +- } +- if((starty+height) > 160) { +- height = 160 - starty; // avoid vertical overflow +- } +- +- ulong *sp1, *sp2, *dp1, *dp2; +- ulong stop, sbot, dtop, dbot; +- +- sp1 = (ulong*)bits + startx + starty*240; +- sp2 = sp1 + 120; +- dp1 = (ulong *)fb + (159 - starty) + startx*320; +- dp2 = dp1 + 160; +- int rowadd = (-320*width) - 1; +- int rowadd2 = 240 - width; +- // transfer in cells of 2x2 pixels in words +- for (int y=0; y<height; y++) { +- for (int x=0; x<width; x++) { +- // read source pixels +- stop = *sp1; +- sbot = *sp2; +- // rotate pixels +- dtop = (sbot & 0xffff) + ((stop & 0xffff)<<16); +- dbot = ((sbot & 0xffff0000)>>16) + (stop & 0xffff0000); +- // write to framebuffer +- *dp1 = dtop; +- *dp2 = dbot; +- // update source ptrs +- sp1++; sp2++; +- // update dest ptrs - 2 pix at a time +- dp1 += 320; +- dp2 += 320; +- } +- // adjust src ptrs - skip a row as we work in pairs +- sp1 += rowadd2; +- sp2 += rowadd2; +- // adjust dest ptrs for rotation +- dp1 += rowadd; +- dp2 += rowadd; ++ srcBits += srcBlitRect.left() + srcBlitRect.top() * srcSize.width(); ++ dstBits += ((dstSize.width() - srcSize.width()) >> 1) ++ + (((dstSize.height() - srcSize.height()) >> 1) * dstSize.width()); ++ dstBits += srcBlitRect.left() + srcBlitRect.top() * dstSize.width(); ++ int w = srcBlitRect.width() << 1; ++ int h = srcBlitRect.height(); ++ ++ while (h--) { ++ memcpy(dstBits, srcBits, w); ++ dstBits += dstSize.width(); ++ srcBits += srcSize.width(); + } + } + +-static inline void +-gs_fastRotateBlit_1 ( unsigned short *fb, +- unsigned short *bits, +- const QRect& rect ) { +- // FIXME: this only works correctly for 240x320 displays +- int startx, starty; +- int width, height; +- +- startx = rect.left() >> 1; +- starty = rect.top() >> 1; +- width = ((rect.right() - rect.left()) >> 1) + 2; +- height = ((rect.bottom() - rect.top()) >> 1) + 2; +- +- if((startx+width) > 120) { +- width = 120 - startx; // avoid horizontal overflow +- } +- if((starty+height) > 160) { +- height = 160 - starty; // avoid vertical overflow +- } +- +- ulong *sp1, *sp2, *dp1, *dp2; +- ulong stop, sbot, dtop, dbot; +- fb += 320*239; // Move "fb" to top left corner +- sp1 = (ulong*)bits + startx + starty*240; +- sp2 = sp1 + 120; +- dp1 = (ulong*)fb - startx * 320 - starty; +- dp2 = dp1 - 160; +- int rowadd = (320*width) + 1; +- int rowadd2 = 240 - width; +- // transfer in cells of 2x2 pixels in words +- for (int y=0; y<height; y++) { +- for (int x=0; x<width; x++) { +- // read +- stop = *sp1; +- sbot = *sp2; +- // rotate +- dtop = (stop & 0xffff) + ((sbot & 0xffff)<<16); +- dbot = ((stop & 0xffff0000)>>16) + (sbot & 0xffff0000); +- // write +- *dp1 = dtop; +- *dp2 = dbot; +- // update source ptrs +- sp1++; sp2++; +- // update dest ptrs - 2 pix at a time +- dp1 -= 320; +- dp2 -= 320; +- } +- // adjust src ptrs - skip a row as we work in pairs +- sp1 += rowadd2; +- sp2 += rowadd2; +- // adjust dest ptrs for rotation +- dp1 += rowadd; +- dp2 += rowadd; +- } ++static void ++blitRotate1(Uint16 *dstBits, const QSize& dstSize, ++ const Uint16 *srcBits, const QSize& srcSize, ++ const QRect& srcBlitRect) ++{ ++// fprintf(stdout, "SDL_QT_ROTATION (1) is not implemented.\n"); ++ blitRotate3(dstBits, dstSize, srcBits, srcSize, srcBlitRect); + } + +-// desktop, SL-A300 etc +-bool SDL_QWin::repaintRotation0(const QRect& rect) { +- if(my_image->width() == width()) { +- uchar *fb = (uchar*)my_painter->frameBuffer(); +- uchar *buf = (uchar*)my_image->bits(); +- if(rect == my_image->rect()) { +- memcpy(fb, buf, width()*height()*2); +- } else { +- int h = rect.height(); +- int wd = rect.width()<<1; +- int fblineadd = my_painter->lineStep(); +- int buflineadd = my_image->bytesPerLine(); +- fb += (rect.left()<<1) + rect.top() * my_painter->lineStep(); +- buf += (rect.left()<<1) + rect.top() * my_image->bytesPerLine(); +- while(h--) { +- memcpy(fb, buf, wd); +- fb += fblineadd; +- buf += buflineadd; +- } ++static void ++blitRotate2(Uint16 *dstBits, const QSize& dstSize, ++ const Uint16 *srcBits, const QSize& srcSize, ++ QRect srcBlitRect) ++{ ++// if (srcBlitRect.left() & 1) ++// srcBlitRect.setLeft(srcBlitRect.left() - 1); ++// if (srcBlitRect.right() & 1) ++// srcBlitRect.setRight(srcBlitRect.right() - 1); ++ ++ int dstBorderLeftRight = (dstSize.width() - srcSize.width()) >>1; ++ int dstBorderTopBottom = (dstSize.height() - srcSize.height()) >>1; ++ int dstStartOffsetX = dstSize.width() - dstBorderLeftRight - 2; ++ int dstStartOffsetY = dstSize.height() - dstBorderTopBottom - 1; ++ int left = srcBlitRect.left() & ~(int)1; // to be 32bit aligned ++ srcBits += left + srcBlitRect.top() * srcSize.width(); ++ dstBits += dstStartOffsetY * dstSize.width() + dstStartOffsetX; ++ dstBits -= left; ++ dstBits -= srcBlitRect.top() * dstSize.width(); ++ ++ Uint32 *pSrc = (Uint32 *)srcBits; ++ Uint32 *pDst = (Uint32 *)dstBits; ++ ++ int width = srcBlitRect.width(), width2 = srcBlitRect.width(), w; ++ if ( srcBlitRect.left() & 1 ){ ++ width--; width2++; ++ } ++ if ( (srcBlitRect.left()+srcBlitRect.width()) & 1 ){ ++ width--; width2++; ++ } ++ width >>= 1; ++ int height = srcBlitRect.height(); ++ int srcYAdd = srcSize.width() - width2; ++ int dstYSub = dstSize.width() - width2; ++ ++ while (height--) { ++ w = width; ++ if (srcBlitRect.left() & 1){ ++ *((Uint16 *)pDst) = *(((Uint16 *)pSrc) + 1); ++ pDst--; pSrc++; + } +- } else { +- return false; // FIXME: Landscape ++ while (w--) { ++ *pDst-- = (*pSrc << 16) | (*pSrc >> 16); ++ ++pSrc; ++ } ++ if ((srcBlitRect.left()+srcBlitRect.width()) & 1){ ++ *(((Uint16 *)pDst) + 1) = *((Uint16 *)pSrc); ++ pDst--; pSrc++; ++ } ++ pSrc += srcYAdd; ++ pDst -= dstYSub; + } +-#ifdef __i386__ +- my_painter->fillRect( rect, QBrush( Qt::NoBrush ) ); +-#endif +- return true; + } + +- +-// Sharp Zaurus SL-5500 etc +-bool SDL_QWin::repaintRotation3(const QRect& rect) { +- if(my_image->width() == width()) { +- ushort *fb = (ushort*)my_painter->frameBuffer(); +- ushort *buf = (ushort*)my_image->bits(); +- gs_fastRotateBlit_3(fb, buf, rect); ++#define BLIT_ROTATE_3_MOV32 ++ ++static void ++blitRotate3(Uint16 *dstBits, const QSize& dstSize, ++ const Uint16 *srcBits, const QSize& srcSize, ++ const QRect& srcBlitRect) ++{ ++ if (srcBlitRect.width() != dstSize.height() || ++ srcBlitRect.height() != dstSize.width()) { ++ // partial update ++ const Uint16 *pSrc = srcBits + ++ (srcBlitRect.left() + srcBlitRect.top() * srcSize.width()); ++ ++ int dstBorderLeftRight = (dstSize.width() - srcSize.height()) >>1; ++ int dstBorderTopBottom = (dstSize.height() - srcSize.width()) >>1; ++ int dstStartOffsetX = dstSize.width() - dstBorderLeftRight - 1; ++ int dstStartOffsetY = dstBorderTopBottom; ++ Uint16 *pDst = dstBits + ++ (dstStartOffsetY * dstSize.width() + dstStartOffsetX); ++ pDst += srcBlitRect.left() * dstSize.width(); ++ pDst -= srcBlitRect.top(); ++ ++ int width = srcBlitRect.width(), height = srcBlitRect.height(), w; ++ int srcYAdd = srcSize.width() - srcBlitRect.width(); ++ int dstXAdd = dstSize.width(); ++ int dstYSub = (dstSize.width() * srcBlitRect.width()) + 1; ++ ++#if 0 ++ fprintf(stderr, "---- Blit begin\n"); ++ fprintf(stderr, "srcSize.width: %d srcSize.height:%d\n", ++ srcSize.width(), srcSize.height()); ++ fprintf(stderr, "srcBlitRect.left:%d srcBlitRect.right:%d srcBlitRect.top:%d srcBlitRect.bottom:%d srcBlitRect.width:%d srcBlitRect.height:%d\n", ++ srcBlitRect.left(), srcBlitRect.right(), srcBlitRect.top(), srcBlitRect.bottom(), srcBlitRect.width(), srcBlitRect.height()); ++ ++ fprintf(stderr, "dstSize.width: %d dstSize.height:%d\n", ++ dstSize.width(), dstSize.height()); ++ fprintf(stderr, "dstBorderLeftRight:%d dstBorderTopBottom:%d dstStartOffsetX:%d dstStartOffsetY:%d\n", ++ dstBorderLeftRight, dstBorderTopBottom, dstStartOffsetX, dstStartOffsetY); ++ fprintf(stderr, "srcYAdd:%d dstXAdd:%d dstYSub:%d\n", srcYAdd, dstXAdd, dstYSub); ++#endif ++ ++ while (height--) { ++ w = width; ++ while (w--) { ++ *pDst = *pSrc ++; ++ pDst += dstXAdd; ++ } ++ pSrc += srcYAdd; ++ pDst -= dstYSub; ++ } ++ // fprintf(stderr, "---- Blit end\n"); + } else { +- // landscape mode +- if (screenRotation == SDL_QT_ROTATION_90) { +- uchar *fb = (uchar*)my_painter->frameBuffer(); +- uchar *buf = (uchar*)my_image->bits(); +- if(rect == my_image->rect()) { +- memcpy(fb, buf, width()*height()*2); +- } else { +- int h = rect.height(); +- int wd = rect.width()<<1; +- int fblineadd = my_painter->lineStep(); +- int buflineadd = my_image->bytesPerLine(); +- fb += (rect.left()<<1) + rect.top() * my_painter->lineStep(); +- buf += (rect.left()<<1) + rect.top() * my_image->bytesPerLine(); +- while(h--) { +- memcpy(fb, buf, wd); +- fb += fblineadd; +- buf += buflineadd; +- } ++ // full update ++#if !defined(BLIT_ROTATE_3_MOV32) ++ const Uint16 *src = srcBits; ++ Uint16 *dst = dstBits + (dstSize.width() - 1); ++ int w = srcBlitRect.width(); ++ int h = srcBlitRect.height(); ++ int i, dstSub = dstSize.width() * w + 1; ++ int dstAdd = dstSize.width(); ++ ++ while (h--) { ++ i = w; ++ while (i--) { ++ *dst = *src ++; ++ dst += dstAdd; + } +- } else if (screenRotation == SDL_QT_ROTATION_270) { +- int h = rect.height(); +- int wd = rect.width(); +- int fblineadd = my_painter->lineStep() - (rect.width() << 1); +- int buflineadd = my_image->bytesPerLine() - (rect.width() << 1); +- int w; +- +- uchar *fb = (uchar*)my_painter->frameBuffer(); +- uchar *buf = (uchar*)my_image->bits(); +- +- fb += ((my_painter->width() - (rect.top() + rect.height())) * +- my_painter->lineStep()) + ((my_painter->height() - ((rect.left() + +- rect.width()))) << 1); +- +- buf += my_image->bytesPerLine() * (rect.top() + rect.height()) - +- (((my_image->width() - (rect.left() + rect.width())) << 1) + 2); +- +- while(h--) { +- w = wd; +- while(w--) *((unsigned short*)fb)++ = *((unsigned short*)buf)--; +- fb += fblineadd; +- buf -= buflineadd; ++ dst -= dstSub; ++ } ++#else // BLIT_ROTATE_3_MOV32 ++ Uint32 *src1 = (Uint32 *)(srcBits); ++ Uint32 *src2 = (Uint32 *)(srcBits + srcSize.width()); ++ Uint32 *dst1 = (Uint32 *)(dstBits + (dstSize.width() - 2)); ++ Uint32 *dst2 = (Uint32 *)(dstBits + (dstSize.width() + dstSize.width() - 2)); ++ int w = srcBlitRect.width() >> 3; ++ int h = srcBlitRect.height() >> 1; ++ int i, dstSub = ((dstSize.width() * srcBlitRect.width()) >> 1) + 1; ++ int dstAdd = dstSize.width(); ++ ++ Uint32 a, b; ++ while (h--) { ++ i = w; ++ while (i--) { ++ a = *src1 ++; ++ b = *src2 ++; ++ *dst1 = (a << 16) | (b & 0xFFFF); ++ *dst2 = (a & 0xFFFF0000) | (b >> 16); ++ dst1 += dstAdd; ++ dst2 += dstAdd; ++ ++ a = *src1 ++; ++ b = *src2 ++; ++ *dst1 = (a << 16) | (b & 0xFFFF); ++ *dst2 = (a & 0xFFFF0000) | (b >> 16); ++ dst1 += dstAdd; ++ dst2 += dstAdd; ++ ++ a = *src1 ++; ++ b = *src2 ++; ++ *dst1 = (a << 16) | (b & 0xFFFF); ++ *dst2 = (a & 0xFFFF0000) | (b >> 16); ++ dst1 += dstAdd; ++ dst2 += dstAdd; ++ ++ a = *src1 ++; ++ b = *src2 ++; ++ *dst1 = (a << 16) | (b & 0xFFFF); ++ *dst2 = (a & 0xFFFF0000) | (b >> 16); ++ dst1 += dstAdd; ++ dst2 += dstAdd; + } ++ src1 += srcSize.width() >> 1; ++ src2 += srcSize.width() >> 1; ++ dst1 -= dstSub; ++ dst2 -= dstSub; + } ++#endif // BLIT_ROTATE_3_MOV32 + } +- return true; + } + +-// ipaq 3800... +-bool SDL_QWin::repaintRotation1(const QRect& rect) { +- if(my_image->width() == width()) { +- ushort *fb = (ushort*)my_painter->frameBuffer(); +- ushort *buf = (ushort*)my_image->bits(); +- gs_fastRotateBlit_1(fb, buf, rect); +- } else { +- return false; // FIXME: landscape mode +- } +- return true; +-} ++#endif // __i386__ + + void SDL_QWin::repaintRect(const QRect& rect) { + if(!my_painter || !rect.width() || !rect.height()) { + return; + } +- +- if(QPixmap::defaultDepth() == 16) { +- switch(my_painter->transformOrientation()) { +- case 3: +- if(repaintRotation3(rect)) { return; } ++#ifndef __i386__ ++ if (QPixmap::defaultDepth() == 16 && my_painter->numRects() >= 0) { ++ Uint16 *fb = (Uint16*)my_painter->frameBuffer(); ++ Uint16 *buf = (Uint16*)my_image->bits(); ++ switch (rotation_) { ++ case 0: ++ blitRotate0(fb, fbSize_, ++ buf, QSize(my_image->width(), my_image->height()), ++ rect); + break; + case 1: +- if(repaintRotation1(rect)) { return; } ++ blitRotate1(fb, fbSize_, ++ buf, QSize(my_image->width(), my_image->height()), ++ rect); + break; +- case 0: +- if(repaintRotation0(rect)) { return; } ++ case 2: ++ blitRotate2(fb, fbSize_, ++ buf, QSize(my_image->width(), my_image->height()), ++ rect); ++ break; ++ case 3: ++ blitRotate3(fb, fbSize_, ++ buf, QSize(my_image->width(), my_image->height()), ++ rect); + break; + } +- } +- my_painter->drawImage(rect.topLeft(), *my_image, rect); ++ } else { ++#endif // __i386__ ++ QDirectPainter pp(this); ++ pp.drawImage(rect.topLeft(), *my_image, rect); ++// pp.end(); ++#ifndef __i386__ ++ } ++#endif // __i386__ + } + + // This paints the current buffer to the screen, when desired. + void SDL_QWin::paintEvent(QPaintEvent *ev) { +- if(my_image) { ++ if(my_image && isVisible() && isActiveWindow()) { ++ // TODO: better handling + lockScreen(true); + repaintRect(ev->rect()); + unlockScreen(); + } + } + ++int SDL_QWin::ApplyKeyRotation(int key) ++{ ++ int c; ++ int sdlScancode[] = { SDLK_LEFT, SDLK_DOWN, SDLK_RIGHT, SDLK_UP }; ++ ++ switch (key) { ++ case Qt::Key_Left: ++ c = 0; ++ break; ++ case Qt::Key_Down: ++ c = 1; ++ break; ++ case Qt::Key_Right: ++ c = 2; ++ break; ++ case Qt::Key_Up: ++ c = 3; ++ break; ++ default: ++ return 0; ++ } ++ ++// c = (c + qteKeyRotation_) & 3; ++// return sdlScancode[(c - keyRotation_) & 3]; ++ return sdlScancode[(c + qteKeyRotation_ - keyRotation_) & 3]; ++} ++ + /* Function to translate a keyboard transition and queue the key event + * This should probably be a table although this method isn't exactly + * slow. + */ + void SDL_QWin::QueueKey(QKeyEvent *e, int pressed) +-{ ++{ ++ if (e->isAutoRepeat()) ++ return; ++ + SDL_keysym keysym; + int scancode = e->key(); ++ + /* Set the keysym information */ + if(scancode >= 'A' && scancode <= 'Z') { + // Qt sends uppercase, SDL wants lowercase +@@ -396,26 +516,12 @@ + case Qt::Key_Home: scancode = SDLK_HOME; break; + case Qt::Key_End: scancode = SDLK_END; break; + // We want the control keys to rotate with the screen +- case Qt::Key_Left: +- if (screenRotation == SDL_QT_ROTATION_90) scancode = SDLK_UP; +- else if (screenRotation == SDL_QT_ROTATION_270) scancode = SDLK_DOWN; +- else scancode = SDLK_LEFT; +- break; +- case Qt::Key_Up: +- if (screenRotation == SDL_QT_ROTATION_90) scancode = SDLK_RIGHT; +- else if (screenRotation == SDL_QT_ROTATION_270) scancode = SDLK_LEFT; +- else scancode = SDLK_UP; +- break; +- case Qt::Key_Right: +- if (screenRotation == SDL_QT_ROTATION_90) scancode = SDLK_DOWN; +- else if (screenRotation == SDL_QT_ROTATION_270) scancode = SDLK_UP; +- else scancode = SDLK_RIGHT; +- break; ++ case Qt::Key_Left: ++ case Qt::Key_Up: ++ case Qt::Key_Right: + case Qt::Key_Down: +- if (screenRotation == SDL_QT_ROTATION_90) scancode = SDLK_LEFT; +- else if (screenRotation == SDL_QT_ROTATION_270) scancode = SDLK_RIGHT; +- else scancode = SDLK_DOWN; +- break; ++ scancode = ApplyKeyRotation(scancode); ++ break; + case Qt::Key_Prior: scancode = SDLK_PAGEUP; break; + case Qt::Key_Next: scancode = SDLK_PAGEDOWN; break; + case Qt::Key_Shift: scancode = SDLK_LSHIFT; break; +@@ -434,9 +540,18 @@ + case Qt::Key_F7: scancode = SDLK_F7; break; + case Qt::Key_F8: scancode = SDLK_F8; break; + case Qt::Key_F9: scancode = SDLK_F9; break; +- case Qt::Key_F10: scancode = SDLK_F10; break; +- case Qt::Key_F11: scancode = SDLK_F11; break; +- case Qt::Key_F12: scancode = SDLK_F12; break; ++ case Qt::Key_F10: ++ scancode = SDLK_F10; ++ mouse_button_mode=1; ++ break; ++ case Qt::Key_F11: ++ scancode = SDLK_F11; ++ mouse_button_mode=3; ++ break; ++ case Qt::Key_F12: ++ scancode = SDLK_F12; ++ mouse_button_mode=2; ++ break; + case Qt::Key_F13: scancode = SDLK_F13; break; + case Qt::Key_F14: scancode = SDLK_F14; break; + case Qt::Key_F15: scancode = SDLK_F15; break; +@@ -452,13 +567,14 @@ + // david@hedbor.org + scancode = SDLK_RETURN; + break; ++ + default: + scancode = SDLK_UNKNOWN; + break; + } +- keysym.sym = static_cast<SDLKey>(scancode); ++ keysym.sym = static_cast<SDLKey>(scancode); + } else { +- keysym.sym = static_cast<SDLKey>(scancode); ++ keysym.sym = static_cast<SDLKey>(scancode); + } + keysym.scancode = scancode; + keysym.mod = KMOD_NONE; +@@ -478,11 +594,82 @@ + // pressed = 1; + // } + ++ if (isSLA300InputFix_ && ++ (keysym.sym == SDLK_SPACE || (keysym.sym >= 273 && keysym.sym <= 276))) { ++ if (keysym.sym >= 273) curAxis_[keysym.sym-273] = pressed; ++ else curAxis_[4] = pressed; ++ } ++ + /* Queue the key event */ + if ( pressed ) { +- SDL_PrivateKeyboard(SDL_PRESSED, &keysym); ++ /* fprintf(stderr, "press %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_PRESSED, &keysym); ++ if (isSLA300InputFix_ && ++ (keysym.sym >= 273 && keysym.sym <= 276)) { ++ if (keysym.sym == SDLK_UP) { ++ if (curAxis_[1]) { ++ keysym.sym = SDLK_DOWN; ++ keysym.scancode = Qt::Key_Down; ++ curAxis_[1] = 0; ++ /* fprintf(stderr, "force release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ } ++ } ++ else if (keysym.sym == SDLK_DOWN) { ++ if (curAxis_[0]) { ++ keysym.sym = SDLK_UP; ++ keysym.scancode = Qt::Key_Up; ++ curAxis_[0] = 0; ++ /* fprintf(stderr, "force release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ } ++ } ++ else if (keysym.sym == SDLK_RIGHT) { ++ if (curAxis_[3]) { ++ keysym.sym = SDLK_LEFT; ++ keysym.scancode = Qt::Key_Left; ++ curAxis_[3] = 0; ++ /* fprintf(stderr, "force release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ } ++ } ++ else if (keysym.sym == SDLK_LEFT) { ++ if (curAxis_[2]) { ++ keysym.sym = SDLK_RIGHT; ++ keysym.scancode = Qt::Key_Right; ++ curAxis_[2] = 0; ++ /* fprintf(stderr, "force release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ } ++ } ++ } + } else { +- SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ /* fprintf(stderr, "release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ ++ if (isSLA300InputFix_ && ++ (keysym.sym == SDLK_SPACE || ++ (keysym.sym >= 273 && keysym.sym <= 276))) { ++ for (int i = 0; i < 4; i++) { ++ if (curAxis_[i]) { ++ int sym = i+273; ++ keysym.sym = static_cast<SDLKey>(sym); ++ if (sym == SDLK_UP) keysym.scancode = Qt::Key_Up; ++ else if (sym == SDLK_RIGHT) keysym.scancode = Qt::Key_Right; ++ else if (sym == SDLK_DOWN) keysym.scancode = Qt::Key_Down; ++ else if (sym == SDLK_LEFT) keysym.scancode = Qt::Key_Left; ++ curAxis_[i] = 0; ++ /* fprintf(stderr, "force release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ } ++ } ++ if (curAxis_[4]) { ++ keysym.scancode = keysym.sym = SDLK_SPACE; ++ curAxis_[4] = 0; ++ /* fprintf(stderr, "force release %d\n", keysym.sym); */ ++ SDL_PrivateKeyboard(SDL_RELEASED, &keysym); ++ } ++ } + } + } + +@@ -524,7 +711,7 @@ + my_locked--; // decrease lock refcount; + } + if(!my_locked && my_painter) { +- my_painter->end(); ++// my_painter->end(); + delete my_painter; + my_painter = 0; + } +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.h SDL-1.2.9/src/video/qtopia/SDL_QWin.h +--- SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.h 2004-01-04 17:49:26.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_QWin.h 2007-03-12 20:54:14.000000000 +0100 +@@ -1,3 +1,4 @@ ++ + /* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2004 Sam Lantinga +@@ -52,6 +53,7 @@ + class SDL_QWin : public QWidget + { + void QueueKey(QKeyEvent *e, int pressed); ++ int ApplyKeyRotation(int key); + public: + SDL_QWin(const QSize& size); + virtual ~SDL_QWin(); +@@ -71,7 +73,7 @@ + y = my_offset.y(); + } + QImage *image(void) { return my_image; } +- ++ + void setWFlags(WFlags flags) { + QWidget::setWFlags(flags); + my_flags = flags; +@@ -83,6 +85,15 @@ + bool lockScreen(bool force=false); + void unlockScreen(); + void repaintRect(const QRect& rect); ++ void setScreenRotation(int sdlr, int qter) { ++ rotation_ = sdlr; qteRotation_ = qter; ++ } ++ void setKeyRotation(int sdlr, int qter) { ++ keyRotation_ = sdlr; qteKeyRotation_ = qter; ++ } ++ void setFBSize(QSize& s) { fbSize_ = s; } ++// void setSLC700InputFix(bool isEnable) { isSLC700InputFix_ = isEnable; } ++ void setSLA300InputFix(bool isEnable) { isSLA300InputFix_ = isEnable; } + protected: + /* Handle resizing of the window */ + virtual void resizeEvent(QResizeEvent *e); +@@ -95,10 +106,8 @@ + void paintEvent(QPaintEvent *ev); + void keyPressEvent(QKeyEvent *e) { QueueKey(e, 1); } + void keyReleaseEvent(QKeyEvent *e) { QueueKey(e, 0); } ++ + private: +- bool repaintRotation0(const QRect& rect); +- bool repaintRotation1(const QRect& rect); +- bool repaintRotation3(const QRect& rect); + void enableFullscreen(); + QDirectPainter *my_painter; + QImage *my_image; +@@ -108,6 +117,12 @@ + WFlags my_flags; + WFlags my_has_fullscreen; + unsigned int my_locked; ++ int rotation_, qteRotation_; ++ int keyRotation_, qteKeyRotation_; ++ QSize fbSize_; ++// bool isSLC700InputFix_; ++ bool isSLA300InputFix_; ++ int curAxis_[5]; // 0: up, 1: down, 2: right, 3: left, 4: center + }; + + #endif /* _SDL_QWin_h */ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_sysmouse.cc SDL-1.2.9/src/video/qtopia/SDL_sysmouse.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_sysmouse.cc 2004-01-04 17:49:26.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_sysmouse.cc 2007-03-12 20:54:14.000000000 +0100 +@@ -60,6 +60,7 @@ + void QT_WarpWMCursor(_THIS, Uint16 x, Uint16 y) + { + SDL_Win->setMousePos(QPoint(x, y)); ++ SDL_PrivateMouseMotion( 0, 0, x, y ); + } + + }; /* Extern C */ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc 2004-01-04 17:49:26.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc 2007-03-12 20:54:14.000000000 +0100 +@@ -1,3 +1,4 @@ ++ + /* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2004 Sam Lantinga +@@ -29,17 +30,32 @@ + + #include <stdlib.h> + #include <string.h> ++#include <stdarg.h> ++#include <fcntl.h> ++#include <sys/ioctl.h> + + #include <stdio.h> + #include <unistd.h> ++#include <sys/types.h> ++#include <sys/wait.h> ++#include <linux/fb.h> ++#include <sys/mman.h> ++#include <asm/page.h> + + #include <qapplication.h> + #include <qpe/qpeapplication.h> ++#include <qpe/qcopenvelope_qws.h> ++#include <qgfx_qws.h> ++#include <qwindowsystem_qws.h> ++#include <qwidget.h> ++#include <qwidgetlist.h> ++#include <qdirectpainter_qws.h> + + #include "SDL.h" + #include "SDL_timer.h" + + #include "SDL_QWin.h" ++#include "SDL_sysvideo.h" + + extern "C" { + +@@ -51,14 +67,67 @@ + #include "SDL_lowvideo.h" + + //#define QTOPIA_DEBUG ++#define QTOPIA_LOG + #define QT_HIDDEN_SIZE 32 /* starting hidden window size */ + ++#ifdef QTOPIA_LOG ++ static FILE *st_logfp = NULL; ++#endif ++ static inline void LOG(char *fmt, ...) ++ { ++#ifdef QTOPIA_LOG ++ va_list ap; ++ ++ va_start(ap, fmt); ++ vfprintf(st_logfp, fmt, ap); ++ if (st_logfp != stderr) { ++ fflush(st_logfp); ++ vfprintf(stderr, fmt, ap); ++ } ++ va_end(ap); ++#endif ++ } ++ ++ typedef struct machine_spec { ++ const char *manif; ++ const char *name; ++ int qpe_server_rotation; ++ int init_screen_rot; ++ int init_key_rot; ++ } machine_spec_t; ++ ++ typedef enum { ++ MACHINE_SHARP_SL5000D, ++ MACHINE_SHARP_SL5500, ++ MACHINE_SHARP_SLA300, ++ MACHINE_SHARP_SLB500, ++ MACHINE_SHARP_SLC700, ++ MACHINE_SHARP_SLC750, ++ MACHINE_SHARP_SLC760, ++ MACHINE_SHARP_SLC860, ++ MACHINE_SHARP_SL6000, ++ MACHINE_MAX ++ } machine_t; ++ ++ static const machine_spec_t st_machine_spec[] = { ++ { "Sharp", "SL-5000D", 0 }, ++ { "Sharp", "SL-5500", 0 }, ++ { "Sharp", "SL-A300", 0 }, ++ { "Sharp", "SL-B500", 0 }, ++ { "Sharp", "SL-C700", 0 }, ++ { "Sharp", "SL-C750", 0 }, ++ { "Sharp", "SL-C760", 0 }, ++ { "Sharp", "SL-C860", 0 }, ++ { "Sharp", "SL-6000", 0 }, ++ }; ++ + /* Name of the environment variable used to invert the screen rotation or not: + Possible values: +- !=0 : Screen is 270° rotated +- 0: Screen is 90° rotated*/ +-#define SDL_QT_ROTATION_ENV_NAME "SDL_QT_INVERT_ROTATION" +- ++ !=0 : Screen is 270- rotated ++ 0: Screen is 90- rotated*/ ++#define SDL_QT_ROTATION_ENV_NAME "SDL_QT_ROTATION" ++#define SDL_QT_INVERT_ROTATION_ENV_NAME "SDL_QT_INVERT_ROTATION" ++ + /* Initialization/Query functions */ + static int QT_VideoInit(_THIS, SDL_PixelFormat *vformat); + static SDL_Rect **QT_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags); +@@ -78,6 +147,20 @@ + static int QT_IconifyWindow(_THIS); + static SDL_GrabMode QT_GrabInput(_THIS, SDL_GrabMode mode); + ++ static int console_fd; ++ struct fb_var_screeninfo saved_vinfo; ++ int fb_hwrot; ++ int fb_direct; ++ static int isKHloaded; ++ bool is_VGA_machine; ++ ++#define W100FB_CONFIG 0x57415200 /* WAL\00 */ ++#define W100INIT_ITEM 0 ++#define W100INIT_ALL 1 ++#define W100INIT_ITEM_WITH_VAL 2 ++#define W100FB_CONFIG_EX 0x57415202 /* WAL\02 */ ++ ++ + /* FB driver bootstrap functions */ + + static int QT_Available(void) +@@ -222,13 +305,34 @@ + + int QT_VideoInit(_THIS, SDL_PixelFormat *vformat) + { +- /* Initialize the QPE Application */ ++ const char *SDL_fbdev; ++ struct fb_var_screeninfo vinfo; ++ ++ /* Initialize the QPE Application */ + /* Determine the screen depth */ + vformat->BitsPerPixel = QPixmap::defaultDepth(); + + // For now we hardcode the current depth because anything else + // might as well be emulated by SDL rather than by Qtopia. +- ++ ++ //frame buffer device open. ++ SDL_fbdev = getenv("SDL_FBDEV"); ++ if ( SDL_fbdev == NULL ) { ++ SDL_fbdev = "/dev/fb0"; ++ } ++ console_fd = open(SDL_fbdev, O_RDWR, 0); ++ if ( console_fd < 0 ) { ++ SDL_SetError("Unable to open %s", SDL_fbdev); ++ return(-1); ++ } ++ ++ if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { ++ SDL_SetError("Couldn't get console pixel format"); ++ QT_VideoQuit(_this); ++ return(-1); ++ } ++ saved_vinfo = vinfo; ++ + QSize desktop_size = qApp->desktop()->size(); + QT_AddMode(_this, ((vformat->BitsPerPixel+7)/8)-1, + desktop_size.width(), desktop_size.height()); +@@ -241,7 +345,24 @@ + /* Fill in some window manager capabilities */ + _this->info.wm_available = 0; + +- /* We're done! */ ++#ifdef QTOPIA_LOG ++ st_logfp = fopen("/tmp/sdl-qt-debug", "w"); ++ if (!st_logfp) ++ st_logfp = stderr; ++#endif ++ ++ QT_GrabInput(_this, SDL_GRAB_ON); ++/* ++ { ++ QCopEnvelope e("QPE/KeyHelper", "repeater(int)"); ++ e << 2; ++ } ++*/ ++ isKHloaded=(fopen("/home/zaurus/Settings/keyhelper_SDL.xml","r") != NULL) ? 1 : 0; ++ if (isKHloaded) { ++ system("qcop QPE/KeyHelper \"reload(QString)\" keyhelper_SDL.xml"); //QcopEnvelope can't use. ++ LOG("keyhelper_SDL.xml loaded\n"); ++ } + return(0); + } + +@@ -264,6 +385,7 @@ + + /* Various screen update functions available */ + static void QT_NormalUpdate(_THIS, int numrects, SDL_Rect *rects); ++ static void QT_DirectUpdate(_THIS, int numrects, SDL_Rect *rects); + + + static int QT_SetFullScreen(_THIS, SDL_Surface *screen, int fullscreen) +@@ -276,47 +398,428 @@ + return -1; + } + ++ static machine_t QT_GetMachine(_THIS) ++ { ++ FILE *fp; ++ machine_t machine = MACHINE_SHARP_SL5000D; ++ char buf[1024]; ++ ++ ++ fp = fopen("/proc/cpuinfo", "rb"); ++ if (fp) { ++ if (fread(buf, 1, sizeof(buf), fp) > 0) { ++ LOG("QT_GetMachine: /proc/cpuinfo is %s\n", buf); ++ if (strstr(buf, "SHARP Tosa") != NULL) ++ machine = MACHINE_SHARP_SL6000; ++ else if (strstr(buf, "Collie") != NULL) ++ machine = MACHINE_SHARP_SL5500; ++ else if (strstr(buf, "SHARP Poodle") != NULL) ++ machine = MACHINE_SHARP_SLB500; ++ else if (strstr(buf, "SHARP Corgi") !=NULL) ++ machine = MACHINE_SHARP_SLC700; ++ else if (strstr(buf, "SHARP Shepherd") !=NULL) ++ machine = MACHINE_SHARP_SLC750; ++ else if (strstr(buf, "SHARP Husky") !=NULL) ++ machine = MACHINE_SHARP_SLC760; ++ else if (strstr(buf, "SHARP Boxer") != NULL) ++ machine = MACHINE_SHARP_SLC860; ++ } ++ fclose(fp); ++ } else { ++ LOG("QT_GetMachine: Couldn't read /proc/deviceinfo/product.\n"); ++ LOG(" Now set machine variable to default (SL-5000D)\n"); ++ } ++ ++ LOG(" detected machine is '%s %s'\n", ++ st_machine_spec[machine].manif, st_machine_spec[machine].name); ++ return machine; ++ } ++ ++ static void QT_GetQteServerSpec(_THIS, int *rotation, bool *isQvga) ++ { ++ const char *user; ++ char buf[FILENAME_MAX]; ++ FILE *fp; ++ int rot = 0, is_qvga = 0; ++ ++ user = getenv("USER"); ++ snprintf(buf, sizeof(buf), "/tmp/qtembedded-%s/QtEmbedded-0.spec", ++ user ? user : "root"); ++ LOG("QT_GetRotation: Read spec from '%s'\n", buf); ++ ++ fp = fopen(buf, "rb"); ++ if (fp) { ++ int size; ++ if ((size = fread(buf, 1, sizeof(buf) - 1, fp)) > 0) { ++ buf[size] = '\0'; ++ LOG(" spec is '%s'\n", buf); ++ // get rotation value ++ if (strstr(buf, "Rot")) { ++ rot = atoi(strstr(buf, "Rot") + 3); ++ rot /= 90; ++ if (rot < 0 || rot > 3) { ++ rot = 0; ++ } ++ } else ++ rot = 0; ++ ++ // get qvga mode in SL-C700 ++ if (strstr(buf, "Qvga")) ++ is_qvga = 1; ++ } ++ fclose(fp); ++ } ++ ++ LOG(" Rot=%d, Qvga=%d\n", rot, is_qvga); ++ ++ if (rotation) ++ *rotation = rot; ++ if (isQvga) ++ *isQvga = is_qvga; ++ } ++ + /* FIXME: check return values and cleanup here */ + SDL_Surface *QT_SetVideoMode(_THIS, SDL_Surface *current, + int width, int height, int bpp, Uint32 flags) + { +- + QImage *qimage; +- QSize desktop_size = qApp->desktop()->size(); ++ QSize qteSize = qApp->desktop()->size(); ++ QSize fbSize; ++ QSize userSize; ++ int fb_xres; ++ int fb_yres; ++ struct fb_var_screeninfo vinfo; ++ struct fb_fix_screeninfo finfo; ++ int tmp_ioctl_data; ++ char fb_size_fix = ' '; ++ bool isW100patch_kernel = false; ++ int numFb_Size; ++ ++ int mapped_memlen; ++ int mapped_offset; ++ void *mapped_mem; ++ int fb_offset; ++ ++ ++ machine_t machine = QT_GetMachine(_this); ++ machine_spec_t machineSpec = st_machine_spec[machine]; ++ int qteRotation, userRotation, sdlRotation; ++ int qteKeyRotation, sdlKeyRotation; ++ bool isQteQvga; ++ ++ if (machine == MACHINE_SHARP_SLC700 || ++ machine == MACHINE_SHARP_SLC750 || ++ machine == MACHINE_SHARP_SLC760 || ++ machine == MACHINE_SHARP_SLC860 || // ¾Ü¤·¤¤¤³¤È¤ï¤«¤é¤ó¤±¤É¤È¤ê¤¢¤¨¤º ++ machine == MACHINE_SHARP_SL6000 ) { // ¾Ü¤·¤¤¤³¤È¤ï¤«¤é¤ó¤±¤É¤È¤ê¤¢¤¨¤º ++ is_VGA_machine = true; ++ }else { ++ is_VGA_machine = false; ++ } ++ ++ // qte ¤Ç¤Î²óž³ÑÅÙ¤ò¼èÆÀ ++ QT_GetQteServerSpec(_this, &qteRotation, &isQteQvga); ++ ++ // SL-C700 ¤Î¥¹¥¿¥¤¥ë ++ bool isInputStyle = false; ++ if (is_VGA_machine) { ++ int status = system("/home/QtPalmtop/bin/chkhinge"); ++ if (WEXITSTATUS(status) != 2) ++ isInputStyle = true; ++ LOG("QT_SetVideoMode: SL-C700 Style is %s\n", ++ isInputStyle ? "Input style" : "View style"); ++ } + + +- current->flags = 0; //SDL_FULLSCREEN; // We always run fullscreen. ++ // specity screen setting ++ if (is_VGA_machine) { ++ ++ // w100 rotation pached kernel check ++ isW100patch_kernel = (fopen("/proc/driver/w100/rotation","r") != NULL) ? true : false; ++ LOG("Your Kernel is %s\n",isW100patch_kernel ? "Special Kernel" : "Normal Kernel"); ++ ++ const char *envFb_Size = getenv("SDL_FB_SIZE"); ++ if (envFb_Size !=NULL) { ++ numFb_Size=sscanf(envFb_Size,"%dx%d%c",&fb_xres,&fb_yres,&fb_size_fix); ++ } else { ++ numFb_Size=0; ++ } + +- if(width <= desktop_size.width() +- && height <= desktop_size.height()) { +- current->w = desktop_size.width(); +- current->h = desktop_size.height(); +- } else if(width <= desktop_size.height() && height <= desktop_size.width()) { +- // Landscape mode +- char * envString = getenv(SDL_QT_ROTATION_ENV_NAME); +- int envValue = envString ? atoi(envString) : 0; +- screenRotation = envValue ? SDL_QT_ROTATION_270 : SDL_QT_ROTATION_90; +- current->h = desktop_size.width(); +- current->w = desktop_size.height(); ++ if (numFb_Size >=2) { ++ ++ // specity screen mode ++ if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { ++ SDL_SetError("Couldn't get console pixel format"); ++ QT_VideoQuit(_this); ++ return(NULL); ++ } ++ ++ vinfo.xres = fb_xres; ++ vinfo.xres_virtual = fb_xres; ++ vinfo.yres = fb_yres; ++ vinfo.yres_virtual = fb_yres; ++ ++ if (fb_size_fix == '@') { ++ width = fb_xres; ++ height = fb_yres; ++ } ++ ++ if ( ioctl(console_fd, FBIOPUT_VSCREENINFO, &vinfo) < 0 ) { ++ SDL_SetError("Couldn't set console screen info"); ++ return(NULL); ++ } ++ ++ ++ if (isW100patch_kernel) { ++ qteSize.setWidth(vinfo.xres); ++ qteSize.setHeight(vinfo.yres); ++ qteRotation=0; ++ }else if(vinfo.xres == 320){ ++ qteSize.setWidth(vinfo.xres); ++ qteSize.setHeight(vinfo.yres); ++ qteRotation=2; ++ }else { ++ qteSize.setWidth(vinfo.yres); ++ qteSize.setHeight(vinfo.xres); ++ qteRotation=3; ++ } ++ ++ if (isW100patch_kernel && (vinfo.xres == 320) && (vinfo.yres == 240)) { ++ tmp_ioctl_data=121; ++ ioctl(console_fd, W100FB_CONFIG_EX, &tmp_ioctl_data); ++ fb_hwrot=1; ++ } ++ ++ LOG("FBVideoMode: %dx%d%c\n", vinfo.xres, vinfo.yres,fb_size_fix ); ++ ++ }else { ++ ++ // auto screen mode ++ if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { ++ SDL_SetError("Couldn't get console pixel format"); ++ QT_VideoQuit(_this); ++ return(NULL); ++ } ++ ++ if (isW100patch_kernel && (isInputStyle == false) && (vinfo.xres == 240) && (vinfo.yres == 320)) { ++ vinfo.xres = 240; ++ vinfo.xres_virtual = 240; ++ vinfo.yres = 320; ++ vinfo.yres_virtual = 320; ++ qteRotation=0; ++ }else if ((width <= 320) && (height <= 240)) { ++ vinfo.xres = 320; ++ vinfo.xres_virtual = 320; ++ vinfo.yres = 240; ++ vinfo.yres_virtual = 240; ++ }else if (isW100patch_kernel && (isInputStyle == true)){ ++ vinfo.xres = 640; ++ vinfo.xres_virtual = 640; ++ vinfo.yres = 480; ++ vinfo.yres_virtual = 480; ++ qteRotation=0; ++ }else { ++ vinfo.xres = 480; ++ vinfo.xres_virtual = 480; ++ vinfo.yres = 640; ++ vinfo.yres_virtual = 640; ++ } ++ ++ if ( ioctl(console_fd, FBIOPUT_VSCREENINFO, &vinfo) < 0 ) { ++ SDL_SetError("Couldn't set console screen info"); ++ return(NULL); ++ } ++ ++ if (isW100patch_kernel) { ++ qteSize.setWidth(vinfo.xres); ++ qteSize.setHeight(vinfo.yres); ++ qteRotation=0; ++ fb_direct=1; ++ }else if(vinfo.xres == 320){ ++ qteSize.setWidth(vinfo.xres); ++ qteSize.setHeight(vinfo.yres); ++ qteRotation=2; ++ }else { ++ qteSize.setWidth(vinfo.yres); ++ qteSize.setHeight(vinfo.xres); ++ qteRotation=3; ++ } ++ ++ if (isW100patch_kernel && (vinfo.xres == 320) && (vinfo.yres == 240)) { ++ tmp_ioctl_data=121; ++ ioctl(console_fd, W100FB_CONFIG_EX, &tmp_ioctl_data); ++ fb_hwrot=1; ++ qteRotation=0; ++ } ++ ++ LOG("FBVideoMode: %dx%d%c\n", vinfo.xres, vinfo.yres,fb_size_fix ); ++ } ++ } ++ ++ // direct paint setting ++ const char *envFb_Direct = getenv("SDL_FB_DIRECT"); ++ if (envFb_Direct !=NULL) ++ fb_direct = envFb_Direct ? atoi(envFb_Direct) : -1; ++ ++ if (fb_direct == 1){ ++ if ( ioctl(console_fd, FBIOGET_FSCREENINFO, &finfo) < 0 ) { ++ SDL_SetError("Couldn't get console hardware info"); ++ QT_VideoQuit(_this); ++ return(NULL); ++ } ++ if ( ioctl(console_fd, FBIOGET_VSCREENINFO, &vinfo) < 0 ) { ++ SDL_SetError("Couldn't get console pixel format"); ++ QT_VideoQuit(_this); ++ return(NULL); ++ } ++ LOG("Direct paint mode\n"); ++ } ++ ++ // hack for SL-5500 ++ if (machine == MACHINE_SHARP_SL5500) ++ qteRotation = 3; ++ ++ // SL-B500 Íѥϥå¯(¤È¤ê¤¢¤¨¤º¡¢¤Í) ++ if (machine == MACHINE_SHARP_SLB500) ++ qteRotation = 3; ++ ++ // À¸¥Õ¥ì¡¼¥à¥Ð¥Ã¥Õ¥¡¤Î¥µ¥¤¥º¤òÆÀ¤ë ++ if (qteRotation & 1) { ++ fbSize.setWidth(qteSize.height()); ++ fbSize.setHeight(qteSize.width()); ++ } else { ++ fbSize = qteSize; ++ } ++ ++ // ++ const char *envRotStr = getenv(SDL_QT_ROTATION_ENV_NAME); ++ userRotation = envRotStr ? atoi(envRotStr) : -1; ++ if ((userRotation >= 0 ? userRotation : qteRotation) & 1) { ++ userSize.setWidth(fbSize.height()); ++ userSize.setHeight(fbSize.width()); ++ } else { ++ userSize = fbSize; ++ } ++ ++ if (width <= userSize.width() && height <= userSize.height()) { ++ // ´Ä¶ÊÑ¿ô¤Ç²óž³ÑÅÙ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢¤½¤ì¤òºÇÍ¥À褹¤ë ++ if (userRotation >= 0) ++ sdlRotation = userRotation; ++ else { ++ // ¤Ç¡¢¤½¤Î»ØÄ̵꤬¤¤¤Î¤Ç¤¢¤ì¤Ð qte ¤Î²óž³ÑÅ٤˹ç¤ï¤»¤ë¤À¤± ++ // ¤Ê¤ó¤À¤±¤É¡¢SL-C700 ¤Ç¤Ï¤Á¤ç¤¤Ê£»¨¡£ ++ if (is_VGA_machine && (fbSize.width() == 320) && (fbSize.height() == 240)) { ++ if (isInputStyle) ++ sdlRotation = 2; ++ else ++ sdlRotation = qteRotation; ++ } else { ++ sdlRotation = qteRotation; ++ } ++ } ++ } else if (width <= fbSize.width() && height <= fbSize.height()) { ++ sdlRotation = 0; ++ if (is_VGA_machine && (fbSize.width() == 320) && (fbSize.height() == 240) && isInputStyle) ++ sdlRotation = 2; ++ } else if (width <= fbSize.height() && height <= fbSize.width()) { ++ sdlRotation = 1; + } else { + SDL_SetError("Unsupported resolution, %dx%d\n", width, height); ++ return NULL; + } ++ ++ if (fb_hwrot == 1) ++ sdlRotation = 0; ++ ++ if (getenv(SDL_QT_INVERT_ROTATION_ENV_NAME) != NULL) { ++ sdlRotation = (sdlRotation + 2) & 3; ++ } ++ ++ LOG("QT_SetVideoMode: argSize=%dx%d\n", width, height); ++ LOG("QT_SetVideoMode: qteSize=%dx%d\n", ++ qteSize.width(), qteSize.height()); ++ LOG("QT_SetVideoMode: fbSize=%dx%d\n", ++ fbSize.width(), fbSize.height()); ++ LOG("QT_SetVideoMode: qteRotation=%d\n", qteRotation); ++ LOG("QT_SetVideoMode: userRotation=%d\n", userRotation); ++ LOG("QT_SetVideoMode: sdlRotation=%d\n", sdlRotation); ++ ++ current->flags = 0;//SDL_FULLSCREEN; // We always run fullscreen. ++ current->w = width; ++ current->h = height; ++ SDL_Win->setScreenRotation(sdlRotation, qteRotation); ++ SDL_Win->setFBSize(fbSize); ++ ++ if (machine == MACHINE_SHARP_SLA300) ++ SDL_Win->setSLA300InputFix(true); ++ ++ // keyboard rotation ++ qteKeyRotation = qteRotation; ++// fprintf(stderr, "%d\n", (machine == MACHINE_SHARP_SLC700)); ++// fprintf(stderr, "%d\n", isQteQvga); ++ if (isQteQvga && is_VGA_machine) ++ qteKeyRotation = 3; ++ else if (machine == MACHINE_SHARP_SLB500) ++ qteKeyRotation = 3; ++ ++ if (isQteQvga && fb_hwrot == 1) ++ qteKeyRotation = 1; ++ ++ sdlKeyRotation = sdlRotation; ++ ++ SDL_Win->setKeyRotation(sdlKeyRotation, qteKeyRotation); ++ ++ LOG("QT_SetVideoMode: qteKeyRotation=%d\n", qteKeyRotation); ++ LOG("QT_SetVideoMode: sdlKeyRotation=%d\n", sdlKeyRotation); ++ + if ( flags & SDL_OPENGL ) { + SDL_SetError("OpenGL not supported"); + return(NULL); +- } ++ } + /* Create the QImage framebuffer */ +- qimage = new QImage(current->w, current->h, bpp); +- if (qimage->isNull()) { +- SDL_SetError("Couldn't create screen bitmap"); +- delete qimage; +- return(NULL); ++ ++ // frame buffer memory mapping ++ if (fb_direct == 1) { ++ current->pitch = finfo.line_length; ++ current->flags = (SDL_FULLSCREEN|SDL_HWSURFACE); ++ mapped_offset = (((long)finfo.smem_start) - ++ (((long)finfo.smem_start)&~(PAGE_SIZE-1))); ++ mapped_memlen = finfo.smem_len+mapped_offset; ++ if(console_fd >0 ) { ++ mapped_mem = mmap(NULL, mapped_memlen,PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0); ++ fb_offset=(vinfo.xres-width)+(vinfo.yres-height)*vinfo.xres; ++ current->pixels = (void *)((int )mapped_mem+fb_offset); ++ _this->UpdateRects = QT_DirectUpdate; ++ } else { ++ qimage = new QImage(current->w, current->h, bpp); ++ if (qimage->isNull()) { ++ SDL_SetError("Couldn't create screen bitmap"); ++ delete qimage; ++ return(NULL); ++ } ++ current->pixels = (void *)qimage->bits(); ++ _this->UpdateRects = QT_NormalUpdate; ++ SDL_Win->setImage(qimage); ++// SDL_Win->setFullscreen(true); //comment to non update taskbar ++ } ++ } else { ++ qimage = new QImage(current->w, current->h, bpp); ++ if (qimage->isNull()) { ++ SDL_SetError("Couldn't create screen bitmap"); ++ delete qimage; ++ return(NULL); ++ } ++ current->pitch = qimage->bytesPerLine(); ++ current->pixels = (void *)qimage->bits(); ++ _this->UpdateRects = QT_NormalUpdate; ++ SDL_Win->setImage(qimage); ++// SDL_Win->setFullscreen(true); //comment to non update taskbar ++ + } +- current->pitch = qimage->bytesPerLine(); +- current->pixels = (void *)qimage->bits(); +- SDL_Win->setImage(qimage); +- _this->UpdateRects = QT_NormalUpdate; +- SDL_Win->setFullscreen(true); ++ ++ ++ // fprintf(stderr,"QT_SetVideoMode() qImage:%dx%d %d\n", ++ // qimage->width(), qimage->height(), qimage->bytesPerLine()); + /* We're done */ + return(current); + } +@@ -361,13 +864,19 @@ + { + if(SDL_Win->lockScreen()) { + for(int i=0; i<numrects; ++i ) { +- QRect rect(rects[i].x, rects[i].y, +- rects[i].w, rects[i].h); +- SDL_Win->repaintRect(rect); ++ QRect rect(rects[i].x, rects[i].y, ++ rects[i].w, rects[i].h); ++ SDL_Win->repaintRect(rect); + } + SDL_Win->unlockScreen(); + } + } ++ ++ static void QT_DirectUpdate(_THIS, int numrects, SDL_Rect *rects) ++ { ++ ++ } ++ + /* Is the system palette settable? */ + int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) + { +@@ -383,10 +892,36 @@ + // -- David Hedbor + // delete SDL_Win; + // SDL_Win = 0; ++ ++ if ( console_fd > 0 ) { ++ /* Restore the original video mode and palette */ ++ if (fb_hwrot == 1) { ++ int tmp_ioctl_data=120; ++ ioctl(console_fd, W100FB_CONFIG_EX, &tmp_ioctl_data); ++ } ++ ++ ioctl(console_fd, FBIOPUT_VSCREENINFO, &saved_vinfo); ++ ++ /* We're all done with the framebuffer */ ++ close(console_fd); ++ console_fd = -1; ++ } ++ + _this->screen->pixels = NULL; + QT_GrabInput(_this, SDL_GRAB_OFF); ++/* ++ { ++ QCopEnvelope e("QPE/KeyHelper", "repeater(int)"); ++ e << 1; ++ } ++*/ ++ if (isKHloaded) ++ system("qcop QPE/KeyHelper \"reload()\""); //QcopEnvelope can't use. ++ + } + ++ ++ + static int QT_IconifyWindow(_THIS) { + SDL_Win->hide(); + diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch new file mode 100644 index 0000000..6e532bc --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/asm_page_h.patch @@ -0,0 +1,48 @@ +Index: SDL-1.2.9/src/video/XFree86/Xxf86dga/XF86DGA.c +=================================================================== +--- SDL-1.2.9.orig/src/video/XFree86/Xxf86dga/XF86DGA.c 2002-03-05 11:55:31.000000000 -0800 ++++ SDL-1.2.9/src/video/XFree86/Xxf86dga/XF86DGA.c 2010-09-15 12:32:47.485210000 -0700 +@@ -18,7 +18,6 @@ Copyright (c) 1995,1996 The XFree86 Pro + #define HAS_MMAP_ANON + #include <sys/types.h> + #include <sys/mman.h> +-#include <asm/page.h> /* PAGE_SIZE */ + #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ + #define HAS_GETPAGESIZE + #endif /* linux */ +Index: SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c +=================================================================== +--- SDL-1.2.9.orig/src/video/fbcon/SDL_fbvideo.c 2010-09-15 12:31:45.000000000 -0700 ++++ SDL-1.2.9/src/video/fbcon/SDL_fbvideo.c 2010-09-15 12:33:01.955210000 -0700 +@@ -35,7 +35,6 @@ static char rcsid = + #include <unistd.h> + #include <sys/ioctl.h> + #include <sys/mman.h> +-#include <asm/page.h> /* For definition of PAGE_SIZE */ + + #include "SDL.h" + #include "SDL_error.h" +Index: SDL-1.2.9/src/video/ps2gs/SDL_gsyuv.c +=================================================================== +--- SDL-1.2.9.orig/src/video/ps2gs/SDL_gsyuv.c 2002-11-17 10:56:50.000000000 -0800 ++++ SDL-1.2.9/src/video/ps2gs/SDL_gsyuv.c 2010-09-15 12:32:40.695210000 -0700 +@@ -33,7 +33,6 @@ static char rcsid = + #include <unistd.h> + #include <sys/ioctl.h> + #include <sys/mman.h> +-#include <asm/page.h> /* For definition of PAGE_SIZE */ + + #include "SDL_error.h" + #include "SDL_video.h" +Index: SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc +=================================================================== +--- SDL-1.2.9.orig/src/video/qtopia/SDL_sysvideo.cc 2010-09-15 12:31:45.000000000 -0700 ++++ SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc 2010-09-15 12:32:54.785210001 -0700 +@@ -40,7 +40,6 @@ static char rcsid = + #include <sys/wait.h> + #include <linux/fb.h> + #include <sys/mman.h> +-#include <asm/page.h> + + #include <qapplication.h> + #include <qpe/qpeapplication.h> diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/fix_Makefile.am.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/fix_Makefile.am.patch new file mode 100644 index 0000000..7ad33fb --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/fix_Makefile.am.patch @@ -0,0 +1,11 @@ +--- SDL-1.2.9.vanilla/Makefile.am 2009-02-24 19:53:25.000000000 +0100 ++++ SDL-1.2.9/Makefile.am 2009-02-24 19:54:14.000000000 +0100 +@@ -85,7 +85,7 @@ + cd src && $(MAKE) install-libLTLIBRARIES + + # Run ldconfig after installing the library: +-install-hook: ++install-exec-hook: + -ldconfig + + # Grab the test programs for the distribution: diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/fix_configure.in.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/fix_configure.in.patch new file mode 100644 index 0000000..19e1afd --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/fix_configure.in.patch @@ -0,0 +1,10 @@ +--- SDL-1.2.9.vanilla/configure.in 2009-02-24 19:53:25.000000000 +0100 ++++ SDL-1.2.9/configure.in 2009-02-24 20:08:10.000000000 +0100 +@@ -1,6 +1,7 @@ + dnl Process this file with autoconf to produce a configure script. + AC_INIT(README) + ++AM_PROG_AS + dnl Set various version strings - taken gratefully from the GTk sources + # + # Making releases: diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/ipaq-1.2.9.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/ipaq-1.2.9.patch new file mode 100644 index 0000000..0ad182b --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/ipaq-1.2.9.patch @@ -0,0 +1,140 @@ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/Makefile.am SDL-1.2.9/src/video/qtopia/Makefile.am +--- SDL-1.2.9-orig/src/video/qtopia/Makefile.am 2007-03-12 20:57:23.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/Makefile.am 2007-03-12 20:58:02.000000000 +0100 +@@ -22,4 +22,4 @@ + # overwrite USER variables + CXXLD = $(CC) + CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++ $(AM_LDFLAGS) $(LDFLAGS) -lopiecore2 -o $@ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.cc SDL-1.2.9/src/video/qtopia/SDL_QWin.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.cc 2007-03-12 20:57:00.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_QWin.cc 2007-03-12 20:58:02.000000000 +0100 +@@ -29,8 +29,11 @@ + #include "SDL_QWin.h" + #include <qapplication.h> + #include <qpe/qpeapplication.h> ++#include <opie2/odevice.h> + #include <qdirectpainter_qws.h> + ++using namespace Opie::Core; ++ + extern int fb_hwrot; + extern int fb_direct; + extern bool is_VGA_machine; +@@ -545,18 +548,32 @@ + case Qt::Key_F7: scancode = SDLK_F7; break; + case Qt::Key_F8: scancode = SDLK_F8; break; + case Qt::Key_F9: +- scancode = SDLK_F9; +- mouse_button_mode=1; ++ if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { ++ scancode = SDLK_y; } ++ else { ++ scancode = SDLK_F9; ++ mouse_button_mode=1; } + break; + case Qt::Key_F10: +- scancode = SDLK_F10; +- mouse_button_mode=2; ++ if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { ++ scancode = SDLK_LALT; } ++ else { ++ scancode = SDLK_F10; ++ mouse_button_mode=2; } + break; + case Qt::Key_F11: scancode = SDLK_F11; break; +- case Qt::Key_F12: scancode = SDLK_F12; break; ++ case Qt::Key_F12: ++ if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { ++ scancode = SDLK_RETURN; } ++ else { ++ scancode = SDLK_F12; } ++ break; + case Qt::Key_F13: +- scancode = SDLK_F13; +- mouse_button_mode=3; ++ if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { ++ scancode = SDLK_ESCAPE; } ++ else { ++ scancode = SDLK_F13; ++ mouse_button_mode=3; } + break; + case Qt::Key_F14: scancode = SDLK_F14; break; + case Qt::Key_F15: scancode = SDLK_F15; break; +@@ -573,6 +590,9 @@ + scancode = SDLK_RETURN; + break; + ++ // To use record button on ipaq ++ case Qt::Key_F24: scancode = SDLK_LSHIFT; break; ++ + default: + scancode = SDLK_UNKNOWN; + break; +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc 2007-03-12 20:55:07.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_sysvideo.cc 2007-03-12 20:58:02.000000000 +0100 +@@ -45,6 +45,7 @@ + #include <qapplication.h> + #include <qpe/qpeapplication.h> + #include <qpe/qcopenvelope_qws.h> ++#include <opie2/odevice.h> + #include <qgfx_qws.h> + #include <qwindowsystem_qws.h> + #include <qwidget.h> +@@ -66,6 +67,8 @@ + #include "SDL_syswm_c.h" + #include "SDL_lowvideo.h" + ++using namespace Opie::Core; ++ + //#define QTOPIA_DEBUG + #define QTOPIA_LOG + #define QT_HIDDEN_SIZE 32 /* starting hidden window size */ +@@ -106,6 +109,7 @@ + MACHINE_SHARP_SLC760, + MACHINE_SHARP_SLC860, + MACHINE_SHARP_SL6000, ++ MACHINE_IPAQ, + MACHINE_MAX + } machine_t; + +@@ -119,6 +123,7 @@ + { "Sharp", "SL-C760", 0 }, + { "Sharp", "SL-C860", 0 }, + { "Sharp", "SL-6000", 0 }, ++ { "HP", "HP IPAQ", 0 }, + }; + + /* Name of the environment variable used to invert the screen rotation or not: +@@ -423,6 +428,13 @@ + machine = MACHINE_SHARP_SLC760; + else if (strstr(buf, "SHARP Boxer") != NULL) + machine = MACHINE_SHARP_SLC860; ++ else if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) ++ machine = MACHINE_IPAQ; ++ else ++ { ++ machine = MACHINE_SHARP_SL5000D; ++ LOG("Can't detect machine defaulting to SL5000D"); ++ } + } + fclose(fp); + } else { +@@ -679,6 +691,15 @@ + if (machine == MACHINE_SHARP_SL5500) + qteRotation = 3; + ++ // HP IPaq ++ if ( ODevice::inst( )-> series ( ) == Model_iPAQ ) { ++ qteRotation = 3; ++ } ++ if ( ODevice::inst ( )-> model ( ) == Model_iPAQ_H38xx ) { ++ qteRotation = 1; ++ } ++ ++ + // SL-B500 Íѥϥå¯(¤È¤ê¤¢¤¨¤º¡¢¤Í) + if (machine == MACHINE_SHARP_SLB500) + qteRotation = 3; diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/mouse-1.2.9.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/mouse-1.2.9.patch new file mode 100644 index 0000000..7f88956 --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/mouse-1.2.9.patch @@ -0,0 +1,48 @@ +diff -Naur SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.cc SDL-1.2.9/src/video/qtopia/SDL_QWin.cc +--- SDL-1.2.9-orig/src/video/qtopia/SDL_QWin.cc 2007-03-12 20:55:07.000000000 +0100 ++++ SDL-1.2.9/src/video/qtopia/SDL_QWin.cc 2007-03-12 20:56:36.000000000 +0100 +@@ -169,7 +169,12 @@ + Qt::ButtonState button = e->button(); + int sdlstate = 0; + if( (button & Qt::LeftButton)) { +- sdlstate |= SDL_BUTTON_LMASK; ++ if (mouse_button_mode == 3) ++ sdlstate |= SDL_BUTTON_RMASK; ++ else if (mouse_button_mode == 2) ++ sdlstate |= SDL_BUTTON_MMASK; ++ else ++ sdlstate |= SDL_BUTTON_LMASK; + } + if( (button & Qt::RightButton)) { + sdlstate |= SDL_BUTTON_RMASK; +@@ -539,20 +544,20 @@ + case Qt::Key_F6: scancode = SDLK_F6; break; + case Qt::Key_F7: scancode = SDLK_F7; break; + case Qt::Key_F8: scancode = SDLK_F8; break; +- case Qt::Key_F9: scancode = SDLK_F9; break; +- case Qt::Key_F10: +- scancode = SDLK_F10; ++ case Qt::Key_F9: ++ scancode = SDLK_F9; + mouse_button_mode=1; + break; +- case Qt::Key_F11: +- scancode = SDLK_F11; +- mouse_button_mode=3; +- break; +- case Qt::Key_F12: +- scancode = SDLK_F12; ++ case Qt::Key_F10: ++ scancode = SDLK_F10; + mouse_button_mode=2; + break; +- case Qt::Key_F13: scancode = SDLK_F13; break; ++ case Qt::Key_F11: scancode = SDLK_F11; break; ++ case Qt::Key_F12: scancode = SDLK_F12; break; ++ case Qt::Key_F13: ++ scancode = SDLK_F13; ++ mouse_button_mode=3; ++ break; + case Qt::Key_F14: scancode = SDLK_F14; break; + case Qt::Key_F15: scancode = SDLK_F15; break; + case Qt::Key_Super_L: scancode = SDLK_LSUPER; break; diff --git a/recipes-graphics/libsdl/libsdl-qpe-1.2.9/no-PAGE_SIZE.patch b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/no-PAGE_SIZE.patch new file mode 100644 index 0000000..856aaf2 --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe-1.2.9/no-PAGE_SIZE.patch @@ -0,0 +1,11 @@ +--- SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc.org 2007-05-25 07:07:32.000000000 +0000 ++++ SDL-1.2.9-orig/src/video/qtopia/SDL_sysvideo.cc 2007-05-25 07:24:48.000000000 +0000 +@@ -809,7 +809,7 @@ + current->pitch = finfo.line_length; + current->flags = (SDL_FULLSCREEN|SDL_HWSURFACE); + mapped_offset = (((long)finfo.smem_start) - +- (((long)finfo.smem_start)&~(PAGE_SIZE-1))); ++ (((long)finfo.smem_start)&~(getpagesize()-1))); + mapped_memlen = finfo.smem_len+mapped_offset; + if(console_fd >0 ) { + mapped_mem = mmap(NULL, mapped_memlen,PROT_READ|PROT_WRITE, MAP_SHARED, console_fd, 0); diff --git a/recipes-graphics/libsdl/libsdl-qpe_1.2.9.bb b/recipes-graphics/libsdl/libsdl-qpe_1.2.9.bb new file mode 100644 index 0000000..8eb2d12 --- /dev/null +++ b/recipes-graphics/libsdl/libsdl-qpe_1.2.9.bb @@ -0,0 +1,40 @@ +require libsdl.inc + +PR = "${INC_PR}.1" + +SECTION = "opie/libs" +DEPENDS = "virtual/libqpe1 libopie2" + +SRC_URI += "\ + file://agawa-piro-mickey-1.2.9.patch \ + file://pygame-1.2.9.patch \ + file://mouse-1.2.9.patch \ + file://kill-stdc++-1.2.9.patch \ + file://ipaq-1.2.9.patch \ + file://SDL-Akita-1.2.9.patch \ + file://fixlibs-1.2.9.patch \ + file://explicit-extern-C.patch \ + file://no-PAGE_SIZE.patch \ + file://fix_Makefile.am.patch \ + file://fix_configure.in.patch \ + file://asm_page_h.patch \ +" + +EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \ + --enable-file --enable-oss --disable-alsa --disable-esd --disable-arts \ + --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ + --disable-mintaudio --disable-nasm --disable-video-x11 --disable-video-dga \ + --enable-video-fbcon --disable-video-directfb --disable-video-ps2gs \ + --disable-video-xbios --disable-video-gem --disable-video-dummy \ + --disable-video-opengl --enable-input-events --enable-pthreads \ + --disable-video-picogui --enable-video-qtopia --enable-dlopen" + +do_compile_prepend() { + if [ "${PALMTOP_USE_MULTITHREADED_QT}" = "yes" ] + then + sed -i s,-lqte\([^-]\),-lqte-mt, src/Makefile + fi +} + +SRC_URI[md5sum] = "80919ef556425ff82a8555ff40a579a0" +SRC_URI[sha256sum] = "d5a168968051536641ab5a3ba5fc234383511c77a8bc5ceb8bed619bdd42e5f9" diff --git a/recipes-graphics/libsdl/libsdl.inc b/recipes-graphics/libsdl/libsdl.inc new file mode 100644 index 0000000..01da500 --- /dev/null +++ b/recipes-graphics/libsdl/libsdl.inc @@ -0,0 +1,42 @@ +DESCRIPTION = "Simple DirectMedia Layer - X11 Edition" +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "alsa-lib virtual/libgl virtual/libx11 libxext" +DEPENDS_avr32 = "alsa-lib virtual/libx11 libxext" +PROVIDES = "virtual/libsdl" +LICENSE = "LGPL" + +INC_PR = "r10" + +SRC_URI = "\ + http://www.libsdl.org/release/SDL-${PV}.tar.gz \ + file://extra-keys.patch \ + file://pagesize.patch \ + file://remove_path.patch \ + file://acinclude.m4" +S = "${WORKDIR}/SDL-${PV}" + +inherit autotools binconfig pkgconfig + +EXTRA_OECONF = "<overwrite me>" + +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir}/*config" + +do_configure_prepend() { + rm -f ${S}/acinclude.m4 + cp ${WORKDIR}/acinclude.m4 ${S}/ +} + +do_configure_append () { + cd ${S} + + # prevent libtool from linking libs against libstdc++, libgcc, ... + cat ${HOST_SYS}-libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${HOST_SYS}-libtool.tmp + mv ${HOST_SYS}-libtool.tmp ${HOST_SYS}-libtool +} + +do_stage() { + autotools_stage_all + rm ${STAGING_LIBDIR}/libSDL.la +} diff --git a/recipes-opie/images/jlime-opie.bb b/recipes-opie/images/jlime-opie.bb new file mode 100644 index 0000000..bb9ad73 --- /dev/null +++ b/recipes-opie/images/jlime-opie.bb @@ -0,0 +1,62 @@ +PR = "r1" +IMAGE_LINGUAS = "" + +DEPENDS = "task-base task-opie" + +extra_stuff = '${@base_conditional("ROOT_FLASH_SIZE", "24", "", "task-opie-extra-games task-opie-extra-apps task-opie-extra-styles konqueror-embedded",d)}' + +IMAGE_INSTALL = "task-base task-opie-base task-opie-base-applets \ + task-opie-base-inputmethods task-opie-base-apps \ + task-opie-base-settings task-opie-base-decorations \ + task-opie-base-styles task-opie-base-pim \ + task-opie-extra-settings \ + task-opie-bluetooth task-opie-irda \ + ${extra_stuff}" + +# merge feed-sources into ipkg.conf for opie-aqpkg as it can't handle feed-sources outside of ipkg.conf. +merge_feeds() { + + if ! test -z "${FEED_URIS}" + then + # Die gracefully if ipkg-collateral failed + if ! test -e "${IMAGE_ROOTFS}/etc/ipkg.conf" + then + echo "[${IMAGE_ROOTFS}/etc/ipkg.conf] is missing!" + exit 1 + fi + + # comment out existing feed-sources inserted by ipkg-collateral + cat ${IMAGE_ROOTFS}/etc/ipkg.conf | sed "s/^src\ /#src\ /" > ${IMAGE_ROOTFS}/etc/ipkg.conf_ + rm ${IMAGE_ROOTFS}/etc/ipkg.conf && mv ${IMAGE_ROOTFS}/etc/ipkg.conf_ ${IMAGE_ROOTFS}/etc/ipkg.conf + + # extract, then delete destinations + cat ${IMAGE_ROOTFS}/etc/ipkg.conf | egrep "^dest\ " > ${IMAGE_ROOTFS}/etc/ipkg.conf.dest + cat ${IMAGE_ROOTFS}/etc/ipkg.conf | egrep -v "^dest\ " > ${IMAGE_ROOTFS}/etc/ipkg.conf_ + rm ${IMAGE_ROOTFS}/etc/ipkg.conf && mv ${IMAGE_ROOTFS}/etc/ipkg.conf_ ${IMAGE_ROOTFS}/etc/ipkg.conf + + + for line in ${FEED_URIS} + do + # strip leading and trailing spaces/tabs, then split into name and uri + line_clean="`echo "$line"|sed 's/^[ \t]*//;s/[ \t]*$//'`" + feed_name="`echo "$line_clean" | sed -n 's/\(.*\)##\(.*\)/\1/p'`" + feed_uri="`echo "$line_clean" | sed -n 's/\(.*\)##\(.*\)/\2/p'`" + + # insert new feed-sources + echo "src/gz $feed_name $feed_uri" >> ${IMAGE_ROOTFS}/etc/ipkg.conf + done + + # remove temporary files and rebuild ipkg.conf + echo "" >> ${IMAGE_ROOTFS}/etc/ipkg.conf + cat ${IMAGE_ROOTFS}/etc/ipkg.conf.dest >> ${IMAGE_ROOTFS}/etc/ipkg.conf + rm ${IMAGE_ROOTFS}/etc/ipkg.conf.dest + + # remove -feed.conf files which are no longer needed + cd ${IMAGE_ROOTFS}/etc/ipkg/ && rm -- *-feed.conf + fi +} + +# merge feed-sources into ipkg.conf and create /etc/timestamp from build date +IMAGE_PREPROCESS_COMMAND = "merge_feeds; create_etc_timestamp" + +inherit image diff --git a/recipes-opie/images/opie-image-16mb.bb b/recipes-opie/images/opie-image-16mb.bb new file mode 100644 index 0000000..8569e95 --- /dev/null +++ b/recipes-opie/images/opie-image-16mb.bb @@ -0,0 +1,19 @@ +IMAGE_LINGUAS = "" + +DEPENDS = "task-boot task-opie-16mb" + +ANGSTROM_EXTRA_INSTALL ?= "" +IMAGE_INSTALL = "task-boot \ + dropbear \ + task-opie-16mb-base \ + task-opie-16mb-applets \ + task-opie-16mb-inputmethods \ + task-opie-16mb-settings \ + task-opie-16mb-apps \ + task-opie-16mb-pim \ + ${ANGSTROM_EXTRA_INSTALL} " + +# create /etc/timestamp from build date +IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" + +inherit image diff --git a/recipes-opie/images/opie-image.bb b/recipes-opie/images/opie-image.bb new file mode 100644 index 0000000..4a984a0 --- /dev/null +++ b/recipes-opie/images/opie-image.bb @@ -0,0 +1,18 @@ +IMAGE_LINGUAS = "" + +DEPENDS = "task-base task-opie" + +ANGSTROM_EXTRA_INSTALL ?= "" +IMAGE_INSTALL = "task-base-extended task-opie-base task-opie-base-applets \ + task-opie-base-inputmethods task-opie-base-apps \ + task-opie-base-settings task-opie-base-decorations \ + task-opie-base-styles task-opie-base-pim \ + task-opie-extra-settings \ + ${@base_contains("COMBINED_FEATURES", "bluetooth", "task-opie-bluetooth", "",d)} \ + ${@base_contains("COMBINED_FEATURES", "irda", "task-opie-irda", "",d)} \ + ${ANGSTROM_EXTRA_INSTALL} " + +# create /etc/timestamp from build date +IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" + +inherit image diff --git a/recipes-opie/images/opie-kdepim-image.bb b/recipes-opie/images/opie-kdepim-image.bb new file mode 100644 index 0000000..a8cb28b --- /dev/null +++ b/recipes-opie/images/opie-kdepim-image.bb @@ -0,0 +1,7 @@ +require opie-image.bb + +DEPENDS += "kdepimpi" + +export IMAGE_BASENAME = "opie-kdepim-image" + +IMAGE_INSTALL += "kopi kapi kammu kopi-applet" diff --git a/recipes-opie/images/opie-xqtlauncher-image.bb b/recipes-opie/images/opie-xqtlauncher-image.bb new file mode 100644 index 0000000..db32a1e --- /dev/null +++ b/recipes-opie/images/opie-xqtlauncher-image.bb @@ -0,0 +1,7 @@ +require opie-image.bb + +DEPENDS += "task-xqtlauncher" + +export IMAGE_BASENAME = "opie-xqtlauncher-image" + +IMAGE_INSTALL += "task-xqtlauncher task-xqtlauncher-blackbox" diff --git a/recipes-opie/libmailwrapper/libmailwrapper.inc b/recipes-opie/libmailwrapper/libmailwrapper.inc new file mode 100644 index 0000000..c72ae36 --- /dev/null +++ b/recipes-opie/libmailwrapper/libmailwrapper.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Qt-based class wrapper of libetpan" +SECTION = "opie/libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "libetpan" + +S = "${WORKDIR}/libmailwrapper" + +inherit opie + +do_install() { + oe_libinstall -so libmailwrapper ${D}${libdir} + install -d ${D}${includedir}/libmailwrapper/ + install -m 0664 ${S}/maildefines.h ${D}${includedir}/libmailwrapper/ + install -m 0664 ${S}/settings.h ${D}${includedir}/libmailwrapper/ + install -m 0664 ${S}/statusmail.h ${D}${includedir}/libmailwrapper/ + install -m 0664 ${S}/abstractmail.h ${D}${includedir}/libmailwrapper/ + install -m 0664 ${S}/mailtypes.h ${D}${includedir}/libmailwrapper/ +} diff --git a/recipes-opie/libmailwrapper/libmailwrapper_1.2.5.bb b/recipes-opie/libmailwrapper/libmailwrapper_1.2.5.bb new file mode 100644 index 0000000..0ebdc39 --- /dev/null +++ b/recipes-opie/libmailwrapper/libmailwrapper_1.2.5.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PR = "r1" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_mail_libmailwrapper.tar.bz2;name=split_noncore_net_mail_libmailwrapper" +SRC_URI[split_noncore_net_mail_libmailwrapper.md5sum] = "3d155efe75838caf4c957dc3de677d41" +SRC_URI[split_noncore_net_mail_libmailwrapper.sha256sum] = "7aaacbb6b30c5501bcb692d14c6389d7fc218632250f375248720dba030b2bbb" diff --git a/recipes-opie/libmailwrapper/libmailwrapper_cvs.bb b/recipes-opie/libmailwrapper/libmailwrapper_cvs.bb new file mode 100644 index 0000000..24b3884 --- /dev/null +++ b/recipes-opie/libmailwrapper/libmailwrapper_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/mail/libmailwrapper" diff --git a/recipes-opie/libopie/libopie2.inc b/recipes-opie/libopie/libopie2.inc new file mode 100644 index 0000000..e91ac7b --- /dev/null +++ b/recipes-opie/libopie/libopie2.inc @@ -0,0 +1,112 @@ +DESCRIPTION = "Base libraries for the Open Palmtop Integrated Environment" +HOMEPAGE = "http://opie.handhelds.org" +SECTION = "opie/libs" +LICENSE = "LGPL" +I18N_FILES = "libopiecore2.ts libopiesecurity2.ts" +DEPENDS = "libqpe-opie libpcap sqlite3 bluez-libs" +PROVIDES = "libopiecore2 libopiedb2 libopiemm2 libopiesecurity2 libopienet2 libopiepim2 libopieui2" + +S = "${WORKDIR}/libopie2" + +inherit opie + +PARALLEL_MAKE = "" + +#FIXME: Add machine specific bits here. Best use oe_machinstall and read from a given file + +EXTRA_QMAKEVARS_POST += 'DEFINES+=OPIE_NEW_MALLOC \ + DEFINES+="OPIE_SOUND_FRAGMENT_SHIFT=16" \ + DEFINES+=OPIE_NO_ERASE_RECT_HACKFIX \ + LIBS+=-L${S} LIBS+="-Wl,-rpath-link,${S}" \ + INCLUDEPATH+=${S}/include' + +ENABLE_SQL_PIM_BACKEND = "y" +# NOTE: Machines with too little amount of flash may want to disable SQL backend support +# (known not to fit in 16MB). +#ENABLE_SQL_PIM_BACKEND_smallmachine = "n" +EXTRA_QMAKEVARS_PRE += 'ENABLE_SQL_PIM_BACKEND=${ENABLE_SQL_PIM_BACKEND}' + +MODULES = "opiecore opiedb opiemm opienet opiepim opiesecurity opieui opiebluez" +LIBS = "core2 db2 mm2 net2 pim2 security2 ui2 bluez2" +PRIVATE = "opimcontactsortvector.h opimoccurrence_p.h opimsortvector.h \ + opimtodosortvector.h vobject_p.h opimeventsortvector.h opimmemosortvector.h" + +# uclibc doesn't have backtrace() +python __anonymous () { + import bb, re + if (re.match('.*uclibc$', bb.data.getVar('TARGET_OS', d, 1)) != None): + bb.data.setVar("EXTRA_QMAKEVARS_POST_append", " DEFINES+=OPIE_NO_BACKTRACE ", d) +} + +do_compile() { + install -d ${S}/include/opie2 + for module in ${MODULES} + do + cd $module + for i in `find . -name "*.h"` + do + filenm=`echo $i | sed 's!^\./!!'` + ln -sf ../../$module/$filenm ${S}/include/opie2/ + done + cd .. + done + + install -d ${S}/include/opie2/private + for header in ${PRIVATE} + do + ln -sf ../../../opiepim/private/$header ${S}/include/opie2/private + done + + oe_runmake MOC=${STAGING_BINDIR_NATIVE}/moc UIC=${STAGING_BINDIR_NATIVE}/uic DESTDIR=${S} +} + +do_install() { + install -d ${D}${libdir} + for f in ${LIBS} + do + oe_libinstall -so libopie$f ${D}${libdir} + done + + install -m 0644 ${WORKDIR}/include.pro ${OPIEDIR}/include.pro + + install -d ${D}${includedir}/opie2/ + for module in ${MODULES} + do + cd $module + for i in `find . -name "*.h"` + do + if [[ $i != ./private/* ]] ; then + install -m 0644 $i ${D}${includedir}/opie2/`basename $i` + fi + done + cd .. + done + # Remove some headers we don't want packaged + rm ${D}${includedir}/opie2/stable_pch.h + rm ${D}${includedir}/opie2/ofileselector_p.h + rm ${D}${includedir}/opie2/okeyconfigwidget_p.h + rm ${D}${includedir}/opie2/okeyconfigmanager_p.h + rm ${D}${includedir}/opie2/ima_rw.h + rm ${D}${includedir}/opie2/udp_ports.h + rm ${D}${includedir}/opie2/odevice_*.h +} + +PACKAGES_prepend = " libopiecore2 libopiedb2 libopiesecurity2 libopiemm2 libopienet2 libopiepim2 libopieui2 libopiebluez2 " + +DESCRIPTION_libopiecore2 = "Opie Development Platform 1.x Core Library" +FILES_libopiecore2 = "${libdir}/libopiecore2.so.*" +DESCRIPTION_libopiedb2 = "Opie Development Platform 1.x Database Library" +FILES_libopiedb2 = "${libdir}/libopiedb2.so.*" +DESCRIPTION_libopiemm2 = "Opie Development Platform 1.x Multimedia Library" +FILES_libopiemm2 = "${libdir}/libopiemm2.so.*" +DESCRIPTION_libopienet2 = "Opie Development Platform 1.x Network Library" +FILES_libopienet2 = "${libdir}/libopienet2.so.*" +DESCRIPTION_libopiepim2 = "Opie Development Platform 1.x PIM Library" +FILES_libopiepim2 = "${libdir}/libopiepim2.so.*" +DESCRIPTION_libopieui2 = "Opie Development Platform 1.x User Interface Library" +FILES_libopieui2 = "${libdir}/libopieui2.so.*" +DESCRIPTION_libopiesecurity2 = "Opie Development Platform 1.x Security Library" +FILES_libopiesecurity2 = "${libdir}/libopiesecurity2.so.*" +DESCRIPTION_libopiebluez2 = "Opie Development Platform 1.x Bluetooth Library" +FILES_libopiebluez2 = "${libdir}/libopiebluez2.so.*" + diff --git a/recipes-opie/libopie/libopie2/gcc45_opiemm_include.patch b/recipes-opie/libopie/libopie2/gcc45_opiemm_include.patch new file mode 100644 index 0000000..ca07344 --- /dev/null +++ b/recipes-opie/libopie/libopie2/gcc45_opiemm_include.patch @@ -0,0 +1,14 @@ +Index: libopie2/opiemm/owavrecorder.cpp +=================================================================== +--- libopie2.orig/opiemm/owavrecorder.cpp 2010-12-22 23:55:07.000000000 +0000 ++++ libopie2/opiemm/owavrecorder.cpp 2010-12-22 23:55:39.000000000 +0000 +@@ -28,6 +28,9 @@ + + #include "owavrecorder.h" + ++#include <sys/types.h> ++#include <sys/stat.h> ++ + extern "C" { + #include "ima_rw.h" + } diff --git a/recipes-opie/libopie/libopie2/include.pro b/recipes-opie/libopie/libopie2/include.pro new file mode 100644 index 0000000..c76634a --- /dev/null +++ b/recipes-opie/libopie/libopie2/include.pro @@ -0,0 +1,36 @@ +# we don't want to modify subdir .pro's +!contains( TEMPLATE, subdirs ) { +# if it's already a lib, we ignore it +!contains( TEMPLATE, lib ) { + + contains( CONFIG, quick-app ) { + message ( Building a quicklaunch application ) + TEMPLATE = lib + CONFIG += plugin + DEFINES += OPIE_APP_INTERFACE + DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" + + system ( touch visibility_qmake_test.c ) + # Test if the compiler supports visibility + system ( $$(CC) -fvisibility=hidden -c -o visibility_qmake_test.o visibility_qmake_test.c ) { + message ( "Your compiler does support visibility, we will use it" ) + DEFINES += GCC_SUPPORTS_VISIBILITY + QMAKE_CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden + QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden + system ( rm visibility_qmake_test.o ) + } + system ( rm visibility_qmake_test.c ) + + } + + !contains ( CONFIG, quick-app ) { + message( Building a standalone application ) + TEMPLATE = app + DEFINES -= OPIE_APP_INTERFACE + DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" + } +} +} + +DEFINES += OPIE_NEW_MALLOC +DEFINES += OPIE_NO_ERASE_RECT_HACKFIX diff --git a/recipes-opie/libopie/libopie2/poodle-2.6-hotkeys.patch b/recipes-opie/libopie/libopie2/poodle-2.6-hotkeys.patch new file mode 100644 index 0000000..748f316 --- /dev/null +++ b/recipes-opie/libopie/libopie2/poodle-2.6-hotkeys.patch @@ -0,0 +1,16 @@ +--- libopie2/opiecore/device/odevice_zaurus.cpp.orig 2006-05-16 13:53:40.190417936 +0200 ++++ libopie2/opiecore/device/odevice_zaurus.cpp 2006-05-16 13:53:56.606922248 +0200 +@@ -61,11 +61,11 @@ + using namespace Opie::Core::Internal; + + struct z_button z_buttons [] = { +- { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"), ++ { Qt::Key_Control, QT_TRANSLATE_NOOP("Button", "Calendar Button"), + "devicebuttons/z_calendar", + "datebook", "nextView()", + "today", "raise()" }, +- { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"), ++ { Qt::Key_Alt, QT_TRANSLATE_NOOP("Button", "Contacts Button"), + "devicebuttons/z_contact", + "addressbook", "raise()", + "addressbook", "beamBusinessCard()" }, diff --git a/recipes-opie/libopie/libopie2_1.2.5.bb b/recipes-opie/libopie/libopie2_1.2.5.bb new file mode 100644 index 0000000..79f71dc --- /dev/null +++ b/recipes-opie/libopie/libopie2_1.2.5.bb @@ -0,0 +1,13 @@ +require ${PN}.inc + +PR = "r3" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_libopie2.tar.bz2;name=split_libopie2 \ + file://gcc45_opiemm_include.patch \ + file://include.pro" +SRC_URI[split_libopie2.md5sum] = "7258c4154c91b28a24030e029782da6f" +SRC_URI[split_libopie2.sha256sum] = "5e1d831c9e5acbba15a3ec78aba5eff5f5dbf5e27cf469f6de693176fc7cd621" + +# FIXME remove this! +SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch" + diff --git a/recipes-opie/libopie/libopie2_cvs.bb b/recipes-opie/libopie/libopie2_cvs.bb new file mode 100644 index 0000000..8ffefe0 --- /dev/null +++ b/recipes-opie/libopie/libopie2_cvs.bb @@ -0,0 +1,12 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r14" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=libopie2 \ + file://include.pro" + +# FIXME remove this! +SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch" diff --git a/recipes-opie/libopieobex/files/disable-bt-check.patch b/recipes-opie/libopieobex/files/disable-bt-check.patch new file mode 100644 index 0000000..067af14 --- /dev/null +++ b/recipes-opie/libopieobex/files/disable-bt-check.patch @@ -0,0 +1,19 @@ +--- obex/obex.pro 2007-07-20 23:44:06.000000000 +1200 ++++ obex/obex.pro 2007-10-18 17:57:15.000000000 +1300 +@@ -13,12 +13,12 @@ + include( $(OPIEDIR)/include.pro ) + target.path = $$prefix/plugins/applets + +-#FIXME: These parameters are used if bluetooth is used +-CONFTEST = $$system( echo $CONFIG_LIBOPIETOOTH ) +-contains( CONFTEST, y ){ ++#FIXME: This test does not work under OE. Instead, just always enable bluetooth. ++#CONFTEST = $$system( echo $CONFIG_LIBOPIETOOTH ) ++#contains( CONFTEST, y ){ + HEADERS += btobex.h + SOURCES += btobex.cpp + INCLUDEPATH += $(OPIEDIR)/noncore/net/opietooth/lib + LIBS += -lopietooth1 -lbluetooth + DEFINES += BLUETOOTH +-} ++#} diff --git a/recipes-opie/libopieobex/libopieobex0.inc b/recipes-opie/libopieobex/libopieobex0.inc new file mode 100644 index 0000000..87d0dd7 --- /dev/null +++ b/recipes-opie/libopieobex/libopieobex0.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "IrDA obex support library" +SECTION = "opie/libs" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "libopietooth1 opie-taskbar openobex-apps" +RDEPENDS_${PN} = "openobex-apps" +APPNAME = "obex" + +S = "${WORKDIR}/obex" + +inherit opie + +EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/opietooth" + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ ${D}${palmtopdir}/plugins/obex/ + install -m 0644 ${WORKDIR}/pics/backup/check.png ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + oe_libinstall -so libopieobex ${D}${palmtopdir}/plugins/obex/ +} + +FILES_${PN} = "${palmtopdir}/plugins/obex/ ${palmtopdir}/pics/obex/" +FILES_${PN}-dev = "${palmtopdir}/plugins/obex/lib*.so" +FILES_${PN}-dbg = "${palmtopdir}/plugins/obex/.debug" + + + diff --git a/recipes-opie/libopieobex/libopieobex0_1.2.5.bb b/recipes-opie/libopieobex/libopieobex0_1.2.5.bb new file mode 100644 index 0000000..43f0a9b --- /dev/null +++ b/recipes-opie/libopieobex/libopieobex0_1.2.5.bb @@ -0,0 +1,10 @@ +require libopieobex0.inc +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_obex.tar.bz2;name=split_core_obex \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + file://disable-bt-check.patch" +SRC_URI[split_core_obex.md5sum] = "9fff83489fa298d5fe0b698936eb6a8d" +SRC_URI[split_core_obex.sha256sum] = "e92b9d37ef2c4de2f9264eaa4ee59a56fc710bf6cd0c22cdc117d855d5379c5a" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/libopieobex/libopieobex0_cvs.bb b/recipes-opie/libopieobex/libopieobex0_cvs.bb new file mode 100644 index 0000000..318bee6 --- /dev/null +++ b/recipes-opie/libopieobex/libopieobex0_cvs.bb @@ -0,0 +1,7 @@ +require libopieobex0.inc +PV = "${OPIE_GIT_PV}" +PR = "r8" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/obex \ + ${OPIE_GIT};protocol=git;subpath=pics \ + file://disable-bt-check.patch" diff --git a/recipes-opie/libopietooth/libopietooth1.inc b/recipes-opie/libopietooth/libopietooth1.inc new file mode 100644 index 0000000..9f1815f --- /dev/null +++ b/recipes-opie/libopietooth/libopietooth1.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Opie Bluetooth library" +SECTION = "opie/libs" +PRIORITY = "optional" +DEPENDS = "libopie2" +LICENSE = "LGPL" + +S = "${WORKDIR}/lib" + +inherit opie + +do_install() { + oe_libinstall -so libopietooth1 ${D}${libdir} + install -d ${D}${includedir}/opietooth/ + install -m 0644 *.h ${D}${includedir}/opietooth/ +} diff --git a/recipes-opie/libopietooth/libopietooth1_1.2.5.bb b/recipes-opie/libopietooth/libopietooth1_1.2.5.bb new file mode 100644 index 0000000..f2fd003 --- /dev/null +++ b/recipes-opie/libopietooth/libopietooth1_1.2.5.bb @@ -0,0 +1,6 @@ +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_opietooth_lib.tar.bz2;name=split_noncore_net_opietooth_lib" +SRC_URI[split_noncore_net_opietooth_lib.md5sum] = "f70680fddded64a85d9e33526ca328a6" +SRC_URI[split_noncore_net_opietooth_lib.sha256sum] = "f8e356ae914c28e5e4a7388736fee463f6c29d9a0169272e4cd3a15d94106557" +PR = "r0" + +require libopietooth1.inc diff --git a/recipes-opie/libopietooth/libopietooth1_cvs.bb b/recipes-opie/libopietooth/libopietooth1_cvs.bb new file mode 100644 index 0000000..7c0cf52 --- /dev/null +++ b/recipes-opie/libopietooth/libopietooth1_cvs.bb @@ -0,0 +1,5 @@ +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/opietooth/lib" +PV = "${OPIE_GIT_PV}" +PR = "r2" + +require libopietooth1.inc diff --git a/recipes-opie/libqpe/libqpe-opie.inc b/recipes-opie/libqpe/libqpe-opie.inc new file mode 100644 index 0000000..1673588 --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie.inc @@ -0,0 +1,62 @@ +DESCRIPTION = "Base library for the Qt/Embedded based palmtop environments" +HOMEPAGE = "http://www.trolltech.com" +AUTHOR = "The Trolls" +SECTION = "opie/libs" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "uicmoc-native virtual/libqte2 sysfsutils" +PROVIDES = "virtual/libqpe1" +INC_PR = "r9" +S = "${WORKDIR}/library" + +inherit palmtop + +OE_QMAKE_CXXFLAGS := "${@oe_filter_out('-fno-rtti', '${OE_QMAKE_CXXFLAGS}', d)}" +QMAKE_PROFILES = "library.pro" +EXTRA_QMAKEVARS_PRE += "CONFIG+=LIBQPE_WITHROHFEEDBACK" +EXTRA_QMAKEVARS_POST += "DESTDIR= DEFINES+=LIBQPE_NO_INLINE_IMAGES" + +CXXFLAGS_append = " -frtti -DOPIE_NO_ERASE_RECT_HACKFIX -DOPIE_NEW_MALLOC" + +do_compile() { + mkdir -p ${STAGING_INCDIR}/qpe \ + ${STAGING_INCDIR}/qtopia \ + ${STAGING_INCDIR}/opie \ + ${STAGING_INCDIR}/opie2 \ + ${STAGING_INCDIR}/qtopia/private + for i in ${S}/*.h + do + install -m 0644 $i ${STAGING_INCDIR}/qpe/`basename $i` + install -m 0644 $i ${STAGING_INCDIR}/qtopia/`basename $i` + install -m 0644 $i ${STAGING_INCDIR}/qtopia/private/`basename $i` + done + for i in ${S}/backend/*.h + do + install -m 0644 $i ${STAGING_INCDIR}/qpe/`basename $i` + install -m 0644 $i ${STAGING_INCDIR}/qtopia/`basename $i` + install -m 0644 $i ${STAGING_INCDIR}/qtopia/private/`basename $i` + done + rm -f ${STAGING_INCDIR}/qtopia/*_p.h # remove private stuff out of qtopia + oe_runmake MOC=${STAGING_BINDIR_NATIVE}/moc UIC=${STAGING_BINDIR_NATIVE}/uic +} + +do_install() { + oe_libinstall -so libqpe ${D}${libdir} + + install -d ${D}${includedir}/qpe \ + ${D}${includedir}/qtopia/private + + for i in ${S}/*.h + do + install -m 0644 $i ${D}${includedir}/qpe/`basename $i` + install -m 0644 $i ${D}${includedir}/qtopia/`basename $i` + install -m 0644 $i ${D}${includedir}/qtopia/private/`basename $i` + done + for i in ${S}/backend/*.h + do + install -m 0644 $i ${D}${includedir}/qpe/`basename $i` + install -m 0644 $i ${D}${includedir}/qtopia/`basename $i` + install -m 0644 $i ${D}${includedir}/qtopia/private/`basename $i` + done + rm -f ${D}${includedir}/qtopia/*_p.h # remove private stuff out of qtopia +} diff --git a/recipes-opie/libqpe/libqpe-opie/citytime-path-2.patch b/recipes-opie/libqpe/libqpe-opie/citytime-path-2.patch new file mode 100644 index 0000000..27cb963 --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie/citytime-path-2.patch @@ -0,0 +1,11 @@ +--- library/tzselect.cpp 12 Jan 2008 10:14:42 -0000 1.13 ++++ library/tzselect.cpp 30 Aug 2008 15:32:13 -0000 +@@ -270,7 +270,7 @@ + void TimeZoneSelector::slotExecute( void ) + { + // execute the world time application... +- if (QFile::exists(QPEApplication::qpeDir()+"bin/citytime")) ++ if (QFile::exists(OPIE_BINDIR "/citytime")) + Global::execute( "citytime" ); + else + QMessageBox::warning(this,tr("citytime executable not found"), diff --git a/recipes-opie/libqpe/libqpe-opie/fix-titleheight.patch b/recipes-opie/libqpe/libqpe-opie/fix-titleheight.patch new file mode 100644 index 0000000..da8d91e --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie/fix-titleheight.patch @@ -0,0 +1,19 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- library/qpedecoration_qws.cpp~fix-titleheight ++++ library/qpedecoration_qws.cpp +@@ -326,9 +326,9 @@ + switch ( m ) { + case TitleHeight: + if ( QApplication::desktop()->height() > 320 ) +- return 19; ++ return 28; + else +- return 15; ++ return 14; + case LeftBorder: + case RightBorder: + case TopBorder: diff --git a/recipes-opie/libqpe/libqpe-opie/no-include-pro.patch b/recipes-opie/libqpe/libqpe-opie/no-include-pro.patch new file mode 100644 index 0000000..5a836ca --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie/no-include-pro.patch @@ -0,0 +1,11 @@ +--- library/library.pro.old 2008-10-01 23:43:30.000000000 +0100 ++++ library/library.pro 2008-10-01 23:43:49.000000000 +0100 +@@ -134,8 +134,6 @@ + DESTDIR = $(OPIEDIR)/lib$(PROJMAK) + VERSION = 1.5.0.1 + +-include( $(OPIEDIR)/include.pro ) +- + contains( CONFIG, LIBQPE_WITHROHFEEDBACK ){ + DEFINES += OPIE_WITHROHFEEDBACK + SOURCES += backend/rohfeedback.cpp diff --git a/recipes-opie/libqpe/libqpe-opie/unbreak-logging-2.patch b/recipes-opie/libqpe/libqpe-opie/unbreak-logging-2.patch new file mode 100644 index 0000000..fe4bb88 --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie/unbreak-logging-2.patch @@ -0,0 +1,21 @@ +--- library/qpeapplication.cpp ++++ library/qpeapplication.cpp +@@ -803,14 +803,14 @@ static void qtopiaMsgHandler(QtMsgType type, const char* msg) + { + switch ( type ) { + case QtDebugMsg: +-#ifdef QT_DEBUG ++//#ifdef QT_DEBUG + fprintf( stderr, "Debug: %s\n", msg ); +-#endif ++//#endif + break; + case QtWarningMsg: +-#ifdef QT_DEBUG ++//#ifdef QT_DEBUG + fprintf( stderr, "Warning: %s\n", msg ); +-#endif ++//#endif + break; + case QtFatalMsg: + fprintf( stderr, "Fatal: %s\n", msg ); diff --git a/recipes-opie/libqpe/libqpe-opie_1.2.5.bb b/recipes-opie/libqpe/libqpe-opie_1.2.5.bb new file mode 100644 index 0000000..f31bdb0 --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie_1.2.5.bb @@ -0,0 +1,12 @@ +require ${PN}.inc + +PR = "${INC_PR}.0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_library.tar.bz2;name=split_library \ + file://fix-titleheight.patch \ + file://unbreak-logging-2.patch \ + file://citytime-path-2.patch \ + file://no-include-pro.patch \ + " +SRC_URI[split_library.md5sum] = "195ede745b2d1b2111f97654151b7af4" +SRC_URI[split_library.sha256sum] = "aace8f512c0f8f0e23509599c60ec12cf41145bc583d814228db0fcb356a0ea0" diff --git a/recipes-opie/libqpe/libqpe-opie_cvs.bb b/recipes-opie/libqpe/libqpe-opie_cvs.bb new file mode 100644 index 0000000..41a6e33 --- /dev/null +++ b/recipes-opie/libqpe/libqpe-opie_cvs.bb @@ -0,0 +1,17 @@ +require ${PN}.inc + +# OPIE_GIT_PV is defined in opie.bbclass +# but this recipe does not inherit opie +# so any updates to OPIE_GIT_PV should happen +# in both places. + +OPIE_GIT_PV ?= "1.2.2+cvs${SRCDATE}" +PV = "${OPIE_GIT_PV}" +PR = "${INC_PR}.0" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=library \ + file://fix-titleheight.patch \ + file://unbreak-logging-2.patch \ + file://citytime-path-2.patch \ + file://no-include-pro.patch \ + " diff --git a/recipes-opie/libqtaux/libqtaux2.inc b/recipes-opie/libqtaux/libqtaux2.inc new file mode 100644 index 0000000..98164a2 --- /dev/null +++ b/recipes-opie/libqtaux/libqtaux2.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "Qt/Embedded 2 Auxilliary libraries" +HOMEPAGE = "http://opie.handhelds.org" +SECTION = "opie/libs" +PRIORITY = "optional" +LICENSE = "GPL" + +INC_PR = "r2" + +S = "${WORKDIR}/libqtaux" + +inherit opie + +do_compile() { + oe_runmake MOC=${STAGING_BINDIR_NATIVE}/moc UIC=${STAGING_BINDIR_NATIVE}/uic DESTDIR=${S} +} + +do_install() { + install -d ${D}${includedir}/opie2 + for i in `find . -name "*.h"` + do + install -m 0644 $i ${D}${includedir}/opie2/`basename $i` + done + + oe_libinstall -so libqtaux2 ${D}${libdir} +} diff --git a/recipes-opie/libqtaux/libqtaux2_1.2.5.bb b/recipes-opie/libqtaux/libqtaux2_1.2.5.bb new file mode 100644 index 0000000..0395aa2 --- /dev/null +++ b/recipes-opie/libqtaux/libqtaux2_1.2.5.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_libqtaux.tar.bz2;name=split_libqtaux" +SRC_URI[split_libqtaux.md5sum] = "4d9148573545948870358e3612be18ba" +SRC_URI[split_libqtaux.sha256sum] = "0acfa28d3f43c1a990fea30c2306053d42664fa196c68b20e009ac6408ff04f8" diff --git a/recipes-opie/libqtaux/libqtaux2_cvs.bb b/recipes-opie/libqtaux/libqtaux2_cvs.bb new file mode 100644 index 0000000..b07112f --- /dev/null +++ b/recipes-opie/libqtaux/libqtaux2_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "${INC_PR}.0" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=libqtaux" diff --git a/recipes-opie/meta/meta-opie-all.bb b/recipes-opie/meta/meta-opie-all.bb new file mode 100644 index 0000000..e6a0da7 --- /dev/null +++ b/recipes-opie/meta/meta-opie-all.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Meta-package for QPE stuff" +SECTION = "opie/base" +LICENSE = "MIT" +PR = "r4" + +RDEPENDS_${PN} = " \ + task-qpe-applets \ + task-qpe-games \ + task-qpe-inputmethods \ + task-qpe-multimedia \ + task-qpe-emulators \ + task-qpe-applications \ + task-qpe-fonts \ + task-qpe-settings" + +inherit meta diff --git a/recipes-opie/meta/meta-opie.bb b/recipes-opie/meta/meta-opie.bb new file mode 100644 index 0000000..1584765 --- /dev/null +++ b/recipes-opie/meta/meta-opie.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Meta-package for Opie" +SECTION = "opie/base" +PR = "r35" +LICENSE = "MIT" + +RDEPENDS_${PN} = "task-opie-applets task-opie-apps task-opie-base \ + task-opie-base-applets task-opie-base-apps \ + task-opie-base-decorations task-opie-base-inputmethods \ + task-opie-base-pim task-opie-base-settings \ + task-opie-base-styles \ + ${@base_contains("COMBINED_FEATURES", "bluetooth", "task-opie-bluetooth", "",d)} \ + task-opie-datebookplugins task-opie-decorations \ + task-opie-extra-apps task-opie-extra-settings \ + task-opie-extra-styles task-opie-extra-games \ + ${@base_contains("COMBINED_FEATURES", "irda", "task-opie-irda", "",d)} \ + task-opie-games task-opie-inputmethods \ + task-opie-multimedia task-opie-pim task-opie-settings \ + task-opie-styles task-opie-todayplugins task-opie-wlan" + +inherit meta diff --git a/recipes-opie/meta/meta-toolchain-opie.bb b/recipes-opie/meta/meta-toolchain-opie.bb new file mode 100644 index 0000000..9f4b9ac --- /dev/null +++ b/recipes-opie/meta/meta-toolchain-opie.bb @@ -0,0 +1,8 @@ +PR = "r1" +TOOLCHAIN_TARGET_TASK = "\ + task-sdk-base \ + task-sdk-opie" + +require meta-toolchain.bb + +SDK_SUFFIX = "toolchain-opie" diff --git a/recipes-opie/nonworking/opie-dagger/opie-dagger.inc b/recipes-opie/nonworking/opie-dagger/opie-dagger.inc new file mode 100644 index 0000000..7ba8962 --- /dev/null +++ b/recipes-opie/nonworking/opie-dagger/opie-dagger.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "A Bible study program utilizing the Sword library." +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libopiecore2 libopieui2 sword" +APPNAME = "dagger" + +EXTRA_QMAKEVARS_PRE += "LIBSWORD_INC_DIR=${STAGING_INCDIR}/sword" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/nonworking/opie-dagger/opie-dagger_1.2.5.bb b/recipes-opie/nonworking/opie-dagger/opie-dagger_1.2.5.bb new file mode 100644 index 0000000..c218b1b --- /dev/null +++ b/recipes-opie/nonworking/opie-dagger/opie-dagger_1.2.5.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_dagger.tar.bz2 \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2 \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2" + diff --git a/recipes-opie/nonworking/opie-dagger/opie-dagger_cvs.bb b/recipes-opie/nonworking/opie-dagger/opie-dagger_cvs.bb new file mode 100644 index 0000000..2bffd49 --- /dev/null +++ b/recipes-opie/nonworking/opie-dagger/opie-dagger_cvs.bb @@ -0,0 +1,9 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r2" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/dagger \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" + diff --git a/recipes-opie/nonworking/opie-dasher/opie-dasher.inc b/recipes-opie/nonworking/opie-dasher/opie-dasher.inc new file mode 100644 index 0000000..9903dd9 --- /dev/null +++ b/recipes-opie/nonworking/opie-dasher/opie-dasher.inc @@ -0,0 +1,45 @@ +DESCRIPTION = "Dasher text input method" +SECTION = "opie/inputmethods" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "qdasher" + + +S = "${WORKDIR}/dasher" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +else + exit 0 +fi + +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" +} + +# FILES plugins/inputmethods/libqdasher.so* share/dasher/alphabet.xml +# FILES share/dasher/training_*.txt +do_install() { + install -d ${D}${palmtopdir}/share/dasher/ + install -m 0644 ${WORKDIR}/share/dasher/alphabet.xml ${D}${palmtopdir}/share/dasher/ + for f in ${WORKDIR}/share/dasher/training_*.txt + do +# echo Installing Dasher Language $f + [ -f $f ] && install -m 0644 $f ${D}${palmtopdir}/share/dasher/ + done +} + +PACKAGES += " opie-dasher-english " + +FILES_opie-dasher = "${palmtopdir}/plugins/inputmethods/libqdasher.so*" +FILES_opie-dasher-english = "${palmtopdir}/share/dasher/training_english_GB.txt" + diff --git a/recipes-opie/nonworking/opie-dasher/opie-dasher_1.2.5.bb b/recipes-opie/nonworking/opie-dasher/opie-dasher_1.2.5.bb new file mode 100644 index 0000000..f725530 --- /dev/null +++ b/recipes-opie/nonworking/opie-dasher/opie-dasher_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_inputmethods_dasher.tar.bz2 \ + http://sources.openembedded.org/opie-1.2.5-split_share.tar.bz2" diff --git a/recipes-opie/nonworking/opie-dasher/opie-dasher_cvs.bb b/recipes-opie/nonworking/opie-dasher/opie-dasher_cvs.bb new file mode 100644 index 0000000..10bce3f --- /dev/null +++ b/recipes-opie/nonworking/opie-dasher/opie-dasher_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc +PR = "r2" + +PV = "${OPIE_CVS_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=inputmethods/dasher \ + ${OPIE_GIT};protocol=git;subpath=share " diff --git a/recipes-opie/nonworking/opie-mediaplayer1-libmpeg3plugin/opie-mediaplayer1-libmpeg3plugin_cvs.bb b/recipes-opie/nonworking/opie-mediaplayer1-libmpeg3plugin/opie-mediaplayer1-libmpeg3plugin_cvs.bb new file mode 100644 index 0000000..bf746e8 --- /dev/null +++ b/recipes-opie/nonworking/opie-mediaplayer1-libmpeg3plugin/opie-mediaplayer1-libmpeg3plugin_cvs.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Mpeg video file plugin using libmad" +SECTION = "opie/codecs" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "opie-mediaplayer1" +RDEPENDS_${PN} = "opie-mediaplayer1" +PV = "${OPIE_CVS_PV}" +PR = "r2" +APPNAME = "mpeg3plugin" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/multimedia/opieplayer" + +S = "${WORKDIR}/opieplayer/libmpeg3" + +inherit opie + +EXTRA_QMAKEVARS_POST += "DEFINES+=USE_FIXED_POINT" + +# FILES plugins/codecs/libmpeg3plugin.so diff --git a/recipes-opie/opie-aboutapplet/opie-aboutapplet.inc b/recipes-opie/opie-aboutapplet/opie-aboutapplet.inc new file mode 100644 index 0000000..15e300c --- /dev/null +++ b/recipes-opie/opie-aboutapplet/opie-aboutapplet.inc @@ -0,0 +1,9 @@ +DESCRIPTION = "About Opie" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "aboutapplet" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie diff --git a/recipes-opie/opie-aboutapplet/opie-aboutapplet_1.2.5.bb b/recipes-opie/opie-aboutapplet/opie-aboutapplet_1.2.5.bb new file mode 100644 index 0000000..a4f16a4 --- /dev/null +++ b/recipes-opie/opie-aboutapplet/opie-aboutapplet_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_applets_aboutapplet.tar.bz2;name=split_core_applets_aboutapplet" +SRC_URI[split_core_applets_aboutapplet.md5sum] = "a65f07acd6480281852e8d3ed02e0072" +SRC_URI[split_core_applets_aboutapplet.sha256sum] = "7bd12dfc9a0eddf92b568770f6fedcc8f12764fe897e1e5d2bac9888a7aad7a9" diff --git a/recipes-opie/opie-aboutapplet/opie-aboutapplet_cvs.bb b/recipes-opie/opie-aboutapplet/opie-aboutapplet_cvs.bb new file mode 100644 index 0000000..22ae828 --- /dev/null +++ b/recipes-opie/opie-aboutapplet/opie-aboutapplet_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/applets/aboutapplet" diff --git a/recipes-opie/opie-addressbook/opie-addressbook.inc b/recipes-opie/opie-addressbook/opie-addressbook.inc new file mode 100644 index 0000000..f943324 --- /dev/null +++ b/recipes-opie/opie-addressbook/opie-addressbook.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "Contacts" +SECTION = "opie/pim" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-pics" +APPNAME = "addressbook" + + +S = "${WORKDIR}/addressbook" + +inherit opie + +# FILES plugins/application/libaddressbook.so* bin/addressbook apps/1Pim/addressbook.desktop diff --git a/recipes-opie/opie-addressbook/opie-addressbook_1.2.5.bb b/recipes-opie/opie-addressbook/opie-addressbook_1.2.5.bb new file mode 100644 index 0000000..9f668b9 --- /dev/null +++ b/recipes-opie/opie-addressbook/opie-addressbook_1.2.5.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_pim_addressbook.tar.bz2;name=split_core_pim_addressbook \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_pim_addressbook.md5sum] = "3f3c8d0fc393ec645e4c6ab7eaea6bbb" +SRC_URI[split_core_pim_addressbook.sha256sum] = "350d9d7bb2eba671d953efc4c89c70b0fcb7bd21b84e82a1c90d0fdbeca6425d" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-addressbook/opie-addressbook_cvs.bb b/recipes-opie/opie-addressbook/opie-addressbook_cvs.bb new file mode 100644 index 0000000..05d8822 --- /dev/null +++ b/recipes-opie/opie-addressbook/opie-addressbook_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/pim/addressbook \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-advancedfm/opie-advancedfm.inc b/recipes-opie/opie-advancedfm/opie-advancedfm.inc new file mode 100644 index 0000000..daa0a13 --- /dev/null +++ b/recipes-opie/opie-advancedfm/opie-advancedfm.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Opie Advanced Filemanager" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "advancedfm" +RDEPENDS_${PN} = "opie-advancedfm-pics" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + +PACKAGES_prepend = "opie-advancedfm-pics " +FILES_opie-advancedfm-pics = "${palmtopdir}/pics/${APPNAME}/*.png" + diff --git a/recipes-opie/opie-advancedfm/opie-advancedfm_1.2.5.bb b/recipes-opie/opie-advancedfm/opie-advancedfm_1.2.5.bb new file mode 100644 index 0000000..dfe9c84 --- /dev/null +++ b/recipes-opie/opie-advancedfm/opie-advancedfm_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_${APPNAME}.tar.bz2;name=split_noncore_apps_appname \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_apps_appname.md5sum] = "38df3d04889a306252486948284cf0e0" +SRC_URI[split_noncore_apps_appname.sha256sum] = "a2e17a01c54d601d3a8be056d1fef37fb9a2fd8ba048262b1440ea086962d5a1" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-advancedfm/opie-advancedfm_cvs.bb b/recipes-opie/opie-advancedfm/opie-advancedfm_cvs.bb new file mode 100644 index 0000000..e49a27e --- /dev/null +++ b/recipes-opie/opie-advancedfm/opie-advancedfm_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/${APPNAME} \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-alarm/opie-alarm.inc b/recipes-opie/opie-alarm/opie-alarm.inc new file mode 100644 index 0000000..7d24005 --- /dev/null +++ b/recipes-opie/opie-alarm/opie-alarm.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Opie Alarm" +SECTION = "opie/base" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "apmd" +RDEPENDS_${PN} = "apmd" + +S = "${WORKDIR}/opiealarm" + +inherit opie + +do_install() { + install -d ${D}${bindir} ${D}${sysconfdir}/apm/event.d/ + install -m 0755 ${S}/opiealarm ${D}${bindir}/ + install -m 0755 ${WORKDIR}/01opiealarm ${D}${sysconfdir}/apm/event.d/ +} diff --git a/recipes-opie/opie-alarm/opie-alarm/01opiealarm b/recipes-opie/opie-alarm/opie-alarm/01opiealarm new file mode 100755 index 0000000..6a12319 --- /dev/null +++ b/recipes-opie/opie-alarm/opie-alarm/01opiealarm @@ -0,0 +1,12 @@ +#!/bin/sh +# Starts opiealarm, which only runs while the iPaq sleeps +# and wakes it up when the RTC alarm goes off. + +if [ "$1" = suspend ]; then + opiealarm -s -f +elif [ "$1" = resume ] && [ "$2" != standby ]; then + opiealarm -r -a 120 +fi + +: exit 0 + diff --git a/recipes-opie/opie-alarm/opie-alarm/dirdefines-2.patch b/recipes-opie/opie-alarm/opie-alarm/dirdefines-2.patch new file mode 100644 index 0000000..c457941 --- /dev/null +++ b/recipes-opie/opie-alarm/opie-alarm/dirdefines-2.patch @@ -0,0 +1,19 @@ +--- opiealarm/opiealarm.c ++++ opiealarm/opiealarm.c +@@ -394,13 +394,13 @@ int resume ( int resuspend ) + + setenv ( "LOGNAME", "root", 1 ); + setenv ( "HOME", "/root", 1 ); +- setenv ( "LD_LIBRARY_PATH", "/opt/QtPalmtop/lib", 1 ); +- setenv ( "QTDIR", "/opt/QtPalmtop", 1 ); ++ setenv ( "LD_LIBRARY_PATH", OPIE_LIBDIR, 1 ); ++ setenv ( "QTDIR", OPIE_QTDIR, 1 ); + + remove_pidfile ( ); + + // no need for system() since this process is no longer useful anyway +- execv ( "/opt/QtPalmtop/bin/qcop", argv ); ++ execv ( OPIE_BINDIR "/qcop", argv ); + + perror ( "exec for qcop failed" ); + return 5; diff --git a/recipes-opie/opie-alarm/opie-alarm_1.2.5.bb b/recipes-opie/opie-alarm/opie-alarm_1.2.5.bb new file mode 100644 index 0000000..ca97552 --- /dev/null +++ b/recipes-opie/opie-alarm/opie-alarm_1.2.5.bb @@ -0,0 +1,9 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_opiealarm.tar.bz2;name=split_core_opiealarm \ + file://01opiealarm \ + file://dirdefines-2.patch " +SRC_URI[split_core_opiealarm.md5sum] = "b7f026785ccfadfe292317a1e064cbc8" +SRC_URI[split_core_opiealarm.sha256sum] = "1dfd224ab072445a84c2530f643a3496512a9dd3a1255ce1d6da9f9cd38d4595" diff --git a/recipes-opie/opie-alarm/opie-alarm_cvs.bb b/recipes-opie/opie-alarm/opie-alarm_cvs.bb new file mode 100644 index 0000000..6f60f4c --- /dev/null +++ b/recipes-opie/opie-alarm/opie-alarm_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r4" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/opiealarm \ + file://01opiealarm \ + file://dirdefines-2.patch " diff --git a/recipes-opie/opie-appearance/opie-appearance.inc b/recipes-opie/opie-appearance/opie-appearance.inc new file mode 100644 index 0000000..5daca3b --- /dev/null +++ b/recipes-opie/opie-appearance/opie-appearance.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Appearance settings dialog for the Opie environment" +SECTION = "opie/settings" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libqtaux2" +APPNAME = "appearance" + + +S = "${WORKDIR}/appearance2" + +inherit opie + +# FILES plugins/application/libappearance.so* bin/appearance apps/Settings/Appearance.desktop pics/appearance +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-appearance/opie-appearance_1.2.5.bb b/recipes-opie/opie-appearance/opie-appearance_1.2.5.bb new file mode 100644 index 0000000..2342745 --- /dev/null +++ b/recipes-opie/opie-appearance/opie-appearance_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_settings_appearance2.tar.bz2;name=split_noncore_settings_appearance2 \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_settings_appearance2.md5sum] = "dc6254c734df2b876741a505125795ca" +SRC_URI[split_noncore_settings_appearance2.sha256sum] = "3be0f08f7b23205964a0ecba235d5e41f89bd2ce4b0e4f22c7e4aa914e6b8a7b" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-appearance/opie-appearance_cvs.bb b/recipes-opie/opie-appearance/opie-appearance_cvs.bb new file mode 100644 index 0000000..2d84379 --- /dev/null +++ b/recipes-opie/opie-appearance/opie-appearance_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/settings/appearance2 \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-aqpkg/opie-aqpkg.inc b/recipes-opie/opie-aqpkg/opie-aqpkg.inc new file mode 100644 index 0000000..52ba634 --- /dev/null +++ b/recipes-opie/opie-aqpkg/opie-aqpkg.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "A Package Manager" +SECTION = "opie/settings" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "aqpkg" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libaqpkg.so* bin/aqpkg pics/aqpkg apps/Settings/aqpkg.desktop +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-aqpkg/opie-aqpkg_1.2.5.bb b/recipes-opie/opie-aqpkg/opie-aqpkg_1.2.5.bb new file mode 100644 index 0000000..07ec8f9 --- /dev/null +++ b/recipes-opie/opie-aqpkg/opie-aqpkg_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_settings_aqpkg.tar.bz2;name=split_noncore_settings_aqpkg \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_settings_aqpkg.md5sum] = "371fc313d079d9278f4a265534f06949" +SRC_URI[split_noncore_settings_aqpkg.sha256sum] = "07dfb2da874aa243e584f2830c4e3e61a16392b32365bd3ec428b77eab1d2a43" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-aqpkg/opie-aqpkg_cvs.bb b/recipes-opie/opie-aqpkg/opie-aqpkg_cvs.bb new file mode 100644 index 0000000..f116aba --- /dev/null +++ b/recipes-opie/opie-aqpkg/opie-aqpkg_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/settings/aqpkg \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-autorotateapplet/opie-autorotateapplet.inc b/recipes-opie/opie-autorotateapplet/opie-autorotateapplet.inc new file mode 100644 index 0000000..7e78436 --- /dev/null +++ b/recipes-opie/opie-autorotateapplet/opie-autorotateapplet.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Applet to disable the automatic screen rotation on Zaurus C-models" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "autorotateapplet" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadApplets()" +else + exit 0 +fi +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +${bindir}/qcop QPE/TaskBar "reloadApplets()" +} + +# FILES plugins/applets/libautorotateapplet.so* pics/autorotate/*.png +do_install() { + install -d ${D}${palmtopdir}/pics/autorotate/ + install -m 0655 ${WORKDIR}/pics/autorotate/*.png ${D}${palmtopdir}/pics/autorotate/ +} diff --git a/recipes-opie/opie-autorotateapplet/opie-autorotateapplet_1.2.5.bb b/recipes-opie/opie-autorotateapplet/opie-autorotateapplet_1.2.5.bb new file mode 100644 index 0000000..90c0a4e --- /dev/null +++ b/recipes-opie/opie-autorotateapplet/opie-autorotateapplet_1.2.5.bb @@ -0,0 +1,10 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_applets_autorotateapplet.tar.bz2;name=split_noncore_applets_autorotateapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics" +SRC_URI[split_noncore_applets_autorotateapplet.md5sum] = "4917a76897933d82528e1463f5bd13e7" +SRC_URI[split_noncore_applets_autorotateapplet.sha256sum] = "bc476f1ff91f776b4e5e9eabce696c5c35739a57df707e33963013afdbd0f753" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/opie-autorotateapplet/opie-autorotateapplet_cvs.bb b/recipes-opie/opie-autorotateapplet/opie-autorotateapplet_cvs.bb new file mode 100644 index 0000000..de7ae8b --- /dev/null +++ b/recipes-opie/opie-autorotateapplet/opie-autorotateapplet_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/applets/autorotateapplet \ + ${OPIE_GIT};protocol=git;subpath=pics" diff --git a/recipes-opie/opie-backgammon/opie-backgammon.inc b/recipes-opie/opie-backgammon/opie-backgammon.inc new file mode 100644 index 0000000..6023095 --- /dev/null +++ b/recipes-opie/opie-backgammon/opie-backgammon.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "Backgammon Game" +SECTION = "opie/games" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "backgammon" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + + for dir in boards dice odds pieces table + do + install -d ${D}${palmtopdir}/pics/${APPNAME}/$dir + install -m 644 ${WORKDIR}/pics/${APPNAME}/$dir/*.png ${D}${palmtopdir}/pics/${APPNAME}/$dir + done +} + diff --git a/recipes-opie/opie-backgammon/opie-backgammon_1.2.5.bb b/recipes-opie/opie-backgammon/opie-backgammon_1.2.5.bb new file mode 100644 index 0000000..ebeccde --- /dev/null +++ b/recipes-opie/opie-backgammon/opie-backgammon_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_games_backgammon.tar.bz2;name=split_noncore_games_backgammon \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_games_backgammon.md5sum] = "2ad470f10df1d73e8d97f32cb4f2d01c" +SRC_URI[split_noncore_games_backgammon.sha256sum] = "ead52ef9ade84a8cfc2f795f6305ab637b44e05a7c5d9026bf5108e4b6515bdb" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-backgammon/opie-backgammon_cvs.bb b/recipes-opie/opie-backgammon/opie-backgammon_cvs.bb new file mode 100644 index 0000000..6c08c38 --- /dev/null +++ b/recipes-opie/opie-backgammon/opie-backgammon_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/games/backgammon \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-backup/opie-backup.inc b/recipes-opie/opie-backup/opie-backup.inc new file mode 100644 index 0000000..db3c037 --- /dev/null +++ b/recipes-opie/opie-backup/opie-backup.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Backup and Restore utility." +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "backup" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-backup/opie-backup_1.2.5.bb b/recipes-opie/opie-backup/opie-backup_1.2.5.bb new file mode 100644 index 0000000..a8a5240 --- /dev/null +++ b/recipes-opie/opie-backup/opie-backup_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_settings_backup.tar.bz2;name=split_noncore_settings_backup \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_settings_backup.md5sum] = "db8ba7130340434152015857022780de" +SRC_URI[split_noncore_settings_backup.sha256sum] = "d78a4444cea0f76b7823a1f53d45ddfb545ab7cdb4bb066a6eb7d7826e6e0564" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-backup/opie-backup_cvs.bb b/recipes-opie/opie-backup/opie-backup_cvs.bb new file mode 100644 index 0000000..50530cb --- /dev/null +++ b/recipes-opie/opie-backup/opie-backup_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/settings/backup \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-bartender/opie-bartender.inc b/recipes-opie/opie-bartender/opie-bartender.inc new file mode 100644 index 0000000..5b020d5 --- /dev/null +++ b/recipes-opie/opie-bartender/opie-bartender.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "Bartender drink recipe database" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "bartender" + + +S = "${WORKDIR}/opie-bartender" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -d ${D}${palmtopdir}/etc/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 db/drinkdb.txt ${D}${palmtopdir}/etc/${APPNAME}/ +} diff --git a/recipes-opie/opie-bartender/opie-bartender_1.2.5.bb b/recipes-opie/opie-bartender/opie-bartender_1.2.5.bb new file mode 100644 index 0000000..9a33579 --- /dev/null +++ b/recipes-opie/opie-bartender/opie-bartender_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_opie-bartender.tar.bz2;name=split_noncore_apps_opie-bartender \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_apps_opie-bartender.md5sum] = "bd72506a852679bdb3af47299a84c138" +SRC_URI[split_noncore_apps_opie-bartender.sha256sum] = "f7a5386f7d8e2965b8d5b6c51eef521d5901dba9ab5ce371b011385522ff69c5" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-bartender/opie-bartender_cvs.bb b/recipes-opie/opie-bartender/opie-bartender_cvs.bb new file mode 100644 index 0000000..c9d001d --- /dev/null +++ b/recipes-opie/opie-bartender/opie-bartender_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/opie-bartender \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-batteryapplet/opie-batteryapplet.inc b/recipes-opie/opie-batteryapplet/opie-batteryapplet.inc new file mode 100644 index 0000000..10b6e90 --- /dev/null +++ b/recipes-opie/opie-batteryapplet/opie-batteryapplet.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Battery Monitor applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "batteryapplet" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadApplets()" +else + exit 0 +fi +} + +pkg_postrm() { +#!/bin/sh +${bindir}/qcop QPE/TaskBar "reloadApplets()" + if [ -n "$D" ]; then false; fi +} + +# FILES plugins/applets/libbatteryapplet.so* +do_install() { +} + diff --git a/recipes-opie/opie-batteryapplet/opie-batteryapplet_1.2.5.bb b/recipes-opie/opie-batteryapplet/opie-batteryapplet_1.2.5.bb new file mode 100644 index 0000000..fa23199 --- /dev/null +++ b/recipes-opie/opie-batteryapplet/opie-batteryapplet_1.2.5.bb @@ -0,0 +1,13 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_applets_batteryapplet.tar.bz2;name=split_core_applets_batteryapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_applets_batteryapplet.md5sum] = "995a40e095913e01614834c82733eff0" +SRC_URI[split_core_applets_batteryapplet.sha256sum] = "1cab9929c81a3618cb4eeb43864c42f21d1c409819404ba3224382ba77bf4692" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-batteryapplet/opie-batteryapplet_cvs.bb b/recipes-opie/opie-batteryapplet/opie-batteryapplet_cvs.bb new file mode 100644 index 0000000..c17d104 --- /dev/null +++ b/recipes-opie/opie-batteryapplet/opie-batteryapplet_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/applets/batteryapplet \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-bluepin/opie-bluepin.inc b/recipes-opie/opie-bluepin/opie-bluepin.inc new file mode 100644 index 0000000..3514934 --- /dev/null +++ b/recipes-opie/opie-bluepin/opie-bluepin.inc @@ -0,0 +1,11 @@ +DESCRIPTION = "Opie BluePin" +SECTION = "opie/applications" +PRIORITY = "optional" +DEPENDS = "libopietooth1" +LICENSE = "GPL" +APPNAME = "bluepin" +APPTYPE = "binary" + +S = "${WORKDIR}/blue-pin" + +inherit opie diff --git a/recipes-opie/opie-bluepin/opie-bluepin_1.2.5.bb b/recipes-opie/opie-bluepin/opie-bluepin_1.2.5.bb new file mode 100644 index 0000000..5d29f6a --- /dev/null +++ b/recipes-opie/opie-bluepin/opie-bluepin_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_opietooth_blue-pin.tar.bz2;name=split_noncore_net_opietooth_blue-pin" +SRC_URI[split_noncore_net_opietooth_blue-pin.md5sum] = "083a34fc586dba554580aed7647661d9" +SRC_URI[split_noncore_net_opietooth_blue-pin.sha256sum] = "ca6c8117d43f33dcfed65b7bb82c2d03d1d27ad0524b1e0a31ddcc84c6e919da" diff --git a/recipes-opie/opie-bluepin/opie-bluepin_cvs.bb b/recipes-opie/opie-bluepin/opie-bluepin_cvs.bb new file mode 100644 index 0000000..aa56ab2 --- /dev/null +++ b/recipes-opie/opie-bluepin/opie-bluepin_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/opietooth/blue-pin" diff --git a/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet.inc b/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet.inc new file mode 100644 index 0000000..313680f --- /dev/null +++ b/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Opie Bluetooth Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libopietooth1" +APPNAME = "bluetoothapplet" + +S = "${WORKDIR}/applet" + +EXTRA_QMAKEVARS_POST += " INCLUDEPATH+=${STAGING_INCDIR}/opietooth " + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/bluetoothapplet + install -m 0644 ${WORKDIR}/pics/bluetoothapplet/*.png ${D}${palmtopdir}/pics/bluetoothapplet +} + diff --git a/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet_1.2.5.bb b/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet_1.2.5.bb new file mode 100644 index 0000000..f934fd3 --- /dev/null +++ b/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet_1.2.5.bb @@ -0,0 +1,10 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_opietooth_applet.tar.bz2;name=split_noncore_net_opietooth_applet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics" +SRC_URI[split_noncore_net_opietooth_applet.md5sum] = "d62580896f19fcde7c901f5271633c3a" +SRC_URI[split_noncore_net_opietooth_applet.sha256sum] = "1997ffbf4762a52ad0cf3c01b4fd9f717ca6e32f306f28b6b7d5cedc7acc3789" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet_cvs.bb b/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet_cvs.bb new file mode 100644 index 0000000..3a29621 --- /dev/null +++ b/recipes-opie/opie-bluetoothapplet/opie-bluetoothapplet_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r2" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/opietooth/applet \ + ${OPIE_GIT};protocol=git;subpath=pics" diff --git a/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager.inc b/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager.inc new file mode 100644 index 0000000..538473b --- /dev/null +++ b/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "Bluetooth manager for Opie" +SECTION = "opie/settings" +PRIORITY = "optional" +DEPENDS = "libopietooth1 obexftp" +RDEPENDS_${PN} = "opie-bluepin" +LICENSE = "GPL" +APPNAME = "bluetooth-manager" + +S = "${WORKDIR}/manager" + +EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/opietooth" +EXTRA_QMAKEVARS_PRE += "LIBOBEXFTP_INC_DIR=${STAGING_INCDIR}/obexftp" + +inherit opie + +# Files: plugins/application/libbluetooth-manager.so* bin/bluetooth-manager apps/Settings/bluetooth-manager.desktop pics/opietooth/* pics/opietooth/icons/* +do_install() { + install -d ${D}${palmtopdir}/pics/opietooth/ + install -d ${D}${palmtopdir}/pics/opietooth/icons/ + install -m 0644 ${WORKDIR}/pics/opietooth/*.png ${D}${palmtopdir}/pics/opietooth/ + install -m 0644 ${WORKDIR}/pics/opietooth/icons/*.png ${D}${palmtopdir}/pics/opietooth/icons/ +} diff --git a/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager_1.2.5.bb b/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager_1.2.5.bb new file mode 100644 index 0000000..8a8e5ac --- /dev/null +++ b/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_opietooth_manager.tar.bz2;name=split_noncore_net_opietooth_manager \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics" +SRC_URI[split_noncore_net_opietooth_manager.md5sum] = "55f5e3b1f675de3ffb8b96b784a26661" +SRC_URI[split_noncore_net_opietooth_manager.sha256sum] = "1bcf4f99610e083109cca02fd7702d764575cf5cfd1bd175f048c47c13f20f27" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager_cvs.bb b/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager_cvs.bb new file mode 100644 index 0000000..f70602e --- /dev/null +++ b/recipes-opie/opie-bluetoothmanager/opie-bluetoothmanager_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/opietooth/manager \ + ${OPIE_GIT};protocol=git;subpath=apps \ + ${OPIE_GIT};protocol=git;subpath=pics" diff --git a/recipes-opie/opie-bounce/opie-bounce.inc b/recipes-opie/opie-bounce/opie-bounce.inc new file mode 100644 index 0000000..012e7ea --- /dev/null +++ b/recipes-opie/opie-bounce/opie-bounce.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "bounce" +SECTION = "opie/games" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "bounce" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libbounce.so* bin/bounce apps/Games/bounce.desktop pics/bounce/*.png +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-bounce/opie-bounce_1.2.5.bb b/recipes-opie/opie-bounce/opie-bounce_1.2.5.bb new file mode 100644 index 0000000..e674998 --- /dev/null +++ b/recipes-opie/opie-bounce/opie-bounce_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_games_bounce.tar.bz2;name=split_noncore_games_bounce \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_games_bounce.md5sum] = "4798a0c131318efd367ac0d7e53c8e1a" +SRC_URI[split_noncore_games_bounce.sha256sum] = "387a7764281efafd2d2d9004600e4a2655130ab39667ef1b2ce04b2c36186d04" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-bounce/opie-bounce_cvs.bb b/recipes-opie/opie-bounce/opie-bounce_cvs.bb new file mode 100644 index 0000000..be36ca2 --- /dev/null +++ b/recipes-opie/opie-bounce/opie-bounce_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/games/bounce \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-brightnessapplet/opie-brightnessapplet.inc b/recipes-opie/opie-brightnessapplet/opie-brightnessapplet.inc new file mode 100644 index 0000000..bc63865 --- /dev/null +++ b/recipes-opie/opie-brightnessapplet/opie-brightnessapplet.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Brightness Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "brightnessapplet" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME} + install -m 0655 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadApplets()" +else + exit 0 +fi +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +${bindir}/qcop QPE/TaskBar "reloadApplets()" +} + diff --git a/recipes-opie/opie-brightnessapplet/opie-brightnessapplet_1.2.5.bb b/recipes-opie/opie-brightnessapplet/opie-brightnessapplet_1.2.5.bb new file mode 100644 index 0000000..fa962ee --- /dev/null +++ b/recipes-opie/opie-brightnessapplet/opie-brightnessapplet_1.2.5.bb @@ -0,0 +1,10 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_applets_brightnessapplet.tar.bz2;name=split_noncore_applets_brightnessapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics" +SRC_URI[split_noncore_applets_brightnessapplet.md5sum] = "63872b9fad86c21486590b6cb8a73679" +SRC_URI[split_noncore_applets_brightnessapplet.sha256sum] = "15537936796880d35d7b5c0b5d4c8e94ecc6db84a3d2ccff5de8f151b4e2fd2a" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/opie-brightnessapplet/opie-brightnessapplet_cvs.bb b/recipes-opie/opie-brightnessapplet/opie-brightnessapplet_cvs.bb new file mode 100644 index 0000000..435c975 --- /dev/null +++ b/recipes-opie/opie-brightnessapplet/opie-brightnessapplet_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/applets/brightnessapplet \ + ${OPIE_GIT};protocol=git;subpath=pics" diff --git a/recipes-opie/opie-button-settings/opie-button-settings.inc b/recipes-opie/opie-button-settings/opie-button-settings.inc new file mode 100644 index 0000000..7cb6489 --- /dev/null +++ b/recipes-opie/opie-button-settings/opie-button-settings.inc @@ -0,0 +1,31 @@ +DESCRIPTION = "Opie device buttons settings dialog" +SECTION = "opie/settings" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-button-settings-pics" +APPNAME = "buttonsettings" + +S = "${WORKDIR}/button" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -d ${D}${palmtopdir}/pics/devicebuttons/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/devicebuttons/*.png ${D}${palmtopdir}/pics/devicebuttons/ +} + +PACKAGES_prepend = "opie-button-settings-pics " +PACKAGE_ARCH_opie-button-settings-pics = "${MACHINE_ARCH}" +FILES_opie-button-settings-pics = "${palmtopdir}/pics/devicebuttons/z*" +FILES_opie-button-settings-pics_h1910 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_h1940 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_h3600 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_h3900 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_h4000 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_h5000 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_h6300 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_hx2000 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_hx4700 = "${palmtopdir}/pics/devicebuttons/ipaq*" +FILES_opie-button-settings-pics_simpad = "${palmtopdir}/pics/devicebuttons/simpad*" diff --git a/recipes-opie/opie-button-settings/opie-button-settings_1.2.5.bb b/recipes-opie/opie-button-settings/opie-button-settings_1.2.5.bb new file mode 100644 index 0000000..ef1096e --- /dev/null +++ b/recipes-opie/opie-button-settings/opie-button-settings_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_settings_button.tar.bz2;name=split_core_settings_button \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_settings_button.md5sum] = "8fd4026daead46cb1ad42d44b7d779ae" +SRC_URI[split_core_settings_button.sha256sum] = "2b108ed88a2e0783014fb5cdfec50533efef175014ebc848686a692690e4a273" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-button-settings/opie-button-settings_cvs.bb b/recipes-opie/opie-button-settings/opie-button-settings_cvs.bb new file mode 100644 index 0000000..07657f3 --- /dev/null +++ b/recipes-opie/opie-button-settings/opie-button-settings_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/settings/button \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-buzzword/opie-buzzword.inc b/recipes-opie/opie-buzzword/opie-buzzword.inc new file mode 100644 index 0000000..afb0c13 --- /dev/null +++ b/recipes-opie/opie-buzzword/opie-buzzword.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "BuzzWord Bingo" +SECTION = "opie/games" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "buzzword" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libbuzzword.so* bin/buzzword apps/Games/buzzword.desktop pics/buzzword/buzzword.png share/buzzword/buzzwords +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + install -d ${D}${palmtopdir}/share/${APPNAME}/ + install -m 0644 ${WORKDIR}/share/${APPNAME}/buzzwords ${D}${palmtopdir}/share/${APPNAME}/ +} + diff --git a/recipes-opie/opie-buzzword/opie-buzzword_1.2.5.bb b/recipes-opie/opie-buzzword/opie-buzzword_1.2.5.bb new file mode 100644 index 0000000..1ff356b --- /dev/null +++ b/recipes-opie/opie-buzzword/opie-buzzword_1.2.5.bb @@ -0,0 +1,14 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_games_buzzword.tar.bz2;name=split_noncore_games_buzzword \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_share.tar.bz2;name=split_share \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_games_buzzword.md5sum] = "dfc4f75cc73f94d7556065ba6e8ecdc9" +SRC_URI[split_noncore_games_buzzword.sha256sum] = "4495745620ec66eced6d386bfab3eb1fd51ac27b0e1d65a4f0ecd39e2e0e6463" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_share.md5sum] = "a715ae54405cae2b17c35d166f161aa8" +SRC_URI[split_share.sha256sum] = "0b71c8726b41f8c4dfd3a31fbb23f9c533c16d7d9c1f3002ab0d2daea274da7a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-buzzword/opie-buzzword_cvs.bb b/recipes-opie/opie-buzzword/opie-buzzword_cvs.bb new file mode 100644 index 0000000..0211afa --- /dev/null +++ b/recipes-opie/opie-buzzword/opie-buzzword_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/games/buzzword \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=share \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-calculator/opie-calculator.inc b/recipes-opie/opie-calculator/opie-calculator.inc new file mode 100644 index 0000000..f2c4dde --- /dev/null +++ b/recipes-opie/opie-calculator/opie-calculator.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Calculator" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "calculator" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libcalculator.so* bin/calculator apps/Applications/calculator.desktop etc/unit_conversion.dat pics/calc +do_install() { + install -d ${D}${palmtopdir}/pics/calc/ + install -m 0644 ${WORKDIR}/pics/calc/*.png ${D}${palmtopdir}/pics/calc/ + install -d ${D}${palmtopdir}/etc/ + install -m 0644 ${WORKDIR}/etc/unit_conversion.dat ${D}${palmtopdir}/etc/ +} + diff --git a/recipes-opie/opie-calculator/opie-calculator_1.2.5.bb b/recipes-opie/opie-calculator/opie-calculator_1.2.5.bb new file mode 100644 index 0000000..5c985b7 --- /dev/null +++ b/recipes-opie/opie-calculator/opie-calculator_1.2.5.bb @@ -0,0 +1,14 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_tools_calculator.tar.bz2;name=split_noncore_tools_calculator \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \ + http://sources.openembedded.org/opie-1.2.5-split_etc.tar.bz2;name=split_etc" +SRC_URI[split_noncore_tools_calculator.md5sum] = "fc16a420e33265aa21a4e8cc246d7faf" +SRC_URI[split_noncore_tools_calculator.sha256sum] = "848c73af73fa2ba48c930e2c50fb2d6db6209aed1d0d3e1df6bdcc806f5b22a8" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" +SRC_URI[split_etc.md5sum] = "74ef523ef12e242155bbb745072434d9" +SRC_URI[split_etc.sha256sum] = "eef55ea2248b4f45f3a07beb6012e431dd71d4eefa134d39cc50b4d194c53087" diff --git a/recipes-opie/opie-calculator/opie-calculator_cvs.bb b/recipes-opie/opie-calculator/opie-calculator_cvs.bb new file mode 100644 index 0000000..b1224db --- /dev/null +++ b/recipes-opie/opie-calculator/opie-calculator_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/tools/calculator \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps \ + ${OPIE_GIT};protocol=git;subpath=etc " diff --git a/recipes-opie/opie-camera/opie-camera.inc b/recipes-opie/opie-camera/opie-camera.inc new file mode 100644 index 0000000..3a131b4 --- /dev/null +++ b/recipes-opie/opie-camera/opie-camera.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "Opie Camera, Photo and Video Capturing Application for the Sharp CF-AG06 camera" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "sharp-camera-support" +APPNAME = "camera" +APPTYPE = "binary" + +COMPATIBLE_MACHINE = "collie" + +S = "${WORKDIR}/camera" + +EXTRA_QMAKEVARS_POST += "LIBS+=-L.." +PARALLEL_MAKE = "" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME} + install -d ${D}${palmtopdir}/lib/ + oe_libinstall -so libcamera ${D}${palmtopdir}/lib + install -m 0755 capture ${D}${palmtopdir}/bin/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} diff --git a/recipes-opie/opie-camera/opie-camera_1.2.5.bb b/recipes-opie/opie-camera/opie-camera_1.2.5.bb new file mode 100644 index 0000000..3ed8788 --- /dev/null +++ b/recipes-opie/opie-camera/opie-camera_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_multimedia_${APPNAME}.tar.bz2;name=split_noncore_multimedia_appname \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_multimedia_appname.md5sum] = "ee04f2fe88fddb912b607500e5f3c010" +SRC_URI[split_noncore_multimedia_appname.sha256sum] = "17d536a55aaed0418a365c001e6e3ff843c7427e89ae95aac6dcd063329d3c27" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-camera/opie-camera_cvs.bb b/recipes-opie/opie-camera/opie-camera_cvs.bb new file mode 100644 index 0000000..a33f874 --- /dev/null +++ b/recipes-opie/opie-camera/opie-camera_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/multimedia/${APPNAME} \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-cardapplet/opie-cardapplet.inc b/recipes-opie/opie-cardapplet/opie-cardapplet.inc new file mode 100644 index 0000000..a96f972 --- /dev/null +++ b/recipes-opie/opie-cardapplet/opie-cardapplet.inc @@ -0,0 +1,38 @@ +DESCRIPTION = "CF/SD/PCMCIA Card Monitor applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "cardapplet" +I18N_FILES = "libcardapplet.ts" + + +S = "${WORKDIR}/cardapplet" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if pidof -s qpe >/dev/null; then + /usr/bin/qcop QPE/TaskBar "reloadApplets()" +fi + if [ -n "$D" ]; then false; fi +} + +pkg_postrm() { +#!/bin/sh +/usr/bin/qcop QPE/TaskBar "reloadApplets()" + if [ -n "$D" ]; then false; fi +} + +# FILES plugins/applets/libcardapplet.so* pics/cardmon/*.png sounds/cardmon/*.wav etc/opie-pcmcia.* +do_install() { + install -d ${D}${palmtopdir}/pics/cardmon/ + install -d ${D}${palmtopdir}/sounds/cardmon/ + install -d ${D}${sysconfdir}/udev/rules.d/ + install -d ${D}${sysconfdir}/udev/scripts/ + install -m 0644 ${WORKDIR}/pics/cardmon/*.png ${D}${palmtopdir}/pics/cardmon/ + install -m 0644 ${WORKDIR}/sounds/cardmon/*.wav ${D}${palmtopdir}/sounds/cardmon/ + install -m 0644 ${WORKDIR}/etc/opie-pcmcia.rules ${D}${sysconfdir}/udev/rules.d/opie-pcmcia.rules + install -m 0755 ${WORKDIR}/etc/opie-pcmcia.sh ${D}${sysconfdir}/udev/scripts/opie-pcmcia.sh +} + diff --git a/recipes-opie/opie-cardapplet/opie-cardapplet_1.2.5.bb b/recipes-opie/opie-cardapplet/opie-cardapplet_1.2.5.bb new file mode 100644 index 0000000..0353192 --- /dev/null +++ b/recipes-opie/opie-cardapplet/opie-cardapplet_1.2.5.bb @@ -0,0 +1,19 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_applets_cardapplet.tar.bz2;name=split_noncore_applets_cardapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_sounds.tar.bz2;name=split_sounds \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \ + http://sources.openembedded.org/opie-1.2.5-split_etc.tar.bz2;name=split_etc" +SRC_URI[split_noncore_applets_cardapplet.md5sum] = "c663047085691dd3e57e7aa0bba89e4c" +SRC_URI[split_noncore_applets_cardapplet.sha256sum] = "053b798624bcbd1caf4307a6a1992a1e193ceb737bd045dd8a6e7a92a20d346f" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_sounds.md5sum] = "b0f2bee8c158f54162e5e74d4d9594df" +SRC_URI[split_sounds.sha256sum] = "55441675b28209cb2e34ffc0875c6d47aee27bd65dbdb40a223e5fa05c5a7c06" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" +SRC_URI[split_etc.md5sum] = "74ef523ef12e242155bbb745072434d9" +SRC_URI[split_etc.sha256sum] = "eef55ea2248b4f45f3a07beb6012e431dd71d4eefa134d39cc50b4d194c53087" diff --git a/recipes-opie/opie-cardapplet/opie-cardapplet_cvs.bb b/recipes-opie/opie-cardapplet/opie-cardapplet_cvs.bb new file mode 100644 index 0000000..fbcb98d --- /dev/null +++ b/recipes-opie/opie-cardapplet/opie-cardapplet_cvs.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +PR = "r2" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/applets/cardapplet \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=sounds \ + ${OPIE_GIT};protocol=git;subpath=apps \ + ${OPIE_GIT};protocol=git;subpath=etc" diff --git a/recipes-opie/opie-checkbook/opie-checkbook.inc b/recipes-opie/opie-checkbook/opie-checkbook.inc new file mode 100644 index 0000000..fd2a9b2 --- /dev/null +++ b/recipes-opie/opie-checkbook/opie-checkbook.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Opie Checkbook" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "checkbook" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} diff --git a/recipes-opie/opie-checkbook/opie-checkbook_1.2.5.bb b/recipes-opie/opie-checkbook/opie-checkbook_1.2.5.bb new file mode 100644 index 0000000..db2b5db --- /dev/null +++ b/recipes-opie/opie-checkbook/opie-checkbook_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_${APPNAME}.tar.bz2;name=split_noncore_apps_appname \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_apps_appname.md5sum] = "083380899ffc2fabe10699c2418f022c" +SRC_URI[split_noncore_apps_appname.sha256sum] = "7f89e1c5a00979a796e4ce6b566d6e3fee34d3b231fedb342d4fa5e6add2feab" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-checkbook/opie-checkbook_cvs.bb b/recipes-opie/opie-checkbook/opie-checkbook_cvs.bb new file mode 100644 index 0000000..e49a27e --- /dev/null +++ b/recipes-opie/opie-checkbook/opie-checkbook_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/${APPNAME} \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-citytime/opie-citytime.inc b/recipes-opie/opie-citytime/opie-citytime.inc new file mode 100644 index 0000000..c3bbd4c --- /dev/null +++ b/recipes-opie/opie-citytime/opie-citytime.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Opie Time-zone / world clock settings" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +RRECOMMENDS_${PN} = "tzdata" +PR = "r2" + +APPNAME = "citytime" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-citytime/opie-citytime_1.2.5.bb b/recipes-opie/opie-citytime/opie-citytime_1.2.5.bb new file mode 100644 index 0000000..2bf4c20 --- /dev/null +++ b/recipes-opie/opie-citytime/opie-citytime_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_settings_citytime.tar.bz2;name=split_core_settings_citytime \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_settings_citytime.md5sum] = "ffca7dd8b38bc79c3e4c1f1c2290cf41" +SRC_URI[split_core_settings_citytime.sha256sum] = "219a0cd007f920765e509035ebdb3f77b4d66301b7536d9c165e295251625b62" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-citytime/opie-citytime_cvs.bb b/recipes-opie/opie-citytime/opie-citytime_cvs.bb new file mode 100644 index 0000000..461951c --- /dev/null +++ b/recipes-opie/opie-citytime/opie-citytime_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/settings/citytime \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-clipboardapplet/opie-clipboardapplet.inc b/recipes-opie/opie-clipboardapplet/opie-clipboardapplet.inc new file mode 100644 index 0000000..5b2db9f --- /dev/null +++ b/recipes-opie/opie-clipboardapplet/opie-clipboardapplet.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Clipboard applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "clipboardapplet" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadApplets()" +fi +} + +pkg_postrm() { +#!/bin/sh +${bindir}/qcop QPE/TaskBar "reloadApplets()" + if [ -n "$D" ]; then false; fi +} + +# FILES plugins/applets/libclipboardapplet.so* +do_install() { +} + diff --git a/recipes-opie/opie-clipboardapplet/opie-clipboardapplet_1.2.5.bb b/recipes-opie/opie-clipboardapplet/opie-clipboardapplet_1.2.5.bb new file mode 100644 index 0000000..85ae2c5 --- /dev/null +++ b/recipes-opie/opie-clipboardapplet/opie-clipboardapplet_1.2.5.bb @@ -0,0 +1,13 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_applets_clipboardapplet.tar.bz2;name=split_core_applets_clipboardapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_applets_clipboardapplet.md5sum] = "62ce49c0eeea827260247c89c2e4b338" +SRC_URI[split_core_applets_clipboardapplet.sha256sum] = "1a785f1e87f1b7d1a909adbe97aa0aad7e8ba46b285c4d506216c57dd0ddba05" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-clipboardapplet/opie-clipboardapplet_cvs.bb b/recipes-opie/opie-clipboardapplet/opie-clipboardapplet_cvs.bb new file mode 100644 index 0000000..9a77aea --- /dev/null +++ b/recipes-opie/opie-clipboardapplet/opie-clipboardapplet_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/applets/clipboardapplet \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-clock/opie-clock.inc b/recipes-opie/opie-clock/opie-clock.inc new file mode 100644 index 0000000..131ca04 --- /dev/null +++ b/recipes-opie/opie-clock/opie-clock.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Clock and stop-watch" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "clock" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libclock.so* bin/clock apps/Applications/clock.desktop +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + + diff --git a/recipes-opie/opie-clock/opie-clock_1.2.5.bb b/recipes-opie/opie-clock/opie-clock_1.2.5.bb new file mode 100644 index 0000000..0aceb08 --- /dev/null +++ b/recipes-opie/opie-clock/opie-clock_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_tools_clock.tar.bz2;name=split_noncore_tools_clock \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_tools_clock.md5sum] = "68e7eae4e4d4097226c4fe53117ece3b" +SRC_URI[split_noncore_tools_clock.sha256sum] = "e07b1ebc2a81716ba24b66eb041b37af526cd18c5953d10576e81f582a57dc31" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-clock/opie-clock_cvs.bb b/recipes-opie/opie-clock/opie-clock_cvs.bb new file mode 100644 index 0000000..41fded0 --- /dev/null +++ b/recipes-opie/opie-clock/opie-clock_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/tools/clock \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-clockapplet/opie-clockapplet.inc b/recipes-opie/opie-clockapplet/opie-clockapplet.inc new file mode 100644 index 0000000..88e4680 --- /dev/null +++ b/recipes-opie/opie-clockapplet/opie-clockapplet.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Clock applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "clockapplet" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadApplets()" +fi +} + +pkg_postrm() { +#!/bin/sh +${bindir}/qcop QPE/TaskBar "reloadApplets()" + if [ -n "$D" ]; then false; fi +} + +# FILES plugins/applets/libclockapplet.so* +do_install() { +} + +# FILES plugins/applets/libclockapplet.so* pics/clockapplet/*.png +do_install() { + install -d ${D}${palmtopdir}/pics/clockapplet/ + install -m 0644 ${WORKDIR}/pics/clockapplet/*.png ${D}${palmtopdir}/pics/clockapplet/ +} + diff --git a/recipes-opie/opie-clockapplet/opie-clockapplet_1.2.5.bb b/recipes-opie/opie-clockapplet/opie-clockapplet_1.2.5.bb new file mode 100644 index 0000000..0e5c67f --- /dev/null +++ b/recipes-opie/opie-clockapplet/opie-clockapplet_1.2.5.bb @@ -0,0 +1,13 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_applets_clockapplet.tar.bz2;name=split_core_applets_clockapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_applets_clockapplet.md5sum] = "5571ca658975f16b3d25400863429e0d" +SRC_URI[split_core_applets_clockapplet.sha256sum] = "e0f75d7b712a964488b5b28f490c957910d88e755a8bf5e2ed4978bd693523f8" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-clockapplet/opie-clockapplet_cvs.bb b/recipes-opie/opie-clockapplet/opie-clockapplet_cvs.bb new file mode 100644 index 0000000..7f7fc5e --- /dev/null +++ b/recipes-opie/opie-clockapplet/opie-clockapplet_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r2" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/applets/clockapplet \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-confeditor/opie-confeditor.inc b/recipes-opie/opie-confeditor/opie-confeditor.inc new file mode 100644 index 0000000..33038cd --- /dev/null +++ b/recipes-opie/opie-confeditor/opie-confeditor.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "An enditor for the ~/Settings/*.conf files" +SECTION = "opie/settings" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "confedit" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES bin/confedit apps/Settings/confedit.desktop pics/confedit/confedit.png plugins/application/libconfedit.so* +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-confeditor/opie-confeditor_1.2.5.bb b/recipes-opie/opie-confeditor/opie-confeditor_1.2.5.bb new file mode 100644 index 0000000..25ffe21 --- /dev/null +++ b/recipes-opie/opie-confeditor/opie-confeditor_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_confedit.tar.bz2;name=split_noncore_apps_confedit \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_apps_confedit.md5sum] = "d88326d88fb315e819b291ac34d3377d" +SRC_URI[split_noncore_apps_confedit.sha256sum] = "42881a4dc7e4b19c902e1a8084d1b89bf85a73a761cb9870cc8695129f59f4d5" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-confeditor/opie-confeditor_cvs.bb b/recipes-opie/opie-confeditor/opie-confeditor_cvs.bb new file mode 100644 index 0000000..ed8b673 --- /dev/null +++ b/recipes-opie/opie-confeditor/opie-confeditor_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/confedit \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-console/opie-console.inc b/recipes-opie/opie-console/opie-console.inc new file mode 100644 index 0000000..b8e57b6 --- /dev/null +++ b/recipes-opie/opie-console/opie-console.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Console Application" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "opie-keytabs" +RDEPENDS_${PN} = "opie-keytabs" +APPNAME = "opie-console" +APPTYPE = "binary" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/console/keys/ + install -m 0644 ${WORKDIR}/pics/inline/pass.* ${D}${palmtopdir}/pics/ + install -m 0644 ${WORKDIR}/pics/console/*.png ${D}${palmtopdir}/pics/console/ + install -m 0644 ${WORKDIR}/pics/console/keys/*.png ${D}${palmtopdir}/pics/console/keys/ +} diff --git a/recipes-opie/opie-console/opie-console_1.2.5.bb b/recipes-opie/opie-console/opie-console_1.2.5.bb new file mode 100644 index 0000000..79aedae --- /dev/null +++ b/recipes-opie/opie-console/opie-console_1.2.5.bb @@ -0,0 +1,14 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_${APPNAME}.tar.bz2;name=split_noncore_apps_appname \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \ + " +SRC_URI[split_noncore_apps_appname.md5sum] = "8cc34b2cf390c62a88df9f3aa1ff4d91" +SRC_URI[split_noncore_apps_appname.sha256sum] = "f757a38292fd30226285c674b6d9579cb8dddadb5a84c025640fd88bfdb9b495" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-console/opie-console_cvs.bb b/recipes-opie/opie-console/opie-console_cvs.bb new file mode 100644 index 0000000..dee5ab0 --- /dev/null +++ b/recipes-opie/opie-console/opie-console_cvs.bb @@ -0,0 +1,9 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r2" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/${APPNAME} \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps \ + " diff --git a/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin.inc b/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin.inc new file mode 100644 index 0000000..62c014a --- /dev/null +++ b/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Opie datebook birthday plugin" +SECTION = "opie/datebook" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-datebook" +APPNAME = "birthdayplugin" + +S = "${WORKDIR}/birthday" + +inherit opie diff --git a/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin_1.2.5.bb b/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin_1.2.5.bb new file mode 100644 index 0000000..b6137b8 --- /dev/null +++ b/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_pim_datebook_plugins_birthday.tar.bz2;name=split_core_pim_datebook_plugins_birthday" +SRC_URI[split_core_pim_datebook_plugins_birthday.md5sum] = "274be50da5b4a4ca2f3caa4f70a341cb" +SRC_URI[split_core_pim_datebook_plugins_birthday.sha256sum] = "ad55dad2b6410b920856d43edd76eb6219e454f15a77903a8a09a8bd996cc853" diff --git a/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin_cvs.bb b/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin_cvs.bb new file mode 100644 index 0000000..3739384 --- /dev/null +++ b/recipes-opie/opie-datebook-birthdayplugin/opie-datebook-birthdayplugin_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/pim/datebook/plugins/birthday " diff --git a/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin.inc b/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin.inc new file mode 100644 index 0000000..b8b817f --- /dev/null +++ b/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Opie datebook christian holidays plugin" +SECTION = "opie/datebook" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-datebook" +APPNAME = "chrisholidayplugin" + +S = "${WORKDIR}/christian" + +inherit opie diff --git a/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin_1.2.5.bb b/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin_1.2.5.bb new file mode 100644 index 0000000..a1e3963 --- /dev/null +++ b/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_pim_datebook_plugins_christian.tar.bz2;name=split_core_pim_datebook_plugins_christian" +SRC_URI[split_core_pim_datebook_plugins_christian.md5sum] = "79c4bcc4d1c0224e0015f064f7f74472" +SRC_URI[split_core_pim_datebook_plugins_christian.sha256sum] = "98dafab30d02d34a0dd70dae59a3ad2262e45d272dfab476bfaac23f8868e23e" diff --git a/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin_cvs.bb b/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin_cvs.bb new file mode 100644 index 0000000..563fdf4 --- /dev/null +++ b/recipes-opie/opie-datebook-chrisholidayplugin/opie-datebook-chrisholidayplugin_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/pim/datebook/plugins/christian " diff --git a/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin.inc b/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin.inc new file mode 100644 index 0000000..aa62ae4 --- /dev/null +++ b/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Opie datebook national holidays plugin" +SECTION = "opie/datebook" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-datebook" +APPNAME = "nationaldayplugin" + +S = "${WORKDIR}/national" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/etc/nationaldays + install -m 0644 ${WORKDIR}/nationaldays/*.xml ${D}${palmtopdir}/etc/nationaldays +} diff --git a/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin_1.2.5.bb b/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin_1.2.5.bb new file mode 100644 index 0000000..4851618 --- /dev/null +++ b/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin_1.2.5.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_pim_datebook_plugins_national.tar.bz2;name=split_core_pim_datebook_plugins_national \ + http://sources.openembedded.org/opie-1.2.5-split_etc_nationaldays.tar.bz2;name=split_etc_nationaldays" +SRC_URI[split_core_pim_datebook_plugins_national.md5sum] = "cc7de5c238a2054f9343f1a7a967a1bf" +SRC_URI[split_core_pim_datebook_plugins_national.sha256sum] = "42444fcabf7450ef0aad27b7653ed9e761cbfbaca0094f129528c573ca6c456a" +SRC_URI[split_etc_nationaldays.md5sum] = "8810a5d0c7a4eb1de5f5750297db390d" +SRC_URI[split_etc_nationaldays.sha256sum] = "8a6286e24766f000c3387df2f083e59bcded12fca92ff6704fc0e5c7f5ab84a8" diff --git a/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin_cvs.bb b/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin_cvs.bb new file mode 100644 index 0000000..ff9e427 --- /dev/null +++ b/recipes-opie/opie-datebook-nationalholidayplugin/opie-datebook-nationalholidayplugin_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/pim/datebook/plugins/national \ + ${OPIE_GIT};protocol=git;subpath=etc/nationaldays " diff --git a/recipes-opie/opie-datebook/opie-datebook.inc b/recipes-opie/opie-datebook/opie-datebook.inc new file mode 100644 index 0000000..c97a6f2 --- /dev/null +++ b/recipes-opie/opie-datebook/opie-datebook.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "A datebook/appointment manager" +SECTION = "opie/pim" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-pics" +APPNAME = "datebook" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libdatebook.so* bin/datebook apps/1Pim/datebook.desktop diff --git a/recipes-opie/opie-datebook/opie-datebook_1.2.5.bb b/recipes-opie/opie-datebook/opie-datebook_1.2.5.bb new file mode 100644 index 0000000..0b794b3 --- /dev/null +++ b/recipes-opie/opie-datebook/opie-datebook_1.2.5.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_pim_datebook.tar.bz2;name=split_core_pim_datebook \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_pim_datebook.md5sum] = "aef27444d5295f83d429ea8ab4c5d8b6" +SRC_URI[split_core_pim_datebook.sha256sum] = "170107bcdb13fac555128d3833edc8a166a770f43d2d5705306ed64cc17e2c5c" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-datebook/opie-datebook_cvs.bb b/recipes-opie/opie-datebook/opie-datebook_cvs.bb new file mode 100644 index 0000000..54ec763 --- /dev/null +++ b/recipes-opie/opie-datebook/opie-datebook_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/pim/datebook \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-deco-flat/opie-deco-flat.inc b/recipes-opie/opie-deco-flat/opie-deco-flat.inc new file mode 100644 index 0000000..a9e1673 --- /dev/null +++ b/recipes-opie/opie-deco-flat/opie-deco-flat.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Simple, flat window decoration style for Opie" +SECTION = "opie/decorations" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "flat" + + +S = "${WORKDIR}/flat" + +inherit opie diff --git a/recipes-opie/opie-deco-flat/opie-deco-flat_1.2.5.bb b/recipes-opie/opie-deco-flat/opie-deco-flat_1.2.5.bb new file mode 100644 index 0000000..a155a2f --- /dev/null +++ b/recipes-opie/opie-deco-flat/opie-deco-flat_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_decorations_flat.tar.bz2;name=split_noncore_decorations_flat" +SRC_URI[split_noncore_decorations_flat.md5sum] = "9fa386eca38c67a4abcf65d8966dd127" +SRC_URI[split_noncore_decorations_flat.sha256sum] = "6e441ae34a8af51b6c6ce7ba0e7d2da574abb4d0c86fd8c8bf19b690ecebbf6d" diff --git a/recipes-opie/opie-deco-flat/opie-deco-flat_cvs.bb b/recipes-opie/opie-deco-flat/opie-deco-flat_cvs.bb new file mode 100644 index 0000000..a99d841 --- /dev/null +++ b/recipes-opie/opie-deco-flat/opie-deco-flat_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/decorations/flat " diff --git a/recipes-opie/opie-deco-liquid/opie-deco-liquid.inc b/recipes-opie/opie-deco-liquid/opie-deco-liquid.inc new file mode 100644 index 0000000..8779980 --- /dev/null +++ b/recipes-opie/opie-deco-liquid/opie-deco-liquid.inc @@ -0,0 +1,11 @@ +DESCRIPTION = "Liquid window decoration style for Opie" +SECTION = "opie/decorations" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libqtaux2" +APPNAME = "liquid" + + +S = "${WORKDIR}/liquid" + +inherit opie diff --git a/recipes-opie/opie-deco-liquid/opie-deco-liquid_1.2.5.bb b/recipes-opie/opie-deco-liquid/opie-deco-liquid_1.2.5.bb new file mode 100644 index 0000000..2c4ead3 --- /dev/null +++ b/recipes-opie/opie-deco-liquid/opie-deco-liquid_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_decorations_liquid.tar.bz2;name=split_noncore_decorations_liquid" +SRC_URI[split_noncore_decorations_liquid.md5sum] = "7cf38be689a0b3c906fb1174adabe4f7" +SRC_URI[split_noncore_decorations_liquid.sha256sum] = "aede43b516e546e580177693a15af7e5949482688d9e8e941c8a0382cb401987" diff --git a/recipes-opie/opie-deco-liquid/opie-deco-liquid_cvs.bb b/recipes-opie/opie-deco-liquid/opie-deco-liquid_cvs.bb new file mode 100644 index 0000000..fee6dbc --- /dev/null +++ b/recipes-opie/opie-deco-liquid/opie-deco-liquid_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/decorations/liquid " diff --git a/recipes-opie/opie-deco-polished/opie-deco-polished.inc b/recipes-opie/opie-deco-polished/opie-deco-polished.inc new file mode 100644 index 0000000..501dc4a --- /dev/null +++ b/recipes-opie/opie-deco-polished/opie-deco-polished.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Polished window decoration style for Opie" +SECTION = "opie/decorations" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "polished" + + +S = "${WORKDIR}/polished" + +inherit opie diff --git a/recipes-opie/opie-deco-polished/opie-deco-polished_1.2.5.bb b/recipes-opie/opie-deco-polished/opie-deco-polished_1.2.5.bb new file mode 100644 index 0000000..6e9ebb8 --- /dev/null +++ b/recipes-opie/opie-deco-polished/opie-deco-polished_1.2.5.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_decorations_polished.tar.bz2;name=split_noncore_decorations_polished" +SRC_URI[split_noncore_decorations_polished.md5sum] = "e8a5dc81aa1a8dc8eec6d22bb3aff842" +SRC_URI[split_noncore_decorations_polished.sha256sum] = "8a15dd2c1975edda33837fd65050e8941b593bbf2d7059283fc0a754c413b3ca" diff --git a/recipes-opie/opie-deco-polished/opie-deco-polished_cvs.bb b/recipes-opie/opie-deco-polished/opie-deco-polished_cvs.bb new file mode 100644 index 0000000..afd1587 --- /dev/null +++ b/recipes-opie/opie-deco-polished/opie-deco-polished_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/decorations/polished " diff --git a/recipes-opie/opie-doctab/opie-doctab.inc b/recipes-opie/opie-doctab/opie-doctab.inc new file mode 100644 index 0000000..8a4124e --- /dev/null +++ b/recipes-opie/opie-doctab/opie-doctab.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "DocTab settings dialog for the Opie environment." +SECTION = "opie/settings" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "doctab" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libdoctab.so* bin/doctab apps/Settings/DocTab.desktop +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-doctab/opie-doctab_1.2.5.bb b/recipes-opie/opie-doctab/opie-doctab_1.2.5.bb new file mode 100644 index 0000000..1ca9dcf --- /dev/null +++ b/recipes-opie/opie-doctab/opie-doctab_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_settings_doctab.tar.bz2;name=split_noncore_settings_doctab \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics" +SRC_URI[split_noncore_settings_doctab.md5sum] = "7f4cf7e56fd2c6169b89bf92f04e685c" +SRC_URI[split_noncore_settings_doctab.sha256sum] = "268f0782b662ae6c2df4c473d645fd9c7b3221ae39352e407c77d908592e4157" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/opie-doctab/opie-doctab_cvs.bb b/recipes-opie/opie-doctab/opie-doctab_cvs.bb new file mode 100644 index 0000000..e2eb18d --- /dev/null +++ b/recipes-opie/opie-doctab/opie-doctab_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/settings/doctab \ + ${OPIE_GIT};protocol=git;subpath=apps \ + ${OPIE_GIT};protocol=git;subpath=pics" diff --git a/recipes-opie/opie-drawpad/opie-drawpad.inc b/recipes-opie/opie-drawpad/opie-drawpad.inc new file mode 100644 index 0000000..8b1f858 --- /dev/null +++ b/recipes-opie/opie-drawpad/opie-drawpad.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "A note taking program with basic draw tools" +SECTION = "opie/pim" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libopiecore2 libopieui2 libqtaux2" +APPNAME = "drawpad" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libdrawpad.so* bin/drawpad apps/1Pim/drawpad.desktop pics/drawpad +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-drawpad/opie-drawpad_1.2.5.bb b/recipes-opie/opie-drawpad/opie-drawpad_1.2.5.bb new file mode 100644 index 0000000..547a9c4 --- /dev/null +++ b/recipes-opie/opie-drawpad/opie-drawpad_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_graphics_drawpad.tar.bz2;name=split_noncore_graphics_drawpad \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_graphics_drawpad.md5sum] = "f536cdac1371dc396d8dbea37fb74057" +SRC_URI[split_noncore_graphics_drawpad.sha256sum] = "05a3af17140c73c340596a2446e84364725c59c6927a367342e48cdb00a0d8e2" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-drawpad/opie-drawpad_cvs.bb b/recipes-opie/opie-drawpad/opie-drawpad_cvs.bb new file mode 100644 index 0000000..a11686c --- /dev/null +++ b/recipes-opie/opie-drawpad/opie-drawpad_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/graphics/drawpad \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-dvorak/files/fix-rpath.patch b/recipes-opie/opie-dvorak/files/fix-rpath.patch new file mode 100644 index 0000000..37e2e5a --- /dev/null +++ b/recipes-opie/opie-dvorak/files/fix-rpath.patch @@ -0,0 +1,13 @@ +diff --git a/dvorak.pro b/dvorak.pro +index b659ab5..c1cf861 100644 +--- a/dvorak.pro ++++ b/dvorak.pro +@@ -9,7 +9,7 @@ DESTDIR = ../../plugins/inputmethods + INCLUDEPATH += $(OPIEDIR)/include + DEPENDPATH += ../../launcher + LIBS += -lqpe -L$(OPIEDIR)/plugins/inputmethods -lqpickboard +-QMAKE_LFLAGS += -Wl,-rpath,/opt/QtPalmtop/plugins/inputmethods ++QMAKE_LFLAGS += -Wl,-rpath,${palmtopdir}/plugins/inputmethods + VERSION = 1.0.0 + + include( $(OPIEDIR)/include.pro ) diff --git a/recipes-opie/opie-dvorak/opie-dvorak.inc b/recipes-opie/opie-dvorak/opie-dvorak.inc new file mode 100644 index 0000000..9b89436 --- /dev/null +++ b/recipes-opie/opie-dvorak/opie-dvorak.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "Dvorak keyboard input method" +SECTION = "opie/inputmethods" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "opie-pickboard" +RDEPENDS_${PN} = "opie-pickboard" +APPNAME = "qdvorak" + +S = "${WORKDIR}/dvorak" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadInputMethods()" +else + exit 0 +fi + +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +${bindir}/qcop QPE/TaskBar "reloadInputMethods()" +} + +# FILES plugins/inputmethods/libqdvorak.so* +do_install() { +} + diff --git a/recipes-opie/opie-dvorak/opie-dvorak_1.2.5.bb b/recipes-opie/opie-dvorak/opie-dvorak_1.2.5.bb new file mode 100644 index 0000000..2a9336b --- /dev/null +++ b/recipes-opie/opie-dvorak/opie-dvorak_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_inputmethods_dvorak.tar.bz2;name=split_inputmethods_dvorak \ + http://sources.openembedded.org/opie-1.2.5-split_inputmethods_pickboard.tar.bz2;name=split_inputmethods_pickboard \ + file://fix-rpath.patch " +SRC_URI[split_inputmethods_dvorak.md5sum] = "d0e715138c79b1f7dcd32b6ab3cd69fd" +SRC_URI[split_inputmethods_dvorak.sha256sum] = "ab2f46b1919b627234b5c29e06c7cd043d07fa706e12e1e0dd52f0a6b88d4eb2" +SRC_URI[split_inputmethods_pickboard.md5sum] = "86a0f938b5c65a388ee3ccd8b962e831" +SRC_URI[split_inputmethods_pickboard.sha256sum] = "5c50eb3062443ca3fa249ec1c8fa7b141b4ed3524e907a3c51e6ee8c09f6f8bc" diff --git a/recipes-opie/opie-dvorak/opie-dvorak_cvs.bb b/recipes-opie/opie-dvorak/opie-dvorak_cvs.bb new file mode 100644 index 0000000..de9631c --- /dev/null +++ b/recipes-opie/opie-dvorak/opie-dvorak_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=inputmethods/dvorak \ + ${OPIE_GIT};protocol=git;subpath=inputmethods/pickboard \ + file://fix-rpath.patch " diff --git a/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole.inc b/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole.inc new file mode 100644 index 0000000..5997afd --- /dev/null +++ b/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Opie embedded konsole" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libqtaux2 opie-keytabs" +RDEPENDS_${PN} = "opie-keytabs" +APPNAME = "embeddedkonsole" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/konsole/ + install -m 0644 ${WORKDIR}/pics/konsole/*.png ${D}${palmtopdir}/pics/konsole/ +} diff --git a/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole_1.2.5.bb b/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole_1.2.5.bb new file mode 100644 index 0000000..b8909bc --- /dev/null +++ b/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_apps_${APPNAME}.tar.bz2;name=split_core_apps_appname \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_apps_appname.md5sum] = "c97acddc0ad1362e9c52fea2e43e3a5d" +SRC_URI[split_core_apps_appname.sha256sum] = "b349e35f46d04067b44a8cfc45c313a25a8ad9d99925a8e73d89a530930a77fc" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole_cvs.bb b/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole_cvs.bb new file mode 100644 index 0000000..3b6e748 --- /dev/null +++ b/recipes-opie/opie-embeddedkonsole/opie-embeddedkonsole_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/apps/${APPNAME} \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-euroconv/opie-euroconv.inc b/recipes-opie/opie-euroconv/opie-euroconv.inc new file mode 100644 index 0000000..58b0f5f --- /dev/null +++ b/recipes-opie/opie-euroconv/opie-euroconv.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "Euroconv" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "euroconv" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libeuroconv.so* bin/euroconv pics/euroconv/* apps/Applications/euroconv.desktop +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-euroconv/opie-euroconv_1.2.5.bb b/recipes-opie/opie-euroconv/opie-euroconv_1.2.5.bb new file mode 100644 index 0000000..1ab1f08 --- /dev/null +++ b/recipes-opie/opie-euroconv/opie-euroconv_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_tools_euroconv.tar.bz2;name=split_noncore_tools_euroconv \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_tools_euroconv.md5sum] = "c047f37245915882c1de09221dcfd5d8" +SRC_URI[split_noncore_tools_euroconv.sha256sum] = "c7fc966ba40c65d86172bd3fee8d05621a5182fa562fffcd46d8fb3ec318cb18" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-euroconv/opie-euroconv_cvs.bb b/recipes-opie/opie-euroconv/opie-euroconv_cvs.bb new file mode 100644 index 0000000..8abb72f --- /dev/null +++ b/recipes-opie/opie-euroconv/opie-euroconv_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/tools/euroconv \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-examples-python/opie-examples-python.inc b/recipes-opie/opie-examples-python/opie-examples-python.inc new file mode 100644 index 0000000..3a784a3 --- /dev/null +++ b/recipes-opie/opie-examples-python/opie-examples-python.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "Python examples for Opie" +SECTION = "opie/base" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "python-pyqt opie-pyquicklaunchapplet" +APPNAME = "python" +PACKAGE_ARCH = "all" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_configure() { + : +} + +do_compile() { + : +} + +do_install() { + install -d ${D}${palmtopdir}/bin/python/ ${D}${palmtopdir}/apps/Python + install -m 0755 *.py ${D}${palmtopdir}/bin/python/ + install -m 0644 ${WORKDIR}/apps/Python/.directory ${D}${palmtopdir}/apps/Python/ + install -m 0644 ${WORKDIR}/apps/Python/simple.desktop ${D}${palmtopdir}/apps/Python/ +} + diff --git a/recipes-opie/opie-examples-python/opie-examples-python_1.2.5.bb b/recipes-opie/opie-examples-python/opie-examples-python_1.2.5.bb new file mode 100644 index 0000000..02426f0 --- /dev/null +++ b/recipes-opie/opie-examples-python/opie-examples-python_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_examples_python.tar.bz2;name=split_examples_python \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_examples_python.md5sum] = "19cc8165731d2500be06ea628be37d5c" +SRC_URI[split_examples_python.sha256sum] = "9f82baf3a3d251e352edecc9efa29501cb98cad7cff9fd2aab192b8c6d04aa3d" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-examples-python/opie-examples-python_cvs.bb b/recipes-opie/opie-examples-python/opie-examples-python_cvs.bb new file mode 100644 index 0000000..330e09d --- /dev/null +++ b/recipes-opie/opie-examples-python/opie-examples-python_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=examples/python \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-examples/opie-examples.inc b/recipes-opie/opie-examples/opie-examples.inc new file mode 100644 index 0000000..d90c3e1 --- /dev/null +++ b/recipes-opie/opie-examples/opie-examples.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "Developer Examples for Opie" +SECTION = "opie/base" +PRIORITY = "optional" +DEPENDS = "opie-networksettings" +LICENSE = "GPL" +APPTYPE = "binary" + +S = "${WORKDIR}/examples" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/bin/ + + for i in `find . -perm 0755 -type f` + do + install -m 0755 $i ${D}${palmtopdir}/bin/`basename $i` + done +} + diff --git a/recipes-opie/opie-examples/opie-examples_1.2.5.bb b/recipes-opie/opie-examples/opie-examples_1.2.5.bb new file mode 100644 index 0000000..e6d1d05 --- /dev/null +++ b/recipes-opie/opie-examples/opie-examples_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_examples.tar.bz2;name=split_examples \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_examples.md5sum] = "9e6a0e76e883a27cc1fcb8f3df3c844e" +SRC_URI[split_examples.sha256sum] = "73547a40fc8a0cea3561ec5402341cc49c857111df1af5217d7fb02d407e1e88" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-examples/opie-examples_cvs.bb b/recipes-opie/opie-examples/opie-examples_cvs.bb new file mode 100644 index 0000000..fa426a8 --- /dev/null +++ b/recipes-opie/opie-examples/opie-examples_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=examples \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-eye/opie-eye.inc b/recipes-opie/opie-eye/opie-eye.inc new file mode 100644 index 0000000..019d2ce --- /dev/null +++ b/recipes-opie/opie-eye/opie-eye.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "A image viewer" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libopiecore2 libopieui2 libopiemm2" +RDEPENDS_${PN} = "opie-advancedfm-pics" +APPNAME = "opie-eye" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_configure_append() { + cd slave && qmake -makefile -spec ${QMAKESPEC} slave.pro -after ${EXTRA_QMAKEVARS_POST} +} + +do_compile_append() { + cd slave && oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 opie-eye_slave ${D}${bindir} + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-eye/opie-eye_1.2.5.bb b/recipes-opie/opie-eye/opie-eye_1.2.5.bb new file mode 100644 index 0000000..ddaf54c --- /dev/null +++ b/recipes-opie/opie-eye/opie-eye_1.2.5.bb @@ -0,0 +1,13 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_graphics_opie-eye.tar.bz2;name=split_noncore_graphics_opie-eye \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_graphics_opie-eye.md5sum] = "301fa084aaeacd10ae37698749a46403" +SRC_URI[split_noncore_graphics_opie-eye.sha256sum] = "aa7b355eac4792aa7293362ae44c4331a642a9c9918d7231e98fca6fcb5df781" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-eye/opie-eye_cvs.bb b/recipes-opie/opie-eye/opie-eye_cvs.bb new file mode 100644 index 0000000..7ae0402 --- /dev/null +++ b/recipes-opie/opie-eye/opie-eye_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/graphics/opie-eye \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-fifteen/opie-fifteen.inc b/recipes-opie/opie-fifteen/opie-fifteen.inc new file mode 100644 index 0000000..a395175 --- /dev/null +++ b/recipes-opie/opie-fifteen/opie-fifteen.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "Fifteen pieces game" +SECTION = "opie/games" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "fifteen" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libfifteen.so* bin/fifteen apps/Games/fifteen.desktop pics/fifteen +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-fifteen/opie-fifteen_1.2.5.bb b/recipes-opie/opie-fifteen/opie-fifteen_1.2.5.bb new file mode 100644 index 0000000..7f5eab4 --- /dev/null +++ b/recipes-opie/opie-fifteen/opie-fifteen_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_games_fifteen.tar.bz2;name=split_noncore_games_fifteen \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_games_fifteen.md5sum] = "27f980104a55a6fc4103acc3e52e39c0" +SRC_URI[split_noncore_games_fifteen.sha256sum] = "65ce3f0f7cf40d82d029d6225a19a3f8d6f10e50ae5927c9fb700cc590be35dc" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-fifteen/opie-fifteen_cvs.bb b/recipes-opie/opie-fifteen/opie-fifteen_cvs.bb new file mode 100644 index 0000000..e0ee7c2 --- /dev/null +++ b/recipes-opie/opie-fifteen/opie-fifteen_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/games/fifteen \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-formatter/opie-formatter.inc b/recipes-opie/opie-formatter/opie-formatter.inc new file mode 100644 index 0000000..f259d0a --- /dev/null +++ b/recipes-opie/opie-formatter/opie-formatter.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "The filesystem formatting and mountpoint app for the Opie environment." +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "formatter" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-formatter/opie-formatter_1.2.5.bb b/recipes-opie/opie-formatter/opie-formatter_1.2.5.bb new file mode 100644 index 0000000..33d96b1 --- /dev/null +++ b/recipes-opie/opie-formatter/opie-formatter_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_tools_formatter.tar.bz2;name=split_noncore_tools_formatter \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_tools_formatter.md5sum] = "37c3012284e679dcff8359989e8df830" +SRC_URI[split_noncore_tools_formatter.sha256sum] = "9a51cd6816f0e1b0f8c890fe416a1857b4650fa10d45e56f793d6a4012e190b8" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-formatter/opie-formatter_cvs.bb b/recipes-opie/opie-formatter/opie-formatter_cvs.bb new file mode 100644 index 0000000..4c15f2d --- /dev/null +++ b/recipes-opie/opie-formatter/opie-formatter_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/tools/formatter \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-freetype/opie-freetype.inc b/recipes-opie/opie-freetype/opie-freetype.inc new file mode 100644 index 0000000..6ca053a --- /dev/null +++ b/recipes-opie/opie-freetype/opie-freetype.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Freetype fontfactory plugin" +SECTION = "opie/fontfactories" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "freetype opie-ttf-support" +RDEPENDS_${PN} = "opie-ttf-support" +APPNAME = "freetypefactory" +APPTYPE = "plugin" + +S = "${WORKDIR}/freetype" + +inherit opie + +EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/freetype2" + +DEBIAN_NOAUTONAME_opie-freetype = "1" diff --git a/recipes-opie/opie-freetype/opie-freetype_1.2.5.bb b/recipes-opie/opie-freetype/opie-freetype_1.2.5.bb new file mode 100644 index 0000000..1a9c5a6 --- /dev/null +++ b/recipes-opie/opie-freetype/opie-freetype_1.2.5.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_freetype.tar.bz2;name=split_freetype" +SRC_URI[split_freetype.md5sum] = "cda4da0c8f622cc4020e7020bcd426f7" +SRC_URI[split_freetype.sha256sum] = "804624e97cdccad3c9b6bd072a84d4e8d5afe955701fd149c2d8c54c586a2efd" diff --git a/recipes-opie/opie-freetype/opie-freetype_cvs.bb b/recipes-opie/opie-freetype/opie-freetype_cvs.bb new file mode 100644 index 0000000..6a7198e --- /dev/null +++ b/recipes-opie/opie-freetype/opie-freetype_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=freetype" diff --git a/recipes-opie/opie-ftp/opie-ftp.inc b/recipes-opie/opie-ftp/opie-ftp.inc new file mode 100644 index 0000000..1e7d712 --- /dev/null +++ b/recipes-opie/opie-ftp/opie-ftp.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Opie-Ftp" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libopiecore2 opie-ftplib" +APPNAME = "opieftp" +I18N_FILES = "opieftp.ts" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libopieftp.so* bin/opieftp pics/opieftp apps/Applications/opieftp.desktop +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-ftp/opie-ftp_1.2.5.bb b/recipes-opie/opie-ftp/opie-ftp_1.2.5.bb new file mode 100644 index 0000000..44998fc --- /dev/null +++ b/recipes-opie/opie-ftp/opie-ftp_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_opieftp.tar.bz2;name=split_noncore_net_opieftp \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_net_opieftp.md5sum] = "5fa54b891a267b9d481d010737c2bfda" +SRC_URI[split_noncore_net_opieftp.sha256sum] = "a52b673538dccbc36d274b7929db4de281a76120887c20f0052b709dd37967b4" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-ftp/opie-ftp_cvs.bb b/recipes-opie/opie-ftp/opie-ftp_cvs.bb new file mode 100644 index 0000000..a796093 --- /dev/null +++ b/recipes-opie/opie-ftp/opie-ftp_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/opieftp \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-ftplib/opie-ftplib.inc b/recipes-opie/opie-ftplib/opie-ftplib.inc new file mode 100644 index 0000000..51a0fed --- /dev/null +++ b/recipes-opie/opie-ftplib/opie-ftplib.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Opie FTP Library" +SECTION = "opie/libs" +PRIORITY = "optional" +LICENSE = "GPL" +I18N_FILES = "libftplib.ts" +APPNAME = "opie-ftplib" + +S = "${WORKDIR}/ftplib" + +inherit opie + +do_install() { + oe_libinstall -so libftplib ${D}${libdir} + install -d ${D}${includedir} + install -m 0664 ${S}/ftplib.h ${D}${includedir} +} diff --git a/recipes-opie/opie-ftplib/opie-ftplib_1.2.5.bb b/recipes-opie/opie-ftplib/opie-ftplib_1.2.5.bb new file mode 100644 index 0000000..1b985d1 --- /dev/null +++ b/recipes-opie/opie-ftplib/opie-ftplib_1.2.5.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_net_ftplib.tar.bz2;name=split_noncore_net_ftplib" +SRC_URI[split_noncore_net_ftplib.md5sum] = "ce39fe4b549eb3a1608a6906b97ffcdd" +SRC_URI[split_noncore_net_ftplib.sha256sum] = "050a973ceac5e1ca8e295fd5ec8321b6002d80a8a4ee5369b62c3c20940a84c8" + +PR = "r1" diff --git a/recipes-opie/opie-ftplib/opie-ftplib_cvs.bb b/recipes-opie/opie-ftplib/opie-ftplib_cvs.bb new file mode 100644 index 0000000..f9cfad7 --- /dev/null +++ b/recipes-opie/opie-ftplib/opie-ftplib_cvs.bb @@ -0,0 +1,5 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/net/ftplib" diff --git a/recipes-opie/opie-go/opie-go.inc b/recipes-opie/opie-go/opie-go.inc new file mode 100644 index 0000000..43f566a --- /dev/null +++ b/recipes-opie/opie-go/opie-go.inc @@ -0,0 +1,17 @@ +DESCRIPTION = "The game of Go" +SECTION = "opie/games" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "go" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES plugins/application/libgo.so* bin/go apps/Games/go.desktop pics/go +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} + diff --git a/recipes-opie/opie-go/opie-go_1.2.5.bb b/recipes-opie/opie-go/opie-go_1.2.5.bb new file mode 100644 index 0000000..72b5931 --- /dev/null +++ b/recipes-opie/opie-go/opie-go_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_games_go.tar.bz2;name=split_noncore_games_go \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_noncore_games_go.md5sum] = "6634e95837bbcac6089587cb18e6f9a0" +SRC_URI[split_noncore_games_go.sha256sum] = "b501beee47ad7330c39bb459fbbf3579cfa4f3f04dd70ed28ec645325cc2f542" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-go/opie-go_cvs.bb b/recipes-opie/opie-go/opie-go_cvs.bb new file mode 100644 index 0000000..870f951 --- /dev/null +++ b/recipes-opie/opie-go/opie-go_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/games/go \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-gutenbrowser/opie-gutenbrowser.inc b/recipes-opie/opie-gutenbrowser/opie-gutenbrowser.inc new file mode 100644 index 0000000..f1bd5f7 --- /dev/null +++ b/recipes-opie/opie-gutenbrowser/opie-gutenbrowser.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Etext reader for the Project Gutenberg." +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "opie-ftplib" +APPNAME = "gutenbrowser" + + +S = "${WORKDIR}/opie-gutenbrowser" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + install -d ${D}${palmtopdir}/etc/gutenbrowser/ + install -m 0644 ${WORKDIR}/etc/gutenbrowser/ftpList ${WORKDIR}/etc/gutenbrowser/GUTINDEX.ALL ${D}${palmtopdir}/etc/gutenbrowser/ +} diff --git a/recipes-opie/opie-gutenbrowser/opie-gutenbrowser_1.2.5.bb b/recipes-opie/opie-gutenbrowser/opie-gutenbrowser_1.2.5.bb new file mode 100644 index 0000000..7b9e78f --- /dev/null +++ b/recipes-opie/opie-gutenbrowser/opie-gutenbrowser_1.2.5.bb @@ -0,0 +1,14 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_apps_opie-gutenbrowser.tar.bz2;name=split_noncore_apps_opie-gutenbrowser \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps \ + http://sources.openembedded.org/opie-1.2.5-split_etc.tar.bz2;name=split_etc" +SRC_URI[split_noncore_apps_opie-gutenbrowser.md5sum] = "fc101ab0eee9b410ef06326d18c0c950" +SRC_URI[split_noncore_apps_opie-gutenbrowser.sha256sum] = "156ac50053f92c7d4a07a582da427dc3a266322824ba615936eaf77a46c685b4" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" +SRC_URI[split_etc.md5sum] = "74ef523ef12e242155bbb745072434d9" +SRC_URI[split_etc.sha256sum] = "eef55ea2248b4f45f3a07beb6012e431dd71d4eefa134d39cc50b4d194c53087" diff --git a/recipes-opie/opie-gutenbrowser/opie-gutenbrowser_cvs.bb b/recipes-opie/opie-gutenbrowser/opie-gutenbrowser_cvs.bb new file mode 100644 index 0000000..4f21450 --- /dev/null +++ b/recipes-opie/opie-gutenbrowser/opie-gutenbrowser_cvs.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/apps/opie-gutenbrowser \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps \ + ${OPIE_GIT};protocol=git;subpath=etc" diff --git a/recipes-opie/opie-handwriting/opie-handwriting.inc b/recipes-opie/opie-handwriting/opie-handwriting.inc new file mode 100644 index 0000000..c4b79cb --- /dev/null +++ b/recipes-opie/opie-handwriting/opie-handwriting.inc @@ -0,0 +1,47 @@ +DESCRIPTION = "Handwriting input method" +SECTION = "opie/inputmethods" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "qhandwriting" + + +S = "${WORKDIR}/handwriting" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + ${bindir}/qcop QPE/TaskBar "reloadInputMethods()" +else + exit 0 +fi + +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +${bindir}/qcop QPE/TaskBar "reloadInputMethods()" +} + +# FILES plugins/inputmethods/libqhandwriting.so* +do_install() { + install -d ${D}${palmtopdir}/etc/qimpen/ + for f in ../qimpen/* + do + [ -f $f ] && install -m 0644 $f ${D}${palmtopdir}/etc/qimpen/ + done +} + +PACKAGES += " opie-handwriting-classicset opie-handwriting-graffitiset " + +FILES_${PN} = "${palmtopdir}/plugins/inputmethods/libqhandwriting.so*" +FILES_opie-handwriting-classicset = "${palmtopdir}/etc/qimpen/default.conf \ + ${palmtopdir}/etc/qimpen/combining.qpt \ + ${palmtopdir}/etc/qimpen/asciilower.qpt \ + ${palmtopdir}/etc/qimpen/asciiupper.qpt \ + ${palmtopdir}/etc/qimpen/numeric.qpt" +FILES_opie-handwriting-graffitiset = "${palmtopdir}/etc/qimpen/graffiti*" + diff --git a/recipes-opie/opie-handwriting/opie-handwriting_1.2.5.bb b/recipes-opie/opie-handwriting/opie-handwriting_1.2.5.bb new file mode 100644 index 0000000..b374311 --- /dev/null +++ b/recipes-opie/opie-handwriting/opie-handwriting_1.2.5.bb @@ -0,0 +1,10 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_inputmethods_handwriting.tar.bz2;name=split_inputmethods_handwriting \ + http://sources.openembedded.org/opie-1.2.5-split_etc_qimpen.tar.bz2;name=split_etc_qimpen" +SRC_URI[split_inputmethods_handwriting.md5sum] = "2ba77c63a71bc0f4a3bddbcc15a1b816" +SRC_URI[split_inputmethods_handwriting.sha256sum] = "9d7e305fd8ccce226a7dde687024641657add23bb7b46d898b6ec7066b6e41f0" +SRC_URI[split_etc_qimpen.md5sum] = "4a95b508202bafcdb204abcbd0dd17d3" +SRC_URI[split_etc_qimpen.sha256sum] = "a9e64ba22c71ef2c3c76a52529f95a01fe172d5f5835906da2ad10da0cd60539" diff --git a/recipes-opie/opie-handwriting/opie-handwriting_cvs.bb b/recipes-opie/opie-handwriting/opie-handwriting_cvs.bb new file mode 100644 index 0000000..a38ec9e --- /dev/null +++ b/recipes-opie/opie-handwriting/opie-handwriting_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" +PR = "r2" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=inputmethods/handwriting \ + ${OPIE_GIT};protocol=git;subpath=etc/qimpen" diff --git a/recipes-opie/opie-help-en/opie-help-en.inc b/recipes-opie/opie-help-en/opie-help-en.inc new file mode 100644 index 0000000..1b110f9 --- /dev/null +++ b/recipes-opie/opie-help-en/opie-help-en.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "Opie Help Packages - English" +SECTION = "opie/help" +PRIORITY = "optional" +LICENSE = "GPL" +ALLOW_EMPTY = "1" +PACKAGE_ARCH = "all" + +PACKAGES += "${PN}" +RDEPENDS_${PN} = "opie-helpbrowser" + +S = "${WORKDIR}/html" + +do_install() { + install -d ${D}${palmtopdir}/help/en/html/ + install -m 0644 ${WORKDIR}/html/*.html ${D}${palmtopdir}/help/en/html/ + for d in $(find . -type d | grep -v "CVS\|patch") + do + install -d ${D}${palmtopdir}/help/en/html/$d + install -m 0644 ${WORKDIR}/html/$d/*.html ${D}${palmtopdir}/help/en/html/$d/ + done +} + +python populate_packages_prepend () { + help_dir = bb.data.expand('${palmtopdir}/help/en/html/', d) + + do_split_packages(d, help_dir, file_regex='^(.*)\.html$', output_pattern='opie-%s-help-en', description='Opie Help for %s - English', aux_files_pattern=help_dir + '%s/*') +} diff --git a/recipes-opie/opie-help-en/opie-help-en_1.2.5.bb b/recipes-opie/opie-help-en/opie-help-en_1.2.5.bb new file mode 100644 index 0000000..36aed0d --- /dev/null +++ b/recipes-opie/opie-help-en/opie-help-en_1.2.5.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PR = "r0" + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_help_en_html.tar.bz2;name=split_help_en_html" +SRC_URI[split_help_en_html.md5sum] = "5ac74b5394fc9afa780f3925862496e3" +SRC_URI[split_help_en_html.sha256sum] = "64c9dd9aa72ea9939ee9176eb80a0b87d58b43bcdb5e652b581de93e52b506dc" diff --git a/recipes-opie/opie-help-en/opie-help-en_cvs.bb b/recipes-opie/opie-help-en/opie-help-en_cvs.bb new file mode 100644 index 0000000..20bcb5d --- /dev/null +++ b/recipes-opie/opie-help-en/opie-help-en_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +OPIE_GIT_PV ?= "1.2.2+cvs${SRCDATE}" +PV = "${OPIE_GIT_PV}" +PR = "r1" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=help/en/html " diff --git a/recipes-opie/opie-helpbrowser/opie-helpbrowser.inc b/recipes-opie/opie-helpbrowser/opie-helpbrowser.inc new file mode 100644 index 0000000..cd3354c --- /dev/null +++ b/recipes-opie/opie-helpbrowser/opie-helpbrowser.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Opie Help Browser" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "helpbrowser" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} diff --git a/recipes-opie/opie-helpbrowser/opie-helpbrowser_1.2.5.bb b/recipes-opie/opie-helpbrowser/opie-helpbrowser_1.2.5.bb new file mode 100644 index 0000000..1001418 --- /dev/null +++ b/recipes-opie/opie-helpbrowser/opie-helpbrowser_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_apps_${APPNAME}.tar.bz2;name=split_core_apps_appname \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_apps_appname.md5sum] = "28a79d0c8a26a2397173031ad7e2173f" +SRC_URI[split_core_apps_appname.sha256sum] = "4ec7e56bc8264c33795ffaa666b3fa20b8b60a824c0bf15ce5e461b2227c7233" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-helpbrowser/opie-helpbrowser_cvs.bb b/recipes-opie/opie-helpbrowser/opie-helpbrowser_cvs.bb new file mode 100644 index 0000000..3b6e748 --- /dev/null +++ b/recipes-opie/opie-helpbrowser/opie-helpbrowser_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/apps/${APPNAME} \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-homeapplet/opie-homeapplet.inc b/recipes-opie/opie-homeapplet/opie-homeapplet.inc new file mode 100644 index 0000000..4e98952 --- /dev/null +++ b/recipes-opie/opie-homeapplet/opie-homeapplet.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Home Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "homeapplet" + + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +# FILES +do_install() { +} + diff --git a/recipes-opie/opie-homeapplet/opie-homeapplet_1.2.5.bb b/recipes-opie/opie-homeapplet/opie-homeapplet_1.2.5.bb new file mode 100644 index 0000000..c0dada9 --- /dev/null +++ b/recipes-opie/opie-homeapplet/opie-homeapplet_1.2.5.bb @@ -0,0 +1,11 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_core_applets_homeapplet.tar.bz2;name=split_core_applets_homeapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \ + http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps" +SRC_URI[split_core_applets_homeapplet.md5sum] = "58ffe58467a757f36aa06dc1ac7c5264" +SRC_URI[split_core_applets_homeapplet.sha256sum] = "fa4983c2cb651157affb05031680278861b1dfef310a7ede07a731428bf1a3f2" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" +SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73" +SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a" diff --git a/recipes-opie/opie-homeapplet/opie-homeapplet_cvs.bb b/recipes-opie/opie-homeapplet/opie-homeapplet_cvs.bb new file mode 100644 index 0000000..3aeaeda --- /dev/null +++ b/recipes-opie/opie-homeapplet/opie-homeapplet_cvs.bb @@ -0,0 +1,7 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=core/applets/homeapplet \ + ${OPIE_GIT};protocol=git;subpath=pics \ + ${OPIE_GIT};protocol=git;subpath=apps" diff --git a/recipes-opie/opie-i18n/opie-i18n.inc b/recipes-opie/opie-i18n/opie-i18n.inc new file mode 100644 index 0000000..fd39583 --- /dev/null +++ b/recipes-opie/opie-i18n/opie-i18n.inc @@ -0,0 +1,94 @@ +DESCRIPTION = "Opie i18n files" +SECTION = "opie/base" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "opie-lrelease-native" + + +S = "${WORKDIR}/i18n" + +do_compile() { + for f in ?? ??_?? + do + cd ${S}/$f + for g in *.ts + do + opie-lrelease $g + done + done +} + +do_install() { + install -d ${D}${palmtopdir}/i18n/ + install -d ${D}${palmtopdir}/etc/dict/ + for f in ?? ??_?? + do + echo Installing language $f + install -d ${D}${palmtopdir}/i18n/$f/ + install -m 0644 $f/.directory ${D}${palmtopdir}/i18n/$f/ + install -m 0644 $f/*.qm ${D}${palmtopdir}/i18n/$f/ + if [ -e ${WORKDIR}/dict/dawg.$f ] + then + install -m 0644 ${WORKDIR}/dict/dawg.$f ${D}${palmtopdir}/etc/dict/ + fi + install -m 0644 ${WORKDIR}/dict/dawg ${D}${palmtopdir}/etc/dict/ + done +} + +ALLOW_EMPTY_${PN} = "1" +PACKAGES = "${PN}-dbg ${PN} opie-i18n-cz opie-i18n-da opie-i18n-de opie-i18n-dk opie-i18n-en opie-i18n-es \ +opie-i18n-fr opie-i18n-hu opie-i18n-it opie-i18n-ja opie-i18n-ko opie-i18n-lv opie-i18n-mk \ +opie-i18n-nl opie-i18n-no opie-i18n-pl opie-i18n-pt opie-i18n-pt-br opie-i18n-ru opie-i18n-sl \ +opie-i18n-xx opie-i18n-zh-cn opie-i18n-zh-tw \ +opie-dict-cz opie-dict-da opie-dict-de opie-dict-dk opie-dict-en opie-dict-es \ +opie-dict-fr opie-dict-hu opie-dict-it opie-dict-ja opie-dict-ko opie-dict-lv opie-dict-mk \ +opie-dict-nl opie-dict-no opie-dict-pl opie-dict-pt opie-dict-pt-br opie-dict-ru opie-dict-sl \ +opie-dict-xx opie-dict-zh-cn opie-dict-zh-tw " + +FILES_opie-dict-cz = "${palmtopdir}/etc/dict/dawg.cz" +FILES_opie-dict-da = "${palmtopdir}/etc/dict/dawg.da" +FILES_opie-dict-de = "${palmtopdir}/etc/dict/dawg.de" +FILES_opie-dict-dk = "${palmtopdir}/etc/dict/dawg.dk" +FILES_opie-dict-en = "${palmtopdir}/etc/dict/dawg" +FILES_opie-dict-es = "${palmtopdir}/etc/dict/dawg.es" +FILES_opie-dict-fr = "${palmtopdir}/etc/dict/dawg.fr" +FILES_opie-dict-hu = "${palmtopdir}/etc/dict/dawg.hu" +FILES_opie-dict-it = "${palmtopdir}/etc/dict/dawg.it" +FILES_opie-dict-ja = "${palmtopdir}/etc/dict/dawg.ja" +FILES_opie-dict-ko = "${palmtopdir}/etc/dict/dawg.ko" +FILES_opie-dict-lv = "${palmtopdir}/etc/dict/dawg.lv" +FILES_opie-dict-mk = "${palmtopdir}/etc/dict/dawg.mk" +FILES_opie-dict-nl = "${palmtopdir}/etc/dict/dawg.nl" +FILES_opie-dict-no = "${palmtopdir}/etc/dict/dawg.no" +FILES_opie-dict-pl = "${palmtopdir}/etc/dict/dawg.pl" +FILES_opie-dict-pt-br = "${palmtopdir}/etc/dict/dawg.pt_BR" +FILES_opie-dict-pt = "${palmtopdir}/etc/dict/dawg.pt" +FILES_opie-dict-ru = "${palmtopdir}/etc/dict/dawg.ru" +FILES_opie-dict-sl = "${palmtopdir}/etc/dict/dawg.sl" +FILES_opie-dict-xx = "${palmtopdir}/etc/dict/dawg.xx" +FILES_opie-dict-zh-cn = "${palmtopdir}/etc/dict/dawg.zh_CN" +FILES_opie-dict-zh-tw = "${palmtopdir}/etc/dict/dawg.zh_TW" + +FILES_opie-i18n-cz = "${palmtopdir}/i18n/cz" +FILES_opie-i18n-da = "${palmtopdir}/i18n/da" +FILES_opie-i18n-de = "${palmtopdir}/i18n/de" +FILES_opie-i18n-dk = "${palmtopdir}/i18n/dk" +FILES_opie-i18n-en = "${palmtopdir}/i18n/en" +FILES_opie-i18n-es = "${palmtopdir}/i18n/es" +FILES_opie-i18n-fr = "${palmtopdir}/i18n/fr" +FILES_opie-i18n-hu = "${palmtopdir}/i18n/hu" +FILES_opie-i18n-it = "${palmtopdir}/i18n/it" +FILES_opie-i18n-ja = "${palmtopdir}/i18n/ja" |