<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>jjongsma &#187; Agave</title>
	<atom:link href="http://blogs.gnome.org/jjongsma/category/programming/agave/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/jjongsma</link>
	<description>Hacking on GNOME, but with a healthy dose of C++</description>
	<lastBuildDate>Wed, 21 Oct 2009 01:17:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/3.0/</creativeCommons:license>		<item>
		<title>Fiddling</title>
		<link>http://blogs.gnome.org/jjongsma/2008/03/09/fiddling/</link>
		<comments>http://blogs.gnome.org/jjongsma/2008/03/09/fiddling/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 20:50:06 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[gtkmm]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2008/03/09/fiddling/</guid>
		<description><![CDATA[A belated happy first birthday to my beautiful daughter.  It&#8217;s been a fantastic year.

Since then it seems like I&#8217;ve been sick most of the time.  Instead of doing something useful, I&#8217;ve taken to fidding on a re-write of my Agave colorscheme designer, and I&#8217;ve made a decent amount of progress.  It still [...]]]></description>
			<content:encoded><![CDATA[<p>A belated happy first birthday to my beautiful daughter.  It&#8217;s been a fantastic year.</p>
<p><a href="http://www.flickr.com/photos/jonner/2311820822/" title="DSC_5570 by jonner, on Flickr"><img src="http://farm3.static.flickr.com/2007/2311820822_2e9e68bfbc_m.jpg" alt="DSC_5570" height="160" width="240" /></a></p>
<p>Since then it seems like I&#8217;ve been sick most of the time.  Instead of doing something useful, I&#8217;ve taken to fidding on a re-write of my Agave colorscheme designer, and I&#8217;ve made a decent amount of progress.  It still lacks a lot of features of the original, but it benefits from my vastly better grasp of gtkmm and related technologies.  I still don&#8217;t know if I&#8217;ll ever actually get around to releasing it. It&#8217;s currently serving as a way for me to relax and take breaks from my other projects.  It&#8217;s become sort of a playground for me to try out new technologies, and I think I&#8217;ve succeeded in making it nearly impossible for normal users to build as it requires quite a few very new or unreleased libraries (goocanvasmm, giomm, glibmm-utils, etc).</p>
<p>Here&#8217;s a little screencast of what I&#8217;ve done so far:</p>
<p><a href="http://www.gnome.org/~jjongsma/temp/agave2.ogg"><img src="http://www.gnome.org/~jjongsma/temp/Agave2-video-thumbnail.png" alt="video thumbnail" height="200" width="188" /></a></p>
<p>I&#8217;ve set up a <a href="http://github.com/jonner/agave2/tree/master">repository on github</a> for anybody that&#8217;s interested in playing around with it.</p>
<p>Also, I&#8217;ll be <a href="http://mail.gnome.org/archives/gtkmm-list/2008-March/msg00037.html">taking over some glibmm maintainer duties</a> from murray after the 2.16.0 release.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2008/03/09/fiddling/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Spring Cleaning</title>
		<link>http://blogs.gnome.org/jjongsma/2007/05/16/spring-cleaning/</link>
		<comments>http://blogs.gnome.org/jjongsma/2007/05/16/spring-cleaning/#comments</comments>
		<pubDate>Wed, 16 May 2007 00:24:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[Minnesota]]></category>
		<category><![CDATA[Nemiver]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2007/05/16/spring-cleaning/</guid>
		<description><![CDATA[ Interesting to see Agave featured prominently in the screenshots for ubuntu studio. (That site might be down, it doesn&#8217;t seem to be withstanding the traffic very well).
Things with nemiver are coming along at a decent pace and we&#8217;ll probably be doing another release in the near future.  The next release should bring quite [...]]]></description>
			<content:encoded><![CDATA[<p> Interesting to see <a href="http://home.gna.org/colorscheme/">Agave</a> featured prominently in the <a href="http://ubuntustudio.org/screenshots">screenshots for ubuntu studio</a>. (That site might be down, it doesn&#8217;t seem to be withstanding the traffic very well).</p>
<p>Things with <a href="http://home.gna.org/nemiver/">nemiver</a> are coming along at a decent pace and we&#8217;ll probably be doing another release in the near future.  The next release should bring quite a few nice new features and a lot of bugfixes, most of which Dodji has already mentioned.</p>
<p>I recently bought a new Digital SLR camera, the <a href="http://www.flickr.com/cameras/nikon/d40/">Nikon D40</a>.  I wasn&#8217;t necessarily looking for the best camera I could find, just something reasonably priced that took decent pictures.  The D40 is relatively small so I don&#8217;t feel like I&#8217;m lugging a huge camera around (which is important or I probably wouldn&#8217;t end up using it as much), it&#8217;s cheap (it comes with a reasonable lens kit for around 600 US, which isn&#8217;t much more than I paid for my old point-and-shoot digital back in the day), and it takes vastly better pictures than my old camera.  I&#8217;m really loving the fact that I can actually get decent pictures even if the lighting and environment is less than ideal.  I&#8217;d highly recommend it if you&#8217;re looking for a decent entry-level DSLR.  I still clearly have a lot to learn about photography (this camera just lets me take better-looking crappy photos).  But I&#8217;m slowly learning, and I&#8217;m getting lots of practice, like any new parent.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2007/05/16/spring-cleaning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Agave UI Experiments</title>
		<link>http://blogs.gnome.org/jjongsma/2007/02/19/agave-ui-experiments/</link>
		<comments>http://blogs.gnome.org/jjongsma/2007/02/19/agave-ui-experiments/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 04:50:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2007/02/19/agave-ui-experiments/</guid>
		<description><![CDATA[
So I&#8217;ve found myself hacking on agave a bit more lately, and I thought I&#8217;d experiment a little bit with some different UI ideas.  Any thoughts and comments are welcome, of course.





Keep in mind that this is just at an experimental stage at the moment, so I may just throw it away if I [...]]]></description>
			<content:encoded><![CDATA[<p>
So I&#8217;ve found myself hacking on agave a bit more lately, and I thought I&#8217;d experiment a little bit with some different UI ideas.  Any thoughts and comments are welcome, of course.
</p>
<p>
<a href="http://www.flickr.com/photos/jonner/394950253/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/179/394950253_e1b32caee2_t.jpg" width="98" height="100" alt="agave with color wheel" /></a><br />
<a href="http://www.flickr.com/photos/jonner/394950196/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/137/394950196_67e7c32780_t.jpg" width="86" height="100" alt="Agave with color wheel and swatches" /></a>
</p>
<p>Keep in mind that this is just at an experimental stage at the moment, so I may just throw it away if I decide that it doesn&#8217;t work well.  I do think it gives a better sense of how the colors are related, though.
</p>
<p>
In any case, it&#8217;s been fun playing around a little bit with <a href="http://cairographics.org/cairomm/">cairomm</a> for once.  In the end though, I&#8217;d probably want to implement this using some sort of canvas library, but I haven&#8217;t done enough research on the options that are currently available.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2007/02/19/agave-ui-experiments/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Icon theme cache issues</title>
		<link>http://blogs.gnome.org/jjongsma/2006/10/15/icon-theme-cache-issues/</link>
		<comments>http://blogs.gnome.org/jjongsma/2006/10/15/icon-theme-cache-issues/#comments</comments>
		<pubDate>Sun, 15 Oct 2006 17:24:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2006/10/15/icon-theme-cache-issues/</guid>
		<description><![CDATA[ So I spent a good deal of saturday chasing down a bug in Agave that was reported by somebody trying to make a Debian package of it.  Some time ago, when the second &#8220;GNOME Goal&#8221; was introduced for Installing theme-friendly icons, I decided I&#8217;d do that to Agave as well.  (By the [...]]]></description>
			<content:encoded><![CDATA[<p> So I spent a good deal of saturday chasing down a bug in <a href="http://home.gna.org/colorscheme/">Agave</a> that was reported by somebody trying to make a Debian package of it.  Some time ago, when the second &#8220;GNOME Goal&#8221; was introduced for <a href="http://live.gnome.org/GnomeGoals/AppIcon">Installing theme-friendly icons</a>, I decided I&#8217;d do that to Agave as well.  (By the way, those little goals were kind of a nice way for new contributors to feel useful, are there plans for any more?).  Everything worked fine until a couple days ago when I had a report of a crash when installing the application to <code>/usr</code> due to an icon not being found in <code>/usr/<strong>local</strong>/share/icons/hicolor/...</code></p>
<p>Why was it looking in <code>/usr/<strong>local</strong>/...</code>???  I scoured my source code for hard-coded references to <code>/usr/local</code>, and not finding any, I sat scratching my head for a good long while.  Now, somebody more familiar with gtk icon theme issues may have recognized the problem immediately, but it took me quite a while to figure it out, so I thought I&#8217;d post the solution in case anybody else runs in to the same issue.  The problem only shows up if you&#8217;ve first installed the application to <code>/usr/local</code> (the default) and then uninstalled it and installed it to <code>/usr</code>.</p>
<p>The GNOME Goal page mentioned above suggests an <code>install-data-hook</code> rule which  updates the gtk icon cache after the program&#8217;s icons are installed.  So the icon cache in <code>/usr/local</code> gets updated when you first install the program to <code>/usr/local</code>.  Unfortunately, after uninstalling the application, the icon cache is not updated, so gtk still thinks there are application icons located under <code>/usr/local</code>.</p>
<p>Since <code>/usr/local/</code> is in the icon theme search path before <code>/usr</code>, when the application is installed to <code>/usr</code>, it will find the stale icon cache in <code>/usr/local</code> and think it found the icon you&#8217;ve requested.  Unfortunately the icon that it &#8216;found&#8217; has already been deleted, so it will try to load an icon from <code>/usr/local</code> that doesn&#8217;t exist, and the program crashes.  The solution is to simply add an <code>uninstall-hook</code> that also updates the gtk icon cache so that you don&#8217;t have a stale icon cache after you run <code>`make uninstall`</code>.  Something like the following:</p>
<pre><code>
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
        @-if test -z "$(DESTDIR)"; then
                 echo "Updating Gtk icon cache.";
                 $(gtk_update_icon_cache);
         else
                 echo "*** Icon cache not updated.  After install, run this:";
                 echo "***   $(gtk_update_icon_cache)";
         fi
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2006/10/15/icon-theme-cache-issues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Colorscheme to Agave</title>
		<link>http://blogs.gnome.org/jjongsma/2006/07/21/colorscheme-to-agave/</link>
		<comments>http://blogs.gnome.org/jjongsma/2006/07/21/colorscheme-to-agave/#comments</comments>
		<pubDate>Fri, 21 Jul 2006 14:36:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2006/07/21/colorscheme-to-agave/</guid>
		<description><![CDATA[ At long last, I&#8217;ve released a new version of GNOME Colorscheme.  Only I&#8217;ve changed the name of the application with this release.  The new name is Agave.  I decided to change the name of the application after I found that people often assumed (due to the name) that it was an [...]]]></description>
			<content:encoded><![CDATA[<p> At long last, I&#8217;ve released a new version of GNOME Colorscheme.  Only I&#8217;ve changed the name of the application with this release.  The new name is <a href="http://home.gna.org/colorscheme/">Agave</a>.  I decided to change the name of the application after I found that people often assumed (due to the name) that it was an application that could be used to change the colorscheme of their desktop (i.e. window borders, etc).  Plus I was just never happy with such a generic name.</p>
<p>Other than the name change / re-branding, there&#8217;s not a lot of major changes, but there are few minor improvements and an additional translation (Catalan).  And now that I&#8217;ve got the name-change release out of the way, I can get back to working on some bigger changes to the application.  I&#8217;ve been working on a branch to implement a custom TreeModel which can use standard C++ containers (e.g. std::vector) as its data store.  This is of course completely uninteresting from a user perspective, but it makes the code much cleaner and maintainable as I don&#8217;t have to keep a standard container synchronized with the data in a ListModel and vice versa.  I&#8217;ve just merged these changes back into master.</p>
<p>I have hopes that at some point a generic standard-container-based TreeModel can be shipped with <a href="http://gtkmm.org/">gtkmm</a>, but I think it needs a bit of testing here before I can propose adding anything to gtkmm.  The implementation I&#8217;m using right now is still a bit rough around the edges since this is the first time I&#8217;ve ever implemented a custom TreeModel, but I think it&#8217;ll get there eventually.</p>
<p>In addition, I&#8217;ve got a few ideas regarding improving the UI for picking colors, and some other things.  So that should start picking up soon as well.</p>
<p>In addition, with many thanks to <a href="http://www.burtonini.com/">Ross Burton</a>, Agave is making its way into the Debian repository.  You can keep an eye on its progress in the <a href="http://ftp-master.debian.org/new.html">Debian NEW queue</a>.  Also, it looks like you can grab it from <a href="http://www.burtonini.com/debian/unstable/">Ross&#8217;s personal repository</a> if you want to try it out before it actually gets accepted into the official repository.  Thanks Ross.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2006/07/21/colorscheme-to-agave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorscheme for Debian</title>
		<link>http://blogs.gnome.org/jjongsma/2006/02/26/colorscheme-for-debian/</link>
		<comments>http://blogs.gnome.org/jjongsma/2006/02/26/colorscheme-for-debian/#comments</comments>
		<pubDate>Sun, 26 Feb 2006 22:26:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2006/02/26/colorscheme-for-debian/</guid>
		<description><![CDATA[ Thanks to Carlos Soto, there are now some initial Debian packages of Colorscheme.  You can find them at http://eclipxe.com.mx/debian/gnome-colorscheme/.  See this mailing list post for more information.  Thanks Carlos.
]]></description>
			<content:encoded><![CDATA[<p> Thanks to Carlos Soto, there are now some initial Debian packages of Colorscheme.  You can find them at <a href="http://eclipxe.com.mx/debian/gnome-colorscheme/">http://eclipxe.com.mx/debian/gnome-colorscheme/</a>.  See <a href="http://lists.debian.org/debian-mentors/2006/02/msg00359.html">this mailing list post</a> for more information.  Thanks Carlos.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2006/02/26/colorscheme-for-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Experimental colorscheme packages for Ubuntu Breezy</title>
		<link>http://blogs.gnome.org/jjongsma/2006/02/20/experimental-colorscheme-packages-for-ubuntu-breezy/</link>
		<comments>http://blogs.gnome.org/jjongsma/2006/02/20/experimental-colorscheme-packages-for-ubuntu-breezy/#comments</comments>
		<pubDate>Mon, 20 Feb 2006 02:28:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2006/02/20/experimental-colorscheme-packages-for-ubuntu-breezy/</guid>
		<description><![CDATA[ I took a little while this afternoon to sit down and try to teach myself a little about packaging software.  I&#8217;m of the general opinion that software packaging should be left to the experts so that things can get done right.  In fact, this is one of the things that makes Debian [...]]]></description>
			<content:encoded><![CDATA[<p> I took a little while this afternoon to sit down and try to teach myself a little about packaging software.  I&#8217;m of the general opinion that software packaging should be left to the experts so that things can get done right.  In fact, this is one of the things that makes Debian (and by extension, Ubuntu) great.  The packages are all of high quality and available in a central repository.  Before moving to Debian I was a Red Hat user (around version 9 &#8212; before Fedora and the extras improved things dramatically), so I&#8217;m well aware of the mess that comes from every user offering homemade packages on their websites.</p>
<p>Nevertheless, I&#8217;ve been getting a fair number of requests from people who want to use colorscheme but don&#8217;t have the necessary expertise to install it from source.  And I&#8217;d really like to get more people using it and giving me feedback.  So I&#8217;ve made a couple experimental <a href="http://download.gna.org/colorscheme/ubuntu/breezy/">colorscheme packages for Ubuntu Breezy</a> (i386 and amd64).  Hopefully this is just a temporary stop-gap measure until the software gets packaged for more distributions.</p>
<p>I make no guarantee that the packages will even work.  Nor will I guarantee any support for them (remember, I don&#8217;t actually know what I&#8217;m doing &#8212; I just whipped those up in an afternoon).  So I don&#8217;t particularly condone using them, but if you want to use the application and can&#8217;t get it installed from source, it&#8217;s an option.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2006/02/20/experimental-colorscheme-packages-for-ubuntu-breezy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorscheme 0.3.90 Released</title>
		<link>http://blogs.gnome.org/jjongsma/2006/02/18/colorscheme-0390-released/</link>
		<comments>http://blogs.gnome.org/jjongsma/2006/02/18/colorscheme-0390-released/#comments</comments>
		<pubDate>Sat, 18 Feb 2006 18:13:00 +0000</pubDate>
		<dc:creator>jonner</dc:creator>
				<category><![CDATA[Agave]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blogs.gnome.org/jjongsma/2006/02/18/colorscheme-0390-released/</guid>
		<description><![CDATA[ Well, I&#8217;ve finally made another release of Colorscheme.  I had put it on the back burner for a bit while I was doing a bunch of work on cairomm and gtkmm.  But now I&#8217;m back working on it with a vengeance.  A big part of why I&#8217;m excited to be hacking [...]]]></description>
			<content:encoded><![CDATA[<p> Well, I&#8217;ve finally made another release of <a href="http://home.gna.org/colorscheme/">Colorscheme</a>.  I had put it on the back burner for a bit while I was doing a bunch of work on <a href="http://cairographics.org/cairomm">cairomm</a> and <a href="http://gtkmm.org/">gtkmm</a>.  But now I&#8217;m back working on it with a vengeance.  A big part of why I&#8217;m excited to be hacking on Colorscheme again was my decision to switch from subversion to git.  Subversion is a decent program and a huge improvement over CVS, but it just doesn&#8217;t feel quite right.  I feel like I have to work around it.  With git, I&#8217;ve felt much more comfortable.  Granted, it&#8217;s pretty rough yet in spots, but it&#8217;s come a long way from what I thought it was going to be.  The main motivation for moving Colorscheme to git (instead of bzr, which I would have otherwise chosen) was the fact that the cairo library is moving to git, so I wanted to get a feel for how it worked, with a view toward moving cairomm there as well.</p>
<p>I still have a bunch of things to figure out &#8212; the most important being: How do I host the git repository so that it can be easily accessed by other people?  Right now I&#8217;m just rsyncing my local repository to the download/release area, so theoretically people can clone my repository over plain http and work on it locally, but there&#8217;s no good way for potential contributors to commit to it or to host their own repositories at the project site.  Granted, this is sort of a theoretical issue yet, since I don&#8217;t have many contributors other than translators at the moment, and repository access isn&#8217;t as critical for translators.</p>
<p>But back to the topic at hand: the new Colorscheme release.  There&#8217;s a bunch of new stuff in this release, including:</p>
<ul>
<li>Added basic drag and drop support
<ul>
<li>You can drop from any application that provides an application/x-color<br />
target (such as the Gimp color selector)</li>
<li>You can drag a color from Colorscheme to any application that accepts a<br />
text target (e.g. Gedit) or an application/x-color target (e.g.  the<br />
Gimp or the GNOME desktop background)</li>
</ul>
</li>
<li>Added the ability to export your favorite colors list as a Gimp Palette<br />
file</li>
<li>Remembers your last viewed color and automatically loads it on startup</li>
<li>Remembers your window size between sessions</li>
<li>Added support for pasting a textual description of a color from the<br />
clipboard.  Supported formats include hex string style colors (e.g.<br />
#FFFFFF) and all named colors that are understood by Gtk</li>
<li>Add support for selecting multiple colors in the favorites list for<br />
removing multiple colors at once</li>
<li>Removed dependency on GnomeVFS</li>
<li>Added dependency on GConfmm</li>
</ul>
<p>This release is indended to be a preview release leading up to an official release of 0.4.0, so please test it out and <a href="https://gna.org/bugs/?group=colorscheme">report any bugs</a> you find.  Translations are very welcome as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.gnome.org/jjongsma/2006/02/18/colorscheme-0390-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
