From e1ff0bc3c550dc64a4c93ad548bd4c7b90f67fb975b7a890b6c266cdbc0539b1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 17 Mar 2010 16:17:59 +0000 Subject: [PATCH] Accepting request 34972 from home:oertel:branches:openSUSE:Factory Copy from home:oertel:branches:openSUSE:Factory/graphviz via accept of submit request 34972 revision 5. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/34972 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=8 --- graphviz-2.18-do_not_use_ocamlopt.patch | 6 ++-- graphviz-2.20.2.tar.bz2 | 3 -- graphviz-2.26.3.tar.bz2 | 3 ++ graphviz-fix_gstack_overflow.patch | 22 ------------ graphviz-neato_splines.patch | 2 +- graphviz-plugins-fix_install_dirs.patch | 4 +-- graphviz-plugins.spec | 36 +++++++------------ graphviz.changes | 47 +++++++++++++++++++++++++ graphviz.spec | 9 ++--- python-version.diff | 2 +- 10 files changed, 73 insertions(+), 61 deletions(-) delete mode 100644 graphviz-2.20.2.tar.bz2 create mode 100644 graphviz-2.26.3.tar.bz2 delete mode 100644 graphviz-fix_gstack_overflow.patch diff --git a/graphviz-2.18-do_not_use_ocamlopt.patch b/graphviz-2.18-do_not_use_ocamlopt.patch index f4a50b1..55de314 100644 --- a/graphviz-2.18-do_not_use_ocamlopt.patch +++ b/graphviz-2.18-do_not_use_ocamlopt.patch @@ -1,6 +1,6 @@ --- tclpkg/gv/Makefile.am +++ tclpkg/gv/Makefile.am -@@ -79,9 +79,9 @@ +@@ -89,9 +89,9 @@ pkgocamldir = $(pkglibdir)/ocaml OCAML_data = gv.cmo gv.cma gv.cmi gv.mli META.gv @@ -11,5 +11,5 @@ +#OCAML_data += gv.a gv.cmx gv.cmxa +#endif nodist_libgv_ocaml_la_SOURCES = gv_ocaml.cpp $(OCAML_data) - libgv_ocaml_la_SOURCES = $(BASESOURCES) gv_dummy_init.cpp - libgv_ocaml_la_LIBADD = $(BASELIBS) @OCAML_LIBS@ + libgv_ocaml_la_SOURCES = $(BASESOURCES) gv_dummy_init.c + libgv_ocaml_la_LIBADD = $(BASELIBS) $(OCAML_LIBS) diff --git a/graphviz-2.20.2.tar.bz2 b/graphviz-2.20.2.tar.bz2 deleted file mode 100644 index 9c2f0d4..0000000 --- a/graphviz-2.20.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac17ec5b417feb781e611ab83fe644d93147b41921e3a92062f931f79484e64c -size 11233143 diff --git a/graphviz-2.26.3.tar.bz2 b/graphviz-2.26.3.tar.bz2 new file mode 100644 index 0000000..782b7cd --- /dev/null +++ b/graphviz-2.26.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae3d24c43ad1af261819ee4b9eeeedc67dd76fe9e7ff3a8994385e4eec1ca13e +size 14857738 diff --git a/graphviz-fix_gstack_overflow.patch b/graphviz-fix_gstack_overflow.patch deleted file mode 100644 index bed06e8..0000000 --- a/graphviz-fix_gstack_overflow.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- lib/graph/parser.y 2007-09-07 08:05:44.000000000 -0400 -+++ lib/graph/parser.y 2008-10-07 14:40:07.000000000 -0400 -@@ -31,7 +31,8 @@ - static Agnode_t *N; - static Agedge_t *E; - static objstack_t *SP; --static Agraph_t *Gstack[32]; -+#define GSTACK_SIZE 64 -+static Agraph_t *Gstack[GSTACK_SIZE]; - static int GSP; - - static void subgraph_warn (void) -@@ -44,6 +45,9 @@ - - static void push_subg(Agraph_t *g) - { -+ if (GSP >= GSTACK_SIZE) { -+ agerr (AGERR, "Gstack overflow in graph parser\n"); exit(1); -+ } - G = Gstack[GSP++] = g; - } - diff --git a/graphviz-neato_splines.patch b/graphviz-neato_splines.patch index ea2ae2d..f1f896c 100644 --- a/graphviz-neato_splines.patch +++ b/graphviz-neato_splines.patch @@ -1,6 +1,6 @@ --- lib/neatogen/neatosplines.c +++ lib/neatogen/neatosplines.c -@@ -61,6 +61,8 @@ +@@ -63,6 +63,8 @@ n = n + poly[i]->pn; } bar = N_GNEW(n, Pedge_t); diff --git a/graphviz-plugins-fix_install_dirs.patch b/graphviz-plugins-fix_install_dirs.patch index 691d73f..801532a 100644 --- a/graphviz-plugins-fix_install_dirs.patch +++ b/graphviz-plugins-fix_install_dirs.patch @@ -1,6 +1,6 @@ --- configure.ac +++ configure.ac -@@ -958,8 +958,8 @@ +@@ -1013,8 +1013,8 @@ else PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM" fi @@ -11,7 +11,7 @@ PHP_LIBS= save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $PHP_INCLUDES" -@@ -1391,7 +1391,7 @@ +@@ -1489,7 +1489,7 @@ AC_MSG_WARN([Unable to find tclConfig.sh. The Tcl packages will not be built]) use_tcl="No (missing tclConfig.sh)" fi diff --git a/graphviz-plugins.spec b/graphviz-plugins.spec index be0244e..d827fea 100644 --- a/graphviz-plugins.spec +++ b/graphviz-plugins.spec @@ -1,5 +1,5 @@ # -# spec file for package graphviz-plugins (Version 2.20.2) +# spec file for package graphviz-plugins (Version 2.26.3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -29,7 +29,7 @@ BuildRequires: graphviz gtkglext-devel libglade2-devel libgnomeui-devel %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif -Version: 2.20.2 +Version: 2.26.3 Release: 8 AutoReqProv: on Summary: Graph Visualization Tools @@ -38,10 +38,8 @@ Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{mname}-%{version} #Source1: %{name}-rpmlintrc Patch0: graphviz-fix-pkgIndex.patch Patch3: graphviz-neato_splines.patch -Patch11: graphviz-%{version}-interpreter_names.patch +Patch11: graphviz-2.20.2-interpreter_names.patch Patch13: graphviz-stddefs.patch -#Any version after 2.20.2 will contain the following patch -Patch14: graphviz-fix_gstack_overflow.patch #Patches above 100 are graphviz-plugins specific. Patch100: graphviz-plugins-fix_install_dirs.patch Patch101: graphviz-plugins-tcl_install_dir.patch @@ -378,7 +376,6 @@ Authors: %patch3 %patch11 %patch13 -%patch14 %patch100 %patch101 %patch103 @@ -484,7 +481,7 @@ done %files -n graphviz-guile %defattr(-,root,root,-) %{_libdir}/graphviz/guile -%doc %{_mandir}/mann/gv_guile.n.gz +%doc %{_mandir}/man3/gv.3guile.gz %files -n graphviz-java %defattr(-,root,root,-) @@ -493,7 +490,7 @@ done %files -n graphviz-sharp %defattr(-,root,root) %{_libdir}/graphviz/sharp -%doc %{_mandir}/mann/gv_sharp.n.gz +%doc %{_mandir}/man3/gv.3sharp.gz %files -n graphviz-lua %defattr(-,root,root,-) @@ -502,12 +499,12 @@ done %dir %lua_libdir %{_libdir}/graphviz/lua %{lua_libdir}/gv.so -%doc %{_mandir}/mann/gv_lua.n.gz +%doc %{_mandir}/man3/gv.3lua.gz %files -n graphviz-ocaml %defattr(-,root,root,-) %{_libdir}/graphviz/ocaml -%doc %{_mandir}/mann/gv_ocaml.n.gz +%doc %{_mandir}/man3/gv.3ocaml.gz %files -n graphviz-perl %defattr(-,root,root,-) @@ -515,13 +512,13 @@ done %{perl_vendorarch}/gv.pm %{perl_vendorarch}/gv.so %{_datadir}/%{mname}/demo/modgraph.pl -%doc %{_mandir}/mann/gv_perl.n.gz +%doc %{_mandir}/man3/gv.3perl.gz %files -n graphviz-php %defattr(-,root,root,-) %{_libdir}/php5/extensions/gv.so %{_datadir}/php5/gv.php -%doc %{_mandir}/mann/gv_php.n.gz +%doc %{_mandir}/man3/gv.3php.gz %dir %{_libdir}/%{mname}/php %{_libdir}/%{mname}/php/gv.php %{_libdir}/%{mname}/php/gv.so @@ -533,14 +530,14 @@ done %{_libdir}/graphviz/python %{py_sitedir}/_gv.so %{py_sitedir}/gv.py -%doc %{_mandir}/mann/gv_python.n.gz +%doc %{_mandir}/man3/gv.3python.gz %{_datadir}/%{mname}/demo/modgraph.py %files -n graphviz-ruby %defattr(-,root,root,-) %{_libdir}/graphviz/ruby %{rb_sitedir}/*-%{_os}/gv.so -%doc %{_mandir}/mann/gv_ruby.n.gz +%doc %{_mandir}/man3/gv.3ruby.gz %{_datadir}/%{mname}/demo/modgraph.rb %files -n graphviz-tcl @@ -553,15 +550,8 @@ done %{_libdir}/libtkspline* %{_datadir}/tcl/%{mname}/pkgIndex.tcl %{_datadir}/graphviz/demo -%doc %{_mandir}/mann/*.n* -%exclude %{_mandir}/mann/gv_lua.n.gz -%exclude %{_mandir}/mann/gv_perl.n.gz -%exclude %{_mandir}/mann/gv_ruby.n.gz -%exclude %{_mandir}/mann/gv_sharp.n.gz -%exclude %{_mandir}/mann/gv_guile.n.gz -%exclude %{_mandir}/mann/gv_python.n.gz -%exclude %{_mandir}/mann/gv_php.n.gz -%exclude %{_mandir}/mann/gv_ocaml.n.gz +%doc %{_mandir}/man3/*.3tcl* +%doc %{_mandir}/man3/*.3tk* %exclude %{_datadir}/%{mname}/demo/modgraph.rb %exclude %{_datadir}/%{mname}/demo/modgraph.php %exclude %{_datadir}/%{mname}/demo/modgraph.py diff --git a/graphviz.changes b/graphviz.changes index d503fa3..6cc356a 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Tue Mar 16 18:52:54 CET 2010 - ro@suse.de + +- update to 2.26.3 + - libcgraph.so version bumped from 4 to 5 due to API changes + - Allow ranksep to specify multiple radial differences in twopi + - Allow the user to specify all pairwise distances in neato with + - added: "smyrna" - a new opengl-based viewer for large graphs + - added: rudimentary "gml2gv", "gv2gml" converters + - extended support for various image formats in node images + - removed vestiges of codegens, now all putput formats supported + through plugins. Dropped some output formats for which + plugins have not been developed: -Tdia, -Tmif + - gvpr converted to a library; additional array handling and + text processing functions added; language extended to allow + multiple BEG_G/N/E blocks. + - allow background images specified via xdot + - add new layout engine for large graphs: sfdp + - add new layout engine for nested graphs: osage + - fix for buffer overflow (present in 2.22.0 and 2.22.1) + - libgvc api changed, version bumped. Affects third party + applications using libgvc. + - plugin api changed, version bumped. Affects third party + plugins for graphviz. + - 90% conversion to cgraph has been done, but not enabled yet, + (and yes, its true what they say about the last 10% ) + - drop libagraph from distribution (use libcgraph) + - layout code completely converted to floating point. + - new "dot -P" option for generating a graph of available + plugins. + - registered MIME type: text/vnd.graphviz for .gv files + - rename files from .dot to .gv to avoid conflict with + Word templates. .dot still supported, but deprecated. + - new command: mm2gv (matrix-market graph file conversion) + - rename commands: dot2gxl -> gv2gxl + gxl2dot -> gxl2gv + - new rsvg plugin for support of node shapes in SVG format + - new gs plugin for support of node shapes in PS format + - new lasi plugin for support of UTF-8 characters in PS output + (the above thee plugins are Linux only, at the moment) + - new quartz plugin (MacOSx only) + - new gdiplus plugin (Windows only) + - new -Tvml support in core plugin (thanks Steve Roush) + - new -Ttk support in core plugin (also used by Tcldot and + gv_tcl language bindings.) + - disabled old style codegens completely + ------------------------------------------------------------------- Tue Dec 15 21:30:37 CET 2009 - jengelh@medozas.de diff --git a/graphviz.spec b/graphviz.spec index 0f5c83e..93b838f 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,5 +1,5 @@ # -# spec file for package graphviz (Version 2.20.2) +# spec file for package graphviz (Version 2.26.3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,7 +24,7 @@ BuildRequires: bison flex glib2-devel xorg-x11-devel BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel PreReq: /bin/rm -Version: 2.20.2 +Version: 2.26.3 Release: 45 AutoReqProv: on Summary: Graph Visualization Tools @@ -33,10 +33,8 @@ Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}. Source2: graphviz-rpmlintrc Patch0: graphviz-fix-pkgIndex.patch Patch3: graphviz-neato_splines.patch -Patch11: graphviz-%{version}-interpreter_names.patch +Patch11: graphviz-2.20.2-interpreter_names.patch Patch13: graphviz-stddefs.patch -#Any version after 2.20.2 will contain the following patch -Patch14: graphviz-fix_gstack_overflow.patch Url: http://www.graphviz.org/ License: IBM Public License .. Prefix: /usr @@ -92,7 +90,6 @@ Authors: %patch3 %patch11 %patch13 -%patch14 # Fix path in generated man pages sed -e 's$@LIB_DIR@$%{_libdir}$g' tclpkg/gv/gv_doc_langs.tcl >tclpkg/gv/gv_doc_langs.tcl.new && mv tclpkg/gv/gv_doc_langs.tcl.new tclpkg/gv/gv_doc_langs.tcl # remove broken macros diff --git a/python-version.diff b/python-version.diff index 6efdb28..2104ea8 100644 --- a/python-version.diff +++ b/python-version.diff @@ -1,6 +1,6 @@ --- configure.ac +++ configure.ac -@@ -1001,7 +1001,7 @@ else +@@ -1056,7 +1056,7 @@ if test "x$PYTHON" = "x"; then use_python="No (python not available)" else