[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gdiscuss] packaging
On Wed, 6 Feb 2002, Noel Koethe wrote:
> > http://moria.seul.org/~bergo/gdis/gdis-0.74.tar.gz ,
> > it is based on 0.74pre1 , I didn't open pre2 yet.
> Thank you. I packaged and uploaded it to Debian.
I just finished the very bare man page, the package with it is in
It is still 0.74pre1 , didn't diff that and pre2 to check any differences.
The man page is gdis.1x (1x section)
Now some techinicalities on making it official, so that Sean can develop
with the automake structure on:
First of all, if you don't know the automake/autoconf hierarchy, taking a
quick glance at http://www.seul.org/docs/autotut may help.
Changes on code:
1) every .c file had a #include "config.h" line added, this
file is written by the configure script with definitions of available
libraries and GDIS version number.
2) the version #define is no longer a float, but a string, so all
*printf that used %4.2f for VERSION were changed to %s
Updating the package:
The whole automake structure is controlled by these configuration files:
to apply changes on them, run
aclocal && autoconf && autoheader && automake
from the package's top level directory
Whenever a new .c or .h source file is added removed, Makefile.am
should be edited.
Whenever a new version number is to be given, configure.in should be
edited (the AM_INIT_AUTOMAKE macro in the first lines)
To generate a distribution tarball, use
It will write a gdis-VERSION.tar.gz file. If you added header files,
models, XPMs, etc., unpack the dist tarball and try to compile it before
publishing, a file may be left out due to the old Makefile.am
(any xpm and .h files that are to be included should be listed under the
Felipe Paulo Guazzi Bergo - Free Software Developer (firstname.lastname@example.org)
GPG/PGP mail welcome - GPG/PGP Key: EF8EE808 (keyserver pgp.mit.edu)
http://www.advogato.org/person/khazad - Brasilia - DF - Brazil - Earth
* Any sufficiently advanced OS is indistinguishable from Linux.