Discussion:
Gladevcp_gtk3 Branche
(too old to reply)
Rene Hopf
2016-02-09 22:59:03 UTC
Permalink
Raw Message
Hi,
Norbert asked me to look into porting gremlin to gtk3. He pointed out that someone already started. Does anyone know what the status is? What already works and what doesn't? Any issues in particular?

Rene

http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/gladevcp_gtk3
Chris Morley
2016-02-10 05:22:00 UTC
Permalink
Raw Message
> From: ***@mac.com
> Date: Tue, 9 Feb 2016 23:59:03 +0100
> To: emc-***@lists.sourceforge.net
> Subject: [Emc-developers] Gladevcp_gtk3 Branche
>
> Hi,
> Norbert asked me to look into porting gremlin to gtk3. He pointed out that someone already started. Does anyone know what the status is? What already works and what doesn't? Any issues in particular?
>
> Rene
>
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/gladevcp_gtk3

The opengl libraries used in gremlin have not been ported to gtk3, so different
ones need to be used.

The only workable example code I could find was in this :
http://www.digitaloctave.com/tags/gtk3.htm

I have my opengl experimental code on a laptop some where I could dig up.
I didn't push the work because I was not sure if the licence was ok nor
whether this code was the way to go.
I'm also not an opengl coder, I just hack till things work.

As for the rest of the widgets, They are mostly converted to work with gtk3.
In fact the plan was for gladevcp to use either gtk2 or gtk3 depending on what
was available.
It still uses the GLADE-gtk2 editor - hopefully no issue to change that.
I couldn't get Embedding to work in gtk3, at least in the way it was coded originally.
Themeing doesn't work.

Other then that, things are great....

Chris M
Rene Hopf
2016-02-15 19:02:33 UTC
Permalink
Raw Message
> On 10 Feb 2016, at 06:22, Chris Morley <***@hotmail.com> wrote:
>
>
>
>> From: ***@mac.com
>> Date: Tue, 9 Feb 2016 23:59:03 +0100
>> To: emc-***@lists.sourceforge.net
>> Subject: [Emc-developers] Gladevcp_gtk3 Branche
>>
>> Hi,
>> Norbert asked me to look into porting gremlin to gtk3. He pointed out that someone already started. Does anyone know what the status is? What already works and what doesn't? Any issues in particular?
>>
>> Rene
>>
>> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/gladevcp_gtk3
>
> The opengl libraries used in gremlin have not been ported to gtk3, so different
> ones need to be used.

Yes, I did see that. gtkglext seems to be ported to gtk3, but is already deprecated. https://github.com/tdz/gtkglext
the proposed method of creating is gtkglarea https://developer.gnome.org/gtk3/stable/GtkGLArea.html
but that requires gtk3.16 which does not come with jessie, or wheezy.
the thing you found hacks directly into X, which is really not a way I would like to go.
look at this line:
xlib = cdll.LoadLibrary('libX11.so')
I can’t believe there is no sane way of creating an OpenGL context in gtk.

>
> The only workable example code I could find was in this :
> http://www.digitaloctave.com/tags/gtk3.htm
>
> I have my opengl experimental code on a laptop some where I could dig up.
> I didn't push the work because I was not sure if the licence was ok nor
> whether this code was the way to go.
> I'm also not an opengl coder, I just hack till things work.
>
> As for the rest of the widgets, They are mostly converted to work with gtk3.
> In fact the plan was for gladevcp to use either gtk2 or gtk3 depending on what
> was available.
> It still uses the GLADE-gtk2 editor - hopefully no issue to change that.
> I couldn't get Embedding to work in gtk3, at least in the way it was coded originally.
> Themeing doesn't work.
>
> Other then that, things are great....
>
> Chris M
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
Rene Hopf
2017-07-17 11:44:12 UTC
Permalink
Raw Message
Hi,
Im picking up this issue, because debian stretch was released, and it includes a up to date version of gtk3, which allows to create a opengl context.
this example code works on stretch: https://stackoverflow.com/questions/42598360/no-glcontext-for-gtkglarea-in-gtk3-python
there is already some work on gtk3: https://github.com/LinuxCNC/linuxcnc/compare/gladevcp_gtk3
merging this into master gives a few conflicts, and I cant get it to work.
I would like to port gremlin to gtk3, but I need some place to start, like a minimalistic gui example that uses gtk3 and imports gremlin.
Norbert mentioned that it would be no problem to port the widgets.

Rene


> On 15. Feb 2016, at 20:02, Rene Hopf <***@mac.com> wrote:
>
>>
>> On 10 Feb 2016, at 06:22, Chris Morley <***@hotmail.com> wrote:
>>
>>
>>
>>> From: ***@mac.com
>>> Date: Tue, 9 Feb 2016 23:59:03 +0100
>>> To: emc-***@lists.sourceforge.net
>>> Subject: [Emc-developers] Gladevcp_gtk3 Branche
>>>
>>> Hi,
>>> Norbert asked me to look into porting gremlin to gtk3. He pointed out that someone already started. Does anyone know what the status is? What already works and what doesn't? Any issues in particular?
>>>
>>> Rene
>>>
>>> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/gladevcp_gtk3
>>
>> The opengl libraries used in gremlin have not been ported to gtk3, so different
>> ones need to be used.
>
> Yes, I did see that. gtkglext seems to be ported to gtk3, but is already deprecated. https://github.com/tdz/gtkglext
> the proposed method of creating is gtkglarea https://developer.gnome.org/gtk3/stable/GtkGLArea.html
> but that requires gtk3.16 which does not come with jessie, or wheezy.
> the thing you found hacks directly into X, which is really not a way I would like to go.
> look at this line:
> xlib = cdll.LoadLibrary('libX11.so')
> I can’t believe there is no sane way of creating an OpenGL context in gtk.
>
>>
>> The only workable example code I could find was in this :
>> http://www.digitaloctave.com/tags/gtk3.htm
>>
>> I have my opengl experimental code on a laptop some where I could dig up.
>> I didn't push the work because I was not sure if the licence was ok nor
>> whether this code was the way to go.
>> I'm also not an opengl coder, I just hack till things work.
>>
>> As for the rest of the widgets, They are mostly converted to work with gtk3.
>> In fact the plan was for gladevcp to use either gtk2 or gtk3 depending on what
>> was available.
>> It still uses the GLADE-gtk2 editor - hopefully no issue to change that.
>> I couldn't get Embedding to work in gtk3, at least in the way it was coded originally.
>> Themeing doesn't work.
>>
>> Other then that, things are great....
>>
>> Chris M
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> Emc-developers mailing list
>> Emc-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
Chris Morley
2017-07-17 13:21:11 UTC
Permalink
Raw Message
I did the work on that branch.Gremlin can not work in gtk3.

I did some experimental work on a gremlin substitute...it's was too much work for me to figure out but I could dig up the code when I'm next at home..in a couple weeks.
I think I got as far as displaying the origin and axis letters , pan as zoom.
I would love for someone to take this on.
I quit working on the branch because of this hurdle.

Chris M

----- Reply message -----
From: "Rene Hopf" <***@mac.com>
To: "EMC developers" <emc-***@lists.sourceforge.net>
Subject: [Emc-developers] Gladevcp_gtk3 Branche
Date: Mon, Jul 17, 2017 5:47 AM



Hi,
Im picking up this issue, because debian stretch was released, and it includes a up to date version of gtk3, which allows to create a opengl context.
this example code works on stretch: https://stackoverflow.com/questions/42598360/no-glcontext-for-gtkglarea-in-gtk3-python
there is already some work on gtk3: https://github.com/LinuxCNC/linuxcnc/compare/gladevcp_gtk3
merging this into master gives a few conflicts, and I cant get it to work.
I would like to port gremlin to gtk3, but I need some place to start, like a minimalistic gui example that uses gtk3 and imports gremlin.
Norbert mentioned that it would be no problem to port the widgets.

Rene


> On 15. Feb 2016, at 20:02, Rene Hopf <***@mac.com> wrote:
>
>>
>> On 10 Feb 2016, at 06:22, Chris Morley <***@hotmail.com> wrote:
>>
>>
>>
>>> From: ***@mac.com
>>> Date: Tue, 9 Feb 2016 23:59:03 +0100
>>> To: emc-***@lists.sourceforge.net
>>> Subject: [Emc-developers] Gladevcp_gtk3 Branche
>>>
>>> Hi,
>>> Norbert asked me to look into porting gremlin to gtk3. He pointed out that someone already started. Does anyone know what the status is? What already works and what doesn't? Any issues in particular?
>>>
>>> Rene
>>>
>>> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/gladevcp_gtk3
>>
>> The opengl libraries used in gremlin have not been ported to gtk3, so different
>> ones need to be used.
>
> Yes, I did see that. gtkglext seems to be ported to gtk3, but is already deprecated. https://github.com/tdz/gtkglext
> the proposed method of creating is gtkglarea https://developer.gnome.org/gtk3/stable/GtkGLArea.html
> but that requires gtk3.16 which does not come with jessie, or wheezy.
> the thing you found hacks directly into X, which is really not a way I would like to go.
> look at this line:
> xlib = cdll.LoadLibrary('libX11.so')
> I can’t believe there is no sane way of creating an OpenGL context in gtk.
>
>>
>> The only workable example code I could find was in this :
>> http://www.digitaloctave.com/tags/gtk3.htm
>>
>> I have my opengl experimental code on a laptop some where I could dig up.
>> I didn't push the work because I was not sure if the licence was ok nor
>> whether this code was the way to go.
>> I'm also not an opengl coder, I just hack till things work.
>>
>> As for the rest of the widgets, They are mostly converted to work with gtk3.
>> In fact the plan was for gladevcp to use either gtk2 or gtk3 depending on what
>> was available.
>> It still uses the GLADE-gtk2 editor - hopefully no issue to change that.
>> I couldn't get Embedding to work in gtk3, at least in the way it was coded originally.
>> Themeing doesn't work.
>>
>> Other then that, things are great....
>>
>> Chris M
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> Emc-developers mailing list
>> Emc-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Nicklas Karlsson
2017-07-17 14:28:52 UTC
Permalink
Raw Message
Figure out where you buried the code and dig it up.

I have started to work my way up from the hardware and currently look a
little bit on the configuration, it should not be to hard to get useful
graphical configuration with gschem and then I will start to look at
linuxcnc.

2017-07-17 15:21 GMT+02:00 Chris Morley <***@hotmail.com>:

>
> I did the work on that branch.Gremlin can not work in gtk3.
>
> I did some experimental work on a gremlin substitute...it's was too much
> work for me to figure out but I could dig up the code when I'm next at
> home..in a couple weeks.
> I think I got as far as displaying the origin and axis letters , pan as
> zoom.
> I would love for someone to take this on.
> I quit working on the branch because of this hurdle.
>
> Chris M
>
> ----- Reply message -----
> From: "Rene Hopf" <***@mac.com>
> To: "EMC developers" <emc-***@lists.sourceforge.net>
> Subject: [Emc-developers] Gladevcp_gtk3 Branche
> Date: Mon, Jul 17, 2017 5:47 AM
>
>
>
> Hi,
> Im picking up this issue, because debian stretch was released, and it
> includes a up to date version of gtk3, which allows to create a opengl
> context.
> this example code works on stretch: https://stackoverflow.com/
> questions/42598360/no-glcontext-for-gtkglarea-in-gtk3-python
> there is already some work on gtk3: https://github.com/LinuxCNC/
> linuxcnc/compare/gladevcp_gtk3
> merging this into master gives a few conflicts, and I cant get it to work.
> I would like to port gremlin to gtk3, but I need some place to start, like
> a minimalistic gui example that uses gtk3 and imports gremlin.
> Norbert mentioned that it would be no problem to port the widgets.
>
> Rene
>
>
> > On 15. Feb 2016, at 20:02, Rene Hopf <***@mac.com> wrote:
> >
> >>
> >> On 10 Feb 2016, at 06:22, Chris Morley <***@hotmail.com>
> wrote:
> >>
> >>
> >>
> >>> From: ***@mac.com
> >>> Date: Tue, 9 Feb 2016 23:59:03 +0100
> >>> To: emc-***@lists.sourceforge.net
> >>> Subject: [Emc-developers] Gladevcp_gtk3 Branche
> >>>
> >>> Hi,
> >>> Norbert asked me to look into porting gremlin to gtk3. He pointed out
> that someone already started. Does anyone know what the status is? What
> already works and what doesn't? Any issues in particular?
> >>>
> >>> Rene
> >>>
> >>> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/
> gladevcp_gtk3
> >>
> >> The opengl libraries used in gremlin have not been ported to gtk3, so
> different
> >> ones need to be used.
> >
> > Yes, I did see that. gtkglext seems to be ported to gtk3, but is already
> deprecated. https://github.com/tdz/gtkglext
> > the proposed method of creating is gtkglarea
> https://developer.gnome.org/gtk3/stable/GtkGLArea.html
> > but that requires gtk3.16 which does not come with jessie, or wheezy.
> > the thing you found hacks directly into X, which is really not a way I
> would like to go.
> > look at this line:
> > xlib = cdll.LoadLibrary('libX11.so')
> > I can’t believe there is no sane way of creating an OpenGL context in
> gtk.
> >
> >>
> >> The only workable example code I could find was in this :
> >> http://www.digitaloctave.com/tags/gtk3.htm
> >>
> >> I have my opengl experimental code on a laptop some where I could dig
> up.
> >> I didn't push the work because I was not sure if the licence was ok nor
> >> whether this code was the way to go.
> >> I'm also not an opengl coder, I just hack till things work.
> >>
> >> As for the rest of the widgets, They are mostly converted to work with
> gtk3.
> >> In fact the plan was for gladevcp to use either gtk2 or gtk3 depending
> on what
> >> was available.
> >> It still uses the GLADE-gtk2 editor - hopefully no issue to change that.
> >> I couldn't get Embedding to work in gtk3, at least in the way it was
> coded originally.
> >> Themeing doesn't work.
> >>
> >> Other then that, things are great....
> >>
> >> Chris M
> >>
> >>
> >> ------------------------------------------------------------
> ------------------
> >> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> >> Monitor end-to-end web transactions and take corrective actions now
> >> Troubleshoot faster and improve end-user experience. Signup Now!
> >> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> >> _______________________________________________
> >> Emc-developers mailing list
> >> Emc-***@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
Jim Craig
2017-07-17 14:39:45 UTC
Permalink
Raw Message
Maybe this would be something that could work.

http://www.gcad3d.org/

It is openGL and has NC interpreter for generating cad preview of G-Code.

I have not tried it just came across it.

Jim

On 7/17/2017 8:21 AM, Chris Morley wrote:
> I did the work on that branch.Gremlin can not work in gtk3.
>
> I did some experimental work on a gremlin substitute...it's was too much work for me to figure out but I could dig up the code when I'm next at home..in a couple weeks.
> I think I got as far as displaying the origin and axis letters , pan as zoom.
> I would love for someone to take this on.
> I quit working on the branch because of this hurdle.
>
> Chris M
>
> ----- Reply message -----
> From: "Rene Hopf" <***@mac.com>
> To: "EMC developers" <emc-***@lists.sourceforge.net>
> Subject: [Emc-developers] Gladevcp_gtk3 Branche
> Date: Mon, Jul 17, 2017 5:47 AM
>
>
>
> Hi,
> Im picking up this issue, because debian stretch was released, and it includes a up to date version of gtk3, which allows to create a opengl context.
> this example code works on stretch: https://stackoverflow.com/questions/42598360/no-glcontext-for-gtkglarea-in-gtk3-python
> there is already some work on gtk3: https://github.com/LinuxCNC/linuxcnc/compare/gladevcp_gtk3
> merging this into master gives a few conflicts, and I cant get it to work.
> I would like to port gremlin to gtk3, but I need some place to start, like a minimalistic gui example that uses gtk3 and imports gremlin.
> Norbert mentioned that it would be no problem to port the widgets.
>
> Rene
>
>
>> On 15. Feb 2016, at 20:02, Rene Hopf <***@mac.com> wrote:
>>
>>> On 10 Feb 2016, at 06:22, Chris Morley <***@hotmail.com> wrote:
>>>
>>>
>>>
>>>> From: ***@mac.com
>>>> Date: Tue, 9 Feb 2016 23:59:03 +0100
>>>> To: emc-***@lists.sourceforge.net
>>>> Subject: [Emc-developers] Gladevcp_gtk3 Branche
>>>>
>>>> Hi,
>>>> Norbert asked me to look into porting gremlin to gtk3. He pointed out that someone already started. Does anyone know what the status is? What already works and what doesn't? Any issues in particular?
>>>>
>>>> Rene
>>>>
>>>> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/gladevcp_gtk3
>>> The opengl libraries used in gremlin have not been ported to gtk3, so different
>>> ones need to be used.
>> Yes, I did see that. gtkglext seems to be ported to gtk3, but is already deprecated. https://github.com/tdz/gtkglext
>> the proposed method of creating is gtkglarea https://developer.gnome.org/gtk3/stable/GtkGLArea.html
>> but that requires gtk3.16 which does not come with jessie, or wheezy.
>> the thing you found hacks directly into X, which is really not a way I would like to go.
>> look at this line:
>> xlib = cdll.LoadLibrary('libX11.so')
>> I can’t believe there is no sane way of creating an OpenGL context in gtk.
>>
>>> The only workable example code I could find was in this :
>>> http://www.digitaloctave.com/tags/gtk3.htm
>>>
>>> I have my opengl experimental code on a laptop some where I could dig up.
>>> I didn't push the work because I was not sure if the licence was ok nor
>>> whether this code was the way to go.
>>> I'm also not an opengl coder, I just hack till things work.
>>>
>>> As for the rest of the widgets, They are mostly converted to work with gtk3.
>>> In fact the plan was for gladevcp to use either gtk2 or gtk3 depending on what
>>> was available.
>>> It still uses the GLADE-gtk2 editor - hopefully no issue to change that.
>>> I couldn't get Embedding to work in gtk3, at least in the way it was coded originally.
>>> Themeing doesn't work.
>>>
>>> Other then that, things are great....
>>>
>>> Chris M
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>> _______________________________________________
>>> Emc-developers mailing list
>>> Emc-***@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
Nicklas Karlsson
2017-07-17 19:03:31 UTC
Permalink
Raw Message
> Maybe this would be something that could work.
>
> http://www.gcad3d.org/
>
> It is openGL and has NC interpreter for generating cad preview of G-Code.

CAD of preview of G-Code seems interesting but are not directly related to GTK. I am pretty sure opengl also could be used for QT. I vaguely remember some code I wrote with opengl calls as part of a university course and it did not use any other graphical toolkit, just rendered the picture. As I remember it opengl are functions use for 3D graphics.


Nicklas Karlsson
Rene Hopf
2017-07-17 15:41:02 UTC
Permalink
Raw Message
> On 17. Jul 2017, at 15:21, Chris Morley <***@hotmail.com> wrote:
>
> I did the work on that branch.Gremlin can not work in gtk3.

I know, and I would like to work on that.
problem is, in in wheezy or jessie shipped with a old gtk3 version, which could not ctreate the opengl context without hacks.
in stretch this is possible.

> I did some experimental work on a gremlin substitute...it's was too much work for me to figure out but I could dig up the code when I'm next at home..in a couple weeks.
> I think I got as far as displaying the origin and axis letters , pan as zoom.
> I would love for someone to take this on.
> I quit working on the branch because of this hurdle.

I think the first step would be to merge master into that branch, and get the basics working.
can you explain how I can test things?
launching the widgets, and stuff, unfortunately I dont know much about pyvcp…

I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...

Rene
andy pugh
2017-07-17 15:47:17 UTC
Permalink
Raw Message
On 17 July 2017 at 16:41, Rene Hopf <***@mac.com> wrote:

> I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...

Maybe we should get rid of all of GTK and switch to something else.

What is support like for QT? Whenever I have needed help with GTK I
have drawn a blank, even more so with PyGTK which has a write-only
mailing list (people ask questions, but there are never any answers)
and a list of commercial consultants who don't answer emails.

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916
John Kasunich
2017-07-17 16:24:55 UTC
Permalink
Raw Message
On Mon, Jul 17, 2017, at 11:47 AM, andy pugh wrote:
> On 17 July 2017 at 16:41, Rene Hopf <***@mac.com> wrote:
>
> > I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...
>
> Maybe we should get rid of all of GTK and switch to something else.

Someone (definitely not me) will need to step forward to port HalScope to another GUI platform.
HalScope is an important tool, and is written in C (not C++) using GTK.


--
John Kasunich
***@fastmail.fm
Nicklas Karlsson
2017-07-17 18:57:55 UTC
Permalink
Raw Message
C should work great with GTK. I think there is something glade and automic binding of functions which work in "C" but not "C++". I am not a friend of python but use it if necessary.


> On Mon, Jul 17, 2017, at 11:47 AM, andy pugh wrote:
> > On 17 July 2017 at 16:41, Rene Hopf <***@mac.com> wrote:
> >
> > > I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...
> >
> > Maybe we should get rid of all of GTK and switch to something else.
>
> Someone (definitely not me) will need to step forward to port HalScope to another GUI platform.
> HalScope is an important tool, and is written in C (not C++) using GTK.
Jon Elson
2017-07-18 02:00:06 UTC
Permalink
Raw Message
On 07/17/2017 11:24 AM, John Kasunich wrote:
>
> On Mon, Jul 17, 2017, at 11:47 AM, andy pugh wrote:
>> On 17 July 2017 at 16:41, Rene Hopf <***@mac.com> wrote:
>>
>>> I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...
>> Maybe we should get rid of all of GTK and switch to something else.
> Someone (definitely not me) will need to step forward to port HalScope to another GUI platform.
> HalScope is an important tool, and is written in C (not C++) using GTK.
>
>
Ouch! That is not going to be a weekend project! And, I
agree, Halscope is critical to all servo setups.

TKemc is also used by some people, since it requires very
little X server resources.

Jon
Nicklas Karlsson
2017-07-18 10:51:59 UTC
Permalink
Raw Message
> TKemc is also used by some people, since it requires very
> little X server resources.

I guess one single application cover the full screen is the most common then using machine.
Niemand Sonst
2017-07-17 18:07:46 UTC
Permalink
Raw Message
Hallo René,

as we see this weekend on the german linuxcnc meeting, I will be pleased
to give you starting help.

I agree with others, that we should begin to port to Qt. Chris has done
a nice work so far on his branch:

http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/qt5vcp_master

May be we can go that way and all work on that branch.

The step to going to stretch can be done as soon as I fixed some stuff
in gmoccapy.

Norbert


Am 17.07.2017 um 17:41 schrieb Rene Hopf:
>> On 17. Jul 2017, at 15:21, Chris Morley <***@hotmail.com> wrote:
>>
>> I did the work on that branch.Gremlin can not work in gtk3.
> I know, and I would like to work on that.
> problem is, in in wheezy or jessie shipped with a old gtk3 version, which could not ctreate the opengl context without hacks.
> in stretch this is possible.
>
>> I did some experimental work on a gremlin substitute...it's was too much work for me to figure out but I could dig up the code when I'm next at home..in a couple weeks.
>> I think I got as far as displaying the origin and axis letters , pan as zoom.
>> I would love for someone to take this on.
>> I quit working on the branch because of this hurdle.
> I think the first step would be to merge master into that branch, and get the basics working.
> can you explain how I can test things?
> launching the widgets, and stuff, unfortunately I dont know much about pyvcp…
>
> I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...
>
> Rene
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
Nicklas Karlsson
2017-07-17 19:07:47 UTC
Permalink
Raw Message
> as we see this weekend on the german linuxcnc meeting, I will be pleased
> to give you starting help.
>
> I agree with others, that we should begin to port to Qt. Chris has done
> a nice work so far on his branch:

You might be correct unless it end up with fancy graphics but horrible to use. I think someone mentioned something about C++ a short while ago.

Do anyone know if QT and C++ is tricky to use or if memory leaks and other problem i likely to happen which might cause need for restart with a few days in between?
Chris Morley
2017-07-18 01:26:42 UTC
Permalink
Raw Message
Actually in that branch the idea is it would work with GTK2 or 3.I'll see if I can rebase it on current master sonner. I'm working out of town do not much time.

As far as qt vrs GTK. I see no reason to have both in linuxcnc. There had been heavy investment in gladevcp no sense in throwing it away and making people change tool kits.

I'm of course trying to use what I learned working on gladevcp when making qtvcp. It mostly works the same.
Currently it uses a reparented GTK2 gremlin as a graphics display so it would be nice to have that native qt. Machine kit made a c++ QT Graphics display- I haven't looked to see how hard it would be to port it over.

Chris M

----- Reply message -----
From: "Rene Hopf" <***@mac.com>
To: "EMC developers" <emc-***@lists.sourceforge.net>
Subject: [Emc-developers] Gladevcp_gtk3 Branche
Date: Mon, Jul 17, 2017 9:44 AM



> On 17. Jul 2017, at 15:21, Chris Morley <***@hotmail.com> wrote:
>
> I did the work on that branch.Gremlin can not work in gtk3.

I know, and I would like to work on that.
problem is, in in wheezy or jessie shipped with a old gtk3 version, which could not ctreate the opengl context without hacks.
in stretch this is possible.

> I did some experimental work on a gremlin substitute...it's was too much work for me to figure out but I could dig up the code when I'm next at home..in a couple weeks.
> I think I got as far as displaying the origin and axis letters , pan as zoom.
> I would love for someone to take this on.
> I quit working on the branch because of this hurdle.

I think the first step would be to merge master into that branch, and get the basics working.
can you explain how I can test things?
launching the widgets, and stuff, unfortunately I dont know much about pyvcp…

I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...

Rene
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Chris Morley
2017-07-18 01:34:56 UTC
Permalink
Raw Message
Sorry I meant I see no reason _not_ to have both qtvcp and gladevcp in linuxcnc. Qt seems to be favoured now but alot of time had been invested to gladevcp to make it functional and stable.
Chris M

----- Reply message -----
From: "Chris Morley" <***@hotmail.com>
To: "EMC DEV" <emc-***@lists.sourceforge.net>
Subject: [Emc-developers] Gladevcp_gtk3 Branche
Date: Mon, Jul 17, 2017 7:29 PM



Actually in that branch the idea is it would work with GTK2 or 3.I'll see if I can rebase it on current master sonner. I'm working out of town do not much time.

As far as qt vrs GTK. I see no reason to have both in linuxcnc. There had been heavy investment in gladevcp no sense in throwing it away and making people change tool kits.

I'm of course trying to use what I learned working on gladevcp when making qtvcp. It mostly works the same.
Currently it uses a reparented GTK2 gremlin as a graphics display so it would be nice to have that native qt. Machine kit made a c++ QT Graphics display- I haven't looked to see how hard it would be to port it over.

Chris M

----- Reply message -----
From: "Rene Hopf" <***@mac.com>
To: "EMC developers" <emc-***@lists.sourceforge.net>
Subject: [Emc-developers] Gladevcp_gtk3 Branche
Date: Mon, Jul 17, 2017 9:44 AM



> On 17. Jul 2017, at 15:21, Chris Morley <***@hotmail.com> wrote:
>
> I did the work on that branch.Gremlin can not work in gtk3.

I know, and I would like to work on that.
problem is, in in wheezy or jessie shipped with a old gtk3 version, which could not ctreate the opengl context without hacks.
in stretch this is possible.

> I did some experimental work on a gremlin substitute...it's was too much work for me to figure out but I could dig up the code when I'm next at home..in a couple weeks.
> I think I got as far as displaying the origin and axis letters , pan as zoom.
> I would love for someone to take this on.
> I quit working on the branch because of this hurdle.

I think the first step would be to merge master into that branch, and get the basics working.
can you explain how I can test things?
launching the widgets, and stuff, unfortunately I dont know much about pyvcp…

I think getting rid of gtk2 dependencies is an important step to remove legacy deps, and move forward...

Rene
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Gene Heskett
2017-07-18 02:54:31 UTC
Permalink
Raw Message
On Monday 17 July 2017 21:26:42 Chris Morley wrote:

> Actually in that branch the idea is it would work with GTK2 or 3.I'll
> see if I can rebase it on current master sonner. I'm working out of
> town do not much time.
>
> As far as qt vrs GTK. I see no reason to have both in linuxcnc. There
> had been heavy investment in gladevcp no sense in throwing it away and
> making people change tool kits.

Not to put too sharp a point on it Chris, and readily admitting that I've
not made any contributions to the gladevcp artwork, but the gladevcp we
have is based on GTK2, which while potentially prettier from the
illustrations in the pdf docs, isn't actually usable on 3 wheezy (x86)
installs and one jessie install (armhf) here. So everything I have done
to add to the axis display, has been done with hal, xml, and pyvcp.

So much GTK2 has been thrown under the buss, without replacing its widgit
functions under GTK3 that I cannot make it do useful gui work today.
The designer's menu's are nearly empty.

> I'm of course trying to use what I learned working on gladevcp when
> making qtvcp. It mostly works the same. Currently it uses a reparented
> GTK2 gremlin as a graphics display so it would be nice to have that
> native qt. Machine kit made a c++ QT Graphics display- I haven't
> looked to see how hard it would be to port it over.
>
> Chris M
>
> ----- Reply message -----
> From: "Rene Hopf" <***@mac.com>
> To: "EMC developers" <emc-***@lists.sourceforge.net>
> Subject: [Emc-developers] Gladevcp_gtk3 Branche
> Date: Mon, Jul 17, 2017 9:44 AM
>
> > On 17. Jul 2017, at 15:21, Chris Morley <***@hotmail.com>
> > wrote:
> >
> > I did the work on that branch.Gremlin can not work in gtk3.
>
> I know, and I would like to work on that.
> problem is, in in wheezy or jessie shipped with a old gtk3 version,
> which could not ctreate the opengl context without hacks. in stretch
> this is possible.

Thats good news.

> > I did some experimental work on a gremlin substitute...it's was too
> > much work for me to figure out but I could dig up the code when I'm
> > next at home..in a couple weeks. I think I got as far as displaying
> > the origin and axis letters , pan as zoom. I would love for someone
> > to take this on.
> > I quit working on the branch because of this hurdle.
>
> I think the first step would be to merge master into that branch, and
> get the basics working. can you explain how I can test things?
> launching the widgets, and stuff, unfortunately I dont know much about
> pyvcp…
>
> I think getting rid of gtk2 dependencies is an important step to
> remove legacy deps, and move forward...
>
> Rene


Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Chris Morley
2017-07-18 05:38:26 UTC
Permalink
Raw Message
Gladevcp does not work with GTK3.When GTK switched to GTK3, the GLADE editor also change formats.

So one must add the backported GTK2 style GLADE editor too. For wheezy we have a package IIRC. For Jessy I'm not sure if its available or must be built.

So your wheezy machines can use gladevcp but you must use the proper GLADE editor or you would not see the added widgets.

Gladevcp panels using GTK2 will continue to work for a long time, it's the GLADE editor that's the real problem.

Chris M

----- Reply message -----
From: "Gene Heskett" <***@shentel.net>
To: "emc-***@lists.sourceforge.net" <emc-***@lists.sourceforge.net>
Subject: [Emc-developers] Gladevcp_gtk3 Branche
Date: Mon, Jul 17, 2017 8:57 PM



On Monday 17 July 2017 21:26:42 Chris Morley wrote:

> Actually in that branch the idea is it would work with GTK2 or 3.I'll
> see if I can rebase it on current master sonner. I'm working out of
> town do not much time.
>
> As far as qt vrs GTK. I see no reason to have both in linuxcnc. There
> had been heavy investment in gladevcp no sense in throwing it away and
> making people change tool kits.

Not to put too sharp a point on it Chris, and readily admitting that I've
not made any contributions to the gladevcp artwork, but the gladevcp we
have is based on GTK2, which while potentially prettier from the
illustrations in the pdf docs, isn't actually usable on 3 wheezy (x86)
installs and one jessie install (armhf) here. So everything I have done
to add to the axis display, has been done with hal, xml, and pyvcp.

So much GTK2 has been thrown under the buss, without replacing its widgit
functions under GTK3 that I cannot make it do useful gui work today.
The designer's menu's are nearly empty.

> I'm of course trying to use what I learned working on gladevcp when
> making qtvcp. It mostly works the same. Currently it uses a reparented
> GTK2 gremlin as a graphics display so it would be nice to have that
> native qt. Machine kit made a c++ QT Graphics display- I haven't
> looked to see how hard it would be to port it over.
>
> Chris M
>
> ----- Reply message -----
> From: "Rene Hopf" <***@mac.com>
> To: "EMC developers" <emc-***@lists.sourceforge.net>
> Subject: [Emc-developers] Gladevcp_gtk3 Branche
> Date: Mon, Jul 17, 2017 9:44 AM
>
> > On 17. Jul 2017, at 15:21, Chris Morley <***@hotmail.com>
> > wrote:
> >
> > I did the work on that branch.Gremlin can not work in gtk3.
>
> I know, and I would like to work on that.
> problem is, in in wheezy or jessie shipped with a old gtk3 version,
> which could not ctreate the opengl context without hacks. in stretch
> this is possible.

Thats good news.

> > I did some experimental work on a gremlin substitute...it's was too
> > much work for me to figure out but I could dig up the code when I'm
> > next at home..in a couple weeks. I think I got as far as displaying
> > the origin and axis letters , pan as zoom. I would love for someone
> > to take this on.
> > I quit working on the branch because of this hurdle.
>
> I think the first step would be to merge master into that branch, and
> get the basics working. can you explain how I can test things?
> launching the widgets, and stuff, unfortunately I dont know much about
> pyvcp…
>
> I think getting rid of gtk2 dependencies is an important step to
> remove legacy deps, and move forward...
>
> Rene


Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Nicklas Karlsson
2017-07-18 10:50:30 UTC
Permalink
Raw Message
> Gladevcp does not work with GTK3.When GTK switched to GTK3, the GLADE editor also change formats.
>
> So one must add the backported GTK2 style GLADE editor too. For wheezy we have a package IIRC. For Jessy I'm not sure if its available or must be built.

I think the new file format should be used.

I wrote a small application for configuration via UDP a month or two ago and used the new glade file format. I used "C++" but are not sure, ordinay "C" might be a better choice because of automatic signal connection.


Nicklas Karlsson
Gene Heskett
2017-07-18 13:25:35 UTC
Permalink
Raw Message
On Tuesday 18 July 2017 01:38:26 Chris Morley wrote:

> Gladevcp does not work with GTK3.When GTK switched to GTK3, the GLADE
> editor also change formats.
>
> So one must add the backported GTK2 style GLADE editor too. For wheezy
> we have a package IIRC. For Jessy I'm not sure if its available or
> must be built.
>
So on wheezy, it looks like the editor I want to use is glade-gtk2. And
it looks like its working.

> So your wheezy machines can use gladevcp but you must use the proper
> GLADE editor or you would not see the added widgets.
>
> Gladevcp panels using GTK2 will continue to work for a long time, it's
> the GLADE editor that's the real problem.
>
> Chris M

Thank you, Chris. Its apparent I was running the wrong editor. I'll have
to explore this. I do not know if the pi/jessie has it though. Looks to
be no, unless the name was changed:

***@picncsheldon:~ $ sudo apt install glade-gtk2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package glade-gtk2

So on that machine I've done it all with pyvcp and xml. One of the things
I could use if it existed was a clickable led with 2 hal inputs and one
output (so its clickable) with 3 colors. The pushbuttons to enable the
dials are hard to push and have considerable travel before actually
hitting the switch, then it takes another 3 or 4 pounds to actually
actuate them.

When I went looking for a switch, it was either that one, or about a
million various colors of gameing pushbuttons, all needing more than a
square inch of panel space to mount them, max panel thickness in the
1/8" range (this one is 1/2" thick) and a light bulb wired across the
contacts.

Doorbell buttons would have worked, but I put 150 miles on the GMC
looking for one I could remove the ^%#%& light bulb from without
demolishing it. I tried burning it out once, left a conductive coating
on the inside of the glass. Poison for logic circuits.

It looks like qt won the gui war. On the armhf jessie install:

sudo apt list *qt*|wc -l
697

So where do you start? Or is there, buried in 697 lines of *qt*, a qt
designer?

Sort of:
qt4-designer/oldstable 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1+rpi1 armhf

But I don't see a qt5-designer in that list. And the qt4 version has at
least 3 missing dependencies according to aptitude.

I don't envy the task at hand, Chris. It looks like 2 months worth of
work on the system itself before its in shape to attack the missing gui
tools. Good luck, and thank you.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Nicklas Karlsson
2017-07-18 13:34:25 UTC
Permalink
Raw Message
On Tue, 18 Jul 2017 09:25:35 -0400
Gene Heskett <***@shentel.net> wrote:

> On Tuesday 18 July 2017 01:38:26 Chris Morley wrote:
>
> > Gladevcp does not work with GTK3.When GTK switched to GTK3, the GLADE
> > editor also change formats.
> >
> > So one must add the backported GTK2 style GLADE editor too. For wheezy
> > we have a package IIRC. For Jessy I'm not sure if its available or
> > must be built.
> >
> So on wheezy, it looks like the editor I want to use is glade-gtk2. And
> it looks like its working.

You run ". scripts/rip-environment" and glade-3 not glade on the same command line?
Gene Heskett
2017-07-18 13:57:09 UTC
Permalink
Raw Message
On Tuesday 18 July 2017 09:34:25 Nicklas Karlsson wrote:

> On Tue, 18 Jul 2017 09:25:35 -0400
>
> Gene Heskett <***@shentel.net> wrote:
> > On Tuesday 18 July 2017 01:38:26 Chris Morley wrote:
> > > Gladevcp does not work with GTK3.When GTK switched to GTK3, the
> > > GLADE editor also change formats.
> > >
> > > So one must add the backported GTK2 style GLADE editor too. For
> > > wheezy we have a package IIRC. For Jessy I'm not sure if its
> > > available or must be built.
> >
> > So on wheezy, it looks like the editor I want to use is glade-gtk2.
> > And it looks like its working.
>
> You run ". scripts/rip-environment" and glade-3 not glade on the same
> command line?

Not that I recall Nicklas, and the . scripts/rip-environment, from a
login terminal as the user pi, is a "no such file or directory". As for
glade-3?
***@picncsheldon:~ $ glade-3
-bash: glade-3: command not found
***@picncsheldon:~ $ which glade-3
***@picncsheldon:~ $ sudo apt list glade-3
Listing... Done
***@picncsheldon:~ $ sudo apt list glade
Listing... Done
glade/oldstable 3.18.3-1 armhf
***@picncsheldon:~ $ glade
-bash: glade: command not found
***@picncsheldon:~ $

So its not installed, aptitude says broken dependencies. And thats as
close as I'll ever get to aptitude.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Nicklas Karlsson
2017-07-18 14:10:53 UTC
Permalink
Raw Message
> On Tuesday 18 July 2017 09:34:25 Nicklas Karlsson wrote:
>
> > On Tue, 18 Jul 2017 09:25:35 -0400
> >
> > Gene Heskett <***@shentel.net> wrote:
> > > On Tuesday 18 July 2017 01:38:26 Chris Morley wrote:
> > > > Gladevcp does not work with GTK3.When GTK switched to GTK3, the
> > > > GLADE editor also change formats.
> > > >
> > > > So one must add the backported GTK2 style GLADE editor too. For
> > > > wheezy we have a package IIRC. For Jessy I'm not sure if its
> > > > available or must be built.
> > >
> > > So on wheezy, it looks like the editor I want to use is glade-gtk2.
> > > And it looks like its working.
> >
> > You run ". scripts/rip-environment" and glade-3 not glade on the same
> > command line?

You do it on the computer you use to generate glade file, you run glade on an ordinary computer, linuxcnc must be installled but you do not have to run.
Chris Morley
2017-07-18 22:03:06 UTC
Permalink
Raw Message
You need glade-gtk2 since about wheezy, previously glade-3 or glade was the command - I think they like confusion.
Chris M

----- Reply message -----
From: "Gene Heskett" <***@shentel.net>
To: "emc-***@lists.sourceforge.net" <emc-***@lists.sourceforge.net>
Subject: [Emc-developers] Gladevcp_gtk3 Branche --> Glade
Date: Tue, Jul 18, 2017 7:59 AM



On Tuesday 18 July 2017 09:34:25 Nicklas Karlsson wrote:

> On Tue, 18 Jul 2017 09:25:35 -0400
>
> Gene Heskett <***@shentel.net> wrote:
> > On Tuesday 18 July 2017 01:38:26 Chris Morley wrote:
> > > Gladevcp does not work with GTK3.When GTK switched to GTK3, the
> > > GLADE editor also change formats.
> > >
> > > So one must add the backported GTK2 style GLADE editor too. For
> > > wheezy we have a package IIRC. For Jessy I'm not sure if its
> > > available or must be built.
> >
> > So on wheezy, it looks like the editor I want to use is glade-gtk2.
> > And it looks like its working.
>
> You run ". scripts/rip-environment" and glade-3 not glade on the same
> command line?

Not that I recall Nicklas, and the . scripts/rip-environment, from a
login terminal as the user pi, is a "no such file or directory". As for
glade-3?
***@picncsheldon:~ $ glade-3
-bash: glade-3: command not found
***@picncsheldon:~ $ which glade-3
***@picncsheldon:~ $ sudo apt list glade-3
Listing... Done
***@picncsheldon:~ $ sudo apt list glade
Listing... Done
glade/oldstable 3.18.3-1 armhf
***@picncsheldon:~ $ glade
-bash: glade: command not found
***@picncsheldon:~ $

So its not installed, aptitude says broken dependencies. And thats as
close as I'll ever get to aptitude.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
Emc-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
Nicklas Karlsson
2017-07-18 22:14:43 UTC
Permalink
Raw Message
On Tue, 18 Jul 2017 22:03:06 +0000
Chris Morley <***@hotmail.com> wrote:

>
> You need glade-gtk2 since about wheezy, previously glade-3 or glade was the command - I think they like confusion.
> Chris M

Yes confusion it is. Then I saw the name glade-3 I concluded that was the newer version and used the other, it did not work despite some really ugly sentences. glade-3 work for me.
Gene Heskett
2017-07-18 23:21:03 UTC
Permalink
Raw Message
On Tuesday 18 July 2017 18:03:06 Chris Morley wrote:

> You need glade-gtk2 since about wheezy, previously glade-3 or glade
> was the command - I think they like confusion. Chris M
>
And is not available for jessie.

I had a general manager who was fond of old sales sayings that might fit
this scenario.

"It worked so well we quit doing it.". But when we went back to
doing "it" the damage had already been done. Or it was too close to
payola and I had to step in. I P.O.'d 3 GM's and as many General Sales
Mangers in my tenure there. One GM wanted to fire me for
insubordination. That was when the owner informed them that I was the
FCC's designated Chief Operator, and in such matters my word and
interpretation of 47CFR /was/ the law, and he was very dependent on me
for the enforcement of it, and that this conversation was over.
Sometimes my full face brain bucket wasn't wide enough for the grin...
Yeah, old biker here too. I envy Andy, he still has the reflexes to push
the edge and ride a teflon kneecap.

> ----- Reply message -----
> From: "Gene Heskett" <***@shentel.net>
> To: "emc-***@lists.sourceforge.net"
> <emc-***@lists.sourceforge.net> Subject: [Emc-developers]
> Gladevcp_gtk3 Branche --> Glade
> Date: Tue, Jul 18, 2017 7:59 AM
>
> On Tuesday 18 July 2017 09:34:25 Nicklas Karlsson wrote:
> > On Tue, 18 Jul 2017 09:25:35 -0400
> >
> > Gene Heskett <***@shentel.net> wrote:
> > > On Tuesday 18 July 2017 01:38:26 Chris Morley wrote:
> > > > Gladevcp does not work with GTK3.When GTK switched to GTK3, the
> > > > GLADE editor also change formats.
> > > >
> > > > So one must add the backported GTK2 style GLADE editor too. For
> > > > wheezy we have a package IIRC. For Jessy I'm not sure if its
> > > > available or must be built.
> > >
> > > So on wheezy, it looks like the editor I want to use is
> > > glade-gtk2. And it looks like its working.
> >
> > You run ". scripts/rip-environment" and glade-3 not glade on the
> > same command line?
>
> Not that I recall Nicklas, and the . scripts/rip-environment, from a
> login terminal as the user pi, is a "no such file or directory". As
> for glade-3?
> ***@picncsheldon:~ $ glade-3
> -bash: glade-3: command not found
> ***@picncsheldon:~ $ which glade-3
> ***@picncsheldon:~ $ sudo apt list glade-3
> Listing... Done
> ***@picncsheldon:~ $ sudo apt list glade
> Listing... Done
> glade/oldstable 3.18.3-1 armhf
> ***@picncsheldon:~ $ glade
> -bash: glade: command not found
> ***@picncsheldon:~ $
>
> So its not installed, aptitude says broken dependencies. And thats as
> close as I'll ever get to aptitude.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
> ----------------------------------------------------------------------
>-------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ----------------------------------------------------------------------
>-------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> Emc-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Gene Heskett
2017-07-19 19:02:14 UTC
Permalink
Raw Message
On Tuesday 18 July 2017 18:03:06 Chris Morley wrote:

> You need glade-gtk2 since about wheezy, previously glade-3 or glade
> was the command - I think they like confusion. Chris M

Chris;

I found on the raspberrypi.org site at
<https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=173105>

The beginnings of a tut on how to use gtkIOStream to regenerate the stuff
we had with gtk2. 7 tutorials total, looks like mainly media stuff, but
a button click looks like it can talk to other processes via a dbus like
setup. Perhaps that could be converted to the halpins we need?

I downloaded the tar.xz and made the demo box without any pain, but its
all c++ and that might as well be swahili to me. It does look as if the
gfx primitives are mostly there. No clue what it would take to make a
button click into a halpin though.

Helpfull? I don't know enough about c++ to venture an opinion. But it
does have the faint taste of the makings.

Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Loading...