From owner-freebsd-ports@FreeBSD.ORG Fri Jun 8 02:43:58 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7ECF6106566C for ; Fri, 8 Jun 2012 02:43:58 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 34E438FC08 for ; Fri, 8 Jun 2012 02:43:58 +0000 (UTC) Received: by yenl8 with SMTP id l8so1077861yen.13 for ; Thu, 07 Jun 2012 19:43:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=m4L6pOSprmyK9hfSF8xA6MTQHmSvYdLa6Tvr9e1coN8=; b=hq5cn4FSsk6k9QSlZLKpn2r2XbboI96+nzz8poUKzQF5a2Gd9UuqGfCJjQR7MGhdT9 nmfvXMffJvFo4qR4EX5HfiojU33GAtW6/TZM1KU98bUE5Df9ez5uz396/OJakUoQBWgr wQGocGW2eDhGdT1uFeU0y/+ghhNXNyFIR76GNV0JJNNM9mPx44mjyWvrpMV2kYRZhN6W Rhf+iFbnFsWH/d5xbj2SFsKgusHN036K+wAlBsxk/OZPzMAOV6ldhkSb9hgn38j8VsO9 VG8VaQ2FdCXkubhxWNi7KjWbFMkkBgY22plRN7JuCHKW2P7/R7CA1v4wtcokFd+0hBKW dbfg== Received: by 10.60.19.42 with SMTP id b10mr4427745oee.12.1339123437404; Thu, 07 Jun 2012 19:43:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.29.164 with HTTP; Thu, 7 Jun 2012 19:43:37 -0700 (PDT) In-Reply-To: <4FD04971.5050005@gwdg.de> References: <4FD04971.5050005@gwdg.de> From: Sunpoet Hsieh Date: Fri, 8 Jun 2012 10:43:37 +0800 Message-ID: To: Rainer Hurling Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkc9EUPFSRgMraxWdCGnkeYBNcfM42/ZRAux9ouWSLVtRiIU5OfTLkCJrWz0a/ggXcBHa9c Cc: Dmitry Marakasov , ports , Kurt Jaeger , "coder.tuxfamily" , "Hartmann, O." , Frank Broniewski Subject: Re: [CFT] gdal 1.9.1 update and other changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2012 02:43:58 -0000 On Thu, Jun 7, 2012 at 2:25 PM, Rainer Hurling wrote: > Am 07.06.2012 05:30 (UTC+1) schrieb Sunpoet Po-Chuan Hsieh: >> >> Hi, > > > Many thanks for this update. What I observed so far: > > > (1) graphics/gdal builds and installs fine. There is a minor problem: > dependend port science/libkml (as option) does not configure, if > devel/swig13 is installed. I'll check that again. I've tested it in tinderbox which does not have swig13 in the jail. > (2) graphics/py-gdal asks for option NUMPY several times, even once more = if > it wants to install (after build). The port should be OK without numpy but the array support will not be enabl= ed. I'm considering to turn NUMPY on by default or just change it from optional to required dependency. > (3) graphics(p5-Geo-GDAL gives warnings about unrecognized arguments, but= it > does build and install: > > Building against GDAL defined in /usr/local/bin/gdal-config > Unrecognized argument in LIBS ignored: '-pthread' > Writing Makefile_Geo__OGR for Geo::OGR > Writing MYMETA.yml > Unrecognized argument in LIBS ignored: '-pthread' > Writing Makefile_Geo__GDAL__Const for Geo::GDAL::Const > Writing MYMETA.yml > Unrecognized argument in LIBS ignored: '-pthread' > Writing Makefile_Geo__OSR for Geo::OSR > Writing MYMETA.yml > Unrecognized argument in LIBS ignored: '-pthread' > Writing Makefile_Geo__GDAL for Geo::GDAL > Writing MYMETA.yml > make -f Makefile_Geo__GDAL > > (4) graphics/ruby-gdal builds and installs fine, distinctive features. > > > (5) graphics/php-gdal does not build with following messages: > > =3D=3D=3D> =C2=A0Building for php-gdal-1.9.1 > /usr/bin/sed -e '/^GDAL_ROOT/d' /usr/local/share/gdal/GDALmake.opt > > /usr/ports/graphics/php-gdal/work/gdal-1.9.1/swig/php/../../GDALmake.opt > /bin/cp /usr/local/include/cpl_config.h > /usr/ports/graphics/php-gdal/work/gdal-1.9.1/swig/php/../../port/ > c++ -I../../port -I../../gcore -I../../alg -I../../ogr `php-config > --includes` -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 > -I/usr/local/include -fPIC -c gdal_wrap.cpp > gdal_wrap.cpp: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, > swig_type_info*, int)': > gdal_wrap.cpp:935: error: invalid conversion from 'const char*' to 'char*= ' > gmake: *** [gdal_wrap.o] Fehler 1 > *** [do-build] Error code 1 php-gdal does not build with php 5.4 (lang/php5). PHP_VER=3D53 in the old shar file indicates the ports framework to use php53 but php5 is not prohibited. I've updated the shar file. DEFAULT_PHP_VER=3D53 and IGNORE_WITH_PHP=3D5 should ensure not to use lang/= php5. I haven't tested it with php52. Thanks for your test. :) Regards, sunpoet > Hope this helps, > Rainer > > > >> GDAL 1.9.1 was released several days ago. >> I'd like to make some changes along with this update [1]. >> The most important one is about the language bindings. >> I decide to move them to separate ports: >> - Perl binding: graphics/p5-Geo-GDAL [2] >> - Python binding: graphics/py-gdal [3] >> - PHP binding: graphics/php-gdal [4] >> - Ruby binding: graphics/ruby-gdal [5] >> >> The other changes to the Makefile include: >> - Update to 1.9.1 >> - Build with thread-safe support by default >> - Add lzma support >> - Adjust OPTIONS: >> =C2=A0 - Add ICONV, KML and WEBP >> =C2=A0 - Remove GRASS (cyclic dependency), PERL, PHP, PYTHON, RUBY and >> THREADS (default) >> - Add corresponding CONFIGURE_ARGS for disabled features >> - Cosmetic change >> >> Please test if it works for you. >> If I don't receive critical feedback, I plan to commit them this >> weekend or next Monday. >> >> Thanks! >> >> [1] http://people.freebsd.org/~sunpoet/gdal/gdal-1.9.1.patch >> [2] http://people.freebsd.org/~sunpoet/gdal/p5-Geo-GDAL.shar >> [3] http://people.freebsd.org/~sunpoet/gdal/php-gdal.shar >> [4] http://people.freebsd.org/~sunpoet/gdal/py-gdal.shar >> [5] http://people.freebsd.org/~sunpoet/gdal/ruby-gdal.shar >> >> Regards, >> sunpoet >> > --=20 =C2=A0 Sunpoet Po-Chuan Hsieh =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B = 8CC0 DC44 247E CC57 E36B =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 http://people.FreeBSD.org/~sunpoet/pgpkeys.txt