[Gambas-user] The new IDE packager - Help needed

José Luis Redrejo jredrejo at ...626...
Tue Apr 10 23:17:22 CEST 2007


2007/4/10, Benoit Minisini <gambas at ...1...>:
> On mardi 10 avril 2007, José Luis Redrejo wrote:
> >
> > Do you have any documentation about the process, modules, or classes
> > you use to make the rpm packages?. I will be glad to help coding the
> > needed part to make native Debian packages.
> >
> > Regards.
> > José L.
> >
>
> In the IDE source code:
> - 'FMakeInstall' is the form that implements the packager wizard.
> - 'Package' module is the class that creates the packages.
>
> At the moment, the wizard interface is dedicated to *.rpm, but I don't think
> that it should change a lot for *.deb packages.
>
> The main function is Package.MakePackage(), that receives as argument the name
> of the distribution. But this function is really made for *.rpm, so I think
> we should make one function for each package type:
> - Package.MakeRpmPackage()
> - Package.MakeDebPackage()
>
> Then in Package.MakeDebPackage() you will put all you want to create a debian
> package.
>
> The only thing to copy from the current Package.MakePackage() is the code to
> create the icons (three lines).
>
> The external tools function detection (Package.CheckProgram) should be
> enhanced, so that it can tell FMakeInstall which distribution are supported:
>
> rpmbuild => All RPM distributions.
> dpkg => All DEB distributions.
> Slackware seems to need only bzip2.
>
> Tell me if you need more information,

I'll check tomorrow those files and tell you if I have any doubt.

>and if you want a SVN write access.
>

I don't think so, it shouldn't be a big piece of code. I'll send you
the sources, unless you prefer me to use svn.


> Regards,
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list