Ticket #896 (assigned defect)
Source should be trivially usable on not-Debathena
Reported by: | jdreed | Owned by: | vasilvv |
---|---|---|---|
Priority: | normal | Milestone: | The Distant Future |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
Now that we're the canonical Athena source, some packages should be trivially usable on distributions that are not Debathena. That is, we should create a simple command that prepares a source directory for use on any Linux. The old build system accomplished this with "do.sh dist". But it's very wrong that I need to go rip apart debathena-aclocal and deal with autogoo just to build discuss on Fedora.
Change History
comment:2 follow-up: ↓ 3 Changed 13 years ago by jdreed
As noted on zephyr, I'm fine with this being accomplished with some sort of prepare-for-redistribution script. Particularly since the set of things useful outside Debathena is a small subset of our packages (mostly stuff still in athena/{bin,lib,etc}).
autoreconf -fvi won't pull in config.guess, config.sub or install-sh.
comment:3 in reply to: ↑ 2 Changed 13 years ago by andersk
Replying to jdreed:
autoreconf -fvi won't pull in config.guess, config.sub or install-sh.
It would if we were using automake. Otherwise, you can manually run automake --add-missing --copy --foreign (and ignore the spurious error that it throws).
I'd like for our .orig.tar.gz files to include ./configure so you can just build it elsewhere. This is what autotools-using software does in general; a SVN checkout doesn't include ./configure but a release tarball does. Currently our source packages that use autotools use debian/rules to autoconfiscate themselves (see ticket #334 for the details); we can have dasource, which generates the .orig.tar.gz, autoconfiscate the packages -- possibly even by just running debian/rules debian/stamp-autotools-files.
Or we can just autoreconf -fvi, which runs the risk of being different, but will work for packages that don't use our standard snippet, if we expect there to be any. (Arguably we can then drop the snippet if dasource takes care of it, but it would be nice not to move away from svn checkouts to be directly usable as an unpacked Debian source tree; see the thread starting at discuss:5344.)