Re: Debian packaging

Cory Dodt <corydodt-/[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
--- Bram Moolenaar <[email protected]> wrote:
> I don't know of someone who is working on a Debian package for Aap.  I'm
> glad you made one!

ITP'd and RFS'd.  (If you don't know all the Debian acronyms, then you
certainly won't care what I mean by that :-)

> >   - 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.

...
> Please suggest a patch for this.
...
> Again, please suggest a patch for this.
...
> Sure, patch welcome!

Message received :-).  I'll work on a patch to add these variables.

> 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.

Agreed.

> > * 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.

> 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!


C



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.