Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 855509

Summary: >=sci-geosciences/grass-8.0.0: add pdal support (>=sci-libs/pdal-1.7.1) and phase out liblas
Product: Gentoo Linux Reporter: MarisN <maris.gis>
Component: Current packagesAssignee: mario.haustein
Status: RESOLVED FIXED    
Severity: enhancement CC: proxy-maint, sci-geosciences, thomas.bettler
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26186
Whiteboard:
Package list:
Runtime testing required: ---

Description MarisN 2022-07-01 09:32:54 UTC
As sci-geosciences/liblas is a dead project (no development is planned), it should be phased out. Starting with GRASS release 8.0.0 liblas is replaced with PDAL (still not for 100% of functionality yet).

Reproducible: Didn't try




PDAL version 1.7.1 is the minimum required although I would suggest to go with >=2.0
GRASS <8.0.2 wasn't compatible with PDAL >=2.4.0.

No PRs or testing as I have moved away from Gentoo for some time already.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-01 09:34:23 UTC
Thanks for the report! Sorry to hear though.
Comment 2 mario.haustein 2022-07-01 12:23:31 UTC
I will add the pdal USE-flag currently used by sci-geosciences/qgis to build sci-geosciences/grass against sci-libs/pdal.

As long as sci-geosciences/liblas is supported by Grass and kept in the portage repo, I would like to keep this dependency. But if either is dropped, we will remove it from the ebuild.

Unfortunately we have to drop the ppc keyword, since sci-libs/pdal is only available for amd64 and x86.
Comment 3 MarisN 2022-07-02 09:06:32 UTC
(In reply to mario.haustein from comment #2)
> As long as sci-geosciences/liblas is supported by Grass and kept in the
> portage repo, I would like to keep this dependency. But if either is
> dropped, we will remove it from the ebuild.

That's fine as long as liblas compiles and runs. Other distros have already dropped liblas from their repos and thus PDAL is the only way forward. At the moment there are no plans to remove liblas support from GRASS but it shouldn't be an argument if keeping liblas in portage starts to become a problem.
Comment 4 Larry the Git Cow gentoo-dev 2022-07-15 01:56:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2514ba75cc3dec365f87e90d0eabef6b5b88bee8

commit 2514ba75cc3dec365f87e90d0eabef6b5b88bee8
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2022-07-01 12:13:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 01:48:14 +0000

    sci-geosciences/grass: add support for sci-libs/pdal
    
    Closes: https://bugs.gentoo.org/855509
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/26186
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-geosciences/grass/grass-7.8.7-r1.ebuild | 271 ++++++++++++++++++++++++++
 sci-geosciences/grass/grass-8.0.2-r1.ebuild | 286 ++++++++++++++++++++++++++++
 sci-geosciences/grass/grass-8.2.0-r1.ebuild | 286 ++++++++++++++++++++++++++++
 sci-geosciences/grass/grass-9999.ebuild     |   7 +-
 sci-geosciences/grass/metadata.xml          |   1 +
 5 files changed, 849 insertions(+), 2 deletions(-)