[SCM] gmtk/master: Add patch to hide private symbols and update symbols files.

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Wed Jan 4 23:53:08 UTC 2012


The following commit has been merged in the master branch:
commit 3f18ef3578e1dcb12b4327c779b435f07423efdc
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date:   Thu Jan 5 00:51:17 2012 +0100

    Add patch to hide private symbols and update symbols files.

diff --git a/debian/libgmlib0.symbols b/debian/libgmlib0.symbols
index b5865e6..2978673 100644
--- a/debian/libgmlib0.symbols
+++ b/debian/libgmlib0.symbols
@@ -1,9 +1,5 @@
 libgmlib.so.0 libgmlib0 #MINVER#
- asx_end_element at Base 1.0.5
- asx_start_element at Base 1.0.5
- free_list_item at Base 1.0.5
  g_strv_new at Base 1.0.5
- get_alsa_volume at Base 1.0.5
  gm_audio_alsa_monitor at Base 1.0.5
  gm_audio_context at Base 1.0.5
  gm_audio_context_state_callback at Base 1.0.5
@@ -41,4 +37,3 @@ libgmlib.so.0 libgmlib0 #MINVER#
  gm_str_strip_unicode at Base 1.0.5
  gm_str_unreplace_amp at Base 1.0.5
  gm_tempname at Base 1.0.5
- set_alsa_volume at Base 1.0.5
diff --git a/debian/libgmtk0.symbols b/debian/libgmtk0.symbols
index 97e4826..703bb66 100644
--- a/debian/libgmtk0.symbols
+++ b/debian/libgmtk0.symbols
@@ -1,11 +1,4 @@
 libgmtk.so.0 libgmtk0 #MINVER#
- context_state_callback at Base 1.0.5
- create_event_allocation at Base 1.0.5
- create_event_boolean at Base 1.0.5
- create_event_double at Base 1.0.5
- create_event_int at Base 1.0.5
- detect_mplayer_features at Base 1.0.5
- gm_seconds_to_string at Base 1.0.5
  gmtk_audio_meter_get_type at Base 1.0.5
  gmtk_audio_meter_new at Base 1.0.5
  gmtk_audio_meter_set_data at Base 1.0.5
@@ -65,12 +58,3 @@ libgmtk.so.0 libgmtk0 #MINVER#
  gmtk_output_combo_box_get_type at Base 1.0.5
  gmtk_output_combo_box_new at Base 1.0.5
  gmtk_version at Base 1.0.5
- launch_mplayer at Base 1.0.5
- pa_sink_cb at Base 1.0.5
- signal_event at Base 1.0.5
- sort_iter_compare_func at Base 1.0.5
- thread_complete at Base 1.0.5
- thread_query at Base 1.0.5
- thread_reader at Base 1.0.5
- thread_reader_error at Base 1.0.5
- write_to_mplayer at Base 1.0.5
diff --git a/debian/patches/0002-hide-private-symbols.patch b/debian/patches/0002-hide-private-symbols.patch
new file mode 100644
index 0000000..e687b17
--- /dev/null
+++ b/debian/patches/0002-hide-private-symbols.patch
@@ -0,0 +1,20 @@
+--- a/src/Makefile.am	2012-01-05 00:39:41.619006735 +0100
++++ b/src/Makefile.am	2012-01-05 00:40:30.512547871 +0100
+@@ -31,7 +31,7 @@
+ 	$(ALSA_CFLAGS) \
+ 	$(PULSE_CFLAGS)	
+ 
+-libgmtk_la_LDFLAGS = -L.libs
++libgmtk_la_LDFLAGS = -L.libs -export-symbols-regex '^gmtk_'
+ 
+ libgmtk_la_LIBADD = \
+     -lgmlib \
+@@ -65,7 +65,7 @@
+ 	$(ALSA_CFLAGS) \
+ 	$(PULSE_CFLAGS)	
+ 
+-libgmlib_la_LDFLAGS = 
++libgmlib_la_LDFLAGS = -export-symbols-regex '^gm_|^g_strv_new'
+ 
+ libgmlib_la_LIBADD = \
+     $(LIBS) \
diff --git a/debian/patches/series b/debian/patches/series
index 405151d..2c3ec42 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-fix-buildsystem.patch
+0002-hide-private-symbols.patch

-- 
gmtk packaging



More information about the pkg-multimedia-commits mailing list