From: Ryoga-exe <Ryoga-exe@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: swayosd-0.1.0
Date: Wed, 20 Nov 2024 05:49:18 +0100 [thread overview]
Message-ID: <20241120044918.5C164213F8@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53152@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
There is an updated pull request by Ryoga-exe against master on the void-packages repository
https://github.com/Ryoga-exe/void-packages swayosd
https://github.com/void-linux/void-packages/pull/53152
New package: swayosd-0.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53152.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-swayosd-53152.patch --]
[-- Type: text/x-diff, Size: 2437 bytes --]
From 76e6e01ae50fa85b912b0ef6c056ee6d582c9069 Mon Sep 17 00:00:00 2001
From: Ryoga-exe <git@ryoga.dev>
Date: Wed, 20 Nov 2024 13:30:12 +0900
Subject: [PATCH] swayosd: update to 0.1.0.
---
.../files/swayosd-libinput-backend/run | 4 +++
srcpkgs/swayosd/template | 33 +++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/swayosd/files/swayosd-libinput-backend/run
create mode 100644 srcpkgs/swayosd/template
diff --git a/srcpkgs/swayosd/files/swayosd-libinput-backend/run b/srcpkgs/swayosd/files/swayosd-libinput-backend/run
new file mode 100644
index 00000000000000..8a5c4558758b61
--- /dev/null
+++ b/srcpkgs/swayosd/files/swayosd-libinput-backend/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+
+exec swayosd-libinput-backend
diff --git a/srcpkgs/swayosd/template b/srcpkgs/swayosd/template
new file mode 100644
index 00000000000000..fbfd54b9305903
--- /dev/null
+++ b/srcpkgs/swayosd/template
@@ -0,0 +1,33 @@
+# Template file for 'swayosd'
+pkgname=swayosd
+version=0.1.0
+revision=1
+build_style=meson
+configure_args="--buildtype=release"
+hostmakedepends="pkg-config cargo sassc"
+makedepends="eudev-libudev-devel libevdev-devel gtk+3-devel gtk-layer-shell-devel
+ libinput-devel atk-devel glib-devel pulseaudio-devel"
+short_desc="GTK based on screen display for keyboard shortcuts"
+maintainer="Ryoga-exe <mail@ryoga.dev>"
+license="GPL-3.0-only"
+homepage="https://github.com/ErikReider/SwayOSD"
+changelog="https://github.com/ErikReider/SwayOSD/releases"
+distfiles="https://github.com/ErikReider/SwayOSD/archive/refs/tags/v${version}.tar.gz"
+checksum=5a07607643dc49d19604842f2c2f777f6148981147c425c281b0634254438a0b
+
+do_install() {
+ meson install -C build
+ vbin /usr/bin/swayosd-client
+ vbin /usr/bin/swayosd-server
+ vbin /usr/bin/swayosd-libinput-backend
+ vinstall /usr/share/dbus-1/system.d/org.erikreider.swayosd.conf 644 /usr/share/dbus-1/system.d
+ vinstall /usr/share/dbus-1/system-services/org.erikreider.swayosd.service 644 /usr/share/dbus-1/system-services
+ vinstall /usr/share/polkit-1/actions/org.erikreider.swayosd.policy 644 /usr/share/polkit-1/actions
+ vinstall /usr/share/polkit-1/rules.d/org.erikreider.swayosd.rules 644 /usr/share/polkit-1/rules.d
+ vinstall /usr/lib/udev/rules.d/99-swayosd.rules 644 /usr/lib/udev/rules.d
+ vinstall /etc/xdg/swayosd/style.css 644 /etc/xdg/swayosd
+}
+
+post_install() {
+ vsv swayosd-libinput-backend
+}
prev parent reply other threads:[~2024-11-20 4:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 4:41 [PR PATCH] " Ryoga-exe
2024-11-20 4:49 ` Ryoga-exe [this message]
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=20241120044918.5C164213F8@inbox.vuxu.org \
--to=ryoga-exe@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).