Date: Thu, 26 Aug 2010 17:50:28 GMT From: lbartoletti <coder@tuxfamily.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/149995: Update port graphics/qgis - Update 1.4.0 to 1.5.0 + resolve some build problems Message-ID: <201008261750.o7QHoSOk086274@www.freebsd.org> Resent-Message-ID: <201008261800.o7QI0KsO032285@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149995 >Category: ports >Synopsis: Update port graphics/qgis - Update 1.4.0 to 1.5.0 + resolve some build problems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Aug 26 18:00:20 UTC 2010 >Closed-Date: >Last-Modified: >Originator: lbartoletti >Release: 8.1 >Organization: coder.tuxfamily.org >Environment: FreeBSD coder.tuxfamily 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Please update the QGis version 1.4.0 to 1.5.0. Furthermore, please correct these compilation problems with this patch. The file kpty.cpp in src/plugins/grass/qtermwidget/kpty.cpp need this additions in the source code : #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) #define HAVE_LOGIN #define HAVE_LIBUTIL_H #endif Add a path (/usr/local/grass) in the FindGRASS.cmake Add some change in Makefile >How-To-Repeat: >Fix: ================================================= Patch FindGRASS.cmake : ================================================= --- cmake/FindGRASS.cmake.orig 2010-08-24 18:46:11.000000000 +0200 +++ cmake/FindGRASS.cmake 2010-08-24 18:46:29.000000000 +0200 @@ -44,7 +44,7 @@ # search for grass installations # list of paths which to search - user's choice as first -SET (GRASS_PATHS ${GRASS_PREFIX} /usr/lib/grass c:/msys/local) +SET (GRASS_PATHS ${GRASS_PREFIX} /usr/lib/grass c:/msys/local /usr/local/grass) # mac-specific path IF (APPLE) ================================================= Patch kpty.cpp : ================================================= --- src/plugins/grass/qtermwidget/kpty.cpp.orig 2010-02-04 23:24:35.000000000 +0100 +++ src/plugins/grass/qtermwidget/kpty.cpp 2010-08-26 06:56:50.000000000 +0200 @@ -45,6 +45,12 @@ # endif #endif + +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) +#define HAVE_LOGIN +#define HAVE_LIBUTIL_H +#endif + #include <sys/types.h> #include <sys/ioctl.h> #include <sys/time.h> ================================================= Patch Makefile : ================================================= --- Makefile.orig 2010-08-26 19:49:39.000000000 +0200 +++ Makefile 2010-08-26 18:22:46.000000000 +0200 @@ -6,13 +6,12 @@ # PORTNAME= qgis -PORTVERSION= 1.4.0 -PORTREVISION= 5 +PORTVERSION= 1.5.0 CATEGORIES= graphics geography MASTER_SITES= http://download.osgeo.org/qgis/src/ DISTNAME= ${PORTNAME}_${PORTVERSION} -MAINTAINER= wen@FreeBSD.org +MAINTAINER= coder@tuxfamily.org COMMENT= Geographical Information System (GIS) data viewer LIB_DEPENDS= geos:${PORTSDIR}/graphics/geos \ @@ -72,7 +71,8 @@ ${PYTHON_PKGNAMEPREFIX}qt4-network>=4.5.4:${PORTSDIR}/net/py-qt4-network \ ${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.5.4:${PORTSDIR}/graphics/py-qt4-svg \ ${PYTHON_PKGNAMEPREFIX}qt4-xml>=4.5.4:${PORTSDIR}/textproc/py-qt4-xml \ - ${PYTHON_PKGNAMEPREFIX}qt4-core>=4.5.4:${PORTSDIR}/devel/py-qt4-core + ${PYTHON_PKGNAMEPREFIX}qt4-core>=4.5.4:${PORTSDIR}/devel/py-qt4-core \ + ${PYTHON_PKGNAMEPREFIX}sqlite3:${PORTSDIR}/databases/py-sqlite3 # For OSM plugins .endif MAN1= qgis.1 qgis_help.1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008261750.o7QHoSOk086274>