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.4.0
Date: Wed, 21 Oct 2020 14:48:59 +0200	[thread overview]
Message-ID: <20201021124859.G9gAGaHt8uS8MIbTBMHfZ8-NsmZ28DPD9HAkMCYDJ3o@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: 887 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.4.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.~~

Edit: this is good to merge

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: 2845 bytes --]

From 222eb05c07032feef689455fea89979022b7cc37 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.4.0

---
 common/shlibs                 |  1 +
 srcpkgs/libseat               |  1 +
 srcpkgs/libseat-devel         |  1 +
 srcpkgs/seatd/files/seatd/run |  2 ++
 srcpkgs/seatd/template        | 39 +++++++++++++++++++++++++++++++++++
 5 files changed, 44 insertions(+)
 create mode 120000 srcpkgs/libseat
 create mode 120000 srcpkgs/libseat-devel
 create mode 100644 srcpkgs/seatd/files/seatd/run
 create mode 100644 srcpkgs/seatd/template

diff --git a/common/shlibs b/common/shlibs
index 35f08f5f099..8c3e216c857 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2979,6 +2979,7 @@ libstilview.so.0 libsidplayfp-1.8.7_1
 libczmq.so.4 czmq-4.0.1_1
 liblz.so.1 lzlib-1.8_1
 libelogind.so.0 libelogind-238.1_2
+libseat.so.1 libseat-0.3.0_1
 libnma.so.0 libnm-gtk-1.4.0_1
 libgspell-1.so.2 gspell-1.8.0_1
 libotf.so.1 libotf-0.9.16_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/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..076b49a701f
--- /dev/null
+++ b/srcpkgs/seatd/template
@@ -0,0 +1,39 @@
+# Template file for 'seatd'
+pkgname=seatd
+version=0.4.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=3c7458ff0c0d41ddd7734d01a5c5a9110ee5b94f01931e7e41ea0fd0c2e6050f
+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-10-21 12:49 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 14:53 [PR PATCH] New package: seatd-0.2.0 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 ` [PR PATCH] [Updated] " ifreund
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 ` ifreund [this message]
2020-10-21 12:52 ` 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=20201021124859.G9gAGaHt8uS8MIbTBMHfZ8-NsmZ28DPD9HAkMCYDJ3o@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).