From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gnuplot : new package
Date: Fri, 4 Jan 2013 16:15:49 +0100 [thread overview]
Message-ID: <20130104161549.718b1c19@skate> (raw)
In-Reply-To: <1357311193-31887-1-git-send-email-viallard@syscom-instruments.com>
Dear Anthony Viallard,
Thanks for submitting this package. It looks almost good.
On Fri, 4 Jan 2013 15:53:13 +0100, Anthony Viallard wrote:
>
> Signed-off-by: Anthony Viallard <viallard@syscom-instruments.com>
> ---
> package/Config.in | 1 +
> package/gnuplot/Config.in | 7 +++++++
> package/gnuplot/gnuplot.mk | 13 +++++++++++++
> package/gnuplot/gnuplot.patch | 26 ++++++++++++++++++++++++++
> 4 files changed, 57 insertions(+), 0 deletion(-)
> create mode 100644 package/gnuplot/Config.in
> create mode 100644 package/gnuplot/gnuplot.mk
> create mode 100644 package/gnuplot/gnuplot.patch
>
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -70,6 +70,7 @@ endif
> source "toolchain/gcc/Config.in.2"
> source "package/gettext/Config.in"
> source "package/gmp/Config.in"
> +source "package/gnuplot/Config.in"
Hum, why in "Development tools" ? Maybe Graphic libraries and
applications would make more sense here ?
> +GNUPLOT_VERSION = 4.6.0
> +GNUPLOT_SOURCE = gnuplot-$(GNUPLOT_VERSION).tar.gz
> +GNUPLOT_SITE = http://superb-dca2.dl.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION)
> +GNUPLOT_INSTALL_STAGING = YES
> +GNUPLOT_INSTALL_TARGET = YES
This line is not needed.
Please also add the GNUPLOT_LICENSE and GNUPLOT_LICENSE_FILES variables.
> +GNUPLOT_CONF_OPT = --without-x \
> + --disable-raise-console \
> + --disable-mouse \
> + --without-tutorial \
> + --without-demo --disable-demo \
> + --without-row-help \
> + --disable-history-file \
> + --without-lisp-files \
> + --disable-wxwidgets \
> + --without-lua \
> + --without-latex \
> + --without-cairo
> +
> +$(eval $(autotools-package))
> diff --git a/package/gnuplot/gnuplot.patch b/package/gnuplot/gnuplot.patch
> new file mode 100644
> index 0000000..7053a46
> --- /dev/null
> +++ b/package/gnuplot/gnuplot.patch
> @@ -0,0 +1,26 @@
All patches in Buildroot should have a description and a Signed-off-by
line. See
http://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches.
> +diff --git a/Makefile.am b/Makefile.am
> +index bc0f2b2..5c00fe5 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -1,7 +1,7 @@
> + ## Process this file with automake to produce Makefile.in -*-Makefile-*-
> + AUTOMAKE_OPTIONS = foreign 1.2h
> +
> +-SUBDIRS = config m4 term src docs $(LISPDIR) man demo tutorial share
> ++SUBDIRS = config m4 term src $(LISPDIR) man tutorial share
Could you cook a patch for upstream gnuplot that adds a
--{enable,disable}-demo to enable/disable the build of the demos, so
that ultimately we can drop your patch? This is not mandatory to get
your package in Buildroot, but would be nice to have.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-01-04 15:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-04 14:53 [Buildroot] [PATCH] gnuplot : new package Anthony Viallard
2013-01-04 15:15 ` Thomas Petazzoni [this message]
2013-01-04 15:38 ` Viallard Anthony
2013-01-04 15:32 ` Stephan Hoffmann
2013-01-04 16:26 ` Thomas Petazzoni
2013-01-04 17:44 ` Stephan Hoffmann
2013-01-04 18:02 ` Thomas Petazzoni
2013-01-04 18:01 ` Stephan Hoffmann
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=20130104161549.718b1c19@skate \
--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