Ravenports generated: 27 May 2023 19:26
[ravenports.git] / bucket_F7 / gnuplot
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               gnuplot
4 VERSION=                5.4.7
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.7
14 DISTFILE[1]=            gnuplot-5.4.7.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                                         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 318a1501c9e659f39cf05ee5268335671bddc6c20eae06851f262fde27c2e739      5683635 gnuplot-5.4.7.tar.gz
150
151
152 [FILE:782: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
196
197 [FILE:28:manifests/plist.man]
198 share/man/man1/gnuplot.1.gz
199
200
201 [FILE:4997:patches/patch-configure]
202 --- configure.orig      2023-02-11 18:35:19 UTC
203 +++ configure
204 @@ -13047,12 +13047,12 @@ if test -n "$PKG_CONFIG"; then
205          pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
206      else
207          if test -n "$PKG_CONFIG" && \
208 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
209 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
210 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
211 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
212    ac_status=$?
213    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
214    test $ac_status = 0; }; then
215 -  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
216 +  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.3" 2>/dev/null`
217  else
218    pkg_failed=yes
219  fi
220 @@ -13065,12 +13065,12 @@ if test -n "$PKG_CONFIG"; then
221          pkg_cv_LUA_LIBS="$LUA_LIBS"
222      else
223          if test -n "$PKG_CONFIG" && \
224 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
225 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
226 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
227 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
228    ac_status=$?
229    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
230    test $ac_status = 0; }; then
231 -  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
232 +  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
233  else
234    pkg_failed=yes
235  fi
236 @@ -13089,9 +13089,9 @@ else
237          _pkg_short_errors_supported=no
238  fi
239          if test $_pkg_short_errors_supported = yes; then
240 -               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
241 +               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
242          else
243 -               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
244 +               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
245          fi
246         # Put the nasty error message in config.log where it belongs
247         echo "$LUA_PKG_ERRORS" >&5
248 @@ -13540,7 +13540,7 @@ else
249         LUA_LIBS=$pkg_cv_LUA_LIBS
250          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
251  printf "%s\n" "yes" >&6; }
252 -       LUA=lua5.3
253 +       LUA=lua53
254  fi
255  elif test $pkg_failed = untried; then
256         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
257 @@ -13555,12 +13555,12 @@ if test -n "$PKG_CONFIG"; then
258          pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
259      else
260          if test -n "$PKG_CONFIG" && \
261 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
262 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
263 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
264 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
265    ac_status=$?
266    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
267    test $ac_status = 0; }; then
268 -  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3" 2>/dev/null`
269 +  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua- 5.3" 2>/dev/null`
270  else
271    pkg_failed=yes
272  fi
273 @@ -13573,12 +13573,12 @@ if test -n "$PKG_CONFIG"; then
274          pkg_cv_LUA_LIBS="$LUA_LIBS"
275      else
276          if test -n "$PKG_CONFIG" && \
277 -    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
278 -  ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
279 +    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.3\""; } >&5
280 +  ($PKG_CONFIG --exists --print-errors "lua-5.3") 2>&5
281    ac_status=$?
282    printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
283    test $ac_status = 0; }; then
284 -  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3" 2>/dev/null`
285 +  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.3" 2>/dev/null`
286  else
287    pkg_failed=yes
288  fi
289 @@ -13597,9 +13597,9 @@ else
290          _pkg_short_errors_supported=no
291  fi
292          if test $_pkg_short_errors_supported = yes; then
293 -               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua5.3"`
294 +               LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lua-5.3"`
295          else
296 -               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua5.3"`
297 +               LUA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lua-5.3"`
298          fi
299         # Put the nasty error message in config.log where it belongs
300         echo "$LUA_PKG_ERRORS" >&5
301 @@ -14048,7 +14048,7 @@ else
302         LUA_LIBS=$pkg_cv_LUA_LIBS
303          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
304  printf "%s\n" "yes" >&6; }
305 -       LUA=lua5.3
306 +       LUA=lua53
307  fi
308  else
309         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
310 @@ -14089,7 +14089,7 @@ return luaL_openlibs ();
311    return 0;
312  }
313  _ACEOF
314 -for ac_lib in '' lua lua5.3 lua5.2 lua5.1
315 +for ac_lib in '' lua lua53 lua5.2 lua5.1
316  do
317    if test -z "$ac_lib"; then
318      ac_res="none required"
319
320
321 [FILE:1209:patches/patch-docs_Makefile.in]
322 --- docs/Makefile.in.orig       2023-02-11 18:35:18 UTC
323 +++ docs/Makefile.in
324 @@ -1033,7 +1033,7 @@ uninstall-am: uninstall-gihDATA
325  $(GNUPLOT_EXE):
326         ( cd ../src ; $(MAKE) gnuplot$(EXEEXT) )
327  @BUILD_LUA_TRUE@$(LUA_HELP): $(top_srcdir)/term/lua/gnuplot-tikz.lua
328 -@BUILD_LUA_TRUE@       $(AM_V_GEN) $(LUA) $< termhelp > $@
329 +@BUILD_LUA_TRUE@       $(AM_V_GEN) $(LUA) $(top_srcdir)/term/lua/gnuplot-tikz.lua termhelp > $@
330  
331  allterm.h: $(CORETERM) $(LUA_HELP)
332         $(AM_V_GEN) for e in `egrep "^[         ]*START_HELP" $(CORETERM) |\
333 @@ -1056,15 +1056,15 @@ groff: grotxt grodvi grops
334  
335  grotxt: gnuplot.txt
336  gnuplot.txt: gnuplot.ms $(srcdir)/titlepag.ms
337 -       $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 $< > $@
338 +       $(AM_V_GEN) groff -s -p -t -e -ms -Tlatin1 gnuplot.ms > $@
339  
340  grodvi: gnuplot-groff.dvi
341  gnuplot-groff.dvi: gnuplot.ms $(srcdir)/titlepag.ms
342 -       $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi $< > $@
343 +       $(AM_V_GEN) groff -s -p -t -e -ms -Tdvi gnuplot.ms > gnuplot.dvi
344  
345  grops: gnuplot-groff.ps
346  gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms
347 -       $(AM_V_GEN) groff -s -p -t -e -ms -Tps $< > $@ 
348 +       $(AM_V_GEN) groff -s -p -t -e -ms -Tps gnuplot.ms > gnuplot.ps
349  
350  ### doc2xxx dependencies
351  gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc
352
353
354 [FILE:273:patches/patch-src_command.c]
355 --- src/command.c.orig  2022-11-01 21:03:33 UTC
356 +++ src/command.c
357 @@ -113,6 +113,9 @@ static int thread_rl_RetCode = -1; /* re
358  
359  #ifndef _WIN32
360  # include "help.h"
361 +# if defined __FreeBSD__ || defined __DragonFly__
362 +# include <sys/wait.h>
363 +# endif
364  #endif
365  
366  #ifdef _WIN32
367