From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06260139694 for ; Sat, 18 Mar 2017 00:09:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BDC521C09C; Sat, 18 Mar 2017 00:09:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C0BC21C09C for ; Sat, 18 Mar 2017 00:09:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4F9D340FDA for ; Sat, 18 Mar 2017 00:09:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A7E56BE1 for ; Sat, 18 Mar 2017 00:09:46 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1489795653.d9559d0f7308301041970ffedc15eb5f2e36b405.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qgis/files/, sci-geosciences/qgis/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/qgis/files/qgis-2.18.3-qscintilla-2.10.patch sci-geosciences/qgis/files/qgis-2.18.3-sip-4.19.1.patch sci-geosciences/qgis/qgis-2.18.3-r1.ebuild sci-geosciences/qgis/qgis-2.18.4.ebuild X-VCS-Directories: sci-geosciences/qgis/ sci-geosciences/qgis/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d9559d0f7308301041970ffedc15eb5f2e36b405 X-VCS-Branch: master Date: Sat, 18 Mar 2017 00:09:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1da77278-5f57-4759-ae91-5c41f50eb64f X-Archives-Hash: 4b590007f433eba9cc501031a717abf4 commit: d9559d0f7308301041970ffedc15eb5f2e36b405 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Mar 17 22:14:10 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Mar 18 00:07:33 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9559d0f sci-geosciences/qgis: Fix build w/ sip-4.19.1, qscintilla-2.10 Silence cmake warnings. Gentoo-bug: 612924 Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../qgis/files/qgis-2.18.3-qscintilla-2.10.patch | 24 ++++++++++ .../qgis/files/qgis-2.18.3-sip-4.19.1.patch | 42 +++++++++++++++++ sci-geosciences/qgis/qgis-2.18.3-r1.ebuild | 2 + sci-geosciences/qgis/qgis-2.18.4.ebuild | 52 ++++++++++++++-------- 4 files changed, 102 insertions(+), 18 deletions(-) diff --git a/sci-geosciences/qgis/files/qgis-2.18.3-qscintilla-2.10.patch b/sci-geosciences/qgis/files/qgis-2.18.3-qscintilla-2.10.patch new file mode 100644 index 00000000000..fb714654579 --- /dev/null +++ b/sci-geosciences/qgis/files/qgis-2.18.3-qscintilla-2.10.patch @@ -0,0 +1,24 @@ +From 30577386cbe0ee9a5509e7f6f54df2c1194153ee Mon Sep 17 00:00:00 2001 +From: Larry Shaffer +Date: Thu, 2 Mar 2017 15:00:18 -0700 +Subject: [PATCH] Followup to dfe268f; update QScintilla new lib name in 2.10 + for Qt4 + +[ci skip] +--- + cmake/FindQScintilla.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/FindQScintilla.cmake b/cmake/FindQScintilla.cmake +index 7f97624..2f87e4c 100644 +--- a/cmake/FindQScintilla.cmake ++++ b/cmake/FindQScintilla.cmake +@@ -36,7 +36,7 @@ ELSE(EXISTS QSCINTILLA_VERSION_STR) + if(ENABLE_QT5) + set(QSCINTILLA_LIBRARY_NAMES qscintilla2-qt5 qscintilla2_qt5 libqt5scintilla2 libqscintilla2-qt5 qt5scintilla2 libqscintilla2-qt5.dylib) + else(ENABLE_QT5) +- set(QSCINTILLA_LIBRARY_NAMES qscintilla2 libqscintilla2 libqscintilla2.dylib) ++ set(QSCINTILLA_LIBRARY_NAMES qscintilla2 qscintilla2_qt4 libqscintilla2 libqscintilla2.dylib) + endif(ENABLE_QT5) + + find_library(QSCINTILLA_LIBRARY diff --git a/sci-geosciences/qgis/files/qgis-2.18.3-sip-4.19.1.patch b/sci-geosciences/qgis/files/qgis-2.18.3-sip-4.19.1.patch new file mode 100644 index 00000000000..ff8989227f6 --- /dev/null +++ b/sci-geosciences/qgis/files/qgis-2.18.3-sip-4.19.1.patch @@ -0,0 +1,42 @@ +From 85a0db24f32351f6096cd8282f03ad5c2f4e6ef5 Mon Sep 17 00:00:00 2001 +From: Sandro Mani +Date: Wed, 1 Mar 2017 16:12:38 +0100 +Subject: [PATCH] Fix build against recent sip/PyQt4: + +qgsfiledownloader.sip:33:0: +src/gui/qgsfiledownloader.h:94:5: error: overriding non-deleted function 'virtual QgsFileDownloader::~QgsFileDownloader()' + +RuntimeError: qgis._core cannot import type 'QList' from PyQt4.QtCore +--- + python/core/core.sip | 1 + + src/gui/qgsfiledownloader.h | 4 +++- + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/python/core/core.sip b/python/core/core.sip +index 8f0b6af..41f5450 100644 +--- a/python/core/core.sip ++++ b/python/core/core.sip +@@ -3,6 +3,7 @@ + + %Feature QT5_SUPPORT + ++%Import QtCore/QtCoremod.sip + %Import QtXml/QtXmlmod.sip + %Import QtNetwork/QtNetworkmod.sip + %Import QtSql/QtSqlmod.sip +diff --git a/src/gui/qgsfiledownloader.h b/src/gui/qgsfiledownloader.h +index c9276f7..841e4b6 100644 +--- a/src/gui/qgsfiledownloader.h ++++ b/src/gui/qgsfiledownloader.h +@@ -90,8 +90,10 @@ class GUI_EXPORT QgsFileDownloader : public QObject + void onSslErrors( QNetworkReply *reply, const QList &errors ); + #endif + +- private: ++ protected: + ~QgsFileDownloader(); ++ ++ private: + /** + * Abort current request and show an error if the instance has GUI + * notifications enabled. diff --git a/sci-geosciences/qgis/qgis-2.18.3-r1.ebuild b/sci-geosciences/qgis/qgis-2.18.3-r1.ebuild index 463a3b19ca1..81e16bdc05f 100644 --- a/sci-geosciences/qgis/qgis-2.18.3-r1.ebuild +++ b/sci-geosciences/qgis/qgis-2.18.3-r1.ebuild @@ -84,6 +84,8 @@ PATCHES=( "${FILESDIR}"/${P}-app-icon.patch "${FILESDIR}"/${P}-webkit.patch "${FILESDIR}"/${P}-sip-4.19.patch + "${FILESDIR}"/${P}-qscintilla-2.10.patch + "${FILESDIR}"/${P}-sip-4.19.1.patch ) pkg_setup() { diff --git a/sci-geosciences/qgis/qgis-2.18.4.ebuild b/sci-geosciences/qgis/qgis-2.18.4.ebuild index 5cc7c2eb878..4a1f1c1c736 100644 --- a/sci-geosciences/qgis/qgis-2.18.4.ebuild +++ b/sci-geosciences/qgis/qgis-2.18.4.ebuild @@ -34,8 +34,8 @@ COMMON_DEPEND=" dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtscript:4 - dev-qt/qtsvg:4 dev-qt/qtsql:4 + dev-qt/qtsvg:4 sci-libs/gdal:=[geos,python?,${PYTHON_USEDEP}] sci-libs/geos sci-libs/libspatialindex:= @@ -80,6 +80,11 @@ RDEPEND="${COMMON_DEPEND} # Disabling test suite because upstream disallow running from install path RESTRICT="test" +PATCHES=( + "${FILESDIR}"/${PN}-2.18.3-qscintilla-2.10.patch + "${FILESDIR}"/${PN}-2.18.3-sip-4.19.1.patch +) + pkg_setup() { use python && python-single-r1_pkg_setup } @@ -99,30 +104,41 @@ src_configure() { -DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis -DQWT_INCLUDE_DIR=/usr/include/qwt6 -DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt4.so - -DWITH_INTERNAL_DATEUTIL=OFF - -DWITH_INTERNAL_FUTURE=OFF - -DWITH_INTERNAL_HTTPLIB2=OFF - -DWITH_INTERNAL_JINJA2=OFF - -DWITH_INTERNAL_MARKUPSAFE=OFF - -DWITH_INTERNAL_PYGMENTS=OFF - -DWITH_INTERNAL_PYTZ=OFF -DWITH_INTERNAL_QWTPOLAR=OFF - -DWITH_INTERNAL_SIX=OFF - -DWITH_INTERNAL_YAML=OFF -DPEDANTIC=OFF -DWITH_APIDOC=OFF -DWITH_QSPATIALITE=ON -DENABLE_TESTS=OFF - -DWITH_BINDINGS="$(usex python)" - -DWITH_GRASS7="$(usex grass)" - -DGRASS_PREFIX7=/usr/$(get_libdir)/grass70 - -DWITH_ORACLE="$(usex oracle)" - -DWITH_POSTGRESQL="$(usex postgres)" - -DWITH_PYSPATIALITE="$(usex python)" - -DWITH_SERVER="$(usex mapserver)" - -DWITH_QTWEBKIT="$(usex webkit)" + -DWITH_GRASS=$(usex grass) + -DWITH_SERVER=$(usex mapserver) + -DWITH_ORACLE=$(usex oracle) + -DWITH_POSTGRESQL=$(usex postgres) + -DWITH_BINDINGS=$(usex python) + -DWITH_QTWEBKIT=$(usex webkit) ) + if use grass; then + mycmakeargs+=( + -DWITH_GRASS7=ON + -DGRASS_PREFIX7=/usr/$(get_libdir)/grass70 + ) + fi + + if use python; then + mycmakeargs+=( + -DWITH_PYSPATIALITE=ON + -DWITH_INTERNAL_DATEUTIL=OFF + -DWITH_INTERNAL_FUTURE=OFF + -DWITH_INTERNAL_HTTPLIB2=OFF + -DWITH_INTERNAL_JINJA2=OFF + -DWITH_INTERNAL_MARKUPSAFE=OFF + -DWITH_INTERNAL_PYGMENTS=OFF + -DWITH_INTERNAL_PYTZ=OFF + -DWITH_INTERNAL_SIX=OFF + -DWITH_INTERNAL_YAML=OFF + ) + fi + cmake-utils_src_configure }