Github messages for voidlinux
 help / color / mirror / Atom feed
From: ifreund <ifreund@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: seatd-0.2.0
Date: Tue, 08 Sep 2020 13:20:28 +0200	[thread overview]
Message-ID: <20200908112028.bt_POl69iqcpjAHcABAsV45bapzswQ2APZg0l1lDguU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24580@inbox.vuxu.org>

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

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

https://github.com/ifreund/void-packages seatd
https://github.com/void-linux/void-packages/pull/24580

New package: seatd-0.2.0
This is not ready to be merged as upstream does not yet version the shared library files. Also, tests are currently patched out due to build failure in release mode (this is already fixed upstream but unreleased).

The only consumer of this daemon/library is the wlroots master branch as far as I know, so it doesn't really make sense to merge before the next wlroots release anyways.

I expect that seatd will become a popular alternative to elogind on void linux, so I've made this preliminary package to facilitate early testing.

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

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

From 79a5cfaedf151ad1d20917958f29d57398477581 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Mon, 31 Aug 2020 16:19:39 +0200
Subject: [PATCH] New package: seatd-0.3.0

---
 common/shlibs                 |  1 +
 srcpkgs/libseat               |  1 +
 srcpkgs/libseat-devel         |  1 +
 srcpkgs/seatd/INSTALL.msg     |  6 ++++++
 srcpkgs/seatd/files/seatd/run |  2 ++
 srcpkgs/seatd/template        | 39 +++++++++++++++++++++++++++++++++++
 6 files changed, 50 insertions(+)
 create mode 120000 srcpkgs/libseat
 create mode 120000 srcpkgs/libseat-devel
 create mode 100644 srcpkgs/seatd/INSTALL.msg
 create mode 100644 srcpkgs/seatd/files/seatd/run
 create mode 100644 srcpkgs/seatd/template

diff --git a/common/shlibs b/common/shlibs
index 8a759d4b62a..0c10aaf7393 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3990,3 +3990,4 @@ libneatvnc.so.0 neatvnc-0.2.0_1
 libtdjson.so.1.6.0 libtd-1.6.0_1
 libJudy.so.1 judy-1.0.5_1
 libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
+libseat.so.1 libseat-0.3.0_1
diff --git a/srcpkgs/libseat b/srcpkgs/libseat
new file mode 120000
index 00000000000..c277276d33e
--- /dev/null
+++ b/srcpkgs/libseat
@@ -0,0 +1 @@
+seatd
\ No newline at end of file
diff --git a/srcpkgs/libseat-devel b/srcpkgs/libseat-devel
new file mode 120000
index 00000000000..c277276d33e
--- /dev/null
+++ b/srcpkgs/libseat-devel
@@ -0,0 +1 @@
+seatd
\ No newline at end of file
diff --git a/srcpkgs/seatd/INSTALL.msg b/srcpkgs/seatd/INSTALL.msg
new file mode 100644
index 00000000000..9f4d3385658
--- /dev/null
+++ b/srcpkgs/seatd/INSTALL.msg
@@ -0,0 +1,6 @@
+To use seatd you must ensure your user has permission to access
+seatd's socket.  The provided service runs seatd with the `-g seatd`
+option which sets the group owning the socket. Thus, you will most
+likely want to add your user to the seatd group:
+
+# usermod -aG seatd <username>
diff --git a/srcpkgs/seatd/files/seatd/run b/srcpkgs/seatd/files/seatd/run
new file mode 100644
index 00000000000..815f76727ea
--- /dev/null
+++ b/srcpkgs/seatd/files/seatd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/seatd -g seatd
diff --git a/srcpkgs/seatd/template b/srcpkgs/seatd/template
new file mode 100644
index 00000000000..c23181da1df
--- /dev/null
+++ b/srcpkgs/seatd/template
@@ -0,0 +1,39 @@
+# Template file for 'seatd'
+pkgname=seatd
+version=0.3.0
+revision=1
+build_style=meson
+configure_args="-Dexamples=disabled $(vopt_if elogind -Dlogind=enabled)"
+hostmakedepends="pkg-config scdoc"
+makedepends="$(vopt_if elogind elogind-devel)"
+short_desc="Minimal seat management daemon"
+maintainer="Isaac Freund <ifreund@ifreund.xyz>"
+license="MIT"
+homepage="https://kl.wtf/projects/seatd/"
+distfiles="https://git.sr.ht/~kennylevinsen/seatd/archive/${version}.tar.gz"
+checksum=2aa4f6c8b3d39f52f573848137531af3123948fad5a873039b65abf37d490b6d
+system_groups=seatd
+
+build_options="elogind"
+
+post_install() {
+	vlicense LICENSE
+	vsv seatd
+}
+
+libseat_package() {
+	short_desc="Universal seat management library"
+	pkg_install() {
+		vmove usr/lib/*.so.*
+	}
+}
+
+libseat-devel_package() {
+	depends="libseat>=${version}_${revision} ${makedepends}"
+	short_desc="Universal seat management library - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/*.so
+	}
+}

  parent reply	other threads:[~2020-09-08 11:20 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 14:53 [PR PATCH] " ifreund
2020-08-31 15:04 ` [PR REVIEW] " ericonr
2020-08-31 15:04 ` ericonr
2020-08-31 15:04 ` ericonr
2020-08-31 15:04 ` ericonr
2020-08-31 15:04 ` ericonr
2020-08-31 15:04 ` ericonr
2020-08-31 15:53 ` ifreund
2020-08-31 15:54 ` ifreund
2020-08-31 15:57 ` ifreund
2020-08-31 15:58 ` [PR PATCH] [Updated] " ifreund
2020-08-31 16:32 ` [PR REVIEW] " ericonr
2020-08-31 16:32 ` ericonr
2020-08-31 16:33 ` ericonr
2020-08-31 16:48 ` ericonr
2020-08-31 16:48 ` [PR REVIEW] " ifreund
2020-08-31 17:56 ` [PR PATCH] [Updated] " ifreund
2020-08-31 17:57 ` ifreund
2020-09-08 11:20 ` ifreund [this message]
2020-09-08 11:27 ` New package: seatd-0.3.0 ifreund
2020-09-08 11:32 ` [PR REVIEW] " ericonr
2020-09-08 11:32 ` ericonr
2020-09-08 12:15 ` [PR PATCH] [Updated] " ifreund
2020-09-08 12:16 ` [PR REVIEW] " ifreund
2020-10-21 11:30 ` [PR PATCH] [Updated] " ifreund
2020-10-21 11:30 ` ifreund
2020-10-21 11:54 ` [PR REVIEW] " Duncaen
2020-10-21 12:12 ` ifreund
2020-10-21 12:27 ` [PR REVIEW] New package: seatd-0.4.0 Duncaen
2020-10-21 12:48 ` [PR PATCH] [Updated] " ifreund
2020-10-21 12:52 ` [PR REVIEW] " ifreund
2020-10-30 10:38 ` ofiala-a51
2020-10-30 10:41 ` ofiala-a51
2020-10-30 10:56 ` ifreund
2020-10-30 11:15 ` ofiala-a51
2020-10-30 11:58 ` ifreund
2020-10-30 12:03 ` ifreund
2020-10-30 12:12 ` ofiala-a51
2020-10-30 12:12 ` ofiala-a51
2020-11-08 15:06 ` [PR REVIEW] " ofiala-a51
2020-11-08 15:06 ` ofiala-a51
2020-11-08 15:07 ` ofiala-a51
2020-11-08 16:52 ` ofiala-a51
2020-11-08 22:22 ` ifreund
2020-11-08 22:25 ` Duncaen
2020-11-08 22:28 ` ifreund
2020-11-08 22:30 ` [PR PATCH] [Updated] " ifreund
2020-11-08 22:43 ` [PR REVIEW] " ifreund
2020-11-10 20:50 ` ofiala-a51
2020-11-10 21:07 ` [PR PATCH] [Updated] " ifreund
2020-11-10 21:17 ` [PR REVIEW] " PaperMountainStudio
2020-11-10 21:18 ` PaperMountainStudio
2020-11-17  0:50 ` ericonr
2020-11-17  9:44 ` ifreund
2020-11-17 18:27 ` [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=20200908112028.bt_POl69iqcpjAHcABAsV45bapzswQ2APZg0l1lDguU@z \
    --to=ifreund@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).