[oe-commits] Tom Rini : qscintilla 1.65-gpl-1.6: Rework no-external-lexers.patch
git version control
git at git.openembedded.org
Mon Apr 25 16:48:27 UTC 2011
Module: openembedded.git
Branch: 2011.03-maintenance
Commit: ad6ec651e351f7b400009ab904574b7e3f18347a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ad6ec651e351f7b400009ab904574b7e3f18347a
Author: Tom Rini <tom_rini at mentor.com>
Date: Wed Mar 16 11:30:12 2011 -0700
qscintilla 1.65-gpl-1.6: Rework no-external-lexers.patch
Also drop do_stage and update do_install while in here.
Signed-off-by: Tom Rini <tom_rini at mentor.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
recipes/qscintilla/files/no-external-lexers.patch | 5 ++---
recipes/qscintilla/qscintilla_1.65-gpl-1.6.bb | 12 ++++++------
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/recipes/qscintilla/files/no-external-lexers.patch b/recipes/qscintilla/files/no-external-lexers.patch
index 5953043..0214a53 100644
--- a/recipes/qscintilla/files/no-external-lexers.patch
+++ b/recipes/qscintilla/files/no-external-lexers.patch
@@ -1,10 +1,9 @@
-
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
---- ../src/ExternalLexer.cpp~no-external-lexers
-+++ ../src/ExternalLexer.cpp
+--- src/ExternalLexer.cpp~no-external-lexers
++++ src/ExternalLexer.cpp
@@ -110,7 +110,7 @@
// Initialise some members...
first = NULL;
diff --git a/recipes/qscintilla/qscintilla_1.65-gpl-1.6.bb b/recipes/qscintilla/qscintilla_1.65-gpl-1.6.bb
index cfed35c..a88bf37 100644
--- a/recipes/qscintilla/qscintilla_1.65-gpl-1.6.bb
+++ b/recipes/qscintilla/qscintilla_1.65-gpl-1.6.bb
@@ -1,10 +1,10 @@
DESCRIPTION = "Qt/Embedded bindings for the Scintilla source code editor component"
SECTION = "opie/libs"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.mneuroth.de/privat/zaurus/qscintilla-${PV}_zaurus.tar.gz \
- file://no-external-lexers.patch;striplevel=0"
+ file://no-external-lexers.patch;apply=false"
S = "${WORKDIR}/qscintilla-${PV}/qt"
@@ -22,14 +22,14 @@ EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${S}/patches \
PARALLEL_MAKE = ""
-do_stage() {
- install -m 0644 qextscintilla*.h ${STAGING_INCDIR}/
- oe_libinstall -so libqscintilla ${STAGING_LIBDIR}
+do_configure_prepend() {
+ (cd .. ; patch -p0 -i ${WORKDIR}/no-external-lexers.patch)
}
do_install() {
- install -d ${D}${libdir}
+ install -d ${D}${libdir} ${D}${includedir}
oe_libinstall -so libqscintilla ${D}${libdir}
+ install -m 0644 qextscintilla*.h ${D}${includedir}/
}
FILES_${PN} = "${libdir}"
More information about the Openembedded-commits
mailing list