Luigi Baldoni
9ac986d62e
- Enabled OpenGL (fixes boo#1127415) - Added brotli as build requirement - Refreshed xpra-paths.patch OBS-URL: https://build.opensuse.org/request/show/681238 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=14
42 lines
2.2 KiB
Diff
42 lines
2.2 KiB
Diff
Index: xpra-2.4.3/setup.py
|
|
===================================================================
|
|
--- xpra-2.4.3.orig/setup.py
|
|
+++ xpra-2.4.3/setup.py
|
|
@@ -1515,7 +1515,7 @@ else:
|
|
add_data_files("%s/man1" % man_path, ["man/xpra.1", "man/xpra_launcher.1", "man/xpra_browser.1"])
|
|
add_data_files("share/applications", ["xdg/xpra-shadow.desktop", "xdg/xpra-launcher.desktop", "xdg/xpra-browser.desktop", "xdg/xpra.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
|
|
@@ -1588,7 +1588,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"):
|
|
@@ -1599,7 +1599,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:
|
|
@@ -1713,7 +1715,6 @@ else:
|
|
if scripts_ENABLED:
|
|
scripts += ["scripts/xpra", "scripts/xpra_launcher", "scripts/xpra_browser"]
|
|
|
|
-add_data_files(share_xpra, ["README", "COPYING"])
|
|
add_data_files(share_xpra, ["bell.wav"])
|
|
add_data_files("%shttp-headers" % share_xpra, glob.glob("http-headers/*"))
|
|
add_data_files("%sicons" % share_xpra, glob.glob("icons/*png"))
|