[librsvg/master.msvc: 3/5] win32: Bring back the librsvg.symbols




commit 869fbf5949283f86762949c7cb989eee6470d6dd
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Jul 8 16:46:59 2021 +0800

    win32: Bring back the librsvg.symbols
    
    Since we no longer compile any C files that trigger the compiler directives
    for exporting from the librsvg DLL, we must use a .def file to export
    these symbols, otherwise we will end up in an unusable librsvg DLL.
    
    This brings back the librsvg.symbols file which acts as the basis of our
    .def file, which will be consumed by the NMake Makefiles.
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/565>

 win32/Makefile.am     |  1 +
 win32/librsvg.symbols | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)
---
diff --git a/win32/Makefile.am b/win32/Makefile.am
index c3067577..8e31f91a 100644
--- a/win32/Makefile.am
+++ b/win32/Makefile.am
@@ -11,6 +11,7 @@ EXTRA_DIST = \
        info-msvc.mak           \
        install-msvc.mak        \
        introspection-msvc.mak  \
+       librsvg.symbols \
        Makefile.vc             \
        README.txt              \
        rsvg-rust.mak           \
diff --git a/win32/librsvg.symbols b/win32/librsvg.symbols
new file mode 100644
index 00000000..eabf6d2c
--- /dev/null
+++ b/win32/librsvg.symbols
@@ -0,0 +1,58 @@
+/* symbols from rsvg.h */
+rsvg_cleanup
+rsvg_error_quark
+rsvg_error_get_type
+rsvg_handle_close
+rsvg_handle_flags_get_type
+rsvg_handle_free
+rsvg_handle_get_base_uri
+rsvg_handle_get_desc
+rsvg_handle_get_dimensions
+rsvg_handle_get_dimensions_sub
+rsvg_handle_get_intrinsic_dimensions
+rsvg_handle_get_intrinsic_size_in_pixels
+rsvg_handle_get_metadata
+rsvg_handle_get_pixbuf
+rsvg_handle_get_pixbuf_sub
+rsvg_handle_get_position_sub
+rsvg_handle_get_title
+rsvg_handle_get_type
+rsvg_handle_has_sub
+rsvg_handle_internal_set_testing
+rsvg_handle_new_from_data
+rsvg_handle_new
+rsvg_handle_new_from_file
+rsvg_handle_new_from_gfile_sync
+rsvg_handle_new_from_stream_sync
+rsvg_handle_new_with_flags
+rsvg_handle_read_stream_sync
+rsvg_handle_set_base_gfile
+rsvg_handle_set_base_uri
+rsvg_handle_set_dpi
+rsvg_handle_set_dpi_x_y
+rsvg_handle_set_size_callback
+rsvg_handle_set_stylesheet
+rsvg_handle_write
+rsvg_init
+rsvg_pixbuf_from_file
+rsvg_pixbuf_from_file_at_zoom
+rsvg_pixbuf_from_file_at_size
+rsvg_pixbuf_from_file_at_max_size
+rsvg_pixbuf_from_file_at_zoom_with_max
+rsvg_set_default_dpi
+rsvg_set_default_dpi_x_y
+rsvg_term
+
+/* symbols from rsvg-cairo.h */
+rsvg_handle_get_geometry_for_element
+rsvg_handle_get_geometry_for_layer
+rsvg_handle_render_cairo
+rsvg_handle_render_cairo_sub
+rsvg_handle_render_document
+rsvg_handle_render_element
+rsvg_handle_render_layer
+
+/* symbols from rsvg-features.h */
+rsvg_major_version
+rsvg_micro_version
+rsvg_minor_version
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]