Remove now superfluous libratbag.sym

We don't ship a library anymore, so dealing with library symbols isn't
necessary.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-09-07 11:24:49 +10:00
committed by Benjamin Tissoires
parent db34ab5255
commit 0153efbf9c
3 changed files with 0 additions and 125 deletions

View File

@@ -409,11 +409,6 @@ if enable_tests
install : false)
endif
test_symbols_leak = find_program('test/symbols-leak-test')
test('symbols-leak-test',
test_symbols_leak,
args : [ meson.current_source_dir() ])
#### ratbagd ####
src_ratbagd = [
'src/shared-macro.h',

View File

@@ -1,98 +0,0 @@
/* in alphabetical order! */
LIBRATBAG_0.5.0 {
global:
ratbag_create_context;
ratbag_button_disable;
ratbag_button_get_action_type;
ratbag_button_get_type;
ratbag_button_get_button;
ratbag_button_get_key;
ratbag_button_get_macro;
ratbag_button_get_special;
ratbag_button_get_user_data;
ratbag_button_has_action_type;
ratbag_button_macro_get_event_key;
ratbag_button_macro_get_event_timeout;
ratbag_button_macro_get_event_type;
ratbag_button_macro_get_name;
ratbag_button_macro_get_num_events;
ratbag_button_macro_new;
ratbag_button_macro_ref;
ratbag_button_macro_set_event;
ratbag_button_macro_unref;
ratbag_button_ref;
ratbag_button_set_button;
ratbag_button_set_key;
ratbag_button_set_macro;
ratbag_button_set_special;
ratbag_button_set_user_data;
ratbag_button_unref;
ratbag_device_commit;
ratbag_device_get_name;
ratbag_device_get_num_buttons;
ratbag_device_get_num_profiles;
ratbag_device_get_profile;
ratbag_device_get_svg_name;
ratbag_device_get_user_data;
ratbag_device_has_capability;
ratbag_device_new_from_udev_device;
ratbag_device_new_test_device;
ratbag_device_ref;
ratbag_device_set_user_data;
ratbag_device_unref;
ratbag_get_user_data;
ratbag_log_get_priority;
ratbag_log_set_handler;
ratbag_log_set_priority;
ratbag_profile_get_led;
ratbag_led_get_mode;
ratbag_led_get_type;
ratbag_led_get_color;
ratbag_led_get_effect_rate;
ratbag_led_get_brightness;
ratbag_led_ref;
ratbag_led_set_mode;
ratbag_led_set_color;
ratbag_led_set_effect_rate;
ratbag_led_set_brightness;
ratbag_led_unref;
ratbag_device_get_num_leds;
ratbag_profile_get_button;
ratbag_profile_get_name;
ratbag_profile_get_num_resolutions;
ratbag_profile_get_resolution;
ratbag_profile_get_user_data;
ratbag_profile_has_capability;
ratbag_profile_is_active;
ratbag_profile_is_enabled;
ratbag_profile_ref;
ratbag_profile_set_user_data;
ratbag_profile_set_active;
ratbag_profile_set_enabled;
ratbag_profile_set_name;
ratbag_profile_unref;
ratbag_resolution_get_dpi;
ratbag_resolution_get_dpi_maximum;
ratbag_resolution_get_dpi_minimum;
ratbag_resolution_get_dpi_x;
ratbag_resolution_get_dpi_y;
ratbag_resolution_get_report_rate;
ratbag_resolution_get_user_data;
ratbag_resolution_has_capability;
ratbag_resolution_is_active;
ratbag_resolution_is_default;
ratbag_resolution_ref;
ratbag_resolution_set_active;
ratbag_resolution_set_default;
ratbag_resolution_set_dpi;
ratbag_resolution_set_dpi_xy;
ratbag_resolution_set_report_rate;
ratbag_resolution_set_user_data;
ratbag_resolution_unref;
ratbag_ref;
ratbag_set_user_data;
ratbag_unref;
local:
*;
};

View File

@@ -1,22 +0,0 @@
#!/bin/bash
### simple check for exported symbols
TOP_SRCDIR="$1"
if [ -z "$TOP_SRCDIR" ]; then
echo "usage: $0 path/to/top_srcdir"
exit 1
fi
# make bash exit if any command will exit with non-0 return value
set -e
# make sure the paths are alright
diff -a -u \
<(cat "$TOP_SRCDIR"/src/libratbag.sym | \
grep '^\s\+ratbag_.*' | \
sed -e 's/^\s\+\(.*\);/\1/' | sort) \
<(cat "$TOP_SRCDIR"/src/*.c | \
grep LIBRATBAG_EXPORT -A 1 | grep '^ratbag_.*' | \
sed -e 's/(.*//' | sort)