Remove ABI checking scripts

Before this commit, the only difference between the expected and actual
ABI were the addition of _init and _fini symbols in each module (now
that regexp-based export control is not catching those).
This commit is contained in:
Ryan Lortie 2013-01-13 23:31:45 -05:00
parent 304950a7ac
commit dbf447292d
11 changed files with 1 additions and 4007 deletions

View File

@ -23,12 +23,6 @@ install-ms-lib:
uninstall-ms-lib:
$(uninstall_ms_lib_cmd)
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh
endif
endif
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GLib-GIO\" \
$(gmodule_INCLUDES) \
@ -633,11 +627,9 @@ BUILT_SOURCES = \
EXTRA_DIST += \
data-to-c.pl \
gio.symbols \
gioenumtypes.h.template \
gioenumtypes.c.template \
makefile.msc \
abicheck.sh \
gio.rc.in \
gschema.dtd \
gconstructor_as_data.h \

View File

@ -1,13 +0,0 @@
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glib/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -P $INCLUDES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
nm -D -g --defined-only .libs/libgio-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi

File diff suppressed because it is too large Load Diff

View File

@ -49,13 +49,6 @@ AM_CPPFLAGS = \
-DGLIB_COMPILATION \
-DPCRE_STATIC
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS_ENVIRONMENT = GLIB_DEBUG_FLAGS="$(GLIB_DEBUG_FLAGS)"
TESTS = abicheck.sh
endif
endif
MIRRORING_TAB_SOURCE = \
glib-mirroring-tab/Makefile \
glib-mirroring-tab/gen-mirroring-tab.c \
@ -71,8 +64,6 @@ EXTRA_DIST += \
gen-unicode-tables.pl \
gen-script-table.pl \
glibconfig.h.win32.in \
abicheck.sh \
glib.symbols \
gregex.c \
gregex.h \
win_iconv.c \

View File

@ -1,13 +0,0 @@
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${builddir:-.}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp $GLIB_DEBUG_FLAGS"
cpp -P -DG_STDIO_NO_WRAP_ON_UNIX $INCLUDES "${srcdir:-.}/glib.symbols" | sed -e '/^$/d' -e 's/ PRIVATE$//' | sort > expected-abi
rm -f glibconfig.cpp
nm -D -g --defined-only .libs/libglib-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,6 @@ AM_CPPFLAGS = \
EXTRA_DIST += \
makefile.msc.in \
gmoduleconf.h.in \
gmodule.symbols \
gmodule-dl.c \
gmodule-dld.c \
gmodule-dyld.c \

View File

@ -1,14 +0,0 @@
g_module_build_path
g_module_close
g_module_error
g_module_make_resident
#ifndef _WIN64
g_module_name PRIVATE
#endif
g_module_name_utf8
#ifndef _WIN64
g_module_open PRIVATE
#endif
g_module_open_utf8
g_module_supported
g_module_symbol

View File

@ -18,12 +18,6 @@ AM_CPPFLAGS = \
$(GLIB_DEBUG_FLAGS) \
-DGOBJECT_COMPILATION
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh
endif
endif
libglib = $(top_builddir)/glib/libglib-2.0.la
# libraries to compile and install
@ -141,8 +135,7 @@ endif
# their own .lo rules and don't get publically installed
gobject_extra_sources = \
gmarshal.list \
gmarshal.strings \
gobject.symbols
gmarshal.strings
#

View File

@ -1,13 +0,0 @@
#! /bin/sh
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glib/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
cpp -DINCLUDE_VARIABLES -P $INCLUDES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ PRIVATE$//' | sort > expected-abi
rm glibconfig.cpp
nm -D -g --defined-only .libs/libgobject-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi

View File

@ -1,426 +0,0 @@
/* This file lists all exported symbols. It is used to generate
* the gobject.def file used to control exports on Windows.
*/
g_binding_flags_get_type
g_binding_get_type
g_binding_get_flags
g_binding_get_source
g_binding_get_target
g_binding_get_source_property
g_binding_get_target_property
g_object_bind_property
g_object_bind_property_full
g_object_bind_property_with_closures
g_boxed_copy
g_boxed_free
g_boxed_type_register_static
g_date_get_type
g_date_time_get_type
g_time_zone_get_type
g_gstring_get_type
g_strv_get_type
g_hash_table_get_type
g_array_get_type
g_byte_array_get_type
g_bytes_get_type
g_error_get_type
g_ptr_array_get_type
g_regex_get_type
g_match_info_get_type
g_variant_builder_get_type
g_variant_type_get_gtype
g_key_file_get_type
g_main_loop_get_type
g_main_context_get_type
g_markup_parse_context_get_type
g_source_get_type
g_pollfd_get_type
g_closure_get_type
g_thread_get_type
g_checksum_get_type
g_value_get_type
g_value_array_get_type
g_value_set_boxed
g_value_take_boxed
g_value_dup_boxed
g_value_get_boxed
g_value_set_static_boxed
g_value_set_boxed_take_ownership
g_variant_get_gtype
g_cclosure_marshal_BOOLEAN__FLAGS
g_cclosure_marshal_BOOLEAN__FLAGSv
g_cclosure_marshal_BOOLEAN__BOXED_BOXED
g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv
g_cclosure_marshal_STRING__OBJECT_POINTER
g_cclosure_marshal_STRING__OBJECT_POINTERv
g_cclosure_marshal_VOID__BOOLEAN
g_cclosure_marshal_VOID__BOOLEANv
g_cclosure_marshal_VOID__BOXED
g_cclosure_marshal_VOID__BOXEDv
g_cclosure_marshal_VOID__CHAR
g_cclosure_marshal_VOID__CHARv
g_cclosure_marshal_VOID__DOUBLE
g_cclosure_marshal_VOID__DOUBLEv
g_cclosure_marshal_VOID__ENUM
g_cclosure_marshal_VOID__ENUMv
g_cclosure_marshal_VOID__FLAGS
g_cclosure_marshal_VOID__FLAGSv
g_cclosure_marshal_VOID__FLOAT
g_cclosure_marshal_VOID__FLOATv
g_cclosure_marshal_VOID__INT
g_cclosure_marshal_VOID__INTv
g_cclosure_marshal_VOID__LONG
g_cclosure_marshal_VOID__LONGv
g_cclosure_marshal_VOID__OBJECT
g_cclosure_marshal_VOID__OBJECTv
g_cclosure_marshal_VOID__PARAM
g_cclosure_marshal_VOID__PARAMv
g_cclosure_marshal_VOID__POINTER
g_cclosure_marshal_VOID__POINTERv
g_cclosure_marshal_VOID__STRING
g_cclosure_marshal_VOID__STRINGv
g_cclosure_marshal_VOID__UCHAR
g_cclosure_marshal_VOID__UCHARv
g_cclosure_marshal_VOID__UINT
g_cclosure_marshal_VOID__UINTv
g_cclosure_marshal_VOID__UINT_POINTER
g_cclosure_marshal_VOID__UINT_POINTERv
g_cclosure_marshal_VOID__ULONG
g_cclosure_marshal_VOID__ULONGv
g_cclosure_marshal_VOID__VARIANT
g_cclosure_marshal_VOID__VARIANTv
g_cclosure_marshal_VOID__VOID
g_cclosure_marshal_VOID__VOIDv
g_cclosure_new
g_cclosure_new_swap
g_closure_add_finalize_notifier
g_closure_add_invalidate_notifier
g_closure_add_marshal_guards
g_closure_invalidate
g_closure_invoke
g_closure_new_simple
g_closure_ref
g_closure_remove_finalize_notifier
g_closure_remove_invalidate_notifier
g_closure_set_marshal
g_closure_set_meta_marshal
g_closure_sink
g_closure_unref
g_signal_type_cclosure_new
g_cclosure_marshal_generic
g_cclosure_marshal_generic_va
g_enum_complete_type_info
g_enum_get_value
g_enum_get_value_by_name
g_enum_get_value_by_nick
g_enum_register_static
g_flags_complete_type_info
g_flags_get_first_value
g_flags_get_value_by_name
g_flags_get_value_by_nick
g_flags_register_static
g_value_set_enum
g_value_set_flags
g_value_get_enum
g_value_get_flags
g_io_channel_get_type
g_io_condition_get_type
g_source_set_closure
g_source_set_dummy_callback
g_cclosure_new_object
g_cclosure_new_object_swap
g_closure_new_object
g_initially_unowned_get_type
g_object_add_weak_pointer
g_object_class_find_property
g_object_class_install_property
g_object_class_install_properties
g_object_class_list_properties
g_object_class_override_property
g_object_connect
g_object_disconnect
g_object_freeze_notify
g_object_get
g_object_get_data
g_object_replace_data
g_object_dup_data
g_object_get_property
g_object_get_qdata
g_object_dup_qdata
g_object_replace_qdata
g_object_get_type
g_object_get_valist
g_object_interface_find_property
g_object_interface_install_property
g_object_interface_list_properties
g_object_new
g_object_newv
g_object_new_valist
g_object_notify
g_object_notify_by_pspec
g_object_is_floating
g_object_ref_sink
g_object_force_floating
g_object_ref
g_object_unref
g_object_remove_weak_pointer
g_object_run_dispose
g_object_set
g_object_set_data
g_object_set_data_full
g_object_set_property
g_object_set_qdata
g_object_set_qdata_full
g_object_set_valist
g_object_steal_data
g_object_steal_qdata
g_object_thaw_notify
g_object_watch_closure
g_object_weak_ref
g_object_weak_unref
g_object_add_toggle_ref
g_object_remove_toggle_ref
g_value_get_object
g_value_set_object
g_value_dup_object
g_value_take_object
g_clear_object
g_value_set_object_take_ownership
g_object_compat_control
g_signal_connect_object
g_param_spec_boolean
g_param_spec_boxed
g_param_spec_char
g_param_spec_double
g_param_spec_enum
g_param_spec_flags
g_param_spec_float
g_param_spec_int
g_param_spec_int64
g_param_spec_long
g_param_spec_object
g_param_spec_override
g_param_spec_gtype
g_param_spec_param
g_param_spec_pointer
g_param_spec_string
g_param_spec_uchar
g_param_spec_uint
g_param_spec_uint64
g_param_spec_ulong
g_param_spec_unichar
g_param_spec_value_array
g_param_spec_variant
g_param_spec_get_blurb
g_param_spec_get_name
g_param_spec_get_nick
g_param_spec_get_redirect_target
g_param_spec_internal
g_param_type_register_static
g_param_spec_ref
g_param_spec_ref_sink
g_param_spec_unref
g_param_spec_sink
g_param_spec_steal_qdata
g_param_spec_set_qdata
g_param_spec_set_qdata_full
g_param_spec_get_qdata
g_param_value_convert
g_param_value_defaults
g_param_values_cmp
g_param_value_set_default
g_param_value_validate
g_param_spec_pool_insert
g_param_spec_pool_list
g_param_spec_pool_list_owned
g_param_spec_pool_lookup
g_param_spec_pool_new
g_param_spec_pool_remove
g_value_get_param
g_value_set_param
g_value_dup_param
g_value_take_param
g_value_set_param_take_ownership
g_pointer_type_register_static
g_strdup_value_contents
g_value_set_boolean
g_value_set_char
g_value_set_double
g_value_set_float
g_value_set_int
g_value_set_int64
g_value_set_long
g_value_set_pointer
g_value_set_static_string
g_value_set_schar
g_value_set_string
g_value_set_string_take_ownership
g_value_set_uchar
g_value_set_uint
g_value_set_uint64
g_value_set_ulong
g_value_dup_string
g_value_get_boolean
g_value_get_char
g_value_get_double
g_value_get_float
g_value_get_int
g_value_get_int64
g_value_get_long
g_value_get_pointer
g_value_get_schar
g_value_get_string
g_value_get_uchar
g_value_get_uint
g_value_get_uint64
g_value_get_ulong
g_value_take_string
g_gtype_get_type
g_value_set_gtype
g_value_get_gtype
g_value_get_variant
g_value_dup_variant
g_value_set_variant
g_value_take_variant
g_signal_accumulator_first_wins
g_signal_accumulator_true_handled
g_signal_add_emission_hook
g_signal_chain_from_overridden
g_signal_chain_from_overridden_handler
g_signal_connect_closure
g_signal_connect_closure_by_id
g_signal_connect_data
g_signal_emit
g_signal_emit_by_name
g_signal_emitv
g_signal_emit_valist
g_signal_get_invocation_hint
g_signal_handler_block
g_signal_handler_disconnect
g_signal_handler_find
g_signal_handler_is_connected
g_signal_handlers_block_matched
g_signal_handlers_destroy
g_signal_handlers_disconnect_matched
g_signal_handlers_unblock_matched
g_signal_handler_unblock
g_signal_has_handler_pending
g_signal_list_ids
g_signal_lookup
g_signal_name
g_signal_new
g_signal_newv
g_signal_new_valist
g_signal_new_class_handler
g_signal_override_class_closure
g_signal_override_class_handler
g_signal_parse_name
g_signal_query
g_signal_remove_emission_hook
g_signal_set_va_marshaller
g_signal_stop_emission
g_signal_stop_emission_by_name
g_type_add_class_cache_func
g_type_add_interface_check
g_type_add_interface_dynamic
g_type_add_interface_static
g_type_check_class_cast
g_type_check_class_is_a
g_type_check_instance
g_type_check_instance_cast
g_type_check_instance_is_a
g_type_check_is_value_type
g_type_check_value
g_type_check_value_holds
g_type_children
g_type_class_add_private
g_type_class_peek
g_type_class_peek_parent
g_type_class_peek_static
g_type_class_ref
g_type_class_unref
g_type_class_unref_uncached
g_type_create_instance
g_type_default_interface_peek
g_type_default_interface_ref
g_type_default_interface_unref
g_type_depth
g_type_ensure
g_type_free_instance
g_type_from_name
g_type_fundamental
g_type_fundamental_next
g_type_get_plugin
g_type_get_qdata
g_type_get_type_registration_serial
g_type_init
g_type_init_with_debug_flags
g_type_instance_get_private
g_type_interface_add_prerequisite
g_type_interface_get_plugin
g_type_interface_peek
g_type_interface_peek_parent
g_type_interface_prerequisites
g_type_interfaces
g_type_is_a
g_type_name
g_type_name_from_class
g_type_name_from_instance
g_type_next_base
g_type_parent
g_type_qname
g_type_query
g_type_register_dynamic
g_type_register_fundamental
g_type_register_static
g_type_register_static_simple
g_type_remove_class_cache_func
g_type_remove_interface_check
g_type_set_qdata
g_type_test_flags
g_type_value_table_peek
g_type_class_get_private
g_type_add_class_private
g_type_module_add_interface
g_type_module_get_type
g_type_module_register_enum
g_type_module_register_flags
g_type_module_register_type
g_type_module_set_name
g_type_module_unuse
g_type_module_use
g_value_array_append
g_value_array_copy
g_value_array_free
g_value_array_get_nth
g_value_array_insert
g_value_array_new
g_value_array_prepend
g_value_array_remove
g_value_array_sort
g_value_array_sort_with_data
g_type_plugin_complete_interface_info
g_type_plugin_complete_type_info
g_type_plugin_get_type
g_type_plugin_unuse
g_type_plugin_use
g_value_copy
g_value_fits_pointer
g_value_init
g_value_peek_pointer
g_value_register_transform_func
g_value_reset
g_value_transform
g_value_type_compatible
g_value_type_transformable
g_value_unset
g_value_set_instance
g_param_spec_types
#ifdef INCLUDE_INTERNAL_SYMBOLS
g_slist_remove_all PRIVATE
g_unichar_validate PRIVATE
#endif
g_weak_ref_init
g_weak_ref_clear
g_weak_ref_get
g_weak_ref_set