[Gambas-user] Newbies Package Creation Problem

Benoit Minisini gambas at ...1...
Fri Sep 3 13:10:15 CEST 2004


On Friday 03 September 2004 10:22, Technoferret wrote:
> On Wed, 2004-09-01 at 21:29, Benoit Minisini wrote:
> > On Wednesday 01 September 2004 17:02, Technoferret wrote:
> > > On Wed, 2004-09-01 at 15:34, Rob wrote:
> >
> > As for the fakeroot problem, could you try to replace in the Package
> > module, line 370:
> >
> > SHELL "cd " & Project.Quote(sHome &/ "RPM/SRPMS") & "; alien --to-deb -k
> > " & Project.Quote(sPackage) WAIT
> >
> > By:
> >
> > SHELL "cd " & Project.Quote(sHome &/ "RPM/SRPMS") & "; fakeroot alien
> > --to-deb -k " & Project.Quote(sPackage) WAIT
> >
> > Tell me the result!
> >
> > Regards,
>
> Benoit
>
> I changed the line above as you suggested and I also changed the other
> line in the script that calls alien.
>
> This has made some improvement and it will now generate a single binary
> .deb for me but now I have found 2 more problems (bugs),
>
> 1. After the script creates the first .deb I then get the message 'File
> already Exists'. It looks to me like it is trying to create the source
> .deb with the same name as the binary .deb ?????
>

OK, I fixed it.

> 2. When I install from the .deb it creates 4 folders with weird names,
> e.g./%{_menudir}, /%{_iconsdir}, /%{_liconsdir}, /%{_miconsdir}.

These are just RPMs macros available on Mandrake that tells where to put the 
menu file and the icons files.

Can you tell me, on a Debian, where I should put these files: the menu file 
and the icons files ?

Then I will send you a updated Package.module file so that you can continue 
testing :-)

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list