@qs9rx
i maintained this package a while ago, and had it compiled side by side with stable qgis back then. there are some old PKGBUILDs in the revision history here that may be of interest to you, notably using RPATH in the pkgbuild.
Git Clone URL: | https://aur.archlinux.org/qgis-git.git (read-only, click to copy) |
---|---|
Package Base: | qgis-git |
Description: | Geographic Information System (GIS) that supports vector, raster & database formats - Development master |
Upstream URL: | http://qgis.org/ |
Keywords: | GIS Qt5 |
Licenses: | GPL |
Provides: | qgis |
Submitter: | okanisis |
Maintainer: | gaelic (Fincer, qs9rx) |
Last Packager: | qs9rx |
Votes: | 17 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-20 03:06 (UTC) |
Last Updated: | 2023-09-10 10:53 (UTC) |
@qs9rx
i maintained this package a while ago, and had it compiled side by side with stable qgis back then. there are some old PKGBUILDs in the revision history here that may be of interest to you, notably using RPATH in the pkgbuild.
Dropped the patches as it compiled fine for me with exiv2 0.28.0-3
and protobuf 24.2-1
.
I tried to harmonize this package with the main qgis package https://gitlab.archlinux.org/archlinux/packaging/packages/qgis but I am getting out of my league and would appreciate some help keeping
qgis-gitinstallable next to
qgis` without conflicts:
-DBINDINGS_GLOBAL_INSTALL=FALSE
leads to the "qgis
" python module installed to /opt/qgis-git/share/qgis/python/qgis
so there are no conflicts with the /usr/lib/python*/site-packages/qgis
module by the qgis
package.
(TBH I am not sure that is even correct and fully referenced by the resulting QGIS package.)
But if we also enable -DWITH_CUSTOM_WIDGETS=TRUE
there are still two conflicts:
- qgis-git: /usr/lib/python3.11/site-packages/PyQt5/uic/widget-plugins/qgis_customwidgets.py exists in filesystem (owned by qgis)
- qgis-git: /usr/lib/qt/plugins/designer/libqgis_customwidgets.so exists in filesystem (owned by qgis)
Any idea how to solve that? It would be great if this package also had the custom widgets usable in an easy way.
Else I will probably set conflicts=(qgis)
in the future and stop all the special treatment in this package.
For now I have removed the -DWITH_CUSTOM_WIDGETS=TRUE
option so the package does not build those, just like before.
Very nice, thank you! I switched this package to sip-65 for now.
Needs sip<=6.5.1 until https://www.riverbankcomputing.com/pipermail/pyqt/2022-April/044584.html is fixed.
@MarsSeed: Work is hard and I don't have unlimited time or energy. Sorry!
Anyways, it turns out that a) I meant untwine-git, not pdal-git and b) untwine comes bundled as a copy with the QGIS repo and is build by default so the package works just fine already. :)
@qs9rx, why don't you create an AUR/pdal-qgis-git package?
AUR is meant for user-side automated build and update, not for forcing users to edit PKGBUILDs and build manually.
So it would seem the logical and convenient solution for me to create that new package and make qgis-git depend on that.
I pushed a fairly big update with a change of the build system to ninja and some changes in the depends
.
Please be aware that currently you will need to build pdal-git with a modified PKGBUILD! Use source=("git+https://github.com/PDAL/PDAL#branch=qgis")
, build and install, then you can build qgis-git
. Alternatively, if you do not need PDAL support (point clouds), disable it in the PKGBUILD. Sorry, I hope this will be solved upstream.
If something is broken, your patch is welcome ;)
That's not a resolution, you just need to stop it from trying to link to that lib. libdl.so.2 is just a stub for compabibility.
Pinned Comments
gaelic commented on 2017-03-06 20:58 (UTC) (edited on 2018-07-22 09:39 (UTC) by gaelic)
Please note:
This is the master branch of qgis (3.30) which may not be able to compile because of upstream problems or rapid changes in dependencies.