<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bloggy &#187; kdesvn-build</title>
	<atom:link href="http://www.purinchu.net/wp/category/programming/kdesvn-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.purinchu.net/wp</link>
	<description>The answer to life, the universe, and everything</description>
	<lastBuildDate>Sat, 12 Nov 2011 01:19:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>2 new kdesrc-build releases</title>
		<link>http://www.purinchu.net/wp/2011/09/22/2-new-kdesrc-build-releases/</link>
		<comments>http://www.purinchu.net/wp/2011/09/22/2-new-kdesrc-build-releases/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 00:24:19 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[kdesrc-build]]></category>
		<category><![CDATA[kdesrc-build release]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=702</guid>
		<description><![CDATA[So after 6 months of work I released kdesrc-build 1.14 with quite a few changes/fixes. 4 days later I released 1.14.1 (mostly to help mitigate an effect of a change in 1.14 which I&#8217;ll cover at the end). Without further ado, I&#8217;ll list some of the important changes. You&#8217;ve probably already noticed, but the &#8220;qt-kde&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>So after 6 months of work I released kdesrc-build 1.14 with quite a few changes/fixes. 4 days later I released <a href="http://kdesrc-build.kde.org/releases/kdesrc-build-1.14.1.php">1.14.1</a> (mostly to help mitigate an effect of a change in 1.14 which I&#8217;ll cover at the end). Without further ado, I&#8217;ll list some of the important changes.</p>
<ul>
<li>You&#8217;ve probably already noticed, but the &#8220;qt-kde&#8221; module on git.kde.org is no more, and has been moved to be &#8220;qt&#8221;, a simple clone of Nokia&#8217;s Qt 4.8 (and prior) codebase (there&#8217;s no mirror of the upcoming even-more-split Qt 5 in development yet). What this means for kdesrc-build users is that they need to adjust their qt-copy module. Unfortunately the module used to build Qt must still be called qt-copy to avoid breaking things.</li>
<li>
<p>The on-disk layout for source and build directories for modules that come from the KDE project database (i.e. <code>repository kde-projects</code>) has changed. Now the destination directory uses the same path that is present in the hierarchy on projects.kde.org. As an example, kdelibs would be in $src-or-builddir/kde/kdelibs, kdesrc-build would be in $src-or-builddir/extragear/utils/kdesrc-build, etc. This should make it easier to manage the increased number of modules resulting from the move to git.kde.org.</p>
<ul>
<li>To make this easier, kdesrc-build will move your old source and build directories (if they&#8217;re detected) when this happens, so you shouldn&#8217;t have to waste all your bandwidth or spend an inordinate amount of time rebuilding modules.</li>
<li>One problem that was noted with this new arrangement is that it&#8217;s possible to have git checkouts nested in other git checkouts (for instance, konsole fits in kde/kde-baseapps, but kde-baseapps is a separate git module). This is not a problem by itself, but can interfere with older checkouts of kde-baseapps. So 1.14.1 introduced the ability to delete existing source directories if they would be in the way of a git-clone. You must pass <code><em>--delete-my-patches</em></code> to enable this due to the obvious hazard of losing uncommitted work.</li>
</ul>
</li>
<li>A manpage was added, which might prove useful if you don&#8217;t have a web browser handy, Internet connection to docs.kde.org, etc. The catch is that the manpage is generated using the KDE docs infrastructure from kdelibs, which might not be present yet when you first run kdesrc-build! ;) Don&#8217;t forget to have your <tt>MANPATH</tt> set to include your KDE <tt>man</tt> directory.</li>
<li>As pointed out in an email by Aaron Seigo to kde-buildsystem some time ago, it really could be easier to setup kdesrc-build on initial run. To that end, a script called <code>kdesrc-build-setup</code> is included. It&#8217;s generated config is *very* simplistic at this point but it&#8217;s better than what was there before. To allow for bootstrapping a GUI without having KDE installed the setup script uses the console just like kdesrc-build.</li>
<li>kdesrc-build makes the <tt>kde:</tt> Git alias (which is <a href="http://community.kde.org/Sysadmin/GitKdeOrgManual#Let_Git_rewrite_URL_prefixes">recommended by git.kde.org</a> admins) available if you haven&#8217;t set it up yet.</li>
<li>The use of git snapshots is supported for git-clone now, but only for modules from the KDE project database. My understanding is that this should save CPU load on the git.kde.org infrastructure (although not much in the way of bandwidth). Resuming of aborted downloads is not supported yet unfortunately. If this causes problems use <tt>‑‑no‑snapshots</tt> to disable (as of 1.14.1, where that option works again&#8230;).</li>
<li>You can include other files in your configuration file, for those who actually use the kdesrc-build feature supporting different configurations depending on what your current directory is.</li>
<li>
<p>As a final excerpt, it is possible to ask for all modules <em>under</em> a given KDE project module to be built. This is actually required for kdegraphics (at least when I implemented this) since kdegraphics supports a SuperBuild-style repository which will check out all of its dependent submodules and build it for you. You can also build the submodules individually, so to keep people from accidentally building them both the kdegraphic base repo is marked as inactive in the database which prevents automated tools (including kdesrc-build) from processing it.</p>
<p>By using something like:</p>
<pre>module-set graphics
    repository kde-projects
    use-modules kdegraphics/libs kdegraphics/*
end module-set</pre>
<p>you can for kdesrc-build to build all &#8220;active&#8221; modules under kdegraphics, even if kdegraphics is itself marked inactive. (The <code>kdegraphics/libs</code> part is to force kdesrc-build to build that first, kdesrc-build will skip duplicate modules so you don&#8217;t need to worrk about <code>kdegraphics/*</code> trying to build <code>/libs</code> twice).</p>
</li>
<li>There&#8217;s actually a few more minor things but this post is already too long!</li>
</ul>
<p>There&#8217;s fewer &#8220;pure bugfixes&#8221; than I expected, but environment variable handling support is improved somewhat, and the KDE project database is actually downloaded in pretend mode when it&#8217;s needed (just like the prompt had been saying was happening&#8230;).</p>
<p>There has been a fairly substantial refactoring/code reorganization to get to this point. The test suite does pass, but if you&#8217;re a heavy user of the <code>kde-languages</code> option you may want to wait until I&#8217;ve verified that the l10n building still works (unfortunately cloning such modules makes testing that option more difficult than I&#8217;d like).</p>
<p>Other than that I hope you all will be happy with the capabilities of <a href="http://kdesrc-build.kde.org/releases/kdesrc-build-1.14.1.php">the latest version</a>. I&#8217;ll try to release more frequently than every 6 months in the future, that might be a bit easier to achieve at my new duty station near Washington, DC.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2011/09/22/2-new-kdesrc-build-releases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl hijinks</title>
		<link>http://www.purinchu.net/wp/2011/04/10/perl-hijinks/</link>
		<comments>http://www.purinchu.net/wp/2011/04/10/perl-hijinks/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 03:57:45 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[Computing Troubles]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[kdesrc-build]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[prototypes]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=686</guid>
		<description><![CDATA[So I&#8217;ve been trying to modularize my kdesrc-build Perl script (i.e. actually split it into logical objects/modules) and yet still retain it all into one script, the idea being to get the logic into a more understandable state where possible and overall make the codebase less brittle. I achieved a large milestone today in finally [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been trying to modularize my kdesrc-build Perl script (i.e. actually split it into logical objects/modules) and yet still retain it all into one script, the idea being to get the logic into a more understandable state where possible and overall make the codebase less brittle.</p>
<p>I achieved a large milestone today in finally managing to group together the debugging methods in a way which remains compatible with the rest of the script.</p>
<p>What I mean by this is that I used the <a href="http://perldoc.perl.org/perlsub.html#Prototypes">prototypes</a> feature of Perl subroutines to allow for methods like:</p>
<pre><code>return 1 if pretending;</code></pre>
<p> (Notice how there are no parentheses after the <code>pretending</code> call), and</p>
<pre><code>info "\tPerforming source update for g[$module]";</code></pre>
<p> (Likewise no parentheses for the info method call).</p>
<p>Now, in retrospect I probably should have simply not used prototypes, at least for the output methods which would not be significantly less readable with parentheses. All the same however, prototypes were interfering with grouping these debugging routines into their own module.</p>
<p>This is because subroutine prototypes actually affect the Perl parser itself, and these prototypes are not exported by the normal Perl routines for exporting subroutines out of classes, i.e. a subroutine <code>Debug::pretending()</code> (with a prototype that is completely empty) would get exported to main as <code>main::pretending</code> (with no prototype at all). This would break code that used the <code>pretending</code> routine without parentheses since the Perl parser doesn&#8217;t know it is supposed to accept no arguments.</p>
<p>After beating my head on this problem off-and-on for awhile it finally occurred to me today that Perl is a &#8220;dynamic language&#8221;: Why couldn&#8217;t I just manually feed the appropriate declaration into the parser on-the-fly when necessary?</p>
<p>After some prototyping I came up with an <code>import</code> method that seemed to work:</p>
<pre>my $pkg = shift;
my $caller = caller;
my @exports = qw(debug pretending); # etc...

# This loop is only slightly "magical". Basically to import functions
# into a different package in Perl, we can use something like:
# *PACKAGE::FUNCTION = \&#038;SOURCE_PACKAGE::FUNCTION;
# where the *PACKAGE modifies the symbol table for that package.
#
# The extra part, which requires using eval, is to predeclare the
# subroutine with a prototype first.
# "sub foo($old_prototype);"

for my $fn (@exports) {
    my $prototype = prototype($fn);
    eval "sub ${caller}::${fn}(${prototype});\n" .
         "*${caller}::${fn} = \\&#038;${pkg}::${fn};";
}</pre>
<p>All that I&#8217;m really doing is reading in the prototype for each function that is exported by using the built-in <code>prototype</code> method, and then <code>eval</code>-ing a string the predeclares the exported subroutine with the appropriate prototype, and then assigns the implementation of that subroutine to the existing package&#8217;s implementation.</p>
<p>This exports the prototype information when the import method is *run*, but the Perl parser will parse as much of the file as possible before starting execution. So if we want the parser to be updated as well, we must force the new <code>import</code> method to be run as soon as possible, which can be done using the standard Perl <code>BEGIN { ... }</code> block, which runs the code inside of it as soon as it is encountered.</p>
<p>So in kdesrc-build, instead of having &#8220;<code>use ksb::Debug;</code>&#8220;, I have:</p>
<pre>BEGIN {
    ksb::Debug->import();
}</pre>
<p>And now everything is parsed (and run) just as before! I&#8217;ll likely still convert the code to not need this circumlocution at some point, but I thought it was at least technically interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2011/04/10/perl-hijinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>May you live in interesting times&#8230;.</title>
		<link>http://www.purinchu.net/wp/2011/01/19/may-you-live-in-interesting-times/</link>
		<comments>http://www.purinchu.net/wp/2011/01/19/may-you-live-in-interesting-times/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 05:09:42 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[git migration]]></category>
		<category><![CDATA[kdesrc-build]]></category>
		<category><![CDATA[kdesrc-build release]]></category>
		<category><![CDATA[kshareddatacache]]></category>
		<category><![CDATA[module-set]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=673</guid>
		<description><![CDATA[So, given the accelerating rate of KDE project migration to git.kde.org, I felt it was prudent to finally make a kdesrc-build release, for those who don&#8217;t follow kdesrc-build development in trunk. So, kdesrc-build 1.12.1 is upon us (the link may be broken, I&#8217;ve just committed everything to svn, it should update within a few minutes [...]]]></description>
			<content:encoded><![CDATA[<p>So, given the accelerating rate of KDE project migration to git.kde.org, I felt it was prudent to <em>finally</em> make a kdesrc-build release, for those who don&#8217;t follow kdesrc-build development in trunk.</p>
<p>So, <a href="http://kdesrc-build.kde.org/releases/kdesrc-build-1.12.1.php">kdesrc-build 1.12.1</a> is upon us (the link may be broken, I&#8217;ve just committed everything to svn, it should update within a few minutes of that). I probably shouldn&#8217;t have made it a mere +0.0.1 release, as it contains one notable large new feature, and several minor improvements besides the normal bugfixes.</p>
<p>The big deal is the <a href="/wp/2010/12/07/everyone-is-moving-to-git-kde-org/">module-set feature I discussed</a> a couple of months ago. This allows for easy declaration of git-based modules in your .kdesrc-buildrc (which is good, as old Subversion modules are being migrated quickly now that 4.6 has been branched off of trunk).</p>
<p>However, it is not a long-term (or even a good medium-term) solution. To that end, the KDE sysadmins have been working hard on making a database of the projects available on git.kde.org, including what groups each repository falls under. Besides being needed to migrate some of the tools that we currently use with Subversion, it will be useful for allowing build scripts (such as kdesrc-build) to take a command to build e.g. &#8220;kdepim&#8221;, and figure out the full list of git repositories contained in the &#8220;kdepim&#8221; grouping.</p>
<p>The groups can themselves be contained within groups (in theory you&#8217;d be able to build all of extragear with a single command, although I&#8217;ll probably block groupings that large like kdesrc-build currently does to avoid users accidentally DoS-ing KDE resources).</p>
<p>That will be the next thing I start on. Hopefully finding good Perl libraries for parsing XML doesn&#8217;t take too long. ;)</p>
<p>The <em>other</em> thing I will be doing is migrating to git.kde.org myself. I&#8217;m not exactly sure when, but I already have the rules mostly written. Perhaps I&#8217;ll wrap everything up this weekend and move to git.kde.org myself.</p>
<p>Either way, let me know if there are issues with the new release (it&#8217;s been brewing for about a week so don&#8217;t say I didn&#8217;t give trunk users time to test! ;)</p>
<p>Happy building!</p>
<p><em>PS:</em> Special side note, if you&#8217;ve been receiving messages about KSharedDataCache saying that &#8220;This cache is probably corrupt&#8221;, update kdelibs to either 4.6 branch or trunk, that bug should be fixed now&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2011/01/19/may-you-live-in-interesting-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Everyone is moving to git.kde.org</title>
		<link>http://www.purinchu.net/wp/2010/12/07/everyone-is-moving-to-git-kde-org/</link>
		<comments>http://www.purinchu.net/wp/2010/12/07/everyone-is-moving-to-git-kde-org/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 05:55:42 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[kdesrc-build]]></category>
		<category><![CDATA[module-set]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=670</guid>
		<description><![CDATA[Except me that is&#8230; but only due to lack of rule-writing time. But in the meantime, I&#8217;ve written some code to allow you to at least quickly declare KDE git modules to build. I&#8217;ve just committed it to trunk kdesrc-build (in kdesdk/scripts). This feature adds two options: git-repository-base, which declares an alias name for a [...]]]></description>
			<content:encoded><![CDATA[<p>Except me that is&#8230; but only due to lack of rule-writing time.</p>
<p>But in the meantime, I&#8217;ve written some code to allow you to at least quickly declare KDE git modules to build. I&#8217;ve just committed it to trunk kdesrc-build (in kdesdk/scripts). This feature adds two options:</p>
<ol>
<li>git-repository-base, which declares an alias name for a new git repository, and assigns it a URL. This is needed for a concept I&#8217;m calling &#8220;module-set&#8221; for now.</li>
<li>use-modules, which is used in a given module-set to name the git modules that you want to build at that point in the .kdesrc-buildrc, in order.</li>
</ol>
<p>Simple example:</p>
<p><code>global<br />
...<br />
   git-repository-base kde-git git://anongit.kde.org/<br />
end global</p>
<p>module qt-copy<br />
...<br />
end module</p>
<p>module-set kde-git # Note this is not the name of the module-set, but the repo to use<br />
    # 5 git module declarations in one line...<br />
    use-modules automoc attica soprano cagibi akonadi<br />
end module-set</p>
<p># Need to set options for attica? Just declare it manually and set the options after the<br />
# module-set. It still gets built before soprano though.<br />
module attica<br />
    cmake-options ....<br />
end module</code></p>
<p>Hopefully this makes managing the large numbers of individual git projects that are popping up much more reasonable. Another long-term measure is that some motivated git-transition types are working on a module-grouping XML format, which will be usable by kdesrc-build (among other software) to quickly group related git modules under a single name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2010/12/07/everyone-is-moving-to-git-kde-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kdesrc-build update for Git migration</title>
		<link>http://www.purinchu.net/wp/2010/10/26/kdesrc-build-update-for-git-migration/</link>
		<comments>http://www.purinchu.net/wp/2010/10/26/kdesrc-build-update-for-git-migration/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 03:31:05 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[git migration]]></category>
		<category><![CDATA[kdesrc-build]]></category>
		<category><![CDATA[module group spec]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=660</guid>
		<description><![CDATA[So this morning kde-core-devel was emailed to notify that a few projects that used to be hosted in kdesupport have moved to git.kde.org. What this means for you if you use kdesrc-build is that you should probably update your ~/.kdesrc-buildrc to add the projects separately since they will no longer be built as part of [...]]]></description>
			<content:encoded><![CDATA[<p>So this morning kde-core-devel was emailed to notify that a few projects that used to be hosted in kdesupport have moved to <a href="http://projects.kde.org/">git.kde.org</a>.</p>
<p>What this means for you if you use <a href="http://kdesrc-build.kde.org/">kdesrc-build</a> is that you should probably update your ~/.kdesrc-buildrc to add the projects separately since they will no longer be built as part of kdesupport.</p>
<p>Affected are Akonadi (the underlying PIM layer, which might be required for kdelibs, I forget), Attica (&#8220;Implements the Open Collaboration Services API&#8221;, I assume this means it&#8217;s required as well) and Soprano (C++ RDF framework, used for Nepomuk. I believe Soprano is required even if Nepomuk is not being used, but that could also be wrong).</p>
<p>My recommendation is to add the following modules after your existing kdesupport module, before any other modules:</p>
<pre>module soprano
    repository git://git.kde.org/soprano.git
end module

module attica
    repository git://git.kde.org/attica.git
end module

module akonadi
    repository git://git.kde.org/akonadi.git
end module</pre>
<p>Naturally if you will be doing development on these repositories and not simply checking out a read-only copy for build purposes you should use the git@git.kde.org:foo.git form of the repository URL.</p>
<p>This migration to git has the potential to get annoying for end-users, especially as we modularize more and more. To that end, the KDE Sysadmin team is working on a specification for grouping related modules together, which kdesrc-build will support, that way you could just do something like:</p>
<pre>kde-module-group kdeplatform
    # References known XML module grouping
end kde-module-group</pre>
<p>and things would Automagically Work. Stay tuned&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2010/10/26/kdesrc-build-update-for-git-migration/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Big update collection</title>
		<link>http://www.purinchu.net/wp/2010/07/30/big-update-collection/</link>
		<comments>http://www.purinchu.net/wp/2010/07/30/big-update-collection/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 23:05:05 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[car repair]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[juk]]></category>
		<category><![CDATA[kdesrc-build]]></category>
		<category><![CDATA[name change]]></category>
		<category><![CDATA[qt3support]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=646</guid>
		<description><![CDATA[Unfortunately I haven&#8217;t made any blog updates in awhile. I&#8217;ve been very busy between work and school (and I will likely spend this weekend working on a 20 page project that I&#8217;ve written 0 pages for ;). That doesn&#8217;t mean I have nothing to report though&#8230; First off, I have renamed kdesvn-build to kdesrc-build to [...]]]></description>
			<content:encoded><![CDATA[<p>Unfortunately I haven&#8217;t made any blog updates in awhile. I&#8217;ve been very busy between work and school (and I will likely spend this weekend working on a 20 page project that I&#8217;ve written 0 pages for ;). That doesn&#8217;t mean I have nothing to report though&#8230;</p>
<p>First off, I have renamed kdesvn-build to <a href="http://kdesrc-build.kde.org/">kdesrc-build</a> to reflect the fact that it builds from <a href="http://gitscm.org/">Git</a>-based software repositories. In conjunction I released <a href="http://kdesrc-build.kde.org/releases/kdesrc-build-1.12.php">kdesrc-build 1.12</a> which has various minor improvements, including a few Git improvements.</p>
<p>I&#8217;ve <a href="/wp/2010/07/06/timing-belts/">complained</a> about my car breaking down. It&#8217;s fixed, although I will be selling it now (my wife and I were debating the merits of getting an improved car for awhile before, this incident sealed the decision).</p>
<p>Just today I&#8217;ve committed a new feature to JuK, the sadly neglected KDE Software Compilation music manager. Now you can use the scroll wheel in the track announcement popup to quickly switch tracks without having to use the Next/Prev buttons. It&#8217;s probably already in every other media player with a playlist, but it&#8217;s at least in JuK now. Note that this is a 4.<em>6</em> new feature, not 4.5.</p>
<p>I&#8217;ve also been &#8220;reviewing&#8221; a patch to further remove Qt3 support code from JuK, which I will try to clean up and get comitted this release cycle. The big thing I still need to do is to finally convert from K3ListView to a real Model/View architecture to finally be rid of Qt3Support. Help is always appreciated btw =D</p>
<p>Burkhard Lück, the documentation super-hero, has been improving JuK documentation for me, but I still need to make some changes that he&#8217;s requested to bring the docs closer to 2008-era (let alone 2010) :(</p>
<p>That&#8217;s another good &#8220;intro to KDE Platform&#8221; kind of job by the way, it&#8217;s how I got introducing into coding for JuK myself. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2010/07/30/big-update-collection/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Another transition for kdesvn-build</title>
		<link>http://www.purinchu.net/wp/2010/06/24/another-transition-for-kdesvn-build/</link>
		<comments>http://www.purinchu.net/wp/2010/06/24/another-transition-for-kdesvn-build/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 03:00:12 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[kdecvs-build]]></category>
		<category><![CDATA[konversation]]></category>
		<category><![CDATA[name change]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=636</guid>
		<description><![CDATA[So if you have been looking at Planet KDE or the kde-scm-interest mailing list recently you will have noticed that some of our intrepid sysadmins have started setup the systems that will be needed to migrate the KDE source code to . Konversation and Amarok have already switched. kdesvn-build has already supported git (and the [...]]]></description>
			<content:encoded><![CDATA[<p>So if you have been looking at <a href="http://planetkde.org/">Planet KDE</a> or the kde-scm-interest mailing list recently you will have noticed that some of our intrepid sysadmins have started setup the systems that will be needed to migrate the KDE source code to <a href="http://www.git-scm.org/">. Konversation and Amarok have </a><a href="http://konversation.kde.org/">already</a> <a href="http://blog.lydiapintscher.de/2010/06/19/lets-move-that-source-code-so-it-doesnt-get-lazy/">switched</a>.</p>
<p>kdesvn-build has already supported git (and the upcoming 1.12 release has some git improvements), so building and installing konversation and amarok is as simple as fixing your kdesvn-buildrc to refer to the correct git repository. For Amarok and Konversation this means changing gitorious.org to git.kde.org for most users using the read-only clone URL (like git://gitorious.org/amarok/amarok.git). Read-write access occurs with a separate URL, lookup the TechBase entry for more info.</p>
<p><em>If you have already built a gitorious version of Amarok or Konversation</em> then you have two options to correct the downloaded source:</p>
<ol>
<li>Remove the source directory, and kdesvn-build will clone it again from the updated repository, or</li>
<li>Use the a manual git remote URL updating command as described on the <a href="http://konversation.kde.org/">Konversation homepage</a>.</li>
</ol>
<p>It has been awhile since a release of kdesvn-build, and the kdesvn-build <a href="http://kdesvn-build.kde.org/">website</a> was recently effectively offline due to an IP address change, so I&#8217;ll probably move to more stable KDE-hosted servers if possible. With all that in mind, it&#8217;s probably time to change the name again! (Who remembers <a href="http://cia.vc/stats/project/kde/kdenonbeta/kdecvs-build">kdecvs-build</a>? ;)</p>
<p>My initial plan for the name is kdesrc-build. I figure there&#8217;s no way this one won&#8217;t be future-proof (and besides, svn will still be supported for some time probably). ;) If anyone has better ideas for a name that is descriptive, relatively future-proof, and catchy, please leave me a suggestion in the comments.</p>
<p>While I&#8217;m polling the audience, I&#8217;ve been thinking about the design of kdesvn-build. Right now it is a 217 KiB single-file Perl script, with no external dependencies required aside from Perl 5.8. This is mainly to make it as easy to install and upgrade as possible. Does this ease of upgrading actually make a big difference for you all? It hasn&#8217;t been very difficult keeping the script in one file (I even managed to get Perl&#8217;s weird object orientation to work in one file) so I can keep that going if it&#8217;s worth it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2010/06/24/another-transition-for-kdesvn-build/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>kdesvn-build git bug possibly fixed?</title>
		<link>http://www.purinchu.net/wp/2010/01/26/kdesvn-build-git-bug-possibly-fixed/</link>
		<comments>http://www.purinchu.net/wp/2010/01/26/kdesvn-build-git-bug-possibly-fixed/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 02:57:48 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[Computing Troubles]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[evil bugs]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitorious]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=575</guid>
		<description><![CDATA[So if you&#8217;ve used kdesvn-build to build some of the modules that are hosted on Gitorious then you are probably familiar with an error that always comes up when doing the initial checkout. This error is so famous that every &#8220;how to build using kdesvn-build&#8221; guide I&#8217;ve seen over the past couple of months have [...]]]></description>
			<content:encoded><![CDATA[<p>So if you&#8217;ve used <a href="http://kdesvn-build.kde.org/">kdesvn-build</a> to build some of the modules that are hosted on <a href="http://gitorious.org/">Gitorious</a> then you are probably familiar with an error that always comes up when doing the initial checkout. This error is so famous that every &#8220;how to build using kdesvn-build&#8221; guide I&#8217;ve seen over the past couple of months have mentioned that the clone step for qt-copy would need to be done manually.</p>
<p>A Konversation developer, argonel, noticed the issue the other day and got in touch with me, so I had him strace the output of the (successful) manual run and the (unsuccessful) kdesvn-build run. It wasn&#8217;t initially super helpful although it clarified what was going on (the gitorious.org end of the connect was closed on their end for some reason).</p>
<p>That was the conclusion of that, but then I get an email the next day from argonel saying that he&#8217;d done more digging, and that it was a known issue which could be worked around by adding the <tt>-v</tt> flag to git, which forces progress output to be displayed even if the output is redirected. (The issue has something to do with kdesvn-build redirecting the git output, if you run the git command manually but redirect its stdout to a file then you&#8217;ll see the clone fail after about 30 seconds as well).</p>
<p>This progress output makes the logged output look really bad, however, so the workaround I ended up implementing in kdesvn-build is to show the progress output on the terminal and redirect the rest (you may actually prefer this as it&#8217;s possible to see the progress of the checkout now).</p>
<p>In short, the Great kdesvn-build Git Clone Bug <em>should</em> be fixed. Please test <a href="http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/kdesvn-build">the trunk version</a> of kdesvn-build for me to make sure I got it though!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2010/01/26/kdesvn-build-git-bug-possibly-fixed/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Documentation hacking</title>
		<link>http://www.purinchu.net/wp/2009/12/20/documentation-hacking/</link>
		<comments>http://www.purinchu.net/wp/2009/12/20/documentation-hacking/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 07:48:38 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[comparo]]></category>
		<category><![CDATA[docbook]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[stylesheets]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=561</guid>
		<description><![CDATA[Maintaining the documentation for a project is a necessary, but often thankless task. I&#8217;ve been going over the kdesvn-build documentation recently since there were several major changes to kdesvn-build in version 1.10 which I didn&#8217;t bother to document. I&#8217;d only scratched the surface of the changes when I got fed up with the output that [...]]]></description>
			<content:encoded><![CDATA[<p>Maintaining the documentation for a project is a necessary, but often thankless task.</p>
<p>I&#8217;ve been going over the <a href="http://kdesvn-build.kde.org/">kdesvn-build</a> documentation recently since there were several major changes to kdesvn-build in version 1.10 which I didn&#8217;t bother to document.</p>
<p>I&#8217;d only scratched the surface of the changes when I got fed up with the output that you get by default with our documentation generators (which is not meant as offense, just the way it is).</p>
<p>So, I took a detour and tried to duplicate my output-finessing feats that I had <a href="/wp/2009/03/15/documentation-kioslaves/">earlier performed</a> on kio_man, kio_info, and kio_perldoc.</p>
<p>To see what I&#8217;m talking about first, consider the following:</p>
<ul>
<li>Open up KHelpCenter and look at one of the installed documentation pages. (The specific one doesn&#8217;t matter, I&#8217;m just referring to styling).</li>
<li>Now look at the output of running meinproc4 <a href="/dumping-ground/docs/">with the kde-web.xsl</a> XSLT stylesheet. (meinproc4 is the tool that KDE uses to convert the DocBook XML source to the output HTML). The kde-chunk-online.xsl output is similar. Remember that logo? :)</li>
<li>The <a href="http://docs.kde.org/stable/en/kdesdk/scripts/kdesvn-build/index.html">docs.kde.org</a> output is looking a bit better, but still out of date.</li>
<li>Finally, the kdesvn-build website has <a href="http://kdesvn-build.kde.org/documentation/">my current results</a> at this time.</li>
</ul>
<p>Now I am neither an artist nor a web designer but I do think that the output is starting to look better. (The content itself is still mostly out of date but I&#8217;ve at least updated the command line options and configuration options tables).</p>
<p>So now my question is, is this something I should work on trying to integrate back (at least for KHelpCenter stylesheets, since that output looks broken to me in the header)? I think our &#8220;spit and polish&#8221; on our user-interfacing documentation could go a lot way toward making the documentation more pleasant to use. And better yet we are outputting specifically for one of the most advanced HTML engines in the world so there&#8217;s no reason for us not to use every useful feature if it makes the output nicer, no?</p>
<p>Oh, I changed the git checkout/update procedure a week or so ago in trunk, if you&#8217;re not testing it I would appreciate it if you could test so I can do the next release this upcoming week without me being the only one to use it. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2009/12/20/documentation-hacking/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>kdesvn-build tip o&#8217; the day</title>
		<link>http://www.purinchu.net/wp/2009/12/12/kdesvn-build-tip-o-the-day/</link>
		<comments>http://www.purinchu.net/wp/2009/12/12/kdesvn-build-tip-o-the-day/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 00:26:06 +0000</pubDate>
		<dc:creator>mpyne</dc:creator>
				<category><![CDATA[Computing Troubles]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kdesvn-build]]></category>
		<category><![CDATA[Useful Tricks]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.purinchu.net/wp/?p=555</guid>
		<description><![CDATA[So I woke up this morning to notice that my kdesvn-build --refresh-build run from last night had a hiccup somewhere: The problem was kdelibs failed to install, which meant every subsequent module error-ed out during the CMake process. The problem with kdelibs was related to me having an old library installed in my Qt directory [...]]]></description>
			<content:encoded><![CDATA[<p>So I woke up this morning to notice that my <tt>kdesvn-build --refresh-build</tt> run from last night had a hiccup somewhere:</p>
<p><center><img src="/dumping-ground/kdesvn-build-errors.png" alt="screenshot of kdesvn-build errors" width="564" height="364"/></center></p>
<p>The problem was kdelibs failed to install, which meant every subsequent module error-ed out during the CMake process. The problem with kdelibs was related to me having an old library installed in my Qt directory since I hadn&#8217;t cleared out my Qt/KDE installation directories first (whoops).</p>
<p>It would be <em>really</em> annoying to have to type out each module to build just to skip the first four that had built right. Luckily I don&#8217;t have to do that, instead this sufficed:</p>
<pre>$ kdesvn-build --no-src <b>--resume-from</b> kdepimlibs
Script started processing at Sat Dec 12 19:04:24 2009
< <<  Build Process  >>>
Building kdepimlibs (1/21)
        Preparing build system for kdepimlibs.
        Removing files in build directory for kdepimlibs
        ...</pre>
<p>The magic here is the <tt>--resume-from</tt> command line option which skips until the given module in the build process. <tt>--no-src</tt> is only available since kdesvn-build-1.10, use <tt>--no-svn</tt> if you haven&#8217;t upgraded yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.purinchu.net/wp/2009/12/12/kdesvn-build-tip-o-the-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
