* [PR PATCH] Qualcomm updates
@ 2021-06-12 10:29 JamiKettunen
2021-06-12 11:31 ` [PR PATCH] [Updated] " JamiKettunen
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-12 10:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]
There is a new 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: 5970 bytes --]
From 1b34facb173b4eb5c55a409202d307d4db6cfa5e 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/4] 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 91221e6cff7a..e350a11cde88 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4011,3 +4011,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 b555014150b27ad172ca0882358ca527200973d7 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/4] 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 29bf087688a5b0976b33b0749df9bfcb7fedc15a 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From 71ded15ea8564079b8487735bfb895bdefdd7cf1 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware/template | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
@ 2021-06-12 11:31 ` JamiKettunen
2021-06-12 21:10 ` JamiKettunen
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-12 11:31 UTC (permalink / raw)
To: ml
[-- 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: 6290 bytes --]
From 1b34facb173b4eb5c55a409202d307d4db6cfa5e 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/4] 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 91221e6cff7a..e350a11cde88 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4011,3 +4011,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 b555014150b27ad172ca0882358ca527200973d7 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/4] 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 29bf087688a5b0976b33b0749df9bfcb7fedc15a 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From 7320ea074c0c1941461daa835bd82f3377b6df1d Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware-qcom | 1 +
srcpkgs/linux-firmware/template | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/linux-firmware-qcom
diff --git a/srcpkgs/linux-firmware-qcom b/srcpkgs/linux-firmware-qcom
new file mode 120000
index 000000000000..9a0010a89de1
--- /dev/null
+++ b/srcpkgs/linux-firmware-qcom
@@ -0,0 +1 @@
+linux-firmware
\ No newline at end of file
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
2021-06-12 11:31 ` [PR PATCH] [Updated] " JamiKettunen
@ 2021-06-12 21:10 ` JamiKettunen
2021-06-12 21:25 ` JamiKettunen
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-12 21:10 UTC (permalink / raw)
To: ml
[-- 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: 6290 bytes --]
From 45435cf6bd4b51aec7d0fa742917e5dd6e4faae6 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/4] 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 d970f8d69b53..0848b6335d87 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4011,3 +4011,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 8ac46a6886773d44e9bcfd26fb624b68126bd933 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/4] 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 4335fb29b21e496047f4a0e931f1dfa50419a944 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From 77757324761a5d8d830a559d944a7f69c147c8d7 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware-qcom | 1 +
srcpkgs/linux-firmware/template | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/linux-firmware-qcom
diff --git a/srcpkgs/linux-firmware-qcom b/srcpkgs/linux-firmware-qcom
new file mode 120000
index 000000000000..9a0010a89de1
--- /dev/null
+++ b/srcpkgs/linux-firmware-qcom
@@ -0,0 +1 @@
+linux-firmware
\ No newline at end of file
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates 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
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-12 21:25 UTC (permalink / raw)
To: ml
[-- 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: 6290 bytes --]
From 2a77d527b5f44507a30459bd1c480500eeb32634 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/4] 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 d970f8d69b53..0848b6335d87 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4011,3 +4011,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 30a70a52b795c06145f472c798ca6e1403ffd100 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/4] 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 9bd1bfbb0edd9fe4289fbf4ebd0f28907e3c5e3d 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From 4eab392c879eeea92a7aa87c870e517a64556a44 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware-qcom | 1 +
srcpkgs/linux-firmware/template | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/linux-firmware-qcom
diff --git a/srcpkgs/linux-firmware-qcom b/srcpkgs/linux-firmware-qcom
new file mode 120000
index 000000000000..9a0010a89de1
--- /dev/null
+++ b/srcpkgs/linux-firmware-qcom
@@ -0,0 +1 @@
+linux-firmware
\ No newline at end of file
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (2 preceding siblings ...)
2021-06-12 21:25 ` JamiKettunen
@ 2021-06-12 21:31 ` JamiKettunen
2021-06-13 13:30 ` [PR PATCH] [Updated] " JamiKettunen
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-12 21:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by JamiKettunen on void-packages repository
https://github.com/void-linux/void-packages/pull/31435#issuecomment-860113215
Comment:
Sorry for yet another force push, had to sort out the messed up authorship; I prepared a patch for LKML earlier so I had the wrong gitconfig setup.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (3 preceding siblings ...)
2021-06-12 21:31 ` JamiKettunen
@ 2021-06-13 13:30 ` JamiKettunen
2021-06-13 14:59 ` JamiKettunen
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-13 13:30 UTC (permalink / raw)
To: ml
[-- 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: 6290 bytes --]
From b76eda4daa43a48519d48f41ae28eff8daf77867 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/4] 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 179fe27443be..564009bb7093 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4012,3 +4012,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 63ab8366968bd5ac036aad8f99eaeb12d6f732a7 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/4] 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 b9a5f6845ec478f5294888e6deff4c23c057661e 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From 5fb3f5e4142bea6c41491f42bb744ad4bc0856f4 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware-qcom | 1 +
srcpkgs/linux-firmware/template | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/linux-firmware-qcom
diff --git a/srcpkgs/linux-firmware-qcom b/srcpkgs/linux-firmware-qcom
new file mode 120000
index 000000000000..9a0010a89de1
--- /dev/null
+++ b/srcpkgs/linux-firmware-qcom
@@ -0,0 +1 @@
+linux-firmware
\ No newline at end of file
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (4 preceding siblings ...)
2021-06-13 13:30 ` [PR PATCH] [Updated] " JamiKettunen
@ 2021-06-13 14:59 ` JamiKettunen
2021-06-13 16:19 ` JamiKettunen
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-13 14:59 UTC (permalink / raw)
To: ml
[-- 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: 6290 bytes --]
From 01b93c552743c35a6fa130e09c3c8050115f0495 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/4] 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 179fe27443be..564009bb7093 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4012,3 +4012,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 5e89ef356e4e59bffe34d02d1516ad7ac3b87dc0 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/4] 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 fe4df4eba22f5726f0143d73f18c84adc4a5f847 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From b580d707cae31098065dd126fc532799900d462b Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware-qcom | 1 +
srcpkgs/linux-firmware/template | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/linux-firmware-qcom
diff --git a/srcpkgs/linux-firmware-qcom b/srcpkgs/linux-firmware-qcom
new file mode 120000
index 000000000000..9a0010a89de1
--- /dev/null
+++ b/srcpkgs/linux-firmware-qcom
@@ -0,0 +1 @@
+linux-firmware
\ No newline at end of file
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (5 preceding siblings ...)
2021-06-13 14:59 ` JamiKettunen
@ 2021-06-13 16:19 ` JamiKettunen
2021-07-19 17:26 ` [PR REVIEW] " ericonr
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-06-13 16:19 UTC (permalink / raw)
To: ml
[-- 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: 6290 bytes --]
From 9c1c3924e99421a1db6e8aee7ff30763f7817b32 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/4] 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 179fe27443be..564009bb7093 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4012,3 +4012,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_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 8333b80fcb6e91eb73136a8b3854c40d2c9dfaaa 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/4] 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 e6c7268d65e01fe4ecbeea879ad6cb744aa63791 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/4] 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 30b5dc01c066..51cc3097d643 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,12 +1,12 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.16.6
-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
From 188cea8d79fb6a95ea6aa20f3e5124971fe9e1b6 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 6 Jun 2021 04:18:15 +0300
Subject: [PATCH 4/4] linux-firmware: subpackage for Qualcomm SoCs.
---
srcpkgs/linux-firmware-qcom | 1 +
srcpkgs/linux-firmware/template | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/linux-firmware-qcom
diff --git a/srcpkgs/linux-firmware-qcom b/srcpkgs/linux-firmware-qcom
new file mode 120000
index 000000000000..9a0010a89de1
--- /dev/null
+++ b/srcpkgs/linux-firmware-qcom
@@ -0,0 +1 @@
+linux-firmware
\ No newline at end of file
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 66358c052182..badeb3735118 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20210511
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -13,7 +13,8 @@ python_version=3
nostrip=yes
subpackages="linux-firmware-amd linux-firmware-broadcom
- linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
+ linux-firmware-intel linux-firmware-nvidia linux-firmware-network
+ linux-firmware-qcom"
do_install() {
make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
@@ -94,3 +95,11 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/qca
}
}
+
+linux-firmware-qcom_package() {
+ short_desc+=" - Qualcomm SoC blobs"
+ nostrip=yes
+ pkg_install() {
+ vmove usr/lib/firmware/qcom
+ }
+}
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (6 preceding siblings ...)
2021-06-13 16:19 ` JamiKettunen
@ 2021-07-19 17:26 ` ericonr
2021-07-19 17:27 ` JamiKettunen
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ericonr @ 2021-07-19 17:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31435#discussion_r672490909
Comment:
Nit: why `qcom` and not `qualcomm`?
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (7 preceding siblings ...)
2021-07-19 17:26 ` [PR REVIEW] " ericonr
@ 2021-07-19 17:27 ` JamiKettunen
2021-07-19 17:28 ` JamiKettunen
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-07-19 17:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
New review comment by JamiKettunen on void-packages repository
https://github.com/void-linux/void-packages/pull/31435#discussion_r672492418
Comment:
Matches the `linux-firmware` directory name and is already done the same way on e.g. [Alpine Linux](https://pkgs.alpinelinux.org/packages?name=linux-firmware-qcom).
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (8 preceding siblings ...)
2021-07-19 17:27 ` JamiKettunen
@ 2021-07-19 17:28 ` JamiKettunen
2021-07-19 17:39 ` JamiKettunen
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-07-19 17:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
New review comment by JamiKettunen on void-packages repository
https://github.com/void-linux/void-packages/pull/31435#discussion_r672492418
Comment:
Matches the `linux-firmware` directory name and is already done the same way on e.g. [Alpine Linux](https://pkgs.alpinelinux.org/packages?name=linux-firmware-qcom); I can change it however if that's more approperiate in your opinion :)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR REVIEW] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (9 preceding siblings ...)
2021-07-19 17:28 ` JamiKettunen
@ 2021-07-19 17:39 ` JamiKettunen
2021-07-19 17:42 ` [PR PATCH] [Updated] " JamiKettunen
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-07-19 17:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 242 bytes --]
New review comment by JamiKettunen on void-packages repository
https://github.com/void-linux/void-packages/pull/31435#discussion_r672500243
Comment:
I can certainly split the FW subpackage to another PR and rebase this, just a few minutes.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (10 preceding siblings ...)
2021-07-19 17:39 ` JamiKettunen
@ 2021-07-19 17:42 ` JamiKettunen
2021-07-19 19:42 ` JamiKettunen
2021-07-20 19:11 ` [PR PATCH] [Merged]: " ericonr
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-07-19 17:42 UTC (permalink / raw)
To: ml
[-- 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Updated] Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (11 preceding siblings ...)
2021-07-19 17:42 ` [PR PATCH] [Updated] " JamiKettunen
@ 2021-07-19 19:42 ` JamiKettunen
2021-07-20 19:11 ` [PR PATCH] [Merged]: " ericonr
13 siblings, 0 replies; 15+ messages in thread
From: JamiKettunen @ 2021-07-19 19:42 UTC (permalink / raw)
To: ml
[-- 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: 4522 bytes --]
From c6712bda6c848f20748297b22653fe325e0c9f1b 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..b09104c12bb7
--- /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 gir introspection)"
+hostmakedepends="pkg-config"
+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
+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 275769f0cc2f61cb7639359edec793c3caf8cdd3 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 da67644b6c552490032014c973c520b5fd3630d4 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PR PATCH] [Merged]: Qualcomm updates
2021-06-12 10:29 [PR PATCH] Qualcomm updates JamiKettunen
` (12 preceding siblings ...)
2021-07-19 19:42 ` JamiKettunen
@ 2021-07-20 19:11 ` ericonr
13 siblings, 0 replies; 15+ messages in thread
From: ericonr @ 2021-07-20 19:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]
There's a merged pull request on the void-packages repository
Qualcomm updates
https://github.com/void-linux/void-packages/pull/31435
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2021-07-20 19:11 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-12 10:29 [PR PATCH] Qualcomm updates 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 ` [PR PATCH] [Updated] " JamiKettunen
2021-07-19 19:42 ` JamiKettunen
2021-07-20 19:11 ` [PR PATCH] [Merged]: " ericonr
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).