unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: Marius Bakke <mbakke@fastmail.com>
Cc: guix-devel@gnu.org
Subject: Re: 08/10: gnu: readline: support mingw.
Date: Sun, 03 Dec 2017 17:19:47 +0100	[thread overview]
Message-ID: <87efobeqcc.fsf@gnu.org> (raw)
In-Reply-To: <87indnztri.fsf@fastmail.com> (Marius Bakke's message of "Sun, 03 Dec 2017 17:00:17 +0100")

Marius Bakke writes:

Hi!

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> civodul pushed a commit to branch master
>> in repository guix.
>>
>> commit ae12d586275cdd96db23fb01bf840b2055b5b979
>> Author: Jan Nieuwenhuizen <janneke@gnu.org>
>> Date:   Tue Apr 12 15:49:17 2016 +0200
>>
>>     gnu: readline: support mingw.
>>     
>>     * gnu/packages/patches/readline-7.0-mingw.patch: New file.
>>     * gnu-system.am (dist_patch_DATA): Add it.
>>     * gnu/packages/readline.scm (readline): Support MinGW.
>> ---
>>  gnu/local.mk                                  |    1 +
>>  gnu/packages/patches/readline-7.0-mingw.patch |   28 +++++++++++++++++++++++++
>>  gnu/packages/readline.scm                     |   14 ++++++++++++-
>>  3 files changed, 42 insertions(+), 1 deletion(-)
>
> This commit added a patch for readline, but it wasn't added to the
> source.  Do you know if it is still required?

If you look at the readline recipe, you see this

--8<---------------cut here---------------start------------->8---
                   ,@(if (target-mingw?)
                         ;; MinGW: termcap in ncurses
                         ;; some SIG_* #defined in _POSIX
                         '(#:make-flags '("TERMCAP_LIB=-lncurses"
                                          "CPPFLAGS=-D_POSIX -D'chown(f,o,g)=0'"))
                         '())
--8<---------------cut here---------------end--------------->8---

I would consider this pretty ugly.  I think we tried and decided to
temporarily (ahem) use this option because adding the patch would
trigger a world rebuild for all archs.  I think we meant to remove the
above code and insert the patch when merging core-updates or something?

janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

      reply	other threads:[~2017-12-03 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20161207092335.28251.62559@vcs.savannah.gnu.org>
     [not found] ` <20161207092337.2696A2201B4@vcs.savannah.gnu.org>
2017-12-03 16:00   ` 08/10: gnu: readline: support mingw Marius Bakke
2017-12-03 16:19     ` Jan Nieuwenhuizen [this message]

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=87efobeqcc.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mbakke@fastmail.com \
    /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).