SHA256
1
0
forked from pool/graphviz
OBS User unknown 2007-06-19 00:22:03 +00:00 committed by Git OBS Bridge
parent 43748a4b75
commit ad0cd73d01
5 changed files with 10 additions and 335 deletions

View File

@ -1,307 +0,0 @@
--- lib/agraph/Makefile.am
+++ lib/agraph/Makefile.am
@@ -20,7 +20,7 @@
mem.c node.c obj.c pend.c rec.c refstr.c scan.l subg.c \
utils.c write.c
-libagraph_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libagraph_la_LDFLAGS = -module -avoid-version -no-undefined
libagraph_la_SOURCES = $(libagraph_C_la_SOURCES)
libagraph_la_LIBADD = $(top_builddir)/lib/cdt/libcdt.la
--- lib/cdt/Makefile.am
+++ lib/cdt/Makefile.am
@@ -19,7 +19,7 @@
dthash.c dtlist.c dtmethod.c dtopen.c dtrenew.c dtrestore.c dtsize.c \
dtstat.c dtstrhash.c dttree.c dtview.c dtwalk.c
-libcdt_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libcdt_la_LDFLAGS = -module -avoid-version -no-undefined
libcdt_la_SOURCES = $(libcdt_C_la_SOURCES)
.3.pdf:
--- lib/dotgen/Makefile.am
+++ lib/dotgen/Makefile.am
@@ -12,7 +12,7 @@
noinst_HEADERS = dot.h dotprocs.h
noinst_LTLIBRARIES = libdotgen_C.la
-libdotgen_C_la_LDFLAGS = -no-undefined
+libdotgen_C_la_LDFLAGS = -module -avoid-version -no-undefined
libdotgen_C_la_SOURCES = acyclic.c class1.c class2.c cluster.c compound.c \
conc.c decomp.c fastgr.c flat.c dotinit.c mincross.c \
position.c rank.c sameport.c dotsplines.c
--- lib/expr/Makefile.am
+++ lib/expr/Makefile.am
@@ -32,7 +32,7 @@
$(top_builddir)/lib/vmalloc/libvmalloc_C.la \
$(top_builddir)/lib/sfio/libsfio_C.la
-libexpr_la_LDFLAGS = -version-info @VERSION_INFO@
+libexpr_la_LDFLAGS = -module -avoid-version
libexpr_la_SOURCES = $(libexpr_C_la_SOURCES)
libexpr_la_LIBADD = $(libexpr_C_la_LIBADD)
$(top_builddir)/lib/cdt/libcdt.la
--- lib/graph/Makefile.am
+++ lib/graph/Makefile.am
@@ -19,7 +19,7 @@
attribs.c agxbuf.c edge.c graph.c graphio.c lexer.c \
node.c parser.y refstr.c trie.c
-libgraph_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgraph_la_LDFLAGS = -module -avoid-version -no-undefined
libgraph_la_SOURCES = $(libgraph_C_la_SOURCES)
libgraph_la_LIBADD = $(top_builddir)/lib/cdt/libcdt.la
--- lib/pathplan/Makefile.am
+++ lib/pathplan/Makefile.am
@@ -15,7 +15,7 @@
libpathplan_C_la_SOURCES = cvt.c inpoly.c route.c shortest.c \
shortestpth.c solvers.c triang.c util.c visibility.c
-libpathplan_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libpathplan_la_LDFLAGS = -module -avoid-version -no-undefined
libpathplan_la_SOURCES = $(libpathplan_C_la_SOURCES)
libpathplan_la_LIBADD = @MATH_LIBS@
--- plugin/core/Makefile.am
+++ plugin/core/Makefile.am
@@ -24,7 +24,7 @@
gvrender_core_map.c \
gvloadimage_core.c
-libgvplugin_core_la_LDFLAGS = -version-info @VERSION_INFO@ --no-undefined
+libgvplugin_core_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_core_la_SOURCES = $(libgvplugin_core_C_la_SOURCES)
libgvplugin_core_la_LIBADD =
--- plugin/dot_layout/Makefile.am
+++ plugin/dot_layout/Makefile.am
@@ -20,7 +20,7 @@
libgvplugin_dot_layout_C_la_LIBADD = \
$(top_builddir)/lib/dotgen/libdotgen_C.la
-libgvplugin_dot_layout_la_LDFLAGS = -version-info @VERSION_INFO@ --no-undefined
+libgvplugin_dot_layout_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_dot_layout_la_SOURCES = $(libgvplugin_dot_layout_C_la_SOURCES)
libgvplugin_dot_layout_la_LIBADD = $(libgvplugin_dot_layout_C_la_LIBADD) \
$(top_builddir)/lib/gvc/libgvc.la \
--- plugin/gd/Makefile.am
+++ plugin/gd/Makefile.am
@@ -21,7 +21,7 @@
gvtextlayout_gd.c \
gvloadimage_gd.c
-libgvplugin_gd_la_LDFLAGS = -version-info @VERSION_INFO@ --no-undefined
+libgvplugin_gd_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_gd_la_SOURCES = $(libgvplugin_gd_C_la_SOURCES)
if WITH_MYLIBGD
libgvplugin_gd_la_LIBADD = \
--- plugin/gtk/Makefile.am
+++ plugin/gtk/Makefile.am
@@ -25,7 +25,7 @@
interface.c \
callbacks.c
-libgvplugin_gtk_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgvplugin_gtk_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_gtk_la_SOURCES = $(libgvplugin_gtk_C_la_SOURCES)
libgvplugin_gtk_la_LIBADD = $(GTK_LIBS) $(GNOMEUI_LIBS)
--- plugin/ming/Makefile.am
+++ plugin/ming/Makefile.am
@@ -20,7 +20,7 @@
gvplugin_ming.c \
gvrender_ming.c
-libgvplugin_ming_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgvplugin_ming_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_ming_la_SOURCES = $(libgvplugin_ming_C_la_SOURCES)
libgvplugin_ming_la_LIBADD = @MING_LIBS@ @MATH_LIBS@
--- plugin/neato_layout/Makefile.am
+++ plugin/neato_layout/Makefile.am
@@ -23,7 +23,7 @@
$(top_builddir)/lib/fdpgen/libfdpgen_C.la \
$(top_builddir)/lib/circogen/libcircogen_C.la
-libgvplugin_neato_layout_la_LDFLAGS = -version-info @VERSION_INFO@ --no-undefined
+libgvplugin_neato_layout_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_neato_layout_la_SOURCES = $(libgvplugin_neato_layout_C_la_SOURCES)
libgvplugin_neato_layout_la_LIBADD = $(libgvplugin_neato_layout_C_la_LIBADD) \
$(top_builddir)/lib/gvc/libgvc.la \
--- plugin/pango/Makefile.am
+++ plugin/pango/Makefile.am
@@ -20,7 +20,7 @@
gvtextlayout_pango.c \
gvloadimage_pango.c
-libgvplugin_pango_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgvplugin_pango_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_pango_la_SOURCES = $(libgvplugin_pango_C_la_SOURCES)
libgvplugin_pango_la_LIBADD = @PANGOCAIRO_LIBS@ @MATH_LIBS@
--- plugin/xlib/Makefile.am
+++ plugin/xlib/Makefile.am
@@ -21,6 +21,6 @@
gvplugin_xlib.c \
gvdevice_xlib.c
-libgvplugin_xlib_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
+libgvplugin_xlib_la_LDFLAGS = -module -avoid-version -no-undefined
libgvplugin_xlib_la_SOURCES = $(libgvplugin_xlib_C_la_SOURCES)
libgvplugin_xlib_la_LIBADD = @PANGOCAIRO_LIBS@ @X_LIBS@ -lX11 @SOCKET_LIBS@ @MATH_LIBS@
--- tclpkg/gdtclft/Makefile.am
+++ tclpkg/gdtclft/Makefile.am
@@ -28,7 +28,7 @@
libgdtclft_la_SOURCES = gdtclft.c
-libgdtclft_la_LDFLAGS = -no-undefined
+libgdtclft_la_LDFLAGS = -module -avoid-version -no-undefined
if WITH_LIBGD
if WITH_MYLIBGD
--- tclpkg/gv/Makefile.am
+++ tclpkg/gv/Makefile.am
@@ -19,7 +19,7 @@
nodist_libgv_sharp_la_SOURCES = gv_sharp.cpp $(SHARP_hdr)
libgv_sharp_la_SOURCES = $(BASESOURCES)
libgv_sharp_la_LIBADD = $(BASELIBS) @SHARP_LIBS@
-libgv_sharp_la_LDFLAGS =
+libgv_sharp_la_LDFLAGS = -module -avoid-version
gv_sharp.cpp $(SHARP_hdr): gv.i
$(SWIG) -c++ -csharp -namespace gv -o gv_sharp.cpp $(srcdir)/gv.i
@@ -28,7 +28,7 @@
nodist_libgv_guile_la_SOURCES = gv_guile.cpp $(GUILE_hdr)
libgv_guile_la_SOURCES = $(BASESOURCES)
libgv_guile_la_LIBADD = $(BASELIBS) @GUILE_LIBS@
-libgv_guile_la_LDFLAGS =
+libgv_guile_la_LDFLAGS = -module -avoid-version
gv_guile.cpp $(GUILE_hdr): gv.i
$(SWIG) -c++ -guile -o gv_guile.cpp $(srcdir)/gv.i
$(SED) -e 's/SWIG_GUILE_INIT_STATIC void/void/' <gv_guile.cpp >t
@@ -39,7 +39,7 @@
nodist_libgv_io_la_SOURCES = gv_io.cpp $(IO_hdr)
libgv_io_la_SOURCES = $(BASESOURCES)
libgv_io_la_LIBADD = $(BASELIBS) @IO_LIBS@
-libgv_io_la_LDFLAGS =
+libgv_io_la_LDFLAGS = -module -avoid-version
gv_io.cpp $(IO_hdr): gv.i
$(SWIG) -c++ -io -o gv_io.cpp $(srcdir)/gv.i
@@ -48,7 +48,7 @@
nodist_libgv_java_la_SOURCES = gv_java.cpp
libgv_java_la_SOURCES = $(BASESOURCES)
libgv_java_la_LIBADD = $(BASELIBS) @JAVA_LIBS@
-libgv_java_la_LDFLAGS =
+libgv_java_la_LDFLAGS = -module -avoid-version
gv_java.cpp $(JAVA_hdr): gv.i
$(SWIG) -c++ -java -o gv_java.cpp $(srcdir)/gv.i
@@ -59,7 +59,7 @@
#libgv_lua_la_CFLAGS = -fno-strict-aliasing
libgv_lua_la_CXXFLAGS = -fno-strict-aliasing
libgv_lua_la_LIBADD = $(BASELIBS) @LUA_LIBS@
-libgv_lua_la_LDFLAGS =
+libgv_lua_la_LDFLAGS = -module -avoid-version
gv_lua.cpp $(LUA_hdr): gv.i
$(SWIG) -c++ -lua -o gv_lua.cpp $(srcdir)/gv.i
@@ -68,7 +68,7 @@
nodist_libgv_ocaml_la_SOURCES = gv_ocaml.cpp $(OCAML_hdr)
libgv_ocaml_la_SOURCES = $(BASESOURCES)
libgv_ocaml_la_LIBADD = $(BASELIBS) @OCAML_LIBS@
-libgv_ocaml_la_LDFLAGS =
+libgv_ocaml_la_LDFLAGS = -module -avoid-version
gv_ocaml.cpp $(OCAML_hdr): gv.i
$(SWIG) -c++ -ocaml -o gv_ocaml.cpp $(srcdir)/gv.i
@@ -79,7 +79,7 @@
#libgv_perl_la_CFLAGS = -fno-strict-aliasing
libgv_perl_la_CXXFLAGS = -fno-strict-aliasing
libgv_perl_la_LIBADD = $(BASELIBS) @PERL_LIBS@
-libgv_perl_la_LDFLAGS =
+libgv_perl_la_LDFLAGS = -module -avoid-version
gv_perl.cpp $(PERL_hdr): gv.i
$(SWIG) -c++ -perl -o gv_perl.cpp $(srcdir)/gv.i
@@ -88,7 +88,7 @@
nodist_libgv_php_la_SOURCES = gv_php.cpp $(PHP_hdr)
libgv_php_la_SOURCES = $(BASESOURCES)
libgv_php_la_LIBADD = $(BASELIBS) @PHP_LIBS@
-libgv_php_la_LDFLAGS =
+libgv_php_la_LDFLAGS = -module -avoid-version
gv_php.cpp $(PHP_hdr): gv.i
$(SWIG) -c++ -php -o gv_php.cpp $(srcdir)/gv.i
@@ -97,7 +97,7 @@
nodist_libgv_python_la_SOURCES = gv_python.cpp $(PYTHON_hdr)
libgv_python_la_SOURCES = $(BASESOURCES)
libgv_python_la_LIBADD = $(BASELIBS) @PYTHON_LIBS@
-libgv_python_la_LDFLAGS =
+libgv_python_la_LDFLAGS = -module -avoid-version
gv_python.cpp $(PYTHON_hdr): gv.i
$(SWIG) -c++ -python -o gv_python.cpp $(srcdir)/gv.i
@@ -106,7 +106,7 @@
nodist_libgv_ruby_la_SOURCES = gv_ruby.cpp $(RUBY_hdr)
libgv_ruby_la_SOURCES = $(BASESOURCES)
libgv_ruby_la_LIBADD = $(BASELIBS) @RUBY_LIBS@
-libgv_ruby_la_LDFLAGS =
+libgv_ruby_la_LDFLAGS = -module -avoid-version
gv_ruby.cpp $(RUBY_hdr): gv.i
$(SWIG) -c++ -ruby -o gv_ruby.cpp $(srcdir)/gv.i
@@ -115,7 +115,7 @@
nodist_libgv_tcl_la_SOURCES = gv_tcl.cpp $(TCL_hdr)
libgv_tcl_la_SOURCES = $(BASESOURCES)
libgv_tcl_la_LIBADD = $(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la $(BASELIBS) @TCL_LIBS@
-libgv_tcl_la_LDFLAGS =
+libgv_tcl_la_LDFLAGS = -module -avoid-version
gv_tcl.cpp $(TCL_hdr): gv.i
$(SWIG) -c++ -tcl -namespace -o gv_tcl.cpp $(srcdir)/gv.i
--- tclpkg/tcldot/Makefile.am
+++ tclpkg/tcldot/Makefile.am
@@ -42,7 +42,7 @@
endif
libtcldot_la_SOURCES = tcldot.c $(CODEGENS) $(GDTCLFT)
-libtcldot_la_LDFLAGS = -no-undefined
+libtcldot_la_LDFLAGS = -module -avoid-version -no-undefined
if WITH_LIBGD
if WITH_MYLIBGD
libtcldot_la_LIBADD = \
@@ -71,7 +71,7 @@
tcldot.c $(CODEGENS) $(GDTCLFT) \
$(top_srcdir)/lib/gvc/dot_builtins.c \
$(top_srcdir)/lib/gvc/no_demand_loading.c
-libtcldot_builtin_la_LDFLAGS = -no-undefined
+libtcldot_builtin_la_LDFLAGS = -module -avoid-version -no-undefined
if WITH_LIBGD
if WITH_MYLIBGD
libtcldot_builtin_la_LIBADD = \
--- tclpkg/tclpathplan/Makefile.am
+++ tclpkg/tclpathplan/Makefile.am
@@ -18,7 +18,7 @@
endif
libtclplan_la_SOURCES = find_ints.c intersect.c makecw.c tclpathplan.c wrapper.c
-libtclplan_la_LDFLAGS = -no-undefined
+libtclplan_la_LDFLAGS = -module -avoid-version -no-undefined
libtclplan_la_LIBADD = \
$(top_builddir)/tclpkg/tclhandle/libtclhandle_C.la \
$(top_builddir)/tclpkg/tclstubs/libtclstubs_C.la \
--- tclpkg/tkspline/Makefile.am
+++ tclpkg/tkspline/Makefile.am
@@ -25,7 +25,7 @@
pdf_DATA = $(pdf)
endif
-libtkspline_la_LDFLAGS = -no-undefined
+libtkspline_la_LDFLAGS = -module -avoid-version -no-undefined
libtkspline_la_SOURCES = tkspline.c
libtkspline_la_LIBADD = \
$(top_builddir)/tclpkg/tkstubs/libtkstubs_C.la \

View File

@ -1,13 +1,12 @@
-------------------------------------------------------------------
Mon Jun 11 18:13:15 CEST 2007 - ro@suse.de
- no main package, no debuginfo
- no main package, no debuginfo
-------------------------------------------------------------------
Wed Jun 6 19:02:17 CEST 2007 - pth@suse.de
- Move man pages to _mandir (bugzilla #281398)
- use "-module -avoid-version" for plugins built via libtool.
-------------------------------------------------------------------
Fri May 11 10:32:51 CEST 2007 - ro@suse.de

View File

@ -21,7 +21,7 @@ BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-dev
BuildRequires: cairo-devel gcc-java gmp-devel guile-devel libgcj-devel lua-devel mono-core ocaml pango-devel
BuildRequires: graphviz libgnomeui-devel php5-devel
Version: 2.12
Release: 7
Release: 8
Autoreqprov: on
Summary: Graph Visualization Tools
Group: Productivity/Graphics/Visualization/Graph
@ -36,7 +36,6 @@ Patch8: graphviz-2.11-php_check.patch
Patch9: graphviz-no_libtool_patching.patch
Patch10: graphviz-fix_manpages.patch
Patch11: graphviz-gv_aliasing.patch
Patch12: graphviz-no_plugin_versions.patch
URL: http://www.graphviz.org/
License: IBM Public License
Prefix: /usr
@ -312,7 +311,6 @@ Authors:
%patch9
%patch10
%patch11
%patch12
# 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
@ -370,6 +368,7 @@ rm -rf %{buildroot}/usr/include/graphviz
rm -f %{buildroot}/usr/lib/graphviz/config
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_core*
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_dot_layout*
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_gd.so
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_gtk*
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_neato_layout*
rm -f %{buildroot}/%{_libdir}/graphviz/libgvplugin_pango*
@ -387,9 +386,12 @@ for lang in ruby python lua ocaml sharp guile; do
mv %{buildroot}%{_libdir}/%{mname}/$lang/gv_$lang.man %{buildroot}%{_mandir}/man3/gv_$lang.3
done
%clean
rm -rf %{buildroot}
%files -n graphviz-gd
%defattr(-,root,root)
%{_libdir}/graphviz/libgvplugin_gd.so
%{_libdir}/graphviz/libgvplugin_gd.so.*
%post -n graphviz-gd
%{_bindir}/dot -c
@ -397,9 +399,6 @@ done
%postun -n graphviz-gd
if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_lib}/graphviz/config; fi
%clean
#rm -rf %{buildroot}
%files -n graphviz-guile
%defattr(-,root,root,-)
%{_libdir}/graphviz/guile
@ -461,7 +460,6 @@ if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_li
- no main package, no debuginfo
* Wed Jun 06 2007 - pth@suse.de
- Move man pages to _mandir (bugzilla #281398)
- use "-module -avoid-version" for plugins built via libtool.
* Fri May 11 2007 - ro@suse.de
- added get_release_number.sh to sync rel-number between
graphviz and graphviz-plugins

View File

@ -1,13 +1,3 @@
-------------------------------------------------------------------
Fri Jun 8 01:46:02 CEST 2007 - ro@suse.de
- fix filelist
-------------------------------------------------------------------
Wed Jun 6 19:01:13 CEST 2007 - pth@suse.de
- use "-module -avoid-version" for plugins built via libtool.
-------------------------------------------------------------------
Fri May 11 10:32:20 CEST 2007 - ro@suse.de

View File

@ -17,7 +17,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
Version: 2.12
Release: 20
Release: 21
Autoreqprov: on
Summary: Graph Visualization Tools
Group: Productivity/Graphics/Visualization/Graph
@ -32,7 +32,6 @@ Patch8: graphviz-2.11-php_check.patch
Patch9: graphviz-no_libtool_patching.patch
Patch10: graphviz-fix_manpages.patch
Patch11: graphviz-gv_aliasing.patch
Patch12: graphviz-no_plugin_versions.patch
URL: http://www.graphviz.org/
License: IBM Public License
Prefix: /usr
@ -90,7 +89,6 @@ Authors:
%patch9
%patch10
%patch11
%patch12
# 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
@ -160,6 +158,7 @@ done
%post
# run "dot -c" to generate plugin config in %{_libdir}/graphviz/config
%{_bindir}/dot -c
test -s %{_libdir}/graphviz/config || exit 1
%run_ldconfig
# if there is no dot after everything else is done, the remove config
@ -178,7 +177,7 @@ if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_li
%dir %{_libdir}/%{name}
%dir %{_prefix}/lib/%{name}
%{_libdir}/*.so.*
%{_libdir}/graphviz/*.so
%{_libdir}/graphviz/*.so.*
/etc/ld.so.conf.d/graphviz.conf
%ghost /usr/lib/graphviz/config
%exclude %{_libdir}/graphviz/*/*
@ -195,10 +194,6 @@ if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_li
%exclude %{_libdir}/graphviz/*.so
%changelog
* Fri Jun 08 2007 - ro@suse.de
- fix filelist
* Wed Jun 06 2007 - pth@suse.de
- use "-module -avoid-version" for plugins built via libtool.
* Fri May 11 2007 - ro@suse.de
- added get_release_number.sh to sync rel-number between
graphviz and graphviz-plugins