Hi ports@,

Below is a diff that updates editors/{,py-}qscintilla to 2.11.1. I have
identified a number of ports that depend on {,py-}qscintilla. I
build-tested all of them and I run-tested some of them.

I build-tested the following ports that depend on {,py-}qscintilla:
cad/openscad
databases/sqliteman
geo/qgis
x11/kde4/p5-qt
x11/kde4/qyoto
x11/kde4/ruby-qt
x11/kde4/smokeqt

In the case of the ports below, I did not only build-test them, I also
performed some run-time testing:
databases/sqlitebrowser
devel/tortoisehg
math/octave (very light testing)

All testing was done on amd64. I'd appreciate feedback on the diff.

Thanks,
Caspar Schutijser


Index: editors/py-qscintilla/Makefile
===================================================================
RCS file: /cvs/ports/editors/py-qscintilla/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- editors/py-qscintilla/Makefile      28 Apr 2019 20:51:40 -0000      1.18
+++ editors/py-qscintilla/Makefile      31 May 2019 17:46:58 -0000
@@ -2,18 +2,17 @@
 
 COMMENT =      Python binding for the Scintilla source code editor
 
-VERSION =      2.10.1
+VERSION =      2.11.1
 DISTNAME =     QScintilla_gpl-${VERSION}
 PKGNAME =      py-qscintilla-${VERSION}
 CATEGORIES =   editors x11 devel
-REVISION =     3
 
 HOMEPAGE =     http://www.riverbankcomputing.com/software/qscintilla/
 
 # GPLv2/GPLv3
 PERMIT_PACKAGE_CDROM = Yes
 
-MASTER_SITES =  ${MASTER_SITE_SOURCEFORGE:=pyqt/}
+MASTER_SITES =  
https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.1/
 
 MODULES = lang/python
 FLAVORS = qt5
Index: editors/py-qscintilla/distinfo
===================================================================
RCS file: /cvs/ports/editors/py-qscintilla/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- editors/py-qscintilla/distinfo      30 Oct 2017 13:51:17 -0000      1.5
+++ editors/py-qscintilla/distinfo      31 May 2019 17:46:58 -0000
@@ -1,2 +1,2 @@
-SHA256 (QScintilla_gpl-2.10.1.tar.gz) = 
l/mKnZH5CNts43/sxtJB2VWziKHEhxc7YHJsupo9+mQ=
-SIZE (QScintilla_gpl-2.10.1.tar.gz) = 2663446
+SHA256 (QScintilla_gpl-2.11.1.tar.gz) = 
2uVNGeQ9ulo/mKwIT8C8+m+3E/qFHxeDoBQEOX/XIvU=
+SIZE (QScintilla_gpl-2.11.1.tar.gz) = 2932060
Index: editors/py-qscintilla/pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/py-qscintilla/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- editors/py-qscintilla/pkg/PLIST     20 May 2018 08:30:21 -0000      1.5
+++ editors/py-qscintilla/pkg/PLIST     31 May 2019 17:46:58 -0000
@@ -1,6 +1,10 @@
 @comment $OpenBSD: PLIST,v 1.5 2018/05/20 08:30:21 espie Exp $
 lib/python${MODPY_VERSION}/site-packages/${PYQTVER}/Qsci.pyi
 lib/python${MODPY_VERSION}/site-packages/${PYQTVER}/Qsci.so
+lib/python${MODPY_VERSION}/site-packages/QScintilla-2.11.1.dist-info/
+lib/python${MODPY_VERSION}/site-packages/QScintilla-2.11.1.dist-info/INSTALLER
+lib/python${MODPY_VERSION}/site-packages/QScintilla-2.11.1.dist-info/METADATA
+lib/python${MODPY_VERSION}/site-packages/QScintilla-2.11.1.dist-info/RECORD
 lib/${QTVER}/qsci/api/python/QScintilla2.api
 ${SIPDIR}/Qsci/
 ${SIPDIR}/Qsci/qsciabstractapis.sip
@@ -20,6 +24,7 @@ ${SIPDIR}/Qsci/qscilexercss.sip
 ${SIPDIR}/Qsci/qscilexercustom.sip
 ${SIPDIR}/Qsci/qscilexerd.sip
 ${SIPDIR}/Qsci/qscilexerdiff.sip
+${SIPDIR}/Qsci/qscilexeredifact.sip
 ${SIPDIR}/Qsci/qscilexerfortran.sip
 ${SIPDIR}/Qsci/qscilexerfortran77.sip
 ${SIPDIR}/Qsci/qscilexerhtml.sip
Index: editors/qscintilla/Makefile
===================================================================
RCS file: /cvs/ports/editors/qscintilla/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- editors/qscintilla/Makefile 22 Dec 2017 06:27:16 -0000      1.22
+++ editors/qscintilla/Makefile 31 May 2019 17:46:58 -0000
@@ -3,10 +3,9 @@
 COMMENT =      Qt port of the Scintilla source code editor
 
 # XXX update py-qscintilla alongside this port (same distfile).
-VERSION =      2.10.1
+VERSION =      2.11.1
 DISTNAME =     QScintilla_gpl-${VERSION}
 PKGNAME =      qscintilla-${VERSION}
-REVISION =     0
 CATEGORIES =   editors x11
 
 
@@ -15,7 +14,7 @@ HOMEPAGE =    http://www.riverbankcomputing
 # GPLv2/GPLv3
 PERMIT_PACKAGE_CDROM = Yes
 
-MASTER_SITES =  ${MASTER_SITE_SOURCEFORGE:=pyqt/}
+MASTER_SITES =  
https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.1/
 
 WANTLIB =      ${COMPILER_LIBCXX} m
 MODULES =      devel/qmake
@@ -30,13 +29,13 @@ CXXFLAGS += -std=c++11
 FULLPKGNAME =  qscintilla-qt5-${VERSION}
 QTVER =        qt5
 MODULES +=     x11/qt5
-SHARED_LIBS =  qscintilla2_qt5 0.0 #13.0
+SHARED_LIBS =  qscintilla2_qt5 1.0 # 15.0
 
 WANTLIB += GL Qt5Core Qt5Gui Qt5PrintSupport Qt5Widgets
 .else
 QTVER =        qt4
 MODULES +=     x11/qt4
-SHARED_LIBS =  qscintilla2_qt4 0.0 #13.0
+SHARED_LIBS =  qscintilla2_qt4 1.0 # 15.0
 
 WANTLIB += ICE QtGui SM X11 Xext Xi Xinerama Xrender fontconfig
 WANTLIB += freetype pthread
Index: editors/qscintilla/distinfo
===================================================================
RCS file: /cvs/ports/editors/qscintilla/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- editors/qscintilla/distinfo 30 Oct 2017 13:49:31 -0000      1.7
+++ editors/qscintilla/distinfo 31 May 2019 17:46:58 -0000
@@ -1,2 +1,2 @@
-SHA256 (QScintilla_gpl-2.10.1.tar.gz) = 
l/mKnZH5CNts43/sxtJB2VWziKHEhxc7YHJsupo9+mQ=
-SIZE (QScintilla_gpl-2.10.1.tar.gz) = 2663446
+SHA256 (QScintilla_gpl-2.11.1.tar.gz) = 
2uVNGeQ9ulo/mKwIT8C8+m+3E/qFHxeDoBQEOX/XIvU=
+SIZE (QScintilla_gpl-2.11.1.tar.gz) = 2932060
Index: editors/qscintilla/patches/patch-Qt4Qt5_Qsci_qsciscintillabase_h
===================================================================
RCS file: editors/qscintilla/patches/patch-Qt4Qt5_Qsci_qsciscintillabase_h
diff -N editors/qscintilla/patches/patch-Qt4Qt5_Qsci_qsciscintillabase_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ editors/qscintilla/patches/patch-Qt4Qt5_Qsci_qsciscintillabase_h    31 May 
2019 17:46:58 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Index: Qt4Qt5/Qsci/qsciscintillabase.h
+--- Qt4Qt5/Qsci/qsciscintillabase.h.orig
++++ Qt4Qt5/Qsci/qsciscintillabase.h
+@@ -26,6 +26,7 @@
+ #include <QAbstractScrollArea>
+ #include <QByteArray>
+ #include <QPoint>
++#include <QUrl>
+ #include <QTimer>
+ 
+ #include <Qsci/qsciglobal.h>
+@@ -37,7 +38,6 @@ class QImage;
+ class QMimeData;
+ class QPainter;
+ class QPixmap;
+-class QUrl;
+ QT_END_NAMESPACE
+ 
+ class QsciScintillaQt;
Index: editors/qscintilla/patches/patch-Qt4Qt5_qscintilla_pro
===================================================================
RCS file: /cvs/ports/editors/qscintilla/patches/patch-Qt4Qt5_qscintilla_pro,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Qt4Qt5_qscintilla_pro
--- editors/qscintilla/patches/patch-Qt4Qt5_qscintilla_pro      30 Oct 2017 
13:49:31 -0000      1.4
+++ editors/qscintilla/patches/patch-Qt4Qt5_qscintilla_pro      31 May 2019 
17:46:58 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-Qt4Qt5_qscintilla_pro,v 
 Index: Qt4Qt5/qscintilla.pro
 --- Qt4Qt5/qscintilla.pro.orig
 +++ Qt4Qt5/qscintilla.pro
-@@ -66,7 +66,7 @@ unix:!macx {
+@@ -68,7 +68,7 @@ unix:!macx {
  # Scintilla namespace rather than pollute the global namespace.
  #DEFINES += SCI_NAMESPACE
  
Index: editors/qscintilla/pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/qscintilla/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- editors/qscintilla/pkg/PLIST        30 Oct 2017 13:49:31 -0000      1.6
+++ editors/qscintilla/pkg/PLIST        31 May 2019 17:46:58 -0000
@@ -18,6 +18,7 @@ include/X11/${QTVER}/Qsci/qscilexercss.h
 include/X11/${QTVER}/Qsci/qscilexercustom.h
 include/X11/${QTVER}/Qsci/qscilexerd.h
 include/X11/${QTVER}/Qsci/qscilexerdiff.h
+include/X11/${QTVER}/Qsci/qscilexeredifact.h
 include/X11/${QTVER}/Qsci/qscilexerfortran.h
 include/X11/${QTVER}/Qsci/qscilexerfortran77.h
 include/X11/${QTVER}/Qsci/qscilexerhtml.h
@@ -67,6 +68,8 @@ lib/${QTVER}/qsci/api/python/Python-3.3.
 lib/${QTVER}/qsci/api/python/Python-3.4.api
 lib/${QTVER}/qsci/api/python/Python-3.5.api
 lib/${QTVER}/qsci/api/python/Python-3.6.api
+lib/${QTVER}/qsci/api/python/Python-3.7.api
+lib/${QTVER}/translations/
 lib/${QTVER}/translations/qscintilla_cs.qm
 lib/${QTVER}/translations/qscintilla_de.qm
 lib/${QTVER}/translations/qscintilla_es.qm

Reply via email to