From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] add package for pdmenu
Date: Sat, 26 Aug 2017 10:16:06 +0200 [thread overview]
Message-ID: <20170826101606.6072a31e@windsurf> (raw)
In-Reply-To: <20170825173358.7fd6f8bc@brock-desktop>
Hello,
Thanks a lot for your contribution! Your patch looks mostly good,
there are only a few nits, see below. Could you address them and send
an updated version ?
On Fri, 25 Aug 2017 17:33:58 -0600, Brock Williams wrote:
> Signed-off-by: Brock Williams <brock@cottonwoodcomputer.com>
> ---
> package/Config.in | 1 +
> package/pdmenu/Config.in | 9 +++++++++
> package/pdmenu/pdmenu.mk | 9 +++++++++
Please add an entry to the top-level DEVELOPERS file for this package.
Also, please add a package/pdmenu/pdmenu.hash file.
> diff --git a/package/Config.in b/package/Config.in
> index a512827..8df01a0 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1847,6 +1847,7 @@ comment "Utilities"
> source "package/which/Config.in"
> source "package/xmlstarlet/Config.in"
> source "package/xxhash/Config.in"
> + source "package/pdmenu/Config.in"
Use alphabetic ordering for the list of packages.
> diff --git a/package/pdmenu/Config.in b/package/pdmenu/Config.in
> new file mode 100644
> index 0000000..df78c23
> --- /dev/null
> +++ b/package/pdmenu/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_PDMENU
> + bool "pdmenu"
> + depends on BR2_PACKAGE_SLANG
Use "select" instead of "depends on" here. As a consequence, you have
to replicate the "depends of" that BR2_PACKAGE_SLANG has. So:
depends on BR2_USE_MMU # slang
select BR2_PACKAGE_SLANG
> + help
> + Pdmenu is a full screen menuing system for Unix. It is designed to be easy to use, and is suitable as a login shell for inexperienced users, or it can just be ran at the command line as a handy menu.
> +
> + Pdmenu features color support and GPM mouse support at the Linux console. It was developed on Linux, and has now been compiled on many other unixes without problems.
> +
> + https://joeyh.name/code/pdmenu/
You should have run your package through ./utils/check-package, it
would have told you that the indentation for the help text is one tab +
two spaces, and that lines should be wrapped at the 72th column.
> diff --git a/package/pdmenu/pdmenu.mk b/package/pdmenu/pdmenu.mk
> new file mode 100644
> index 0000000..29ab510
> --- /dev/null
> +++ b/package/pdmenu/pdmenu.mk
> @@ -0,0 +1,9 @@
Please add the comment header that we have in all packages. Yes, it's
useless and silly, but we have it everywhere :)
> +PDMENU_VERSION = 1.3.4
> +PDMENU_SOURCE = pdmenu_$(PDMENU_VERSION).tar.gz
> +PDMENU_SITE = http://http.debian.net/debian/pool/main/p/pdmenu
> +PDMENU_LICENSE = GPL-2.0+
> +PDMENU_LICENSE_FILES = COPYING.GPLv2
> +PDMENU_DEPENDENCIES = slang
> +PDMENU_INSTALL_TARGET_OPTS = INSTALL_PREFIX=$(TARGET_DIR) install
> +
> +$(eval $(autotools-package))
Otherwise, looks good. Could you send an updated version?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
prev parent reply other threads:[~2017-08-26 8:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 23:33 [Buildroot] [PATCH 1/1] add package for pdmenu Brock Williams
2017-08-26 8:16 ` Thomas Petazzoni [this message]
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=20170826101606.6072a31e@windsurf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox