On Wed, Nov 02, 2005 at 11:41:35AM -0200, Jakson A. Aquino wrote: > Hello! > > I would like to add a small statistics software to Debian > official packages. Statist home page currently is on: > > http://www.usf.uos.de/~breiter/tools/statist/index.en.html > > Soon we will have a new release of statist (1.3.1), and I've > edited a script that creates a binary .deb file. (I got the > original script from Kurumin, a Kannopix/Debian based > distro). I checked the package with lintian and fixed all > warnings and errors reported. Linda reports two errors but > don't is as informative as lintian on how to fix them. > > In fact, the package has the changelog and the copyright > files, but they might be in the wrong directory. > > I don't know very well how to use the Debian tools to build > a package. I'm using only dpkg-deb, and I need help to > replace the script with the adequate procedures. I see. You'll want to read the New Maint Guide at http://www.debian.org/devel/
> Currently, it's possible to create the package following the > steps below: > > 1) Download the tarball from the cvs tree: > > http://intevation.de/cgi-bin/viewcvs-statist.cgi/statist/statist.tar.gz?tarball=1 All good so far; > 2) Edit the file Makefile.inc, changing the path from > "/usr/local" to "/usr" This might be something you do also in the Debian package; perhaps you will instead set an environment variable such as PREFIX=/usr/. > 3) Compile the binary(cd src; make). This is some of the stuff that goes in ./debian/rules (the build rules). > 4) Compile the pdf files (cd ../doc; make). This will be called something like "build-indep" in ./debian/rules (if you choose to split up the building of arch and arch-indep packages, if its even warrented to split the package into arch: all and arch: any ones. Read and understand this). > 5) Run the script "create_deb_rpm.sh". This is probably largely unnecessary, but some parts might also go into ./debian/rules. > Can anyone help me? I think I need a sponsor... Change the package to use conventional build tools; at the very least, dh_builddeb and not dpkg-deb directly (dh_ is just a wrapper for it, though). I'm not yet a DD so I can't sponsor you; but I can help, probably on-list, if you have questions. Someone else might jump in to sponsor, too, once the package is more sane :) -- Clear skies, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

