From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Modemmanger add service
Date: Thu, 18 Jul 2019 12:11:16 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13203@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is a new pull request by Gottox against master on the void-packages repository
https://github.com/Gottox/void-packages modemmanger-add-service
https://github.com/void-linux/void-packages/pull/13203
Modemmanger add service
A patch file from https://github.com/void-linux/void-packages/pull/13203.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-modemmanger-add-service-13203.patch --]
[-- Type: application/text/x-diff, Size: 2248 bytes --]
From 43392df226dda4b34c817827025ada8942028542 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Thu, 18 Jul 2019 11:43:42 +0200
Subject: [PATCH 1/2] ModemManager: move dbus config to /usr.
---
srcpkgs/ModemManager/template | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/srcpkgs/ModemManager/template b/srcpkgs/ModemManager/template
index c55682c98dc..51baf932b50 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -29,6 +29,11 @@ pre_configure() {
sed -i configure -e"s; -Werror;;g"
}
+post_install() {
+ mkdir -p $DESTDIR/usr/share/dbus-1/system.d
+ mv $DESTDIR/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf $DESTDIR/usr/share/dbus-1/system.d
+}
+
ModemManager-devel_package() {
depends="libmm-glib>=${version}_${revision}"
short_desc+=" - development files"
From 89d84878782676828604fb965e0e1b050b844dcb Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Thu, 18 Jul 2019 11:44:06 +0200
Subject: [PATCH 2/2] ModemManager: add service
---
srcpkgs/ModemManager/files/ModemManager/run | 3 +++
srcpkgs/ModemManager/template | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
create mode 100755 srcpkgs/ModemManager/files/ModemManager/run
diff --git a/srcpkgs/ModemManager/files/ModemManager/run b/srcpkgs/ModemManager/files/ModemManager/run
new file mode 100755
index 00000000000..42ac44fbc3e
--- /dev/null
+++ b/srcpkgs/ModemManager/files/ModemManager/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+sv check dbus >/dev/null || exit 1
+exec ModemManager > /dev/null 2>&1
diff --git a/srcpkgs/ModemManager/template b/srcpkgs/ModemManager/template
index 51baf932b50..5e72470b0e9 100644
--- a/srcpkgs/ModemManager/template
+++ b/srcpkgs/ModemManager/template
@@ -1,7 +1,7 @@
# Template file for 'ModemManager'
pkgname=ModemManager
version=1.10.4
-revision=1
+revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --with-polkit=permissive
@@ -32,6 +32,7 @@ pre_configure() {
post_install() {
mkdir -p $DESTDIR/usr/share/dbus-1/system.d
mv $DESTDIR/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf $DESTDIR/usr/share/dbus-1/system.d
+ vsv ${pkgname}
}
ModemManager-devel_package() {
next reply other threads:[~2019-07-18 10:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-18 10:11 voidlinux-github [this message]
2019-07-18 12:09 ` Modemmanager: " voidlinux-github
2019-07-18 12:25 ` voidlinux-github
2019-07-18 14:17 ` voidlinux-github
2019-07-19 20:05 ` voidlinux-github
2019-07-24 11:01 ` voidlinux-github
2019-07-24 11:01 ` [PR PATCH] [Closed]: " voidlinux-github
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13203@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--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).