diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-04-06 22:39:32 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-06 22:39:32 +0000 |
commit | 6c97f56d28872da36cc0cc52631668985d8db22a (patch) | |
tree | 3957d53afc5c22540dedd5c61af13b28149a5b55 /packages/konqueror | |
parent | 3bcd16909c945940017ded43f94652f1a7acf2f5 (diff) | |
parent | 254167bc41a3aae1c45a5f769ec16dee2dd37e2e (diff) |
merge of 5945a66a6847c21d25595376695c23f3971f6f8a
and e544df2d6779a2a53f1c47a6d1e1961d875d17af
Diffstat (limited to 'packages/konqueror')
-rw-r--r-- | packages/konqueror/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/konqueror/files/inject-extraflags.patch | 16 | ||||
-rw-r--r-- | packages/konqueror/konqueror-embedded-20030705/packing.patch | 14 | ||||
-rw-r--r-- | packages/konqueror/konqueror-embedded_20030705.bb | 3 | ||||
-rw-r--r-- | packages/konqueror/konqueror-embedded_svn.bb | 79 |
5 files changed, 106 insertions, 6 deletions
diff --git a/packages/konqueror/files/.mtn2git_empty b/packages/konqueror/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/konqueror/files/.mtn2git_empty diff --git a/packages/konqueror/files/inject-extraflags.patch b/packages/konqueror/files/inject-extraflags.patch new file mode 100644 index 0000000000..1b8b02d175 --- /dev/null +++ b/packages/konqueror/files/inject-extraflags.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- kdenox/konq-embed/src/Makefile.am~fixit ++++ kdenox/konq-embed/src/Makefile.am +@@ -49,7 +49,7 @@ + $(top_builddir)/konq-embed/kdesrc/kssl/libkssl.la + + +-konqueror_LDFLAGS = $(KONQ_SSL_LDFLAGS) $(all_libraries) -export-dynamic ++konqueror_LDFLAGS = $(KONQ_SSL_LDFLAGS) $(all_libraries) -export-dynamic $(EXTRA_LDFLAGS) + konqueror_METASOURCES = AUTO + konqueror_DEPENDENCIES = $(LIB_KJSHTML) $(LIB_KHTML) $(LIB_ADDONS) + BUILT_SOURCES = init.inc diff --git a/packages/konqueror/konqueror-embedded-20030705/packing.patch b/packages/konqueror/konqueror-embedded-20030705/packing.patch index 37a3754854..be3f362c03 100644 --- a/packages/konqueror/konqueror-embedded-20030705/packing.patch +++ b/packages/konqueror/konqueror-embedded-20030705/packing.patch @@ -1,17 +1,21 @@ -diff -ur konqe.old/konq-embed/kdesrc/kjs/ustring.h konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h ---- konqe.old/konq-embed/kdesrc/kjs/ustring.h 2001-07-28 17:32:15.000000000 +0200 -+++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h 2004-08-22 21:30:04.000000000 +0200 + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h~packing.patch ++++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kjs/ustring.h @@ -154,11 +154,11 @@ /** * @return Lower byte. */ - unsigned char& low() const { return ref().lo; } -+ unsigned char& low() const { return *(&ref().lo); } ++ unsigned char& low() const { return *((unsigned char*)&ref().lo); } /** * @return Higher byte. */ - unsigned char& high() const { return ref().hi; } -+ unsigned char& high() const { return *(&ref().hi); } ++ unsigned char& high() const { return *((unsigned char*)&ref().hi); } /** * @return Character converted to lower case. */ diff --git a/packages/konqueror/konqueror-embedded_20030705.bb b/packages/konqueror/konqueror-embedded_20030705.bb index 7bfd88568c..5bdc4ed765 100644 --- a/packages/konqueror/konqueror-embedded_20030705.bb +++ b/packages/konqueror/konqueror-embedded_20030705.bb @@ -1,9 +1,10 @@ DESCRIPTION = "KDE Web Browser Konqueror, QtE based Palmtop Environments Edition" +HOMEPAGE = "http://www.konqueror.org/embedded" SECTION = "opie/applications" PRIORITY = "optional" DEPENDS = "libqpe-opie openssl pcre" LICENSE = "LGPL/GPL" -PR = "r4" +PR = "r5" # Note if this .bb files fails with the error: # "No rule to make target `-lpcre', needed by `konqueror'. Stop." diff --git a/packages/konqueror/konqueror-embedded_svn.bb b/packages/konqueror/konqueror-embedded_svn.bb new file mode 100644 index 0000000000..f032b9b587 --- /dev/null +++ b/packages/konqueror/konqueror-embedded_svn.bb @@ -0,0 +1,79 @@ +DESCRIPTION = "KDE Web Browser Konqueror, QtE based Palmtop Environments Edition" +SECTION = "opie/applications" +PRIORITY = "optional" +HOMEPAGE = "http://www.konqueror.org/" +DEPENDS = "openssl pcre libqte-mt-static dcopidl-native" +LICENSE = "LGPL/GPL" +DEFAULT_PREFERENCE = "-1" +FILES_${PN} = "${palmtopdir} /usr/share" +PR = "r1" +PV = "3.5.1+svn${SRCDATE}" + +# this Konqueror needs the KDEDIR set and the font helvetica installed on the target + +inherit autotools + +SRC_URI = "svn://anonsvn.kde.org/home/kde/tags/KDE/3.5.1;module=kdelibs \ + svn://anonsvn.kde.org/home/kde/trunk;module=kdenox \ + file://inject-extraflags.patch;patch=1" + +S = "${WORKDIR}/kdenox" + +export QMAKE = "${STAGING_BINDIR}/qmake" +export MOC = "${STAGING_BINDIR}/moc" +export UIC = "${STAGING_BINDIR}/uic" +export exec_prefix = "${palmtopdir}" +export CXXFLAGS = "-fexceptions -frtti -DKJS_VERBOSE=1 -DQT_THREAD_SUPPORT -DQ_OS_UNIX -DQT_NO_DOM -DENABLE_BOOKMARKS" +export PCRE_CONFIG = "invalid" +EXTRAFLAGS = "-lts" +EXTRAFLAGS_c7x0 = "-lts -laticore" +export EXTRA_OEMAKE = "EXTRA_LDFLAGS='${EXTRAFLAGS}'" + +EXTRA_OECONF = '--prefix=${palmtopdir} \ + --exec-prefix=${palmtopdir} \ + --includedir=${STAGING_INCDIR} \ + --with-extra-includes=${STAGING_INCDIR} \ + --with-extra-libs=${STAGING_LIBDIR} \ + --with-ssl-version=0.9.7e \ + --with-ssl-dir=${STAGING_LIBDIR}/.. \ + --with-qt-includes=${STAGING_DIR}/${HOST_SYS}/qt2/include \ + --with-qt-libraries=${STAGING_DIR}/${HOST_SYS}/qt2/lib \ + --enable-fontsubs \ + --with-konq-tmp-prefix=/tmp/kde-cache \ + --enable-static \ +# --disable-static \ +# --enable-shared \ + --disable-debug \ + --with-gui=road \ + --with-ipv6-lookup=no \ + --without-xinerama \ + --disable-scrollbars \ + --disable-selection \ + --disable-bookmarks \ + --with-javascript=static \ + --enable-debug=yes \ + --disable-printing \ + --enable-pcre \ + --without-arts \ + --enable-jshostext \ + --disable-selection \ + --enable-final \ + --enable-qt-embedded \ + --enable-rtti-embedded \ + --enable-mt \ + --enable-qt-mt\ + --enable-fwnewepg=yes \ + --enable-embedded ' + +do_configure_prepend() { + cd ${S} + if ! test -L admin + then + ln -s ../kdelibs/admin admin + fi + make -f Makefile.cvs +} + +do_compile_prepend() { + perl admin/am_edit +} |