diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-15 22:53:04 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-18 22:41:32 +0100 |
commit | 84beceb7019937b2ebd99a484fa920e2750c6b50 (patch) | |
tree | f488dcc046ac343546cb3a972805f7ef52239202 /x11-libs | |
parent | profiles: Mask x11-libs/qwtpolar for removal (diff) | |
download | gentoo-84beceb7019937b2ebd99a484fa920e2750c6b50.tar.gz gentoo-84beceb7019937b2ebd99a484fa920e2750c6b50.tar.bz2 gentoo-84beceb7019937b2ebd99a484fa920e2750c6b50.zip |
x11-libs/qwt: drop 6.1.5
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/qwt/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/qwt/files/qwt-6.0.2-invalid-read.patch | 250 | ||||
-rw-r--r-- | x11-libs/qwt/files/qwt-6.1.1-pc-destdir.patch | 15 | ||||
-rw-r--r-- | x11-libs/qwt/metadata.xml | 1 | ||||
-rw-r--r-- | x11-libs/qwt/qwt-6.1.5.ebuild | 129 |
5 files changed, 0 insertions, 396 deletions
diff --git a/x11-libs/qwt/Manifest b/x11-libs/qwt/Manifest index fd565656c1d5..f6de14cac549 100644 --- a/x11-libs/qwt/Manifest +++ b/x11-libs/qwt/Manifest @@ -1,3 +1,2 @@ DIST qwt-5.2.3_p20210828.tar.gz 2324516 BLAKE2B f86ee55dab0e70bb255f90384ee920985d71ff998aa74bb087c2bd7bf3cdc23034786bce0d4e652dd4a7b1551719e4723de6689c76500e5f618838f40f7ca838 SHA512 c5eb64593a476d9ff1ec6c16593896bf3b90738a17775bd8186ffc7f86911ae0b91ceb8e7c1736329e9871fd9e1e5653a85df0a4cdb780a1f2f993f33ee07f62 -DIST qwt-6.1.5.tar.bz2 4408268 BLAKE2B 5f42e0cfc95a7dade8e376438234abded91390b52a793eba6aef21027379f12ab2441fd80121e05c1fba13ac1b526bb6c1a6c0e8442c87cb06dcf2c520269373 SHA512 0dd1a8278751f0bb26e33ccbf120a20e406109a440d314e4525ce9a2d6f1fc56dccff2dc11c500fe2cfcbd42f4a641e87a231f93f321edc588d9353ffaccbd22 DIST qwt-6.2.0.tar.bz2 4815773 BLAKE2B 30011de7ef9b555584644ccb0994bfe56af2d7efe16690b236aa1aa0860a4408800fbd31003fd7a7a0ddf8572f573b4d0ff77069f291cd2858b31a2840952b3b SHA512 d992f9dddb09ad0e1d09e23a24a9331c950ca19a413d2627cf423e1ddc2a4ad4eb951646f789e8c7a9ab42668c30d7108071f3f8bbd8e1f4118cadb67c34939d diff --git a/x11-libs/qwt/files/qwt-6.0.2-invalid-read.patch b/x11-libs/qwt/files/qwt-6.0.2-invalid-read.patch deleted file mode 100644 index a225350990a0..000000000000 --- a/x11-libs/qwt/files/qwt-6.0.2-invalid-read.patch +++ /dev/null @@ -1,250 +0,0 @@ ---- qwt-6.0.2-orig/textengines/mathml/qwt_mml_document.cpp 2012-12-01 00:22:46.752106265 +1100 -+++ qwt-6.0.2/textengines/mathml/qwt_mml_document.cpp 2013-01-31 14:29:30.590197611 +1100 -@@ -4421,7 +4421,10 @@ - if ( ok ) - return value; - else -- qWarning( "Could not convert %s to form", value_str.toLatin1().data() ); -+ { -+ QByteArray value_str_ba = value_str.toLatin1(); -+ qWarning( "Could not convert %s to form", value_str_ba.data() ); -+ } - - } - -@@ -4658,7 +4661,10 @@ - continue; - } - else -- qWarning( "MmlMtableNode::layoutSymbol(): could not parse value %s%%", value.toLatin1().data() ); -+ { -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "MmlMtableNode::layoutSymbol(): could not parse value %s%%", value_ba.data() ); -+ } - } - - // Relatively sized column, but we failed to parse the factor. Treat is like an auto -@@ -5167,7 +5173,8 @@ - double factor = factor_str.toFloat( &float_ok ); - if ( !float_ok || factor < 0 ) - { -- qWarning( "MmlMpaddedNode::interpretSpacing(): could not parse \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "MmlMpaddedNode::interpretSpacing(): could not parse \"%s\"", value_ba.data() ); - return 0; - } - -@@ -5196,7 +5203,8 @@ - unit_size = QwtMmlNode::interpretSpacing( "1" + pseudo_unit, &unit_ok ); - if ( !unit_ok ) - { -- qWarning( "MmlMpaddedNode::interpretSpacing(): could not parse \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "MmlMpaddedNode::interpretSpacing(): could not parse \"%s\"", value_ba.data() ); - return 0; - } - } -@@ -5368,7 +5376,8 @@ - return ( int )( em * factor ); - else - { -- qWarning( "interpretSpacing(): could not parse \"%sem\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%sem\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5384,7 +5393,8 @@ - return ( int )( ex * factor ); - else - { -- qWarning( "interpretSpacing(): could not parse \"%sex\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%sex\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5406,7 +5416,8 @@ - } - else - { -- qWarning( "interpretSpacing(): could not parse \"%scm\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%scm\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5428,7 +5439,8 @@ - } - else - { -- qWarning( "interpretSpacing(): could not parse \"%smm\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%smm\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5450,7 +5462,8 @@ - } - else - { -- qWarning( "interpretSpacing(): could not parse \"%sin\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%sin\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5466,7 +5479,8 @@ - return i; - else - { -- qWarning( "interpretSpacing(): could not parse \"%spx\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%spx\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5478,7 +5492,8 @@ - if ( float_ok && i >= 0 ) - return i; - -- qWarning( "interpretSpacing(): could not parse \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretSpacing(): could not parse \"%s\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5503,7 +5518,8 @@ - return ( int )( base * factor / 100.0 ); - } - -- qWarning( "interpretPercentSpacing(): could not parse \"%s%%\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretPercentSpacing(): could not parse \"%s%%\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5528,7 +5544,8 @@ - return pt_size; - } - -- qWarning( "interpretPointSize(): could not parse \"%spt\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretPointSize(): could not parse \"%spt\"", value_ba.data() ); - if ( ok != 0 ) - *ok = false; - return 0; -@@ -5737,7 +5754,8 @@ - */ - static const QwtMmlOperSpec *searchOperSpecData( const QString &name ) - { -- const char *name_latin1 = name.toLatin1().data(); -+ QByteArray name_latin1_ba = name.toLatin1(); -+ const char *name_latin1 = name_latin1_ba.data(); - - // binary search - // establish invariant g_oper_spec_data[begin].name < name < g_oper_spec_data[end].name -@@ -5789,7 +5807,8 @@ - if ( spec == 0 ) - continue; - -- const char *name_latin1 = name.toLatin1().data(); -+ QByteArray name_ba = name.toLatin1(); -+ const char *name_latin1 = name_ba.data(); - - // backtrack to the first instance of name - while ( spec > g_oper_spec_data && qstrcmp( ( spec - 1 )->name, name_latin1 ) == 0 ) -@@ -5918,7 +5937,8 @@ - if ( ok != 0 ) - *ok = false; - -- qWarning( "interpretMathVariant(): could not parse value: \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretMathVariant(): could not parse value: \"%s\"", value_ba.data() ); - - return QwtMml::NormalMV; - } -@@ -5938,7 +5958,8 @@ - if ( ok != 0 ) - *ok = false; - -- qWarning( "interpretForm(): could not parse value \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretForm(): could not parse value \"%s\"", value_ba.data() ); - return QwtMml::InfixForm; - } - -@@ -5959,7 +5980,8 @@ - if ( ok != 0 ) - *ok = false; - -- qWarning( "interpretColAlign(): could not parse value \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretColAlign(): could not parse value \"%s\"", value_ba.data() ); - return QwtMml::ColAlignCenter; - } - -@@ -5984,7 +6006,8 @@ - if ( ok != 0 ) - *ok = false; - -- qWarning( "interpretRowAlign(): could not parse value \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretRowAlign(): could not parse value \"%s\"", value_ba.data() ); - return QwtMml::RowAlignAxis; - } - -@@ -6018,7 +6041,8 @@ - if ( ok != 0 ) - *ok = false; - -- qWarning( "interpretFrameType(): could not parse value \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretFrameType(): could not parse value \"%s\"", value_ba.data() ); - return QwtMml::FrameNone; - } - -@@ -6030,7 +6054,8 @@ - QStringList l = value_list.split( ' ' ); - if ( l.count() != 2 ) - { -- qWarning( "interpretFrameSpacing: could not parse value \"%s\"", value_list.toLatin1().data() ); -+ QByteArray value_list_ba = value_list.toLatin1(); -+ qWarning( "interpretFrameSpacing: could not parse value \"%s\"", value_list_ba.data() ); - if ( ok != 0 ) - *ok = false; - return QwtMml::FrameSpacing( ( int )( 0.4 * em ), ( int )( 0.5 * ex ) ); -@@ -6089,7 +6114,10 @@ - else if ( value == "bold" ) - fn.setBold( true ); - else -- qWarning( "interpretDepreciatedFontAttr(): could not parse fontweight \"%s\"", value.toLatin1().data() ); -+ { -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretDepreciatedFontAttr(): could not parse fontweight \"%s\"", value_ba.data() ); -+ } - } - - if ( font_attr.contains( "fontstyle" ) ) -@@ -6100,7 +6128,10 @@ - else if ( value == "italic" ) - fn.setItalic( true ); - else -- qWarning( "interpretDepreciatedFontAttr(): could not parse fontstyle \"%s\"", value.toLatin1().data() ); -+ { -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretDepreciatedFontAttr(): could not parse fontstyle \"%s\"", value_ba.data() ); -+ } - } - - if ( font_attr.contains( "fontfamily" ) ) -@@ -6150,7 +6181,8 @@ - - if ( ok != 0 ) - *ok = false; -- qWarning( "interpretMathSize(): could not parse mathsize \"%s\"", value.toLatin1().data() ); -+ QByteArray value_ba = value.toLatin1(); -+ qWarning( "interpretMathSize(): could not parse mathsize \"%s\"", value_ba.data() ); - return fn; - } - diff --git a/x11-libs/qwt/files/qwt-6.1.1-pc-destdir.patch b/x11-libs/qwt/files/qwt-6.1.1-pc-destdir.patch deleted file mode 100644 index f00ea604f5f4..000000000000 --- a/x11-libs/qwt/files/qwt-6.1.1-pc-destdir.patch +++ /dev/null @@ -1,15 +0,0 @@ - textengines/mathml/mathml.pro | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/textengines/mathml/mathml.pro b/textengines/mathml/mathml.pro -index 7032366..b1372f7 100644 ---- a/textengines/mathml/mathml.pro -+++ b/textengines/mathml/mathml.pro -@@ -63,6 +63,7 @@ contains(QWT_CONFIG, QwtPkgConfig) { - - # QMAKE_PKGCONFIG_DESTDIR is buggy, in combination - # with including pri files: better don't use it -+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig - - greaterThan(QT_MAJOR_VERSION, 4) { - diff --git a/x11-libs/qwt/metadata.xml b/x11-libs/qwt/metadata.xml index 4ae06e042f79..ff542ee0b955 100644 --- a/x11-libs/qwt/metadata.xml +++ b/x11-libs/qwt/metadata.xml @@ -14,7 +14,6 @@ </longdescription> <use> <flag name="designer">Installs <pkg>dev-qt/designer</pkg> plugin.</flag> - <flag name="mathml">Use the MathML renderer of the Qt solutions package.</flag> <flag name="polar">Install the QwtPolar headers</flag> </use> <upstream> diff --git a/x11-libs/qwt/qwt-6.1.5.ebuild b/x11-libs/qwt/qwt-6.1.5.ebuild deleted file mode 100644 index 2a371e6e9b17..000000000000 --- a/x11-libs/qwt/qwt-6.1.5.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils - -DESCRIPTION="2D plotting library for Qt5" -HOMEPAGE="https://qwt.sourceforge.io/" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.bz2" - -LICENSE="qwt mathml? ( LGPL-2.1 Nokia-Qt-LGPL-Exception-1.1 )" -KEYWORDS="amd64 ~arm ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -SLOT="6/1.5" -IUSE="designer doc examples mathml opengl svg" - -DEPEND=" - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - designer? ( dev-qt/designer:5 ) - opengl? ( - dev-qt/qtopengl:5 - virtual/opengl - ) - svg? ( dev-qt/qtsvg:5 ) -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGES-6.1 README ) - -PATCHES=( - "${FILESDIR}"/${PN}-6.0.2-invalid-read.patch - "${FILESDIR}"/${PN}-6.1.1-pc-destdir.patch -) - -src_prepare() { - default - - cat > qwtconfig.pri <<-EOF || die - QWT_INSTALL_LIBS = "${EPREFIX}/usr/$(get_libdir)" - QWT_INSTALL_HEADERS = "${EPREFIX}/usr/include/qwt6" - QWT_INSTALL_DOCS = "${EPREFIX}/usr/share/doc/${PF}" - QWT_CONFIG += QwtPlot QwtWidgets QwtPkgConfig - VERSION = ${PV/_*} - QWT_VERSION = ${PV/_*} - EOF - - use designer && echo "QWT_CONFIG += QwtDesigner" >> qwtconfig.pri - use mathml && echo "QWT_CONFIG += QwtMathML" >> qwtconfig.pri - use opengl && echo "QWT_CONFIG += QwtOpenGL" >> qwtconfig.pri - use svg && echo "QWT_CONFIG += QwtSvg" >> qwtconfig.pri - - cat > qwtbuild.pri <<-EOF || die - QWT_CONFIG += qt warn_on thread release no_keywords - EOF - - echo "QWT_CONFIG += QwtDll" >> qwtconfig.pri - - cat >> qwtconfig.pri <<-EOF || die - QWT_INSTALL_PLUGINS = "${EPREFIX}$(qt5_get_plugindir)/designer" - QWT_INSTALL_FEATURES = "${EPREFIX}$(qt5_get_mkspecsdir)/features" - EOF - sed \ - -e 's/target doc/target/' \ - -e "/^TARGET/s:(qwt):(qwt6-qt5):g" \ - -e "/^TARGET/s:qwt):qwt6-qt5):g" \ - -i src/src.pro || die - - sed \ - -e '/qwtAddLibrary/s:(qwt):(qwt6-qt5):g' \ - -e '/qwtAddLibrary/s:qwt):qwt6-qt5):g' \ - -i qwt.prf designer/designer.pro examples/examples.pri \ - textengines/mathml/qwtmathml.prf textengines/textengines.pri || die -} - -src_configure() { - eqmake5 -} - -src_compile() { - default -} - -src_test() { - cd examples || die - eqmake5 examples.pro - emake -} - -src_install() { - emake INSTALL_ROOT="${D}" install - - if use mathml; then - sed \ - -e "s: -L\"${WORKDIR}\".* -lqwt6: -lqwt6:g" \ - -i "${ED}"/usr/$(get_libdir)/pkgconfig/qwtmathml.pc || die - fi - - if use doc; then - local HTML_DOCS=( doc/html/. ) - else - rm -r "${ED}"/usr/share/doc/${PF}/html || die - fi - - einstalldocs - - mkdir -p "${ED}"/usr/share/man/ || die - mv "${ED}"/usr/share/doc/${PF}/man/man3 "${ED}"/usr/share/man/ && \ - rmdir "${ED}"/usr/share/doc/${PF}/man || die - - if use examples; then - # don't build examples - fix the qt files to build once installed - cat > examples/examples.pri <<-EOF || die - include( qwtconfig.pri ) - TEMPLATE = app - MOC_DIR = moc - INCLUDEPATH += "${EPREFIX}/usr/include/qwt6" - DEPENDPATH += "${EPREFIX}/usr/include/qwt6" - LIBS += -lqwt6 - EOF - sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die - cp *.pri examples/ || die - insinto /usr/share/${PN}6 - doins -r examples - fi -} |