Package Details: qmapshack-hg 1.13.0.r50.55dee1ae0d55-1

Git Clone URL: https://aur.archlinux.org/qmapshack-hg.git (read-only)
Package Base: qmapshack-hg
Description: Plan your next outdoor trip
Upstream URL: https://bitbucket.org/maproom/qmapshack/
Licenses: GPL3
Conflicts: qmapshack
Provides: qmapshack
Submitter: Sanpi
Maintainer: Sanpi
Last Packager: Sanpi
Votes: 4
Popularity: 0.000801
First Submitted: 2016-08-25 07:15
Last Updated: 2019-07-04 13:09

Latest Comments

1 2 Next › Last »

sikmir commented on 2019-09-29 18:58

qmapshack moved to GitHub, so the package should be renamed into qmapshack-git.

Sanpi commented on 2019-07-04 13:09

@sikmir fixed.

sikmir commented on 2019-07-02 10:30

@Sanpi My bad, I missed r symbol in the line below:

... '{latesttag}.{latesttagdistance}.{node|short}' ...

Should be:

... '{latesttag}.r{latesttagdistance}.{node|short}' ...

Sanpi commented on 2019-07-01 18:22

@sikmir done, thank you!

sikmir commented on 2019-06-28 11:46

@Sanpi Consider replacing:

printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"

with

hg log -r . --template '{latesttag}.{latesttagdistance}.{node|short}' | sed 's/V //'

It gives much more descriptive pkgver:

1.13.0.r49.d0b1b595578a

And add the following line to build():

sed -i "s/set(VERSION_SUFFIX \"develop\")/set(VERSION_SUFFIX \"r${pkgver#*r}\")/" CMakeLists.txt

ZakMcKracken commented on 2019-06-09 18:17

@Sanpi Also tested build on another system with no pre installed qt5 libs, qt5-tools seems to be a make dependency

Sanpi commented on 2019-06-08 14:32

@sikmir Fixed. @ZakMcKracken thank you for the patch.

ZakMcKracken commented on 2019-06-08 04:35

change build depends to:

depends=('gdal' 'desktop-file-utils' 'quazip' 'qt5-webengine' 'routino>=3.1')

and modify build()

build() {
    cd "$pkgname"
    [ ! -f cmake/Modules/FindPROJ4.cmake ] && patch --quiet -p1 < FindPROJ4.patch
    [ ! -f cmake/Modules/FindQuaZip5.cmake ] && patch --quiet -p1 < FindQuaZip5.patch
    cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
    make
}

These patches are included and run if a debian system is detected, but it seems to work for building in arch too, this package config also passes namcap inspection.

sikmir commented on 2019-05-23 18:30

CMake Error at CMakeLists.txt:161 (find_package):
  By not providing "FindPROJ4.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "PROJ4", but
  CMake did not find one.

  Could not find a package configuration file provided by "PROJ4" with any of
  the following names:

    PROJ4Config.cmake
    proj4-config.cmake

  Add the installation prefix of "PROJ4" to CMAKE_PREFIX_PATH or set
  "PROJ4_DIR" to a directory containing one of the above files.  If "PROJ4"
  provides a separate development package or SDK, be sure it has been
  installed.

Sanpi commented on 2017-08-03 16:00

@sikmir install newer hdf5 from testing repository: https://www.archlinux.org/packages/community-testing/i686/hdf5/ or wait.