GNOME Bugzilla – Bug 313249
Need an "extract-to" field or something similar for tarball modules
Last modified: 2005-10-06 21:28:54 UTC
When trying to build all of Gnome with tarballs in jhbuild, I found that mozilla provides tarballs of the form mozilla-1.7.11-source.tar.bz2 which, when extracted, creates a 'mozilla' directory instead of a 'mozilla-1.7.11-source' directory. This causes jhbuild/modtypes/tarball.py:do_unpack() to fail with a "could not unpack tarball" message as it expects the latter directory name instead of the former. It appears that mozilla is the only module that causes this kind of problem currently, so adding mozilla to the skip list and just using vendor mozilla development packages is a decent workaround for now.
Sounds sensible. We have similar options for the CVS, Subversion and Arch module types.
Committed a fix, adding a "checkoutdir" attribute to <tarball> (I know you don't "check out" tarballs, but it is the same attribute name used for the other module types).
Cool, thanks! Now I just need to fix up my scripts to use it so that we can have complete build-from-tarball-with-jhbuild modulesets for Gnome releases. :-)
You probably don't need it, but there is an example of its use in the gnome-2.12 module set for the "iso-codes" module, in order to handle the weird-arse Debian tarball naming conventions.
*** Bug 172904 has been marked as a duplicate of this bug. ***