-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3 packaging for macos #1575
Comments
Needed for window transparency: #1570 |
2018-01-03 03:20:08: smo commented
|
2018-01-03 15:45:00: antoine commentedUsing a clean user account and following the build instructions from [https://wiki.gnome.org/Projects/GTK+/OSX/Building]:
Got a few certificate errors with: xz, pkg-config, flex, expat, etc (download without checking certs and continue).
This time fixed by downloading the
Make python3 the default (as per docs - though the upstream instructions look wrong for the second symlink):
(upstream notes apply: interrupt the build and run it by hand - we should upstream our openssl 1.1 build commands)
Got a minor failure building glib:
Applied the one line from the reject file by hand and continued. Everything built correctly after that. @smo: whatever you did (which was not recorded anywhere AFAICT) must have been different? Continuing from there:
Got one failure we should fix on lame:
Next we have to build python and switch back to python3 afterwards so we can build the python deps against python3:
Build the rest:
lz4 had a problem (will fix).
At that point, everything is built OK, AFAICT. Still TODO:
|
@smo: why are we so far behind [https://git.gnome.org/browse/gtk-osx/tree/]? I've merged most of the changes:
Also added latest gdb by hand:
But... still needs signing to be used: codesign gdb. |
More work on this:
Still TODO:
Apart from that, it looks usable. Beta builds posted here with the "Python3" filename: [https://xpra.org/beta/osx/]. |
Notes after rebuilding again from scratch to verify:
Saves having to temporarily switch back to python2 to build it. The python2-only builds started hitting the issue from comment:7, and now the mixed python2-python3 builds do too. Sigh. One more weird issue started happening: the "py2app" step does something that loads gdk and tries to access the display server and crashes when it fails, means that the builds now have to be executed from a GUI shell. PITA. So at this point, the python3 jhbuild env is almost straightforward (bar python3 vs python issues) with this file:
|
Lots more updates (in large part because testing jhbuild is hard, so I commit then fix the numerous mistakes one at a time). Changesets:
With all these changes:
Then just:
Then when building the packages, we have to do:
(or @smo: does that work for you? |
Note: the gi bingings were missing from the python2 builds (meaning no sound), to re-instate them I had to apply this patch: pygobject: remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN. (basically, just remove all references to |
2018-01-10 16:47:44: smo commented
|
It isn't referenced anywhere in our modulesets. |
2018-01-16 18:02:24: smo commented
|
|
2018-05-17 20:41:02: smo commented
|
2018-05-17 21:01:31: smo commented
|
2018-05-17 23:55:51: smo commented
|
2018-05-17 23:57:13: smo commented
|
2018-05-18 00:28:46: smo commented
|
2018-05-18 00:29:20: smo commented
|
Weird, I didn't hit this one.
Again, I didn't hit this one. (I'm building on 10.10)
Yep. It's an upstream bug:
Fixed in r19356. I hit a more fundamental issue rebuilding gstreamer:
No idea when the broke, or why. Then something else was not quite right - looks like some headers aren't installed by
Fixed by:
Then after that:
Fixed by:
r19355 fixes that. |
2018-05-24 20:12:43: smo commented
|
python3 tracker ticket: #1568.
TODO:
etc..
The text was updated successfully, but these errors were encountered: