Ravenports generated: 15 Feb 2023 23:13
[ravenports.git] / bucket_45 / graphviz
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               graphviz
4 VERSION=                7.1.0
5 KEYWORDS=               graphics
6 VARIANTS=               standard
7 SDESC[standard]=        Graph visualization tools
8 HOMEPAGE=               http://www.graphviz.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://gitlab.com/graphviz/graphviz/-/archive/7.1.0/
13 DISTFILE[1]=            graphviz-7.1.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         examples
18                         docs
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          groff:primary:standard
24                         git:primary:lite
25                         harfbuzz:dev:standard
26                         poppler:glibdev:standard
27 BUILDRUN_DEPENDS=       freeglut:primary:standard
28                         libGD:single:standard
29                         gts:single:standard
30                         WebP:single:standard
31                         libltdl:single:standard
32                         ghostscript:primary:standard
33                         poppler:glib:standard
34
35 USES=                   bison cpe cmake jpeg mesa pkgconfig zlib expat
36                         shebangfix iconv python:build
37 GNOME_COMPONENTS=       pango cairo librsvg gtk2
38 XORG_COMPONENTS=        xaw xpm xmu xt sm ice xext x11 xau xdmcp xrender
39                         xinerama xi xrandr xcursor xfixes
40
41 LICENSE=                CUSTOM1:primary
42 LICENSE_NAME=           CUSTOM1:"Eclipse Public License"
43 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/LICENSE
44 LICENSE_SCHEME=         solo
45
46 FPC_EQUIVALENT=         graphics/graphviz
47
48 SET_DEBUGGING_ON=       yes
49 LDFLAGS=                -Wl,-rpath,{{PREFIX}}/lib/graphviz
50 OPTIMIZER_LEVEL=        0
51 CMAKE_ARGS=             -Denable_ltdl:BOOL=ON
52                         -Dwith_expat:BOOL=ON
53                         -Dwith_digcola:BOOL=ON
54                         -Dwith_ipsepcola:BOOL=OFF
55                         -Dwith_ortho:BOOL=ON
56                         -Dwith_sfdp:BOOL=ON
57                         -Dwith_smyrna:BOOL=OFF
58                         -Dwith_gvedit:BOOL=OFF
59                         -Dwith_zlib:BOOL=ON
60                         -Duse_sanitizers:BOOL=OFF
61                         -Duse_coverage:BOOL=OFF
62                         -Dwith_cxx_api:BOOL=OFF
63                         -Dwith_cxx_tests:BOOL=OFF
64
65 post-install:
66         # documentation
67         ${MKDIR} ${STAGEDIR}${STD_DOCDIR}/html ${STAGEDIR}${STD_DOCDIR}/pdf
68         cd ${WRKSRC} && \
69                 ${INSTALL_DATA} doc/Dot.ref doc/latex_suggestions.txt \
70                         ${STAGEDIR}${STD_DOCDIR}/ && \
71                 ${INSTALL_DATA} doc/*.pdf */*/*.pdf \
72                         ${STAGEDIR}${STD_DOCDIR}/pdf/ && \
73                 ${INSTALL_DATA} doc/*.html \
74                         ${STAGEDIR}${STD_DOCDIR}/html/
75         ${RM} ${STAGEDIR}${STD_DOCDIR}/COPYING
76         # examples
77         ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data
78         ${INSTALL_SCRIPT} \
79                 ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl \
80                 ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl \
81                 ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl \
82                 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl \
83                 ${STAGEDIR}${STD_EXAMPLESDIR}/
84         ${INSTALL_DATA} \
85                 ${WRKSRC}/tclpkg/gdtclft/demo/entities.tcl.README \
86                 ${WRKSRC}/tclpkg/tcldot/demo/doted.tcl.README \
87                 ${WRKSRC}/tclpkg/tcldot/demo/gcat.tcl.README \
88                 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan.tcl.README \
89                 ${STAGEDIR}${STD_EXAMPLESDIR}/
90         ${INSTALL_DATA} \
91                 ${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \
92                 ${STAGEDIR}${STD_EXAMPLESDIR}/pathplan_data/
93
94 pre-configure:
95         ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
96                 ${WRKSRC}/plugin/xlib/vimdot.sh
97
98 pre-configure-freebsd:
99         ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/lib/sfio/*.[ch]; \
100
101 [FILE:540:descriptions/desc.primary]
102 Graph Visualization Software from AT&T Laboratories and
103 Bell Laboratories (Lucent Technologies)
104
105 These programs licensed under the terms described in the web page at:
106 http://www.graphviz.org/License.php
107
108 The package contains:
109    dotty  - customizable X windows graph viewer written in the Lefty editor
110    tcldot - customizable TCL/tk graph viewer written by John Ellson
111    dot    - batch program for drawing directed graphs as hierarchies
112    neato  - batch program for drawing undirected graphs using Kamada-Kawai
113             spring models
114
115
116 [FILE:100:distinfo]
117 8b28a283644a8442e6925b15d95055228d25172c7c30681810625616cbb23913     30302296 graphviz-7.1.0.tar.gz
118
119
120 [FILE:3194:manifests/plist.primary]
121 bin/
122  acyclic
123  bcomps
124  ccomps
125  circo
126  cluster
127  diffimg
128  dijkstra
129  dot
130  dot2gxl
131  dot_builtins
132  edgepaint
133  fdp
134  gc
135  gml2gv
136  graphml2gv
137  gv2gml
138  gv2gxl
139  gvcolor
140  gvgen
141  gvmap
142  gvmap.sh
143  gvpack
144  gvpr
145  gxl2dot
146  gxl2gv
147  mm2gv
148  neato
149  nop
150  osage
151  patchwork
152  prune
153  sccmap
154  sfdp
155  tred
156  twopi
157  unflatten
158  vimdot
159 include/graphviz/
160  arith.h
161  cdt.h
162  cgraph.h
163  color.h
164  geom.h
165  graphviz_version.h
166  gvc.h
167  gvcext.h
168  gvcjob.h
169  gvcommon.h
170  gvconfig.h
171  gvplugin.h
172  gvplugin_device.h
173  gvplugin_layout.h
174  gvplugin_loadimage.h
175  gvplugin_render.h
176  gvplugin_textlayout.h
177  pack.h
178  pathgeom.h
179  pathplan.h
180  textspan.h
181  types.h
182  usershape.h
183  xdot.h
184 lib/
185  libcdt.so
186  libcdt.so.5
187  libcdt.so.5.0.0
188  libcgraph.so
189  libcgraph.so.6
190  libcgraph.so.6.0.0
191  libgvc.so
192  libgvc.so.6
193  libgvc.so.6.0.0
194  libgvplugin_webp.so
195  libgvplugin_webp.so.6
196  libgvplugin_webp.so.6.0.0
197  libpathplan.so
198  libpathplan.so.4
199  libpathplan.so.4.0.0
200  libxdot.so
201  libxdot.so.4
202  libxdot.so.4.0.0
203 lib/graphviz/
204  config6
205  libgvplugin_core.so
206  libgvplugin_core.so.6
207  libgvplugin_core.so.6.0.0
208  libgvplugin_dot_layout.so
209  libgvplugin_dot_layout.so.6
210  libgvplugin_dot_layout.so.6.0.0
211  libgvplugin_gd.so
212  libgvplugin_gd.so.6
213  libgvplugin_gd.so.6.0.0
214  libgvplugin_gdk.so
215  libgvplugin_gdk.so.6
216  libgvplugin_gdk.so.6.0.0
217  libgvplugin_gs.so
218  libgvplugin_gs.so.6
219  libgvplugin_gs.so.6.0.0
220  libgvplugin_gtk.so
221  libgvplugin_gtk.so.6
222  libgvplugin_gtk.so.6.0.0
223  libgvplugin_neato_layout.so
224  libgvplugin_neato_layout.so.6
225  libgvplugin_neato_layout.so.6.0.0
226  libgvplugin_pango.so
227  libgvplugin_pango.so.6
228  libgvplugin_pango.so.6.0.0
229  libgvplugin_poppler.so
230  libgvplugin_poppler.so.6
231  libgvplugin_poppler.so.6.0.0
232  libgvplugin_rsvg.so
233  libgvplugin_rsvg.so.6
234  libgvplugin_rsvg.so.6.0.0
235  libgvplugin_visio.so
236  libgvplugin_visio.so.6
237  libgvplugin_visio.so.6.0.0
238  libgvplugin_xlib.so
239  libgvplugin_xlib.so.6
240  libgvplugin_xlib.so.6.0.0
241 lib/pkgconfig/
242  libcdt.pc
243  libcgraph.pc
244  libgvc.pc
245  libgvpr.pc
246  liblab_gamut.pc
247  libpathplan.pc
248  libxdot.pc
249 share/graphviz/graphs/directed/
250  KW91.gv
251  Latin1.gv
252  NaN.gv
253  abstract.gv
254  alf.gv
255  arrows.gv
256  awilliams.gv
257  biological.gv
258  clust.gv
259  clust1.gv
260  clust2.gv
261  clust3.gv
262  clust4.gv
263  clust5.gv
264  crazy.gv
265  ctext.gv
266  dfa.gv
267  fig6.gv
268  fsm.gv
269  grammar.gv
270  hashtable.gv
271  honda-tokoro.gv
272  japanese.gv
273  jcctree.gv
274  jsort.gv
275  ldbxtried.gv
276  longflat.gv
277  mike.gv
278  nhg.gv
279  oldarrows.gv
280  pgram.gv
281  pm2way.gv
282  pmpipe.gv
283  polypoly.gv
284  proc3d.gv
285  psfonttest.gv
286  record2.gv
287  records.gv
288  rowe.gv
289  russian.gv
290  sdh.gv
291  shells.gv
292  states.gv
293  structs.gv
294  switch.gv
295  table.gv
296  train11.gv
297  trapeziumlr.gv
298  tree.gv
299  triedds.gv
300  try.gv
301  unix.gv
302  unix2.gv
303  viewfile.gv
304  world.gv
305 share/graphviz/graphs/undirected/
306  ER.gv
307  Heawood.gv
308  Petersen.gv
309  ngk10_4.gv
310  process.gv
311 share/man/man1/
312  acyclic.1.gz
313  bcomps.1.gz
314  ccomps.1.gz
315  cluster.1.gz
316  diffimg.1.gz
317  dijkstra.1.gz
318  dot.1.gz
319  edgepaint.1.gz
320  gc.1.gz
321  gml2gv.1.gz
322  graphml2gv.1.gz
323  gvcolor.1.gz
324  gvgen.1.gz
325  gvmap.1.gz
326  gvpack.1.gz
327  gvpr.1.gz
328  gxl2gv.1.gz
329  mm2gv.1.gz
330  nop.1.gz
331  osage.1.gz
332  patchwork.1.gz
333  prune.1.gz
334  sccmap.1.gz
335  tred.1.gz
336  unflatten.1.gz
337  vimdot.1.gz
338 share/man/man3/
339  cdt.3.gz
340  cgraph.3.gz
341  gvc.3.gz
342  pack.3.gz
343  pathplan.3.gz
344  xdot.3.gz
345 @postexec %D/bin/dot -c
346 @postunexec rm -f %D/lib/graphviz/config6
347
348
349 [FILE:317:manifests/plist.examples]
350 share/examples/graphviz/
351  doted.tcl
352  doted.tcl.README
353  entities.tcl
354  entities.tcl.README
355  gcat.tcl
356  gcat.tcl.README
357  pathplan.tcl
358  pathplan.tcl.README
359 share/examples/graphviz/pathplan_data/
360  boxes.dat
361  dpd.dat
362  funny.dat
363  maze.dat
364  nested.dat
365  northo.dat
366  obs.dat
367  other.dat
368  paths.dat
369  rotor.dat
370  u.dat
371  unknown.dat
372
373
374 [FILE:331:manifests/plist.docs]
375 share/doc/graphviz/
376  Dot.ref
377  latex_suggestions.txt
378 share/doc/graphviz/html/
379  FAQ.html
380  build.html
381  char.html
382  index.html
383  internal_todo.html
384  todo.html
385  winbuild.html
386 share/doc/graphviz/pdf/
387  Agraph.pdf
388  dotguide.pdf
389  dottyguide.pdf
390  graphviz_plugins.pdf
391  leftyguide.pdf
392  libguide.pdf
393  neatoguide.pdf
394  oldlibguide.pdf
395  smyrna.pdf
396
397
398 [FILE:254:patches/patch-cmd-gvpr-gvpr.1]
399 --- cmd/gvpr/gvpr.1.orig        2023-01-06 05:13:49 UTC
400 +++ cmd/gvpr/gvpr.1
401 @@ -3,6 +3,15 @@
402  .  ns
403  .  TP \\$1
404  ..
405 +.de EX
406 +.fam C
407 +.nf
408 +..
409 +.de EE
410 +.fam
411 +.fi
412 +..
413 +
414  .TH GVPR 1 "29 August 2013"
415  .SH NAME
416  gvpr \- graph pattern scanning and processing language
417
418
419 [FILE:222:patches/patch-cmd-tools-gvpack.1]
420 --- cmd/tools/gvpack.1.orig     2023-01-06 05:13:49 UTC
421 +++ cmd/tools/gvpack.1
422 @@ -1,3 +1,12 @@
423 +.de EX
424 +.fam C
425 +.nf
426 +..
427 +.de EE
428 +.fam
429 +.fi
430 +..
431 +
432  .TH GVPACK 1 "27 May 2010"
433  .SH NAME
434  gvpack \- merge and pack disjoint graphs
435
436
437 [FILE:643:patches/patch-config-config_ruby.rb]
438 --- config/config_ruby.rb.orig  2023-01-06 05:13:49 UTC
439 +++ config/config_ruby.rb
440 @@ -5,11 +5,14 @@ CONFIG = RbConfig::MAKEFILE_CONFIG
441  
442  case ARGV[0]
443  when "archdir"
444 -    puts RbConfig::expand(CONFIG["archdir"])
445 +    puts RbConfig::expand(CONFIG["rubyhdrdir"])
446 +when "inc"
447 +    print RbConfig::expand(CONFIG["rubyhdrdir"]) + '/'
448 +    puts RbConfig::expand(CONFIG["sitearch"])
449  when "lib"
450      puts RbConfig::expand(CONFIG["libdir"])
451  when "vendorarchdir"
452 -    puts RbConfig::expand(CONFIG["vendorarchdir"])
453 +    puts RbConfig::expand(CONFIG["sitearchdir"])
454  when "sitearchdir"
455      puts RbConfig::expand(CONFIG["sitearchdir"])
456  when "sitelib"
457
458
459 [FILE:3747:patches/patch-configure.ac]
460 --- configure.ac.orig   2023-01-06 05:13:49 UTC
461 +++ configure.ac
462 @@ -642,7 +642,7 @@ else
463        if test "x$GUILE_CONFIG" = "x"; then
464          use_guile="No (guile not available)"
465        else
466 -        [GUILE_VERSION=`$GUILE_CONFIG --version 2>&1 | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'`]
467 +        [GUILE_VERSION=`$GUILE_CONFIG --version 2>&1 | sed -n '1 s/^.* \([0-9\.]\+\)$/\1/ p'`]
468          GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
469          GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
470          AC_CHECK_PROGS(GUILE,guile$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR guile$GUILE_VERSION_MAJOR guile)
471 @@ -853,16 +853,16 @@ else
472              if test "x$PKG_CONFIG" != "x"; then
473                 AC_MSG_CHECKING(for Lua headers and libraries with pkg-config)
474                 echo
475 -               for l in "$lua_suffix" "" "53" "5.3" "52" "5.2" "51" "5.1" "50" "5.0" ; do
476 +               for l in "$lua_suffix" "" "53" "-5.3" "52" "-5.2" "51" "-5.1" "50" "5.0" ; do
477                     pkgconfig_lua_found=`$PKG_CONFIG --exists lua$l 2>/dev/null`
478                     if test "x$?" = "x0" ; then
479 -                        LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags lua$l`
480 +                        LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags-only-I lua$l`
481                          LUA_LIBS="$LUA_LFLAGS "`$PKG_CONFIG --libs lua$l`
482                         LUA_INSTALL_DIR="/usr/lib$LIBPOSTFIX/lua/`$PKG_CONFIG --variable=V lua`"
483  
484                         pkgconfig_lualib_found=`$PKG_CONFIG --exists lualib$l 2>/dev/null`
485                         if test  "x$?" = "x0"; then
486 -                          LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags lualib$l`
487 +                          LUA_INCLUDES="$LUA_CFLAGS "`$PKG_CONFIG --cflags-only-I lualib$l`
488                            LUA_LIBS="$LUA_LFLAGS "`$PKG_CONFIG --libs lualib$l`
489                         fi
490                          break
491 @@ -1226,6 +1226,7 @@ else
492             use_ruby="No (ruby not available)"
493            else
494              RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`"
495 +            RUBY_CFLAGS="${RUBY_CFLAGS} -I`$RUBY $srcdir/config/config_ruby.rb inc`"
496             # hack for powerpc-darwin8 (10.4)
497             if test "x$DARWIN" = "xyes"; then
498               RUBY_CFLAGS=`echo $RUBY_CFLAGS | sed 's/powerpc/universal/'`
499 @@ -2052,44 +2053,6 @@ else
500  fi
501  AM_CONDITIONAL(WITH_QUARTZ, [test "x$use_quartz" = "xYes"])
502  
503 -dnl -----------------------------------
504 -dnl INCLUDES and LIBS for PLATFORMSDK
505 -
506 -AC_ARG_WITH(platformsdkincludedir,
507 -  [AS_HELP_STRING([--with-platformsdkincludedir=DIR],[use Platform SDK (Windows) includes from DIR])],
508 -  [PLATFORMSDKINCLUDE=$withval])
509 -
510 -AC_ARG_WITH(platformsdklibdir,
511 -  [AS_HELP_STRING([--with-platformsdklibdir=DIR],[use Platform SDK (Windows) libraries from DIR])],
512 -  [PLATFORMSDKLIB=$withval])
513 -
514 -AC_SUBST([PLATFORMSDKINCLUDE])
515 -AC_SUBST([PLATFORMSDKLIB])
516 -
517 -dnl -----------------------------------
518 -dnl INCLUDES and LIBS for GDI+
519 -
520 -AC_ARG_WITH(gdiplus,
521 -  [AS_HELP_STRING([--with-gdiplus=no],[GDI+ framework (Windows)])],
522 -  [], [with_gdiplus=no])
523 -
524 -if test "x$with_gdiplus" != "xyes"; then
525 -  use_gdiplus="No (disabled by default - Windows only)"
526 -else
527 -  if test -f "$PLATFORMSDKINCLUDE\GdiPlus.h" -a -f "$PLATFORMSDKLIB\GdiPlus.lib"; then
528 -    use_gdiplus="Yes"
529 -    AC_DEFINE_UNQUOTED(HAVE_GDIPLUS,1,[Define if you have the GDI+ framework for Windows])
530 -    GDIPLUS_HEADS=`cd "$PLATFORMSDKINCLUDE" && echo GdiPlus*.h`
531 -    GDIPLUS_CFLAGS=''
532 -    GDIPLUS_LIBS=''
533 -    AC_SUBST([GDIPLUS_HEADS])
534 -    AC_SUBST([GDIPLUS_CFLAGS])
535 -    AC_SUBST([GDIPLUS_LIBS])
536 -  else
537 -    use_gdiplus="No (missing headers)"
538 -    AC_MSG_WARN(--with-gdiplus requires valid --with-platformsdkincludedir and --with-platformsdklibdir.)
539 -  fi
540 -fi
541  AM_CONDITIONAL(WITH_GDIPLUS, [test "x$use_gdiplus" = "xYes"])
542  
543  dnl -----------------------------------
544
545
546 [FILE:297:patches/patch-lib-expr-exgram.h]
547 --- lib/expr/exgram.h.orig      2023-01-06 05:13:49 UTC
548 +++ lib/expr/exgram.h
549 @@ -20,7 +20,7 @@ extern "C" {
550   * sometimes free stuff can cost a lot
551   */
552  
553 -#if !defined(_EXGRAM_H) && ( defined(MINTOKEN) || defined(YYTOKENTYPE) )
554 +#if !defined(_EXGRAM_H)
555  #define _EXGRAM_H
556  
557  #if !defined(_EXPARSE_H)
558
559
560 [FILE:199:patches/patch-lib-expr-expr.h]
561 --- lib/expr/expr.h.orig        2023-01-06 05:13:49 UTC
562 +++ lib/expr/expr.h
563 @@ -24,6 +24,7 @@ extern "C" {
564  
565  #include <ast/ast.h>
566  #include <inttypes.h>
567 +#include <limits.h>
568  
569  #include <expr/exparse.h>
570  
571
572
573 [FILE:420:patches/patch-lib-ortho-trapezoid.c]
574 --- lib/ortho/trapezoid.c.orig  2023-01-06 05:13:49 UTC
575 +++ lib/ortho/trapezoid.c
576 @@ -28,6 +28,11 @@
577  #include <common/types.h>
578  #include <ortho/trap.h>
579  
580 +#include <sys/param.h>
581 +#if __FreeBSD_version <= 704101 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
582 +#define log2(x)  (log(x)/log(2))
583 +#endif
584 +
585  /* Node types */
586  
587  #define T_X     1
588
589
590 [FILE:703:patches/patch-plugin_xlib_vimdot.sh]
591 --- plugin/xlib/vimdot.sh.orig  2023-01-06 05:13:49 UTC
592 +++ plugin/xlib/vimdot.sh
593 @@ -9,8 +9,8 @@ fi
594  error() { echo "$0: $*" >&2; exit 1; }
595  
596  # Try $EDITOR first, else try vim or vi
597 -editor="$(which $EDITOR)" || editor="/usr/bin/vim"
598 -[ -x "$editor" ] || editor="/usr/bin/vi"
599 +editor="$(which $EDITOR)" || editor="%%LOCALBASE%%/bin/vim"
600 +[ -x "$editor" ] || editor="%%LOCALBASE%%/bin/vi"
601  [ -x "$editor" ] || error "EDITOR not found or not executable";
602  
603  default="noname.gv"
604 @@ -29,7 +29,7 @@ digraph G {
605  
606         vim [href="http://www.vim.org/"]
607         dot [href="http://www.graphviz.org/"]
608 -       vimdot [href="file:///usr/bin/vimdot"]
609 +       vimdot [href="file:///%%LOCALBASE%%/bin/vimdot"]
610  
611         {vim dot} -> vimdot
612  }
613