Hello community,

here is the log from the commit of package xmobar for openSUSE:Factory checked 
in at 2018-12-28 12:35:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xmobar (Old)
 and      /work/SRC/openSUSE:Factory/.xmobar.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xmobar"

Fri Dec 28 12:35:24 2018 rev:7 rq:661504 version:0.29.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/xmobar/xmobar.changes    2018-12-21 
08:21:29.997565462 +0100
+++ /work/SRC/openSUSE:Factory/.xmobar.new.28833/xmobar.changes 2018-12-28 
12:35:31.799954752 +0100
@@ -1,0 +2,8 @@
+Tue Dec 25 03:01:32 UTC 2018 - psim...@suse.com
+
+- Update xmobar to version 0.29.4.
+  ## Version 0.29.4 (December, 2018)
+
+  Upgrade to alsa-mixer 0.3.0.  See issues #372 and #373.
+
+-------------------------------------------------------------------

Old:
----
  xmobar-0.29.3.tar.gz

New:
----
  xmobar-0.29.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xmobar.spec ++++++
--- /var/tmp/diff_new_pack.0lrCeo/_old  2018-12-28 12:35:32.239954444 +0100
+++ /var/tmp/diff_new_pack.0lrCeo/_new  2018-12-28 12:35:32.243954442 +0100
@@ -19,7 +19,7 @@
 %global pkg_name xmobar
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        0.29.3
+Version:        0.29.4
 Release:        0
 Summary:        A Minimalistic Text Based Status Bar
 License:        BSD-3-Clause

++++++ xmobar-0.29.3.tar.gz -> xmobar-0.29.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xmobar-0.29.3/changelog.md 
new/xmobar-0.29.4/changelog.md
--- old/xmobar-0.29.3/changelog.md      1970-01-01 01:00:00.000000000 +0100
+++ new/xmobar-0.29.4/changelog.md      2018-12-24 02:57:31.000000000 +0100
@@ -1,3 +1,7 @@
+## Version 0.29.4 (December, 2018)
+
+Upgrade to alsa-mixer 0.3.0.  See issues #372 and #373.
+
 ## Version 0.29.3 (December, 2018)
 
 _Bug fixes_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xmobar-0.29.3/src/Xmobar/Plugins/Monitors/Volume.hs 
new/xmobar-0.29.4/src/Xmobar/Plugins/Monitors/Volume.hs
--- old/xmobar-0.29.3/src/Xmobar/Plugins/Monitors/Volume.hs     1970-01-01 
01:00:00.000000000 +0100
+++ new/xmobar-0.29.4/src/Xmobar/Plugins/Monitors/Volume.hs     2018-12-24 
02:41:54.000000000 +0100
@@ -151,7 +151,7 @@
                    val <- getVal $ volumeControl control
                    db <- getDB $ volumeControl control
                    sw <- getSw $ switchControl control
-                   return (lo, hi, val, db, sw))
+                   return (fmap toInteger lo, fmap toInteger hi, val, db, sw))
                 (const $ return (Nothing, Nothing, Nothing, Nothing, Nothing))
 
     volumeControl :: Maybe Control -> Maybe Volume
@@ -171,7 +171,9 @@
     liftMonitor Nothing = unavailable
     liftMonitor (Just m) = m
 
-    channel v r = AE.catch (getChannel FrontLeft v) (const $ return $ Just r)
+    channel' v r = AE.catch (getChannel FrontLeft v) (const $ return $ Just r)
+
+    channel v r = channel' v r >>= \x -> return (x >>= Just . toInteger)
 
     getDB :: Maybe Volume -> IO (Maybe Integer)
     getDB Nothing = return Nothing
@@ -183,7 +185,7 @@
 
     getSw :: Maybe Switch -> IO (Maybe Bool)
     getSw Nothing = return Nothing
-    getSw (Just s) = channel s False
+    getSw (Just s) = channel' s False
 
     getFormatDB :: VolumeOpts -> Maybe Integer -> Monitor String
     getFormatDB _ Nothing = unavailable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xmobar-0.29.3/xmobar.cabal 
new/xmobar-0.29.4/xmobar.cabal
--- old/xmobar-0.29.3/xmobar.cabal      1970-01-01 01:00:00.000000000 +0100
+++ new/xmobar-0.29.4/xmobar.cabal      2018-12-24 03:06:23.000000000 +0100
@@ -1,5 +1,5 @@
 name:               xmobar
-version:            0.29.3
+version:            0.29.4
 homepage:           http://xmobar.org
 synopsis:           A Minimalistic Text Based Status Bar
 description:       Xmobar is a minimalistic text based status bar.
@@ -223,7 +223,7 @@
        cpp-options: -DLIBMPD
 
     if flag(with_alsa) || flag(all_extensions)
-       build-depends: alsa-mixer > 0.2.0.2 && < 0.3
+       build-depends: alsa-mixer >= 0.3 && < 0.4
        build-depends: alsa-core == 0.5.*,
                       process >= 1.4.3.0
        exposed-modules: Xmobar.Plugins.Monitors.Volume
@@ -325,8 +325,8 @@
                  Xmobar.System.Signal
 
   if flag(with_alsa) || flag(all_extensions)
-      build-depends: alsa-mixer > 0.2.0.2 && < 0.3,
-                     alsa-core == 0.5.*,
+      build-depends: alsa-mixer,
+                     alsa-core,
                      process >= 1.4.3.0
       other-modules: Xmobar.Plugins.Monitors.Volume
                      Xmobar.Plugins.Monitors.Alsa


Reply via email to