SHA256
1
0
forked from pool/xpra
xpra/xpra-paths.patch
Luigi Baldoni a51db3efd3 Accepting request 859638 from home:alois:branches:X11:Utilities
- Update to version 4.0.6
  * fix screen refresh performance issues, especially on jittery
    links
  * fix proxy instance control socket errors and process leak
  * fix slow subcommands due to unnecessary calls to ldconfig
  * fix server asynchronous packets getting delayed
  * fix 'xpra _proxy' zombies getting left behind (ssh mode)
  * fix failures to enable packet compression
  * fix connection errors when a non interactive client is
    already connected
  * fix ssh connection errors with proxycommand or proxyhost
    port numbers
  * fix timeouts with paramiko ssh client
  * fix ssh string escaping with MS Windows clients
  * fix client rejecting printing requests
  * fix duplicate / untimely audio-stop control packets with
    HTML5 client
  * fix console errors with Internet Explorer
  * fix capslock regression on MacOS and MSWindows shadow servers
  * fix errors accessing window handles on MS Windows (size
    hints, opengl, etc)
  * fix spurious refresh packets with mmap
  * fix mmap not used with some non-video areas
  * fix keyboard sub-layout detection with MS Windows clients
  * fix clipboard cleanup errors on MS Windows
  * fix clipboard with Wayland clients
  * fix window repaint with Wayland clients
  * fix printing diagnostic script
  * fix Python 3.9 compatibility
  * fix sysconfig path in systemd service file
  * fix xdg-open override script error handling
  * fix file-transfer failures with small files
  * fix file-transfers with non-ascii filenames
  * fix FIPS compatibility (no md5)
  * better file transfer message format
  * honour XPRA_XDG_EXPORT_ICONS=0 env var in all cases
  * hide passwords from authentication debug logging
  * make it possible to specify the socket type with systemd
    socket activation
  * re-add "~/.xpra" as socket-dir
  * typo in man page
- Refresh xpra-paths.patch

OBS-URL: https://build.opensuse.org/request/show/859638
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=64
2020-12-31 19:42:02 +00:00

44 lines
2.3 KiB
Diff

Index: xpra-4.0.6/setup.py
===================================================================
--- xpra-4.0.6.orig/setup.py
+++ xpra-4.0.6/setup.py
@@ -1485,7 +1485,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/metainfo", ["xdg/xpra.appdata.xml"])
#here, we override build and install so we can
@@ -1566,16 +1566,18 @@ 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:
subs = {}
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")
subs[b"/etc/sysconfig"] = b"/etc/default"
- if os.path.exists("/bin/systemctl"):
+ if os.path.exists("/usr/bin/systemctl"):
if sd_listen_ENABLED:
copytodir("service/xpra.service", systemd_dir,
subs=subs)
@@ -1695,7 +1697,6 @@ if scripts_ENABLED:
toggle_modules(WIN32, "xpra/scripts/win32_service")
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"))