AyatanaIndicators / libayatana-appindicator

Ayatana Application Indicators Shared Library
GNU Lesser General Public License v3.0
56 stars 13 forks source link

Correct symbols in version script file #79

Closed parona-source closed 2 months ago

parona-source commented 2 months ago

LLVM lld checks for nonexistent symbols in version scripts files. Correct symbols names to what appears to be the desired results.

Bug: https://bugs.gentoo.org/934481 Fixes: 4d97676bb5ba1a7612aed36d219cbaa978adc90e

parona-source commented 2 months ago
$ objdump -T /usr/lib64/libayatana-appindicator3.so.1.0.0
DYNAMIC SYMBOL TABLE:
0000000000000000  w   D  *UND*  0000000000000000  Base        __gmon_start__
0000000000000000  w   D  *UND*  0000000000000000  Base        __register_frame_info
0000000000000000  w   DF *UND*  0000000000000000 (GLIBC_2.2.5) __cxa_finalize
0000000000000000  w   D  *UND*  0000000000000000  Base        __deregister_frame_info
0000000000000000      DF *UND*  0000000000000000  Base        g_once_init_enter
0000000000000000      DF *UND*  0000000000000000  Base        g_once_init_leave
0000000000000000      DF *UND*  0000000000000000  Base        g_object_new
0000000000000000      DF *UND*  0000000000000000  Base        g_type_check_instance_is_a
0000000000000000      DF *UND*  0000000000000000  Base        g_return_if_fail_warning
0000000000000000      DF *UND*  0000000000000000  Base        g_enum_get_value
0000000000000000      DF *UND*  0000000000000000  Base        g_type_class_ref
0000000000000000      DF *UND*  0000000000000000  Base        g_signal_emit
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_connection_emit_signal
0000000000000000      DF *UND*  0000000000000000  Base        g_variant_new
0000000000000000      DF *UND*  0000000000000000  Base        g_log
0000000000000000      DF *UND*  0000000000000000  Base        g_error_free
0000000000000000      DF *UND*  0000000000000000  Base        g_strcmp0
0000000000000000      DF *UND*  0000000000000000  Base        g_free
0000000000000000      DF *UND*  0000000000000000  Base        g_object_set
0000000000000000      DF *UND*  0000000000000000  Base        gtk_menu_get_type
0000000000000000      DF *UND*  0000000000000000  Base        g_object_unref
0000000000000000      DF *UND*  0000000000000000  Base        g_object_ref_sink
0000000000000000      DF *UND*  0000000000000000  Base        g_signal_handlers_disconnect_matched
0000000000000000      DF *UND*  0000000000000000  Base        gtk_widget_get_type
0000000000000000      DF *UND*  0000000000000000  Base        g_object_ref
0000000000000000      DF *UND*  0000000000000000  Base        g_signal_connect_data
0000000000000000      DF *UND*  0000000000000000  Base        indicator_desktop_shortcuts_new
0000000000000000      DF *UND*  0000000000000000  Base        indicator_desktop_shortcuts_get_nicks
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_menuitem_new
0000000000000000      DF *UND*  0000000000000000  Base        g_object_set_data
0000000000000000      DF *UND*  0000000000000000  Base        indicator_desktop_shortcuts_nick_get_name
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_menuitem_property_set
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_menuitem_child_append
0000000000000000      DF *UND*  0000000000000000  Base        g_strdup_printf
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_server_new
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_server_set_root
0000000000000000      DF *UND*  0000000000000000  Base        g_type_register_static_simple
0000000000000000      DF *UND*  0000000000000000  Base        g_intern_static_string
0000000000000000      DF *UND*  0000000000000000  Base        g_type_add_instance_private
0000000000000000      DF *UND*  0000000000000000  Base        g_type_class_peek_parent
0000000000000000      DF *UND*  0000000000000000  Base        g_type_class_adjust_private_offset
0000000000000000      DF *UND*  0000000000000000  Base        g_object_class_install_property
0000000000000000      DF *UND*  0000000000000000  Base        g_param_spec_string
0000000000000000      DF *UND*  0000000000000000  Base        g_param_spec_boolean
0000000000000000      DF *UND*  0000000000000000  Base        g_param_spec_uint
0000000000000000      DF *UND*  0000000000000000  Base        g_param_spec_object
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_server_get_type
0000000000000000      DF *UND*  0000000000000000  Base        g_signal_new
0000000000000000      DF *UND*  0000000000000000  Base        g_cclosure_marshal_VOID__VOID
0000000000000000      DF *UND*  0000000000000000  Base        g_cclosure_marshal_VOID__STRING
0000000000000000      DF *UND*  0000000000000000  Base        g_cclosure_marshal_VOID__BOOLEAN
0000000000000000      DF *UND*  0000000000000000  Base        gdk_scroll_direction_get_type
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_node_info_new_for_xml
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_node_info_lookup_interface
0000000000000000      DF *UND*  0000000000000000  Base        g_source_remove
0000000000000000      DF *UND*  0000000000000000  Base        g_bus_unwatch_name
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_connection_unregister_object
0000000000000000      DF *UND*  0000000000000000  Base        gtk_icon_theme_get_default
0000000000000000      DF *UND*  0000000000000000  Base        g_value_get_string
0000000000000000      DF *UND*  0000000000000000  Base        g_enum_get_value_by_nick
0000000000000000      DF *UND*  0000000000000000  Base        g_value_dup_string
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_set_title
0000000000000000      DF *UND*  0000000000000000  Base        g_value_get_uint
0000000000000000      DF *UND*  0000000000000000  Base        g_value_dup_object
0000000000000000      DF *UND*  0000000000000000  Base        g_type_name
0000000000000000      DF *UND*  0000000000000000  Base        g_idle_add
0000000000000000      DF *UND*  0000000000000000  Base        g_value_set_string
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_proxy_get_name_owner
0000000000000000      DF *UND*  0000000000000000  Base        g_value_set_boolean
0000000000000000      DF *UND*  0000000000000000  Base        g_value_set_uint
0000000000000000      DF *UND*  0000000000000000  Base        g_value_set_object
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_new
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_set_name
0000000000000000      DF *UND*  0000000000000000  Base        gtk_icon_theme_get_search_path
0000000000000000      DF *UND*  0000000000000000  Base        g_strfreev
0000000000000000      DF *UND*  0000000000000000  Base        gtk_icon_theme_append_search_path
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_set_visible
0000000000000000      DF *UND*  0000000000000000  Base        g_file_test
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_set_from_file
0000000000000000      DF *UND*  0000000000000000  Base        gtk_icon_theme_has_icon
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_set_from_icon_name
0000000000000000      DF *UND*  0000000000000000 (GLIBC_2.2.5) strlen
0000000000000000      DF *UND*  0000000000000000  Base        gtk_menu_popup
0000000000000000      DF *UND*  0000000000000000  Base        gtk_status_icon_position_menu
0000000000000000      DF *UND*  0000000000000000  Base        gtk_get_current_event_time
0000000000000000      DF *UND*  0000000000000000  Base        gtk_widget_get_allocation
0000000000000000      DF *UND*  0000000000000000  Base        gtk_widget_get_visible
0000000000000000      DF *UND*  0000000000000000  Base        gtk_widget_get_sensitive
0000000000000000      DF *UND*  0000000000000000  Base        gtk_widget_activate
0000000000000000      DF *UND*  0000000000000000  Base        g_bus_watch_name
0000000000000000      DF *UND*  0000000000000000  Base        g_bus_get
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_proxy_new
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_proxy_new_finish
0000000000000000      DF *UND*  0000000000000000  Base        g_timeout_add
0000000000000000      DF *UND*  0000000000000000  Base        g_bus_get_finish
0000000000000000      DF *UND*  0000000000000000  Base        g_strdup
0000000000000000      DF *UND*  0000000000000000 (GLIBC_2.3)  realpath
0000000000000000      DF *UND*  0000000000000000  Base        g_str_has_prefix
0000000000000000      DF *UND*  0000000000000000  Base        g_get_home_dir
0000000000000000      DF *UND*  0000000000000000  Base        g_get_user_cache_dir
0000000000000000      DF *UND*  0000000000000000  Base        g_get_user_config_dir
0000000000000000      DF *UND*  0000000000000000  Base        g_get_user_data_dir
0000000000000000      DF *UND*  0000000000000000  Base        g_get_user_runtime_dir
0000000000000000      DF *UND*  0000000000000000  Base        g_get_user_special_dir
0000000000000000      DF *UND*  0000000000000000  Base        g_build_path
0000000000000000      DF *UND*  0000000000000000  Base        g_getenv
0000000000000000      DF *UND*  0000000000000000  Base        dbusmenu_gtk_parse_menu_structure
0000000000000000      DF *UND*  0000000000000000  Base        gtk_widget_get_parent
0000000000000000      DF *UND*  0000000000000000  Base        gtk_menu_get_attach_widget
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_connection_register_object
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_proxy_call
0000000000000000      DF *UND*  0000000000000000  Base        g_variant_get
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_method_invocation_return_value
0000000000000000      DF *UND*  0000000000000000  Base        g_variant_new_string
0000000000000000      DF *UND*  0000000000000000  Base        g_get_application_name
0000000000000000      DF *UND*  0000000000000000  Base        g_value_init
0000000000000000      DF *UND*  0000000000000000  Base        g_object_get_property
0000000000000000      DF *UND*  0000000000000000  Base        g_value_unset
0000000000000000      DF *UND*  0000000000000000  Base        g_variant_new_uint32
0000000000000000      DF *UND*  0000000000000000  Base        g_error_new
0000000000000000      DF *UND*  0000000000000000  Base        g_dbus_proxy_call_finish
0000000000000000      DF *UND*  0000000000000000  Base        g_variant_unref
0000000000000000      DF *UND*  0000000000000000  Base        g_object_get_data
0000000000000000      DF *UND*  0000000000000000  Base        indicator_desktop_shortcuts_nick_exec_with_context
0000000000000000      DO *UND*  0000000000000000  Base        g_ascii_table
0000000000000000      DF *UND*  0000000000000000  Base        g_enum_register_static
0000000000000000      DF *UND*  0000000000000000  Base        g_value_peek_pointer
0000000000000000      DF *UND*  0000000000000000 (GLIBC_2.4)  __stack_chk_fail
0000000000007680 g    DF .text  00000000000001e9  Base        app_indicator_set_status
0000000000009010 g    DF .text  0000000000000089  Base        app_indicator_get_label
0000000000008280 g    DF .text  00000000000001bf  Base        app_indicator_set_menu
0000000000008c20 g    DF .text  0000000000000089  Base        app_indicator_get_icon
0000000000009130 g    DF .text  0000000000000100  Base        app_indicator_get_ordering_index
00000000000092c0 g    DF .text  0000000000000204  Base        app_indicator_build_menu_from_desktop
0000000000007430 g    DF .text  0000000000000049  Base        app_indicator_get_type
00000000000075a0 g    DF .text  00000000000000d1  Base        app_indicator_new_with_path
0000000000007870 g    DF .text  000000000000000b  Base        app_indicator_set_attention_icon
00000000000087b0 g    DF .text  0000000000000163  Base        app_indicator_set_secondary_activate_target
0000000000008ef0 g    DF .text  0000000000000089  Base        app_indicator_get_title
00000000000074e0 g    DF .text  00000000000000c0  Base        app_indicator_new
0000000000008040 g    DF .text  0000000000000236  Base        app_indicator_set_icon_theme_path
0000000000007880 g    DF .text  0000000000000240  Base        app_indicator_set_attention_icon_full
0000000000007f70 g    DF .text  00000000000000c1  Base        app_indicator_set_label
0000000000008b90 g    DF .text  0000000000000088  Base        app_indicator_get_status
0000000000008e60 g    DF .text  000000000000008c  Base        app_indicator_get_attention_icon_desc
0000000000007d10 g    DF .text  000000000000000b  Base        app_indicator_set_icon
0000000000008710 g    DF .text  0000000000000097  Base        app_indicator_set_ordering_index
0000000000008a70 g    DF .text  0000000000000088  Base        app_indicator_get_id
0000000000008f80 g    DF .text  0000000000000089  Base        app_indicator_get_menu
00000000000090a0 g    DF .text  0000000000000089  Base        app_indicator_get_label_guide
000000000000c140 g    DF .text  0000000000000039  Base        app_indicator_status_get_type
00000000000089c0 g    DF .text  00000000000000ac  Base        app_indicator_set_title
0000000000008b00 g    DF .text  0000000000000088  Base        app_indicator_get_category
0000000000008dd0 g    DF .text  0000000000000089  Base        app_indicator_get_attention_icon
0000000000009230 g    DF .text  0000000000000089  Base        app_indicator_get_secondary_activate_target
0000000000000000 g    D  *ABS*  0000000000000000  Base        __gentoo_check_ldflags__
0000000000007d20 g    DF .text  000000000000024e  Base        app_indicator_set_icon_full
0000000000008cb0 g    DF .text  000000000000008c  Base        app_indicator_get_icon_desc
0000000000008d40 g    DF .text  0000000000000089  Base        app_indicator_get_icon_theme_path
000000000000c100 g    DF .text  0000000000000039  Base        app_indicator_category_get_type
sunweaver commented 2 months ago

Closing, pushed to master (but Github is too stupid to realize it): https://github.com/AyatanaIndicators/libayatana-appindicator/commit/e3c1dba0945518840a7674e6b244ecbc4892d29f