Package Details: qgis-ltr 3.34.4-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
Conflicts: qgis
Provides: qgis
Submitter: okanisis
Maintainer: buzo
Last Packager: buzo
Votes: 16
Popularity: 0.005246
First Submitted: 2015-07-08 16:37 (UTC)
Last Updated: 2024-03-09 16:59 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

lorenzogrv commented on 2024-03-09 10:58 (UTC)

It has moved on

buzo commented on 2024-03-07 17:30 (UTC)

I will move this package to 3.34 when the qgis package has moved to 3.36. Please flag this package out-of-date if I miss that.

lorenzogrv commented on 2024-02-29 19:04 (UTC) (edited on 2024-02-29 19:06 (UTC) by lorenzogrv)

QGIS has moved LTR to 3.34-x, current version is 3.34.4

Fortunately, arch official package PKGBUILD still builds on 3.34.3 and eases moving on.

Got it working right now. In addition to bumping version and sha256sum within the PKGBUILD:

  • Remove patches for exiv2 and protobuf (no longer needed)
  • Re-enabled PDAL and SIP
  • Check dependency lists, in addition to pdal and sip I needed draco and qt5-multimedia to build succesfully
  • python-gdal and python-owslib are also missing deps and are needed for some core plugins to work (processing and metasearch)

kikislater commented on 2023-12-12 19:02 (UTC)

Qgis not LTR but some improvements from Extra (as it's not really reliable and could not considerate working with qgis from extra repository): https://aur.archlinux.org/packages/qgis-qtwebkit like qtwebkit, grass, build with qgis landing page (qgis server) and temporary sip 6.7.12 (could be usefull if you need to build this qgis-ltr)

lorenzogrv commented on 2023-12-04 14:44 (UTC)

@buzo I researched a patch to allow building with PDAL 2.6 after diving within qgis repo.

Could you test within your env? here looks good

Notes for future about PKGBUILD: - Update source version to v3.28.13 - Add patch source and sha256sum, apply patch within prepare()

diff --git a/cmake/FindPDAL.cmake b/cmake/FindPDAL.cmake
index 1899d26..32732d6 100644
--- a/cmake/FindPDAL.cmake
+++ b/cmake/FindPDAL.cmake
@@ -7,8 +7,7 @@
 # CMake module to search for PDAL library
 #
 # If it's found it sets PDAL_FOUND to TRUE
-# and following variables are set:
-#    PDAL_INCLUDE_DIR
+# and adds the following variable containing library target(s):
 #    PDAL_LIBRARIES

 # FIND_PATH and FIND_LIBRARY normally search standard locations
@@ -18,6 +17,28 @@
 # locations. When an earlier FIND_* succeeds, subsequent FIND_*s
 # searching for the same item do nothing.

+find_package(PDAL CONFIG)
+
+if(PDAL_FOUND)
+  if(NOT PDAL_FIND_QUIETLY)
+    message(STATUS "Found PDAL: ${PDAL_LIBRARIES} (${PDAL_VERSION})")
+  endif()
+
+  if(PDAL_VERSION VERSION_LESS "1.7.0")
+    message(FATAL_ERROR "PDAL version is too old (${PDAL_VERSION}). Use 1.7 or higher.")
+  endif()
+
+  if(MSVC)
+    foreach(PDAL_TARG ${PDAL_LIBRARIES})
+      target_compile_definitions(${PDAL_TARG} INTERFACE WIN32_LEAN_AND_MEAN)
+    endforeach()
+  endif()
+
+  return()
+endif()
+
+# Fallback for systems where PDAL's config-file package is not present.
+# It is not adapted for PDAL 2.6+ (where pdal_util library is removed).
 FIND_PATH(PDAL_INCLUDE_DIR pdal/pdal.hpp
   "$ENV{LIB_DIR}/include"
   "/usr/include"
@@ -50,7 +71,7 @@ FIND_PROGRAM(PDAL_BIN pdal)

 IF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY AND PDAL_BIN)
    SET(PDAL_FOUND TRUE)
-   SET(PDAL_LIBRARIES ${PDAL_CPP_LIBRARY} ${PDAL_UTIL_LIBRARY})
+   SET(PDAL_LIBRARIES pdalcpp pdal_util)
 ENDIF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY AND PDAL_BIN)

 IF (PDAL_FOUND)
@@ -60,8 +81,8 @@ IF (PDAL_FOUND)
    OUTPUT_VARIABLE PDAL_VERSION_OUT )
     STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\1" PDAL_VERSION_MAJOR "${PDAL_VERSION_OUT}")
     STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\2" PDAL_VERSION_MINOR "${PDAL_VERSION_OUT}")
-    STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\3" PDAL_VERSION_MICRO "${PDAL_VERSION_OUT}")
-    STRING(CONCAT PDAL_VERSION ${PDAL_VERSION_MAJOR} "." ${PDAL_VERSION_MINOR} "." ${PDAL_VERSION_MICRO})
+    STRING(REGEX REPLACE "^.*([0-9]+)\\.([0-9]+)\\.([0-9]+).*$" "\\3" PDAL_VERSION_PATCH "${PDAL_VERSION_OUT}")
+    STRING(CONCAT PDAL_VERSION ${PDAL_VERSION_MAJOR} "." ${PDAL_VERSION_MINOR} "." ${PDAL_VERSION_PATCH})

    IF (NOT PDAL_FIND_QUIETLY)
       MESSAGE(STATUS "Found PDAL: ${PDAL_LIBRARIES} (${PDAL_VERSION})")
@@ -71,6 +92,21 @@ IF (PDAL_FOUND)
       MESSAGE (FATAL_ERROR "PDAL version is too old (${PDAL_VERSION}). Use 1.7 or higher.")
    ENDIF()

+   add_library(pdalcpp UNKNOWN IMPORTED)
+   target_link_libraries(pdalcpp INTERFACE ${PDAL_CPP_LIBRARY})
+   target_include_directories(pdalcpp INTERFACE ${PDAL_INCLUDE_DIR})
+   set_target_properties(pdalcpp PROPERTIES IMPORTED_LOCATION ${PDAL_CPP_LIBRARY})
+
+   add_library(pdal_util UNKNOWN IMPORTED)
+   target_link_libraries(pdal_util INTERFACE ${PDAL_UTIL_LIBRARY})
+   target_include_directories(pdal_util INTERFACE ${PDAL_INCLUDE_DIR})
+   set_target_properties(pdal_util PROPERTIES IMPORTED_LOCATION ${PDAL_UTIL_LIBRARY})
+
+   if(MSVC)
+     target_compile_definitions(pdalcpp INTERFACE WIN32_LEAN_AND_MEAN)
+     target_compile_definitions(pdal_util INTERFACE WIN32_LEAN_AND_MEAN)
+   endif()
+
 ELSE (PDAL_FOUND)
    IF (PDAL_FIND_REQUIRED)
      MESSAGE(FATAL_ERROR "Could not find PDAL")

buzo commented on 2023-12-04 13:58 (UTC)

I have disabled pdal and sip (Python bindings) until these two upstream issues are fixed.

buzo commented on 2023-12-01 13:56 (UTC)

Unfortunately, even when disabling pdal it fails to build, so I have created another upstream issue.

kikislater commented on 2023-11-30 18:09 (UTC)

Yes they didn't finish to remove pdal_util références :/

https://github.com/PDAL/PDAL/pull/4267

buzo commented on 2023-11-30 17:30 (UTC)

I've already noticed this error when trying to update this package to 3.28.13, and found that patch, too. But unfortunately that patch cannot be applied to the LTR version, so I have opened a new issue. I think we have to wait until this is fixed by upstream.

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

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