Package Details: pa-applet-git r19.3b4f8b3-2

Git Clone URL: https://aur.archlinux.org/pa-applet-git.git (read-only, click to copy)
Package Base: pa-applet-git
Description: PulseAudio control applet
Upstream URL: https://github.com/fernandotcl/pa-applet
Keywords: applet control pa pulseaudio system systray tray volume
Licenses: BSD
Submitter: arcetera
Maintainer: Antiz
Last Packager: Antiz
Votes: 35
Popularity: 0.142208
First Submitted: 2015-09-25 22:21 (UTC)
Last Updated: 2022-07-12 21:14 (UTC)

Latest Comments

Antiz commented on 2022-04-25 11:27 (UTC)

@a821 Thanks for pointing that out.
I corrected the PKGBUILD (through a pkgrel) by specifically listing all supported architectures in the $arch array ('i686' 'x86_64' 'aarch64').

a821 commented on 2022-04-25 10:20 (UTC)

@Antiz the package should not use any in the $arch array as this is reserved for architecture-independent packages which this package is not (it contains compiled code). You would need to list all supported architectures in $arch. Check https://wiki.archlinux.org/title/PKGBUILD#arch

Alternatively for ARM machines and others, the PKGBUILD can be anyway built by passing -A to makepkg(8)

Antiz commented on 2022-04-22 18:30 (UTC)

The correction has been pushed !
Everyone should now be able to build this package again.

Additionally, I changed the "arch" variable's value to "any" so you can now build this package on ARM machines as well (such as Raspberry PI for instance).
I also added every past maintainers as contributors.

k4rakara commented on 2022-04-22 18:07 (UTC)

@Antiz Thank you! Also, don't worry too much about the pronouns thing, I hadn't updated my name and pronouns on the AUR until today. It means a lot more than you'd think :)

Antiz commented on 2022-04-22 17:59 (UTC) (edited on 2022-04-22 18:08 (UTC) by Antiz)

@k4rakara Thank you, I adopted the package and will push the corrections as soon as possible.
Good luck for your studies tho, I hope they'll go well !
By the way, sorry for calling you "he/him", I wans't aware of your pronouns back then.

Anyway I'll push the corrected PKGBUILD soon so this package becomes "buildable" again

k4rakara commented on 2022-04-22 17:50 (UTC)

@Antiz, @zazavo: Apologies for not getting back to you all sooner. I'm currently in the midst of my senior year of highschool, and don't have the time to maintain this package. Either of you are welcome to take ownership of the package.

Antiz commented on 2022-04-20 13:22 (UTC) (edited on 2022-04-20 13:22 (UTC) by Antiz)

@zuzavo Well, I gave the needed corrections to @k4rakara by email and I also said to him that if he doesn't have enough time or if he lost interest in maintaining this package, I was down to adopt it and correct it myself.
I hope I'll get an answer, but if I do not have any response by the end of the month, I'll probably submit an orphan request.

zuzavo commented on 2022-04-20 12:15 (UTC)

Thanks @Antiz. I also sent an email to @k4rakara, but without any result.. It would be fine if you become the maintainer of this package if @k4rakara has no time or lost interest to continue.

Antiz commented on 2022-04-20 10:34 (UTC) (edited on 2022-04-20 12:46 (UTC) by Antiz)

I managed to correct the PKGBUILD by modifying the "source" variable's value like so :

source=("$pkgname"::git+$url)

I sent @k4rakara an email with the correction so he can either push it or orphan the package so I can adopt it and push it myself.

Here's the corrected PKGBUILD :

# Maintainer: Colin Reeder <colin AT reederhome DOT net>
pkgname=pa-applet-git
pkgver=19.3b4f8b3
pkgrel=1
pkgdesc="PulseAudio control applet"
arch=(i686 x86_64)
url="https://github.com/fernandotcl/pa-applet"
license=('BSD')
depends=('gtk3' 'libnotify' 'libpulse')
makedepends=('git')
options=('!libtool')

source=("$pkgname"::git+$url)
md5sums=('SKIP')

pkgver() {
            cd "$pkgname"
                echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
        cd "$srcdir/$pkgname"
        CFLAGS+=" -Wno-error"
        ./autogen.sh
        ./configure --prefix=/usr
        make
}

package() {
        cd "$srcdir/$pkgname"
        make DESTDIR="$pkgdir/" install
        install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

zuzavo commented on 2022-04-10 12:57 (UTC) (edited on 2022-04-10 12:58 (UTC) by zuzavo)

Hello, yesterday I sent an email to K4rakara asking him about if he could solved the problem with the new GitHub standards. I have tried local workarounds but without any success. I hope he responds or fix this issue.

Dirk commented on 2022-04-08 16:47 (UTC)

Since the latest update the applet shows as a large black icon instead of the usual icon from my icon theme.

Any chance to fix this?

n-st commented on 2022-03-26 22:21 (UTC)

@MoonSwan, the HTTPS URL in line 7 is only the upstream website (for human consumption). The PKGBUILD uses an unauthenticated git URL for the source files in line 13, so that would need to be fixed by @k4rakara (though you can change the PKGBUILD for yourself locally until then).

MoonSwan commented on 2022-03-26 22:16 (UTC)

Tried to build this app and got this error:

-> Cloning pa-applet-git git repo... Cloning into bare repository '/home/raine/builds/sources/pa-applet-git'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. ==> ERROR: Failure while downloading pa-applet-git git repo Aborting...

Looked at the PKGBUILD and I see it uses https so I'm unsure what this error is about.

kruzah commented on 2022-03-16 13:14 (UTC)

GitHub has permanently disabled unencrypted git:// as of March 15. Please update the source URL to https format to allow this package to keep building.

integer0 commented on 2021-12-01 19:16 (UTC)

I poked around a bit with the code and added the sink description to the notification.

Can't find the contact info for the maintainer. So pasting the diffs here.

Contact me and I'll provide them directly and edit them out here.

This is a good utility!

$ cat pa-applet-sinkname-PKGBUILD.diff
--- ../temp/pa-applet-git/PKGBUILD      2015-11-23 03:46:10.000000000 -0800
+++ PKGBUILD    2021-12-01 10:53:57.919125336 -0800
@@ -1,7 +1,7 @@
 # Maintainer: Colin Reeder <colin AT reederhome DOT net>
 pkgname=pa-applet-git
-pkgver=17.33b413b
-pkgrel=1
+pkgver=19.3b4f8b3
+pkgrel=2
 pkgdesc="PulseAudio control applet"
 arch=(i686 x86_64)
 url="https://github.com/fernandotcl/pa-applet"
@@ -10,8 +10,9 @@ depends=('gtk3' 'libnotify' 'libpulse')
 makedepends=('git')
 options=('!libtool')

-source=("$pkgname"::'git://github.com/fernandotcl/pa-applet.git')
-md5sums=('SKIP')
+source=("$pkgname"::'git://github.com/fernandotcl/pa-applet.git'
+        'pa-applet-sinkname-20211201-3b4f8b3.diff')
+md5sums=('SKIP' '342a5960b9a2d8fbdc627ea26cac4539')

 pkgver() {
            cd "$pkgname"
@@ -20,6 +21,7 @@ pkgver() {

 build() {
        cd "$srcdir/$pkgname"
+    git am "$srcdir/pa-applet-sinkname-20211201-3b4f8b3.diff"
        CFLAGS+=" -Wno-error"
        ./autogen.sh
        ./configure --prefix=/usr
$ cat pa-applet-sinkname-20211201-3b4f8b3.diff 

Subject: [PATCH] Add a description of the active sink to the notification.

---
 src/audio_status.h  | 1 +
 src/notifications.c | 2 +-
 src/pulse_glue.c    | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/audio_status.h b/src/audio_status.h
index f97f9a8..33a8c01 100644
--- a/src/audio_status.h
+++ b/src/audio_status.h
@@ -16,6 +16,7 @@
 typedef struct {
     gdouble volume;
     gboolean muted;
+    gchar *sink_name;
     GSList *profiles;
 } audio_status;

diff --git a/src/notifications.c b/src/notifications.c
index f5ac1f8..f2404fb 100644
--- a/src/notifications.c
+++ b/src/notifications.c
@@ -73,7 +73,7 @@ void notifications_flash(void)
     notify_notification_set_hint_int32(notification, "value", (gint)as->volume);

     // Update the notification icon
-    notify_notification_update(notification, PROGRAM_NAME, NULL, icon_name);
+    notify_notification_update(notification, PROGRAM_NAME, as->sink_name, icon_name);

     // Show the notification
     notify_notification_show(notification, NULL);
diff --git a/src/pulse_glue.c b/src/pulse_glue.c
index bb73ccd..45efc43 100644
--- a/src/pulse_glue.c
+++ b/src/pulse_glue.c
@@ -204,6 +204,7 @@ static void sink_info_cb(pa_context *c, const pa_sink_info *info, int eol, void
     audio_status *as = shared_audio_status();
     as->volume = volume * 100.0 / PA_VOLUME_NORM;
     as->muted = info->mute ? TRUE : FALSE;
+    as->sink_name = g_strdup(info->description);

     // Update the tray icon and the volume scale
     update_tray_icon();
-- 
2.34.1

integer0 commented on 2021-11-30 23:15 (UTC)

Seems to be working pretty clean for me.

This is in dwm with the systray patch. Media keys doing their thing, too.

k4rakara commented on 2020-08-26 19:21 (UTC)

Welp, it seems that the package just can't set the volume keys anymore, and for some reason it wasn't appearing in my tray. Nonetheless, I guess I'll maintain this package for the time being.

k4rakara commented on 2020-08-26 18:45 (UTC)

I'll work on fixing this package, seeing as the original maintainer just disowned it.

k4rakara commented on 2020-08-26 17:06 (UTC)

Not sure if this is an issue of pa-applet itself or of this package, but when I updated my system, pa-applet no longer starts. Running pa-applet from the CLI results in the following errors:

Failed to grab XF86AudioRaiseVolume
Failed to grab XF86AudioLowerVolume
Failed to grab XF86AudioMute

jkhsjdhjs commented on 2019-06-15 15:30 (UTC)

@n-st automake is a member of the base-devel group, which is assumed to be installed when building packages: https://wiki.archlinux.org/index.php/PKGBUILD#makedepends

n-st commented on 2019-05-04 09:41 (UTC)

This has a build-time dependency on automake (which isn't mentioned in the PKGBUILD, so you'll have to install it manually).