Package Details: qgis-ltr 3.34.6-1

Git Clone URL: https://aur.archlinux.org/qgis-ltr.git (read-only, click to copy)
Package Base: qgis-ltr
Description: Geographic Information System (GIS); Long Term Release
Upstream URL: https://qgis.org/
Keywords: GIS
Licenses: GPL-2.0-or-later
Conflicts: qgis
Provides: qgis
Submitter: okanisis
Maintainer: buzo
Last Packager: buzo
Votes: 16
Popularity: 0.002231
First Submitted: 2015-07-08 16:37 (UTC)
Last Updated: 2024-04-20 20:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

bastoGrande commented on 2023-11-30 16:42 (UTC)

Unfortunately the softlink alone is not working for me. I still get the same error.

kikislater commented on 2023-11-30 09:36 (UTC) (edited on 2023-11-30 09:52 (UTC) by kikislater)

For pdal it needs additional patch => https://github.com/qgis/QGIS/issues/54958

or

cd /usr/lib64
sudo ln -sf libpdalcpp.so.16 libpdalcpp.so

bastoGrande commented on 2023-11-29 19:34 (UTC)

Recently I get the error "Could not find PDAL" in "cmake/FindPDAL.cmake", but I cannot see any error in the file. Anyone else with the error?

geosam commented on 2023-11-15 14:39 (UTC)

I have made the request to enable DWITH_QTWEBKIT in the build but was closed the request by @arojas.

https://bugs.archlinux.org/task/80262

Is there another way to replace the QTWEBKIT, since it has been giving me an error for some time. Is there anyone else with this error?

kikislater commented on 2023-08-23 03:58 (UTC)

Yes I rebuild both with these two packages and webkit enable. About another package I don't know, just sharing my point of view.

Without it, qgis is really limited IMO ... I wonder how others use them in arch !

buzo commented on 2023-08-22 21:32 (UTC)

qt5-webkit and python-pyqt5-webkit are in AUR, so this is possible. So do you think, a new AUR package (e. g. qgis-ltr-qt5-webkit) would be needed?

kikislater commented on 2023-08-16 17:07 (UTC) (edited on 2023-08-16 17:08 (UTC) by kikislater)

Please note also that prebuild package from this AUR is available through arch4edu repository => https://github.com/arch4edu/arch4edu

kikislater commented on 2023-08-16 16:59 (UTC) (edited on 2023-08-16 17:04 (UTC) by kikislater)

Qgis with -DWITH_QTWEBKIT=FALSE has small interest: a ton of usefull plugins are not working like Qgis resource sharing, openlayers plugin, qgis2web, streetview, dataplotly, lizmap, among others. They mostly call embedded Qgis QWebView or QWebPage.

Whereas qt5-webkit and so python-pyqt5-webkit were removed from archlinux upstream packages, should it be some consideration to make another aur package with -DWITH_QTWEBKIT=TRUE ? Installation of python-pyqt5-webkit is not sufficient ... Qgis needs to be rebuild

buzo commented on 2023-08-01 15:53 (UTC)

Thanks lorenzogrv and kikislater, those patches fix the build! (And sorry for the delay.)

lorenzogrv commented on 2023-07-12 20:26 (UTC)

After some digging, I finally was able to build and install. Steps:

  • Update qgis source version to 3.28.8
  • Use gcc (version 13) instead of gcc12 (remove CXX and CC env vars from PKGBUILD and change deps on .SRCINFO
  • Two patches are needed: exiv2-0.28 and protobuf-23 (provided below). Add its source and sha256sums to PKGBUILD
  • Apply the patches adding prepare() to PKGBUILD file
prepare () {
  patch -d $_pkgname-$pkgver -p1 < protobuf-23.patch
  patch -d $_pkgname-$pkgver -p1 < exiv2-0.28.alt.patch
}

exiv2-028.patch (modified from original link by kikislater):

diff --git a/src/core/raster/qgsexiftools.cpp b/src/core/raster/qgsexiftools.cpp
index 7fa2709845..f883d7960c 100644
--- a/src/core/raster/qgsexiftools.cpp
+++ b/src/core/raster/qgsexiftools.cpp
@@ -182,7 +190,11 @@ QVariant decodeExifData( const QString &key, Exiv2::ExifData::const_iterator &it
       case Exiv2::signedLong:
       case Exiv2::unsignedLongLong:
       case Exiv2::signedLongLong:
+#if EXIV2_TEST_VERSION (0, 28, 0)
+        val = QVariant::fromValue( it->toUint32() );
+#else
         val = QVariant::fromValue( it->toLong() );
+#endif
         break;

       case Exiv2::tiffDouble:
@@ -196,7 +208,11 @@ QVariant decodeExifData( const QString &key, Exiv2::ExifData::const_iterator &it
       case Exiv2::signedByte:
       case Exiv2::tiffIfd:
       case Exiv2::tiffIfd8:
+#if EXIV2_TEST_VERSION (0, 28, 0)
+        val = QVariant::fromValue( static_cast< int >( it->toUint32() ) );
+#else
         val = QVariant::fromValue( static_cast< int >( it->toLong() ) );
+#endif
         break;

       case Exiv2::date:

protobuf-23.patch (taken from https://gitlab.archlinux.org/archlinux/packaging/packages/qgis/-/commit/94f9630063006f9e1876482f73764f50fee5531b):

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48a34626b0..e2b5cca718 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -363,7 +363,9 @@ if(WITH_CORE)
     message (SEND_ERROR "sqlite3 dependency was not found!")
   endif()

-  find_package(Protobuf REQUIRED)   # for decoding of vector tiles in MVT format
+  find_package(Protobuf CONFIG REQUIRED)  # for decoding of vector tiles in MVT format
+  find_package(Protobuf) # for protobuf_generate_cpp
+  set(Protobuf_LITE_LIBRARY protobuf::libprotobuf-lite)
   message(STATUS "Found Protobuf: ${Protobuf_LIBRARIES}")
   if (NOT Protobuf_PROTOC_EXECUTABLE)
     message (SEND_ERROR "Protobuf library's 'protoc' tool was not found!")