[Pkg-haskell-commits] darcs: xmonad: Float mplayer2 (patch by Joey Hess, Closes: #753551)

Joachim Breitner mail at joachim-breitner.de
Thu Jul 3 05:42:33 UTC 2014


Thu Jul  3 05:41:49 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Float mplayer2 (patch by Joey Hess, Closes: #753551)

    M ./changelog +6
    A ./patches/float-mplayer2.patch
    M ./patches/series +1

Thu Jul  3 05:41:49 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Float mplayer2 (patch by Joey Hess, Closes: #753551)
diff -rN -u old-xmonad/changelog new-xmonad/changelog
--- old-xmonad/changelog	2014-07-03 05:42:33.709860312 +0000
+++ new-xmonad/changelog	2014-07-03 05:42:33.717860300 +0000
@@ -1,3 +1,9 @@
+xmonad (0.11-8) UNRELEASED; urgency=medium
+
+  * Float mplayer2 (patch by Joey Hess, Closes: #753551)
+
+ -- Joachim Breitner <nomeata at debian.org>  Thu, 03 Jul 2014 07:41:24 +0200
+
 xmonad (0.11-7) unstable; urgency=low
 
   [ Joachim Breitner ]
diff -rN -u old-xmonad/patches/float-mplayer2.patch new-xmonad/patches/float-mplayer2.patch
--- old-xmonad/patches/float-mplayer2.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-xmonad/patches/float-mplayer2.patch	2014-07-03 05:42:33.721860294 +0000
@@ -0,0 +1,27 @@
+Author: Joey Hess <joeyh at debian.org>
+Debian-Bug: http://bugs.debian.org/753551
+Description:
+ xmonad floats mplayer by default. However, Debian has switched to
+ mplayer2, and so on upgrade, it will stop floating. This can be easily
+ fixed in the user's config file, but here is a patch that avoids
+ bothering the user with breakage on upgrade.
+
+Index: xmonad-0.11/XMonad/Config.hs
+===================================================================
+--- xmonad-0.11.orig/XMonad/Config.hs	2013-01-01 02:31:47.000000000 +0100
++++ xmonad-0.11/XMonad/Config.hs	2014-07-03 07:40:08.951940477 +0200
+@@ -90,6 +90,7 @@
+ manageHook :: ManageHook
+ manageHook = composeAll
+                 [ className =? "MPlayer"        --> doFloat
++                , className =? "mplayer2"       --> doFloat
+                 , className =? "Gimp"           --> doFloat ]
+ 
+ ------------------------------------------------------------------------
+@@ -305,4 +306,4 @@
+     "-- Mouse bindings: default actions bound to mouse events",
+     "mod-button1  Set the window to floating mode and move by dragging",
+     "mod-button2  Raise the window to the top of the stack",
+-    "mod-button3  Set the window to floating mode and resize by dragging"]
+\ No newline at end of file
++    "mod-button3  Set the window to floating mode and resize by dragging"]
diff -rN -u old-xmonad/patches/series new-xmonad/patches/series
--- old-xmonad/patches/series	2014-07-03 05:42:33.709860312 +0000
+++ new-xmonad/patches/series	2014-07-03 05:42:33.721860294 +0000
@@ -1,3 +1,4 @@
 fix-GenerateManpage
+float-mplayer2.patch
 use_x-terminal-emulator.patch
 #haddock-fixes.patch




More information about the Pkg-haskell-commits mailing list