Ticket #2608: xpra.patch
File xpra.patch, 2.1 KB (added by , 14 months ago) |
---|
-
src/setup.py
162 162 minify_ENABLED = html5_ENABLED 163 163 pam_ENABLED = DEFAULT and (server_ENABLED or proxy_ENABLED) and POSIX and not OSX and (os.path.exists("/usr/include/pam/pam_misc.h") or os.path.exists("/usr/include/security/pam_misc.h")) 164 164 165 xdg_open_ENABLED = LINUXand DEFAULT165 xdg_open_ENABLED = (LINUX or FREEBSD) and DEFAULT 166 166 netdev_ENABLED = LINUX and DEFAULT 167 167 vsock_ENABLED = LINUX and os.path.exists("/usr/include/linux/vm_sockets.h") 168 168 bencode_ENABLED = DEFAULT … … 1436 1436 #******************************************************************************* 1437 1437 else: 1438 1438 #OSX and *nix: 1439 if LINUX: 1439 if is_Fedora() or is_CentOS() or is_RedHat() or FREEBSD: 1440 libexec = "libexec" 1441 else: 1442 libexec = "lib" 1443 1444 if LINUX or FREEBSD: 1440 1445 if scripts_ENABLED: 1441 1446 scripts += ["scripts/xpra_udev_product_version", "scripts/xpra_signal_listener"] 1442 1447 libexec_scripts = [] 1443 if is_Fedora() or is_CentOS() or is_RedHat():1444 libexec = "libexec"1445 else:1446 libexec = "lib"1447 1448 if xdg_open_ENABLED: 1448 1449 libexec_scripts += ["scripts/xdg-open", "scripts/gnome-open", "scripts/gvfs-open"] 1449 1450 if server_ENABLED: … … 1452 1453 add_data_files("%s/xpra/" % libexec, libexec_scripts) 1453 1454 if data_ENABLED: 1454 1455 man_path = "share/man" 1455 if OPENBSD :1456 if OPENBSD or FREEBSD: 1456 1457 man_path = "man" 1457 1458 add_data_files("%s/man1" % man_path, ["man/xpra.1", "man/xpra_launcher.1"]) 1458 1459 add_data_files("share/applications", glob.glob("xdg/*.desktop")) … … 1506 1507 1507 1508 if printing_ENABLED and POSIX: 1508 1509 #install "/usr/lib/cups/backend" with 0700 permissions: 1509 copytodir("cups/xpraforwarder", " lib/cups/backend", chmod=0o700)1510 copytodir("cups/xpraforwarder", "%s/cups/backend" % libexec, chmod=0o700) 1510 1511 1511 1512 if x11_ENABLED: 1512 1513 #install xpra_Xdummy if we need it: