* [PR PATCH] New package: osmin-1.8.7
@ 2023-01-10 17:34 Eloitor
2023-01-10 18:58 ` [PR REVIEW] " paper42
` (38 more replies)
0 siblings, 39 replies; 40+ messages in thread
From: Eloitor @ 2023-01-10 17:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 671 bytes --]
There is a new pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1823 bytes --]
From e313f65be15fe641374f0a2c61b5f3ee2e67f293 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..2b9fc3edcc2a
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir -v backend/libosmscout
+ mv -v libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
@ 2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
` (37 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: paper42 @ 2023-01-10 18:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066188161
Comment:
```suggestion
qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
```
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
2023-01-10 18:58 ` [PR REVIEW] " paper42
@ 2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
` (36 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: paper42 @ 2023-01-10 18:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066187685
Comment:
```suggestion
```
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
2023-01-10 18:58 ` [PR REVIEW] " paper42
2023-01-10 18:58 ` paper42
@ 2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
` (35 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: paper42 @ 2023-01-10 18:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066187898
Comment:
why is git required?
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (3 preceding siblings ...)
2023-01-10 18:58 ` paper42
@ 2023-01-10 18:58 ` paper42
2023-01-10 21:49 ` [PR PATCH] [Updated] " Eloitor
` (33 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: paper42 @ 2023-01-10 18:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066188543
Comment:
clang in makedepends looks a bit suspicious, is it really required here?
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (2 preceding siblings ...)
2023-01-10 18:58 ` paper42
@ 2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
` (34 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: paper42 @ 2023-01-10 18:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066189551
Comment:
```suggestion
rmdir backend/libosmscout
mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
```
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (4 preceding siblings ...)
2023-01-10 18:58 ` paper42
@ 2023-01-10 21:49 ` Eloitor
2023-01-10 21:53 ` Eloitor
` (32 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-10 21:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1709 bytes --]
From 257157d83e721b77daa91dfbe67f6fed489d96f1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..6c587ff2d66d
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,30 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir backend/libosmscout
+ mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (5 preceding siblings ...)
2023-01-10 21:49 ` [PR PATCH] [Updated] " Eloitor
@ 2023-01-10 21:53 ` Eloitor
2023-01-10 22:09 ` [PR REVIEW] " Eloitor
` (31 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-10 21:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1709 bytes --]
From a014dd5918accb2f588abe7aeb4ab62301cdc015 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..acdc0bffff68
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,30 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir backend/libosmscout
+ mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (6 preceding siblings ...)
2023-01-10 21:53 ` Eloitor
@ 2023-01-10 22:09 ` Eloitor
2023-01-10 22:12 ` Eloitor
` (30 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-10 22:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066394930
Comment:
Without clang the package is a bit bigger but not by much. I'm removing it.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (7 preceding siblings ...)
2023-01-10 22:09 ` [PR REVIEW] " Eloitor
@ 2023-01-10 22:12 ` Eloitor
2023-01-10 22:12 ` Piraty
` (29 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-10 22:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066396509
Comment:
When running it, I get a segmentation fault. I'm going back to use clang...
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (8 preceding siblings ...)
2023-01-10 22:12 ` Eloitor
@ 2023-01-10 22:12 ` Piraty
2023-01-10 22:20 ` [PR PATCH] [Updated] " Eloitor
` (28 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-01-10 22:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066396687
Comment:
how about duplicating the list for clarity? https://github.com/void-linux/void-packages/blob/d21de3397f4b3f9ccf738e3cfa7ab5f48adc127c/srcpkgs/llvm12/template#L64
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (9 preceding siblings ...)
2023-01-10 22:12 ` Piraty
@ 2023-01-10 22:20 ` Eloitor
2023-01-11 7:42 ` [PR REVIEW] " Eloitor
` (27 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-10 22:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1808 bytes --]
From 2a41ee75a4b82f8431032fce1c40c45a31f51c7b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..64bb4f8503a3
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,31 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects clang"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir backend/libosmscout
+ mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (10 preceding siblings ...)
2023-01-10 22:20 ` [PR PATCH] [Updated] " Eloitor
@ 2023-01-11 7:42 ` Eloitor
2023-01-12 12:43 ` Piraty
` (26 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-11 7:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1066662792
Comment:
I'm not sure about this. In llvm12 the variable `_libomp_enable` is used afterwards to create subpackages. I think this is not needed here.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (11 preceding siblings ...)
2023-01-11 7:42 ` [PR REVIEW] " Eloitor
@ 2023-01-12 12:43 ` Piraty
2023-01-12 12:43 ` Piraty
` (25 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-01-12 12:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 881 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1068077756
Comment:
first, your list is incomplete as is (should use starred globs for `armv[67]`.
second, your point of restricting archs is to break early and not fail mid dependency installation step due to missing dependency `libomp-devel` , isn't it?
so it's technically incorrect to mix whitelist and blacklist this way, as using the blacklist like you do here makes it try build for archs that don't support libomp per llvm12's whitelist, for example `ppc`, `mips*`, `armv5*`.
so you either blacklist *all* unsupported archs (which are a lot and adds maintenance burden, so please don't) or duplicate the whitelist here to be explicit in sync with the limitation imposed by llvm12, therefore make it easy to maintain and technically correct
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (12 preceding siblings ...)
2023-01-12 12:43 ` Piraty
@ 2023-01-12 12:43 ` Piraty
2023-01-12 12:44 ` Piraty
` (24 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-01-12 12:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1068077756
Comment:
first, your list is incomplete as is (should use starred globs for `armv[67]`, as `armv7l-musl` isn't restricted currently).
second, your point of restricting archs is to break early and not fail mid dependency installation step due to missing dependency `libomp-devel` , isn't it?
so it's technically incorrect to mix whitelist and blacklist this way, as using the blacklist like you do here makes it try build for archs that don't support libomp per llvm12's whitelist, for example `ppc`, `mips*`, `armv5*`.
so you either blacklist *all* unsupported archs (which are a lot and adds maintenance burden, so please don't) or duplicate the whitelist here to be explicit in sync with the limitation imposed by llvm12, therefore make it easy to maintain and technically correct
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (13 preceding siblings ...)
2023-01-12 12:43 ` Piraty
@ 2023-01-12 12:44 ` Piraty
2023-01-12 15:24 ` [PR PATCH] [Updated] " Eloitor
` (23 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-01-12 12:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1068077756
Comment:
first, your list is incomplete as is (should use starred globs for `armv[67]`, as `armv7l-musl` isn't disallowed currently).
second, your point of restricting archs is to break early and not fail mid dependency installation step due to missing dependency `libomp-devel` , isn't it?
so it's technically incorrect to mix whitelist and blacklist this way, as using the blacklist like you do here makes it try build for archs that don't support libomp per llvm12's whitelist, for example `ppc`, `mips*`, `armv5*`.
so you either blacklist *all* unsupported archs (which are a lot and adds maintenance burden, so please don't) or duplicate the whitelist here to be explicit in sync with the limitation imposed by llvm12, therefore make it easy to maintain and technically correct
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (14 preceding siblings ...)
2023-01-12 12:44 ` Piraty
@ 2023-01-12 15:24 ` Eloitor
2023-01-12 15:26 ` Eloitor
` (22 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-12 15:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1838 bytes --]
From d1a812b9a6bf0c2fab4714d73b88362ec7fc02d3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..28ce1e54997e
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+archs="x86_64* aarch64* ppc64*" # libomp-devel
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects clang"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+depends="qt5-graphicaleffects"
+short_desc="GPS Navigator On-Road/Off-Road"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir backend/libosmscout
+ mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (15 preceding siblings ...)
2023-01-12 15:24 ` [PR PATCH] [Updated] " Eloitor
@ 2023-01-12 15:26 ` Eloitor
2023-01-12 15:28 ` [PR REVIEW] " Eloitor
` (21 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-12 15:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1380562821
Comment:
> fails with
>
> > QQmlApplicationEngine failed to load component
> > qrc:/controls2/osmin.qml:25:1: module "QtGraphicalEffects" is not installed
Thank you! I can't test it since I have other packages installed with this dependency...
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (16 preceding siblings ...)
2023-01-12 15:26 ` Eloitor
@ 2023-01-12 15:28 ` Eloitor
2023-01-27 14:22 ` [PR PATCH] [Updated] " Eloitor
` (20 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-12 15:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1068265965
Comment:
Thank you, I think it is correct now.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (17 preceding siblings ...)
2023-01-12 15:28 ` [PR REVIEW] " Eloitor
@ 2023-01-27 14:22 ` Eloitor
2023-02-05 20:18 ` Piraty
` (19 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-01-27 14:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1838 bytes --]
From 9abfc255979d7791b708e294e1998e7292bfdc39 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..28ce1e54997e
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+archs="x86_64* aarch64* ppc64*" # libomp-devel
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects clang"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+depends="qt5-graphicaleffects"
+short_desc="GPS Navigator On-Road/Off-Road"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir backend/libosmscout
+ mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (18 preceding siblings ...)
2023-01-27 14:22 ` [PR PATCH] [Updated] " Eloitor
@ 2023-02-05 20:18 ` Piraty
2023-02-10 11:43 ` Eloitor
` (18 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-02-05 20:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1418255045
Comment:
> Thank you! I can't test it since I have other packages installed with this dependency...
you can, use a chroot
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (19 preceding siblings ...)
2023-02-05 20:18 ` Piraty
@ 2023-02-10 11:43 ` Eloitor
2023-05-12 1:51 ` github-actions
` (17 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-02-10 11:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1425689080
Comment:
I tied using xchroot. First running osmin I got
```
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted
```
Then I tried with `xvfb-run osmin` and I get
```
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Signal handler is enabled.
User locale setting is C
no file found for translations ':/i18n/osmin_ca.qm' (using default).
Checking installed assets...
Found assets version 1.8.7
Resource directory is /root/osmin/resources
Trying to connect to service ...
Connect to service succeeded
Loading online tile providers from "/root/osmin/resources/online-tile-providers.json"
Loading providers from "/root/osmin/resources/map-providers.json"
Loading providers from "/root/osmin/resources/voice-providers.json"
MapManager ctor
Lookup databases
Basemap found and loaded from ' "/root/osmin/resources/world" '...
Lookup voices at /root/osmin/voices
Overlay tile cache: osmscout::TileCache(0x1e276f8)
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
```
How should I run the graphical application in a chroot?
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (20 preceding siblings ...)
2023-02-10 11:43 ` Eloitor
@ 2023-05-12 1:51 ` github-actions
2023-05-13 16:36 ` [PR PATCH] [Updated] " Eloitor
` (16 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: github-actions @ 2023-05-12 1:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1544989444
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.8.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (21 preceding siblings ...)
2023-05-12 1:51 ` github-actions
@ 2023-05-13 16:36 ` Eloitor
2023-05-15 0:35 ` New package: osmin-1.9.6 Piraty
` (15 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-05-13 16:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.8.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1843 bytes --]
From 446864c83109ecbc7e0b05767f41629547c4f411 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.9.6
---
srcpkgs/osmin/template | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 000000000000..23d07f2dcd47
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,31 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.9.6
+revision=1
+_libosmscout_version="1.9-20230212"
+archs="x86_64* aarch64* ppc64*" # libomp-devel
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools qt5-remoteobjects clang"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+depends="qt5-graphicaleffects"
+short_desc="GPS Navigator On-Road/Off-Road"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="5fa7368d44eb098cd010320fd68c86214287cb870bc025d809d75edf4fa8e1bf
+ 466b41aee13c481d3a1966f5dde72622f250e4566170dcdfc393e44c9f969a41"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ mv osmin-${version}/* .
+ rmdir backend/libosmscout
+ mv libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.9.6
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (22 preceding siblings ...)
2023-05-13 16:36 ` [PR PATCH] [Updated] " Eloitor
@ 2023-05-15 0:35 ` Piraty
2023-07-22 22:59 ` Piraty
` (14 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-05-15 0:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1547048510
Comment:
maybe my [bubblejail](https://github.com/Piraty/bubblejail/blob/b0837d3c6d0484a6da6388e2f6fbb16c102cbaf8/bubblejail#L181) can help you get graphical stuff working
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.9.6
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (23 preceding siblings ...)
2023-05-15 0:35 ` New package: osmin-1.9.6 Piraty
@ 2023-07-22 22:59 ` Piraty
2023-09-02 21:02 ` [PR PATCH] [Updated] " Eloitor
` (13 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-07-22 22:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 145 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1646687201
Comment:
ping
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.9.6
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (24 preceding siblings ...)
2023-07-22 22:59 ` Piraty
@ 2023-09-02 21:02 ` Eloitor
2023-09-02 21:03 ` [PR PATCH] [Updated] New package: osmin-1.9.7 Eloitor
` (12 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-09-02 21:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 3689 bytes --]
From 37a4f7e1a5ba6b45a2e7fc11421fd3a1e29a1ea9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH 1/2] New package: osmin-1.8.7
---
srcpkgs/osmin/template | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..c52efd557006c
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,30 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.8.7
+revision=1
+_libosmscout_version=1.9.2
+build_style=cmake
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="
+ 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
+ c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ rmdir -v backend/libosmscout
+ mv -v ../libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
From 865631a7c3b77e051800c2d589968b9b74e1030b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Sat, 2 Sep 2023 20:52:33 +0200
Subject: [PATCH 2/2] osmin: update to 1.9.7.
---
srcpkgs/osmin/template | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
index c52efd557006c..5812112f040ee 100644
--- a/srcpkgs/osmin/template
+++ b/srcpkgs/osmin/template
@@ -1,9 +1,11 @@
# Template file for 'osmin'
pkgname=osmin
-version=1.8.7
+version=1.9.7
revision=1
-_libosmscout_version=1.9.2
+_libosmscout_version=1.9
+_libosmscout_date=20230212
build_style=cmake
+cmake_builddir="."
configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
@@ -18,13 +20,13 @@ maintainer="Eloi Torrents <eloitor@disroot.org>"
homepage="https://github.com/janbar/osmin"
distfiles="
https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
- https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
-checksum="
- 39ffdeb300de23ddebbd8042ccc9fcbc5411258f3b8f104d089842afc1b5a05e
- c74e61d07c2447e8959ca5a19c1ffd0c5ae61dd880bf614f12df02e9106fa585"
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}-${_libosmscout_date}.tar.gz"
+checksum="df458c413c07c714bc429334997fe2c73e52c155bf7c5990083dc0632547499c
+ 466b41aee13c481d3a1966f5dde72622f250e4566170dcdfc393e44c9f969a41"
nopie_files="/usr/bin/osmin"
pre_configure() {
+ cd ${pkgname}-${version}
rmdir -v backend/libosmscout
- mv -v ../libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+ mv -v ../libosmscout-${pkgname}-${_libosmscout_version}-${_libosmscout_date} backend/libosmscout
}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.9.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (25 preceding siblings ...)
2023-09-02 21:02 ` [PR PATCH] [Updated] " Eloitor
@ 2023-09-02 21:03 ` Eloitor
2023-10-16 21:22 ` Eloitor
` (11 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-09-02 21:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.9.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1877 bytes --]
From ba21fdc44a98c5efe2a1700d1c59ca446e3e47eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.9.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..5812112f040ee
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.9.7
+revision=1
+_libosmscout_version=1.9
+_libosmscout_date=20230212
+build_style=cmake
+cmake_builddir="."
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}-${_libosmscout_date}.tar.gz"
+checksum="df458c413c07c714bc429334997fe2c73e52c155bf7c5990083dc0632547499c
+ 466b41aee13c481d3a1966f5dde72622f250e4566170dcdfc393e44c9f969a41"
+nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ cd ${pkgname}-${version}
+ rmdir -v backend/libosmscout
+ mv -v ../libosmscout-${pkgname}-${_libosmscout_version}-${_libosmscout_date} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.9.7
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (26 preceding siblings ...)
2023-09-02 21:03 ` [PR PATCH] [Updated] New package: osmin-1.9.7 Eloitor
@ 2023-10-16 21:22 ` Eloitor
2023-10-16 21:25 ` New package: osmin-1.10.4 Eloitor
` (10 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-10-16 21:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.9.7
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1829 bytes --]
From 5288a99d27c02c539561b8892f0d04bf8dbc5935 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.9.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..9680fddc41889
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.10.4
+revision=1
+_libosmscout_version=1.10.4
+build_style=cmake
+cmake_builddir="${pkgname}-${version}"
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="c2adfe579004206d85976674ed96288e446f47c5b15302e8bd66d6046c5ac2cf
+ a27387105d7c02728d1f49383f7a843491b3834e7bf3955a83234be6aeca338b"
+
+# nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ cd ${pkgname}-${version}
+ rmdir -v backend/libosmscout
+ mv -v ../libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (27 preceding siblings ...)
2023-10-16 21:22 ` Eloitor
@ 2023-10-16 21:25 ` Eloitor
2023-10-25 17:01 ` [PR REVIEW] " Piraty
` (9 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-10-16 21:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-1765302243
Comment:
I just updated to the latest 1.10.4 release, working for me on glibc-x86_64. @Piraty can you check if it works for you?
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (28 preceding siblings ...)
2023-10-16 21:25 ` New package: osmin-1.10.4 Eloitor
@ 2023-10-25 17:01 ` Piraty
2023-10-25 17:01 ` Piraty
` (8 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-10-25 17:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1372070962
Comment:
judging from https://github.com/janbar/osmin/tree/1.10.4/backend , it uses a commit present in the libosmscout upstream repo (https://github.com/Framstag/libosmscout) and only applies non-functional patches to debug levels...
did you try to package libosmscout?
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (29 preceding siblings ...)
2023-10-25 17:01 ` [PR REVIEW] " Piraty
@ 2023-10-25 17:01 ` Piraty
2023-10-25 21:38 ` Eloitor
` (7 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2023-10-25 17:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
New review comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1193246058
Comment:
what is the reasoning for forcing clang here? this won't work for crossbuilds which use a cross env file per the cmake build-style
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR REVIEW] New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (30 preceding siblings ...)
2023-10-25 17:01 ` Piraty
@ 2023-10-25 21:38 ` Eloitor
2023-10-29 11:00 ` [PR PATCH] [Updated] " Eloitor
` (6 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-10-25 21:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#discussion_r1372351912
Comment:
I got this error with this line commented:
```
rmdir: removing directory, 'backend/libosmscout'
renamed '../libosmscout-osmin-1.10.4' -> 'backend/libosmscout'
CMake Warning:
Ignoring extra path from command line:
"/builddir/osmin-1.10.4/"
CMake Error: The source directory "/builddir/osmin-1.10.4" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
=> ERROR: osmin-1.10.4_1: do_configure: 'CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${LIBS:+-DCMAKE_C_STANDARD_LIBRARIES="$LIBS"} ${LIBS:+-DCMAKE_CXX_STANDARD_LIBRARIES="$LIBS"} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR: in do_configure() at common/build-style/cmake.sh:76
```
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (31 preceding siblings ...)
2023-10-25 21:38 ` Eloitor
@ 2023-10-29 11:00 ` Eloitor
2023-10-30 13:34 ` Eloitor
` (5 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-10-29 11:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.10.4
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 4610 bytes --]
From 5288a99d27c02c539561b8892f0d04bf8dbc5935 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH 1/2] New package: osmin-1.9.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..9680fddc41889
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.10.4
+revision=1
+_libosmscout_version=1.10.4
+build_style=cmake
+cmake_builddir="${pkgname}-${version}"
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/janbar/libosmscout/archive/refs/tags/${pkgname}-${_libosmscout_version}.tar.gz"
+checksum="c2adfe579004206d85976674ed96288e446f47c5b15302e8bd66d6046c5ac2cf
+ a27387105d7c02728d1f49383f7a843491b3834e7bf3955a83234be6aeca338b"
+
+# nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ cd ${pkgname}-${version}
+ rmdir -v backend/libosmscout
+ mv -v ../libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
From 1dedda1c690757fd19162bd63fab251ccb452930 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sun, 29 Oct 2023 14:00:18 +0100
Subject: [PATCH 2/2] New package: libosmscout-2023.03.30.1
---
.../dont-install-demos-and-tests.patch | 19 +++++++++++++++++++
srcpkgs/libosmscout/template | 12 ++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch
create mode 100644 srcpkgs/libosmscout/template
diff --git a/srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch b/srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch
new file mode 100644
index 0000000000000..293a500a2f20a
--- /dev/null
+++ b/srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch
@@ -0,0 +1,19 @@
+diff --git a/cmake/ProjectConfig.cmake b/cmake/ProjectConfig.cmake
+--- a/cmake/ProjectConfig.cmake
++++ b/cmake/ProjectConfig.cmake
+@@ -174,7 +174,6 @@ macro(osmscout_demo_project)
+ add_executable(${_name} ${_sources})
+ set_target_properties(${_name} PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Demos")
+ target_link_libraries(${_name} ${_targets})
+- install(TARGETS ${_name} RUNTIME DESTINATION share/osmscout/demos BUNDLE DESTINATION share/osmscout/demos LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ target_include_directories(${_name} PRIVATE ${_includes})
+ if(WIN32 AND HAVE_WINRES_H)
+ create_win32_demo_resource(${_name})
+@@ -224,7 +223,6 @@ macro(osmscout_test_project)
+ add_executable(${_name} ${_sources})
+ set_target_properties(${_name} PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Tests")
+ target_link_libraries(${_name} ${_targets})
+- install(TARGETS ${_name} RUNTIME DESTINATION share/osmscout/tests BUNDLE DESTINATION share/osmscout/tests LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ target_include_directories(${_name} PRIVATE ${_includes})
+ if(WIN32)
+ create_win32_test_resource(${_name})
diff --git a/srcpkgs/libosmscout/template b/srcpkgs/libosmscout/template
new file mode 100644
index 0000000000000..8fac2de935336
--- /dev/null
+++ b/srcpkgs/libosmscout/template
@@ -0,0 +1,12 @@
+# Template file for 'libosmscout'
+pkgname=libosmscout
+version=2023.03.30.1
+revision=1
+build_style=cmake
+makedepends="libxml2-devel marisa-devel"
+short_desc="C++ library for offline map rendering, routing and location lookup"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/Framstag/libosmscout"
+distfiles="https://github.com/Framstag/libosmscout/archive/refs/tags/v${version}.tar.gz"
+checksum=b51dc4ecbced421ed9db6359567be030c77f781b0da09830c0f2b06f675d004d
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (32 preceding siblings ...)
2023-10-29 11:00 ` [PR PATCH] [Updated] " Eloitor
@ 2023-10-30 13:34 ` Eloitor
2024-02-06 22:37 ` Eloitor
` (4 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2023-10-30 13:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.10.4
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 4465 bytes --]
From bbab27f857bfe0b2a1884552edda51bb63a6add4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sun, 29 Oct 2023 14:00:18 +0100
Subject: [PATCH 1/2] New package: libosmscout-2023.03.30.1
---
.../dont-install-demos-and-tests.patch | 21 +++++++++++++++++++
srcpkgs/libosmscout/template | 12 +++++++++++
2 files changed, 33 insertions(+)
create mode 100644 srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch
create mode 100644 srcpkgs/libosmscout/template
diff --git a/srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch b/srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch
new file mode 100644
index 0000000000000..2aff50f636f6d
--- /dev/null
+++ b/srcpkgs/libosmscout/patches/dont-install-demos-and-tests.patch
@@ -0,0 +1,21 @@
+diff a/cmake/ProjectConfig.cmake b/cmake/ProjectConfig.cmake
+--- a/cmake/ProjectConfig.cmake
++++ b/cmake/ProjectConfig.cmake
+@@ -168,7 +168,7 @@ macro(osmscout_demo_project)
+ add_executable(${_name} ${_sources})
+ set_target_properties(${_name} PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Demos")
+ target_link_libraries(${_name} ${_targets})
+- install(TARGETS ${_name} RUNTIME DESTINATION share/osmscout/demos LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
++ # install(TARGETS ${_name} RUNTIME DESTINATION share/osmscout/demos LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ target_include_directories(${_name} PRIVATE ${_includes})
+ if(WIN32 AND HAVE_WINRES_H)
+ create_win32_demo_resource(${_name})
+@@ -218,7 +218,7 @@ macro(osmscout_test_project)
+ add_executable(${_name} ${_sources})
+ set_target_properties(${_name} PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Tests")
+ target_link_libraries(${_name} ${_targets})
+- install(TARGETS ${_name} RUNTIME DESTINATION share/osmscout/tests LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
++ # install(TARGETS ${_name} RUNTIME DESTINATION share/osmscout/tests LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ target_include_directories(${_name} PRIVATE ${_includes})
+ if(WIN32)
+ create_win32_test_resource(${_name})
diff --git a/srcpkgs/libosmscout/template b/srcpkgs/libosmscout/template
new file mode 100644
index 0000000000000..8fac2de935336
--- /dev/null
+++ b/srcpkgs/libosmscout/template
@@ -0,0 +1,12 @@
+# Template file for 'libosmscout'
+pkgname=libosmscout
+version=2023.03.30.1
+revision=1
+build_style=cmake
+makedepends="libxml2-devel marisa-devel"
+short_desc="C++ library for offline map rendering, routing and location lookup"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/Framstag/libosmscout"
+distfiles="https://github.com/Framstag/libosmscout/archive/refs/tags/v${version}.tar.gz"
+checksum=b51dc4ecbced421ed9db6359567be030c77f781b0da09830c0f2b06f675d004d
From 959155cd7586d9a0efc88e397b938256e7e9e062 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH 2/2] New package: osmin-1.9.7
---
srcpkgs/osmin/template | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..d5d5b6daaeac8
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,26 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.10.4
+revision=1
+build_style=cmake
+cmake_builddir="${pkgname}-${version}"
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel libosmscout"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+homepage="https://github.com/janbar/osmin"
+distfiles="https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz"
+checksum="c2adfe579004206d85976674ed96288e446f47c5b15302e8bd66d6046c5ac2cf"
+
+# nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ rmdir -v backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] New package: osmin-1.10.4
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (33 preceding siblings ...)
2023-10-30 13:34 ` Eloitor
@ 2024-02-06 22:37 ` Eloitor
2024-02-07 8:38 ` [PR PATCH] [Updated] [WIP] New package: osmin-1.11.1 Eloitor
` (3 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2024-02-06 22:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
New package: osmin-1.10.4
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1827 bytes --]
From ff257901264895ecc2ebdcd5b9e704c298544877 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.9.7
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..4d80e948c7319
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.11.1
+revision=1
+_libosmscout_version=2023.03.30.1
+build_style=cmake
+cmake_builddir="${pkgname}-${version}"
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/Framstag/libosmscout/archive/refs/tags/v${_libosmscout_version}.tar.gz"
+checksum="5a501291ff1b2cfdfa0d974db4ae876e24fe5e1c93802c83c1743860ef721f94
+ b51dc4ecbced421ed9db6359567be030c77f781b0da09830c0f2b06f675d004d"
+
+# nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ cd ${pkgname}-${version}
+ rmdir -v backend/libosmscout
+ mv -v ../libosmscout-${pkgname}-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: osmin-1.11.1
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (34 preceding siblings ...)
2024-02-06 22:37 ` Eloitor
@ 2024-02-07 8:38 ` Eloitor
2024-11-15 22:09 ` Piraty
` (2 subsequent siblings)
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2024-02-07 8:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages osmin
https://github.com/void-linux/void-packages/pull/41561
[WIP] New package: osmin-1.11.1
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
A patch file from https://github.com/void-linux/void-packages/pull/41561.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-osmin-41561.patch --]
[-- Type: text/x-diff, Size: 1817 bytes --]
From d04204d3d0116e392dc3b087118ae38ca529f470 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Wed, 25 May 2022 22:20:18 +0200
Subject: [PATCH] New package: osmin-1.11.1
---
srcpkgs/osmin/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/osmin/template
diff --git a/srcpkgs/osmin/template b/srcpkgs/osmin/template
new file mode 100644
index 0000000000000..1a8264aea6de3
--- /dev/null
+++ b/srcpkgs/osmin/template
@@ -0,0 +1,32 @@
+# Template file for 'osmin'
+pkgname=osmin
+version=1.11.1
+revision=1
+_libosmscout_version=2023.03.30.1
+build_style=cmake
+cmake_builddir="${pkgname}-${version}"
+configure_args="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ ."
+hostmakedepends="qt5-qmake pkg-config qt5-host-tools git"
+makedepends="marisa-devel libxml2-devel qt5-declarative-devel qt5-3d clang libgomp-devel
+ libomp-devel qt5-declarative-devel qt5-tools-devel
+ qt5-svg-devel qt5-quickcontrols2-devel qt5-sensors-devel
+ qt5-multimedia-devel qt5-remoteobjects-devel qt5-location-devel"
+short_desc="GPS Navigator On-Road/Off-Road"
+
+archs="~armv6l-musl ~armv7l ~i686" # libomp-devel
+license="GPL-3.0-only"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+homepage="https://github.com/janbar/osmin"
+distfiles="
+ https://github.com/janbar/osmin/archive/refs/tags/${version}.tar.gz
+ https://github.com/Framstag/libosmscout/archive/refs/tags/v${_libosmscout_version}.tar.gz"
+checksum="5a501291ff1b2cfdfa0d974db4ae876e24fe5e1c93802c83c1743860ef721f94
+ b51dc4ecbced421ed9db6359567be030c77f781b0da09830c0f2b06f675d004d"
+
+# nopie_files="/usr/bin/osmin"
+
+pre_configure() {
+ cd ${pkgname}-${version}
+ rmdir -v backend/libosmscout
+ mv -v ../libosmscout-${_libosmscout_version} backend/libosmscout
+}
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [WIP] New package: osmin-1.11.1
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (35 preceding siblings ...)
2024-02-07 8:38 ` [PR PATCH] [Updated] [WIP] New package: osmin-1.11.1 Eloitor
@ 2024-11-15 22:09 ` Piraty
2024-11-16 8:09 ` Eloitor
2024-11-16 8:09 ` [PR PATCH] [Closed]: " Eloitor
38 siblings, 0 replies; 40+ messages in thread
From: Piraty @ 2024-11-15 22:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 145 bytes --]
New comment by Piraty on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-2480018052
Comment:
ping
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [PR PATCH] [Closed]: [WIP] New package: osmin-1.11.1
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (37 preceding siblings ...)
2024-11-16 8:09 ` Eloitor
@ 2024-11-16 8:09 ` Eloitor
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2024-11-16 8:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
There's a closed pull request on the void-packages repository
[WIP] New package: osmin-1.11.1
https://github.com/void-linux/void-packages/pull/41561
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #41476
^ permalink raw reply [flat|nested] 40+ messages in thread
* Re: [WIP] New package: osmin-1.11.1
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
` (36 preceding siblings ...)
2024-11-15 22:09 ` Piraty
@ 2024-11-16 8:09 ` Eloitor
2024-11-16 8:09 ` [PR PATCH] [Closed]: " Eloitor
38 siblings, 0 replies; 40+ messages in thread
From: Eloitor @ 2024-11-16 8:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/41561#issuecomment-2480473391
Comment:
I'm sorry... I do not have the time to keep up with this PR
^ permalink raw reply [flat|nested] 40+ messages in thread
end of thread, other threads:[~2024-11-16 8:09 UTC | newest]
Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10 17:34 [PR PATCH] New package: osmin-1.8.7 Eloitor
2023-01-10 18:58 ` [PR REVIEW] " paper42
2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
2023-01-10 18:58 ` paper42
2023-01-10 21:49 ` [PR PATCH] [Updated] " Eloitor
2023-01-10 21:53 ` Eloitor
2023-01-10 22:09 ` [PR REVIEW] " Eloitor
2023-01-10 22:12 ` Eloitor
2023-01-10 22:12 ` Piraty
2023-01-10 22:20 ` [PR PATCH] [Updated] " Eloitor
2023-01-11 7:42 ` [PR REVIEW] " Eloitor
2023-01-12 12:43 ` Piraty
2023-01-12 12:43 ` Piraty
2023-01-12 12:44 ` Piraty
2023-01-12 15:24 ` [PR PATCH] [Updated] " Eloitor
2023-01-12 15:26 ` Eloitor
2023-01-12 15:28 ` [PR REVIEW] " Eloitor
2023-01-27 14:22 ` [PR PATCH] [Updated] " Eloitor
2023-02-05 20:18 ` Piraty
2023-02-10 11:43 ` Eloitor
2023-05-12 1:51 ` github-actions
2023-05-13 16:36 ` [PR PATCH] [Updated] " Eloitor
2023-05-15 0:35 ` New package: osmin-1.9.6 Piraty
2023-07-22 22:59 ` Piraty
2023-09-02 21:02 ` [PR PATCH] [Updated] " Eloitor
2023-09-02 21:03 ` [PR PATCH] [Updated] New package: osmin-1.9.7 Eloitor
2023-10-16 21:22 ` Eloitor
2023-10-16 21:25 ` New package: osmin-1.10.4 Eloitor
2023-10-25 17:01 ` [PR REVIEW] " Piraty
2023-10-25 17:01 ` Piraty
2023-10-25 21:38 ` Eloitor
2023-10-29 11:00 ` [PR PATCH] [Updated] " Eloitor
2023-10-30 13:34 ` Eloitor
2024-02-06 22:37 ` Eloitor
2024-02-07 8:38 ` [PR PATCH] [Updated] [WIP] New package: osmin-1.11.1 Eloitor
2024-11-15 22:09 ` Piraty
2024-11-16 8:09 ` Eloitor
2024-11-16 8:09 ` [PR PATCH] [Closed]: " Eloitor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).