Re: Debian packaging
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Cory Dodt wrote: > > > - 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? > > Yes and no. You won't be able to install two versions of the aap.deb > package at the same time, but this is necessary and proper for package > management. Nothing prevents you from downloading the aap source as we do > now and running ./aap install, and you'll get the /usr/local/.../Exec-* > tree sharing the system with the official package. > > Is there a use case for having multiple aap's installed as "official" > packages? Usually this is necessary only for migration. One example that > springs to mind is the subversion package, which keeps around the svnadmin > executable for older versions of subversion for upgrading the database. > But this is only one file, not the entire package. For me the most useful way is to first install a new version, use it for a week or so, and then delete the old package. If the new version doesn't work well, undo the install. Perhaps the Debian package system already takes care of these things without the need for a directory with the version number in it? > > > * I am incidentally also a wiz with Inno Setup. > > > > 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. > > I'll post this sometime tomorrow. The basic approach is: (1) generate a > .iss using the Inno wizard, (2) parameterize it with python string > replacements and rename it .iss.in, (3) use an aap recipe to generate the > real .iss and invoke the Inno compiler. I'll provide the aap recipe and > .iss.in so all you have to do is run aap and publish the .exe file. Sounds good, since this means it's all automatic. No chance for mistakes. > > I'm happy you are working on this. Hopefully it also makes other Debian > > users happy. > > Bah. :-) Open source is selfish at its core -- I'm doing this because I > need aap in Debian! If you think about it, everything you do is selfish. I help poor children only because it makes me feel good. That's very selfish, isn't it? :-) -- The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change. -- FORTRAN manual for Xerox Computers /// Bram Moolenaar -- [email protected] -- 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 /// ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf