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] Qualcomm updates
Date: Mon, 19 Jul 2021 19:42:36 +0200	[thread overview]
Message-ID: <20210719174236.EsrJHGDGe0dVNxPCTiCPp7D1V8_VagRged4kQJMUbWc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31435@inbox.vuxu.org>

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

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

https://github.com/JamiKettunen/void-packages qcom-updates
https://github.com/void-linux/void-packages/pull/31435

Qualcomm updates
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/31435.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qcom-updates-31435.patch --]
[-- Type: text/x-diff, Size: 4534 bytes --]

From c4118bfd7ad0c4155d4e2f3c577d5ac393cb7e8f Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Wed, 24 Mar 2021 20:17:55 +0200
Subject: [PATCH 1/3] New package: libqrtr-glib-1.0.0

---
 common/shlibs                 |  1 +
 srcpkgs/libqrtr-glib-devel    |  1 +
 srcpkgs/libqrtr-glib/template | 29 +++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libqrtr-glib-devel
 create mode 100644 srcpkgs/libqrtr-glib/template

diff --git a/common/shlibs b/common/shlibs
index 77c205b376d2..2b283ed413a5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4026,3 +4026,4 @@ libNX_X11.so.6 nx-libs-3.5.99.24_1
 librnnoise.so.0 rnnoise-0.4.1_1
 liblhasa.so.0 lhasa-0.3.1_2
 libmt32emu.so.2 libmt32emu-2.5.1_1
+libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
diff --git a/srcpkgs/libqrtr-glib-devel b/srcpkgs/libqrtr-glib-devel
new file mode 120000
index 000000000000..8e551037c5e7
--- /dev/null
+++ b/srcpkgs/libqrtr-glib-devel
@@ -0,0 +1 @@
+libqrtr-glib
\ No newline at end of file
diff --git a/srcpkgs/libqrtr-glib/template b/srcpkgs/libqrtr-glib/template
new file mode 100644
index 000000000000..875ade48578b
--- /dev/null
+++ b/srcpkgs/libqrtr-glib/template
@@ -0,0 +1,29 @@
+# Template file for 'libqrtr-glib'
+pkgname=libqrtr-glib
+version=1.0.0
+revision=1
+build_style=gnu-configure
+build_helper=gir
+configure_args="--disable-static
+ $(vopt_enable introspection)"
+hostmakedepends="pkg-config"
+makedepends="glib-devel"
+short_desc="Qualcomm IPC Router protocol helper library"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later"
+homepage="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
+distfiles="${FREEDESKTOP_SITE}/libqmi/${pkgname}-${version}.tar.xz"
+checksum=30d879b2ade6f8f461def3a677755db5c0238babf688d5c83c03b3e6abe35cee
+build_options="gir"
+build_options_default="gir"
+
+libqrtr-glib-devel_package() {
+	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}

From 44cb6494dd8df990e9bd1dd37e919c4c6fc86125 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Tue, 1 Jun 2021 00:36:41 +0300
Subject: [PATCH 2/3] libqmi: enable support for QRTR.

This allows for communication with Qualcomm modems present on more
recent SoCs such as the Snapdragon 835 (MSM8998).
---
 srcpkgs/libqmi/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/libqmi/template b/srcpkgs/libqmi/template
index ef48674f5b96..8b5387d9460b 100644
--- a/srcpkgs/libqmi/template
+++ b/srcpkgs/libqmi/template
@@ -1,13 +1,13 @@
 # Template file for 'libqmi'
 pkgname=libqmi
 version=1.28.6
-revision=1
+revision=2
 build_style=gnu-configure
 build_helper=gir
-configure_args="--disable-static --enable-mbim-qmux
+configure_args="--disable-static --enable-mbim-qmux --enable-qrtr
  $(vopt_enable introspection)"
 hostmakedepends="pkg-config"
-makedepends="glib-devel libgudev-devel libmbim-devel"
+makedepends="glib-devel libgudev-devel libmbim-devel libqrtr-glib-devel"
 short_desc="QMI modem protocol helper library"
 maintainer="Frank Steinborn <steinex@nognu.de>"
 license="GPL-2.0-or-later, LGPL-2.1-or-later"

From 0f9b963dab810094f1a0ffeb0c5027f48ee7870f Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Tue, 1 Jun 2021 00:07:10 +0300
Subject: [PATCH 3/3] ModemManager: enable qcom-soc plugin.

This allows ModemManager to work with the modem on Qualcomm based
boards.
---
 srcpkgs/ModemManager/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/ModemManager/template b/srcpkgs/ModemManager/template
index ac0d2abd4acb..4e8357448cc2 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
 # Template file for 'ModemManager'
 pkgname=ModemManager
 version=1.16.8
-revision=1
+revision=2
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --with-polkit=permissive
- --with-udev-base-dir=/usr/lib/udev $(vopt_enable gir introspection)
- $(vopt_enable gir vala)"
+ --with-udev-base-dir=/usr/lib/udev --enable-plugin-qcom-soc
+ $(vopt_enable gir introspection) $(vopt_enable gir vala)"
 hostmakedepends="pkg-config autoconf $(vopt_if gir vala-devel)
  glib-devel libxslt-devel"
 makedepends="libglib-devel libgudev-devel polkit-devel libqmi-devel

  parent reply	other threads:[~2021-07-19 17:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12 10:29 [PR PATCH] " JamiKettunen
2021-06-12 11:31 ` [PR PATCH] [Updated] " JamiKettunen
2021-06-12 21:10 ` JamiKettunen
2021-06-12 21:25 ` JamiKettunen
2021-06-12 21:31 ` JamiKettunen
2021-06-13 13:30 ` [PR PATCH] [Updated] " JamiKettunen
2021-06-13 14:59 ` JamiKettunen
2021-06-13 16:19 ` JamiKettunen
2021-07-19 17:26 ` [PR REVIEW] " ericonr
2021-07-19 17:27 ` JamiKettunen
2021-07-19 17:28 ` JamiKettunen
2021-07-19 17:39 ` JamiKettunen
2021-07-19 17:42 ` JamiKettunen [this message]
2021-07-19 19:42 ` [PR PATCH] [Updated] " JamiKettunen
2021-07-20 19:11 ` [PR PATCH] [Merged]: " ericonr

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=20210719174236.EsrJHGDGe0dVNxPCTiCPp7D1V8_VagRged4kQJMUbWc@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).