[arch-commits] Commit in xmonad-contrib/trunk (2 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Mon Mar 18 08:15:17 UTC 2013


    Date: Monday, March 18, 2013 @ 09:15:17
  Author: jelle
Revision: 86482

upgpkg: xmonad-contrib 0.11-4

fixed deps

Added:
  xmonad-contrib/trunk/xmonad-contrib-remove-getatomname.patch
Modified:
  xmonad-contrib/trunk/PKGBUILD

-----------------------------------------+
 PKGBUILD                                |    8 +++++---
 xmonad-contrib-remove-getatomname.patch |   19 +++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-18 07:55:54 UTC (rev 86481)
+++ PKGBUILD	2013-03-18 08:15:17 UTC (rev 86482)
@@ -10,13 +10,13 @@
 arch=('i686' 'x86_64')
 url="http://xmonad.org/"
 license=('BSD')
-depends=('ghc=7.6.2-1' 'xmonad=0.11-3' 'sh' 'haskell-x11=1.6.0.2-2' 'haskell-x11-xft=0.3.1-7' 'haskell-utf8-string=0.3.7-4' 'haskell-random=1.0.1.1-4')
+depends=('ghc=7.6.2-1' 'xmonad=0.11-4' 'sh' 'haskell-x11=1.6.1.1-1' 'haskell-x11-xft=0.3.1' 'haskell-utf8-string=0.3.7-4' 'haskell-random=1.0.1.1-4')
 install='xmonad-contrib.install'
-source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('05fba258ac6063e49b50786a0869bd1f')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz xmonad-contrib-remove-getatomname.patch)
 
 build() {
   cd $srcdir/$pkgname-$pkgver
+  patch -Np1 -i $srcdir/xmonad-contrib-remove-getatomname.patch
 
   runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \
              --libsubdir=\$compiler/site-local/\$pkgid
@@ -33,3 +33,5 @@
   runhaskell Setup.lhs copy --destdir=$pkgdir
   install -D LICENSE $pkgdir/usr/share/licenses/xmonad-contrib/LICENSE
 }
+md5sums=('05fba258ac6063e49b50786a0869bd1f'
+         '1d1fab94ae24b2a8f6a5dcd9cd6d9548')

Added: xmonad-contrib-remove-getatomname.patch
===================================================================
--- xmonad-contrib-remove-getatomname.patch	                        (rev 0)
+++ xmonad-contrib-remove-getatomname.patch	2013-03-18 08:15:17 UTC (rev 86482)
@@ -0,0 +1,19 @@
+diff -aur xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs
+--- xmonad-contrib-0.11/XMonad/Hooks/DebugEvents.hs	2013-01-01 01:32:44.000000000 +0000
++++ xmonad-contrib.new/XMonad/Hooks/DebugEvents.hs	2013-03-18 07:54:52.082723862 +0000
+@@ -50,6 +50,7 @@
+ import           System.Process
+ 
+ -- this should move into X11
++{-
+ foreign import ccall unsafe "XGetAtomName"
+   xGetAtomName :: Display -> Atom -> IO CString
+ 
+@@ -63,6 +64,7 @@
+       xFree n
+       return $ Just n'
+ 
++-}
+ -- | Event hook to dump all received events.  You should probably not use this
+ --   unconditionally; it will produce massive amounts of output.
+ debugEventsHook   :: Event -> X All




More information about the arch-commits mailing list