Download link for the example of panel https://mega.co.nz/#!fU1TFJqT!mFUf6XXEkHMgn7OKh-G5T84SktW_5GIqJMeoW5mAB_I Include file key
2014-05-21 10:58 GMT-06:00 <gambas-user-requ...@lists.sourceforge.net>: > Send Gambas-user mailing list submissions to > gambas-user@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-requ...@lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: Compiling Gambas on an Allwinner A10 based system > (Jussi Lahtinen) > 2. Re: Compiling Gambas on an Allwinner A10 based system > (Ian Haywood) > 3. Re: Compiling Gambas on an Allwinner A10 based system (Mike Crean) > 4. gb.desktop: unable to found mime database (herberth guzman) > 5. gb.desktop.x11 (Refresh Taskbar) (herberth guzman) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 21 May 2014 02:25:50 +0300 > From: Jussi Lahtinen <jussi.lahti...@gmail.com> > Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based > system > To: mailing list for gambas users <gambas-user@lists.sourceforge.net> > Message-ID: > <CAFJMe7Rj+poAR0eRkYetg-=gv2i2NW1c7b6maGjMLkCWc4= > o...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Gambas IDE uses webkit (gb.qt4.webkit) to provide documentation, and so it > is mandatory. Otherwise by quick look everything is OK. > > Jussi > > > > On Wed, May 21, 2014 at 2:16 AM, Bruce Cunningham > <bcunning...@sportif.com>wrote: > > > Hello all, > > > > I've been trying to compile Gambas on a development board that uses the > > Allwinner A10 SOC. I know there is a build for the Raspberry PI, so it > > should be doable. > > > > I think I'm very close, but I'm getting some errors, and it will not > > install. The errors are related to OpenGL and WebKit. I don't need > either > > of these components for what I'm working on. > > > > I didn't build the Linux OS on this board, and frankly my Linux skills > are > > not that great yet (I'm learning quickly). > > > > I've been a Windows admin and developer for 15+ years, and I'm coming to > > Linux from a Windows/VB6 background. I really want to get away from > > anything Microsoft these days. But, I have a project I want to build for > > an embedded device, and Linux/Gambas seems like a fantastic platform for > > me. I would like to thank everyone that worked on building Gambas. I > > gives us "old time" VB6 guys a way to move to Linux and be productive > right > > away. > > > > I'm attaching the log from the config/make/make install process. > > > > Thanks in advance. > > > > Bruce > > > > Bruce Cunningham > > Network Administrator > > Sportif USA Inc. > > (775) 359-6400 xt 132 > > bcunning...@sportif.com<mailto:bcunning...@sportif.com> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > > Instantly run your Selenium tests across 300+ browser/OS combos. > > Get unparalleled scalability from the best Selenium testing platform > > available > > Simple to use. Nothing to install. Get started now for free." > > http://p.sf.net/sfu/SauceLabs > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------ > > Message: 2 > Date: Wed, 21 May 2014 20:29:22 +1000 > From: Ian Haywood <ihaywo...@gmail.com> > Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based > system > To: mailing list for gambas users <gambas-user@lists.sourceforge.net> > Message-ID: > <CAKt6K_dkOwMPRtpmkWGi-wfvj7+au3q= > 9wp-jw+qoigizlb...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen > <jussi.lahti...@gmail.com> wrote: > > >> I've been trying to compile Gambas on a development board that uses the > >> Allwinner A10 SOC. I know there is a build for the Raspberry PI, so it > >> should be doable. > I use a solidrun cubox (a tiny Israeli company making even tinier > computers), which is also based > on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much > point on ARM) but I have got webkit and the rest > of gambas running fine. > > >From your logfile the punchline is > > configure: WARNING: Unable to met pkg-config requirement: QtWebKit >= 4.5.0 > configure: WARNING: gb.qt4.webkit is disabled > > which means you don't have the right development package installed, > it's called "libwebkit-dev" on > debian-based distros, dunno about the others. > > If you are on a debian-based system, try upgrading to the latest > testing and then install gambas directly > ("'apt-get install gambas3"), this *should* work as there will be > pre-compiled ARM binaries for gambas in the Debian repos. > > Ian > > > > ------------------------------ > > Message: 3 > Date: Wed, 21 May 2014 04:48:02 -0700 (PDT) > From: Mike Crean <mike.cr...@y7mail.com> > Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based > system > To: mailing list for gambas users <gambas-user@lists.sourceforge.net> > Message-ID: > <1400672882.78986.yahoomail...@web163804.mail.gq1.yahoo.com> > Content-Type: text/plain; charset=iso-8859-1 > > Hey Bruce if it is any help I have > Wheezy image with GB3 and a number of other apps. Available for > download from my web site?www.bbbpishop.com in the next few days. If you > would like to know more just use the > contact page on the site. The image was set up and runs on ARM > Cortex-A8 1gh processor as used on the Beagle Bone Black board. > > Cheers Mike > On Wednesday, 21 May 2014 6:29 PM, Ian Haywood <ihaywo...@gmail.com> > wrote: > > > > On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen > <jussi.lahti...@gmail.com> wrote: > > >> I've been trying to compile Gambas on a development board that uses the > >> Allwinner A10 SOC.? I know there is a build for the Raspberry PI, so it > >> should be doable. > I use a solidrun cubox (a tiny Israeli company making even tinier > computers), which is also based > on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much > point on ARM) but I have got webkit and the rest > of gambas running fine. > > >From your logfile the punchline is > > configure: WARNING: Unable to met pkg-config requirement: QtWebKit >= 4.5.0 > configure: WARNING: gb.qt4.webkit is disabled > > which means you don't have the right development package installed, > it's called "libwebkit-dev" on > debian-based distros, dunno about the others. > > If you are on a debian-based system, try upgrading to the latest > testing and then install gambas directly > ("'apt-get install gambas3"), this *should* work as there will be > pre-compiled ARM binaries for gambas in the Debian repos. > > Ian > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------ > > Message: 4 > Date: Wed, 21 May 2014 10:33:35 -0600 > From: herberth guzman <herberthguz...@gmail.com> > Subject: [Gambas-user] gb.desktop: unable to found mime database > To: gambas-user <gambas-user@lists.sourceforge.net> > Message-ID: > <CAJPJa8hYBAeta0z=6gmA= > pyhxxhdktobw29vn+5pj2_fta9...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi all > > I have a question? > > the following code works well: > > Ubuntu LXDE Session > Ubuntu Openbox Session > > Debian LXDE Session > but Debian Openbox Session > gives this error (gb.desktop: unable to found mime database) > Null Object > > Dim File As String > Dim i As Integer > Dim sPath As String > Dim img As Image > > Directory = user.home > > For Each File In Dir (Directory, "*", gb.File) > > sPath = Directory & / file > img = DesktopMime.FromFile (sPath). GetIcon (48) > i Inc > IconView1.Add (i, file, img.Picture) > > Next > > How I can fix this problem in Debian Openbox Session. > > Regards > > Herberth Guzm?n > > > ------------------------------ > > Message: 5 > Date: Wed, 21 May 2014 10:58:42 -0600 > From: herberth guzman <herberthguz...@gmail.com> > Subject: [Gambas-user] gb.desktop.x11 (Refresh Taskbar) > To: gambas-user <gambas-user@lists.sourceforge.net> > Message-ID: > <CAJPJa8iZmsYC= > gq-s2azakgsouei_c+uzmepwtqara547se...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi all > > I want to tell mypanel works well, but I want to improve. > > The update of the open windows I do by a TIMER, but I would like to do it > directly X11, someone who can help me please. > > Upgrading windows open is through a TIMER, but I would like to do it > directly gb.desktop.x11, someone who can help me please. > > Attached is an example of my panel. > > > ''CODE > Public id_win_active As Integer > Public HPanel_app As Panel > Public hToggle As ToggleButton > > > Public Sub Form_Open() > > Dim desk_w As Integer = Desktop.W > > X11.SetWindowProperty(Atom["_NET_WM_STRUT"], Atom["CARDINAL"], [0, 0, 0, > 32], Me.Id) > X11.SetWindowProperty(Atom["_NET_WM_STRUT_PARTIAL"], Atom["CARDINAL"], > [0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 32, desk_w], Me.Id) > X11.SetWindowProperty(Atom["_NET_WM_WINDOW_TYPE"], Atom["ATOM"], > Atom["_NET_WM_WINDOW_TYPE_DOCK"], Me.Id) > > Me.X = 0 > Me.Y = Desktop.H - Me.H > Me.W = Desktop.W > > Desktop_Windows > Timer1.Start > TimTask.Start > > End > > Public Sub Desktop_Windows() > > Dim i As Integer > > For i = 0 To Desktop.Windows.Count - 1 > If Desktop.Windows[i].Name Then > hToggle = New ToggleButton(PanelTask) As "ToggleTask" > > Try hToggle.Picture = Desktop.Windows[i].Icon.Stretch(22, 22).Picture > hToggle.Text = Left$(Desktop.Windows[i].Name, 25) > hToggle.Height = 32 > 'hToggle.Font.Size = 8 > hToggle.Mouse = 13 > hToggle.Border = True > hToggle.W = 250 > hToggle.Tooltip = Desktop.Windows[i].Name > hToggle.Tag = Desktop.Windows[i].Id > > If Not hToggle.Text Then > hToggle.Text = "Sin t?tulo" > hToggle.W = 250 > Endif > > If Not hToggle.Text Then > hToggle.Text = ("Untitled") > hToggle.Picture = Picture["icon:/22/apps/application-default-icon"] > hToggle.W = 250 > Endif > > If (hToggle.Picture = Picture[Null]) Then > hToggle.Picture = Picture["icon:/22/apps/application-default-icon"] > hToggle.W = 250 > Endif > > Endif > Next > > End > > Public Sub ToggleTask_Click() > > Try id_win_active = Last.Tag > Try Desktop.ActiveWindow = id_win_active > Try Desktop.Windows.FromHandle(id_win_active).Minimized = > Desktop.ActiveWindow = id_win_active > > End > > Public Sub Timer1_Timer() > > Dim x As String > > Timer1.Delay = 1000 > Timer1.Start > > x = Format$(Now, "hh:nn") > TextLabelDate.Text = x > > End > > Public Sub Refresh_Taskbar() ''is not the best but it works > > Dim i As Integer > > Desktop.Windows.Refresh() > If (PanelTask.Children.Count - (Desktop.Windows.Count - 2)) Then > PanelTask.Children.Clear() > For i = 1 To Desktop.Windows.Count - 2 > hToggle = New ToggleButton(PanelTask) As "ToggleTask" > hToggle.W = 250 > Try hToggle.Picture = Desktop.Windows[i].Icon.Stretch(22, 22).Picture > hToggle.Text = Left$(Desktop.Windows[i].Name, 25) > hToggle.Height = 32 > > hToggle.Mouse = 13 > hToggle.Tooltip = Desktop.Windows[i].Name > hToggle.Tag = Desktop.Windows[i].Id > > If Not hToggle.Text Then > hToggle.Text = ("Untitled") > hToggle.Picture = Picture["icon:/22/apps/application-default-icon"] > hToggle.W = 250 > Endif > If (hToggle.Picture = Picture[Null]) Then > hToggle.Picture = Picture["icon:/22/apps/application-default-icon"] > hToggle.W = 250 > Endif > > Try hToggle.Visible = Not CBool(Desktop.Windows[i].SkipTaskbar) > > Next > Else > > For Each hToggle In PanelTask.Children > hToggle.Text = Left$(Desktop.Windows.FromHandle(hToggle.Tag).Name, > 25) > If Not hToggle.Text Then > hToggle.Text = ("Untitled") > hToggle.Picture = Picture["icon:/22/apps/application-default-icon"] > hToggle.W = 250 > Endif > If (hToggle.Picture = Picture[Null]) Then > hToggle.Picture = Picture["icon:/22/apps/application-default-icon"] > hToggle.W = 250 > Endif > > Next > Endif > > Catch > > End > > Public Sub TimTask_Timer() > > Refresh_Taskbar > > End > > Herberth Guzm?n > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: task-0.0.1.tar.gz > Type: application/x-gzip > Size: 6705 bytes > Desc: not available > > ------------------------------ > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > > ------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest, Vol 96, Issue 54 > ******************************************* > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user