[Gambas-user] The new IDE packager - Help needed
Benoit Minisini
gambas at ...1...
Tue Apr 10 23:11:38 CEST 2007
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, and if you want a SVN write access.
Regards,
--
Benoit Minisini
More information about the User
mailing list