Re: [Oorexx-devel] rexxGTK build

2024-02-03 Thread Ruurd Idenburg

Hi Michael,

Yes with ooRexx 5.0. David Ashley has laid the base with is effort to 
support GTK. I could  do some necessary changes thanks to his coding 
methods as examples and thanks to the rexxapi documentation, since my 
C/C++ skills are close to zero. The app idea is not mine but it was an 
example to get more familiar with GTK.


Greetz,

Ruurd

On 2/3/24 04:03, Michael Lueck wrote:

Greetings Ruurd,


Ruurd Idenburg wrote:
Well I managed to construct a real app to play listen to radui 
stations on the net:




Wow! Impressive!

So you have that running with the current release of ooRexx?

Used to be that most of the GUI extensions to Rexx only worked with 
Regina, not ooRexx.


I am thankful,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rexxGTK build

2024-02-02 Thread Michael Lueck

Greetings Ruurd,


Ruurd Idenburg wrote:

Well I managed to construct a real app to play listen to radui stations on the 
net:




Wow! Impressive!

So you have that running with the current release of ooRexx?

Used to be that most of the GUI extensions to Rexx only worked with Regina, not 
ooRexx.

I am thankful,

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rexxGTK build

2024-01-16 Thread René Jansen
Hi Ruurd,

even if you could make a video of a presentation I bet lots of people would be 
very interested!

best regards,

René

> On 16 Jan 2024, at 14:28, Ruurd Idenburg  wrote:
> 
> Ok, I'll put some stuff together and make it available somehow.
> 
> Ruurd
> 
> On 1/15/24 18:14, taf wrote:
>> Ruurd you're way ahead of me!  I've been goofing off for the last month... 
>> I'd really like to see what you've done with an eye to adapting it to GTK4.  
>> Thanks for all your hard work
>> 
>> On 2024.01.14 20.01, Ruurd Idenburg wrote:
>>> 

___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rexxGTK build

2024-01-15 Thread Rony G. Flatscher

Hi Greetz,

that is *quite* impressive!

Would you consider giving a presentation at this year's Rexx symposium about it?

Cheers

---rony



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rexxGTK build

2023-12-19 Thread Ruurd Idenburg

Here I am again.

On the ooRexx sourceforge site, if you go to the svn source files look 
for rexxgtk directory, where there is Dave Ashley's trial for GTK3, that 
does not work right away, but with a couple of patches it will generate 
a valid "oorexxgtk3" shared library.


To make the shared library make sure you have the necessary bulding 
tools via


(sudo) apt install build-essential

and

(sudo) apt install libgtk-3-dev

make sure oorexxapi.h can be included during compile

I encountered a problem with "gtk_set_locale" not being declared and 
circumvented that by including in rexxgtk.cpp:


#include "locale.h"

and changing gtk_set_locale;

to:

 setlocale(LC_ALL,"en_US");

make --build then creates a working oorexxgtk3 shared library in the 
build/bin directory


Perhaps something similar can/has to be done for GTK4?

hth

Ruurd


On 12/14/23 22:24, taf wrote:
I'm having a whack at upgrading rexxGTK to GTK4.  I'm working in 
Ubuntu 22.04 which has gtk4 installed.  In the make file flag are set 
specifying packages(?) libraries(?) to be used:


GRXLFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

GRXCFLAGS = `pkg-config --cflags gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

After easter-egging around, I determined that

GRXLFLAGS = `pkg-config --libs gtk4`

GRXCFLAGS = `pkg-config --cflags gtk4`

would get the compiler to run and generate complaints like:

rexxgtk.h:78:20: error: ‘GdkEventKey’ has not been declared
   78 |    GdkEventKey *event,
  |    ^~~
rexxgtk.h:81:20: error: ‘GdkEventButton’ has not been declared
   81 |    GdkEventButton *event,

presumably because I hadn't specified the current equivalent of 
gdk-x.x in cflags.


My question may be more related to linux than oorexx, but ... how can 
I determine the correct value to specify for --cflags and --libs. How 
do I determine the release/package name for GDK, GLIB and GTHREAD.





___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rexxGTK build

2023-12-18 Thread Ruurd Idenburg
I think you can find the location(s) of shared libraries via the 
/etc/ld.so.conf directory. I also think that ubuntu normally uses either 
/lib, /usr/lib, /usr/local/lib and for multiple architecture support the 
/x86_64-linux-gnu directory in either /lib, /usr/lib and /usr/local/lib.


hth

Ruurd

On 12/14/23 22:24, taf wrote:
I'm having a whack at upgrading rexxGTK to GTK4.  I'm working in 
Ubuntu 22.04 which has gtk4 installed.  In the make file flag are set 
specifying packages(?) libraries(?) to be used:


GRXLFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

GRXCFLAGS = `pkg-config --cflags gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

After easter-egging around, I determined that

GRXLFLAGS = `pkg-config --libs gtk4`

GRXCFLAGS = `pkg-config --cflags gtk4`

would get the compiler to run and generate complaints like:

rexxgtk.h:78:20: error: ‘GdkEventKey’ has not been declared
   78 |    GdkEventKey *event,
  |    ^~~
rexxgtk.h:81:20: error: ‘GdkEventButton’ has not been declared
   81 |    GdkEventButton *event,

presumably because I hadn't specified the current equivalent of 
gdk-x.x in cflags.


My question may be more related to linux than oorexx, but ... how can 
I determine the correct value to specify for --cflags and --libs. How 
do I determine the release/package name for GDK, GLIB and GTHREAD.





___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] rexxGTK build

2023-12-18 Thread Ruurd Idenburg

Hi taf,

Ubuntu 22.04 does not have libgdk-4.0 on my system, but it has 
libgdk-3.0, have you tried that (e.g. gdk-3.0)?


Ruurd Idenburg



On 12/14/23 22:24, taf wrote:
I'm having a whack at upgrading rexxGTK to GTK4.  I'm working in 
Ubuntu 22.04 which has gtk4 installed.  In the make file flag are set 
specifying packages(?) libraries(?) to be used:


GRXLFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

GRXCFLAGS = `pkg-config --cflags gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

After easter-egging around, I determined that

GRXLFLAGS = `pkg-config --libs gtk4`

GRXCFLAGS = `pkg-config --cflags gtk4`

would get the compiler to run and generate complaints like:

rexxgtk.h:78:20: error: ‘GdkEventKey’ has not been declared
   78 |    GdkEventKey *event,
  |    ^~~
rexxgtk.h:81:20: error: ‘GdkEventButton’ has not been declared
   81 |    GdkEventButton *event,

presumably because I hadn't specified the current equivalent of 
gdk-x.x in cflags.


My question may be more related to linux than oorexx, but ... how can 
I determine the correct value to specify for --cflags and --libs. How 
do I determine the release/package name for GDK, GLIB and GTHREAD.





___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] rexxGTK build

2023-12-14 Thread taf
I'm having a whack at upgrading rexxGTK to GTK4.  I'm working in Ubuntu 
22.04 which has gtk4 installed.  In the make file flag are set 
specifying packages(?) libraries(?) to be used:


GRXLFLAGS = `pkg-config --libs gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

GRXCFLAGS = `pkg-config --cflags gtk+-2.0 gdk-2.0 glib-2.0 gthread-2.0`

After easter-egging around, I determined that

GRXLFLAGS = `pkg-config --libs gtk4`

GRXCFLAGS = `pkg-config --cflags gtk4`

would get the compiler to run and generate complaints like:

rexxgtk.h:78:20: error: ‘GdkEventKey’ has not been declared
   78 |    GdkEventKey *event,
  |    ^~~
rexxgtk.h:81:20: error: ‘GdkEventButton’ has not been declared
   81 |    GdkEventButton *event,

presumably because I hadn't specified the current equivalent of gdk-x.x 
in cflags.


My question may be more related to linux than oorexx, but ... how can I 
determine the correct value to specify for --cflags and --libs. How do I 
determine the release/package name for GDK, GLIB and GTHREAD.


--
taf



___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel