Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: modrana-0.56.17
@ 2022-08-03 22:46 TinfoilSubmarine
  2022-08-03 22:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: TinfoilSubmarine @ 2022-08-03 22:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

There is a new pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages maint/modrana
https://github.com/void-linux/void-packages/pull/38461

[WIP] New package: modrana-0.56.17
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Closes https://github.com/void-linux/void-packages/issues/36929

As noted in the modrana template, the latest version is only mentioned in the commit log and is not tagged. Not sure why...

I got pyotherside cross-compiling working, but need help with figuring out how to make modrana cross-build, specifically for `make launcher`

[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/38461.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maint/modrana-38461.patch --]
[-- Type: text/x-diff, Size: 2749 bytes --]

From b56383c9356da3c9849a02f8ab26417c34be147d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Wed, 3 Aug 2022 15:21:21 -0400
Subject: [PATCH 1/2] New package: pyotherside-1.5.9

---
 srcpkgs/pyotherside/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/pyotherside/template

diff --git a/srcpkgs/pyotherside/template b/srcpkgs/pyotherside/template
new file mode 100644
index 000000000000..a36325408dff
--- /dev/null
+++ b/srcpkgs/pyotherside/template
@@ -0,0 +1,22 @@
+# Template file for 'pyotherside'
+pkgname=pyotherside
+version=1.5.9
+revision=1
+wrksrc="pyotherside-${version}"
+build_style=qmake
+configure_args="PYTHON_CONFIG=${XBPS_CROSS_BASE}/usr/bin/python3-config"
+hostmakedepends="qt5-qmake qt5-host-tools"
+makedepends="python3-devel qt5-svg-devel qt5-declarative-devel"
+short_desc="Asynchronous Python 3 Bindings for Qt 5"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="ISC"
+homepage="https://thp.io/2011/pyotherside/"
+distfiles="https://github.com/thp/pyotherside/archive/${version}.tar.gz"
+checksum=189cb0b973e40fcb6b95fd51b0bcd6cc8494b514d49ffe966ec488cf05bbf51e
+
+post_install() {
+	vlicense LICENSE
+
+	# remove tests polluting /usr
+	rm ${DESTDIR}/usr/tests/qtquicktests/qtquicktests
+}

From a543a6561f17a4f0db077dc7e9e89eed799021c0 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 31 May 2022 10:26:17 -0400
Subject: [PATCH 2/2] New package: modrana-0.56.17

---
 srcpkgs/modrana/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/modrana/template

diff --git a/srcpkgs/modrana/template b/srcpkgs/modrana/template
new file mode 100644
index 000000000000..3b85e2c19c5c
--- /dev/null
+++ b/srcpkgs/modrana/template
@@ -0,0 +1,31 @@
+# Template file for 'modrana'
+pkgname=modrana
+version=0.57.3
+revision=1
+# releases aren't tagged in git
+_version_commit=dbd558d407abe7a3a4a352c96b618147cade4bd9
+wrksrc="modrana-${_version_commit}"
+hostmakedepends="rsync python3 qt5-qmake"
+makedepends="qt5-declarative-devel"
+depends="pyotherside"
+short_desc="Flexible GPS navigation system for mobile devices"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="GPL-3.0-or-later"
+homepage="https://modrana.org"
+distfiles="https://github.com/M4rtinK/modrana/archive/${_version_commit}.tar.gz"
+checksum=7f93e4660997a8cba4194709c4566dec667da1c99ae45dd66ea6df71b8c637a6
+python_version=3
+
+do_build() {
+	make VersionFile
+	make
+	make rsync
+	make bytecode-python3
+	make launcher
+}
+
+do_install() {
+	make DESTDIR="$DESTDIR" install
+	# not sure why the gtk binary is still here, only qt is supported/working
+	rm ${DESTDIR}/usr/bin/modrana-gtk
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-07-10 21:55 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-03 22:46 [PR PATCH] [WIP] New package: modrana-0.56.17 TinfoilSubmarine
2022-08-03 22:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-08-03 23:06 ` [PR REVIEW] " classabbyamp
2022-08-04 15:32 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-08-04 15:32 ` [PR REVIEW] " TinfoilSubmarine
2022-08-04 15:33 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-08-04 15:37 ` TinfoilSubmarine
2022-09-07 20:06 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-09-07 20:14 ` TinfoilSubmarine
2022-12-07  2:37 ` New package: modrana-0.57.3 github-actions
2022-12-08 22:17 ` Piraty
2022-12-08 22:20 ` Piraty
2022-12-08 22:54 ` Piraty
2022-12-09  0:13 ` M4rtinK
2023-03-09  2:05 ` github-actions
2023-03-10 14:25 ` M4rtinK
2023-06-09  2:05 ` github-actions
2023-06-09 10:46 ` M4rtinK
2023-06-23 19:37 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-06-28 20:04 ` [PR PATCH] [Merged]: " Duncaen
2023-07-10 21:55 ` Piraty

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