From: ludo@gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust@gmail.com>
Cc: 27691@debbugs.gnu.org
Subject: [bug#27691] Tabs and patches names
Date: Thu, 20 Jul 2017 11:19:08 +0200 [thread overview]
Message-ID: <87h8y7xy7n.fsf@gnu.org> (raw)
In-Reply-To: <87poczcaxz.fsf@magnolia.i-did-not-set--mail-host-address--so-tickle-me> (Oleg Pykhalov's message of "Mon, 17 Jul 2017 18:58:16 +0300")
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
>>From 39f61dbcc0b7b09a325536149eee6c69c7526b4e Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust@gmail.com>
> Date: Fri, 14 Jul 2017 15:34:33 +0300
> Subject: [PATCH] gnu: Add tome4.
>
> * gnu/packages/games.scm (tome4): New variable.
Please add the patches to gnu/local.mk.
> + (substitute* "tome4.desktop"
> + (("Exec=/usr")
> + (string-append "Exec="
> + (assoc-ref outputs "out")
> + "/usr")))
Is it needed? I would expect the ‘patch-dot-desktop-files’ to do the
right thing.
> + (synopsis "Roguelike RPG")
> + (description "Tales of Maj’Eyal (ToME) is a free, open source roguelike
Please remove “free, open source”: that’s always the case in Guix. :-)
> diff --git a/gnu/packages/patches/tome4-add-desktop-file.patch b/gnu/packages/patches/tome4-add-desktop-file.patch
> new file mode 100644
> index 000000000..80fd82478
> --- /dev/null
> +++ b/gnu/packages/patches/tome4-add-desktop-file.patch
> @@ -0,0 +1,27 @@
> +From b8e207e145938f7a0f23d1c5107d532ebb9de720 Mon Sep 17 00:00:00 2001
> +From: Oleg Pykhalov <go.wigust@gmail.com>
> +Date: Fri, 14 Jul 2017 11:19:37 +0300
> +Subject: [PATCH] Add desktop file.
> +
> +---
> + tome4.desktop | 8 ++++++++
> + 1 file changed, 8 insertions(+)
> + create mode 100644 tome4.desktop
> +
> +diff --git a/tome4.desktop b/tome4.desktop
> +new file mode 100644
> +index 000000000..c5d67f0cf
> +--- /dev/null
> ++++ b/tome4.desktop
> +@@ -0,0 +1,8 @@
> ++[Desktop Entry]
> ++Name=ToME4
> ++Comment=An open-source, single-player, role-playing roguelike game set in the world of Eyal.
> ++Exec=/usr/bin/tome4
> ++Icon=tome4.png
> ++Terminal=false
> ++Type=Application
> ++Categories=Game;RolePlaying;
For each patch, could you write a line explaining whether they are
upstream patches, to simplify future updates?
Also, please remove “open-source” from the comment. (BTW I recommend
<https://www.gnu.org/philosophy/open-source-misses-the-point.html>.)
> @@ -0,0 +1,23 @@
> +From f10d89912989e0f071855ab2c20d62b318d313fc Mon Sep 17 00:00:00 2001
> +From: Oleg Pykhalov <go.wigust@gmail.com>
> +Date: Fri, 14 Jul 2017 11:17:26 +0300
> +Subject: [PATCH] Add shell wrapper for launching.
> +
> +---
> + tome4 | 4 ++++
> + 1 file changed, 4 insertions(+)
> + create mode 100644 tome4
> +
> +diff --git a/tome4 b/tome4
> +new file mode 100644
> +index 000000000..2b623e467
> +--- /dev/null
> ++++ b/tome4
> +@@ -0,0 +1,4 @@
> ++#!/usr/bin/sh
> ++cd "/opt/tome4"
> ++./t-engine &
> ++exit
If this is not an upstream patch, I would find it nicer to create the
wrapper directly from the build phase, and with the right directory name
instead of “/opt”.
Could you send an updated patch?
Thank you!
Ludo’.
next prev parent reply other threads:[~2017-07-20 9:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 12:41 [bug#27691] [PATCH 1/2] gnu: Add premake4 Oleg Pykhalov
2017-07-14 12:41 ` [bug#27691] [PATCH 2/2] gnu: Add t-engine Oleg Pykhalov
2017-07-14 12:50 ` [bug#27691] Specify version Oleg Pykhalov
2017-07-17 15:58 ` [bug#27691] Tabs and patches names Oleg Pykhalov
2017-07-20 9:19 ` Ludovic Courtès [this message]
2017-07-25 16:41 ` Oleg Pykhalov
2017-07-26 8:40 ` Ludovic Courtès
2017-07-26 11:12 ` Oleg Pykhalov
2017-07-26 20:32 ` Ludovic Courtès
2017-07-26 21:05 ` Oleg Pykhalov
2017-07-28 7:31 ` [bug#27691] Qemu test tome4 works for me Oleg Pykhalov
2017-07-28 20:43 ` bug#27691: " Ludovic Courtès
2017-07-17 16:02 ` [bug#27691] Fix spaces Oleg Pykhalov
2017-07-20 9:08 ` Ludovic Courtès
2017-07-28 23:06 ` [bug#27691] Clean up tome4 Oleg Pykhalov
2017-07-29 12:15 ` Ludovic Courtès
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=87h8y7xy7n.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=27691@debbugs.gnu.org \
--cc=go.wigust@gmail.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 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.