From: Julien Lepiller <julien@lepiller.eu>
To: 26718@debbugs.gnu.org
Subject: bug#26718: Update hexchat to 2.12.4
Date: Mon, 1 May 2017 09:52:36 +0200 [thread overview]
Message-ID: <20170501095233.3f647127@lepiller.eu> (raw)
In-Reply-To: <3ceff414-da73-2415-a43f-62da6c8b3814@tobias.gr>
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
Le Sun, 30 Apr 2017 23:11:24 +0200,
Tobias Geerinckx-Rice <me@tobias.gr> a écrit :
> On 30/04/17 22:05, Leo Famulari wrote:
> > Then there are changes we make in order to port software to Guix or
> > make other relatively unimportant changes. If they can be done with
> > a sed-like / regex substitution, we do them in build phases. It's
> > helpful to keep them in Scheme, and we don't want to distribute
> > them via `guix build --source`.
>
> Ah, I never considered this as a Guix-related fix: shipping symlinks
> to /usr might happen to work on some (?) other systems, but it's
> obviously not how autotools should be used.
>
> We should serve users with a --source tarball that is either already
> bootstrapped or ready to be, not in some dead-end third state.
>
> The correct answer in either case is, of course: ‘it's a silly detail,
> Tobias’.
>
> Kind regards,
>
> T G-R
>
Here's the updated patch.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-hexchat-Update-to-2.12.4.patch --]
[-- Type: text/x-patch, Size: 3620 bytes --]
From 1d631e557802e2392df5f744b22cbd8d732b31fa Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
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 | 35 ++++++++++++++++++++++++++++++-----
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 59e2b23d3..5754fb2d3 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2014 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2014, 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
@@ -166,17 +166,35 @@ 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"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete dangling symlinks to a non-existent ‘/usr’.
+ (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")
+ ;; This file is still required for autoreconf.
+ (copy-file (string-append (assoc-ref inputs "intltool")
+ "/share/intltool/Makefile.in.in")
+ "po/Makefile.in.in")))))
(build-system gnu-build-system)
- (native-inputs `(("pkg-config" ,pkg-config)
- ("intltool" ,intltool)))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("autoconf-archive" ,autoconf-archive)
+ ("automake" ,automake)
+ ("intltool" ,intltool)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)))
(inputs `(("dbus-glib" ,dbus-glib)
("dbus" ,dbus)
("enchant" ,enchant)
@@ -190,6 +208,13 @@ identi.ca and status.net).")
("luajit" ,luajit)
("perl-xml-parser" ,perl-xml-parser)
("python-2" ,python-2)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Release 2.12.4 wasn't properly bootstrapped. Later ones might be!
+ (add-after 'unpack 'bootstrap
+ (lambda* (#:key inputs #:allow-other-keys)
+ (zero? (system* "autoreconf" "-fiv")))))))
(synopsis "Graphical IRC Client")
(description
"HexChat lets you connect to multiple IRC networks at once. The main
--
2.12.2
next prev parent reply other threads:[~2017-05-01 7:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-30 17:22 bug#26718: Update hexchat to 2.12.4 Julien Lepiller
2017-04-30 18:19 ` Tobias Geerinckx-Rice
2017-04-30 19:35 ` Julien Lepiller
2017-04-30 20:05 ` Leo Famulari
2017-04-30 21:11 ` Tobias Geerinckx-Rice
2017-05-01 7:52 ` Julien Lepiller [this message]
2017-05-05 20:21 ` Leo Famulari
2017-05-06 19:55 ` Leo Famulari
2017-05-06 21:08 ` Julien Lepiller
2017-05-06 22:02 ` Tobias Geerinckx-Rice
2017-05-06 8:22 ` bug#26718: (no subject) Julien Lepiller
2017-05-06 13:48 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170501095233.3f647127@lepiller.eu \
--to=julien@lepiller.eu \
--cc=26718@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).