Package Details: organicmaps-git 2024.06.19_3-1

Git Clone URL: https://aur.archlinux.org/organicmaps-git.git (read-only, click to copy)
Package Base: organicmaps-git
Description: A free offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data
Upstream URL: https://github.com/organicmaps/organicmaps
Keywords: map openstreetmap routing transportation
Licenses: Apache
Conflicts: organicmaps-bin
Submitter: ahmetlii
Maintainer: ahmetlii
Last Packager: ahmetlii
Votes: 7
Popularity: 0.059690
First Submitted: 2022-12-03 21:01 (UTC)
Last Updated: 2024-06-29 08:30 (UTC)

Latest Comments

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

dreieck commented on 2023-07-18 21:39 (UTC)

Please add
provides=("organicmaps=${pkgver}") and
conflicts=('organicmaps').

Also, please append to $pkgver something that makes it guaranteed monotoneously increasing, e.g. r<git commit count>.

Thanks for maintaining!

ahmetlii commented on 2023-07-16 12:34 (UTC) (edited on 2023-07-16 12:35 (UTC) by ahmetlii)

@m78: it seems like it is caused by ICU dependency, which is provided by the GitHub repo itself. To help alleviating the issue, I have bumped version number - as links to the libraries may have been changed. If updating did not solve the issue, please try to perform a clean build.

m78 commented on 2023-07-14 12:27 (UTC)

does not start, error: /usr/bin/OMaps: error while loading shared libraries: libicuuc.so.72: cannot open shared object file: No such file or directory

linking to libicuuc.so.73 does not help.

any hint?

nesk_aur commented on 2023-07-05 07:16 (UTC)

Great, now it works, thank you. qt6-svg is a hard dependency. And qt6-wayland is optional (for Wayland users).

ahmetlii commented on 2023-07-02 18:37 (UTC)

@nesk_aur unfortunately it doesn't seem relevant to prepare() commands itself. It may have been caused by the git repo. Just in case, I have bumped the version number to the newest one.

nesk_aur commented on 2023-06-28 17:14 (UTC)

Failing to build:

Submodule path 'tools/twine': checked out 'b5d723caf59314cac30895dbf6e9219366c3ac34'
Initializing repository with default values in Open-Source mode.
Building B2 engine..

###
###
### Using 'cxx' toolset.
###
###

cpp (GCC) 13.1.1 20230429
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


###
###

> cpp -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filesys.cpp filent.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp -o b2
cpp: fatal error: too many input files
compilation terminated.

Failed to build B2 build engine
==> ERROR: A failure occurred in prepare().
    Aborting...

Popolon commented on 2022-12-29 23:53 (UTC)

add "jq" as makedepends

change prepare() to this

prepare() {
 if [ ! -e ./organicmaps-git ]
 then 
   git clone --recurse-submodules --depth=1 https://github.com/organicmaps/organicmaps.git ./organicmaps-git
   cd $pkgname
 else
   cd $pkgname
   git pull
 fi
 bash ./configure.sh
}

and to have the correct date dir use:

install -dm777 "$pkgdir/usr/share/organicmaps/data/$(jq .v $srcdir/$pkgname/data/countries.txt)"

lukerb52 commented on 2022-12-20 04:24 (UTC)

When building...

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: 2022.11.24-3

I suppose you can't have the - in the package version.

lukerb52 commented on 2022-12-19 03:42 (UTC)

Please add git-lfs as a built dependency.

Popolon commented on 2022-12-10 06:57 (UTC) (edited on 2022-12-10 06:59 (UTC) by Popolon)

Thank you to have reported the change for only keeping useful things, as exchanged, I believe it's possible to change automatically the release number, as it is the case in most git version. This should be done in pkgver() function, and it should be wrote on stdout.

The file organicmaps-git/packaging/app.organicmaps.desktop.metainfo.xml contains release version as this: <release version="2022.11.24-3" date="2022-11-24">

so it can be extracted as:

pkgver() {
 xmllint --xpath "string(//releases/release/@version)"  "${srcdir}/${pkgname}/packaging/app.organicmaps.desktop.metainfo.xml"
}

and need to add libxml2 to makedepends:

makedepends=("git" "gendesk" "libxml2")