[libsoup] libsoup: add a "make check" rule to verify libsoup-2.4.sym



commit 4cb48a0be49acbfa5990cfb332f314ad39f72549
Author: Dan Winship <danw gnome org>
Date:   Mon Oct 6 09:37:25 2014 -0400

    libsoup: add a "make check" rule to verify libsoup-2.4.sym
    
    Add a "make check" rule to verify libsoup-2.4.sym (which requires
    fixing some incorrect sorting as well).

 libsoup/Makefile.am     |    8 +++++
 libsoup/libsoup-2.4.sym |   66 +++++++++++++++++++++++-----------------------
 2 files changed, 41 insertions(+), 33 deletions(-)
---
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 25a8dc1..3e34a09 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -295,3 +295,11 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
 CLEANFILES = $(gir_DATA) $(typelib_DATA) $(BUILT_SOURCES)
 
 endif
+
+check-local:
+       @echo Checking libsoup-2.4.so symbols
+       @nm $(builddir)/.libs/libsoup-2.4.so | \
+               grep "^[[:xdigit:]]\+ [BTR] " | \
+               sed "s/^[[:xdigit:]]\+ [BTR] //" | \
+               env LANG=C sort -u | \
+               diff -U0 $(srcdir)/libsoup-2.4.sym - >&2
diff --git a/libsoup/libsoup-2.4.sym b/libsoup/libsoup-2.4.sym
index 3dd92dd..6636a7e 100644
--- a/libsoup/libsoup-2.4.sym
+++ b/libsoup/libsoup-2.4.sym
@@ -1,6 +1,28 @@
+_SOUP_METHOD_CONNECT
+_SOUP_METHOD_COPY
+_SOUP_METHOD_DELETE
+_SOUP_METHOD_GET
+_SOUP_METHOD_HEAD
+_SOUP_METHOD_LOCK
+_SOUP_METHOD_MKCOL
+_SOUP_METHOD_MOVE
+_SOUP_METHOD_OPTIONS
+_SOUP_METHOD_POST
+_SOUP_METHOD_PROPFIND
+_SOUP_METHOD_PROPPATCH
+_SOUP_METHOD_PUT
+_SOUP_METHOD_TRACE
+_SOUP_METHOD_UNLOCK
+_SOUP_URI_SCHEME_DATA
+_SOUP_URI_SCHEME_FILE
+_SOUP_URI_SCHEME_FTP
+_SOUP_URI_SCHEME_HTTP
+_SOUP_URI_SCHEME_HTTPS
+_SOUP_URI_SCHEME_RESOURCE
 soup_add_completion
 soup_add_idle
 soup_add_io_watch
+soup_add_timeout
 soup_address_equal_by_ip
 soup_address_equal_by_name
 soup_address_family_get_type
@@ -18,7 +40,6 @@ soup_address_new_any
 soup_address_new_from_sockaddr
 soup_address_resolve_async
 soup_address_resolve_sync
-soup_add_timeout
 soup_auth_authenticate
 soup_auth_basic_get_type
 soup_auth_digest_get_type
@@ -71,7 +92,6 @@ soup_buffer_new_subbuffer
 soup_buffer_new_take
 soup_buffer_new_with_owner
 soup_byte_array_get_type
-soup_cacheability_get_type
 soup_cache_clear
 soup_cache_dump
 soup_cache_flush
@@ -82,6 +102,7 @@ soup_cache_new
 soup_cache_response_get_type
 soup_cache_set_max_size
 soup_cache_type_get_type
+soup_cacheability_get_type
 soup_char_attributes
 soup_check_version
 soup_client_context_get_address
@@ -141,14 +162,14 @@ soup_cookie_set_name
 soup_cookie_set_path
 soup_cookie_set_secure
 soup_cookie_set_value
+soup_cookie_to_cookie_header
+soup_cookie_to_set_cookie_header
 soup_cookies_free
 soup_cookies_from_request
 soup_cookies_from_response
 soup_cookies_to_cookie_header
 soup_cookies_to_request
 soup_cookies_to_response
-soup_cookie_to_cookie_header
-soup_cookie_to_set_cookie_header
 soup_date_copy
 soup_date_format_get_type
 soup_date_free
@@ -232,8 +253,8 @@ soup_message_flags_get_type
 soup_message_get_address
 soup_message_get_first_party
 soup_message_get_flags
-soup_message_get_https_status
 soup_message_get_http_version
+soup_message_get_https_status
 soup_message_get_priority
 soup_message_get_soup_request
 soup_message_get_type
@@ -322,12 +343,6 @@ soup_proxy_uri_resolver_get_proxy_uri_async
 soup_proxy_uri_resolver_get_proxy_uri_sync
 soup_proxy_uri_resolver_get_type
 soup_request_data_get_type
-soup_requester_error_get_type
-soup_requester_error_quark
-soup_requester_get_type
-soup_requester_new
-soup_requester_request
-soup_requester_request_uri
 soup_request_error_get_type
 soup_request_error_quark
 soup_request_file_get_file
@@ -342,6 +357,12 @@ soup_request_http_get_type
 soup_request_send
 soup_request_send_async
 soup_request_send_finish
+soup_requester_error_get_type
+soup_requester_error_quark
+soup_requester_get_type
+soup_requester_new
+soup_requester_request
+soup_requester_request_uri
 soup_server_add_auth_domain
 soup_server_add_handler
 soup_server_disconnect
@@ -356,8 +377,8 @@ soup_server_listen
 soup_server_listen_all
 soup_server_listen_fd
 soup_server_listen_local
-soup_server_listen_socket
 soup_server_listen_options_get_type
+soup_server_listen_socket
 soup_server_new
 soup_server_pause_message
 soup_server_quit
@@ -496,24 +517,3 @@ soup_xmlrpc_parse_method_response
 soup_xmlrpc_request_new
 soup_xmlrpc_set_fault
 soup_xmlrpc_set_response
-_SOUP_METHOD_CONNECT
-_SOUP_METHOD_COPY
-_SOUP_METHOD_DELETE
-_SOUP_METHOD_GET
-_SOUP_METHOD_HEAD
-_SOUP_METHOD_LOCK
-_SOUP_METHOD_MKCOL
-_SOUP_METHOD_MOVE
-_SOUP_METHOD_OPTIONS
-_SOUP_METHOD_POST
-_SOUP_METHOD_PROPFIND
-_SOUP_METHOD_PROPPATCH
-_SOUP_METHOD_PUT
-_SOUP_METHOD_TRACE
-_SOUP_METHOD_UNLOCK
-_SOUP_URI_SCHEME_DATA
-_SOUP_URI_SCHEME_FILE
-_SOUP_URI_SCHEME_FTP
-_SOUP_URI_SCHEME_HTTP
-_SOUP_URI_SCHEME_HTTPS
-_SOUP_URI_SCHEME_RESOURCE


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