From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] grantlee: new package
Date: Wed, 31 Oct 2012 00:58:17 +0100 [thread overview]
Message-ID: <50906999.9000002@mind.be> (raw)
In-Reply-To: <508EFA6D.7000404@gmail.com>
On 10/29/12 22:51, Zoltan Gyarmati wrote:
> Support for the Grantlee library
This sentence is redundant.
> Grantlee is a Qt implementation of the Django template system, see here: http://www.gitorious.org/grantlee/pages/Home
Word-wrap the commit message at +- 75 characters. But actually, this
part of the commit message is redundant because it's already in the help text.
>
> (it's my first patch to buildroot, so please let me know any notes, thx)
Doing that :-)
Something like this (a note that shouldn't be part of the final commit message)
should go below your SOB, separated by --- on a line by itself. Then
git-am will strip it off while applying the patch.
>
> Signed-off-by: "Zoltan Gyarmati" <mr.zoltan.gyarmati@gmail.com>
[snip]
> diff --git a/package/grantlee/Config.in b/package/grantlee/Config.in
> new file mode 100644
> index 0000000..6e3b80d
> --- /dev/null
> +++ b/package/grantlee/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_GRANTLEE
> + bool "grantlee"
Config.in indentation should be one tab.
> + depends on BR2_PACKAGE_QT
This is redundant, because it's already inside an
if BR2_PACKAGE_QT (in package/Config.in).
> + select BR2_PACKAGE_QT_STL
It looks like BR2_PACKAGE_QT_SCRIPT and BR2_PACKAGE_QT_GUI_MODULE
are also required. I didn't continue testing, so maybe even that
is not enough.
> + help
> + Qt implemantation of the Django template framework
> +
> + http://www.grantlee.org/apidox
And the help text indentation: one tab + 2 spaces.
Also I think http://grantlee.org is a more appropriate URL, even
if it just redirects to gitorious.
> diff --git a/package/grantlee/grantlee.mk b/package/grantlee/grantlee.mk
> new file mode 100644
> index 0000000..9264f80
> --- /dev/null
> +++ b/package/grantlee/grantlee.mk
> @@ -0,0 +1,14 @@
> +#############################################################
> +#
> +# grantlee
> +#
> +#############################################################
> +
> +GRANTLEE_VERSION = 0.2.0
> +GRANTLEE_SITE = http://downloads.grantlee.org/
Trailing / is redundant.
> +GRANTLEE_INSTALL_STAGING = YES
> +GRANTLEE_INSTALL_TARGET = YES
INSTALL_TARGET defaults to YES, so can be removed.
> +GRANTLEE_DEPENDENCIES = host-pkg-config qt
pkgconf just got committed, so should be host-pkgconf. But AFAICS it isn't
using pkg-config for anything.
Also, your mailer messed up the whitespace in your patch. Use
git-send-email, that works well. The man page explains how to use it with
gmail.
Regards,
Arnout
> +
> +$(eval $(cmake-package))
> +
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-10-30 23:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 21:51 [Buildroot] [PATCH] grantlee: new package Zoltan Gyarmati
2012-10-30 23:58 ` Arnout Vandecappelle [this message]
2012-10-31 8:48 ` Zoltan Gyarmati
2012-10-31 8:51 ` Arnout Vandecappelle
2012-10-31 10:26 ` Zoltan Gyarmati
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=50906999.9000002@mind.be \
--to=arnout@mind.be \
--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