Package Details: qlandkartegt 1.8.1-13

Git Clone URL: (read-only, click to copy)
Package Base: qlandkartegt
Description: Use your GPS with Linux
Upstream URL:
Licenses: GPL
Submitter: mawe
Maintainer: None
Last Packager: mawe
Votes: 4
Popularity: 0.000000
First Submitted: 2018-08-25 11:57 (UTC)
Last Updated: 2020-01-13 22:34 (UTC)

Latest Comments

1 2 Next › Last »

jose1711 commented on 2021-11-24 23:21 (UTC) (edited on 2021-11-24 23:21 (UTC) by jose1711)

Was able to build it accepting the fact I will need to stick to proj6 which probably means newer packages will stop working in the future. Here's what I did:

  • uninstall proj and all packages that depend on it (pacman -Rc proj)
  • pull proj6 from AUR and make some modifications (basically make it install into standard directories, w/o suffix. also provides was added.
pkgdesc='Cartographic Projections library (version 6)'
makedepends=('cmake' 'gmock' 'gtest')

prepare() {
  cd "${srcdir}"/$_pkgname-$pkgver
  patch -p1 -i "${srcdir}"/gie_self_test.patch
  #patch -p0 -i "${srcdir}"/add_suffix.patch

  cmake -S $_pkgname-$pkgver -B build -DCMAKE_INSTALL_PREFIX='/usr' -DUSE_EXTERNAL_GTEST=ON \
        -DINCLUDEDIR=/usr/include -DDATADIR=/usr/share/proj -DCMAKECONFIGDIR=/usr/lib/cmake/proj
  cmake --build build

package() {
  DESTDIR="$pkgdir" cmake --install build
  install -Dm644 $_pkgname-$pkgver/COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
  bsdtar --no-same-owner -xzvf "${srcdir}"/ -C "${pkgdir}"/usr/share/$_pkgname
  • build and install it
  • recompile all qlandkartegt's dependencies that depend on proj library (gdal, libspatialite, libgeotiff)
  • build and install qlandkartegt
  • optionally add proj to IgnorePkg to prevent from breaking due to an update

mawe commented on 2021-05-20 14:49 (UTC) (edited on 2021-05-20 14:49 (UTC) by mawe)

As already announced in a comment nearly two years ago, I decided to disown this package now. Even if using proj6 instead of upgrading to the new proj API should be manageable.

Sorry, but I don't use QLandkarte GT anymore and switched to QMapShack - I think that already happened back then.

benv666 commented on 2021-05-20 09:50 (UTC)

As kaefert said this no longer compiles due to gdal and PROJ issues. Tried hacking around it but can't get it to work myself :/

Can someone do better? :)

kaefert commented on 2021-05-16 15:50 (UTC)

This package stopped working on my machine after my last system update, because it was build using which got upgraded to and which was upgraded to

Tried rebuilding, but that failed with this error (even though libproj is of course still installed): CMake Error at cmake/Modules/FindPROJ.cmake:75 (message): Could not find PROJ

So I tried a quick and dirty workaround by linking the old expected now non existent library versions to their updated once, but libproj seems to have introduces some incompatiblities with this update: qlandkartegt: symbol lookup error: qlandkartegt: undefined symbol: pj_free

But I found there's a proj6 AUR package and installed that which gave me which I linked to from and with this my old qlandkartegt build now works again. (Though I don't know how to get it to build again on my updated system)

jose1711 commented on 2020-01-15 11:25 (UTC)

thank you for maintaining this PKGBUILD and a quick fix!

mawe commented on 2020-01-13 22:33 (UTC)

The source URL has been changed to use SourceForge again. The developer of QMapShack has moved from Bitbucket to GitHub and didn't migrate QLandkarte GT.

Build error caused by an API change in gpsd 3.20. Fixed now in pacakge 1.8.1-13.

jose1711 commented on 2020-01-11 20:02 (UTC) (edited on 2020-01-11 20:56 (UTC) by jose1711)

fails to build with

/usr/include/qt/QtGui/qpagelayout.h:91:60: note:   no known conversion for argument 1 from ‘timespec_t’ {aka ‘timespec’} to ‘const QPageLayout&’
   91 |     friend Q_GUI_EXPORT bool operator==(const QPageLayout &lhs, const QPageLayout &rhs);
      |                                         ~~~~~~~~~~~~~~~~~~~^~~
/home/jose/tmp/qlandkartegt/src/qlandkartegt-1.8.1/src/CDeviceGPSD.cpp:268:42: error: cannot convert ‘timespec_t’ {aka ‘timespec’} to ‘quint32’ {aka ‘unsigned int’} in assignment
  268 |     current_log.timestamp = gpsdata->fix.time;
      |                             ~~~~~~~~~~~~~^~~~
      |                                          |
      |                                          timespec_t {aka timespec}
make[2]: *** [src/CMakeFiles/qlandkartegt.dir/build.make:4064: src/CMakeFiles/qlandkartegt.dir/CDeviceGPSD.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:557: src/CMakeFiles/qlandkartegt.dir/all] Error 2

the problem is present since update of gpsd to 3.20, downgrading to 3.19 solves it.

jose1711 commented on 2020-01-11 19:34 (UTC)

source is gone but download from works fine

mawe commented on 2019-07-01 18:01 (UTC)

(Temporarily) fixed together with another build error.

See "The proj_api.h header and the functions related to it is considered deprecated from version 5.0.0 and onwards. The header will be removed from PROJ in version 7.0.0 scheduled for release February 1st 2020."

So if qlandkartegt should still be usable after that date, someone has to step in and migrate its source code base from "proj" API version 4 to 6, see

I'm pretty sure I won't take that step anymore and might disown this (and the associated "garmindev") package then.

sikmir commented on 2019-06-29 21:18 (UTC)

/usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'