And now I have them all. Maybe I can reduce the load on my wan pipe by setting up a mirror for the island.

And now I have them all. Maybe I can reduce the load on my wan pipe by setting up a mirror for the island.

Okay… after this morning’s post, I decided to make Jenkara build. It is now. You can get it thus:
$ svn co http://svn.colliertech.org/svn/trunk/jenkara
or
$ wget http://www.colliertech.org/downloads/jenkara-0.0.1.tar.gz
You can build it with ye olde
$ ./configure && make
there’s no install target, so run it with
$ cd src && ./jenkara
but it doesn’t work for ‘cuz the glade file it reads doesn’t work with the new libglade. I did write this stuff in 2001, after all…
So if any of you know how to make the following glade file work with the new and shiny, it would be great to get some of that info!
http://svn.colliertech.org/svn/trunk/jenkara/ui/jenkara.glade2
One day I will re-write this in C# and run it on mono. Promise!
There’s an opening at Canonical that I’d like to take after the current contract is up. It’s an opening for a OpenGL dev on the Ubuntu desktop team.
Don’t get me wrong; I enjoy working with my current group quite a bit. We’re building a pretty neat tool. However, building OpenGL into the GNOME desktop has been a personal goal of mine for quite a while now.
I bought a Voodoo II in 1999, just after I graduated from high school with the hopes of building a video game. The tools for Linux were sparse. There was Blender, but the learning curve is very high, the source was not then open, and I knew I wouldn’t be able to build the whole game by myself. So I started building a 3d modeler myself.
I got as far as building a quake .mdl loader with rotation, scaling and primitive animation. I was pretty proud of myself.
I haven’t gotten too far along the path since then, however. Time required by work has increased, and I haven’t been able to find a way to make the two projects (food on the table, continuing work on the modeler) mesh.
In 2006, I was able to take over maintaining gtkglarea and fix a couple of minor problems. I wrote a c# wrapper around the widget library using Mike‘s excellent gapi tool. I was able to help Rob, Dave and Dylan with Tao.OpenGL (which led to a bit of work on Prebuild). I helped Sam a bit to make gtkglarea-sharp production-ready. But I haven’t had a chance to get that modeler finished…
I’m nothing if not persistent, though :)
My background includes experience in system administration, network operation, technical support, and development of applications on server and client side.
My primary operating system is Debian GNU/Linux.
My primary programming languages are C# and Perl.
I run a small family ISP on a not-for-profit basis: http://colliertech.org/
I am a “charter” member of a group originally know as “The Linux Internet Support Co-Operative” (LISC). The group is now known as the Open Projects Network (OPN) and is best known for its involvement with the freenode.net IRC servers.
I hold r/w access to the source code repositories of many “open source” projects including Mono, GNOME, and many projects hosted by sourceforge.
I self-identify as a Free Software developer, non-pauline christian, democratic socialist and egalitarian.
I find the work done by the free software / open source community fascinating and attempt to contribute to the project with time available to me.
I’ve recently found a need to create relocatable versions of some of my favorite libraries (produced, not-so-coincidentally by the GNU build system). You might find yourself asking “What is relocatable software, and why should I care?” Maybe I can help.
A piece of software is said to be “relocatable” when it does not rely on an absolute path in a filesystem in order to operate correctly. An example of this type of system is OS X’s .app directory/package framework.
As it currently stands, if I were to install iceweasel (or Firefox™) in /usr/local/mozilla/, but later realize there is more disk space available in /opt, I would be SOL. If mozilla were built as a relocatable package, however, moving /usr/local/mozilla/ to /opt/mozilla/ would not be a problem.
There are a couple of things standing in the way of this shiny new future.
1) In its current state, GNU autoconf accepts multiple absolute paths as argument values. In a relocatable package, all related software must be installed relative to a single point, referred to in autoconf nomenclature as the “prefix”. In a perfect world, all directories relative to the prefix would be further constrained as not to be beneath the prefix root. For example, defining the “bindir” as ${prefix}/../bin/ would be a no-no.
I have proposed a solution to this problem on the bug-autoconf list.
2) After a package is created in a relocatable way, how does one find said package once it has been moved?
The solution to this problem lies in the standardization of the use of pkg-config and subsequent modifications to the $PKG_CONFIG_PATH environment variable.
The first step is to ensure that your GNU build system includes a rule to generate a
Here are some examples from the Mono codebase. Note that configure.am is named configure.in in the mono codebase. Note further that I am scowling.
AC_OUTPUT([ Makefile mint.pc mono.pc mono-cairo.pc dotnet.pc mono-uninstalled.pc scripts/mono-nunit.pc ... ])
Here are a couple of examples of the contents of .pc.in files:
cjac@dom0:/usr/src/svn/mono/mono-1.2.5$ cat mint.pc.in
prefix=${pcfiledir}/../..
exec_prefix=${pcfiledir}/../..
libdir=${prefix}/lib
includedir=${prefix}/include/mono-@API_VER@
Name: Mono Interpreter
Description: Mono Interpreter Runtime
Version: @VERSION@
Requires: glib-2.0 gthread-2.0
Libs: -L${libdir} @export_ldflags@ -lmint @libmono_ldflags@
Cflags: -I${includedir} @libmono_cflags@
cjac@dom0:/usr/src/svn/mono/mono-1.2.5$ cat mono.pc.in
prefix=${pcfiledir}/../..
exec_prefix=${pcfiledir}/../..
libdir=${prefix}/@reloc_libdir@
includedir=${prefix}/include/mono-@API_VER@
Name: Mono
Description: Mono Runtime
Version: @VERSION@
Requires: glib-2.0 gthread-2.0
Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@
Cflags: -I${includedir} @libmono_cflags@
Of particular importance in these files is the definition of ${prefix}, ${exec_prefix}, ${libdir} and ${includedir} relative to ${pcfiledir}. ${pcfiledir} is set at pkg-config run time as it iterates over the contents of the $PKG_CONFIG_PATH environment variable.
For example, if $PKG_CONFIG_PATH evaluates as “/home/cjac/opt/mono/lib/pkgconfig:/usr/lib/pkgconfig”, on the first iteration, ${pcfiledir} will store /home/cjac/opt/mono/lib/pkgconfig, and on the second iteration, ${pcfiledir} will store /usr/lib/pkgconfig.
So! Assuming I installed mono to ~/opt/mono, and I wanted to instead move it to /opt/mono, all I would need to do is the following:
$ sudo mv ~/opt/mono /opt $ export PKG_CONFIG_PATH="/opt/mono/lib/pkgconfig:$PKG_CONFIG_PATH"
And voila. All of my mono-related bits and all references to them have been moved. Independent of the absolute path to the mono package, the prefix can be determined in a consistent way:
$ pkg-config mono --variable=prefix
Comment away… I’ll try to get rid of some of the spam crowding my comment backlog…
Hello public,
I’m putting some effort into GtkGlAreaSharp again. The supporting bits aren’t really production-ready, though, so rather than hacking on the widget itself and its associated examples, I’m beefing up the underlying platform.
The first step in the process is making Prebuild a viable meta-build system. Right now it works pretty well for generating NAnt, Visual Studio 2003, Visual Studio 2005 and MonoDevelop build systems. The Autotools target is a bit lacking, however. There is not currently support for recursive projects, ie, solutions with multiple projects. There is also no support for versioned solutions or projects. This makes it difficult to strong-named assemblies, without which, libraries can’t be added to the GAC. Production-quality code is usually added to the GAC, so getting the feature addressed is pretty high priority.
The reason I’m focusing on Prebuild is that the Tao framework, a cross-platform C# binding to the OpenGL API, uses Prebuild to generate its build systems. I use Tao in the examples distributed with GtkGLAreaSharp in order to demonstrate the widget’s usage, how one might allow one’s users to interact with objects rendered in the OpenGL widget, etc.
My work so far on the Prebuild Autotools templates is living in my own subversion repository until I get it to a better state than the stuff at sourceforge. If you’re interested in taking a peek, browse on over to https://svn.colliertech.org/mono/dnpbAutotools/
After we convince Prebuild to generate robust Autotool build systems, I’m going to see how much effort it takes to push Prebuild into the Ubuntu core. After there is an Ubuntu package, it will probably take much less effort to get it packaged up for Debian. One day I will become a DD, but that takes a lot of time, and I hear a rumor that someone has to kick the bucket before they start accepting more :)
There are also a couple of nearly-complete bugs blocking gtkglarea from working smoothly on win32. This seems like a good place to focus effort after Prebuild does what I want. Plus, then, I will move the gigantic project of adding OpenGL support to GTK+ core forward a few steps.
Hey, look. My name is mentioned down at the bottom.
http://www.go-mono.com/archive/1.2/#contributors
testing aggregator’s ability to de-dup this update
I couldn’t sleep this morning. I woke up early and mostly watched Firefly. Between episodes, I hacked on gtkglarea and updated some of my bugs over at the gnome bugzilla system. I added a couple of components to the gtkglarea product page, namely build and docs.
Next on my list of things to do for the project include working kinks out of the mingw build, getting some folks with msys/mingw systems to test the build, merging the gdkgl.c and gdkgl-win32.c files and adding some gtk-doc docs. At that point, it should be good to release.
I also took over ye olde gtk + OpenGL bug. I plan on having a suitable GL widget in the core of gtk+ within a year. Whip me if I slack :)