<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/saga-gis/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/saga-gis/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 22 Dec 2023 11:36:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/saga-gis/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#20 Install PySAGA relative to install prefix</title><link>https://sourceforge.net/p/saga-gis/patches/20/?limit=25#c15b</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rainer Hurling</dc:creator><pubDate>Fri, 22 Dec 2023 11:36:37 -0000</pubDate><guid>https://sourceforge.net3b519076dff7e074fd34416839bec457aac8652e</guid></item><item><title>#20 Install PySAGA relative to install prefix</title><link>https://sourceforge.net/p/saga-gis/patches/20/?limit=25#c3c3/473d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Rainer!&lt;/p&gt;
&lt;p&gt;the last days I had time to build SAGA from git with your patch included. There were no problems at all. In both cases (rpmbuild and development environment) the PySAGA  package installed correctly.  As far as I'm concerned,  this ticked can be closed. Thank you!&lt;/p&gt;
&lt;p&gt;Regards, Manfred&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manfed Egger</dc:creator><pubDate>Mon, 18 Dec 2023 11:49:49 -0000</pubDate><guid>https://sourceforge.net21d928b7c613856d853135fefa5628781b1aee88</guid></item><item><title>#20 Install PySAGA relative to install prefix</title><link>https://sourceforge.net/p/saga-gis/patches/20/?limit=25#c3c3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Rainer,&lt;/p&gt;
&lt;p&gt;thank you very much for all you work regarding this patch and even reaching out to the core team to get it integrated! Interesting to see how cmake seems to handle variables on FreeBSD compared to linux. I am going to do test builds from git the following days.&lt;/p&gt;
&lt;p&gt;Thank you again!&lt;br/&gt;
Kind regards,&lt;br/&gt;
Manfred&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manfed Egger</dc:creator><pubDate>Mon, 11 Dec 2023 19:21:25 -0000</pubDate><guid>https://sourceforge.netb18660b9c7a60ed3193d9a9c53d3f812445819d4</guid></item><item><title>#20 Install PySAGA relative to install prefix</title><link>https://sourceforge.net/p/saga-gis/patches/20/?limit=25#b261</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Manfred,&lt;br/&gt;
Sorry for the late reponse.&lt;/p&gt;
&lt;p&gt;I have tried your patch on &lt;strong&gt;FreeBSD&lt;/strong&gt; (a Unix derivative, not Linux). FreeBSD differs mainly due to partly different path conventions. In fact, the CMAKE system also seems to use some variables differently or not at all compared to Linux. &lt;/p&gt;
&lt;p&gt;First, I checked whether the patch can be applied and what the result looks like. Since the CMakeLists.txt has been updated in the meantime, I had to make slight adjustments. Then I started testing :)&lt;/p&gt;
&lt;p&gt;The standard case under FreeBSD is to install the existing package (under system paths) and use it. Therefore, I first checked whether the system-wide installation still works as usual with the patch. This is definitely the case :)&lt;/p&gt;
&lt;p&gt;I then added the patch to a fresh Git repository in the home directory and then prepared the build and installation under user rights using cmake-gui. After that I built with 'make'. This also worked well. However, the subsequent 'make install' aborted with the following error message:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;Install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;project&lt;/span&gt;&lt;span class="o"&gt;...&lt;/span&gt;
&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;configuration&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Release"&lt;/span&gt;
&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Installing&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;share&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;saga&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;toolchains&lt;/span&gt;
&lt;span class="n"&gt;CMake&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Error&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;at&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rhurlin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;saga&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gis&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;accessories&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cmake_install&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cmake&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;41&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;INSTALL&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;cannot&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;make&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;directory&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"/usr/local/share/saga/toolchains"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;No&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;such&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;or&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;directory&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Call&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Stack&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;most&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;recent&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;rhurlin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;saga&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;gis&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cmake_install&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cmake&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;include&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;cmake_install&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cmake&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;42&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;include&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;It turned out that I also had to specify an installation path in the user area. With &lt;code&gt;CMAKE_INSTALL_PREFIX=./saga-9.3&lt;/code&gt; in my case, the installation worked as expected.&lt;/p&gt;
&lt;p&gt;After consulting with the SAGA core team, I committed the customized version of the patch, see &lt;a class="" href="https://sourceforge.net/p/saga-gis/code/ci/1010ea9d48c46a330d224084802b9dc2d1253644/"&gt;1010ea9d4&lt;/a&gt;. Many thanks for the patch!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rainer Hurling</dc:creator><pubDate>Mon, 11 Dec 2023 18:14:00 -0000</pubDate><guid>https://sourceforge.net39b3cf2dc1b1dfac75afcae1596cd9ae89e11f02</guid></item><item><title>Install PySAGA relative to install prefix</title><link>https://sourceforge.net/p/saga-gis/patches/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear SAGA Team!&lt;/p&gt;
&lt;p&gt;Currently, the &lt;code&gt;PySAGA&lt;/code&gt; package is installed to the &lt;code&gt;Python_SITEARCH&lt;/code&gt; directory (e.g. &lt;code&gt;/usr/lib64/python3.12/site-packages/&lt;/code&gt;). This normally resides in &lt;code&gt;/usr/&lt;/code&gt;where a non-privileged user has no write access. Unfortunately, it is further not possible to change the installation directory during the installation process at all.&lt;/p&gt;
&lt;p&gt;The main objective is to make the install path relative to a possibly specified prefix and also to follow the python directory conventions. This would non-privileged users allow installation of the &lt;code&gt;PySAGA&lt;/code&gt; package, e.g. for development or testing.&lt;/p&gt;
&lt;p&gt;The attached patch contains changes to the saga_api_python cmake routine: the new install path is now derived from the &lt;code&gt;CMAKE_INSTALL_LIBDIR&lt;/code&gt;  (e.g. &lt;code&gt;lib64&lt;/code&gt;, which is relative to the given &lt;code&gt;PREFIX&lt;/code&gt;). The rest of the path follows the directory naming for python site-packages directories. Therefore it is compatible with Linux system standards.&lt;/p&gt;
&lt;p&gt;The changes are not tested completely -- especially on other systems. As far as I can tell, they seem to work in both cases: with specified prefix (testing) and without (rpmbuild environment). Please have a look at the provided file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manfed Egger</dc:creator><pubDate>Tue, 28 Nov 2023 21:09:32 -0000</pubDate><guid>https://sourceforge.netc8b7f5f36176e52b422ab90ea686c379b4a86912</guid></item><item><title>Install PySAGA relative to install prefix</title><link>https://sourceforge.net/p/saga-gis/patches/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 20 has been modified: Install PySAGA relative to install prefix&lt;br/&gt;
Edited By: Rainer Hurling (rhurlin)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manfed Egger</dc:creator><pubDate>Tue, 28 Nov 2023 21:09:32 -0000</pubDate><guid>https://sourceforge.netf8ca3a6d6da0c01bf572bc05a84e4021dd7713bc</guid></item><item><title>#19 Update deprecated include path for Qhull</title><link>https://sourceforge.net/p/saga-gis/patches/19/?limit=25#5eb9</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Volker Wichmann</dc:creator><pubDate>Tue, 14 Apr 2020 07:57:17 -0000</pubDate><guid>https://sourceforge.net6171c1261b5f9b5e3d80da6550815486d96f7a22</guid></item><item><title>#19 Update deprecated include path for Qhull</title><link>https://sourceforge.net/p/saga-gis/patches/19/?limit=25#673a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tried it on my machine and looks good to me!&lt;br/&gt;
Thank you for the quick response!&lt;/p&gt;
&lt;p&gt;Timo&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Timo Röhling</dc:creator><pubDate>Tue, 14 Apr 2020 07:53:04 -0000</pubDate><guid>https://sourceforge.net6078dc9a7b68a42eef750614d78285b721699c6e</guid></item><item><title>#19 Update deprecated include path for Qhull</title><link>https://sourceforge.net/p/saga-gis/patches/19/?limit=25#de1d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Timo,&lt;/p&gt;
&lt;p&gt;I've just committed a fix&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/p/saga-gis/code/ci/6bd7b8a81c2ea1af1cef4a156c9108d48f43491b/"&gt;https://sourceforge.net/p/saga-gis/code/ci/6bd7b8a81c2ea1af1cef4a156c9108d48f43491b/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;with a slighty different approach. Could you please check if this works for you (as I only have the old library available here)?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Volker&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Volker Wichmann</dc:creator><pubDate>Mon, 13 Apr 2020 14:14:17 -0000</pubDate><guid>https://sourceforge.net0ee5655acb6f90cfa8fb87fb4695f9d46bff7442</guid></item><item><title>#19 Update deprecated include path for Qhull</title><link>https://sourceforge.net/p/saga-gis/patches/19/?limit=25#5cbb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Perfect! I will implement this within the next days,&lt;/p&gt;
&lt;p&gt;thanks again!&lt;br/&gt;
Volker&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Volker Wichmann</dc:creator><pubDate>Sun, 12 Apr 2020 12:13:02 -0000</pubDate><guid>https://sourceforge.net8f855541e180e8cb72254b16698ba63f6072573f</guid></item></channel></rss>