Replies: 4 comments
-
A lot of questions! Last one first, use
should do that without needing an |
Beta Was this translation helpful? Give feedback.
-
It needs to be added to https://wiki.gnome.org/Projects/GTK/OSX/Building too. Getting edit on the Gnome wiki can be a pain so probably better if I do it. |
Beta Was this translation helpful? Give feedback.
-
distutils is deprecated in Python 3.10 and removed in 3.12. The best way to fix it would be to create a setuptools module for jhbuild; although I'm a little leery of PyPI because of all of the supplychainattacks I guess a PIP module would also be a nice addition. Failing (or pending) that I think cmake is easier to abuse than autotools. For example I've used it to wrap boost-jam. |
Beta Was this translation helpful? Give feedback.
-
PR welcome ;-) As for rpath, I added handling that to bundler last spring. Did you have that in place when you experienced the problem? To get cmake to set the install name you can try adding |
Beta Was this translation helpful? Give feedback.
-
First, you may want to consider switching to libjpeg-turbo as the
libjpeg
, this commit does that: Xpra-org@b57ba2eEvery distribution that I know of, including MSYS2, Android, etc.. have done so. So there are no compatibility problems with any of the other libraries.
It's not just faster, it is also properly maintained - security updates, etc.
The only problem with that is
cmake
seems to userpath
in the library's self reference: Xpra-org#19Is this a MacOS or jhbuild issue? Or should I report it to
libjpeg-turbo
instead?I have a long list of Python modules that are installed using a jhbuild moduleset: https://github.com/Xpra-org/gtk-osx-build/blob/master/xpra-python3.modules
Some of the Python libraries no longer support
distutils
, and have to be installed usingpip
.What would be the best way of doing this using
jhbuild
? Abusingautogen
?Doing full rebuilds, I hit some issues with
gtk-doc
requiringpygments
, strangely enough this did not resolve the problem: Xpra-org@8ca5900(pygments would also need this: Xpra-org@96f36b3)
Has anyone else seen that?
I got bitten by the magic value
python3
which was missing from my list ofmodules
... and thenjhbuild
ended up building things against thepipenv
Python instead of the one I wanted.Would you take a PR to add a note to the documentation at https://github.com/jralls/gtk-osx-build#python-configuration ?
(and also update the Python version on that page)
One more
jhbuild
question: how do I getautotools
to run:cd xar ./autogen.sh ....
I tried:
<autotools id="xar" autogen-sh="cd xar;./autogen.sh" supports-non-srcdir-builds="no">
but that got mangled.Surely there is an easier way of doing this?
Beta Was this translation helpful? Give feedback.
All reactions