From e133b6e71fc3d08727749cc92a5ed37bbece4353 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 27 Dec 2009 05:00:26 +0000 Subject: Build development versions of Opie from git instead of CVS. Note that this change requires a version of BitBake with the "git subpath" patch applied. Signed-off-by: Paul Eggleton --- recipes/libqpe/libqpe-opie/unbreak-logging-2.patch | 21 +++++++++++++++++++++ recipes/libqpe/libqpe-opie_cvs.bb | 12 +++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 recipes/libqpe/libqpe-opie/unbreak-logging-2.patch (limited to 'recipes/libqpe') diff --git a/recipes/libqpe/libqpe-opie/unbreak-logging-2.patch b/recipes/libqpe/libqpe-opie/unbreak-logging-2.patch new file mode 100644 index 0000000000..fe4bb88969 --- /dev/null +++ b/recipes/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/libqpe/libqpe-opie_cvs.bb b/recipes/libqpe/libqpe-opie_cvs.bb index 6ba11ce6f4..fda7ef0df1 100644 --- a/recipes/libqpe/libqpe-opie_cvs.bb +++ b/recipes/libqpe/libqpe-opie_cvs.bb @@ -1,15 +1,17 @@ require ${PN}.inc -# OPIE_CVS_PV is defined in opie.bbclass +# OPIE_GIT_PV is defined in opie.bbclass # but this recipe does not inherit opie -# so any updates to OPIE_CVS_PV should happen +# so any updates to OPIE_GIT_PV should happen # in both places. -OPIE_CVS_PV ?= "1.2.2+cvs${SRCDATE}" -PV = "${OPIE_CVS_PV}" +OPIE_GIT_PV ?= "1.2.2+cvs${SRCDATE}" +PV = "${OPIE_GIT_PV}" PR = "${INC_PR}.0" -SRC_URI = "${HANDHELDS_CVS};module=opie/library \ +DEPENDS += " sysfsutils" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=library \ file://fix-titleheight.patch \ file://unbreak-logging.patch \ file://citytime-path-2.patch \ -- cgit 1.2.3-korg