Control: tag 920555 + patch

It looks like `with_alsa` was turned off due to missing dependencies,
but the dependencies are all packaged in bullseye. I’ve attached a patch
to update the package with the new dependencies and enable the flag.
diff -Naur a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,8 @@ Source: xmobar
 Standards-Version: 4.5.0
 Build-Depends: debhelper-compat (=12),
                ghc,
+               libghc-alsa-core-dev [linux-any],
+               libghc-alsa-mixer-dev (>= 0.3) [linux-any],
                libghc-dbus-dev [linux-any],
                libghc-extensible-exceptions-dev,
                libghc-hinotify-dev [linux-any],
diff -Naur a/debian/copyright b/debian/copyright
--- a/debian/copyright	2019-01-14 15:02:30.000000000 -0500
+++ b/debian/copyright	2020-05-03 19:57:33.954104115 -0400
@@ -11,6 +11,7 @@
 Files: debian/*
 Copyright: Copyright 2008-2019 Apollon Oikonomopoulos <apoi...@debian.org>
            Copyright 2018 Aggelos Avgerinos <evaggelos.avgeri...@gmail.com>
+           Copyright 2020 Google LLC
 License: BSD-3-Clause
 
 Files: examples/xmonadpropwrite.hs
diff -Naur a/debian/README.Debian b/debian/README.Debian
--- a/debian/README.Debian	2018-11-14 02:55:08.000000000 -0500
+++ b/debian/README.Debian	2020-05-03 19:57:33.954104115 -0400
@@ -7,10 +7,10 @@
 
 Plugin notes
 ------------
-- The Mail, MBox and Wireless plugins are Linux-specific and have been
+- The Alsa, Mail, MBox and Wireless plugins are Linux-specific and have been
   disabled in non-Linux architectures (kFreeBSD, Hurd).
 
 - The MPRIS and DBus plugins require haskell-dbus, which is currently broken
   for non-linux platforms and so they are enabled only for Linux.
 
-- The mpd, alsa and datezone plugins are disabled to missing dependencies.
+- The mpd and datezone plugins are disabled to missing dependencies.
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules	2019-01-14 18:39:34.000000000 -0500
+++ b/debian/rules	2020-05-03 19:57:33.954104115 -0400
@@ -15,7 +15,7 @@
 CONFIGURE_OPTS = --ghc-options="$(GHC_OPTIONS)"
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
-    CONFIGURE_OPTS += --flags="with_xft with_inotify with_iwlib with_mpris with_dbus with_xpm with_uvmeter with_conduit"
+    CONFIGURE_OPTS += --flags="with_xft with_inotify with_iwlib with_alsa with_mpris with_dbus with_xpm with_uvmeter with_conduit"
 else
     CONFIGURE_OPTS += --flags="with_xft with_xpm"
 endif

Reply via email to