From 195155f18b2298eda12ca3eacc828f8229e012d5 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 4 May 2006 13:56:00 +0000 Subject: qscintilla 1.65: add patch to remove bogus DynLibrary use when built against Qt/Embedded --- packages/qscintilla/files/.mtn2git_empty | 0 packages/qscintilla/files/no-external-lexers.patch | 24 ++++++++++++++++++++++ packages/qscintilla/qscintilla_1.65-gpl-1.6.bb | 14 ++++++++++--- 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 packages/qscintilla/files/.mtn2git_empty create mode 100644 packages/qscintilla/files/no-external-lexers.patch (limited to 'packages') diff --git a/packages/qscintilla/files/.mtn2git_empty b/packages/qscintilla/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/qscintilla/files/no-external-lexers.patch b/packages/qscintilla/files/no-external-lexers.patch new file mode 100644 index 0000000000..5953043190 --- /dev/null +++ b/packages/qscintilla/files/no-external-lexers.patch @@ -0,0 +1,24 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- ../src/ExternalLexer.cpp~no-external-lexers ++++ ../src/ExternalLexer.cpp +@@ -110,7 +110,7 @@ + // Initialise some members... + first = NULL; + last = NULL; +- ++#ifndef ZPATCH + // Load the DLL + lib = DynamicLibrary::Load(ModuleName); + if (lib->IsValid()) { +@@ -155,6 +155,7 @@ + } + } + } ++#endif + next = NULL; + } + diff --git a/packages/qscintilla/qscintilla_1.65-gpl-1.6.bb b/packages/qscintilla/qscintilla_1.65-gpl-1.6.bb index a313d8c73e..1620ef62c5 100644 --- a/packages/qscintilla/qscintilla_1.65-gpl-1.6.bb +++ b/packages/qscintilla/qscintilla_1.65-gpl-1.6.bb @@ -4,7 +4,8 @@ MAINTAINER = "Michael 'Mickey' Lauer " LICENSE = "GPL" PR = "r0" -SRC_URI = "http://www.mneuroth.de/privat/zaurus/qscintilla-${PV}_zaurus.tar.gz" +SRC_URI = "http://www.mneuroth.de/privat/zaurus/qscintilla-${PV}_zaurus.tar.gz \ + file://no-external-lexers.patch;patch=1;pnum=0" S = "${WORKDIR}/qscintilla-${PV}/qt" @@ -12,7 +13,8 @@ inherit opie QMAKE_PROFILES = "qscintilla.pro" -EXTRA_QMAKEVARS_POST += " CONFIG-=thread INCLUDEPATH+=${S}/patches DEFINES+=ZPATCH \ +EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${S}/patches \ + DEFINES+=ZPATCH DEFINES+=ZAURUS \ HEADERS-=qextscintillaprinter.h \ SOURCES-=qextscintillaprinter.cpp \ SOURCES+=patches/qsettings.cpp \ @@ -21,8 +23,14 @@ EXTRA_QMAKEVARS_POST += " CONFIG-=thread INCLUDEPATH+=${S}/patches DEFINES+=ZPAT PARALLEL_MAKE = "" - do_stage() { install -m 0644 qextscintilla*.h ${STAGING_INCDIR}/ oe_libinstall -so libqscintilla ${STAGING_LIBDIR} } + +do_install() { + install -d ${D}${libdir} + oe_libinstall -so libqscintilla ${D}${libdir} +} + +FILES_${PN} = "${libdir}" -- cgit v1.2.3