public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/qrtr] epel10: Initial import; Fixes: RHBZ#2221421
Date: Fri, 28 Aug 2026 05:55:50 GMT	[thread overview]
Message-ID: <178789655064.1.10849340054715638606.rpms-qrtr-d44a61bcb816@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/qrtr
Branch : epel10
Commit : d44a61bcb8164ee3d01f241ed83173a59eeb5a47
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2023-09-05T18:21:49-07:00
Stats  : +126/-0 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/qrtr/c/d44a61bcb8164ee3d01f241ed83173a59eeb5a47?branch=epel10

Log:
Initial import; Fixes: RHBZ#2221421

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..be0ead8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/qrtr-1.0.tar.gz

diff --git a/a4398c8bf271f90338f95e1230373dde977d9cff.patch b/a4398c8bf271f90338f95e1230373dde977d9cff.patch
new file mode 100644
index 0000000..fe94b2e
--- /dev/null
+++ b/a4398c8bf271f90338f95e1230373dde977d9cff.patch
@@ -0,0 +1,28 @@
+From a4398c8bf271f90338f95e1230373dde977d9cff Mon Sep 17 00:00:00 2001
+From: Jami Kettunen <jami.kettunen@protonmail.com>
+Date: Wed, 28 Dec 2022 17:29:20 +0200
+Subject: [PATCH] Makefile: allow $(CFLAGS), $(LDFLAGS) override
+
+The caller might have specified CFLAGS or LDFLAGS. Let's respect those.
+Additionally drop LDFLAGS var definition as it is empty.
+---
+ Makefile | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 036691c..bd6c1cd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,10 +3,9 @@ proj-major := 1
+ proj-minor := 0
+ proj-version := $(proj-major).$(proj-minor)
+ 
+-CFLAGS := -Wall -g
+-LDFLAGS :=
++CFLAGS += -Wall -g
++prefix = /usr/local
+ 
+-prefix := /usr/local
+ bindir := $(prefix)/bin
+ libdir := $(prefix)/lib
+ includedir := $(prefix)/include

diff --git a/d0d471c96e7d112fac6f48bd11f9e8ce209c04d2.patch b/d0d471c96e7d112fac6f48bd11f9e8ce209c04d2.patch
new file mode 100644
index 0000000..bab95b8
--- /dev/null
+++ b/d0d471c96e7d112fac6f48bd11f9e8ce209c04d2.patch
@@ -0,0 +1,25 @@
+From d0d471c96e7d112fac6f48bd11f9e8ce209c04d2 Mon Sep 17 00:00:00 2001
+From: Dylan Van Assche <me@dylanvanassche.be>
+Date: Wed, 21 Dec 2022 20:25:11 +0100
+Subject: [PATCH] lookup: add Snapdragon Sensor Core service
+
+SDM845 and later expose a Snapdragon Sensor Core service (400) to access the sensors
+ managed by a remoteproc. Add this service to the known list of services.
+
+Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
+---
+ src/lookup.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lookup.c b/src/lookup.c
+index 80cf984..092e616 100644
+--- a/src/lookup.c
++++ b/src/lookup.c
+@@ -75,6 +75,7 @@ static const struct {
+ 	{ 225, 0, "Remote Management Service" },
+ 	{ 226, 0, "Open Mobile Alliance device management service" },
+ 	{ 312, 0, "QBT1000 Ultrasonic Fingerprint Sensor service" },
++	{ 400, 0, "Snapdragon Sensor Core service" },
+ 	{ 769, 0, "SLIMbus control service" },
+ 	{ 771, 0, "Peripheral Access Control Manager service" },
+ 	{ 4096, 0, "TFTP" },

diff --git a/qrtr.spec b/qrtr.spec
new file mode 100644
index 0000000..ee08d58
--- /dev/null
+++ b/qrtr.spec
@@ -0,0 +1,71 @@
+Name:           qrtr
+Version:        1.0
+Release:        %autorelease
+Summary:        Service listing daemon for Qualcomm IPC Router
+
+# src/map.c is BSD-2-Clause, the rest is BSD-3-Clause
+License:        BSD-3-Clause AND BSD-2-Clause
+URL:            https://github.com/andersson/qrtr
+Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# Makefile: allow $(CFLAGS), $(LDFLAGS) override
+Patch:          %{url}/commit/a4398c8bf271f90338f95e1230373dde977d9cff.patch
+# lookup: add Snapdragon Sensor Core service
+Patch:          %{url}/commit/d0d471c96e7d112fac6f48bd11f9e8ce209c04d2.patch
+
+BuildRequires:  gcc
+BuildRequires:  make
+BuildRequires:  systemd-rpm-macros
+
+Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description
+This package provides the userspace component for the Qualcomm IPC Router
+protocol, which maintains a service listing and allows peforming lookups.
+
+%package        libs
+Summary:        Shared libraries for %{name}
+
+%description    libs
+This packages provides shared libraries for %{name}.
+
+%package        devel
+Summary:        Development headers and libraries for %{name}
+Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description    devel
+This packages provides development headers and libraries for %{name}.
+
+%prep
+%autosetup -p1
+
+%build
+%make_build prefix="%{_prefix}" libdir="%{_libdir}"
+
+%install
+%make_install prefix="%{_prefix}" libdir="%{_libdir}"
+
+%post
+%systemd_post qrtr-ns.service
+
+%preun
+%systemd_preun qrtr-ns.service
+
+%postun
+%systemd_postun_with_restart qrtr-ns.service
+
+%files
+%{_bindir}/qrtr-cfg
+%{_bindir}/qrtr-lookup
+%{_bindir}/qrtr-ns
+%{_unitdir}/qrtr-ns.service
+
+%files devel
+%{_includedir}/libqrtr.h
+%{_libdir}/libqrtr.so
+
+%files libs
+%license LICENSE
+%{_libdir}/libqrtr.so.1*
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..9b40fa6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (qrtr-1.0.tar.gz) = 67d1da9821dc6589504d9d04ad8efbb589f81db70e1fbcdbf5f8ae809428967f09c070c62233a296f39909f4313db8d2215507d3612ff3d8f2d87c4513abe324

                 reply	other threads:[~2026-08-28  5:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178789655064.1.10849340054715638606.rpms-qrtr-d44a61bcb816@fedoraproject.org \
    --to=dcavalca@fedoraproject.org \
    --cc=git-commits@fedoraproject.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