Ravenports generated: 14 Jan 2024 04:52
[ravenports.git] / bucket_F7 / gnuplot
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               gnuplot
4 VERSION=                5.4.10
5 KEYWORDS=               math
6 VARIANTS=               standard lite
7 SDESC[lite]=            Command-line driven graphing utility (headless)
8 SDESC[standard]=        Command-line driven graphing utility
9 HOMEPAGE=               http://www.gnuplot.info/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            SF/gnuplot/gnuplot/5.4.10
14 DISTFILE[1]=            gnuplot-5.4.10.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[lite]=            complete
17                         primary
18                         man
19                         examples
20 SPKGS[standard]=        complete
21                         primary
22                         man
23                         examples
24
25 OPTIONS_AVAILABLE=      LITE
26 OPTIONS_STANDARD=       none
27 VOPTS[lite]=            LITE=ON
28
29 USES=                   cpe iconv pkgconfig readline c++:primary
30
31 LICENSE=                CUSTOM1:primary
32 LICENSE_NAME=           CUSTOM1:"Gnuplot License"
33 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/Copyright
34 LICENSE_SCHEME=         solo
35
36 FPC_EQUIVALENT=         math/gnuplot
37
38 MUST_CONFIGURE=         gnu
39 CONFIGURE_ARGS=         --with-readline=gnu
40                         --with-bitmap-terminals
41                         --with-qt=no
42
43 PLIST_SUB=              MAJORVER=5.4
44
45 LDFLAGS=                -L{{ICONV_LIBRARY_PATH}}
46                         {{ICONV_LIB}}
47
48 [LITE].DESCRIPTION=                     Build lite variant
49 [LITE].BUILDRUN_DEPENDS_OFF=            libGD:single:standard
50                                         wxWidgets30:primary:standard
51 [LITE].CONFIGURE_ARGS_OFF=              --with-gd={{LOCALBASE}}
52                                         --with-gpic
53                                         --with-mif
54                                         --with-caca
55                                         ac_cv_path_WX_CONFIG={{LOCALBASE}}/bin/wx-config
56 [LITE].CONFIGURE_ARGS_ON=               --disable-x11-mbfonts
57                                         --disable-x11-external
58                                         --disable-wxwidgets
59                                         --without-x
60                                         --without-ggi
61                                         --without-gd
62                                         --without-caca
63                                         --without-wx
64                                         --without-gpic
65                                         --without-mif
66                                         --without-cairo
67                                         --without-lua
68                                         --without-latex
69                                         --without-kpsexpand
70 [LITE].GNOME_COMPONENTS_OFF=            atk
71                                         cairo
72                                         gtk3
73 [LITE].USES_OFF=                        jpeg
74                                         lua
75                                         png
76                                         tiff
77 [LITE].XORG_COMPONENTS_OFF=             x11
78
79 post-patch:
80         ${REINPLACE_CMD} -e \
81                 '/^install:/s/install-am//' ${WRKSRC}/share/LaTeX/Makefile.in
82         ${REINPLACE_CMD} -e \
83                 's|)/@PACKAGE@/@PKG_MAJOR@|)|g' ${WRKSRC}/src/Makefile.in
84         ${REINPLACE_CMD} -e \
85                 's|luaL_checkint(|(int)luaL_checkinteger(|' \
86                 ${WRKSRC}/term/lua.trm
87
88 post-install-LITE-ON:
89         # remove empty directories
90         ${RM} -r ${STAGEDIR}${PREFIX}/libexec/gnuplot
91
92 post-install:
93         # Establish sample
94         (cd ${STAGEDIR}${PREFIX}/share/gnuplot/5.4 && \
95                 ${MV} gnuplotrc gnuplotrc.sample)
96         # install examples and strip
97         @${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
98         (cd ${WRKSRC}/demo && \
99                 ${COPYTREE_SHARE} . ${STAGEDIR}${STD_EXAMPLESDIR})
100         ${STRIP_CMD} ${STAGEDIR}${STD_EXAMPLESDIR}/plugin/demo_plugin.so
101
102 [FILE:1155:descriptions/desc.primary.standard]
103 Gnuplot is a portable multi-platform command-line driven graphing utility. 
104 It was originally created to allow scientists and students to visualize 
105 mathematical functions and data interactively, but has grown to support 
106 many non-interactive uses such as web scripting. It is also used as a 
107 plotting engine by third-party applications like Octave. Gnuplot has been 
108 supported and under active development since 1986.
109
110 Gnuplot supports many types of plots in either 2D or 3D. It can draw using 
111 lines, points, boxes, contours, vector fields, surfaces, and various 
112 associated text. It also supports various specialized plot types. Gnuplot 
113 supports many different types of output: interactive screen terminals 
114 (with mouse and hotkey input), direct output to pen plotters or modern 
115 printers, and output to many file formats (eps, emf, fig, jpeg, LaTeX, 
116 pdf, png, postscript, ...). Gnuplot is easily extensible to include new 
117 output modes. Recent additions include interactive terminals based on 
118 wxWidgets (usable on multiple platforms), and Qt. Mouseable plots embedded 
119 in web pages can be generated using the svg or HTML5 canvas terminal 
120 drivers.
121
122
123 [FILE:1293:descriptions/desc.primary.lite]
124 Gnuplot is a portable multi-platform command-line driven graphing utility. 
125 It was originally created to allow scientists and students to visualize 
126 mathematical functions and data interactively, but has grown to support 
127 many non-interactive uses such as web scripting. It is also used as a 
128 plotting engine by third-party applications like Octave. Gnuplot has been 
129 supported and under active development since 1986. 
130
131 Gnuplot supports many types of plots in either 2D or 3D. It can draw using 
132 lines, points, boxes, contours, vector fields, surfaces, and various 
133 associated text. It also supports various specialized plot types. Gnuplot 
134 supports many different types of output: interactive screen terminals 
135 (with mouse and hotkey input), direct output to pen plotters or modern 
136 printers, and output to many file formats (eps, emf, fig, jpeg, LaTeX, 
137 pdf, png, postscript, ...). Gnuplot is easily extensible to include new 
138 output modes. Recent additions include interactive terminals based on 
139 wxWidgets (usable on multiple platforms), and Qt. Mouseable plots embedded 
140 in web pages can be generated using the svg or HTML5 canvas terminal 
141 drivers.
142
143 This is the lite version of the package, which doesn't support rendering 
144 directly on graphical terminals and other graphical feaures. 
145
146
147 [FILE:100:distinfo]
148 975d8c1cc2c41c7cedc4e323aff035d977feb9a97f0296dd2a8a66d197a5b27c      5687565 gnuplot-5.4.10.tar.gz
149
150
151 [FILE:782:manifests/plist.primary]
152 @sample share/gnuplot/%%MAJORVER%%/gnuplotrc.sample
153 %%LITE-OFF%%libexec/gnuplot/%%MAJORVER%%/gnuplot_x11
154 %%LITE-OFF%%share/gnuplot/%%MAJORVER%%/app-defaults/Gnuplot
155 bin/gnuplot
156 share/gnuplot/%%MAJORVER%%/
157  colors_default.gp
158  colors_mono.gp
159  colors_podo.gp
160  gnuplot.gih
161 share/gnuplot/%%MAJORVER%%/PostScript/
162  8859-1.ps
163  8859-15.ps
164  8859-2.ps
165  8859-9.ps
166  aglfn.txt
167  cp1250.ps
168  cp1251.ps
169  cp1252.ps
170  cp437.ps
171  cp850.ps
172  cp852.ps
173  koi8r.ps
174  koi8u.ps
175  prologue.ps
176  utf-8.ps
177 share/gnuplot/%%MAJORVER%%/js/
178  README
179  canvasmath.js
180  canvastext.js
181  gnuplot_common.js
182  gnuplot_dashedlines.js
183  gnuplot_mouse.css
184  gnuplot_mouse.js
185  gnuplot_svg.js
186  gnuplot_svg_2018.js
187  grid.png
188  help.png
189  nextzoom.png
190  previouszoom.png
191  return.png
192  textzoom.png
193 share/gnuplot/%%MAJORVER%%/lua/gnuplot-tikz.lua
194
195
196 [FILE:28:manifests/plist.man]
197 share/man/man1/gnuplot.1.gz
198
199
200 [FILE:4997:patches/patch-configure]
201 --- configure.orig      2023-10-20 00:33:55 UTC
202 +++ configure
203 @@ -13061,12 +13061,12 @@ if test -n "$PKG_CONFIG"; then
204          pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
205      else
206          if test -n "$PKG_CONFIG" && \
207 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
208 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
209 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
210 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
211    ac_status=$?
212    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
213    test $ac_status = 0; }; then
214 -  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
215 +  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
216  else
217    pkg_failed=yes
218  fi
219 @@ -13079,12 +13079,12 @@ if test -n "$PKG_CONFIG"; then
220          pkg_cv_LUA_LIBS="$LUA_LIBS"
221      else
222          if test -n "$PKG_CONFIG" && \
223 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
224 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
225 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
226 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
227    ac_status=$?
228    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
229    test $ac_status = 0; }; then
230 -  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
231 +  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
232  else
233    pkg_failed=yes
234  fi
235 @@ -13103,9 +13103,9 @@ else
236          _pkg_short_errors_supported=no
237  fi
238          if test $_pkg_short_errors_supported = yes; then
239 -               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
240 +               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
241          else
242 -               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
243 +               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
244          fi
245         # Put the nasty error message in config.log where it belongs
246         echo "$LUA_PKG_ERRORS" >&5
247 @@ -13554,7 +13554,7 @@ else
248         LUA_LIBS=$pkg_cv_LUA_LIBS
249          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
250  printf "%s\n" "yes" >&6; }
251 -       LUA=lua5.3
252 +       LUA=lua53
253  fi
254  elif test $pkg_failed = untried; then
255         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
256 @@ -13569,12 +13569,12 @@ if test -n "$PKG_CONFIG"; then
257          pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
258      else
259          if test -n "$PKG_CONFIG" && \
260 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
261 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
262 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
263 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
264    ac_status=$?
265    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
266    test $ac_status = 0; }; then
267 -  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
268 +  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua- 5.3" 2>/dev/null`
269  else
270    pkg_failed=yes
271  fi
272 @@ -13587,12 +13587,12 @@ if test -n "$PKG_CONFIG"; then
273          pkg_cv_LUA_LIBS="$LUA_LIBS"
274      else
275          if test -n "$PKG_CONFIG" && \
276 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
277 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
278 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
279 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
280    ac_status=$?
281    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
282    test $ac_status = 0; }; then
283 -  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
284 +  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
285  else
286    pkg_failed=yes
287  fi
288 @@ -13611,9 +13611,9 @@ else
289          _pkg_short_errors_supported=no
290  fi
291          if test $_pkg_short_errors_supported = yes; then
292 -               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
293 +               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
294          else
295 -               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
296 +               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
297          fi
298         # Put the nasty error message in config.log where it belongs
299         echo "$LUA_PKG_ERRORS" >&5
300 @@ -14062,7 +14062,7 @@ else
301         LUA_LIBS=$pkg_cv_LUA_LIBS
302          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
303  printf "%s\n" "yes" >&6; }
304 -       LUA=lua5.3
305 +       LUA=lua53
306  fi
307  else
308         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
309 @@ -14103,7 +14103,7 @@ return luaL_openlibs ();
310    return 0;
311  }
312  _ACEOF
313 -for ac_lib in '' lua lua5.3 lua5.2 lua5.1
314 +for ac_lib in '' lua lua53 lua5.2 lua5.1
315  do
316    if test -z "$ac_lib"; then
317      ac_res="none required"
318
319
320 [FILE:1211:patches/patch-docs_Makefile.in]
321 --- docs/Makefile.in.orig       2023-10-20 00:33:54 UTC
322 +++ docs/Makefile.in
323 @@ -1033,7 +1033,7 @@ uninstall-am: uninstall-gihDATA
324  $(GNUPLOT_EXE):
325         ( cd ../src ; $(MAKE) gnuplot$(EXEEXT) )
326  @BUILD_LUA_TRUE@$(LUA_HELP): $(top_srcdir)/term/lua/gnuplot-tikz.lua
327 -@BUILD_LUA_TRUE@       $(AM_V_GEN) $(LUA) $< termhelp > $@
328 +@BUILD_LUA_TRUE@       $(AM_V_GEN) $(LUA) $(top_srcdir)/term/lua/gnuplot-tikz.lua termhelp > $@
329  
330  allterm.h: $(CORETERM) $(LUA_HELP)
331         $(AM_V_GEN) for e in `grep -E "^[       ]*START_HELP" $(CORETERM) |\
332 @@ -1056,15 +1056,15 @@ groff: grotxt grodvi grops
333  
334  grotxt: gnuplot.txt
335  gnuplot.txt: gnuplot.ms $(srcdir)/titlepag.ms
336 -       $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 $< > $@
337 +       $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 gnuplot.ms > $@
338  
339  grodvi: gnuplot-groff.dvi
340  gnuplot-groff.dvi: gnuplot.ms $(srcdir)/titlepag.ms
341 -       $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi $< > $@
342 +       $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi gnuplot.ms > gnuplot.dvi
343  
344  grops: gnuplot-groff.ps
345  gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
346 -       $(AM_V_GEN) groff -s -p -t -e -ms -Tps $< > $@ 
347 +       $(AM_V_GEN) groff -s -p -t -e -ms -Tps gnuplot.ms > gnuplot.ps
348  
349  ### doc2xxx dependencies
350  gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
351
352
353 [FILE:273:patches/patch-src_command.c]
354 --- src/command.c.orig  2023-09-04 21:20:22 UTC
355 +++ src/command.c
356 @@ -113,6 +113,9 @@ static int thread_rl_RetCode = -1; /* re
357  
358  #ifndef _WIN32
359  # include "help.h"
360 +# if defined __FreeBSD__ || defined __DragonFly__
361 +# include <sys/wait.h>
362 +# endif
363  #endif
364  
365  #ifdef _WIN32
366