Date: Wednesday, September 7, 2022 @ 17:53:34 Author: heftig Revision: 455232
5.0+r61+gee77d86-2: remove unused patches Modified: pavucontrol/trunk/PKGBUILD Deleted: pavucontrol/trunk/0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch pavucontrol/trunk/0002-fix-focus-trap-in-output-selection-widget.patch -----------------------------------------------------------------+ 0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch | 64 ---------- 0002-fix-focus-trap-in-output-selection-widget.patch | 23 --- PKGBUILD | 10 - 3 files changed, 3 insertions(+), 94 deletions(-) Deleted: 0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch =================================================================== --- 0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch 2022-09-07 17:52:41 UTC (rev 455231) +++ 0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch 2022-09-07 17:53:34 UTC (rev 455232) @@ -1,64 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <hef...@archlinux.org> -Date: Wed, 13 Apr 2022 15:59:56 +0000 -Subject: [PATCH] meson: Define HAVE_PULSE_MESSAGING_API when available - -To match the autotools build. ---- - meson.build | 8 ++++++++ - src/meson.build | 12 ++++++++++-- - 2 files changed, 18 insertions(+), 2 deletions(-) - -diff --git a/meson.build b/meson.build -index 15acb6c81119..0d72ca17bd42 100644 ---- a/meson.build -+++ b/meson.build -@@ -6,13 +6,21 @@ project('pavucontrol', 'cpp', - - with_lynx = get_option('lynx') - -+cpp = meson.get_compiler('cpp') -+ - gtkmm_dep = dependency('gtkmm-3.0', version : '>= 3.0', required : true) - sigcpp_dep = dependency('sigc++-2.0', required : true) - canberragtk_dep = dependency('libcanberra-gtk3', version : '>= 0.16', required : true) - - libpulse_dep = dependency('libpulse', version : '>= 5.0', required : true) - libpulsemlglib_dep = dependency('libpulse-mainloop-glib', version : '>= 0.9.16', required : true) - -+have_pulse_messaging_api = cpp.has_function('pa_context_send_message_to_object', -+ dependencies: [libpulse_dep], -+) -+ -+json_glib_dep = dependency('json-glib-1.0', required : have_pulse_messaging_api) -+ - lynx = find_program('lynx', required: with_lynx) - tidy = find_program('tidy', required: false) - -diff --git a/src/meson.build b/src/meson.build -index fa2abf44eb1a..d48047513e38 100644 ---- a/src/meson.build -+++ b/src/meson.build -@@ -14,12 +14,20 @@ pavucontrol_sources = [ - 'streamwidget.cc', - ] - -+pavucontrol_deps = [gtkmm_dep, sigcpp_dep, canberragtk_dep, libpulse_dep, libpulsemlglib_dep] -+pavucontrol_defines = ['-DHAVE_CONFIG_H'] -+ -+if have_pulse_messaging_api -+ pavucontrol_deps += [json_glib_dep] -+ pavucontrol_defines += ['-DHAVE_PULSE_MESSAGING_API'] -+endif -+ - executable('pavucontrol', - pavucontrol_sources, - install: true, -- cpp_args: ['-DHAVE_CONFIG_H'], -+ cpp_args: pavucontrol_defines, - include_directories : configinc, -- dependencies : [gtkmm_dep, sigcpp_dep, canberragtk_dep, libpulse_dep, libpulsemlglib_dep], -+ dependencies : pavucontrol_deps, - ) - - install_data('pavucontrol.glade') Deleted: 0002-fix-focus-trap-in-output-selection-widget.patch =================================================================== --- 0002-fix-focus-trap-in-output-selection-widget.patch 2022-09-07 17:52:41 UTC (rev 455231) +++ 0002-fix-focus-trap-in-output-selection-widget.patch 2022-09-07 17:53:34 UTC (rev 455232) @@ -1,23 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Alexander Epaneshnikov <aarnaa...@gmail.com> -Date: Mon, 11 Apr 2022 16:27:26 +0300 -Subject: [PATCH] fix focus trap in output selection widget - -this fixes #124 ---- - src/pavucontrol.glade | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/pavucontrol.glade b/src/pavucontrol.glade -index d081e8a9f002..2c53748507ae 100644 ---- a/src/pavucontrol.glade -+++ b/src/pavucontrol.glade -@@ -1596,7 +1596,7 @@ - <child> - <object class="GtkComboBoxText" id="deviceComboBox"> - <property name="visible">True</property> -- <property name="can_focus">True</property> -+ <property name="can_focus">False</property> - </object> - <packing> - <property name="expand">False</property> Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-07 17:52:41 UTC (rev 455231) +++ PKGBUILD 2022-09-07 17:53:34 UTC (rev 455232) @@ -5,7 +5,7 @@ pkgname=pavucontrol pkgver=5.0+r61+gee77d86 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="PulseAudio Volume Control" url="https://freedesktop.org/software/pulseaudio/pavucontrol/" @@ -17,12 +17,8 @@ optdepends=("pulseaudio: Audio backend") options=(debug) _commit=ee77d86eed3c35f9f7a1f2e2da385d4b526d77a1 # master -source=("git+https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git#commit=$_commit" - 0001-meson-Define-HAVE_PULSE_MESSAGING_API-when-available.patch - 0002-fix-focus-trap-in-output-selection-widget.patch) -sha256sums=('SKIP' - '915c73ebd14b9ce53600a4c636c23a0d2a329f887360512eacc2f6d621394ae9' - 'd9ab38eea6838a95e6d337c07292cc74de1f7c875f65f967f5f89a141021fc15') +source=("git+https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git#commit=$_commit") +sha256sums=('SKIP') pkgver() { cd pavucontrol