Re: [linux-minidisc] qhimdtransfer windows autoupdate feature


Am 25.01.2013 23:12, schrieb Thomas Arp:
I tried to compile winsparkle with gcc/g++ but it seems that some basic definitions/implementations in msvc are not really compatible with implementations in libstdc++ used by gcc. I have to patch the winsparkle source code to make it compilable with gcc so i decided to offer a definition file for now.

Sorry, definition file is missing in the last patch.

Thomas
>From b92f894978d30859bb49c1eeb559f93d2f2897fe Mon Sep 17 00:00:00 2001
From: Thomas Arp <manner.moe@gmx.de>
Date: Fri, 25 Jan 2013 23:25:18 +0100
Subject: [PATCH 3/3] added missing definition file for WinSparkle.dll

---
 qhimdtransfer/win32/winsparkle.def | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 qhimdtransfer/win32/winsparkle.def

diff --git a/qhimdtransfer/win32/winsparkle.def b/qhimdtransfer/win32/winsparkle.def
new file mode 100644
index 0000000..fe7a282
--- /dev/null
+++ b/qhimdtransfer/win32/winsparkle.def
@@ -0,0 +1,11 @@
+; this is the definition file for WinSparkle.dll version 0.3
+; use libtool to create an import library, gcc cannot directly link to WinSparkle.dll because it is built with msvc
+; if function names change in future versions of WinSparkle.dll this file have to be updated
+LIBRARY WinSparkle.dll
+EXPORTS
+win_sparkle_set_appcast_url
+win_sparkle_set_app_details
+win_sparkle_init
+win_sparkle_check_update_with_ui
+win_sparkle_cleanup
+win_sparkle_set_registry_path
-- 
1.8.0.msysgit.0