[Gambas-user] User Digest, Vol 3, Issue 39

Federico Allegretti allegfede at gmail.com
Sun Dec 17 09:54:32 CET 2017


Have dive in the thread randomly, but i suppose open source is open.
If you do not whant to release It open, but you are using open source tech,
check if you are making licence infringments.
If the idea is to make open software, but avoid simple user to make
damaged, pur only the executable in the user filesystem area.
Worst thing he Can make is deleting the app.

Il 16/dic/2017 12:15 PM, <user-request at lists.gambas-basic.org> ha scritto:

> Send User mailing list submissions to
>         user at lists.gambas-basic.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.gambas-basic.org/listinfo/user
> or, via email, send a message with subject or body 'help' to
>         user-request at lists.gambas-basic.org
>
> You can reach the person managing the list at
>         user-owner at lists.gambas-basic.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of User digest..."
>
>
> Today's Topics:
>
>    1. Re: [Gambas Bug Tracker] Bug #1216: umask ignored by gambas
>       while Mkdir command used (T Lee Davidson)
>    2. Re: check 4 Gambas Runtime files? (PICCORO McKAY Lenz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 15 Dec 2017 11:14:54 -0500
> From: T Lee Davidson <t.lee.davidson at gmail.com>
> To: user at lists.gambas-basic.org
> Subject: Re: [Gambas-user] [Gambas Bug Tracker] Bug #1216: umask
>         ignored by gambas while Mkdir command used
> Message-ID: <63fad87a-4c85-f37f-d46b-f8ee442a1bf4 at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> On 12/14/2017 07:01 PM, bugtracker at gambaswiki.org wrote:
> > http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4-
> >
> > Comment #6 by Damien COTTIER:
> >
> > Hi i did'nt get answer to my last comment
> >
> > The /sbin/mkdir command seem to use 0775 by default and not 0755.
> >
> > Regards,
> > Damien.
> >
> > Damien COTTIER changed the state of the bug to: Opened.
> >
>
> The UMASK should be set in /etc/login.defs or /etc/default/login.
>
> And I don't know about /sbin/mkdir. My mkdir is in /usr/bin and is "mkdir
> (GNU coreutils) 8.25". This version of mkdir allows
> the use of a mode option, ie. "mkdir --mode=755".
>
> --
> Lee
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 15 Dec 2017 18:03:12 -0400
> From: PICCORO McKAY Lenz <mckaygerhard at gmail.com>
> To: Gambas Mailing List <user at lists.gambas-basic.org>
> Subject: Re: [Gambas-user] check 4 Gambas Runtime files?
> Message-ID:
>         <CALci+FTJsU1=HY8yq5J9K8ZfW6y8+QqaGJY6b=9oVX
> uUeUiWCw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> yeah gianluigi, that's the most closes, but will be a sacrilegie! in linux
> admin its not same as user, so as i post, if user dont know nothing, must
> learn of ask/paid to the administer.. thanks god and aliens that's the
> facts
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2017-12-15 11:53 GMT-04:00 Gianluigi <bagonergi at gmail.com>:
>
> > After reading carefully everything written here and of course without
> > offense to any of you, that you know of Gambas and Linux much more than
> me,
> > I think the system that best of all "simulates" the installation of a
> > program in Windows is a script which, if an old Gambas installation is
> > present, removes it, installs the one that is consistent with the Gambas
> > executable and copies the executable by asking the user where.
> > Then a double click is enough and everything works properly.
> > What would be the contraindication, the installation of the IDE?
> > We talk about open source with the IDE the customer can download the code
> > and read it, change it etc. but it can not alter the executable.
> > A fantastic thing we give everything and can not mess up anything.
> >
> > Regards
> > Gianluigi
> >
> > 2017-12-15 16:03 GMT+01:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com>:
> >
> >> hi mikeB
> >>
> >> i understand your quiestion.. some disck setupd have in their root
> >> filesystems the dll for VB runtime (take in consideration this only
> works
> >> for older VB until version 6, for .NET this not works so easyle)
> >>
> >> same can work for gambas, but as tobias said docker its the only way due
> >> unless VB its not enought include only a share lib.. also need at least
> two
> >> or fourt files more for a preliminar gambas windows popup (apart of
> >> detection of the toolkit)
> >>
> >> in adition, in nomadays, those VB runtime (the famous DLL file) was only
> >> need and the exec to lauch due the rest of need files was installed by
> the
> >> OS, due VB was highly integrated in the sub-graphics system
> >>
> >> that case its not same in gambas, due gambas firts must detect the
> >> toolkit (windows redenring engine) and then select the proper module to
> >> render the window.
> >>
> >> obviously the diocker solution it's too complicated for only detect and
> >> point to users where to do..
> >>
> >> Lenz McKAY Gerardo (PICCORO)
> >> http://qgqlochekone.blogspot.com
> >>
> >> 2017-12-14 15:37 GMT-04:00 Tobias Boege <taboege at gmail.com>:
> >>
> >>> On Thu, 14 Dec 2017, mikeB wrote:
> >>> > mikeB here again (i'm sure that most folks think i should just go
> away
> >>> &
> >>> > figure it out myself- but just maybe others have these same
> questions?
> >>> > amd i'm having a heck of a time 'figuring it out myself' ;-(
> >>> >
> >>> >
> >>> > *******************************************************
> >>> > In comparing a setup file (VB6 to Gambas):
> >>> >
> >>> > VB6 INSTALL = the script of almost all M$ Windows install files
> >>> includes at
> >>> > the very beginning the current VB runtime files (at least in any
> setup
> >>> I
> >>> > ever created) to make sure the end users' system is up to date with
> the
> >>> > software being installed.
> >>> >
> >>> > GAMBAS INSTALL = if an app is developed using Gambas version 3.10 and
> >>> the
> >>> > end users system has v3.8 runtime files installed (or none) the
> >>> program (end
> >>> > user app) will not install - comes back with the message
> >>> > that v.10 runtime files are required. Not a peep on how to get them
> or
> >>> > offer to do it automatically.
> >>> > ********************************************************
> >>> >
> >>> > So - my question is = would there be a way to include the v.10
> runtime
> >>> files
> >>> > in the install script - to upgrade if needed - just like a VB6
> >>> install? And
> >>> > if so,  would that cause any unforeseen problems?
> >>> >
> >>> > For the somewhat advanced Linux user - none of this matters much
> >>> > cuz they are use to handling these issues - but my concern is the
> >>> > person that just switched from Wins 10 to Linux 3 days ago - as I
> have
> >>> > a large following that I'm trying to help make the switch not only to
> >>> Linux
> >>> > but to Gambas programming;-)  I want the end user to have NO problems
> >>> > installing a Gambas programmed app - just double click the file (to
> >>> install)
> >>> > like they are use to. Not having to check v or anything else - just
> >>> double
> >>> > click the file.
> >>> >
> >>> > Sorry for the long post as some of it was prob unnecessary,
> >>> > have a GREAT day,
> >>> > mikeB
> >>> >
> >>>
> >>> First of all, there seems to be Docker [1] if you want to distribute a
> >>> program with all its dependencies. I have a hard time understanding
> their
> >>> jargon, but the docs [2] contain these sentences:
> >>>
> >>>   Portable deployment across machines. Docker defines a format for
> >>> bundling
> >>>   an application and all its dependencies into a single object called a
> >>>   container. This container can be transferred to any Docker-enabled
> >>> machine.
> >>>   The container can be executed there with the guarantee that the
> >>> execution
> >>>   environment exposed to the application will be the same in
> development,
> >>>   testing, and production.
> >>>
> >>> I have no idea how they do that and what is costs. You would hope they
> >>> don't
> >>> throw all the libraries into an image, because that could turn out to
> be
> >>> huge for Gambas, if you tie in the QT libraries, for instance. (Their
> >>> logo
> >>> kind of suggests that.) On the plus side, your customers won't need
> Linux
> >>> anymore :-)
> >>>
> >>> I won't say any more about Docker, because I never used it and others
> >>> here
> >>> may have, and I don't have time to do more research about it now.
> >>>
> >>> > So - my question is = would there be a way to include the v.10
> runtime
> >>> files
> >>> > in the install script - to upgrade if needed - just like a VB6
> >>> install? And
> >>> > if so,  would that cause any unforeseen problems?
> >>>
> >>> It's not clear how to do that. The merit of Docker is probably that
> >>> they figured out a way to do this without messing up and it seems to
> >>> be intricate. You can't simply ship a native library compiled for your
> >>> home computer together with your Gambas program and expect it to work
> >>> on someone else's raspberry pi because, for starters, that processor
> >>> has a different instruction set.
> >>>
> >>> Besides the feasibility, who *wants* you to ship them their
> dependencies
> >>> with every one of your programs? Assuming they trust you not to put in
> >>> anything malicious, it's a waste of space as soon as one gets more than
> >>> one of your programs. Let me just say in closing this line of thought
> >>> that you're not the first one who thought about that, but it generally
> >>> seems to be a mess and people eventually turn to the Right Way.
> >>>
> >>> And that is to install programs with your package manager, which will
> >>> take care of installing dependencies system-wide. This raises the
> >>> question
> >>> how you distribute your programs currently and what exactly
> >>>
> >>> > comes back with the message that v.10 runtime files are required
> >>>
> >>> means. If you target Ubuntu, we have a PPA with a current Gambas
> version,
> >>> as you know. You would have to tell your people once that they must
> >>> enable
> >>> this PPA (and nothing more) and afterwards you can give them
> installation
> >>> packages made by the IDE and all components will be installed as they
> are
> >>> needed, automatically on double click -- and it /should/ actually work
> in
> >>> practice, too!
> >>>
> >>> Did you find the "Make installation package" functionality already and
> >>> does it fail you?
> >>>
> >>> Regards,
> >>> Tobi
> >>>
> >>> [1] https://www.docker.com/
> >>> [2] https://docs.docker.com/engine/faq/
> >>>
> >>> --
> >>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
> >>>
> >>> --------------------------------------------------
> >>>
> >>> This is the Gambas Mailing List
> >>> https://lists.gambas-basic.org/listinfo/user
> >>>
> >>> Hosted by https://www.hostsharing.net
> >>>
> >>
> >>
> >>
> >> --------------------------------------------------
> >>
> >> This is the Gambas Mailing List
> >> https://lists.gambas-basic.org/listinfo/user
> >>
> >> Hosted by https://www.hostsharing.net
> >>
> >>
> >
> >
> > --------------------------------------------------
> >
> > This is the Gambas Mailing List
> > https://lists.gambas-basic.org/listinfo/user
> >
> > Hosted by https://www.hostsharing.net
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.gambas-basic.org/pipermail/user/
> attachments/20171215/39158edd/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> User mailing list
> User at lists.gambas-basic.org
> http://lists.gambas-basic.org/listinfo/user
>
> Mailinglist hosted by https://www.hostsharing.net
>
>
> ------------------------------
>
> End of User Digest, Vol 3, Issue 39
> ***********************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171217/cbb78d5b/attachment-0001.html>


More information about the User mailing list