Discussion:
[winswitch] Build procedure for Mac...
Perry E. Metzger via shifter-users
2018-09-14 19:53:41 UTC
Permalink
Howdy! I am a MacPorts committer, and was thinking of adding a
Portfile to build the Mac client to MacPorts.

Is there a good explanation of the build process for the Mac
client somewhere on the web site?

Perry
--
Perry E. Metzger ***@piermont.com
Antoine Martin via shifter-users
2018-09-15 04:37:40 UTC
Permalink
Post by Perry E. Metzger via shifter-users
Howdy! I am a MacPorts committer, and was thinking of adding a
Portfile to build the Mac client to MacPorts.
Is there a good explanation of the build process for the Mac
client somewhere on the web site?
https://xpra.org/trac/wiki/Building/MacOSX

Building and installing xpra itself is trivial:
./setup.py build
./setup.py install
Tracking down all the dependencies is harder. For that, you should be
able to use the jhbuild moduleset files that we use:
https://xpra.org/trac/browser/xpra/trunk/osx/jhbuild
Feel free to ask any questions if you get stuck.
Note that xpra does not use X11 at all on MacOS, so you will need a
native build of GTK.

Cheers,
Antoine
Post by Perry E. Metzger via shifter-users
Perry
Perry E. Metzger via shifter-users
2018-09-15 14:43:48 UTC
Permalink
On Sat, 15 Sep 2018 11:37:40 +0700 Antoine Martin via shifter-users
Post by Antoine Martin via shifter-users
Post by Perry E. Metzger via shifter-users
Howdy! I am a MacPorts committer, and was thinking of adding a
Portfile to build the Mac client to MacPorts.
Is there a good explanation of the build process for the Mac
client somewhere on the web site?
https://xpra.org/trac/wiki/Building/MacOSX
./setup.py build
./setup.py install
Tracking down all the dependencies is harder. For that, you should
MacPorts handles dependencies internally.
Post by Antoine Martin via shifter-users
https://xpra.org/trac/browser/xpra/trunk/osx/jhbuild
Feel free to ask any questions if you get stuck.
Note that xpra does not use X11 at all on MacOS, so you will need a
native build of GTK.
Yah, I'm aware. This gets slightly sticky because we can't currently
install both native and x11 GTK at the same time, but I'm thinking of
fixing that anyway.
--
Perry E. Metzger ***@piermont.com
Antoine Martin via shifter-users
2018-09-16 03:40:48 UTC
Permalink
Post by Perry E. Metzger via shifter-users
On Sat, 15 Sep 2018 11:37:40 +0700 Antoine Martin via shifter-users
Post by Antoine Martin via shifter-users
Post by Perry E. Metzger via shifter-users
Howdy! I am a MacPorts committer, and was thinking of adding a
Portfile to build the Mac client to MacPorts.
Is there a good explanation of the build process for the Mac
client somewhere on the web site?
https://xpra.org/trac/wiki/Building/MacOSX
./setup.py build
./setup.py install
Tracking down all the dependencies is harder. For that, you should
MacPorts handles dependencies internally.
That's my point: we ship a full-featured DMG (or PKG) on MacOS.
With MacPorts, you have more freedom which means you will need to decide
which dependencies are enabled by default and which ones are optional.
You can use the Debian control file and/or the RPM specfile to help you
figure out which dependencies are not strictly required.
Post by Perry E. Metzger via shifter-users
Post by Antoine Martin via shifter-users
https://xpra.org/trac/browser/xpra/trunk/osx/jhbuild
Feel free to ask any questions if you get stuck.
Note that xpra does not use X11 at all on MacOS, so you will need a
native build of GTK.
Yah, I'm aware. This gets slightly sticky because we can't currently
install both native and x11 GTK at the same time, but I'm thinking of
fixing that anyway.
That would be great. This would allow us to build a "real" xpra server
for seamless X11 apps on MacOS and have it co-exist with the native client.

Cheers,
Antoine

Loading...