From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 2/2] gnuplot: fix broken build options for new gnuplot version
Date: Sun, 14 Oct 2012 12:46:36 +0200 [thread overview]
Message-ID: <20121014104636.GB29469@pengutronix.de> (raw)
In-Reply-To: <1350054543-30759-3-git-send-email-post@lespocky.de>
On Fri, Oct 12, 2012 at 05:09:03PM +0200, Alexander Dahl wrote:
>
> Signed-off-by: Alexander Dahl <post@lespocky.de>
> ---
> rules/gnuplot.in | 49 ++++++++++++++++++++++++++++---------------------
> rules/gnuplot.make | 21 ++-------------------
> 2 files changed, 30 insertions(+), 40 deletions(-)
>
> diff --git a/rules/gnuplot.in b/rules/gnuplot.in
> index f25f2c1..27682de 100644
> --- a/rules/gnuplot.in
> +++ b/rules/gnuplot.in
> @@ -6,8 +6,11 @@ menuconfig GNUPLOT
> select GCCLIBS_CXX
> select GCCLIBS_GCC_S
> select ZLIB
> - select LIBPNG if GNUPLOT_PNG
> select XORG_LIB_XT if GNUPLOT_X
> + select LIBGD if GNUPLOT_GD
> + select LIBGD_PNG if GNUPLOT_GD_PNG
> + select LIBGD_JPEG if GNUPLOT_GD_JPEG
> + select LIBGD_FREETYPE if GNUPLOT_GD_TTF
> help
> A command-line driven interactive plotting program for
> making 2D and 3D graphs from data and functions.
> @@ -49,30 +52,34 @@ config GNUPLOT_X
> help
> Enable the graphical X11 user interface of GNUplot
>
> -config GNUPLOT_PLOT
> +menuconfig GNUPLOT_GD
> bool
> - prompt "use Unix plot library"
> - depends on BROKEN
> + prompt "GD support"
prompt "GD support "
Michael
> help
> - If you link this program with the Unix plot library
> - (rather outdated) it will be able to generate Unix
> - plot output.
> + Use the GD library. GD is an open source code library for the
> + dynamic creation of images. You get support for png and jpeg if
> + you select this. Note: setting options in the submenu leads to
> + compiling libgd with the very features.
>
> -config GNUPLOT_PNG
> - bool
> - prompt "PNG support"
> - help
> - Include support for PNG (Portable Network Graphics)
> - graphics format
> +if GNUPLOT_GD
> + config GNUPLOT_GD_PNG
> + bool
> + prompt "PNG support"
> + help
> + Add dependency to compile libgd with PNG support.
>
> -config GNUPLOT_GD
> - bool
> - prompt "GD support"
> - depends on BROKEN
> - help
> - Use the GD library.
> - GD is an open source code library for the dynamic
> - creation of images.
> + config GNUPLOT_GD_JPEG
> + bool
> + prompt "JPEG support"
> + help
> + Add dependency to compile libgd with PNG support.
> +
> + config GNUPLOT_GD_TTF
> + bool
> + prompt "TTF support"
> + help
> + Add dependency to compile libgd with TTF support.
> +endif
>
> config GNUPLOT_PDF
> bool
> diff --git a/rules/gnuplot.make b/rules/gnuplot.make
> index 2159933..699c35a 100644
> --- a/rules/gnuplot.make
> +++ b/rules/gnuplot.make
> @@ -31,29 +31,14 @@ GNUPLOT_DIR := $(BUILDDIR)/$(GNUPLOT)
>
> GNUPLOT_PATH := PATH=$(CROSS_PATH)
> GNUPLOT_ENV := $(CROSS_ENV)
> -
> -#
> -# autoconf
> -#
> -# 4.2.4: --disable-datastrings is broken
> -# --disable-binary-data-file is broken
> -#
> -GNUPLOT_AUTOCONF = \
> +GNUPLOT_CONF_TOOL := autoconf
> +GNUPLOT_CONF_OPT = \
> $(CROSS_AUTOCONF_USR) \
> --disable-history-file \
> --disable-x11-mbfonts \
> - --enable-binary-data-file \
> - --disable-with-image \
> - --disable-binary-x11-polygon \
> --disable-thin-splines \
> - --enable-datastrings \
> - --disable-histograms \
> --disable-objects \
> - --disable-stringvariables \
> --disable-macros \
> - --disable-iris \
> - --disable-mgr \
> - --disable-rgip \
> --disable-h3d-quadtree \
> --disable-h3d-gridbox \
> --disable-wxwidgets \
> @@ -71,8 +56,6 @@ GNUPLOT_AUTOCONF = \
> --without-lua \
> --$(call ptx/endis, PTXCONF_GNUPLOT_X)-mouse \
> --$(call ptx/wwo, PTXCONF_GNUPLOT_X)-x \
> - --$(call ptx/wwo, PTXCONF_GNUPLOT_PLOT)-plot \
> - --$(call ptx/wwo, PTXCONF_GNUPLOT_PNG)-png \
> --$(call ptx/wwo, PTXCONF_GNUPLOT_GD)-gd \
> --$(call ptx/wwo, PTXCONF_GNUPLOT_PDF)-pdf
>
> --
> 1.7.2.5
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2012-10-14 10:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-12 15:09 [ptxdist] gnuplot: update and fix broken stuff Alexander Dahl
2012-10-12 15:09 ` [ptxdist] [PATCH 1/2] gnuplot: upgrade to 4.6.1 removing one patch integrated upstream Alexander Dahl
2012-10-14 10:45 ` Michael Olbrich
2012-10-14 13:25 ` Alexander Dahl
2012-10-14 13:37 ` Alexander Dahl
2012-10-15 6:07 ` Michael Olbrich
2012-10-12 15:09 ` [ptxdist] [PATCH 2/2] gnuplot: fix broken build options for new gnuplot version Alexander Dahl
2012-10-14 10:46 ` Michael Olbrich [this message]
2012-10-15 9:30 [ptxdist] (no subject) Alexander Dahl
2012-10-15 9:30 ` [ptxdist] [PATCH 2/2] gnuplot: fix broken build options for new gnuplot version Alexander Dahl
2012-10-15 11:07 ` Michael Olbrich
2012-10-15 12:35 ` Michael Olbrich
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=20121014104636.GB29469@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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