Package Details: organicmaps-git 2024.01.09_5-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: 5
Popularity: 0.148989
First Submitted: 2022-12-03 21:01 (UTC)
Last Updated: 2024-01-12 19:01 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

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")

Popolon commented on 2022-12-06 13:09 (UTC)

You need to go to the directory of the application, and then type: ./organicmaps

The official make system currently doesn't allow to give the target destination.

Other possibility: edit .desktop file and change datadir and execution dir

tobru commented on 2022-12-04 19:34 (UTC)

The app compiles, but doesn't start:

# /usr/bin/organicmaps/OMaps
LOG TID(1) INFO    8.783e-06 qt/main.cpp:122 main(): Organic Maps 2022.12.04-1-2d2d7a4a-Linux started, detected CPU cores: 4
LOG TID(1) INFO     0.124699 platform/string_storage_base.cpp:26 StringStorageBase(): Settings path: /home/tobru/.config/OMaps/settings.ini
terminate called after throwing an instance of 'FileAbsentException'
  what():  FileAbsentException /home/tobru/.cache/yay/organicmaps-git/src/organicmaps-git/platform/platform.cpp:163, "File copyright.html doesn't exist in the scope wrf 
w:   
r:   
s:  /home/tobru/.config/OMaps/"
zsh: IOT instruction (core dumped)  /usr/bin/organicmaps/OMaps