Re: GTK on PowerPC: does anyone have it actually working?

2024-03-14 Thread Ken Cunningham
If you’re having an issue of some kind, it’s probably best to open a ticket 
where it can be worked through. The exact specifics usually matter.

One quick test however is to install xterm and lauch xterm via the menu in 
macport’s XQuartz. Then try to run your gtk software from that xterm window. 

The issues usually seen are when trying to launch gtk/X11 apps from the Apple 
Terminal.app. This can get muddled up in the X11.app installed by the Apple 
installer and the XQuartz.app installed separately from the XQuartz website. 

Hygiene is important. Clearing out unneeded launch items (some of which may 
live in /System/Library as well as /Library), getting rid of other X11 servers, 
and getting rid of redundant duplicates (which may exist in /usr/X11 or 
/opt/X11) may be needed.

K

> On Mar 14, 2024, at 04:07, Sergio Had  wrote:
> 
> 
>>> On Mar 14, 2024, at 5:33 PM, Riccardo Mottola via macports-dev 
>>>  wrote:
>>> 
>>> Hi,
>>> 
>>> Ken Cunningham wrote:
>>> gtk3 (x11 variant) is working fine for me on PowerPC Leopard, for one.
>> 
>> I'm hacking on GTK2 and GTK3 quartz support for Leopard... intel first, they 
>> were working well enough to get gimp starting up (gtk2...)
> 
> I think I could not get it to start, though it builds fine.
> 
>> The only other GTK3 app I use is meld, which is now unusable (doesn't even 
>> show a window) on 10.6 and 10.7, so I didn't even attempt on 10.5. on 
>> 10.11-10.13 it has heavy redraw issues (has since about a year). But it is 
>> really a maze of dependencies, so I don't know if the bug is in GTK or one 
>> of the many dependent libraries.
> 
> I did have problems with GTK and X11 ports on 10.6 ppc, but however:
> 
> 1. 10.6 ppc is not an officially supported system in Macports, so some stuff 
> may need extra fix-ups (usually trivial – fix some macros).
> 2. It is not impossible that I have a messed-up X11, since macOS 
> implementation may conflict with MacPorts one, and there is also XQuartz. 
> Unfortunately, there is no clear instruction how to go about that, and I have 
> seen related complaints re 10.5 and 10.4.
> 
> Once I rebuild gcc13 on Leopard, I will try again there.
> 
>> I will try to build on 10.5 PPC tomorrow and see how things fare
>> 
>> What app(s) do you use?
> 
> 
> I guess you ask Ken, but anyway, does anyone have X11 GUI working for 
> `transmission-x11` and `gtk-gnutella`?
> 
> P. S. On a side note, wxWidgets 3.1 also does not work for me, at least on 
> PowerPC. At the same time almost everything Qt4-based works beautifully. 
> Cocoa-based apps work, as long as the code does not rely on incompatible ObjC 
> syntax and new SDKs.
> 


Re: GTK on PowerPC: does anyone have it actually working?

2024-03-14 Thread Valerio Messina via macports-dev

On 3/14/24 10:33 AM, Riccardo Mottola via macports-dev wrote:

What app(s) do you use?


can you please give a try to 'ReSolve':
https://github.com/efa/ReSolve
depends on GTK3.

I normally create binaries and DMG for x86_64,
targeting Quartz, last one is:
https://github.com/efa/ReSolve/releases/download/v0.11.09hbeta/reSolve01109h_2023-08-28_MacOS_x86_64_64bit.dmg
but, a PPC (or ARM) for X11 should work too.

thank you,
--
Valerio


Re: GTK on PowerPC: does anyone have it actually working?

2024-03-14 Thread Sergio Had


> On Mar 14, 2024, at 5:33 PM, Riccardo Mottola via macports-dev 
>  wrote:
> 
> Hi,
> 
> Ken Cunningham wrote:
>> gtk3 (x11 variant) is working fine for me on PowerPC Leopard, for one.
> 
> I'm hacking on GTK2 and GTK3 quartz support for Leopard... intel first, they 
> were working well enough to get gimp starting up (gtk2...)

I think I could not get it to start, though it builds fine.

> The only other GTK3 app I use is meld, which is now unusable (doesn't even 
> show a window) on 10.6 and 10.7, so I didn't even attempt on 10.5. on 
> 10.11-10.13 it has heavy redraw issues (has since about a year). But it is 
> really a maze of dependencies, so I don't know if the bug is in GTK or one of 
> the many dependent libraries.

I did have problems with GTK and X11 ports on 10.6 ppc, but however:

1. 10.6 ppc is not an officially supported system in Macports, so some stuff 
may need extra fix-ups (usually trivial – fix some macros).
2. It is not impossible that I have a messed-up X11, since macOS implementation 
may conflict with MacPorts one, and there is also XQuartz. Unfortunately, there 
is no clear instruction how to go about that, and I have seen related 
complaints re 10.5 and 10.4.

Once I rebuild gcc13 on Leopard, I will try again there.

> I will try to build on 10.5 PPC tomorrow and see how things fare
> 
> What app(s) do you use?


I guess you ask Ken, but anyway, does anyone have X11 GUI working for 
`transmission-x11` and `gtk-gnutella`?

P. S. On a side note, wxWidgets 3.1 also does not work for me, at least on 
PowerPC. At the same time almost everything Qt4-based works beautifully. 
Cocoa-based apps work, as long as the code does not rely on incompatible ObjC 
syntax and new SDKs.



Re: GTK on PowerPC: does anyone have it actually working?

2024-03-14 Thread Riccardo Mottola via macports-dev

Hi,

Ken Cunningham wrote:

gtk3 (x11 variant) is working fine for me on PowerPC Leopard, for one.


I'm hacking on GTK2 and GTK3 quartz support for Leopard... intel first, 
they were working well enough to get gimp starting up (gtk2...)
The only other GTK3 app I use is meld, which is now unusable (doesn't 
even show a window) on 10.6 and 10.7, so I didn't even attempt on 10.5. 
on 10.11-10.13 it has heavy redraw issues (has since about a year). But 
it is really a maze of dependencies, so I don't know if the bug is in 
GTK or one of the many dependent libraries.


I will try to build on 10.5 PPC tomorrow and see how things fare

What app(s) do you use?

Riccardo