Package Details: swayosd-git 0.1.0.r0.gdbb8b72-1

Git Clone URL: https://aur.archlinux.org/swayosd-git.git (read-only, click to copy)
Package Base: swayosd-git
Description: A GTK based on screen display for keyboard shortcuts like caps-lock and volume
Upstream URL: https://github.com/ErikReider/SwayOSD
Licenses: GPL3
Conflicts: swayosd
Provides: swayosd
Submitter: jgmdev
Maintainer: jgmdev
Last Packager: jgmdev
Votes: 6
Popularity: 0.55
First Submitted: 2023-01-19 19:23 (UTC)
Last Updated: 2024-10-04 04:33 (UTC)

Latest Comments

1 2 Next › Last »

beneth commented on 2024-09-26 08:14 (UTC)

Hello and thanks for packaging swayosd-git.

I have an issue with pkgver() function because my git enforce gpg signature display in git log.

I have to add : -c log.showSignature=false to the git log shell subcall to get a correct pkgver.

Patch to make it works with all git configuration :

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index d87f500..525164c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ pkgver() {
    cd "${_reponame}"

    if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
-       echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")"
+       echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git -c log.showSignature=false log -1 --format="%h")"
    else
        printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    fi
--

omnigenous commented on 2024-09-14 14:54 (UTC)

https://github.com/ErikReider/SwayOSD/releases/tag/v0.1.0 was released today, could you please update this package.

electricprism commented on 2024-08-07 04:39 (UTC) (edited on 2024-08-07 04:53 (UTC) by electricprism)

The suggestion by LazarusCat59 replacing pulseaudio with pulse-native-provider worked 8/4.

The 8/5 PKGBUILD update fixed the issue as confirmed on a second Arch machine using a simple paru -S swayosd-git

--

Edit: For reason my mirrors were out of sync post pacman update & paru install so I had to sudo reflector --verbose --protocol https --latest 10 --sort rate --save /etc/pacman.d/mirrorlist and then delete the cache rm -Rf /.cache/paru/clone/swayosd-git for some reason and then rebuild it to install it the second time on machine #2.

omnigenous commented on 2024-08-06 19:54 (UTC)

Can't install because of pulseaudio and pipewire conflict, same as @electricprism https://aur.archlinux.org/packages/swayosd-git#comment-984923

@LazarusCat59 How do I do that? Or is that message only maintainer?

LazarusCat59 commented on 2024-08-03 10:40 (UTC)

Updating pulseaudio dependency to pulse-native-provider works for me since both pulseaudio and pipewire-pulse now provides that.

electricprism commented on 2024-08-03 10:18 (UTC)

:: pulseaudio-17.0-3 and pipewire-pulse-1:1.2.2-1 are in conflict. Remove pipewire-pulse? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: pulseaudio-17.0-3 and pipewire-pulse-1:1.2.2-1 are in conflict

otaj commented on 2023-12-10 22:25 (UTC)

Hi, today a new build dependency sassc was introduced, please reflect it in the package.

https://github.com/ErikReider/SwayOSD/commit/86934adc1d9fe31b2d01b2eb634d98ff013b8267

peelz commented on 2023-09-30 03:50 (UTC)

The package doesn't build in a clean chroot. There's a missing dependency on libinput.

jgmdev commented on 2023-07-20 01:28 (UTC)

@res0nanz thanks for the patch, applied it and seems to be building and packaging just fine, though haven't tested...

res0nanz commented on 2023-07-14 11:37 (UTC)

The backend is missing. Can we adopt the build instructions from the repo?

diff --git a/PKGBUILD b/PKGBUILD.new
index 7b8324d..bc5b4e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD.new
@@ -11,7 +11,7 @@ arch=('x86_64' 'aarch64' 'i686')
 url="https://github.com/ErikReider/SwayOSD"
 license=('GPL3')
 depends=('gtk3' 'gtk-layer-shell' 'pulseaudio')
-makedepends=('git' 'cargo')
+makedepends=('git' 'cargo' 'meson' 'ninja')
 provides=("${_pkgname}")
 conflicts=("${_pkgname}")
 source=("git+${url}.git")
@@ -29,13 +29,11 @@ prepare() {

 build() {
        cd "${_reponame}"
-       export RUSTUP_TOOLCHAIN=nightly
-       export CARGO_TARGET_DIR=target
-       cargo build --frozen --release --all-features
+       arch-meson --buildtype=release build
+       ninja -C build
 }

 package() {
        cd "${_reponame}"
-       install -Dm 755 "target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
-       install -Dm 644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
+       meson install -C build --destdir "$pkgdir"
 }