Github messages for voidlinux
 help / color / mirror / Atom feed
From: JamiKettunen <JamiKettunen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] libqrtr-glib: update to 1.2.2.
Date: Sun, 28 Aug 2022 00:37:13 +0200	[thread overview]
Message-ID: <20220827223713.TgKUA7DWT8kKweN3lxjIfAQ_qjw9VS1ARLQmFL61i0s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38915@inbox.vuxu.org>

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

There is an updated pull request by JamiKettunen against master on the void-packages repository

https://github.com/JamiKettunen/void-packages libqrtr-glib
https://github.com/void-linux/void-packages/pull/38915

libqrtr-glib: update to 1.2.2.
Builds fine, but local testing to-be-done still...

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libqrtr-glib-38915.patch --]
[-- Type: text/x-diff, Size: 2406 bytes --]

From 6dc88822701231ced170aff0572cfe2d7c42682d Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Thu, 11 Aug 2022 16:22:51 +0300
Subject: [PATCH] libqrtr-glib: update to 1.2.2.

---
 srcpkgs/libqrtr-glib/template | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/libqrtr-glib/template b/srcpkgs/libqrtr-glib/template
index b09104c12bb7..a866cc3b3361 100644
--- a/srcpkgs/libqrtr-glib/template
+++ b/srcpkgs/libqrtr-glib/template
@@ -1,29 +1,42 @@
 # Template file for 'libqrtr-glib'
 pkgname=libqrtr-glib
-version=1.0.0
+version=1.2.2
 revision=1
-build_style=gnu-configure
-build_helper="gir"
-configure_args="--disable-static
- $(vopt_enable gir introspection)"
-hostmakedepends="pkg-config"
+build_style=meson
+build_helper="gir qemu"
+configure_args="$(vopt_bool gir introspection)"
+hostmakedepends="pkg-config gtk-doc"
 makedepends="glib-devel"
 short_desc="Qualcomm IPC Router protocol helper library"
 maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
 license="LGPL-2.1-or-later"
 homepage="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
-distfiles="${FREEDESKTOP_SITE}/libqmi/${pkgname}-${version}.tar.xz"
-checksum=30d879b2ade6f8f461def3a677755db5c0238babf688d5c83c03b3e6abe35cee
+changelog="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib/-/raw/main/NEWS"
+distfiles="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib/-/archive/${version}/libqrtr-glib-${version}.tar.gz"
+checksum=c5cdf5ea91cbd2cf2758b2896064c7b1dfe7156063267df905f957ac69b6b763
+
 build_options="gir"
 build_options_default="gir"
 
+# FIXME: drop gtk-doc generation from cross builds to avoid aarch64-musl & armv6l-musl
+# python relocation errors on CI that are not reproducible when building locally
+# https://github.com/void-linux/void-packages/runs/8028582126
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -Dgtk_doc=false"
+fi
+
 libqrtr-glib-devel_package() {
-	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	depends="${sourcepkg}-${version}_${revision} ${makedepends}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
+		if [ "$build_option_gir" ]; then
+			vmove usr/share/gir-1.0
+		fi
+		if [ -z "$CROSS_BUILD" ]; then
+			vmove usr/share/gtk-doc
+		fi
 		vmove "usr/lib/*.so"
-		vmove usr/share
 	}
 }

  parent reply	other threads:[~2022-08-27 22:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26  2:01 [PR PATCH] " JamiKettunen
2022-08-26  2:26 ` [PR PATCH] [Updated] " JamiKettunen
2022-08-26  2:29 ` JamiKettunen
2022-08-26  2:31 ` JamiKettunen
2022-08-26  2:34 ` JamiKettunen
2022-08-26  8:27 ` classabbyamp
2022-08-26 11:54 ` JamiKettunen
2022-08-26 12:18 ` [PR PATCH] [Updated] " JamiKettunen
2022-08-26 12:21 ` JamiKettunen
2022-08-26 12:38 ` JamiKettunen
2022-08-26 12:39 ` JamiKettunen
2022-08-26 20:11 ` [PR PATCH] [Updated] " JamiKettunen
2022-08-26 20:11 ` JamiKettunen
2022-08-26 20:15 ` JamiKettunen
2022-08-27  7:07 ` [PR REVIEW] " classabbyamp
2022-08-27 22:37 ` JamiKettunen [this message]
2022-08-27 22:55 ` JamiKettunen
2022-08-27 23:03 ` JamiKettunen
2022-08-29 10:15 ` [PR PATCH] [Merged]: " classabbyamp

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=20220827223713.TgKUA7DWT8kKweN3lxjIfAQ_qjw9VS1ARLQmFL61i0s@z \
    --to=jamikettunen@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).