[gtk-builder-win] atk: export all the symbols with a regex
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-builder-win] atk: export all the symbols with a regex
- Date: Sat, 12 Jul 2014 15:37:45 +0000 (UTC)
commit 00a562901bbc3f700b766c1d1aa6fb69a21c7324
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Jul 12 17:36:46 2014 +0200
atk: export all the symbols with a regex
We need this since there are some symbols that do not get exported
using the def file. Dunno whether we should just fix the def file
or go with this approach in order to get g-i working
win32/libs/21_atk.bat | 2 ++
win32/libs/21_atk/export-regex.patch | 11 +++++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/win32/libs/21_atk.bat b/win32/libs/21_atk.bat
index 4609123..1194432 100644
--- a/win32/libs/21_atk.bat
+++ b/win32/libs/21_atk.bat
@@ -10,6 +10,8 @@ xz -d -k -f atk-$VERSION.tar.xz
tar -xf atk-$VERSION.tar
cd atk-$VERSION
+echo export all the symbols using a regex, this is needed for gobject introspection
+patch -p1 < ../export-regex.patch
echo Compile...
diff --git a/win32/libs/21_atk/export-regex.patch b/win32/libs/21_atk/export-regex.patch
new file mode 100644
index 0000000..6a58671
--- /dev/null
+++ b/win32/libs/21_atk/export-regex.patch
@@ -0,0 +1,11 @@
+--- atk-2.12.0/atk/Makefile.in.orig 2014-07-12 17:32:08 +0200
++++ atk-2.12.0/atk/Makefile.in 2014-07-12 17:32:14 +0200
+@@ -84,7 +84,7 @@
+ @HAVE_INTROSPECTION_TRUE am__append_2 = $(gir_DATA) $(typelibs_DATA)
+
+ # ---------- Win32 stuff ----------
+- OS_WIN32_TRUE@am__append_3 = -export-symbols atk.def -no-undefined -Wl,atk-win32-res.o
++ OS_WIN32_TRUE@am__append_3 = -export-symbols-regex '^atk_' -no-undefined -Wl,atk-win32-res.o
+ @OS_WIN32_FALSE libatk_1_0_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ @OS_WIN32_FALSE@ $(am__DEPENDENCIES_1)
+ subdir = atk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]