multi-touch-dev team mailing list archive
Mailing list archive
Version generation for utouch-geis configure.ac
I wanted to let you know that I had to revert the autogeneration of the
versioning based on bzr tags for utouch-geis configure.ac. I first began
by investigating what happens when you run a make dist. It generated a
correct configure script, but the distributed configure.ac still used
gen-version.sh which won't work outside of a bzr branch. Thus, I added a
dist-hook to replace gen-version.sh with the static current version. You
can see this code in:
Unfortunately, that isn't enough to fix the issue with the daily builds.
The daily builds are checked out from bzr to create a source package.
Then the source package is built separately. Autoreconf isn't run until
the source package is built, so gen-version.sh is run inside the source
package but without the bzr branch information. This is why the
pkgconfig file thinks the version is 'unknown+r'.
There may be a way to get around this, but I can't think of any. If bzr
supported keyboard out of the box we could use it, but it doesn't. Since
we need to get libgrip building in the daily archive, I reverted to
static versioning in configure.ac.