head 1.2; access; symbols pkgsrc-2022Q3:1.1.0.20 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.18 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.16 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.14 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.12 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.10 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.8 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2; locks; strict; comment @// @; 1.2 date 2022.12.02.15.39.01; author wiz; state dead; branches; next 1.1; commitid YRjJEF2xyPRjVZ3E; 1.1 date 2020.06.29.13.25.57; author adam; state Exp; branches 1.1.2.1; next ; commitid ygDwTKSuDgMgF7eC; 1.1.2.1 date 2020.06.29.13.25.57; author bsiegert; state dead; branches; next 1.1.2.2; commitid g2rGTfCf2Mo2zCeC; 1.1.2.2 date 2020.07.03.10.29.50; author bsiegert; state Exp; branches; next ; commitid g2rGTfCf2Mo2zCeC; desc @@ 1.2 log @qt5-qscintilla: update to 2.13.3. v2.13.3 25th April 2022 - Bug fixes. v2.13.2 15th March 2022 - Bug fixes that only affect iOS. v2.13.1 12th October 2021 - Documented how to build for multiple architectures on macOS. - Bug fixes. v2.13.0 13th June 2021 - Added the QsciPrinter::printRange() overload that uses a supplied QPainter to render the pages. - Improved the appearence of the auto-completion popup. - Bug fixes. v2.12.1 4th March 2021 - Packaging bug fixes. v2.12.0 23rd February 2021 - Added support for Qt6. - Removed support for Qt4 and Qt5 earlier than v5.11.0. - sdists are now provided. v2.11.6 23rd November 2020 - Added the --qsci-translations-dir option to sip-wheel. - Added the .api file for Python v3.9. - Build system changes. - Bug fixes. @ text @$NetBSD: patch-Qt4Qt5_qsciapis.cpp,v 1.1 2020/06/29 13:25:57 adam Exp $ Search in qt5/qsci*/api/.../*.api. --- Qt4Qt5/qsciapis.cpp.orig 2019-06-25 12:49:27.000000000 +0000 +++ Qt4Qt5/qsciapis.cpp @@@@ -982,6 +982,7 @@@@ QString QsciAPIs::prepName(const QString // Return installed API files. QStringList QsciAPIs::installedAPIFiles() const { +#if 0 QString qtdir = QLibraryInfo::location(QLibraryInfo::DataPath); QDir apidir = QDir(QString("%1/qsci/api/%2").arg(qtdir).arg(lexer()->lexer())); @@@@ -996,4 +997,32 @@@@ QStringList QsciAPIs::installedAPIFiles( filenames << fi.absoluteFilePath(); return filenames; +#endif + + QString datapath = QLibraryInfo::location(QLibraryInfo::DataPath); + QString lexerdir = lexer()->lexer(); + + QStringList filenames; + + QStringList filters; + filters << "*.api"; + + QStringList qscifilters; + qscifilters << "qsci*"; + + // Find QTDIR/qsci*/api/LEXER/*.api + QDir datadir = QDir(datapath); + QFileInfoList dlist = datadir.entryInfoList(qscifilters, QDir::AllDirs, QDir::IgnoreCase); + + foreach (QFileInfo di, dlist) { + QString qscidir = di.absoluteFilePath(); + QDir apidir = QDir(QString("%1/api/%2").arg(qscidir).arg(lexerdir)); + + QFileInfoList flist = apidir.entryInfoList(filters, QDir::Files, QDir::IgnoreCase); + + foreach (QFileInfo fi, flist) + filenames << fi.absoluteFilePath(); + } + + return filenames; } @ 1.1 log @qt5-qscintilla py-qt5-qscintilla: updated to 2.11.5 QScintilla v2.11.5 has been released. This is a minor bug-fix release. @ text @d1 1 a1 1 $NetBSD: patch-qsciapis.cpp,v 1.1 2020/01/26 12:54:15 rhialto Exp $ @ 1.1.2.1 log @file patch-Qt4Qt5_qsciapis.cpp was added on branch pkgsrc-2020Q2 on 2020-07-03 10:29:50 +0000 @ text @d1 47 @ 1.1.2.2 log @Pullup ticket #6255 - requested by gdt x11/qt5-qscintilla, x11/py-qt5-qscintilla: build fix Revisions pulled up: - x11/py-qt5-qscintilla/Makefile 1.9 - x11/qt5-qscintilla/Makefile 1.10 - x11/qt5-qscintilla/Makefile.common 1.2 - x11/qt5-qscintilla/buildlink3.mk 1.6 - x11/qt5-qscintilla/distinfo 1.4 - x11/qt5-qscintilla/patches/patch-Python_configure.py 1.1 - x11/qt5-qscintilla/patches/patch-Qt4Qt5_qsciapis.cpp 1.1 - x11/qt5-qscintilla/patches/patch-Qt4Qt5_qscintilla.pro 1.1 - x11/qt5-qscintilla/patches/patch-qsciapis.cpp deleted - x11/qt5-qscintilla/patches/patch-qscintilla.pro deleted --- Module Name: pkgsrc Committed By: adam Date: Mon Jun 29 13:25:57 UTC 2020 Modified Files: pkgsrc/x11/py-qt5-qscintilla: Makefile pkgsrc/x11/qt5-qscintilla: Makefile Makefile.common buildlink3.mk distinfo Added Files: pkgsrc/x11/qt5-qscintilla/patches: patch-Python_configure.py patch-Qt4Qt5_qsciapis.cpp patch-Qt4Qt5_qscintilla.pro Removed Files: pkgsrc/x11/qt5-qscintilla/patches: patch-qsciapis.cpp patch-qscintilla.pro Log Message: qt5-qscintilla py-qt5-qscintilla: updated to 2.11.5 QScintilla v2.11.5 has been released. This is a minor bug-fix release. @ text @a0 47 $NetBSD: patch-Qt4Qt5_qsciapis.cpp,v 1.1 2020/06/29 13:25:57 adam Exp $ Search in qt5/qsci*/api/.../*.api. --- Qt4Qt5/qsciapis.cpp.orig 2019-06-25 12:49:27.000000000 +0000 +++ Qt4Qt5/qsciapis.cpp @@@@ -982,6 +982,7 @@@@ QString QsciAPIs::prepName(const QString // Return installed API files. QStringList QsciAPIs::installedAPIFiles() const { +#if 0 QString qtdir = QLibraryInfo::location(QLibraryInfo::DataPath); QDir apidir = QDir(QString("%1/qsci/api/%2").arg(qtdir).arg(lexer()->lexer())); @@@@ -996,4 +997,32 @@@@ QStringList QsciAPIs::installedAPIFiles( filenames << fi.absoluteFilePath(); return filenames; +#endif + + QString datapath = QLibraryInfo::location(QLibraryInfo::DataPath); + QString lexerdir = lexer()->lexer(); + + QStringList filenames; + + QStringList filters; + filters << "*.api"; + + QStringList qscifilters; + qscifilters << "qsci*"; + + // Find QTDIR/qsci*/api/LEXER/*.api + QDir datadir = QDir(datapath); + QFileInfoList dlist = datadir.entryInfoList(qscifilters, QDir::AllDirs, QDir::IgnoreCase); + + foreach (QFileInfo di, dlist) { + QString qscidir = di.absoluteFilePath(); + QDir apidir = QDir(QString("%1/api/%2").arg(qscidir).arg(lexerdir)); + + QFileInfoList flist = apidir.entryInfoList(filters, QDir::Files, QDir::IgnoreCase); + + foreach (QFileInfo fi, flist) + filenames << fi.absoluteFilePath(); + } + + return filenames; } @