Re: [Gambas-user] How to make installation package
On 2017-07-07 16:18, Fernando Cabral wrote: 2017-07-07 10:15 GMT-03:00: wrote The target system where you want to install the gambas application on has to have the link to the gambas repository. Seems you are on Debian/Ubuntu. For Ubuntu open terminal on target system and do: sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update Next you can install your gambas application, it will pull in all dependencies (like interpreter) and install them. It will only install those parts of Gambas the application needs to run properly. Above is for Gambas stable 3.9.2, if you developed your application in trunk you will need to add trunk repo to target system instead of stable repo. Hope this explains all. Hi Fernando, Willy, it does explain. Just to be on the safe side: a) It means Gambas iteself is not installed when we run the package installer, right? It does NOT install Gambas IDE, only those parts needed to run your Gambas application (so interpreter, components used etc.) b) What do the *.deb files do? Just copy the sorce code and the bytecode to the new system? They are the debian installer files. They do all kinds of things like put your executable at proper location, pull in the needed dependencies (like interpreter, components used by your application...), make desktop menu entry, take care of application icon and all more that is needed to make your application work properly on the system it is installed too. Debain determines how these files are build. They have policies (see: https://wiki.debian.org/Packaging) Hope this clarifies things for you. gbWilly -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to make installation package
2017-07-07 10:15 GMT-03:00: wrote The target system where you want to install the gambas application on has >>> to have the link to the gambas repository. >>> Seems you are on Debian/Ubuntu. >>> >>> For Ubuntu open terminal on target system and do: >>> >>> sudo add-apt-repository ppa:gambas-team/gambas3 >>> sudo apt-get update >>> >>> >>> Next you can install your gambas application, it will pull in all >>> dependencies (like interpreter) and install them. >>> It will only install those parts of Gambas the application needs to run >>> properly. >>> >>> >>> Above is for Gambas stable 3.9.2, if you developed your application in >>> trunk you will need to add trunk repo to target system instead of stable >>> repo. >>> >>> Hope this explains all. >> >> Willy, it does explain. Just to be on the safe side: a) It means Gambas iteself is not installed when we run the package installer, right? b) What do the *.deb files do? Just copy the sorce code and the bytecode to the new system? Thank you. - fernando On 2017-07-06 03:43, Fernando Cabral wrote: > >> I'd like to make an installation package to install a gambas program on a >> machine that does not have gambas. I tried doing it clicking on >> Project -> Make -> Installation package. >> After presenting some questions, it runs and creates 22 files (regular, >> .gz, dsc and deb files). Four of them a *.deb files. Now, here are the >> issues: >> >> 1) They are all small files, so, for sure, they do not contain the >> interpreter >> 2) trying to install the deb files results in nothing (no error message, >> but nothing happens) >> >> > The target system where you want to install the gambas application on has > to have the link to the gambas repository. > Seems you are on Debian/Ubuntu. > > For Ubuntu open terminal on target system and do: > > sudo add-apt-repository ppa:gambas-team/gambas3 > sudo apt-get update > > > Next you can install your gambas application, it will pull in all > dependencies (like interpreter) and install them. > It will only install those parts of Gambas the application needs to run > properly. > > > Above is for Gambas stable 3.9.2, if you developed your application in > trunk you will need to add trunk repo to target system instead of stable > repo. > > Hope this explains all. > > gbWilly > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos, nenhum político ou cientista poderá se gabar de nada. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1126: idea to add code snippets
http://gambaswiki.org/bugtracker/edit?object=BUG.1126=L21haW4- Víctor PEREZ reported a new bug. Summary --- idea to add code snippets Type : Request Priority : Low Gambas version : 3.9 Product : Development Environment Description --- It would be a good idea to add code snippets something like this: Public Const _Properties As String = "*" 'Public Const _DefaultEvent As String = "" 'Public Const _DefaultSize As String = "" 'Public Const _Group As String = "" 'Public Const _DrawWith As String = "" 'Public Const _Similar As String = "" Pcdg Public const default group System information -- Gambas=3.9.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1950M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to make installation package
On 2017-07-06 03:43, Fernando Cabral wrote: I'd like to make an installation package to install a gambas program on a machine that does not have gambas. I tried doing it clicking on Project -> Make -> Installation package. After presenting some questions, it runs and creates 22 files (regular, .gz, dsc and deb files). Four of them a *.deb files. Now, here are the issues: 1) They are all small files, so, for sure, they do not contain the interpreter 2) trying to install the deb files results in nothing (no error message, but nothing happens) The target system where you want to install the gambas application on has to have the link to the gambas repository. Seems you are on Debian/Ubuntu. For Ubuntu open terminal on target system and do: sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update Next you can install your gambas application, it will pull in all dependencies (like interpreter) and install them. It will only install those parts of Gambas the application needs to run properly. Above is for Gambas stable 3.9.2, if you developed your application in trunk you will need to add trunk repo to target system instead of stable repo. Hope this explains all. gbWilly -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user