From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viallard Anthony Date: Fri, 04 Jan 2013 16:38:57 +0100 Subject: [Buildroot] [PATCH] gnuplot : new package In-Reply-To: <20130104161549.718b1c19@skate> References: <1357311193-31887-1-git-send-email-viallard@syscom-instruments.com> <20130104161549.718b1c19@skate> Message-ID: <50E6F791.20105@syscom-instruments.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 04. 01. 13 16:15, Thomas Petazzoni wrote: > Hum, why in "Development tools" ? Maybe Graphic libraries and > applications would make more sense here ? Doh ! Yes, indeed. Under "Graphic application", it's better. >> +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. Ok. > >> +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. > Doh. I forgot the description. I use dvorak keyboard for few days now. I'm looking for laziness. >> +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. Ok, i do that. Thanks, avd.