unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 08/10: gnu: readline: support mingw.
       [not found] ` <20161207092337.2696A2201B4@vcs.savannah.gnu.org>
@ 2017-12-03 16:00   ` Marius Bakke
  2017-12-03 16:19     ` Jan Nieuwenhuizen
  0 siblings, 1 reply; 2+ messages in thread
From: Marius Bakke @ 2017-12-03 16:00 UTC (permalink / raw)
  To: Jan Nieuwenhuizen, guix-devel

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

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(-)

Hello!

This commit added a patch for readline, but it wasn't added to the
source.  Do you know if it is still required?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: 08/10: gnu: readline: support mingw.
  2017-12-03 16:00   ` 08/10: gnu: readline: support mingw Marius Bakke
@ 2017-12-03 16:19     ` Jan Nieuwenhuizen
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Nieuwenhuizen @ 2017-12-03 16:19 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

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

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

end of thread, other threads:[~2017-12-03 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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

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).