Skip to contentSkip to conversation

qwt-qt5: rewrite completely

PATCH In review Andreas Müller 2 participants 4 messages Nov 30, 2017 – Jan 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qwt-qt5: rewrite completely

* install pkgconfig
* fix examples
* DESCRIPTION -> SUMMARY
* overall cleanup

---
 recipes-qt/qwt/qwt-qt5.inc                         | 48 ---------------
 ...h-from-binaries-they-point-to-buuild-area.patch | 69 ++++++++++++++++++++++
 recipes-qt/qwt/qwt-qt5/remove_rpath.patch          | 17 ------
 recipes-qt/qwt/qwt-qt5_6.1.3.bb                    | 45 +++++++++++++-
 4 files changed, 112 insertions(+), 67 deletions(-)
 delete mode 100644 recipes-qt/qwt/qwt-qt5.inc
 create mode 100644 recipes-qt/qwt/qwt-qt5/0001-Remove-rpath-from-binaries-they-point-to-buuild-area.patch
 delete mode 100644 recipes-qt/qwt/qwt-qt5/remove_rpath.patch
recipes-qt/qwt/qwt-qt5.inc deleted +0 -48
deleted file mode 100644
index f3ece39..0000000
@@ -1,48 +0,0 @@
-DESCRIPTION = "Qt Widget Extension for Technical Applications"
-SECTION = "libs"
-
-# LGPLv2.1 + some exceptions
-LICENSE = "QWTv1.0"
-LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
-
-DEPENDS = "qtbase qtsvg qttools"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \
-           file://remove_rpath.patch \
-          "
-
-S = "${WORKDIR}/qwt-${PV}"
-
-do_configure_prepend() {
-    cd ${S}
-    sed -i -e 's:RELEASE_SUFFIX      = :RELEASE_SUFFIX      = ${QT_LIBINFIX}:' *.pri
-    sed -i -e 's:qtAddLibrary(qwt:qtAddLibrary(qwt)${QT_LIBINFIX}:g' *.prf
-    sed -e 's/# QWT_CONFIG     += QwtExamples/QWT_CONFIG     += QwtExamples/g' -i qwtconfig.pri
-    sed -i -e 's:/usr/local/qwt-$$QWT_VERSION:${D}${prefix}:g' ${S}/*.pri
-}
-
-do_install() {
-    cd ${S}
-    oe_runmake -e install
-#    install -d ${D}${datadir}/doc/${PN}
-#    mv ${D}${prefix}/doc/* ${D}${datadir}/doc/${PN}/
-#    rmdir ${D}${prefix}/doc
-#    cd ${S}/examples
-#    install -d ${D}/${bindir}
-#    cd bin${QT_LIBINFIX}/
-#    for i in * ; do
-#        cp -pPR ${i} ${D}/${bindir}/${i}${QT_LIBINFIX}
-#    done
-#    install -d ${D}${libdir}/${QT_DIR_NAME}
-#    mv ${D}${prefix}/plugins ${D}${libdir}/${QT_DIR_NAME}
-}
-
-PACKAGES_prepend = "${PN}-examples ${PN}-features ${PN}-plugins "
-FILES_${PN}-examples = "${bindir}/*"
-FILES_${PN}-features = "${prefix}/features"
-FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so"
-FILES_${PN}-dbg += "${prefix}/plugins/designer/.debug"
-FILES_${PN}-doc += "${prefix}/doc"
-
-INSANE_SKIP_${PN}-plugins += "libdir"
-INSANE_SKIP_${PN}-dbg += "libdir"
recipes-qt/qwt/qwt-qt5/0001-Remove-rpath-from-binaries-they-point-to-buuild-area.patch new file +69 -0

69 lines not on this page · raw message

recipes-qt/qwt/qwt-qt5/remove_rpath.patch deleted +0 -17
deleted file mode 100644
index 14b65d6..0000000
@@ -1,17 +0,0 @@
-Remove rpath from library, it points to build area which is not
-ok
-
-Signed-off-by: Khem Raj <[email protected]>
-
-Index: qwt-6.1.3/designer/designer.pro
-===================================================================
---- qwt-6.1.3.orig/designer/designer.pro
-+++ qwt-6.1.3/designer/designer.pro
-@@ -83,7 +83,6 @@ contains(QWT_CONFIG, QwtDesigner) {
-         # compile the path for finding the Qwt library
-         # into the plugin. Not supported on Windows !
- 
--        QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
-         qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt)
- 
-         contains(QWT_CONFIG, QwtDll) {
recipes-qt/qwt/qwt-qt5_6.1.3.bb +43 -2

51 lines not on this page · raw message

Signature · 1 line
2.9.5
#1 lore raw
Quoted 19 lines · Andreas Müller

* install pkgconfig
* fix examples
* DESCRIPTION -> SUMMARY
* overall cleanup

---
 recipes-qt/qwt/qwt-qt5.inc                         | 48 ---------------
 ...h-from-binaries-they-point-to-buuild-area.patch | 69
++++++++++++++++++++++
 recipes-qt/qwt/qwt-qt5/remove_rpath.patch          | 17 ------
 recipes-qt/qwt/qwt-qt5_6.1.3.bb                    | 45 +++++++++++++-
 4 files changed, 112 insertions(+), 67 deletions(-)
 delete mode 100644 recipes-qt/qwt/qwt-qt5.inc
 create mode 100644 recipes-qt/qwt/qwt-qt5/0001-
Remove-rpath-from-binaries-they-point-to-buuild-area.patch
 delete mode 100644 recipes-qt/qwt/qwt-qt5/remove_rpath.patch

ping?

#3 lore raw

I don't have problem with that, but I don't use qwt-qt5 anywhere so I'll let other to test it in master for a bit later.

Maybe send the patch for rocko, so that more people might notice that it will land there.

Regards,

Quoted 20 lines · Andreas Müller
Quoted 7 lines · Andreas Müller

* install pkgconfig
* fix examples
* DESCRIPTION -> SUMMARY
* overall cleanup

Is it possible to get this into rocko?

Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel