unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26914: gnu: xmonad: Update to 0.13.
@ 2017-05-13 21:47 Mekeor Melire
  2017-05-13 21:52 ` bug#26914: gnu: ghc-x11: Update to 1.8 Mekeor Melire
  2017-05-13 21:52 ` bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
  0 siblings, 2 replies; 10+ messages in thread
From: Mekeor Melire @ 2017-05-13 21:47 UTC (permalink / raw)
  To: 26914

I'm submitting two patches.

The first patch will update the `ghc-x11` to version 0.18. The second
patch will update `xmonad` and `ghc-xmonad-contrib` to 0.13.

I'm sorry that the commit messages are not exactly correct.

--
mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#26914: gnu: ghc-x11: Update to 1.8.
  2017-05-13 21:47 bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
@ 2017-05-13 21:52 ` Mekeor Melire
  2017-05-14 13:38   ` Ludovic Courtès
  2017-05-13 21:52 ` bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
  1 sibling, 1 reply; 10+ messages in thread
From: Mekeor Melire @ 2017-05-13 21:52 UTC (permalink / raw)
  To: 26914

From 3a02781178d777e3251c5e74a1426419fd218d93 Mon Sep 17 00:00:00 2001
From: Mekeor Melire <mekeor.melire@gmail.com>
Date: Sat, 13 May 2017 23:34:39 +0200
Subject: [PATCH] gnu: ghc-x11: Update to 1.8.

---
 gnu/packages/haskell.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0bafdf6f6..59c68609d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1633,14 +1633,14 @@ environment variables.")
 (define-public ghc-x11
   (package
     (name "ghc-x11")
-    (version "1.6.1.2")
+    (version "1.8")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://hackage.haskell.org/package/X11/"
                            "X11-" version ".tar.gz"))
        (sha256
-        (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
+        (base32 "13lxq36856fzp61y4api78vssykyh8fm2aplr0nsj18ymdm1c6sl"))))
     (build-system haskell-build-system)
     (inputs
      `(("libx11" ,libx11)
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* bug#26914: gnu: xmonad: Update to 0.13.
  2017-05-13 21:47 bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
  2017-05-13 21:52 ` bug#26914: gnu: ghc-x11: Update to 1.8 Mekeor Melire
@ 2017-05-13 21:52 ` Mekeor Melire
  2017-05-14 13:39   ` Ludovic Courtès
  1 sibling, 1 reply; 10+ messages in thread
From: Mekeor Melire @ 2017-05-13 21:52 UTC (permalink / raw)
  To: 26914

From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
From: Mekeor Melire <mekeor.melire@gmail.com>
Date: Sat, 13 May 2017 23:36:36 +0200
Subject: [PATCH] gnu: xmonad: Update to 0.13.

* gnu/packages/wm.scm (xmonad): Update to 0.13.
[inputs]: Add ghc-directory.
(ghc-xmonad-contrib): Update to 0.13.
---
 gnu/packages/wm.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3cf74c4ca..84f650e6f 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -334,7 +334,7 @@ prompt.")
 (define-public xmonad
   (package
     (name "xmonad")
-    (version "0.12")
+    (version "0.13")
     (synopsis "Tiling window manager")
     (source (origin
               (method url-fetch)
@@ -342,7 +342,7 @@ prompt.")
                                   name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1mzx3p17ppgmi30q3phaj58x6kxn73pbbkn9v9gzgmd8skdlkxp8"))))
+                "1jh3lcs20qpna36fa5a0r174xqrsxhj10x1rm5vwf64zariipy7r"))))
     (build-system haskell-build-system)
     (inputs
      `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
@@ -350,6 +350,7 @@ prompt.")
        ("ghc-quickcheck"            ,ghc-quickcheck)
        ("ghc-setlocale"             ,ghc-setlocale)
        ("ghc-utf8-string"           ,ghc-utf8-string)
+       ("ghc-directory"             ,ghc-directory)
        ("ghc-x11"                   ,ghc-x11)))
     (arguments
      `(#:phases
@@ -383,7 +384,7 @@ tiled on several screens.")
 (define-public ghc-xmonad-contrib
   (package
     (name "ghc-xmonad-contrib")
-    (version "0.12")
+    (version "0.13")
     (source
      (origin
        (method url-fetch)
@@ -391,7 +392,7 @@ tiled on several screens.")
                            "xmonad-contrib-" version ".tar.gz"))
        (sha256
         (base32
-         "04gk449dxwmimmb6y2d2hvvmv91r91xlj879qzlyq0mcf723278k"))))
+         "0vj72jhfng6y7hv5frx2v99jvl3jn9rbpk2j7xw9vydiwmzq4q57"))))
     (build-system haskell-build-system)
     (propagated-inputs
      `(("ghc-mtl" ,ghc-mtl)
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* bug#26914: gnu: ghc-x11: Update to 1.8.
  2017-05-13 21:52 ` bug#26914: gnu: ghc-x11: Update to 1.8 Mekeor Melire
@ 2017-05-14 13:38   ` Ludovic Courtès
  2017-06-21  7:34     ` [bug#26914] " Ricardo Wurmus
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2017-05-14 13:38 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: 26914

Mekeor Melire <mekeor.melire@gmail.com> skribis:

> From 3a02781178d777e3251c5e74a1426419fd218d93 Mon Sep 17 00:00:00 2001
> From: Mekeor Melire <mekeor.melire@gmail.com>
> Date: Sat, 13 May 2017 23:34:39 +0200
> Subject: [PATCH] gnu: ghc-x11: Update to 1.8.
>
> ---
>  gnu/packages/haskell.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied with adjusted commit log, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#26914: gnu: xmonad: Update to 0.13.
  2017-05-13 21:52 ` bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
@ 2017-05-14 13:39   ` Ludovic Courtès
  2017-05-30 16:01     ` Ludovic Courtès
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2017-05-14 13:39 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: 26914

Mekeor Melire <mekeor.melire@gmail.com> skribis:

> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
> From: Mekeor Melire <mekeor.melire@gmail.com>
> Date: Sat, 13 May 2017 23:36:36 +0200
> Subject: [PATCH] gnu: xmonad: Update to 0.13.
>
> * gnu/packages/wm.scm (xmonad): Update to 0.13.
> [inputs]: Add ghc-directory.
> (ghc-xmonad-contrib): Update to 0.13.

This fails to build like this:

--8<---------------cut here---------------start------------->8---
starting phase `configure'
running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13" "--libdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/lib" "--bindir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/bin" "--docdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x79rnn76iay0xyz-ghc-quickcheck-2.8.2/lib" "--extra-lib-dirs=/gnu/store/2ssg9sv8brvlc9sd5g99w0vqxx7hl163-ghc-setlocale-1.0.0.4/lib" "--extra-lib-dirs=/gnu/store/6v36gn4qb0ap4b2is98dz6klad3sw67k-ghc-utf8-string-1.0.1.1/lib" "--extra-lib-dirs=/gnu/store/fh7aha81zn11482g3vwrp7d37z8qn4cq-ghc-x11-1.8/lib" "--extra-lib-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/lib" "--extra-lib-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/lib" "--extra-lib-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/lib" "--extra-lib-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/lib" "--extra-lib-dirs=/gnu/store/k7029k5va68lkapbzcycdzj7m5bjb4b8-bash-4.4.12/lib" "--extra-lib-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/lib" "--extra-lib-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib" "--extra-lib-dirs=/gnu/store/1h0p1lgl5i1dmwa0rzxflv664zwwm6am-glibc-utf8-locales-2.25/lib" "--enable-tests")
Configuring xmonad-0.13...
Setup.lhs: At least the following dependencies are missing:
directory >=1.2.3
phase `configure' succeeded after 0.6 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
running "runhaskell Setup.hs" with command "build" and parameters ()
Setup.lhs: Run the 'configure' command first.
--8<---------------cut here---------------end--------------->8---

Is anything amiss?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#26914: gnu: xmonad: Update to 0.13.
  2017-05-14 13:39   ` Ludovic Courtès
@ 2017-05-30 16:01     ` Ludovic Courtès
  2017-05-30 21:46       ` Ricardo Wurmus
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2017-05-30 16:01 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: 26914

Hi Mekeor,

Any update on this?  :-)

Ludo’.

ludo@gnu.org (Ludovic Courtès) skribis:

> Mekeor Melire <mekeor.melire@gmail.com> skribis:
>
>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>> From: Mekeor Melire <mekeor.melire@gmail.com>
>> Date: Sat, 13 May 2017 23:36:36 +0200
>> Subject: [PATCH] gnu: xmonad: Update to 0.13.
>>
>> * gnu/packages/wm.scm (xmonad): Update to 0.13.
>> [inputs]: Add ghc-directory.
>> (ghc-xmonad-contrib): Update to 0.13.
>
> This fails to build like this:
>
> starting phase `configure'
> running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13" "--libdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/lib" "--bindir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/bin" "--docdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x79rnn76iay0xyz-ghc-quickcheck-2.8.2/lib" "--extra-lib-dirs=/gnu/store/2ssg9sv8brvlc9sd5g99w0vqxx7hl163-ghc-setlocale-1.0.0.4/lib" "--extra-lib-dirs=/gnu/store/6v36gn4qb0ap4b2is98dz6klad3sw67k-ghc-utf8-string-1.0.1.1/lib" "--extra-lib-dirs=/gnu/store/fh7aha81zn11482g3vwrp7d37z8qn4cq-ghc-x11-1.8/lib" "--extra-lib-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/lib" "--extra-lib-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/lib" "--extra-lib-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/lib" "--extra-lib-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/lib" "--extra-lib-dirs=/gnu/store/k7029k5va68lkapbzcycdzj7m5bjb4b8-bash-4.4.12/lib" "--extra-lib-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/lib" "--extra-lib-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib" "--extra-lib-dirs=/gnu/store/1h0p1lgl5i1dmwa0rzxflv664zwwm6am-glibc-utf8-locales-2.25/lib" "--enable-tests")
> Configuring xmonad-0.13...
> Setup.lhs: At least the following dependencies are missing:
> directory >=1.2.3
> phase `configure' succeeded after 0.6 seconds
> starting phase `patch-generated-file-shebangs'
> phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
> starting phase `build'
> running "runhaskell Setup.hs" with command "build" and parameters ()
> Setup.lhs: Run the 'configure' command first.
>
> Is anything amiss?
>
> Thanks,
> Ludo’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#26914: gnu: xmonad: Update to 0.13.
  2017-05-30 16:01     ` Ludovic Courtès
@ 2017-05-30 21:46       ` Ricardo Wurmus
  2017-06-20 23:46         ` [bug#26914] " Mekeor Melire
  0 siblings, 1 reply; 10+ messages in thread
From: Ricardo Wurmus @ 2017-05-30 21:46 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26914


Ludovic Courtès <ludo@gnu.org> writes:

>>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>>> From: Mekeor Melire <mekeor.melire@gmail.com>
>>> Date: Sat, 13 May 2017 23:36:36 +0200
>>> Subject: [PATCH] gnu: xmonad: Update to 0.13.
>>>
>>> * gnu/packages/wm.scm (xmonad): Update to 0.13.
>>> [inputs]: Add ghc-directory.
>>> (ghc-xmonad-contrib): Update to 0.13.
>>
>> This fails to build like this:
[…]
>> Setup.lhs: At least the following dependencies are missing:
>> directory >=1.2.3
>> phase `configure' succeeded after 0.6 seconds
>> starting phase `patch-generated-file-shebangs'
>> phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
>> starting phase `build'
>> running "runhaskell Setup.hs" with command "build" and parameters ()
>> Setup.lhs: Run the 'configure' command first.

It now also fails with this:

--8<---------------cut here---------------start------------->8---
starting phase `configure'
running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13" "--libdir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/lib" "--bindir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/bin" "--docdir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x7
Configuring xmonad-0.13...
Setup.lhs: At least the following dependencies are missing:
X11 ==1.8.*
phase `configure' succeeded after 4.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
running "runhaskell Setup.hs" with command "build" and parameters ()
Setup.lhs: Run the 'configure' command first.
phase `build' failed after 1.0 seconds
--8<---------------cut here---------------end--------------->8---

(Side note: the configure phase really should fail in these cases.)

I believe this requires an upgrade to many of our Haskell packages.
We should try to catch up with the latest Haskell platform.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#26914] gnu: xmonad: Update to 0.13.
  2017-05-30 21:46       ` Ricardo Wurmus
@ 2017-06-20 23:46         ` Mekeor Melire
  2017-06-21  7:43           ` bug#26914: " Ricardo Wurmus
  0 siblings, 1 reply; 10+ messages in thread
From: Mekeor Melire @ 2017-06-20 23:46 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 26914


Ricardo Wurmus <rekado@elephly.net> writes:

> Ludovic Courtès <ludo@gnu.org> writes:
>>>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>>>> From: Mekeor Melire <mekeor.melire@gmail.com>
>>>> Date: Sat, 13 May 2017 23:36:36 +0200
>>>> Subject: [PATCH] gnu: xmonad: Update to 0.13.
>>>>
>>>> * gnu/packages/wm.scm (xmonad): Update to 0.13.
>>>> [inputs]: Add ghc-directory.
>>>> (ghc-xmonad-contrib): Update to 0.13.
>>>
>>> This fails to build like this:
> […]
>>> Setup.lhs: At least the following dependencies are missing:
>>> directory >=1.2.3
>>> phase `configure' succeeded after 0.6 seconds
>>> starting phase `patch-generated-file-shebangs'
>>> phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
>>> starting phase `build'
>>> running "runhaskell Setup.hs" with command "build" and parameters ()
>>> Setup.lhs: Run the 'configure' command first.

I can't reproduce this failure and also the error message doesn't make
sense to me because I added ghc-directory as dependecy to the package.

> It now also fails with this:
>
> --8<---------------cut here---------------start------------->8---
[…]
> Setup.lhs: At least the following dependencies are missing:
> X11 ==1.8.*
[…]
> --8<---------------cut here---------------end--------------->8---
>
[…]
> I believe this requires an upgrade to many of our Haskell packages.
> We should try to catch up with the latest Haskell platform.

This error was appearing because Ludo didn't actually apply the patch
for ghc-x11.


I tested both patches again now: they work. I tested them using both

  $ ./pre-inst-env guix build      xmonad ghc-xmonad-contrib # and
  $ ./pre-inst-env guix package -i xmonad ghc-xmonad-contrib

and both worked.

Before building the package, I applied the patch for ghc-x11, then I
applied the patch for xmonad and ghc-xmonad-contrib.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [bug#26914] gnu: ghc-x11: Update to 1.8.
  2017-05-14 13:38   ` Ludovic Courtès
@ 2017-06-21  7:34     ` Ricardo Wurmus
  0 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-06-21  7:34 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 26914


Ludovic Courtès <ludo@gnu.org> writes:

> Mekeor Melire <mekeor.melire@gmail.com> skribis:
>
>> From 3a02781178d777e3251c5e74a1426419fd218d93 Mon Sep 17 00:00:00 2001
>> From: Mekeor Melire <mekeor.melire@gmail.com>
>> Date: Sat, 13 May 2017 23:34:39 +0200
>> Subject: [PATCH] gnu: ghc-x11: Update to 1.8.
>>
>> ---
>>  gnu/packages/haskell.scm | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> Applied with adjusted commit log, thanks!

Looks like this hasn’t actually been pushed.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#26914: gnu: xmonad: Update to 0.13.
  2017-06-20 23:46         ` [bug#26914] " Mekeor Melire
@ 2017-06-21  7:43           ` Ricardo Wurmus
  0 siblings, 0 replies; 10+ messages in thread
From: Ricardo Wurmus @ 2017-06-21  7:43 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: 26914-done


Mekeor Melire <mekeor.melire@gmail.com> writes:

> I tested both patches again now: they work. I tested them using both
>
>   $ ./pre-inst-env guix build      xmonad ghc-xmonad-contrib # and
>   $ ./pre-inst-env guix package -i xmonad ghc-xmonad-contrib
>
> and both worked.
>
> Before building the package, I applied the patch for ghc-x11, then I
> applied the patch for xmonad and ghc-xmonad-contrib.

Yes, you’re right.  The patch for “ghc-x11” actually hadn’t been
pushed.  I was able to build xmonad, but I noticed these warnings:

--8<---------------cut here---------------start------------->8---
Configuring xmonad-0.13...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package process-1.2.3.0 requires directory-1.2.2.0
package xmonad-0.13 requires directory-1.2.7.0
--8<---------------cut here---------------end--------------->8---

This indicates that we really need to update other packages too.
I’ll push this now and close this bug, but we really need to harmonise
the Haskell packages.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-21  7:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-13 21:47 bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
2017-05-13 21:52 ` bug#26914: gnu: ghc-x11: Update to 1.8 Mekeor Melire
2017-05-14 13:38   ` Ludovic Courtès
2017-06-21  7:34     ` [bug#26914] " Ricardo Wurmus
2017-05-13 21:52 ` bug#26914: gnu: xmonad: Update to 0.13 Mekeor Melire
2017-05-14 13:39   ` Ludovic Courtès
2017-05-30 16:01     ` Ludovic Courtès
2017-05-30 21:46       ` Ricardo Wurmus
2017-06-20 23:46         ` [bug#26914] " Mekeor Melire
2017-06-21  7:43           ` bug#26914: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).