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