gaelic: thanks for this PKGBUILD, yet
I needed python-sip-pyqt5 for this to build, FYI
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: | 2025-01-24 21:35 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 12 Next › Last »
gaelic: thanks for this PKGBUILD, yet
I needed python-sip-pyqt5 for this to build, FYI
-# Maintainer: Doug Newgard <scimmia at archlinux dot info>
-# Maintainer: XavierCLL <xavier.corredor.llano (a) gmail.com>
-# Contributor: SaultDon <sault.don gmail>
-# Contributor: Lantald < lantald at gmx.com >
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
-# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-# Contributor: Eric Forgeot < http://esclinux.tk >
-
-# Globe Plugin and Map Server are disabled in cmake by default.
-# Uncomment them in the build() portion if you'd like them enabled.
-# You will also need to install osgearth or fcgi, respectively, before building.
+# Maintainer: gaelic
What an asshat
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found exiv2: /usr/lib/libexiv2.so
CMake Error at src/providers/wms/CMakeLists.txt:1 (FIND_PACKAGE):
By not providing "FindQt5XmlPatterns.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5XmlPatterns", but CMake did not find one.
Could not find a package configuration file provided by "Qt5XmlPatterns"
with any of the following names:
Qt5XmlPatternsConfig.cmake
qt5xmlpatterns-config.cmake
Add the installation prefix of "Qt5XmlPatterns" to CMAKE_PREFIX_PATH or set
"Qt5XmlPatterns_DIR" to a directory containing one of the above files. If
"Qt5XmlPatterns" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeOutput.log".
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
We may need qt5-xmlpatterns
?
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
EXIV2_INCLUDE_DIR=EXIV2_INCLUDE_DIR-NOTFOUND
EXIV2_LIBRARY=EXIV2_LIBRARY-NOTFOUND
CMake Error at cmake/FindEXIV2.cmake:21 (MESSAGE):
Could not find exiv2
Call Stack (most recent call first):
src/analysis/CMakeLists.txt:198 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeOutput.log".
See also "/build/qgis-git/src/qgis/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
A new dependency is needed now...
Update please to 3.5 branch https://gist.github.com/samtux/b0ab178672b95ee04de235f475f8c4f8
@petronny and @gaelic. The patch qgis-3-fix-sip-name.patch is not necessary, please update the PKGBUILD.
==> 正在开始 prepare()...
patching file python/CMakeLists.txt
Hunk #1 FAILED at 174.
Hunk #2 FAILED at 198.
Hunk #3 FAILED at 227.
Hunk #4 FAILED at 257.
4 out of 4 hunks FAILED -- saving rejects to file python/CMakeLists.txt.rej
patching file python/plugins/processing/gui/NumberInputPanel.py
Hunk #1 FAILED at 27.
1 out of 1 hunk FAILED -- saving rejects to file python/plugins/processing/gui/NumberInputPanel.py.rej
patching file src/python/qgspythonutilsimpl.cpp
Hunk #1 FAILED at 104.
1 out of 1 hunk FAILED -- saving rejects to file src/python/qgspythonutilsimpl.cpp.rej
Allright, I fixed the PKGBUILD, keeping 'qgis-git' arguments as well. Link here:
https://pastebin.com/raw/8Nc20AT9
In addition, I had to apply the following patch (which is named as 'qgis-3-fix-sip-name.patch' in the PKGBUILD):
https://issues.qgis.org/attachments/download/13041/qgis-3.2.1-fix-sip-name.patch
PKGBUILD lines 38-39 are outdated due to the following recent commit:
https://github.com/qgis/QGIS/commit/52a80d895c45876bfdf97d194c7f666031412b5d
linux/org.qgis.qgis.desktop is now replaced by linux/org.qgis.qgis.desktop.in
In addition, at least on my system the Exec file generated is 'qgis-git', not 'qgis'. As far as I understand, this renders sed line 36 outdated as well (should the regex be 's/Exec=qgis/Exec=qgis-git/g' instead?)
This little difference in executable name makes the QGis desktop file invisible on my Linux desktop. Correct Exec naming in QGis desktop file fixes the issue for me.
The patch works fine! Updated PKGBUILD here: https://pastebin.com/raw/RnTBmAWp
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.