Thanks @Alister.Hood, all changes were made.
Search Criteria
Package Details: saga-gis 2.2.0-2
Package Actions
| Package Base: | saga-gis |
|---|---|
| Description: | A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis. |
| Upstream URL: | http://www.saga-gis.org |
| Category: | science |
| Licenses: | |
| Submitter: | None |
| Maintainer: | geosam |
| Last Packager: | geosam |
| Votes: | 6 |
| First Submitted: | 2007-07-16 01:57 |
| Last Updated: | 2015-07-07 13:16 |
Dependencies (11)
Required by (0)
Sources
Latest Comments
Comment by geosam
Comment by geosam
@apinhal, verifying the Web site SAGA GIS [1], the supported version of LibLAs is 1.2 and the current version is 1.8 [2].
You could compile an old version of libLAS, but could present some problems with some packages like GRASS GIS.
[1] http://sourceforge.net/p/saga-gis/discussion/354013/thread/823cbde1/#c730
[2] https://aur.archlinux.org/packages/liblas/
Comment by apinhal
Is it possible to add the libLAS support on SAGA GIS?
http://dominoc925.blogspot.pt/2011/08/display-information-about-las-file-in.html
Thanks
Comment by Alister.Hood
install: cannot stat ‘/tmp/yaourt-tmp-root/aur-saga-gis/logo_saga.png’: No such file or directory
The relevant line should be changed to this:
install -D -m644 $srcdir/logo_saga.png $pkgdir/${pkgname}/usr/share/pixmaps/${pkgname}.png
the other instances of $startdir should really be cleaned out too.
Comment by geosam
Updated saga with wxgtk from repository packages. Thank @saultdon
Comment by saultdon
The latest build of wxgtk 3.0.1-2 from extra now excludes --enable-stl
Comment by Alister.Hood
Oh, sorry - I see your "hesitant" description.
Comment by Alister.Hood
For the record, the word from the saga people was that the requirement for no Stl was for good reason, and you're best trying to get that changed, wasn't it?
Comment by geosam
Thanks for your help @saultdon. I managed to compile SAGA GIS packages creating new wxGTK and wxPython disabling --enable-stl flag, as you mention in a previous post. However, I can not share the update until the problem of the compilation is corrected, either from SAGA GIS or from wxGTK. I see more feasible that we request the correction from SAGA GIS project.
Comment by saultdon
Oh, and in the next saga-gis build, it's safe to remove webkitgtk2 as a dependency because it's been added as a dependency to wxgtk. It should get picked up now (it isn't a dependency for wxgtk2.8, which isn't used by saga-gis anymore too).
Comment by saultdon
@geosam
I did email the package maintainer and they said they could "absolutely" not submit a new package without --enable-stl =( I'll watch your bug report though.
It may create a push for saga developers to update their entire code base for STL compatibility... But they are hesitant to do that as well.
Comment by saultdon
SAGA 2.1.1 builds but you have to rebuilt wxgtk 3.0.0 without the --enable-stl flag.
https://sourceforge.net/p/saga-gis/discussion/354013/thread/f8d8a47a/
Comment by geosam
@saultdon I get the next error:
------------------------------------------------------------------------
po -c MLB_Interface.cpp -fPIC -DPIC -o .libs/MLB_Interface.o
In file included from PROJ4_Shapes.h:68:0,
from MLB_Interface.cpp:104:
PROJ4_Base.h:70:22: fatal error: projects.h: No such file or directory
------------------------------------------------------------------------
I think it is still necessary to use the libraries proj4. I'll check what the error, thanks.
Comment by saultdon
@geosam - I updated, cleaned and posted a PKGBUILD in my dropbox at https://db.tt/Ag5B3gt5
This doesn't include the old proj4 headers (noticed those weren't being extracted in the current build). Are those still needed?
FreeDesktop functionality is from the src package as well so those aren't in sources() anymore either.
Either way, here's a tidied up PKGBUILD that you can pull some changes in from if you like.
Comment by Jazzhouse
Would anyone be interested in creating a SAGA_CMD only version of this for servers without GUI? I tried myself but even if I add --disable-gui and removed the dependencies I cannot compile it. It still asks for a wxGTK. Maybe one of you can do it???
Comment by Alister.Hood
When building this I recommend people change the "gdal>=1.8.0" to just plain "gdal" - I experienced problems with it not claiming that the dependency wasn't fulfilled otherwise.
Comment by geosam
Saultdon, thank you very much for the contribution. I have included this dependency in PKGBUILD.
Comment by saultdon
I found the missing package with `pkgfile libwebkitgtk-1.0.so.0`:
# extra/webkitgtk2
So I had to add 'webkitgtk2' into the PKGBUILD as another dependency.
Comment by saultdon
Trying to install on a laptop with new arch install and getting a warning before the build fails:
/usr/bin/ld: warning: libwebkitgtk-1.0.so.0, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../lib/libwx_gtk2u_webview-2.9.so, not found (try using -rpath or -rpath-link)
I pasted some of the last part of the build output at pastebin - http://pastebin.com/x1F8UTEP
Comment by saultdon
Sounds about right, cause now that I think of it the project.h was already in this archbox because of previous SAGA 2.0.8 install =) Not good to remove reference to old proj4 headers.
Comment by geosam
saultdon I've tried compiling gis saga without the old proj4 includes, and it reports the error that the file "projects.h" was not found. So far I can not exclude files of PKGBUILD.
Thanks.
Comment by geosam
I will be reviewing old proj headers, however I have errors by excluding them from the includes. Wait get notifications if these headers are no longer needed in the compilation of the latest version of SAGA GIS.
Comment by saultdon
It compiles now, thanks for fixing.
Not sure if it matters, but I did compile without the ubuntuone (old-proj) headers. I just removed that source file line and the md5sum.
Is that going to cause problems? I haven't seen any errros yet from loading a shapefile and doing some simple gridding like density.
Comment by geosam
Thanks saultdon for reporting the error. Again try to update the SAGA GIS package v2.1.0.
Comment by saultdon
Thanks for updating, the new SAGA is awesome.
I'm getting this error:
==> Validating source files with md5sums...
saga_2.1.0_src.zip ... Passed
0zrZeYpPyiwj6gXJkODX6J ... Passed
logo_saga.png ... Passed
saga-gis.desktop ... Passed
==> Extracting sources...
-> Extracting saga_2.1.0_src.zip with bsdtar
-> Extracting 0zrZeYpPyiwj6gXJkODX6J with bsdtar
==> Starting build()...
==> Start compiling ...
make: *** No targets specified and no makefile found. Stop.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build saga-gis.
Comment by geosam
The only way to compile and install saga gis, was modifying the PKGBUILD as shown below in the following web link,
http://paste.ubuntu.com/5753410/
Additionally, you must copy the files to include in the package proj-old, it can be copied to /usr/local/include. Here are the files:
https://www.box.com/s/q4gwrnwvwwspb71uczaf
Comment by cucullus
Here's working PKGBUILD for 2.0.6: http://pastebin.com/mC2FHs0k
Anonymous comment
I found some issues with your tarball. AUR guidelines suggest to not include binaries. Take for example:
saga-gis/saga-gis.png
Other TUs seems to think an icon or two is okay, but maybe you should ask upstream to include it. Please correct this.