Package Details: comaps v2025.08.13_8-1

Git Clone URL: https://aur.archlinux.org/comaps.git (read-only, click to copy)
Package Base: comaps
Description: CoMaps: Offline Hike, Bike, Trails and Navigation
Upstream URL: https://comaps.app
Licenses: Apache
Conflicts: comaps-bin, comaps-git
Submitter: hoverth
Maintainer: hoverth
Last Packager: hoverth
Votes: 1
Popularity: 0.64
First Submitted: 2025-07-03 03:06 (UTC)
Last Updated: 2025-09-03 02:25 (UTC)

Required by (0)

Sources (23)

Latest Comments

hoverth commented on 2025-09-03 02:28 (UTC)

I have updated both the main source and git submodules as the guidelines suggest, and removed the -j hardcoding.

I have also fixed the failure caused by the protobuf url being appended to a random line, not sure how that happened, but it's fixed now @flint.

flint commented on 2025-09-02 22:05 (UTC)

Thank you very much for this package - I'm excited about the prospect of using Comaps on desktop!

Currently prepare() fails with:

==> Starting prepare()...
fatal: destination path 'protobuf' already exists and is not an empty directory.
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: comaps-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
comaps - exit status 4

Is there something I can do on my end to get around this?

dreieck commented on 2025-08-06 14:47 (UTC)

Can you please either remove the -n $(nproc) entry, or try to extract it from the -j-setting in $MAKEFLAGS if present?

Use case: Machines with low ressources; saves build time RAM if less processes run in parallel. If someone manually has -j1 in $MAKEFLAGS, this PKGBUILD should not override it.

Thanks for maintaining!

dreieck commented on 2025-08-06 13:56 (UTC) (edited on 2025-08-06 14:08 (UTC) by dreieck)

Ahoj,

can you please do the download of both main source and git submodules from within the source array (and only reference the submodules later in prepare(), as suggested by the git packaging guidelines)?

It is possible to also specify specific commits and tags.

Regards and many thanks for this package!

hoverth commented on 2025-07-07 05:32 (UTC)

The 5 GiB is 1) a hold-over as this is a port of the makepkg for organicmaps - as comaps is forked from that and 2) the build files take up about 4.4 GiB on my machine (not counting files placed in /tmp). This 5 GiB is purely source code for comaps and it's dependencies, the actual map data is downloaded by the software once installed.

The conflicts are also a hold-over from the makepkg for organicmaps, and I just glossed over them after doing a substitution for organicmaps → comaps.

The AUR is not for AppImages, you'd have to go to the CoMaps developers themselves. I do know that Organic Maps has a flatpak, so there is potential that the CoMaps devs could also do that as well, but desktop software is definitely not their priority, as they also do not distribute any binaries for the desktop, as of yet.

I definitely agree that this is not the best way to install CoMaps for the average user, but anything more would need to be brought up with them directly.

m040601 commented on 2025-07-07 04:31 (UTC) (edited on 2025-07-07 04:48 (UTC) by m040601)

Thanks for the work creating this PKGBUILD. I didnt know one could use it on a Archlinux desktop computer. I had assumed it was only an app for Android. The comaps.app website doesnt make clear that it can also be installed on a desktop, not a phone.

==> Extracting sources...
==> Starting prepare()...
need at least 5 GiB of free space
 -> error making: comaps-exit status 1

Woooow ... wasnt expecting that !!! Is this size because of "data/files" that are needed or "software/libraries" ???

I had a look at the PKGBUILD, but I dont have the skills to understand such a complex PKGBUILD.

Depends On                    : mesa  libglvnd  freetype2  sqlite  icu  qt6-svg
                                qt6-base  zlib  libpng  glibc  qt6-positioning
                                gcc-libs  harfbuzz  libxrandr  libxi
                                libxcursor

Make Deps                     : cmake  git  jq  gcc  ninja

I understand it depends on heavy stuff like some qt dependencies. And on cmake and other heavy build tools just to build it.

I also had a look at, https://codeberg.org/comaps/comaps/src/branch/main/docs/INSTALL.md

To build and run CoMaps you'll need a machine with at least 4Gb of RAM
and 20-30Gb of disk space depending on your target platform. Expect to
download 2-5Gb of files.

Could you explain why it needs the 5 GB space ?

Also.

Conflicts With                : comaps-bin  comaps-git

I checked the AUR but I dont see any "comaps-bin". Was there one before ? It would be very nice if there was one, as an alternative to this massive huge compilation orgy.

I checked , https://codeberg.org/comaps/comaps/releases, but I dont see any "binary releases" there, only "apk" files for android. And those apk files are 50MB only ???

Do you happen to know if it would be possible to create an "Appimage" or something similar for this tool ?

Thanks in advance.