diff options
-rw-r--r-- | pasystray/README.md | 25 | ||||
-rw-r--r-- | pasystray/debian/_service | 28 | ||||
-rw-r--r-- | pasystray/debian/changelog | 91 | ||||
-rw-r--r-- | pasystray/debian/control | 44 | ||||
-rw-r--r-- | pasystray/debian/copyright | 40 | ||||
-rw-r--r-- | pasystray/debian/docs | 2 | ||||
-rw-r--r-- | pasystray/debian/gbp.conf | 6 | ||||
-rw-r--r-- | pasystray/debian/pasystray+stackrpms.dsc | 14 | ||||
-rw-r--r-- | pasystray/debian/patches/0001-Build-against-ayatana-appindicator.patch | 23 | ||||
-rw-r--r-- | pasystray/debian/patches/0002-Require-X11-backend.patch | 19 | ||||
-rw-r--r-- | pasystray/debian/patches/0003-pulsemixer-instead-pavucontrol.patch | 16 | ||||
-rw-r--r-- | pasystray/debian/patches/series | 2 | ||||
-rwxr-xr-x | pasystray/debian/rules | 6 | ||||
-rw-r--r-- | pasystray/debian/salsa-ci.yml | 4 | ||||
-rw-r--r-- | pasystray/debian/source/format | 1 | ||||
-rw-r--r-- | pasystray/debian/upstream/metadata | 5 | ||||
-rw-r--r-- | pasystray/debian/watch | 3 |
17 files changed, 329 insertions, 0 deletions
diff --git a/pasystray/README.md b/pasystray/README.md new file mode 100644 index 0000000..918415a --- /dev/null +++ b/pasystray/README.md @@ -0,0 +1,25 @@ +# README for pasystray +This package is my fork of [Debian's package](https://packages.debian.org/sid/pasystray) to achieve some minor effects I want. + +## Upstream +The origin of the appplication is on [github](https://github.com/christophgysin/pasystray). Debian's vcs is on [salsa](https://salsa.debian.org/debian/pasystray). + +## Alternatives +Use native Devuan package, that has broken, and also unwanted, features. + +For alsa based systems, use package `volumeicon-alsa`. + +## Reason for being in stackrpms +I wanted small modifications to this application. In 2024 I started [using pulseaudio](https://bgstack15.ddns.net/blog/posts/2024/03/18/change-default-audio-input-on-devuan-with-pulseaudio/) and the alsa-based volumeicon did not control pulseaudio-only sinks, like the "combined sink." + +## Dependencies +Read the dpkg recipe. + +## References +All links in this document. + +## Differences from upstream. +The application code itself is unchanged. My dpkg recipe varies from upstream dpkg slightly, and includes very small patches to the app code, to accomplish the following: + +* Disable using libayatana-appindicator3-1 and libavahi garbage. The fallback of Gtk3 StatusIcon works better. +* Use pulsemixer instead of pavucontrol. diff --git a/pasystray/debian/_service b/pasystray/debian/_service new file mode 100644 index 0000000..f918777 --- /dev/null +++ b/pasystray/debian/_service @@ -0,0 +1,28 @@ +<services> + <service name="tar_scm"> + <param name="scm">git</param> + <param name="url">https://bgstack15.ddns.net/cgit/stackrpms</param> + <param name="subdir">pasystray/debian</param> + <param name="filename">debian</param> + <param name="revision">master</param> + <param name="version">_none_</param> + </service> + <service name="recompress"> + <param name="file">*.tar</param> + <param name="compression">xz</param> + </service> + <service name="tar_scm"> + <param name="scm">git</param> + <param name="url">https://github.com/christophgysin/pasystray</param> + <param name="revision">0.8.2</param> + <param name="version">_none_</param> + </service> + <service name="recompress"> + <param name="file">*.tar</param> + <param name="compression">gz</param> + </service> + <service name="extract_file"> + <param name="archive">*.tar.xz</param> + <param name="files">*/*.dsc</param> + </service> +</services> diff --git a/pasystray/debian/changelog b/pasystray/debian/changelog new file mode 100644 index 0000000..e6f6dd7 --- /dev/null +++ b/pasystray/debian/changelog @@ -0,0 +1,91 @@ +pasystray (0.8.2-2+stackrpms) obs; urgency=medium + + * Disable libayatana-appindicator3-1, to use fallback which works + with middle-click to mute + * Disable libavahi which uses network + * Add patch to use pulsemixer instead of pavucontrol + + -- B. Stack <bgstack15@gmail.com> Tue, 31 Dec 2024 11:02:14 -0500 + +pasystray (0.8.2-1) unstable; urgency=medium + + * New upstream version 0.8.2 + fixes broken output switching with wireplumber (Closes: #1033799) + + -- Sebastien Badia <sbadia@debian.org> Sun, 02 Apr 2023 17:55:02 +0200 + +pasystray (0.8.1-1) unstable; urgency=medium + + * d/watch: fix watchfile, tracks tags + * New upstream version 0.8.1 (Closes: #1014369) + * Bump Standards-Version to 4.6.2 (no changes needed) + + -- Sebastien Badia <sbadia@debian.org> Wed, 08 Feb 2023 19:53:13 +0100 + +pasystray (0.8.0-1) unstable; urgency=medium + + * New upstream version 0.8.0 (Closes: #1009190) + * d/compat: Use debhelper-compat + * d/control: + + Bump standard version + + New maintainer (Closes: #1013762) + + Added Rules-Requires-Root + * d/gbp: added configuration for gbp + * d/ci: added salsa ci + * d/watch: bump to version 4 + * d/patches: + + added patch-not-forwarded-upstream + + refresh patches + + -- Sebastien Badia <sbadia@debian.org> Wed, 29 Jun 2022 01:29:33 +0200 + +pasystray (0.7.1-1) unstable; urgency=low + + * Bump standards version + * New upstream release (Closes: #917361) + + -- Scott Leggett <scott@sl.id.au> Tue, 15 Jan 2019 15:36:57 +1100 + +pasystray (0.7.0-1) unstable; urgency=low + + * New upstream release (Closes: #761053) + * Replace deprecated "extra" priority with "optional" + * Bump debhelper version + * Update copyright URL to HTTPS + * Bump standards version + * Replace deprecated gnome-icon-theme dependency (Closes: #823122) + * Add patch to build against Ayatana AppIndicator. + Thanks to Mike Gabriel for the patch (Closes: #827458, #861387, #898612) + * Add patch to require X11 backend. + Thanks to Simon McVittie for the suggestion (Closes: #864044) + + -- Scott Leggett <scott@sl.id.au> Mon, 29 Oct 2018 23:29:50 +1100 + +pasystray (0.6.0-1) unstable; urgency=low + + * New upstream release 0.6.0. + * Update debian/copyright. + * Bump Standards-Version to 3.9.8. + + -- Scott Leggett <scott@sl.id.au> Mon, 18 Jul 2016 23:19:07 +1000 + +pasystray (0.5.2-1) unstable; urgency=low + + * New upstream release 0.5.2 (Closes: #792461) + * Remove .desktop file patch applied upstream. + * Update package VCS URLs. + * Bump Standards-Version from 3.9.4 to 3.9.7. + * Enable all hardening build options. + * Add "Suggests" dependency on pavucontrol, and expand long description. + (Closes: #792459) + * Remove manpage from package (accepted upstream). + * Remove Debian menu file in favour of .desktop file. + * Update copyright holder information. + + -- Scott Leggett <scott@sl.id.au> Wed, 27 Apr 2016 23:12:20 +1000 + +pasystray (0.4.0-1) unstable; urgency=low + + * Initial release (Closes: #729205) + + -- Scott Leggett <scott@sl.id.au> Sun, 10 Nov 2013 18:00:59 +1100 diff --git a/pasystray/debian/control b/pasystray/debian/control new file mode 100644 index 0000000..e265ae0 --- /dev/null +++ b/pasystray/debian/control @@ -0,0 +1,44 @@ +Source: pasystray +Section: sound +Priority: optional +Maintainer: B. Stack <bgstack15@gmail.com> +XSBC-Original-Maintainer: Sebastien Badia <sbadia@debian.org> +Build-Depends: + debhelper-compat (= 13), + libgtk-3-dev, + libnotify-dev, + libpulse-dev, + pkgconf +Standards-Version: 4.6.2 +Homepage: https://github.com/christophgysin/pasystray +Vcs-Git: https://salsa.debian.org/debian/pasystray.git +Vcs-Browser: https://salsa.debian.org/debian/pasystray +Rules-Requires-Root: no + +Package: pasystray +Architecture: any +Depends: + adwaita-icon-theme, + ${misc:Depends}, + ${shlibs:Depends} +Suggests: + paman, + paprefs, + pulsemixer, + pavumeter, + pulseaudio-module-zeroconf +Description: PulseAudio controller for the system tray, using Gtk3StatusIcon + Pasystray enables control of various PulseAudio server settings from the X11 + system tray. It can: + * adjust the volume of streams and sinks/sources + * transfer streams between sinks/sources + * switch the default sink/source + * set the default server (PULSE_SERVER) + * detect network PulseAudio services + * rename devices + . + The commands associated with the suggested dependencies (paman, paprefs, + pulsemixer, and pavumeter) may be launched from the menu provided by + pasystray. If a command is not available, that particular menu item is + disabled. pulseaudio-module-zeroconf enables detection and management of + network PulseAudio services. diff --git a/pasystray/debian/copyright b/pasystray/debian/copyright new file mode 100644 index 0000000..ca7f05f --- /dev/null +++ b/pasystray/debian/copyright @@ -0,0 +1,40 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pasystray +Source: https://github.com/christophgysin/pasystray + +Files: * +Copyright: 2011-2016 Christoph Gysin <christoph.gysin@gmail.com> + 2012-2013, 2015 Christoph Gysin <christoph.gysin@ericsson.com> + 2012 pataquets <amontero@tinet.org> + 2013 Fredrick <copypaste@bitlegend.com> + 2013 Lukas Schneiderbauer <lukas.schneiderbauer@gmail.com> + 2013 Volodymyr Medvid <vmmedvid@gmail.com> + 2015 Andres Manz <manz.andres@gmail.com> + 2015 quentin <quentin@minster.io> + 2015 theGeekPirate <thegeekpirate@gmail.com> + 2016 Michael Ilsaas <mikeri@mikeri.net> + 2016 Michael Niewoehner <mniewoeh@stud.hs-offenburg.de> + 2016 mniewoeh@stud.hs-offenburg.de <Michael Niewoehner> +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2013-2016 Scott Leggett <scott@sl.id.au> + 2022-2023 Sebastien Badia <sbadia@debian.org> +License: LGPL-2.1+ + +License: LGPL-2.1+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2". diff --git a/pasystray/debian/docs b/pasystray/debian/docs new file mode 100644 index 0000000..6f77277 --- /dev/null +++ b/pasystray/debian/docs @@ -0,0 +1,2 @@ +README.md +TODO diff --git a/pasystray/debian/gbp.conf b/pasystray/debian/gbp.conf new file mode 100644 index 0000000..96ede2e --- /dev/null +++ b/pasystray/debian/gbp.conf @@ -0,0 +1,6 @@ +[DEFAULT] +debian-branch=debian/sid +pristine-tar = True + +[buildpackage] +debian-branch = debian/sid diff --git a/pasystray/debian/pasystray+stackrpms.dsc b/pasystray/debian/pasystray+stackrpms.dsc new file mode 100644 index 0000000..a87336e --- /dev/null +++ b/pasystray/debian/pasystray+stackrpms.dsc @@ -0,0 +1,14 @@ +Format: 3.0 (quilt) +Source: pasystray +Binary: pasystray +Architecture: any +Version: 0.8.2-2+stackrpms +Maintainer: B. Stack <bgstack15@gmail.com> +Homepage: https://github.com/christophgysin/pasystray +Standards-Version: 4.6.2 +Vcs-Browser: https://salsa.debian.org/debian/pasystray +Vcs-Git: https://salsa.debian.org/debian/pasystray.git +Build-Depends: debhelper-compat (= 13), libgtk-3-dev, libnotify-dev, libpulse-dev, pkgconf +Files: + 00000000000000000000000000000000 1 pasystray.orig.tar.gz + 00000000000000000000000000000000 1 pasystray.debian.tar.xz diff --git a/pasystray/debian/patches/0001-Build-against-ayatana-appindicator.patch b/pasystray/debian/patches/0001-Build-against-ayatana-appindicator.patch new file mode 100644 index 0000000..e01cb6b --- /dev/null +++ b/pasystray/debian/patches/0001-Build-against-ayatana-appindicator.patch @@ -0,0 +1,23 @@ +From: Scott Leggett <scott@sl.id.au> +Date: Fri, 26 Oct 2018 23:23:06 +1100 +Subject: Build against ayatana-appindicator +Forwarded: not-needed + +--- + configure.ac | 4 ++-- + src/systray_impl.c | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +--- a/configure.ac ++++ b/configure.ac +@@ -123,8 +123,8 @@ AC_ARG_ENABLE([appindicator], + AS_HELP_STRING([--disable-appindicator], [Disable optional appindicator support])) + + case ${with_gtk} in +- 2) APPINDICATOR_VERSION=appindicator-0.1;; +- 3) APPINDICATOR_VERSION=appindicator3-0.1;; ++ 2) APPINDICATOR_VERSION=ayatana-appindicator-0.1;; ++ 3) APPINDICATOR_VERSION=ayatana-appindicator3-0.1;; + esac + AS_IF([test "x$enable_appindicator" != xno], + [PKG_CHECK_MODULES(APPINDICATOR, [ $APPINDICATOR_VERSION ], HAVE_APPINDICATOR=1, diff --git a/pasystray/debian/patches/0002-Require-X11-backend.patch b/pasystray/debian/patches/0002-Require-X11-backend.patch new file mode 100644 index 0000000..083c98f --- /dev/null +++ b/pasystray/debian/patches/0002-Require-X11-backend.patch @@ -0,0 +1,19 @@ +From: Scott Leggett <scott@sl.id.au> +Date: Mon, 29 Oct 2018 22:40:16 +1100 +Subject: Require X11 backend +Forwarded: not-needed + +--- + src/pasystray.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/src/pasystray.c ++++ b/src/pasystray.c +@@ -38,6 +38,7 @@ static menu_infos_t* mis; + + int main(int argc, char *argv[]) + { ++ gdk_set_allowed_backends ("x11"); + GOptionEntry* options = get_options(); + GError *error = NULL; + gtk_init_with_args(&argc, &argv, NULL, options, NULL, &error); diff --git a/pasystray/debian/patches/0003-pulsemixer-instead-pavucontrol.patch b/pasystray/debian/patches/0003-pulsemixer-instead-pavucontrol.patch new file mode 100644 index 0000000..c1991cf --- /dev/null +++ b/pasystray/debian/patches/0003-pulsemixer-instead-pavucontrol.patch @@ -0,0 +1,16 @@ +Author: bgstack15 +Date: 2024-12-31-3 11:55 +Version: 0.8.2 +Message: +Use my preferred tools. +--- a/src/systray.c ++++ b/src/systray.c +@@ -30,7 +30,7 @@ + + static const char* COMMAND_PAMAN = "paman"; + static const char* COMMAND_PAEQUALIZER = "qpaeq"; +-static const char* COMMAND_PAVUCONTROL = "pulsemixer"; ++static const char* COMMAND_PAVUCONTROL = "xterm pulsemixer"; + static const char* COMMAND_PAVUMETER = "pavumeter"; + static const char* COMMAND_PAVUMETER_REC = "pavumeter --record"; + static const char* COMMAND_PAPREFS = "paprefs"; diff --git a/pasystray/debian/patches/series b/pasystray/debian/patches/series new file mode 100644 index 0000000..cc344ec --- /dev/null +++ b/pasystray/debian/patches/series @@ -0,0 +1,2 @@ +0002-Require-X11-backend.patch +0003-pulsemixer-instead-pavucontrol.patch diff --git a/pasystray/debian/rules b/pasystray/debian/rules new file mode 100755 index 0000000..63844c9 --- /dev/null +++ b/pasystray/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ --with autoreconf diff --git a/pasystray/debian/salsa-ci.yml b/pasystray/debian/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/pasystray/debian/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/pasystray/debian/source/format b/pasystray/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/pasystray/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/pasystray/debian/upstream/metadata b/pasystray/debian/upstream/metadata new file mode 100644 index 0000000..d13547e --- /dev/null +++ b/pasystray/debian/upstream/metadata @@ -0,0 +1,5 @@ +Name: pasystray +Bug-Database: https://github.com/christophgysin/pasystray/issues +Bug-Submit: https://github.com/christophgysin/pasystray +Repository: https://github.com/christophgysin/pasystray.git +Repository-Browse: https://github.com/christophgysin/pasystray diff --git a/pasystray/debian/watch b/pasystray/debian/watch new file mode 100644 index 0000000..f291b8b --- /dev/null +++ b/pasystray/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/borgmatic-$1\.tar\.gz/ \ +https://github.com/christophgysin/pasystray/tags .*/v?(\d\S+)\.tar\.gz |