Commit 5b5f8fed authored by T. Fischer's avatar T. Fischer

Aligning ebuild to ArchLinux, removing experimental seamless window mode

parent 572acc71
AUX vmware-horizon-usb 99 BLAKE2B b260dd19225b449d4b988ba2d6d5bed49e7dface8f37b42d5f168c9efd1614b53a7ba0ba0ccd5b852c8a7a69e1b96832ff5ffd2ec10d2fb449b0f5d17ae5114f SHA512 519fe30ddcf4e43b0b2c1dade4399c1544362f004a9064d89018d6d77d1f1dbd1f5210aaa4ec892dfbe7d52d820bc6b5c45c2194c99f127818d95761e761a636
AUX vmware-horizon-usb-tmpfiles.conf 32 BLAKE2B aa733220c8b413d0d54310a380a4293bff0a69327e50166dc277c2949290fb1cba717237ce9f4e23b1042f06a93ae7f42c55fbbc394e6518be3421ed7218deb3 SHA512 bb14122351d39392da45b867749371939b995b56b936cf6a423761a6fe15c5156627b8780d2431e8b3097d031ff4a028cd5abdabc4baba5264028861b18376e2
AUX vmware-horizon-usb.service 196 BLAKE2B 30429593dbbaa7972ae54abc003e3c09d7eb6137784a88cbc79777aedbc22f665cb7d24d9b08d9619224542c3b656dcfd3b404f8484fdbe395116421d620dfe9 SHA512 77d442a582a11dd3ace2f8a817ef460e58504ad3416bb84577beb016e5b3b1f357be4dd78e76dfd5d87fdba4c08f4bca9799448a63fc9d757d08b01ba1892890
AUX vmware-horizon-virtual-printing.service 247 BLAKE2B 587d4dc6c4ba2e44f2e3ea47afe40ee88130de70b77c518b6714390548c626d563efaf0f33eed89a0e5fb373aa8b4ccd10d8b2b9ef499269e70bf6cf557b6734 SHA512 b0a3434d7b93be4fa2a454062bd45ba9c2891434847fcab6fc4203150ae5b115d63b5ce6c01a495f393ee04c5f9f2790a9502eb4163a03589afef5abf6610135
AUX vmware-horizon-usb 405 BLAKE2B d28b6feff71f2c8042a206602f141d9f244559ef22d93526140d72f2c4976f0b0db64b3871669f3fade571ca656a78202c3f1d2f712ccdb8f443b6da447c4c5a SHA512 43d4f07731396520f56e6f8db7cad196641dad5f164b568179afbb89a2168f4c2e642ff1441ebb148c74c7878809d922e3608543f9993c44141e56c086ea1257
AUX vmware-horizon-usb.service 194 BLAKE2B 375984a9146923130e529d9d5d52b607efcc7af0dcb099a039ed50291a56739b875df301d28266ad06927ce39440bf2f040987c9288620c41be16ef50dae3193 SHA512 4687c36887597316a845c82c2f0b9ced061db817ab68134def262132b6242d6dd7c1191ade48d996578c5b39d49a2df5efa5b3d7ca9e42f41e05980fd36ce1c3
AUX vmware-horizon-virtual-printing.service 212 BLAKE2B d52cfdb9082186e7fc25db5b3b3351b4561ade45f7df31e1ba5f3132b824b1213a68b1eef701affdfee4e5339dea9418c7debeb1ae7b19983524426910e01f98 SHA512 8d46aa6472f29cb983fae63032017f1dd4804a47d1104c12f7f92cbe503b2e1ba3019028b61f408cfcfede809d04eeed2f5c1016472f9225f281b4172a46e9cf
DIST VMware-Horizon-Client-4.9.0-9507999.x64.bundle 118277509 BLAKE2B 6a47b41f9d3f399fb52f2ad186c49f9b31d27573218784eba104eed9649e253b77c61c390055a878d28e13ae1bd485c0ee54738b79e7cdce446a5379c3d1b615 SHA512 7d0f5d8d09868ede763bb9cb1ce4ae3db82ce2b16ba436c79ca7f2a9ff43889d00fc80ef8efb8ebe987f9def757aeda715d8fa6ecab13ae6ed814293e3d30832
EBUILD vmware-horizon-client-4.9.0.ebuild 5855 BLAKE2B d303ffcbc66088368c18f7e24827bda2dac1ee245d6e4caaf505cb1a218061dd374b572541800a8e6ad5d5f0d5b6bc2562aef31001c42de8b5a5eacc39e5c363 SHA512 92d7eed6e09bc1ea626fa604e45b0bf4729c1bcff099292e5b0978ecaeedfc18f9a95df9aeea4a64206ee384b0d769a8be548ac638991d8d14bb0f82126f657d
EBUILD vmware-horizon-client-4.9.0.ebuild 5793 BLAKE2B 376f9734488f2deea8863d03a9291dd06369096c86de663844ba134e4bd2baed85246ff3b4f21a0c737507f0aaa9b443a20c6ca58f49d0f400f0a1331e185504 SHA512 0c6a5ef58bfbe233fbfedec742eade35218cf36f4447e618157e178b91f276bc98bc1219a2d4633487a66eb5b4ed085c29fa879e9eac48b8b155c481f17f5065
#!/bin/sh
cut -f 3 -d ':' </etc/passwd | while read userid ; do
[[ ${userid} == 0 || ( ${userid} >= 1000 || ${userid} < 65534 ) ]] || continue
defaultgroupid=$(id -g ${userid})
userdir=/var/run/vmware/${userid}
mkdir -p ${userdir}
chown -R -- ${userid}:${defaultgroupid} ${userdir}
chmod 0700 ${userdir}
done
/usr/lib/vmware/view/usb/vmware-usbarbitrator
/usr/lib/vmware/view/usb/vmware-view-usbd
[Unit]
Description=VMware Horizon USB daemon
ConditionPathExists=/sys/bus/usb
[Service]
# FIXME: different user than root?
Type=forking
ExecStart=/usr/lib/systemd/scripts/vmware-horizon-usb
......
......@@ -3,7 +3,6 @@ Description=VMware Horizon virtual printing
After=org.cups.cupsd.service
[Service]
# FIXME: different user than root?
Type=forking
Environment="THNUCLNT_SVC=global:daemon"
ExecStart=/usr/bin/thnuclntd
......
......@@ -10,7 +10,7 @@ DESCRIPTION="Client to connect to VMware Horizon virtual desktops"
HOMEPAGE="https://my.vmware.com/web/vmware/info/slug/desktop_end_user_computing/vmware_horizon_clients/4_0"
MY_VMWARE_BUNDLES="vmware-horizon-client vmware-horizon-rtav vmware-horizon-pcoip vmware-horizon-seamless-window"
MY_VMWARE_BUNDLES="vmware-horizon-client vmware-horizon-rtav vmware-horizon-pcoip vmware-horizon-tsdr vmware-horizon-mmr"
MY_VMWARE_PN="VMware-Horizon-Client"
MY_VMWARE_BUILD="9507999"
MY_VMWARE_CART="CART19FQ3"
......@@ -67,13 +67,13 @@ src_compile() {
for bundle in ${MY_VMWARE_BUNDLES} ; do
for FILE in $(find "${bundle}" -type f); do
# executables and libraries only
file --mime "${FILE}" | egrep -q "(application/x-(executable|sharedlib)|text/x-shellscript)" || continue
file --mime "${FILE}" | egrep -q "(application/x-(pie-)?(executable|sharedlib)|text/x-shellscript)" || continue
# make executable
chmod +x "${FILE}"
# ELF executables and libraries only
file --mime "${FILE}" | egrep -q "application/x-(executable|sharedlib)" || continue
file --mime "${FILE}" | egrep -q "application/x-(pie-)?(executable|sharedlib)" || continue
# even openssl 1.0.[12].x has library file names ending in .so.1.0.0
sed -i -e 's/libssl.so.1.0.[12]/libssl.so.1.0.0/' \
......@@ -88,11 +88,11 @@ src_compile() {
ln -sf ../libcrypto.so.1.0.0 "${S}"/vmware-horizon-pcoip/pcoip/lib/vmware/libcrypto.so.1.0.0
ln -sf ../libssl.so.1.0.0 "${S}"/vmware-horizon-pcoip/pcoip/lib/vmware/libssl.so.1.0.0
sed -i '/Name=/a Comment='"${DESCRIPTION}" \
"${S}"/vmware-horizon-client/share/applications/vmware-view.desktop
# disable seamless window feature with vmware-view-crtbora
# this requires binary libraries with messy linking...
sed -i 's/vmware-view-crtbora/vmware-view/' "${S}"/vmware-horizon-client/bin/vmware-view
# Enable seamless window mode
sed -i -e 's/Exec=/Exec=env ENABLE_SEAMLESS_WINDOW=1 /' \
sed -i '/Name=/a Comment='"${DESCRIPTION}" \
"${S}"/vmware-horizon-client/share/applications/vmware-view.desktop
}
......@@ -105,6 +105,7 @@ src_install() {
cd "${S}/vmware-horizon-client/"
cp -a bin/ "${D}/usr/"
cp -a lib/ "${D}/usr/"
rm -rf "${D}/usr/lib/vmware/view/crtbora/"
cp -a share/ "${D}/usr/"
cp -a doc/ "${D}/usr/share/doc/vmware-horizon-client"
cp -a debug/ "${D}/usr/share/doc/vmware-horizon-client/"
......@@ -119,12 +120,6 @@ src_install() {
cd "${S}/vmware-horizon-rtav/"
cp -a lib/ "${D}/usr/"
# Seamless windows
cd "${S}/vmware-horizon-seamless-window/"
exeinto "/usr/lib/vmware/view/bin"
doexe "${S}/vmware-horizon-seamless-window/vmware-view-crtbora"
cp -a lib/ "${D}/usr/"
if use smartcard ; then
# Smartcard
cd "${S}/vmware-horizon-smartcard/"
......@@ -140,8 +135,6 @@ src_install() {
doexe "${FILESDIR}/vmware-horizon-usb"
insinto "/usr/lib/systemd/system"
doins "${FILESDIR}/vmware-horizon-usb.service"
insinto /usr/lib/tmpfiles.d/
newins "${FILESDIR}/vmware-horizon-usb-tmpfiles.conf" vmware-horizon-usb.conf
fi
if use cups ; then
......@@ -159,6 +152,14 @@ src_install() {
doins "${FILESDIR}/vmware-horizon-virtual-printing.service"
fi
# TSDR
cd "${S}/vmware-horizon-tsdr/"
cp -a lib/ "${D}/usr/"
# MMR
cd "${S}/vmware-horizon-mmr/"
cp -a lib/ "${D}/usr/"
### Fix QA issues on installed files
sed -i -e 's!vmware-view.png!vmware-view!;s!Application;Network!Network!' "${D}/usr/share/applications/vmware-view.desktop"
chmod -R a-w "${D}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment