Re: [A-A-P-develop] Debian packaging
Brought to you by:
vimboss
From: Bram M. <Br...@mo...> - 2003-10-05 11:30:01
|
Cory Dodt wrote: > I have been thinking about producing the a-a-p package and getting it into > the Debian distribution. The work is going well; I already have a working > package that passes lintian. I don't want to duplicate anyone's work, so > if the list knows that someone else has already started a Debian package > I'll stay out of the way. Otherwise I'll go ahead and ITP it, since > nobody else has done that. I don't know of someone who is working on a Debian package for Aap. I'm glad you made one! > Some random points: > > * I don't intend to package agide, since I don't use it. > > * I intend to package A-A-P pretty much the way ./aap install installs it, > with some minor differences to conform to Debian spec: > - There is no Exec-* directory. The python files go into /usr/lib/aap. Doesn't this mean you cannot have two versions of Aap installed at the same time? > It would make my job as packager easier if there was a LIBDIR option I > could pass in. Ideally, $PREFIX/$LIBDIR/__init__.py exists. Please suggest a patch for this. > - The doc is a separate package, since it is substantial. To do this I > have to install and then move the docs out of the package directory. I > see that there is a FULLDOCS option, but there isn't an ONLYDOCS option. > If there were, I could > ./aap install FULLDOCS=no PREFIX=$CURDIR/debian/aap/usr LIBDIR=lib > ./aap install ONLYDOCS=yes PREFIX=$CURDIR/debian/aap-doc/usr \ > DOCDIR=share/doc > And, tada! Everything's where it belongs. Again, please suggest a patch for this. > - I have to recreate the symlink to aap every time. It would be a > little easier to maintain the package if the symlink was a relative path, > to > "../%s" % LIBDIR # assuming it's being installed in $PREFIX/bin What is wrong with recreating the symlink? I thought it's the simplest method. > - I have to move the man page. It normally goes into $PREFIX/man. I > move it to $PREFIX/share/man, per FHS. This is inconvenient; can I get a > MANDIR option, similar to DOCDIR and LIBDIR? Sure, patch welcome! > ... note that none of the above are showstoppers. I have already worked > around all of them in my debian/rules; they are simply conveniences so I > can get future versions of the package out a little faster as upstream > versions appear. New versions of aap seem to appear every week so every > little bit makes a difference! So long as it's easy to fix in the main.aap recipe we can make it easier for the package. It might also be useful for someone making a package for another system. > * It is not going to be installed as a Python package. Nothing ends up in > /usr/lib/python* Right. I never intended Aap to be a Python package, it's a program that happens to be implemented in Python. > * It Suggests: aap-doc. It could also suggest agide, if there were > someone willing to package it. A package for Agide would be good, since it's more difficult to install. Aap only depends on Python being available. Agide requires WxPython, gdb and gvim with Netbeans interface. It's not simple for a user to install all that manually. Although "aap --install agide" should have a chance to work. I haven't heard from someone who successfully did that on a Debian system. > * I am incidentally also a wiz with Inno Setup. It'd be quick work for me > to produce a Windows self-installing exe for AAP just as I do the debian > packages, and even use Inno to adjust PATH appropriately during the > install. That would be great. The only reason I haven't done this is that I had no time. If you do this, please make it such that I can do the same on my system for a release. > Any thoughts? Ideas? Things I need to take into account? I'm happy you are working on this. Hopefully it also makes other Debian users happy. -- From "know your smileys": :-D Big smile /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |