Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: osmin-1.10.4
Date: Mon, 30 Oct 2023 14:34:46 +0100	[thread overview]
Message-ID: <20231030133446.QmiUbS1phsne3Y8v54DnboRFq9heOC9qeeZaehkYUMg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41561@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2023-10-30 13:34 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2024-02-06 22:37 ` Eloitor
2024-02-07  8:38 ` [PR PATCH] [Updated] [WIP] New package: osmin-1.11.1 Eloitor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231030133446.QmiUbS1phsne3Y8v54DnboRFq9heOC9qeeZaehkYUMg@z \
    --to=eloitor@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).