[Gambas-devel] Components name and installation

Patrik Karlsson pata.karlsson at ...176...
Sun Jul 29 20:29:42 CEST 2012


2012/7/27 Benoît Minisini <gambas at ...1...>

> Le 23/07/2012 11:46, Patrik Karlsson a écrit :
> > Hi,
> > I finally succeeded in writing my first 'dummy' component, it does not
> > do much, but it looks to be a valid component. :)
> >
> > In the Packaging section of
> > http://gambasdoc.org/help/dev/gambas?v3#t20 I am told to use the name
> > convention gambas3-vendor-name, so I'm using gambas3-trixon-testa.
> >
> > On the same page it says: "Even if the packager wizard allows to insert
> > the package vendor string into the package name, please avoid it."
> >
> > When I create an installation package, the name
> > is gambas3-trixon-gambas3-trixon-testa-3.2.1 and the checkbox for prefix
> > is selected and disabled. My global Preference/Packaging/Prefix... is
> > set to "No".
> >
> > Once compiled and installed the component is named gambas3-trixon-testa.
> > Is "gambas3-trixon-gambas3-trixon-testa" a bug in gambas or in my brain?
> >
> > One more thing regarding installing,
> > http://gambasdoc.org/help/dev/gambas?v3#t19
> >
> > "You can install the component
> > <http://gambasdoc.org/help/def/component?v3> in your home directory by
> > checking the corresponding option in the "Make executable" dialog."
> >
> > I cant get this 'per user' install to work, it does not show up in
> > gambas among the other components. I just put
> > my gambas3-trixon-testa.gambas in ~/.
> > What is the "corresponding option"?
> > The same component works just fine when installed globally.
> >
> > /patrik
> >
> > ps I just returned to Gambas after almost four years I think and it's
> > really nice to see that it still is alive and kicking, and have matured,
> > a lot.
> >
> > Some facts...
> >
> > [System]
> >
> > OperatingSystem=Linux
> >
> > Kernel=3.2.0-26-generic
> >
> > Architecture=x86_64
> >
> > Memory=8102592 kB
> >
> > DistributionVendor=Ubuntu
> >
> > DistributionRelease="Ubuntu 12.04 LTS"
> >
> > Desktop=Gnome
> >
> >
> > [Gambas 2]
> >
> > Version=2.23.1
> >
> > Path=/usr/bin/gbx2
> >
> >
> > [Gambas 3]
> >
> > Version=3.2.1
> >
> > Path=/usr/bin/gbx3
> >
> >
> > [Libraries]
> >
> > Qt4=libQtCore.so.4.8.1
> >
> > GTK+=libgtk-x11-2.0.so.0.2400.10
> >
> >
>
> Can you send me your project?
>
> --
> Benoît Minisini
>
> Ok, I am attaching the source for a project generated by the component
template and a screen shot of the installation package dialog.

One more thing that might or might not be related. The menu option
library/component properties is disabled but functional via short cuts for
library and components, ctrl shift p.

/patrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120729/379d3002/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas321_install_package_dialog.png
Type: image/png
Size: 60997 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120729/379d3002/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas3-trixon-testc-3.2.1.tar.gz
Type: application/x-gzip
Size: 7302 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120729/379d3002/attachment.bin>


More information about the Devel mailing list