[Gambas-user] Problems with the packaging in Ubuntu 14.04.

Gian bagoneo at ...69...
Mon Jan 26 19:47:54 CET 2015


Il 25/01/2015 23:57, Benoît Minisini ha scritto:
> Le 24/01/2015 21:34, Gian a écrit :
>> Hello everyone,
>> I did various tests of packaging with some simple little programs that
>> work well in Gambas3 3.6.2 IDE with QT or GTK.
>> I have installed on VirtualBox with Ubuntu 14.04 clean and updated,
>> proceeding in this manner:
>> In a terminal:
>> ~$ sudo add-apt-repository ppa:gambas-team/gambas3
>> ~$ sudo apt-get update
>> After have used two methods:
>> Double click on the deb package and installed with Ubuntu Software Center
>> or
>> ~$ sudo dpkg -i <Path/package/full_name_of_the_package.deb>
>> ~$ sudo apt-get -f install
>> Whatever the used method, Ubuntu Software Center do not see these
>> programs  and not know that are installed. Only once has seen the
>> program, but only appeared in the “All the software” section and not in
>> the “Installed”.
>> (In Package group I've tried doc, graphics etc. but I did not understand
>> what it means)
>
> I can't tell you if you don't provide the packages or the projects you
> made packages from.
>
> AFAIK, on Ubuntu and Debian, a package has:
>
> - A group: it should be used by the package manager to group packages.
> Try Synaptic instead of Ubuntu Software Center to check if you see a
> difference.
>
> - A menu entry: where it goes in the desktop menu.
>
> - Categories: this is also used for deciding where the application menu
> entry goes in the desktop menu.
>
>> If I click on the dash sometimes start the program, sometimes must to
>> drag the icon in the launcher to start it.
>
> What's the "dash"?
>
>> The programs made with QT employ to charge about 15 seconds, those made
>> in GTK start immediately.
>
> No idea why. Note that if you use a Gnome desktop, or GTK+ applications,
> the GTK+ librairies are already loaded. QT libraries may not be loaded,
> hence the longer startup time (even if 15 seconds is very long! But it
> depends on what your program does and which components it uses exactly).
>
>> Finally I have uninstalled with:
>> ~$ sudo apt-get purge <ProgramName>
>> ~$ sudo apt-get autoremove
>> ~$ sudo apt-get clean
>> everything is clean.
>> Something wrong in the procedure, or it is impossible to see the program
>> installed in Ubuntu Software Center?
>>
>> Regards
>> Gianluigi
>>
>> PS: I not understand what I should write in Desktop configuration file,
>> Extra dependencies and Extra files.
>
> By default, nothing. But you can avoid finding and reading the
> documentation of your distribution that explains how to make a package.
> Everything comes from that. For Ubuntu, read the Debian's documentation.
>
> Regards,
>

Hello Benoit and thank very much for your attention,
I send you a compressed file named Minisini containing 6 compilations of 
packages + 6 sources of my 3 small programs, those of which I am ashamed 
of less :)
Thanks for the explanation.
I precise you that 15 second is the load time displayed by the mouse 
pointer out of the form, but within the form, the program works immediately.
Remaking the programs for you, I noted that the program “Date exchange” 
in GTK version,  the hierarchy tab not work, while QT is ok.

I can not believe that you do not know the Dash; it is the system by 
which Unity find all that is in the computer and online, it is activated 
from the first button on top the launcher, the one with the Ubuntu icon. 
Normally from there we launch applications that are not fixed on the 
launcher. :)
Regards
Gianluigi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Minisini.tar.gz
Type: application/gzip
Size: 235757 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150126/474bafa6/attachment.gz>


More information about the User mailing list