Subject: bug#26718: closed ()

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 06 May 2017 08:23:02 +0000

Your bug report

#26718: Update hexchat to 2.12.4

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26718: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26718
GNU Bug Tracking System
Contact [email-masked] with problems

From: Julien Lepiller <[email-masked]>
To: [email-masked]
Date: Sat, 6 May 2017 10:22:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Subject: Update hexchat to 2.12.4
From: Julien Lepiller <[email-masked]>
To: [email-masked]
Date: Sun, 30 Apr 2017 19:22:56 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

here is a patch to update hexchat to 2.12.4.

>From 172532a4aec163e6be4df896ba7db35801bec6f1 Mon Sep 17 00:00:00 2001
From: Julien Lepiller <[email-masked]>
Date: Sun, 30 Apr 2017 19:21:46 +0200
Subject: [PATCH] gnu: hexchat: Update to 2.12.4.

* gnu/packages/messaging.scm (hexchat): Update to 2.12.4.
---
 gnu/packages/messaging.scm | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 59e2b23d3..16a04d30e 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -166,17 +166,21 @@ identi.ca and status.net).")
 (define-public hexchat
   (package
     (name "hexchat")
-    (version "2.12.2")
+    (version "2.12.4")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://dl.hexchat.net/hexchat/hexchat-"
                                   version ".tar.xz"))
               (sha256
                (base32
-                "1xnclfbrgbkqndxygi5f27q00jd7yy54jbd1061jmhxa6wzpibbd"))))
+                "0ficrx56knz5y297qb0x5y02339yvyv734z7kpcx1ixvb0qr2dgs"))))
     (build-system gnu-build-system)
     (native-inputs `(("pkg-config" ,pkg-config)
-                     ("intltool" ,intltool)))
+                     ("intltool" ,intltool)
+                     ("autoconf" ,autoconf)
+                     ("autoconf-archive" ,autoconf-archive)
+                     ("automake" ,automake)
+                     ("libtool" ,libtool)))
     (inputs `(("dbus-glib" ,dbus-glib)
               ("dbus" ,dbus)
               ("enchant" ,enchant)
@@ -190,6 +194,22 @@ identi.ca and status.net).")
               ("luajit" ,luajit)
               ("perl-xml-parser" ,perl-xml-parser)
               ("python-2" ,python-2)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autogen
+                    (lambda* (#:key inputs #:allow-other-keys)
+                      ;; these files are symlinks to /usr and cannot be used.
+                      (with-directory-excursion "m4"
+                        (for-each (lambda (f) (delete-file f))
+                                  '("intltool.m4" "libtool.m4" "lt~obsolete.m4"
+                                    "ltoptions.m4" "ltsugar.m4" "ltversion.m4")))
+                      (delete-file-recursively "build-aux")
+                      (delete-file "po/Makefile.in.in")
+                      (copy-file (string-append (assoc-ref inputs "intltool")
+                                                "/share/intltool/Makefile.in.in")
+                                 "po/Makefile.in.in")
+                      (zero? (system* "autoreconf" "-fiv")))))))
     (synopsis "Graphical IRC Client")
     (description
      "HexChat lets you connect to multiple IRC networks at once.  The main
-- 
2.12.2