<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><span style="font-family: garamond, 'new york', times, serif;">updated again with autolaunch so that dbus works and dbus-python doesn't throw exceptions.</span></div><div><span style="font-family: garamond, 'new york', times, serif;"><br></span></div><div><span style="font-family: garamond, 'new york', times, serif;">They are attached the this ticket:</span></div><div><span style="font-family: garamond, 'new york', times, serif;"><span style="font-family: 'times new roman', 'new york', times, serif; ">https://bugs.freedesktop.org/show_bug.cgi?id=51580</span> <br></span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; "> </div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><span style="font-family: garamond, times, serif;
">Thanks,<br>Mark Mikofski<br><a rel="nofollow" target="_blank" href="http://poquitopicante.blogspot.com/">poquitopicante.blogspot.com</a><br><a rel="nofollow" target="_blank" href="http://breakingbytes.blogspot.com/">breakingbytes.blogspot.com</a><br><a rel="nofollow" target="_blank" href="http://www.breaking-bytes.com/">www.breaking-bytes.com</a></span></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><br></div> <div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Mark Mikofski <bwanamarko@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "dbus@lists freedesktop. org" <dbus@lists.freedesktop.org>; "simon.mcvittie@collabora.co.uk"
<simon.mcvittie@collabora.co.uk> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, July 8, 2012 10:51 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: help linking to python for dbus-python bindings<br> </font> </div> <br>
<div id="yiv1152649203"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit;"><div>I attached instructions to install dbus-python on windows using mingw32 for review to this ticket:</div>
<div>https://bugs.freedesktop.org/show_bug.cgi?id=51580 <br><br><br></div>
<div>Sent from Yahoo! Mail on Android <br><br><br></div>
<div>Sent from Yahoo! Mail on Android</div>
</td></tr></tbody></table> <div id="yiv1152649203_origMsg_">
<div style="font-family:arial, helvetica,;">
<br>
<div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">
<font size="2" face="Tahoma">
<hr size="1">
<b>
<span style="font-weight:bold;">From:</span>
</b>
Simon McVittie <simon.mcvittie@collabora.co.uk>; <br>
<b>
<span style="">To:</span>
</b>
<dbus@lists.freedesktop.org>; <br>
<b>
<span style="">Subject:</span>
</b>
Re: help linking to python for dbus-python bindings <br>
<b>
<span style="font-weight:bold;">Sent:</span>
</b>
Thu, Jul 5, 2012 11:01:55 AM <br>
</font>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" style="font:inherit;">On 05/07/12 06:08, Mark Mikofski wrote:<br>> *IT WORKS!*<br><br>Good to know. I've merged the wip-windows branch, so the next<br>dbus-python release will be similar to the snapshot you used.<br><br>Since you are now the world's foremost expert on compiling dbus-python<br>with mingw, would you mind writing a text file with instructions that<br>can go in the doc directory?<br><br>Instructions for compiling dbus-glib with mingw, or any patches you<br>needed to use, would also be very welcome.<br><br>> Also, I'm hopeful for the cmake build, because the win32 python is<br>> build on msvc90, and uses that redist for extensions, altho<br>> supposedly alt compilers can also be used (I've yet to test this -<br>> but I guess mingw-gcc-4.7 works!). Of course this will pose another<br>> issue for dbus-glib, which I haven't successfully built with msvc.<br><br>I
believe mixing compilers is normally only a problem if you share FILE<br>objects across library boundaries (which dbus, dbus-glib and dbus-python<br>don't), or if you use C++ (which those projects don't). So, you should<br>be OK here.<br><br>> Question on merging the cmake branch - have Ralf Habacker's KDE patches<br>> [1] been merged?<br><br>If nobody has told the bug tracker about them, then most likely no.<br><br>> I guess maybe it would be nice to<br>> have all of the windows ports sync'd upstream (as was done for dbus) so<br>> there is a single source.<br><br>If people who have forked it want this to happen, the first step is to<br>put patches on the bug tracker for review. I do not periodically Google<br>for "dbus-python patch" or anything like that :-)<br><br>> Also, maybe I should have filed a bug, but I think it's an automake bug<br>> in python.m4 [2] not in dbus-python. The command that finds the python<br>> package
directory, gets mangled on windows because it doesn't pad the<br>> backslashes with an extra backslash, so everything get run together,<br>> e.g. ${prefix}Libsite-packages, instead of<br>> ${prefix}\\Lib\\site-packages. My fix is to edit the configure file and<br>> add ".replace('\\\\\','/')" to those lines. Then it works on windows.<br><br>That might be a bug in Automake, yes. You should be able to work around<br>it by putting am_cv_python_pythondir on the configure command line,<br>something like:<br><br> ./configure [... other stuff ...] \<br> am_cv_python_pythondir='/opt/python/Lib/site-packages'<br><br>(If you set a *_cv_* variable - a "cached value" - like this, Autoconf<br>will trust what you say, and not do the automatic check it usually would.)<br><br>> Also, I am still getting the following warnings during make:<br>> <br>> libtool: link: warning: undefined symbols not
allowed in<br>> i686-pc-mingw32 sharedlibraries<br><br>If it otherwise works, this warning is probably harmless. If there are<br>undefined symbols in the extension, I'd need to know which symbols they<br>are (preferably on a bug report).<br><br> S<br>_______________________________________________<br>dbus mailing list<br><a rel="nofollow" href="">dbus@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/dbus<br></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div><br><br> </div> </div> </div></body></html>