<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>droneCode.org.uk</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/" />
    <link rel="self" type="application/atom+xml" href="http://www.dronecode.org.uk/daybook/atom.xml" />
    <id>tag:www.dronecode.org.uk,2008-10-16:/daybook//1</id>
    <updated>2011-03-25T14:59:55Z</updated>
    <subtitle>memoirs of a low-level coding drone</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>

<entry>
    <title>Cygwin packages available on dronecode</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2011/03/cygwin-packages-available-on-dronecode.html" />
    <id>tag:www.dronecode.org.uk,2011:/daybook//1.31</id>

    <published>2011-03-16T18:55:10Z</published>
    <updated>2011-03-25T14:59:55Z</updated>

    <summary>Since it&apos;s now much easier to install packages from additional repositories using Cygwin setup, I suppose I should mention what&apos;s available from http://www.dronecode.org.uk/cygwin/ As well as using that to stage releases of the Cygwin/X xorg-server package to test they are...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[Since it's now much easier to install packages from additional repositories using Cygwin setup, I suppose I should mention what's available from <a href="http://www.dronecode.org.uk/cygwin/">http://www.dronecode.org.uk/cygwin/</a> <br /><br />As well as using that to stage releases of the Cygwin/X xorg-server package to test they are installable, it also has a few packages which might be of use to someone:<br /><br /><ul><li><b>mesademos </b>containing all the mesa OpenGL demo and test programs</li><li><b>xscreensaver</b> useful for OpenGL testing, not so much as a screensaver.&nbsp; <i>It's left as an excercise for the reader to write a native .scr screensaver which starts an X server using&nbsp; -displayfd and then runs the X screensaver on that server :-)</i></li><li><b>glean</b> OpenGL test and benchmarking suite<i><br /></i></li><li><b>buildbot-slave</b></li><li><b>llvm</b> and <b>llvm-gcc </b>some experimental llvm packages<br /></li></ul><br /><br />]]>
        
    </content>
</entry>

<entry>
    <title>Building a cygwin crosscompiler</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2010/10/building-a-cygwin-crosscompiler.html" />
    <id>tag:www.dronecode.org.uk,2010:/daybook//1.32</id>

    <published>2010-10-24T18:23:44Z</published>
    <updated>2011-03-16T19:31:13Z</updated>

    <summary>Some time ago I wrote some notes on building a GCC crosscompiler for the cygwin target, which are currently included in the Cygwin/X contributors guide in slightly modified form, but don&apos;t really belong there, so might get removed as some...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[Some time ago I wrote some notes on <a href="http://www.dronecode.org.uk/cygwin/cross.html">building a GCC crosscompiler for the cygwin target</a>, which are currently included in the <a href="http://x.cygwin.com/docs/cg/">Cygwin/X contributors guide</a> in slightly modified form, but don't really belong there, so might get removed as some future date.<br /><br />It would be a much better idea to use these <a href="http://cygwin.com/ml/cygwin/2011-03/msg00375.html">RPM packages</a>,though.<br /><br />]]>
        
    </content>
</entry>

<entry>
    <title>glxgears is not a benchmark</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2009/06/glxgears-is-not-a-benchmark.html" />
    <id>tag:www.dronecode.org.uk,2009:/daybook//1.30</id>

    <published>2009-06-20T19:54:22Z</published>
    <updated>2009-06-20T19:55:13Z</updated>

    <summary>glxgears is not a benchmark...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<a href="http://www.dronecode.org.uk/glxgears_is_not_a_benchmark_3.png">glxgears is not a benchmark</a> <div><br /></div>]]>
        
    </content>
</entry>

<entry>
    <title>Donations</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2009/01/donations.html" />
    <id>tag:www.dronecode.org.uk,2009:/daybook//1.28</id>

    <published>2009-01-13T13:43:09Z</published>
    <updated>2009-05-28T23:56:22Z</updated>

    <summary>If your appreciate my work on open source software, and would like to buy me a beer to say thank you, you can do so by clicking this button ;-) GBP USD...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Projects" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[If your appreciate my work on open source software, and would like to buy me a beer to say thank you, you can do so by clicking this button ;-)<br /><br /><br /> 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="2470568">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">GBP
</form>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="5766495">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">USD
</form>
]]>
        
    </content>
</entry>

<entry>
    <title>Cygwin/X bug list</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2009/01/cygwinx-bug-list.html" />
    <id>tag:www.dronecode.org.uk,2009:/daybook//1.27</id>

    <published>2009-01-13T13:30:05Z</published>
    <updated>2009-01-13T13:42:16Z</updated>

    <summary>In no particular order, some reported bugs:Various clipboard problems, either not working or only working intermittently for some people Some Solaris clients die with a BadAlloc on a XkbSetNamedIndicator requestSome XView toolkit clients don&apos;t close with [x]Rebuilt xkdvi crashes in...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<br />In no particular order, some reported bugs:<br /><br /><ul><li>Various clipboard problems, either not working or only working intermittently for some people<br />
</li><li>Some Solaris clients die with a BadAlloc on a XkbSetNamedIndicator request</li><li>Some XView toolkit clients don't close with [x]</li><li>Rebuilt xkdvi crashes in XtGetApplicationResources</li><li>IRC report that -multimonitor -rooted with primary on right seems to misclculate the screen height somehow so some of the bottom of the X screen is invisible</li><li>XWarpCursor() doesn't in rootless modes (not a regression!)<br />
  </li></ul>
Some cosmetic issues that I notice:<br /><br /><ul><li>Minimized windows are moved to (0,0) not unmapped: this causes the irritating punch through of menus and tooltips when the frame of the active window overlaps the (apparently) minimized window in the X screen</li><li>Resizing a window frame doesn't move the X focus, so an open pop-up window which is a child of the resized window gets left behind</li><li>Mouse isn't captured when click dragging; this makes it very hard to work with X windows which draw their own decorations<br /></li></ul>]]>
        
    </content>
</entry>

<entry>
    <title>Cygwin/X X server todo list</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/10/cygwinx-x-server-todo-list.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.26</id>

    <published>2008-10-30T12:06:55Z</published>
    <updated>2009-01-13T13:29:49Z</updated>

    <summary>The thing I&apos;d like to see working which is the reason I started looking at it in the first placeRANDR extension support integrated with the native Windows WM_DISPLAYCHANGE message so X knows and does the right thing when the native...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[The thing I'd like to see working which is the reason I started looking at it in the first place<br /><br /><ul><li>RANDR extension support integrated with the native Windows WM_DISPLAYCHANGE message so X knows and does the right thing when the native Windows virtual desktop changes size due to a resolution change or monitor addition/removal</li></ul>Other things<br /><br /><ul><li>Composite does strange things at the moment</li><li>More investigation of why the 'smart scheduler' causes cygwin problems: SIGALRM every 20ms causes 'sporadic accept() failed' and deadlocks in multiwindow mode. Fixed/better with Cygwin 1.7.x?</li><li>Fix building with multwindow with external window manager mode.&nbsp; This depends on the rootless extension, which depends on Apple's Xplugin.h :D</li><li>Icon conversion could use a bit more work, scaling overlarge NET_WM_ICON icons down to the right size, improving icon conversion if we could find a simple way to use a bilinear filter&nbsp; Some windows still have no icon found by us, although native WMs can find them.<br /></li><li>Probably should change explicit use of GetTickCount() in event generation in xwin/ to use GetTimeInMillis(). This should make things consistent if we ever wanted to use the gettimeofday() clock <br /></li><li>Maybe get some patches folded back into upstream<br /></li></ul>]]>
        
    </content>
</entry>

<entry>
    <title>Updating the Cygwin/X X server</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/10/updating-the-cygwinx-x-server.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.25</id>

    <published>2008-10-30T11:51:02Z</published>
    <updated>2008-10-30T12:06:20Z</updated>

    <summary>I&apos;ve been spending a bit of time recently trying to get an up to date version of the Cygwin/X X server building and working (the current version in Cygwin is a R6.9 vintage monolithic X :()Patch-set to build X.org server...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Cygwin/X" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[I've been spending a bit of time recently trying to get an up to date version of the Cygwin/X X server building and working (the current version in Cygwin is a R6.9 vintage monolithic X :()<br /><br /><a href="http://www.dronecode.org.uk/cygwin/cygwin-xorg-server-1.5.2-patch-set.tar.bz2">Patch-set </a>to build X.org server 1.5.2 for cygwin <br /><a href="http://lists.freedesktop.org/archives/xorg/2008-October/039442.html">Patch-set</a> for the current X.org git<br /><br />A couple of resource were very useful: The <a href="http://www.straightrunning.com/XmingNotes/">Xming server</a> is the same server built for mingw, and <a href="http://homepages.zx.nl/%7Ejanjaap/index.html">some patches</a> for the 1.4 X server<br /><br />A built version is now in <a href="http://cygwinports.blogspot.com/">cygwin ports</a><br /><br /><br /><br />]]>
        
    </content>
</entry>

<entry>
    <title>Graphical merge for subversion</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/10/graphical-merge-for-subversion.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.24</id>

    <published>2008-10-08T23:38:19Z</published>
    <updated>2008-10-16T16:10:15Z</updated>

    <summary>Being used to doing graphical merge using ClearCase , I didn&apos;t want to have to fiddle around resolving a subversion merge by opening a bunch of files. Bizarrely I couldn&apos;t find a clear description of how to set this up,...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Projects" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>Being used to doing graphical merge using ClearCase , I didn't want to have to fiddle around resolving a subversion merge by opening a bunch of files.  Bizarrely I couldn't find a clear description of how to set this up, perhaps because the specifics have changed between subversion versions, so for subversion 1.5:</p>

<p>add in ~/.subversion/config<br />
<code>merge-tool-cmd = svndiffwrapper</code></p>

<p>and create svndiffwraper, somewhere on your path, a shell script which contains:</p>

<p><code>#!/bin/sh<br />
kdiff3 -m $1 $2 $3 -o $4 1>&2</code></p>

<p>Subsequent <code>svn merge</code> will offer you the option to (l)aunch the external program do to the merge, which will fire up kdiff3 </p>

<p>(Obviously you can use a different tool to <a href="http://kdiff3.sourceforge.net/">kdiff3</a>, but that was the best 3-way graphical merge tool I found in a quick search)</p>]]>
        
    </content>
</entry>

<entry>
    <title>Too many passwords...</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/09/too-many-passwords.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.23</id>

    <published>2008-09-08T21:47:29Z</published>
    <updated>2008-10-16T16:10:15Z</updated>

    <summary>.. no more secrets!...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="Fictions" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>.. <a href="http://www.imdb.com/title/tt0105435/">no more secrets</a>!</p>]]>
        
    </content>
</entry>

<entry>
    <title>musictracker 0.4.7 changes</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/09/musictracker-047-changes.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.22</id>

    <published>2008-09-01T18:03:22Z</published>
    <updated>2009-01-13T13:58:48Z</updated>

    <summary> Correct the way we retrieve track artist info from WMP (#16) Fix a problem where tune status could sometimes get left with stale data (e.g. if player was closed whilst pidgin was closed) Apply patch from hyperair adding a...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<ul>
<li>Correct the way we retrieve track artist info from WMP (#16)
<li>Fix a problem where tune status could sometimes get left with stale data (e.g. if player was closed whilst pidgin was closed)
<li>Apply patch from hyperair adding a timeout to dbus calls, so they cannot block indefinitely (hanging pidgin) if something has gone wrong in the target application (#13)
<li>Fix restoring saved status so it correctly restores account-specific saved status (#11)
<li>Attempt to avoid being told "MSN: Friendly name changes too rapidly" when player is stopped
<li>Some more tidying up
<li>Update libmpdclient to latest svn (revision 7402) (this fixes a file descriptor leak when an IPv6-enabled MPD is running) (#137, maybe #12?)
<li>Enable MPD client in windows build
<li>Fix type conversion warnings when building for x64 (#18)
<li>Use dopen/dlsym to access XMMS2 client library, so it doesn't become a run-time dependency if we build with XMM2 support enabled 
</ul>]]>
        
    </content>
</entry>

<entry>
    <title>x86_64 crosscompilation</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/09/x86-64-crosscompilation.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.20</id>

    <published>2008-09-01T17:53:56Z</published>
    <updated>2009-01-13T14:05:19Z</updated>

    <summary>I don&apos;t actually have an x86_64 machine to build or test stuff on, but since I had some issues reported with x86_64 compilation, I was wondering if I could cross-compile to x86_64 on my x86 machine to reproduce them. Generating...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>I don't actually have an x86_64 machine to build or test stuff on, but since I had some issues reported with x86_64 compilation, I was wondering if I could cross-compile to x86_64 on my x86 machine to reproduce them.</p>

<p>Generating the toolchain on gentoo is pretty easy thanks to crossdev</p>

<p><code>USE="-*" crossdev -S --target x86_64-pc-linux-gnu</code></p>

<p>The <a href="http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=5">gentoo cross-compilation guide</a> explains how to cross-compile arbitrary packages</p>

<p><code>ROOT=/usr/x86_64-pc-linux-gnu/ CBUILD="i686-pc-linux-gnu" CHOST="x86_64-pc-linux-gnu" emerge libpcre</code></p>

<p>Obviously can't test any of it works, though :S</p>]]>
        
    </content>
</entry>

<entry>
    <title>Japanese text in mp3 tags to musictracker</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/08/japanese-text-in-mp3-tags-to-musictracker.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.19</id>

    <published>2008-08-06T15:49:07Z</published>
    <updated>2008-10-16T16:10:15Z</updated>

    <summary>Since my friend Kacey gave me a nice J-Pop mp3 with some japanese text in the tag, I&apos;ve been able to do some testing to see if these characters can get passed from the player into musictracker and hence to...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>Since my friend Kacey gave me a nice J-Pop mp3 with some japanese text in the tag, I've been able to do some testing to see if these characters can get passed from the player into musictracker and hence to the status message....<br />
<code><br />
jon@clairmont $ mid3v2 10\ 世界はこの手の中に.mp3<br />
IDv2 tag info for 10 世界はこの手の中に.mp3:<br />
TPE1=相川七瀬<br />
APIC= (PNG, 105828 bytes)<br />
TYER=2000<br />
TIT2=世界はこの手の中に<br />
TENC=iTunes v7.7.1<br />
TRCK=10/13<br />
TPOS=1/1<br />
TALB=FOXTROT<br />
TCON=Pop<br />
</code</p>

<p>This all seems to work swimmingly on various players under Linux, but under Windows it's more complex...</p>

<ul>
<li>GetWindowText() on the foobar2000 window just returns a load of "?" characters, presumably because they don't exist in the local codepage (unlike accented characters like ö which survive this translation intact).  Using GetWindowTextW() to retrieve the title in wide-character form then converting it to UTF-8 seems to work fine.
<li>Winamp makes an utter hash of returning these characters via the (legacy) IPC_GET_EXTENDED_FILE_INFO interface we are using.  Updating to use IPC_GET_EXTENDED_FILE_INFOW fixes this.  We also need to use GetWindowTextW() as above for looking at the window title (which we use for stream information)
<li>The mysterious wmp9.dll seems incapable of returning these correctly from Windows Media Player.... yet another reason to replace this code with something else....
<li>This all works fine with iTunes, but it doesn't seem possible to actually display the song title correctly in iTunes, since it uses a fixed font (Lucida Grande?) which you can't seem to change and which doesn't have the glyphs. <em><strong>Later</strong>: turning on East Asian language support in Windows XP fixes this, presumably as it lets Windows do it's font linking thing to find the glyphs in another font...</em>
</ul>

<p>So now I know more about this windows wide character nonsense than I ever wanted to.  Oh, and I'm now one of the top listeners to <a href="http://www.last.fm/music/%E7%9B%B8%E5%B7%9D%E4%B8%83%E7%80%AC">Nanase Aikawa</a> on last.fm :-)</p>]]>
        
    </content>
</entry>

<entry>
    <title>pidgin monotone crosscompile for win32</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/08/pidgin-monotone-crosscompile-for-win32.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.18</id>

    <published>2008-08-01T16:01:13Z</published>
    <updated>2008-10-16T16:10:15Z</updated>

    <summary>Some notes on cross-compiling current monotone pidgin for win32. Don&apos;t do this if you have even less of an idea about what you are doing than me :-) You&apos;ll need a i686-mingw32 toolchain, obviously :-) run ./autogen.sh to use autotools...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>Some notes on cross-compiling current monotone pidgin for win32. Don't do this if you have even less of an idea about what you are doing than me :-)</p>

<ul>
<li>You'll need a i686-mingw32 toolchain, obviously :-)
<li>run ./autogen.sh to use autotools to prepare the monotone sources for building
<li><a href="http://developer.pidgin.im/wiki/BuildingWinPidgin">BuildingWinPidgin</a> has most of the steps, but a few things didn't quite work for me
<li>windres: icon file `some path' does not contain icon data</li>
windres doesn't seem to do string literal concatentation after preprocessing, so the paths for various pixmaps aren't merged with the filename.  Work around by editing the .rc file to have the correct full pathname (<a href="http://www.mail-archive.com/bug-binutils@gnu.org/msg05958.html">this is a bug in my version of windres</a>) 
<li>makensis doesn't seem to like command switches introduced with "/", so change the Makefile.mingw to use "-"
<li>makensis fails "Error: no branding image found in chosen UI!"</li>
Workaround: comment out the line "!define MUI_HEADERIMAGE" in the .nsi file
(<a href="https://sourceforge.net/tracker/?func=detail&atid=373085&aid=1951417&group_id=22049">this is a bug in my version of makensis</a>)
<li>makensis fails "Invalid command: System::Call"</li>
gcc can't build the System plug-in properly.  <a href="https://sourceforge.net/tracker/?func=detail&atid=373085&aid=1860005&group_id=22049">Workaround is to copy over Plugins\System.dll from a Windows install of nsis</a>
<li>Relative paths to gtk_installer in seem to have one too many "..\"
<li>The msnp9 protocol plugin is the one built by default for windows at the moment, not the shiny new msnp15 protocol plugin (the opposite way around to the linux build).  Since this is the thing I wanted to test with, change to match :-)
</ul>

<p>pidgin-musictracker has one additional dependency, libpcre, so you'll need to place a static library of that into win32-dev to link with as well...</p>]]>
        
    </content>
</entry>

<entry>
    <title>patch frenzy!</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/07/patch-frenzy.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.17</id>

    <published>2008-07-23T13:34:00Z</published>
    <updated>2008-10-16T16:10:15Z</updated>

    <summary>Work through the old musictracker issues, looking for ones with patches attached, applying and testing them. Lots of stuff: patch from chet.the.gray for Listen player support (#13) patch from puthali.HB for Last.fm feed support (#48) Last.fm feed stuff needs some...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>Work through the old musictracker issues, looking for ones with patches attached, applying and testing them.  Lots of stuff:</p>

<ul>
<li>patch from chet.the.gray for Listen player support (#13)
<li>patch from puthali.HB for Last.fm feed support (#48)

<p>Last.fm feed stuff needs some work.... breaks player autodetection at the moment if a last.fm account name is set, perhaps it should look at timestamp and infer off it is more than 5 minutes (configurable?) in the past; the parsing looking for a non-standard hyphen character separating artist and title in the feed data is also questionable.</p>

<p><li> patch from patrick.dessalle for Audacious 1.4 support (#86)<br />
<li> patch from hyperair for Banshee 1.0 support (#87)<br />
<li> patch from thelrix for XMPP user tune support (#96)<br />
<li> patch from ZeeGeek for XMMS2 player support (#121)</p>

<p>XMMS2 patch is a bit problematic in that it wants to directly link with xmmsclient library, which gives us a built-time dependency on it.  Rejig the autoconfiscation slightly so we can build without it being present, but this still has the problem that binaries which are built with the xmmsclient support have a run-time dependency on it.  Should use dlopen/dlsym (as xmms1 support does) to avoid depending on presence of library? (otherwise pidgin can't load it if the library is absent)</p>

<p><li>Improve "Toggle status changing" action so it has a dynamic menu item which reflects the current Enabled/Disabled state (#39), based on a patch by TorresMAT</p>

<p>pidgin core doesn't provide a way to do this directly, so this involves some kludging, but it's so needed, an action to  toggle with no way of knowing if we are currently on or off is just confusing</p>

<p><li>Rhythmbox: Slightly improve the way we report information for streams (#35), based on a patch by eemil.lagerspetz<br />
<li>Winamp: don't screw up titles which contain hyphens, try to still do something useful with streams (#59) based on a patch by leonardo.monteiro.fernandes</p>

<p>Winamp player code has some crazy stuff to try to guess the title from the winamp window title when we are playing a stream; sadly this screws up if their is a hypen in the title, which seems to cause lots of people problems;  Streams are generally problematic as they probably only have a streamtitle, not all the fields we expect from a mp3....</p>

<p><li>amarok: Check for running dcopserver to avoid problems when dcop blocks for long enough that we appear to hang pidgin (#68), Don't spam stderr with "call failed" errors from trying to dcop amarok</p>

<p>Not quite able to reliably reproduce the problem case, although I have seen it occasionally: if there is no dcopserver running, sometimes 'dcop' blocks for a while before reporting failure; unfortunately this seems to be the same or longer than our player check interval so we hang pidigin.  Othertimes dcop returns immediately with an error, can't quite work out what causing the difference.<br />
</ul></p>]]>
        
    </content>
</entry>

<entry>
    <title>Musictracker project fork</title>
    <link rel="alternate" type="text/html" href="http://www.dronecode.org.uk/daybook/2008/07/musictracker-project-fork.html" />
    <id>tag:www.dronecode.org.uk,2008:/daybook//1.16</id>

    <published>2008-07-19T11:16:45Z</published>
    <updated>2008-10-16T16:10:15Z</updated>

    <summary>No responses from the existing project owner, so decided to create a fork pidgin-musictracker Creating a project at google-code and cloning the existing svn repository is surprisingly painless. Checkin the changes from my patch, and then do some scripting work...</summary>
    <author>
        <name>Jon</name>
        
    </author>
    
        <category term="musictracker" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.dronecode.org.uk/daybook/">
        <![CDATA[<p>No responses from the existing project owner, so decided to create a fork <a href="http://code.google.com/p/pidgin-musictracker/">pidgin-musictracker</a></p>

<p>Creating a project at google-code and cloning the existing svn repository is surprisingly painless.</p>

<p>Checkin the changes from my patch, and then do some scripting work to automate the release process.   Existing makefile omits the windows installer generation stage, so add rules for that (pleased to find that nsis Gentoo package exists, so I can build the windows installer under linux)</p>

<p>This scripting also generates <a href="http://www.dronecode.org.uk/pidgin-musictracker-snapshot/?C=M;O=D">development snapshots</a></p>]]>
        
    </content>
</entry>

</feed>

