From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 26 18:00:20 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A2FA10656B2 for ; Thu, 26 Aug 2010 18:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5CECB8FC1C for ; Thu, 26 Aug 2010 18:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7QI0KXH032286 for ; Thu, 26 Aug 2010 18:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7QI0KsO032285; Thu, 26 Aug 2010 18:00:20 GMT (envelope-from gnats) Resent-Date: Thu, 26 Aug 2010 18:00:20 GMT Resent-Message-Id: <201008261800.o7QI0KsO032285@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, lbartoletti Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A85D106564A for ; Thu, 26 Aug 2010 17:50:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB008FC1E for ; Thu, 26 Aug 2010 17:50:29 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7QHoS7T086275 for ; Thu, 26 Aug 2010 17:50:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7QHoSOk086274; Thu, 26 Aug 2010 17:50:28 GMT (envelope-from nobody) Message-Id: <201008261750.o7QHoSOk086274@www.freebsd.org> Date: Thu, 26 Aug 2010 17:50:28 GMT From: lbartoletti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/149995: Update port graphics/qgis - Update 1.4.0 to 1.5.0 + resolve some build problems X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2010 18:00:20 -0000 >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 #include #include ================================================= 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: