ports/149995: Update port graphics/qgis - Update 1.4.0 to 1.5.0 + resolve some build problems
lbartoletti
coder at tuxfamily.org
Thu Aug 26 18:00:20 UTC 2010
>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 at 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 at FreeBSD.org
+MAINTAINER= coder at 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:
More information about the freebsd-ports-bugs
mailing list