SHA256
1
0
forked from pool/xpra
xpra/xpra-paths.patch
Luigi Baldoni f47a200f10 Accepting request 688822 from home:alois:branches:X11:Utilities
- Update to version 2.5
  * Python 3 port mostly complete
  * pixel compression and bandwidth management:
    + better recovery from network congestion
    + distinguish refresh from normal updates
    + better tuning for mmap connections
    + heuristics improvements
    + use video encoders more aggressively
    + prevent too many delayed frames with x264
    + better video region detection with opengl content
  * better automatic tuning for client applications
    + based on application categories
    + application supplied hints
    + application window encoding hints
    + using environment variables and disabling video
  * HTML5 client improvements
  * Client improvements:
    + make it easier to start new commands, provide start menu
    + probe OpenGL in a subprocess to detect and workaround
      driver crashes
    + use appindicator if available
  * Server improvements:
    + start command on last client exit
    + honour minimum window size
    + Python 3
    + upgrade-desktop subcommand
  * Network layer:
    + less copying
    + use our own websocket layer
    + make mmap group configurable
    + TCP CORK support on Linux
  * SSH transport:
    + support .ssh/config with paramiko backend
    + connecting via ssh proxy hosts
  * SSHFP with paramiko:
    + clipboard: restrict clipboard data transfers size
  * code cleanups, etc
- Removed python2-opengl requirement (package not available
  and unnecessary since this release)
- Refreshed xpra-paths.patch

OBS-URL: https://build.opensuse.org/request/show/688822
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=15
2019-03-26 15:55:14 +00:00

42 lines
2.1 KiB
Diff

Index: xpra-2.5/setup.py
===================================================================
--- xpra-2.5.orig/setup.py
+++ xpra-2.5/setup.py
@@ -1556,7 +1556,7 @@ else:
add_data_files("%s/man1" % man_path, ["man/xpra.1", "man/xpra_launcher.1"])
add_data_files("share/applications", glob.glob("xdg/*.desktop"))
add_data_files("share/mime/packages", ["xdg/application-x-xpraconfig.xml"])
- add_data_files("share/icons", ["xdg/xpra.png", "xdg/xpra-mdns.png", "xdg/xpra-shadow.png"])
+ add_data_files("share/pixmaps", ["xdg/xpra.png", "xdg/xpra-mdns.png", "xdg/xpra-shadow.png"])
add_data_files("share/appdata", ["xdg/xpra.appdata.xml"])
#here, we override build and install so we can
@@ -1629,7 +1629,7 @@ else:
if pam_ENABLED:
copytodir("etc/pam.d/xpra", "/etc/pam.d")
- systemd_dir = "/lib/systemd/system"
+ systemd_dir = "__UNITDIR__"
if service_ENABLED:
#Linux init service:
if os.path.exists("/bin/systemctl"):
@@ -1640,7 +1640,9 @@ else:
else:
copytodir("service/xpra", "/etc/init.d")
if os.path.exists("/etc/sysconfig"):
- copytodir("etc/sysconfig/xpra", "/etc/sysconfig")
+ shutil.copy("etc/sysconfig/xpra", "etc/sysconfig/sysconfig.xpra")
+ os.chmod("etc/sysconfig/sysconfig.xpra", 0o644)
+ copytodir("etc/sysconfig/sysconfig.xpra", "__FILLUPDIR__")
elif os.path.exists("/etc/default"):
copytodir("etc/sysconfig/xpra", "/etc/default")
if sd_listen_ENABLED:
@@ -1757,7 +1759,6 @@ if scripts_ENABLED:
scripts += ["scripts/xpra", "scripts/xpra_launcher"]
if data_ENABLED:
- add_data_files(share_xpra, ["README", "COPYING"])
add_data_files(share_xpra, ["bell.wav"])
add_data_files("%s/http-headers" % share_xpra, glob.glob("http-headers/*"))
add_data_files("%s/icons" % share_xpra, glob.glob("icons/*png"))