- Update to 2.18.2(based on)
- New dependency devel/qjson - New makefile target 'check', which runs the test suite - Use of external python functionality, if possible (via CMAKE_ARGS) [2] - Switch from PostGIS 2.1 to 2.2 PR: 214238 Submitted by: rhurlin@gwdg.de(maintainer)
This commit is contained in:
parent
56275ac313
commit
90ff83398e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429216
6 changed files with 572 additions and 1005 deletions
|
@ -3,8 +3,7 @@
|
|||
|
||||
PORTNAME= qgis
|
||||
DISTVERSIONPREFIX= final-
|
||||
DISTVERSION= 2_14_3
|
||||
PORTREVISION= 2
|
||||
DISTVERSION= 2_18_2
|
||||
CATEGORIES= graphics geography
|
||||
|
||||
MAINTAINER= rhurlin@gwdg.de
|
||||
|
@ -20,6 +19,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
|||
libgsl.so:math/gsl \
|
||||
libproj.so:graphics/proj \
|
||||
libqca.so:devel/qca \
|
||||
libqjson.so:devel/qjson \
|
||||
libqscintilla2.so:devel/qscintilla2 \
|
||||
libqwt.so:x11-toolkits/qwt5 \
|
||||
libspatialindex.so:devel/spatialindex \
|
||||
|
@ -30,28 +30,42 @@ GH_PROJECT= ${PORTNAME:tu}
|
|||
|
||||
USES= bison cmake cpe desktop-file-utils execinfo fortran \
|
||||
gmake python:2 sqlite
|
||||
USE_QT4= corelib designer gui linguist_build moc_build network \
|
||||
qmake_build rcc_build script sql svg testlib uic_build xml \
|
||||
webkit
|
||||
USE_QT4= corelib designer doc gui linguist_build moc_build \
|
||||
network qmake_build rcc_build script sql svg testlib \
|
||||
uic_build webkit xml
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
ICON_SIZES= 8 16 22 24 32 36 42 48 64 72 80 96 128 192 256 512
|
||||
|
||||
OPTIONS_DEFINE= PYTHON POSTGIS GRASS SERVER
|
||||
OPTIONS_GROUP= DEVELOPER
|
||||
OPTIONS_GROUP_DEVELOPER= CUSTOMWIDGETS ASTYLE DEBUG
|
||||
OPTIONS_GROUP_DEVELOPER= CUSTOMWIDGETS ASTYLE TESTS DEBUG
|
||||
OPTIONS_DEFAULT= PYTHON POSTGIS
|
||||
OPTIONS_SUB= yes
|
||||
NO_OPTIONS_SORT= yes
|
||||
OPTIONS_SUB= yes
|
||||
ASTYLE_DESC= Enable AStyle for QGis
|
||||
CUSTOMWIDGETS_DESC= Enable QT4/QGis Custom Widgets
|
||||
DEBUG_DESC= Write Debugging Output to Console
|
||||
SERVER_DESC= Enable QGIS server
|
||||
TESTS_DESC= Run the test suite after build process
|
||||
|
||||
CMAKE_ARGS+= -DWITH_ORACLE:BOOL=FALSE
|
||||
CMAKE_ARGS+= -DWITH_ORACLE:BOOL=FALSE \
|
||||
-DWITH_GLOBE:BOOL=FALSE
|
||||
|
||||
.if !defined(MAINTAINER_MODE)
|
||||
CMAKE_ARGS+= -Wno-dev
|
||||
CMAKE_ARGS+= -DSUPPRESS_SIP_WARNINGS=OFF -DSUPPRESS_QT_WARNINGS=OFF
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_DATEUTIL=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_FUTURE=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_HTTPLIB2=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_JINJA2=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_MARKUPSAFE=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_NOSE2=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_PYGMENTS=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_PYTZ=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_REQUESTS=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_SIX=FALSE
|
||||
CMAKE_ARGS+= -DWITH_INTERNAL_YAML=FALSE
|
||||
.endif
|
||||
|
||||
ASTYLE_RUN_DEPENDS= astyle:devel/astyle
|
||||
|
@ -67,18 +81,23 @@ DEBUG_CMAKE_OFF= -DCMAKE_BUILD_TYPE=Release
|
|||
GRASS_BUILD_DEPENDS= grass64:databases/grass
|
||||
GRASS_RUN_DEPENDS= grass64:databases/grass
|
||||
GRASS_CMAKE_ON= -DWITH_GRASS:BOOL=TRUE -DGRASS_PREFIX=${LOCALBASE}/grass-6.4.6
|
||||
GRASS_CMAKE_OFF= -DWITH_GRASS:BOOL=FALSE
|
||||
GRASS_FORCE_MAKE_JOBS= NO
|
||||
GRASS_CMAKE_OFF= -DWITH_GRASS:BOOL=FALSE
|
||||
|
||||
POSTGIS_USES= pgsql
|
||||
POSTGIS_LIB_DEPENDS= liblwgeom.so:databases/postgis21
|
||||
POSTGIS_LIB_DEPENDS= liblwgeom.so:databases/postgis22
|
||||
POSTGIS_CMAKE_ON= -DWITH_POSTGRESQL:BOOL=TRUE
|
||||
POSTGIS_CMAKE_OFF= -DWITH_POSTGRESQL:BOOL=FALSE
|
||||
|
||||
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0.14.3:devel/py-future \
|
||||
${PYTHON_PKGNAMEPREFIX}httplib2>=2-0.9.2:www/py-httplib2 \
|
||||
${PYTHON_PKGNAMEPREFIX}Jinja>=1.2:devel/py-Jinja \
|
||||
${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.23:textproc/py-MarkupSafe \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.3:math/py-matplotlib \
|
||||
${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock \
|
||||
${PYTHON_PKGNAMEPREFIX}pip>=8.0.2:devel/py-pip \
|
||||
${PYTHON_PKGNAMEPREFIX}pyspatialite>=3.0.1:databases/pyspatialite \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>=2016.6.1,1:devel/py-pytz \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-core>=4.8.5:devel/py-qt4-core \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:x11-toolkits/py-qt4-gui \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-network>=4.8.5:net/py-qt4-network \
|
||||
|
@ -86,17 +105,23 @@ PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0.14.3:devel/py-future \
|
|||
${PYTHON_PKGNAMEPREFIX}qt4-sql>=4.11.3:databases/py-qt4-sql \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.8.5:graphics/py-qt4-svg \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-xml>=4.5.4:textproc/py-qt4-xml \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
|
||||
${PYTHON_PKGNAMEPREFIX}sip>=4.14.6:devel/py-sip \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.6:databases/py-sqlite3 \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml
|
||||
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0.14.3:devel/py-future \
|
||||
${PYTHON_PKGNAMEPREFIX}gdal>=2.0.1:graphics/py-gdal \
|
||||
${PYTHON_PKGNAMEPREFIX}httplib2>=2-0.9.2:www/py-httplib2 \
|
||||
${PYTHON_PKGNAMEPREFIX}Jinja>=1.2:devel/py-Jinja \
|
||||
${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.23:textproc/py-MarkupSafe \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.4.3:math/py-matplotlib \
|
||||
${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock \
|
||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy \
|
||||
${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2,1:math/py-numpy \
|
||||
${PYTHON_PKGNAMEPREFIX}pip>=8.0.2:devel/py-pip \
|
||||
${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.3:databases/py-psycopg2 \
|
||||
${PYTHON_PKGNAMEPREFIX}pyspatialite>=3.0.1:databases/pyspatialite \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>=2016.6.1,1:devel/py-pytz \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-core>=4.8.5:devel/py-qt4-core \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:x11-toolkits/py-qt4-gui \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-network>=4.8.5:net/py-qt4-network \
|
||||
|
@ -105,7 +130,11 @@ PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0.14.3:devel/py-future \
|
|||
${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.8.5:graphics/py-qt4-svg \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-webkit>=4.11.1:www/py-qt4-webkit \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-xml>=4.5.4:textproc/py-qt4-xml \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
|
||||
${PYTHON_PKGNAMEPREFIX}sip>=4.14.6:devel/py-sip \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.6:databases/py-sqlite3 \
|
||||
${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml
|
||||
PYTHON_CMAKE_ON= -DWITH_BINDINGS:BOOL=TRUE
|
||||
PYTHON_CMAKE_OFF= -DWITH_BINDINGS:BOOL=FALSE
|
||||
|
@ -114,6 +143,9 @@ SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi
|
|||
SERVER_CMAKE_ON= -DWITH_SERVER:BOOL=TRUE
|
||||
SERVER_CMAKE_OFF= -DWITH_SERVER:BOOL=FALSE
|
||||
|
||||
TESTS_CMAKE_ON= -DENABLE_TESTS=TRUE
|
||||
TESTS_CMAKE_OFF= -DENABLE_TESTS=FALSE
|
||||
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
@ -134,15 +166,8 @@ pre-patch:
|
|||
# [Ugly workaround!] Because of GitHub #76aa035 from 2015-05-23
|
||||
# 'Hide shared library symbols by default on GCC and Clang',
|
||||
# some layer properties are not visible on FreeBSD > 9.x
|
||||
@${REINPLACE_CMD} -e 's|SET(CMAKE_CXX_FLAGS "$${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")|#SET(CMAKE_CXX_FLAGS "$${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")|g' \
|
||||
${WRKSRC}/src/analysis/CMakeLists.txt \
|
||||
${WRKSRC}/src/app/CMakeLists.txt \
|
||||
${WRKSRC}/src/core/CMakeLists.txt \
|
||||
${WRKSRC}/src/customwidgets/CMakeLists.txt \
|
||||
${WRKSRC}/src/gui/CMakeLists.txt \
|
||||
${WRKSRC}/src/plugins/CMakeLists.txt \
|
||||
${WRKSRC}/src/python/CMakeLists.txt \
|
||||
${WRKSRC}/src/server/CMakeLists.txt
|
||||
@${REINPLACE_CMD} -e 's|SET(CMAKE_CXX_VISIBILITY_PRESET hidden)|#SET(CMAKE_CXX_VISIBILITY_PRESET hidden)|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
@ -162,6 +187,8 @@ post-patch:
|
|||
${WRKSRC}/src/plugins/grass/scripts/qgis.v.upgrade.py \
|
||||
${WRKSRC}/src/plugins/grass/scripts/r.external.all.py \
|
||||
${WRKSRC}/src/plugins/grass/scripts/db.connect-login.pg.py
|
||||
@${REINPLACE_CMD} -e 's|markupsafe ||g' \
|
||||
${WRKSRC}/python/ext-libs/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
${RM} ${STAGEDIR}${DATADIR}/python/pygments/util.py.bak
|
||||
|
@ -178,4 +205,7 @@ post-install:
|
|||
${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png
|
||||
.endfor
|
||||
|
||||
check:
|
||||
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1464843777
|
||||
SHA256 (qgis-QGIS-final-2_14_3_GH0.tar.gz) = 5423fff2b0ed0572eb01700b7a5b8ba4e06f7d59392ec0a9e1b3dbeb7fe44608
|
||||
SIZE (qgis-QGIS-final-2_14_3_GH0.tar.gz) = 87864988
|
||||
TIMESTAMP = 1482452795
|
||||
SHA256 (qgis-QGIS-final-2_18_2_GH0.tar.gz) = d61c0b28bc9aa84b36bbe8b25cb4432b5f8d31836431976d5bc8d43d4808647b
|
||||
SIZE (qgis-QGIS-final-2_18_2_GH0.tar.gz) = 98127033
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
--- debian/qgis.desktop.orig 2016-02-26 12:23:48 UTC
|
||||
--- debian/qgis.desktop.orig 2016-10-21 12:14:02 UTC
|
||||
+++ debian/qgis.desktop
|
||||
@@ -1,7 +1,9 @@
|
||||
[Desktop Entry]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- src/plugins/grass/CMakeLists.txt.orig 2015-10-23 12:10:38 UTC
|
||||
--- src/plugins/grass/CMakeLists.txt.orig 2016-10-21 12:14:02 UTC
|
||||
+++ src/plugins/grass/CMakeLists.txt
|
||||
@@ -195,6 +195,7 @@ MACRO(ADD_GRASSPLUGIN GRASS_BUILD_VERSIO
|
||||
@@ -202,6 +202,7 @@ MACRO(ADD_GRASSPLUGIN GRASS_BUILD_VERSIO
|
||||
qgis_app
|
||||
qgis_gui
|
||||
${OPENPTY_LIBRARY}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
--- src/plugins/grass/qtermwidget/kpty.cpp.orig 2015-10-23 12:10:38 UTC
|
||||
--- src/plugins/grass/qtermwidget/kpty.cpp.orig 2016-10-21 12:14:02 UTC
|
||||
+++ src/plugins/grass/qtermwidget/kpty.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
+#define HAVE_UTEMPTER
|
||||
+#define HAVE_UTMPX
|
||||
#define HAVE_LOGIN
|
||||
#define HAVE_LIBUTIL_H
|
||||
+#define HAVE_UTEMPTER
|
||||
#endif
|
||||
|
||||
#ifdef __sgi
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue