From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daTVO-0001UN-GE for guix-patches@gnu.org; Wed, 26 Jul 2017 17:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daTVK-0008Og-H9 for guix-patches@gnu.org; Wed, 26 Jul 2017 17:06:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daTVK-0008OW-Eo for guix-patches@gnu.org; Wed, 26 Jul 2017 17:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daTVK-0000tZ-8U for guix-patches@gnu.org; Wed, 26 Jul 2017 17:06:02 -0400 Subject: [bug#27691] Tabs and patches names Resent-Message-ID: From: Oleg Pykhalov References: <20170714124108.24997-1-go.wigust@gmail.com> <87poczcaxz.fsf@magnolia.i-did-not-set--mail-host-address--so-tickle-me> <87h8y7xy7n.fsf@gnu.org> <87bmo8eaen.fsf@gmail.com> <87wp6va8vr.fsf@gnu.org> <87379jih9a.fsf@gmail.com> <87lgnb7xdq.fsf@gnu.org> Date: Thu, 27 Jul 2017 00:05:12 +0300 In-Reply-To: <87lgnb7xdq.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 26 Jul 2017 22:32:01 +0200") Message-ID: <87a83q6h9z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27691@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Oleg Pykhalov skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >> [...] >>> I had to make the change below so that =E2=80=98tome4=E2=80=99 would be= have as one would >>> expect. However, the game doesn=E2=80=99t work for me: it creates an X= 11 window >>> that immediately disappears; after that, the engine is running >>> (displaying its activity in the console), but there=E2=80=99s no open w= indow. >>> >>> The problem can be reproduced with: >>> >>> ./pre-inst-env guix environment --pure --ad-hoc tome4=20 >>> >>> Could you check if it works for you? >>> >>> Thanks! >>> >>> Ludo=E2=80=99. >>> >>> 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 \"$@\"\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, =E2=80=98tome4= =E2=80=99 might > be using stuff from the host distro that=E2=80=99s 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 =E2=80=9Cbash: tty: command not found=E2=80=9D after `./pr= e-inst-env guix >> environment --pure --ad-hoc tome4`. `tome4` runs just fine still. > > Sounds harmless. OK.