xpra icon
Bug tracker and wiki

Opened 4 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#1990 closed task (fixed)

debian python3-xpra packaging

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.5
Component: packaging Version: 2.4.x
Keywords: deb Cc:

Description (last modified by Antoine Martin)

Looks like you may want to switch to pybuild: debian docs: dh_python.

The changelog for all the debian packaging lives here: log/xpra/trunk/debian

Change History (6)

comment:1 Changed 4 weeks ago by Antoine Martin

Description: modified (diff)
Status: newassigned

Done in r20693, tested on Ubuntu 18.10 and Debian Stretch.

Maybe split the html5 client too?

comment:2 Changed 4 weeks ago by Antoine Martin

Lots of packaging pain: r20724 + r20725, r20722, r20702

comment:3 Changed 3 weeks ago by Antoine Martin

More:

  • r20732 build-depends goes it main section
  • r20733 + r20734 remove ugly strip hack, workaround man page opaque dh automagic failures

Still TODO:

  • the /usr/bin/xpra* scripts use python2.. ideally we should replace them with a shell script and run python2 or python3 based on which version is installed - the same problem applies to RPM packaging
  • same for the various utility scripts (cups forwarder, etc): we don't care which python version is used for those - but we have to specify one?
Last edited 3 weeks ago by Antoine Martin (previous) (diff)

comment:4 Changed 3 weeks ago by Antoine Martin

(dh: what a mazy steaming pile...)

No amount of contortions would make dh do the right thing. It always ended up bundling some icons or systemd file in the xpra package instead of xpra-common, so r20735 (+r20739 fixup) gives up the battle and puts those files there.

  • xpra is now what xpra-common was meant to be: icons, html5 client, systemd files, etc
  • python2-xpra
  • python3-xpra

As for the scripts, r20736 (+r20738) removes xpra_browser (saves us a man page to maintain) and r20737 tries the other python interpreter if we fail to import xpra with the current (ie default) one.

Still TODO:

  • man page handling - currently replaced by a find command
  • check dependencies and test installation on all supported platforms (esp xenial)
  • split html5 (easy?)

comment:5 Changed 3 weeks ago by Antoine Martin

  • r20740 splits the html5 client
  • dependencies tested OK

comment:6 Changed 2 weeks ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Updates:

See also:

  • #2007 use os background image - lots of packaging updates related to that too
  • #853 python3 server support - in progress

Works-for-me.

Last edited 2 weeks ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.