all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: Kei Kebreau <kei@openmailbox.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add libsmpeg.
Date: Fri, 29 Jul 2016 14:42:02 +0200	[thread overview]
Message-ID: <CAEwRq=obkLX52vzbUs-SXfgwL4oC1eH37WJ8iA5kHp2+iYtOhw@mail.gmail.com> (raw)
In-Reply-To: <871t2fhzsl.fsf@openmailbox.org>

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

>>> I see 2 solutions
>>
>> The other solution could be to patch the setup.py script, if you
>> want to do that I'll tell you what to change
>
> I want to try patching the setup.py script, that way I could see how
> pygame tries to detect the libraries that it says are missing.

Could you try the attached untested patch, that will avoid user interaction.

-- 
Vincent Legoll

[-- Attachment #2: patch-pygame-fix-interactive-setup.diff --]
[-- Type: text/plain, Size: 462 bytes --]

22c22
< def confirm(message):
---
> def confirm(message, default_ret=0):
24c24,27
<     reply = raw_input('\n' + message + ' [Y/n]:')
---
>     try:
>         reply = raw_input('\n' + message + ' [Y/n]:')
>     catch EOFError:
>         return default_ret
174a178
> 
180c184,185
< will not run. Would you like to continue the configuration?"""):
---
> will not run. Would you like to continue the configuration?""", 
>                            default_ret=1):

  reply	other threads:[~2016-07-29 12:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 14:31 [PATCH] gnu: Add libsmpeg Kei Kebreau
2016-07-22 19:41 ` Kei Kebreau
2016-07-22 19:53   ` Vincent Legoll
2016-07-22 21:12     ` Kei Kebreau
2016-07-22 22:21       ` Vincent Legoll
2016-07-22 22:25         ` Vincent Legoll
2016-07-27 15:21           ` Kei Kebreau
2016-07-29 12:42             ` Vincent Legoll [this message]
2016-07-29 21:08               ` Kei Kebreau
2016-07-23  7:27   ` Roel Janssen
2016-07-24  6:18   ` Efraim Flashner

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEwRq=obkLX52vzbUs-SXfgwL4oC1eH37WJ8iA5kHp2+iYtOhw@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=kei@openmailbox.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.