Bug 150157 - [maintainer update] math/saga: update from 2.0.4 to 2.0.5 and bugfixes
Summary: [maintainer update] math/saga: update from 2.0.4 to 2.0.5 and bugfixes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 18:50 UTC by Rainer Hurling
Modified: 2010-09-04 14:00 UTC (History)
0 users

See Also:


Attachments
file.diff (11.67 KB, patch)
2010-08-31 18:50 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2010-08-31 18:50:03 UTC
This is an update of the linux sources of SAGA GIS (2.0.4 to 2.0.5) with many new modules and features. Some minor bugfixes are also included.

The updated port now supports unicode (optional) and PDF output over libharu (optional). Since this version their are manpages (saga_gui and saga_cmd), a Freedesktop entry and so called 'saga tips'.

The port should remain in 'math', because many scientists use SAGA GIS through math/R with package RSAGA as a 'geoprocessor' for large geodata files (tables, grids, shapes etc.).

Fix: Patch attached with submission follows:
Comment 1 Max Brazhnikov freebsd_committer freebsd_triage 2010-09-03 18:52:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

I'll take it.
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2010-09-04 08:38:38 UTC
State Changed
From-To: open->feedback

Hi Rainer. Is there way to completely disable libharu support? if no, 
then it can not be an optional dependency.
Comment 3 Rainer Hurling freebsd_committer freebsd_triage 2010-09-04 09:43:49 UTC
Hi Max, I am not sure if I understand you right. My solution to support 
libharu is a bit tricky.

The port print/libharu installs in /usr/local/lib/, see

ls -1 /usr/local/lib/libhpdf*
/usr/local/lib/libhpdf-2.1.0.so
/usr/local/lib/libhpdf.a
/usr/local/lib/libhpdf.la
/usr/local/lib/libhpdf.so

but is not seen by ldconfig, see

ldconfig -r | grep libhpdf

Because of that the configure script of the original linux sources of 
SAGA GIS is only able to find libharu, if I set following in ports 
Makefile to show the place

.if defined(WITH_HARU)
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
.endif

When the configure script does not found libharu there is a variable
set in the sources which disables the build of HARU support:

DISABLELIBHARU = -D_SAGA_DONOTUSE_HARU

If you have another (less quick and dirty) solution to enable/disable 
libharu support that would be very pleasant.
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-09-04 13:53:53 UTC
makc        2010-09-04 12:53:44 UTC

  FreeBSD ports repository

  Modified files:
    math/saga            Makefile distinfo pkg-descr pkg-plist 
  Added files:
    math/saga/files      patch-Makefile.in patch-dlg_about 
  Log:
  Update to 2.0.5
  
  PR:             based on ports/150157
  Submitted by:   Rainer Hurling (maintainer)
  
  Revision  Changes    Path
  1.6       +39 -8     ports/math/saga/Makefile
  1.2       +3 -3      ports/math/saga/distinfo
  1.1       +14 -0     ports/math/saga/files/patch-Makefile.in (new)
  1.1       +11 -0     ports/math/saga/files/patch-dlg_about (new)
  1.2       +2 -2      ports/math/saga/pkg-descr
  1.2       +24 -50    ports/math/saga/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Max Brazhnikov freebsd_committer freebsd_triage 2010-09-04 13:54:34 UTC
State Changed
From-To: feedback->closed

Commited with some modifications. Thanks!