guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27691] Tabs and patches names


From: Oleg Pykhalov
Subject: [bug#27691] Tabs and patches names
Date: Thu, 27 Jul 2017 00:05:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Oleg Pykhalov <address@hidden> skribis:
>
>> address@hidden (Ludovic Courtès) writes:
>>
>> [...]
>>> I had to make the change below so that ‘tome4’ would behave as one would
>>> expect.  However, the game doesn’t work for me: it creates an X11 window
>>> that immediately disappears; after that, the engine is running
>>> (displaying its activity in the console), but there’s no open window.
>>>
>>> The problem can be reproduced with:
>>>
>>>   ./pre-inst-env guix environment --pure --ad-hoc tome4 
>>>
>>> Could you check if it works for you?
>>>
>>> Thanks!
>>>
>>> Ludo’.
>>>
>>> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
>>> index df6922d88..41084a2f2 100644
>>> --- a/gnu/packages/games.scm
>>> +++ b/gnu/packages/games.scm
>>> @@ -4660,8 +4660,7 @@ Crowther & Woods, its original authors, in 1995.  It 
>>> has been known as
>>>                                ;; defaulting to working directory
>>>                                ;; for engine code!
>>>                                "cd " data "\n"
>>> -                              "./t-engine &\n"
>>> -                              "exit\n"))))
>>> +                              "exec -a tome4 ./t-engine 
>>> \"address@hidden"\n"))))
>>>                          (chmod wrapper #o555)
>>>                          ;; licenses
>>>                          (for-each (lambda (file)
>>
>> I applied your patch and ran `./pre-inst-env guix environment --pure
>> --ad-hoc tome4 -- tome4`.  It worked.
>
> Is it on GuixSD or on another distro?  In the latter case, ‘tome4’ might
> be using stuff from the host distro that’s missing on my machine.

It is GuixSD.  My ~/src/guix is rebased on origin/master yesterday.  I
I think that `--pure` flag makes sure that our environments are the
same, doesn't it?

Do you able to run other games on your machine?

Maybe I need to make a `guix build vm`?  I'm not sure does qemu able to
run games though.

>> However I got “bash: tty: command not found” after `./pre-inst-env guix
>> environment --pure --ad-hoc tome4`.  `tome4` runs just fine still.
>
> Sounds harmless.

OK.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]