Package Details: osmin 1.14.5-1

Git Clone URL: https://aur.archlinux.org/osmin.git (read-only, click to copy)
Package Base: osmin
Description: Satellite Navigator & Tracker On-Road/Off-Road for Mobile
Upstream URL: https://github.com/janbar/osmin
Licenses: GPL-3.0-only
Submitter: manni
Maintainer: manni
Last Packager: manni
Votes: 2
Popularity: 0.000000
First Submitted: 2023-01-08 14:54 (UTC)
Last Updated: 2025-10-02 11:36 (UTC)

Latest Comments

m040601 commented on 2025-08-16 20:06 (UTC) (edited on 2025-08-16 22:27 (UTC) by m040601)

Thanks for the PKGBUILD update work. Nice to get rid of old qt5 stuff to qt6. In the mean time there is a new version 1.14.4.

Feedback after the latest PKGBUILD changes.

Compiling went fine. No apparent errors. This beast takes a lot of time to compile (c++).

Seems to run fine. No errors.

Moving around zooming in/out the maps, has very buttery smooth feeling, very responsiv even on weak hardware. Just like "mepo"

I like that it uses qt6, so i dont have to install qt5.

These observations, probably belong better in the github repo issues. I think I will give the project some user feedback. It still needs a lot of work and improvements.

In the mean time, I will leave them here on the AUR.

Doesnt have a "button" to close or shutdown ??? Or press "q" or "Contro q" ??? I have to kill the window ? Maybe because it's designed primary for Android ?

I dont like it when these c++ programs store and pollute the configs and caches randomly.

The README says this,

┄┄About osmin on Unix desktop

On startup, the application creates storage folders in the user's home directory: osmin. It
contains user data, configuration files, downloaded maps or voices, and resources

But, it actually creates,

~/.config/io.github.janbar/osmin.conf
~/.cache/io.github.janbar/osmin/qmlcache....

Hate that. Should be

~/.config/osmin/osmin.conf
~/.cache/osmin/...

Is there maybe any compilation FLAG to correct that folder "io.github.janbar" ?

I also cant change that "osmin data directory" and "osmin maps directory"

~/osmin/
~/osmin/maps/

I cant see on that "osmin.conf" file how to do that ???

In the GUI, Settings, clicking doesnt work ???

The README is very short and the docs are non existant. I am still trying to guess if are there any functionality using the 3 mouse buttons and/or the shift/control keys.

Anyway, love this kind of offline map things. I'm not a GUI apps person, but for maps they are needed. Difficult to find and know about the good ones updated. The OSM wiki is such a mess.

Another good thing about these qt6/qml gui's is that they can also "theoretically" work even without X or wayland, or starting a "desktop". They can work directly on the framebuffer. I tested with qutebrowser and others.

Another good promissing one is "mepo".

manni commented on 2025-08-01 17:39 (UTC)

m040601: sorry for the late reply.

This package follows the releases of osmin. An "osmin-git" package name would suggest that it is following the git head which it does not. We can try to make it work from source tarballs with checksums, I agree that would be better. Currently it is just checking out the tag from git and synces the submodules according to that, so I do not have to care about libosmscout breaking API, we just use the commit upstream uses.

We can try dropping dependencies (glib2, md4c, xdg-utils). They have probably been part of the original manjaro package I have stolen. Sounds reasonable. I'll test it.

m040601 commented on 2025-07-27 18:22 (UTC) (edited on 2025-07-27 19:13 (UTC) by m040601)

Thanks for the work providing this PKGBUILD.

I just heard about this tool (via PosmmarketOS) and learned that it is, both, for Android and also for desktop x86. I want to try it on my Archlinux desktop. I have some questions about the name of this PKGBUILD and its dependencies.

2023-01-08 osmin 1.8.7 (pulled in manjaro recipe with minor changes)

Maybe these errors were already there and have not yet been corrected ?

Depends On                    : openmp  qt6-5compat  qt6-location  qt6-multimedia
                                qt6-sensors  qt6-svg  qt6-wayland  qt6-remoteobjects  glfw
                                glm
Make Deps                     : clang  cmake  double-conversion  git  glib2  md4c  tslib
                                xcb-util-image  xcb-util-keysyms  xdg-utils
Optional Deps                 : None

$ git clone https://github.com/janbar/osmin

I then had a look at all that is the README and all the repo files.

Questions:

  1. question name and git

  2. question glib2

  3. question md4c

  4. question xdg utils

question name and git (1)

13 source=( "git+https://github.com/janbar/osmin.git" )

This PKGBUILD uses "git" to clone the latest commits from master repo source. It does not pull a specifc version number or tag or released source tar.gz from github.

It should therefor not be named "osmin". It should be named "osmin-git".

If you used "git+https" and a specific "tag" number than you could called simply "osmin".

question glib2 (2)

why is glib2 such a fundamental core component under "make deps" ? I have never seen it this way in other PKGBUILD's

question md4c (3)

$ pacman -Ql md4c

md4c /usr/bin/md2html
md4c /usr/share/man/man1/md2html.1.gz

$ pacman -Qi md4c

Description     : C Markdown parser
Required By     : qt6-base

I dont see any mention of "md2html" or "md4c" in the repo. Why is it a dependency here ?

question xdg-utils (4)

from the README,

... you have to install the following dependencies.

... git, cmake (**>=3.20), clang/clang++ (**>=18.0** standard C++20), OpenMP, Qt6Core (**>=6.9.0**), Qt6Gui, Qt6Qml, Qt6Quick, Qt6QuickControls2, Qt6Widgets, Qt6Xml, Qt6Svg, Qt6Network, Qt6Sensors, Qt6Multimedia, Qt6RemoteObjects, Qt6Positioning, Qt6DBus, libdbus-1, zlib1g, libxml2, liblzma, OpenSSL

...

... x86_64 for desktop including the simulation tool, use the following command.

... cmake -B build -DBUILD_SIMULATOR=ON -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_PREFIX_PATH=${QT_ROOT} -DCMAKE_FIND_ROOT_PATH=${QT_ROOT} .

I didnt see any mention of "xdg-utils", anywhere in the "osmin" repo,

rg xdg ./

I, personally, prefer to avoid this tool whenever it is possible. So my question is, why is this "osmin" PKGBUILD requiring it explicitly ?

Note that I am well aware that the official Archlinux package for "qt6-base" requires "xdg-utils" directly.

$ pacman -Qi qt6-base

Name            : qt6-base
Groups          : qt6
Depends On      : brotli  dbus  double-conversion  fontconfig  freetype2  gcc-libs  glib2
                  glibc  harfbuzz  icu  krb5  libb2  libcups  libdrm  libgl  libice
                  libinput  libjpeg-turbo  libpng  libproxy  libsm  libx11  libxcb
                  libxkbcommon  libxkbcommon-x11  md4c  mesa  mtdev  openssl  pcre2
                  shared-mime-info  sqlite  systemd-libs  tslib  xcb-util-cursor
                  xcb-util-image  xcb-util-keysyms  xcb-util-renderutil  xcb-util-wm
                  xdg-utils  zlib  zstd  qt6-translations
Optional Deps   : freetds: MS SQL driver
                  gdk-pixbuf2: GTK platform plugin [installed]
                  gtk3: GTK platform plugin [installed]
                  libfbclient: Firebird/iBase driver
                  mariadb-libs: MariaDB driver
                  pango: GTK platform plugin [installed]
                  perl: for syncqt [installed]
                  postgresql-libs: PostgreSQL driver
                  qt6-wayland: to run Qt6 applications in a Wayland session
                  unixodbc: ODBC driver [installed]
Required By     : kconfig  kcoreaddons  kholidays  ki18n  kirigami  kopeninghours
                  kosmindoormap  kpublictransport  kservice  networkmanager-qt
                  qt6-declarative  qt6-svg
Optional For    : graphviz  v4l-utils
Packager        : Antonio Rojas <arojas@archlinux.org>

So in the end you end up having "xdg-utils" anyway. Whether you like it or not.

Thanks in advance.

manni commented on 2024-02-15 12:32 (UTC)

Thanks, I can reproduce easily. Might be the compiler got smarter? I'll add a patch

emulti commented on 2024-02-15 11:29 (UTC) (edited on 2024-02-15 12:08 (UTC) by emulti)

I'm getting a build error in osmscoutgpx when using yay or makepkg as follows:

...cache/yay/osmin/src/osmin/backend/libosmscout/libosmscout-gpx/src/osmscoutgpx/Import.cpp:126:22: error: assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const _xmlError *)') from incompatible type 'void (void *, xmlErrorPtr)' (aka 'void (void *, _xmlError *)'): type mismatch at 2nd parameter ('const xmlError *' (aka 'const _xmlError *') vs 'xmlErrorPtr' (aka '_xmlError *'))
saxParser.serror=StructuredErrorHandler;
                 ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Seems related with https://github.com/janbar/libosmscout/commit/db7b307de1a1146a6868015a0adfc2e21b7d5e39

manni commented on 2023-11-22 07:47 (UTC)

Sorry for the delay, I have finally updated it.

Popolon commented on 2023-11-19 16:40 (UTC) (edited on 2023-11-19 16:43 (UTC) by Popolon)

Just need to upgrade the tag and the sha256sum to compile it. Works fine on Linux Phone :). It upgrades OSM datas from march ones to october ones, and it now manages the download by regions instead of whole country only.

agentsmith commented on 2023-11-16 15:57 (UTC)

This package is outdated: https://github.com/janbar/osmin/releases/tag/1.11.1

manni commented on 2023-10-02 09:34 (UTC)

dreieck: thanks for pointing this out, I have added the changes.

dreieck commented on 2023-09-19 18:28 (UTC)

This package installs a lot of stuff into /usr/local/. This must not happen (/usr/local/ is solely for stuff installed "manually", bypassing operating system package management.)

Please install into proper directories. Try -DCMAKE_INSTALL_PREFIX to achieve this. Also consider setting other configuration options, e.g. the build type to Release.

Regards!