[Github-comments] Re: [geany/geany] Force meson to use the ".so" extension instead of ".dylib" for plugins on macOS (Issue #3606)

2023-10-17 Thread Jiří Techet via Github-comments
Closed #3606 as completed via #3608.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3606#event-10682898784
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Force meson to use the ".so" extension instead of ".dylib" for plugins on macOS (Issue #3606)

2023-10-17 Thread Jiří Techet via Github-comments
> Maybe 
> https://mesonbuild.com/Reference-manual_functions.html#library_name_suffix

Cool, thanks, that appears to be it, I'll test.

> I was thinking of people who download plugins from the internet, most will be 
> for linux, will they work? I guess so far there has been no complaint, so 
> maybe mac people don't download stuff from the internet?

I bundle most of the plugins (that don't have any too-hard-to-build 
dependencies like webkit) as part of the Geany bundle and they work. I just 
need the plugins from geany-plugins to have the same extension as those that 
are built with Geany. But the above link looks promising.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3606#issuecomment-1765889061
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Force meson to use the ".so" extension instead of ".dylib" for plugins on macOS (Issue #3606)

2023-10-16 Thread elextr via Github-comments
Maybe https://mesonbuild.com/Reference-manual_functions.html#library_name_suffix


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3606#issuecomment-1765437497
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Force meson to use the ".so" extension instead of ".dylib" for plugins on macOS (Issue #3606)

2023-10-16 Thread elextr via Github-comments
> But Geany won't load them. 

Sure, there is a minor matter of mac specific patching needed.

> And geany-plugins are still using autotools and generate ".so". 

Ditto

I was thinking of people who download plugins from the internet, most will be 
for linux, will they work? I guess so far there has been no complaint, so maybe 
mac people don't download stuff from the internet?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3606#issuecomment-1765422256
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Force meson to use the ".so" extension instead of ".dylib" for plugins on macOS (Issue #3606)

2023-10-16 Thread Jiří Techet via Github-comments
> Probably should use .dylib on mac

But Geany won't load them. And geany-plugins are still using autotools and 
generate ".so". So I think it would be easier if meson could generate ".so" 
instead of ".dylib" so we'd have the same extension coming both from geany and 
geany-plugins.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3606#issuecomment-1765414788
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Force meson to use the ".so" extension instead of ".dylib" for plugins on macOS (Issue #3606)

2023-10-16 Thread elextr via Github-comments
Probably should use `.dylib` on mac, that will prevent plugins built for linux 
being visible.

If anyone (except you) is using autotools on mac they can submit a patch to add 
a rename step for the `.so`s.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3606#issuecomment-1765402004
You are receiving this because you are subscribed to this thread.

Message ID: