diff options
author | 2024-04-05 10:57:11 +0200 | |
---|---|---|
committer | 2024-04-05 10:57:11 +0200 | |
commit | ac4827a558b4814379ad0404041c01d7732f36c2 (patch) | |
tree | aa465ea1d13b354f90a8e429dfce39f8eb209802 | |
parent | games-strategy/glfrontier: Add -fcommon to *FLAGS (diff) | |
download | seden-ac4827a558b4814379ad0404041c01d7732f36c2.tar.gz seden-ac4827a558b4814379ad0404041c01d7732f36c2.tar.bz2 seden-ac4827a558b4814379ad0404041c01d7732f36c2.zip |
net-misc/icaclient: new package, add 24.2.0.65
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r-- | net-misc/icaclient/Manifest | 10 | ||||
-rw-r--r-- | net-misc/icaclient/files/10ICAClient | 2 | ||||
-rw-r--r-- | net-misc/icaclient/files/configmgr.desktop | 9 | ||||
-rw-r--r-- | net-misc/icaclient/files/conncenter.desktop | 9 | ||||
-rw-r--r-- | net-misc/icaclient/files/ctxwebhelper.desktop | 12 | ||||
-rw-r--r-- | net-misc/icaclient/files/new_store.desktop | 10 | ||||
-rw-r--r-- | net-misc/icaclient/files/selfservice.desktop | 9 | ||||
-rw-r--r-- | net-misc/icaclient/files/wfica.desktop | 12 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-24.2.0.65.ebuild | 311 | ||||
-rw-r--r-- | net-misc/icaclient/metadata.xml | 11 |
10 files changed, 395 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest new file mode 100644 index 0000000..ea42c6a --- /dev/null +++ b/net-misc/icaclient/Manifest @@ -0,0 +1,10 @@ +AUX 10ICAClient 61 BLAKE2B e2da5a69886dba37e8ccc9a4212cff2504a73a9a9da3c6f22f5ffe58e6661afce2858e224bbfdfde48e76b4cde4c0822da9b7ef39c357a3a3730a98d1f775c26 SHA512 a1eb61dcd636aab9770561d141241ae214870341ed85129e385509350cddb8f559eccbafd6832d000283d1a8ef0d7faf42910c76013d3cf97c8d4f036cd48957 +AUX configmgr.desktop 191 BLAKE2B 891069f75757cbe800053ee89e59c8eda2ce161a79a91def6895d3ce6b004b75395c167e88adb361a1f4ea5ff9b7a6b23a250a3d5a70c6fe4b875cc23a8ba8ff SHA512 ccb45da870e68e090ceb454ae4ef317e8834d2d0764ee3494dc3252b039be413ae27a27142040a130f2bcdd5a88d12bf598a432d31e0aa40581a5b682519aa96 +AUX conncenter.desktop 194 BLAKE2B 96fdae8892ec9cef05a92e129bba42efb666874a2a2187be7598398c25d5e66dfaad932b893eea5b0d9d2a5b89d58b04e63811bfa03887da92d44c78b5cb0fc1 SHA512 53939f018a453b0cf40731af36ad55545f517a66d011dac2ccf0cf3f318f63f026e632e951b7c55e15d5f1841f23d0ad8ab4bc5adfb1ea92c9cb720c14af0261 +AUX ctxwebhelper.desktop 320 BLAKE2B 877ade9bf35ca53ca81315e7ab6e9854e35d2392ad337f7fa00242a4fcb0b65fccccb569cb52557d4eba856972ae610f6826562aaaa881f347db025e81d97d4c SHA512 616068f88a05c221cbb5b6d0f54911f7aebd271311ba3039eeccca3d9e0444e0423f53e10d138f6a9e64c78cc7225ade0b7df941aaf5e55e9862eb30a5678b07 +AUX new_store.desktop 235 BLAKE2B 43bbf97a6982485e8b21f30c15889d64063ef0ce294b0695b368c08600af8a5a7764ee09ae7fe5d7f9c105d1217cae37fc2211542535ce31cea5d2b9f36d996f SHA512 a2857ecadeceb1252039f02e779a3d366cb863758802fc2927b9edd44a6580ba175db8ce332e3cbdd4ab0354fc0144432934abf8fed9f68c3e1a639775613258 +AUX selfservice.desktop 183 BLAKE2B 45d0830601ceac5159e239ec149cf3cdeabd43beb2ad6964935129fad6cd2c2e7c36cfc473e89b5db3b3b6cce2df909dd6013c3463631a7d868b470a49494285 SHA512 c4a2bdd83a29171c331b8adc98b33b8150fef5616d1fde8a0c9ccf1972b8ecc222dc1c0bc4e7779d93b851f44e79f5166138af7b7d36de964932ff3b63a4801b +AUX wfica.desktop 242 BLAKE2B 6e90bb02824a6319035814050919c55907b2104c65e2abcc7379a4c694a585945c2e10ada114c4dfb906ee3b1fa90a0251dcb1ec3aac1fb6015a2d2ecbef4452 SHA512 a233bbdfadaee080d8dda67ed81a60ef74902c1f2100cb08bc402186be23f1bbb82f84abb93da88d610d187a267f7db28e6bfebe689839c921ae5a94a4bdf1d7 +DIST linuxx64-24.2.0.65.tar.gz 398188196 BLAKE2B 6869cb6ab3b53d7ca1020c2a504bdf071c871daff1601e21b32f50b299b7b81c9159f248ee0be9370241b119dc49f1a01038f81f623c323a25ba6ce8ec9c975c SHA512 312a32fc6b5ba1c8af5449ca71b024d02966521915ab94ed7ee580c9bf4782afdb383dc855a14c83181311e0eb2329654a1493afdb55ca49640510e348666cd3 +EBUILD icaclient-24.2.0.65.ebuild 7297 BLAKE2B d1906ba01b762491471ff2343348d7520f0a6c3a768858bb59ffcd72aeca7a7b53b69ea9a039875c56eea02c5bc63cc569721ff02301673cd3fd17f5bef682c3 SHA512 9d8b2fef8bb078b6faad7dc8f107b44c10b04abaa65321c999ba52ed502b2d50dfaeef272752cf6402ba75a6daa01474ea2c11b86235cc7b09c4a7f0ea1816c2 +MISC metadata.xml 386 BLAKE2B 6c92e9a9069277ec990f0213940ae53a7114f9b5a98a6f72ba251570a503bafdc99f57b1b3c82dbe5f09cb8c0fc8dda8b45dfa0cb3216454cea01f5373dadeb7 SHA512 706d35bb56213c214fc1617f159c64dbe4089b82055997f9686e52e44d51d83db13a52f6729c053ca0d15763a3b442b49944476487fb85272cb0807100839f97 diff --git a/net-misc/icaclient/files/10ICAClient b/net-misc/icaclient/files/10ICAClient new file mode 100644 index 0000000..e5c2c73 --- /dev/null +++ b/net-misc/icaclient/files/10ICAClient @@ -0,0 +1,2 @@ +ROOTPATH=/opt/Citrix/ICAClient +ICAROOT=/opt/Citrix/ICAClient diff --git a/net-misc/icaclient/files/configmgr.desktop b/net-misc/icaclient/files/configmgr.desktop new file mode 100644 index 0000000..02188de --- /dev/null +++ b/net-misc/icaclient/files/configmgr.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver (configmgr) +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=configmgr +Exec=configmgr diff --git a/net-misc/icaclient/files/conncenter.desktop b/net-misc/icaclient/files/conncenter.desktop new file mode 100644 index 0000000..1c418af --- /dev/null +++ b/net-misc/icaclient/files/conncenter.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver (conncenter) +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=conncenter +Exec=conncenter diff --git a/net-misc/icaclient/files/ctxwebhelper.desktop b/net-misc/icaclient/files/ctxwebhelper.desktop new file mode 100644 index 0000000..7d535ca --- /dev/null +++ b/net-misc/icaclient/files/ctxwebhelper.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Web Helper +StartupWMClass=Ctxwebhelper +NoDisplay=true +Categories=Network; +MimeType=x-scheme-handler/receiver; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=/opt/Citrix/ICAClient/util/ctxwebhelper +Exec=/opt/Citrix/ICAClient/util/ctxwebhelper diff --git a/net-misc/icaclient/files/new_store.desktop b/net-misc/icaclient/files/new_store.desktop new file mode 100644 index 0000000..9ea426f --- /dev/null +++ b/net-misc/icaclient/files/new_store.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Add Citrix Store +MimeType=application/vnd.citrix.receiver.configure; +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=new_store +Exec=new_store %f diff --git a/net-misc/icaclient/files/selfservice.desktop b/net-misc/icaclient/files/selfservice.desktop new file mode 100644 index 0000000..7c37f22 --- /dev/null +++ b/net-misc/icaclient/files/selfservice.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=selfservice +Exec=selfservice diff --git a/net-misc/icaclient/files/wfica.desktop b/net-misc/icaclient/files/wfica.desktop new file mode 100644 index 0000000..54f95bc --- /dev/null +++ b/net-misc/icaclient/files/wfica.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver Engine +StartupWMClass=Wfica +NoDisplay=true +Categories=Network; +MimeType=application/x-ica; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=wfica +Exec=wfica diff --git a/net-misc/icaclient/icaclient-24.2.0.65.ebuild b/net-misc/icaclient/icaclient-24.2.0.65.ebuild new file mode 100644 index 0000000..15dd4e5 --- /dev/null +++ b/net-misc/icaclient/icaclient-24.2.0.65.ebuild @@ -0,0 +1,311 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop wrapper xdg-utils + +DESCRIPTION="ICA Client for Citrix Presentation servers" +HOMEPAGE="https://www.citrix.com/" +SRC_URI="linuxx64-${PV}.tar.gz" + +LICENSE="icaclient" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="l10n_de l10n_es l10n_fr l10n_ja l10n_zh-CN hdx usb" +RESTRICT="mirror strip fetch" + +ICAROOT="/opt/Citrix/ICAClient" + +QA_PREBUILT="${ICAROOT#/}/*" + +# we have binaries for two conflicting kerberos implementations +# https://bugs.gentoo.org/792090 +# https://bugs.gentoo.org/775995 +REQUIRES_EXCLUDE=" + libgssapi.so.3 + libgssapi_krb5.so.2 libkrb5.so.3 +" +# when using media-plugins/hdx-realtime-media-engine we better not ignore that +REQUIRES_EXCLUDE="${REQUIRES_EXCLUDE} + !hdx? ( libunwind.so.1 ) +" +# we have binaries which would still support gstreamer:0.10 +REQUIRES_EXCLUDE="${REQUIRES_EXCLUDE} + libgstapp-0.10.so.0 + libgstbase-0.10.so.0 + libgstinterfaces-0.10.so.0 + libgstpbutils-0.10.so.0 + libgstreamer-0.10.so.0 +" + +# video background blurring, optional +REQUIRES_EXCLUDE="${REQUIRES_EXCLUDE} + libopencv_core.so.407 + libopencv_imgcodecs.so.407 + libopencv_imgproc.so.407 +" + +BDEPEND=" + hdx? ( media-plugins/hdx-realtime-media-engine ) +" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret + dev-libs/glib:2 + dev-libs/libxml2 + media-fonts/font-adobe-100dpi + media-fonts/font-cursor-misc + media-fonts/font-misc-ethiopic + media-fonts/font-misc-misc + media-fonts/font-xfree86-type1 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0 + media-libs/libogg + media-libs/libpng + media-libs/libpulse + media-libs/libvorbis + media-libs/mesa + media-libs/speex + media-libs/speexdsp + net-libs/libsoup:2.4 + net-libs/webkit-gtk:4 + sys-apps/util-linux + sys-libs/libcxx + sys-libs/libcxxabi + sys-libs/zlib + virtual/krb5 + virtual/libudev + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + x11-libs/pango + ${BDEPEND} + !hdx? ( !media-plugins/hdx-realtime-media-engine ) + usb? ( virtual/libudev ) +" + +DEPEND="dev-util/patchelf" + +pkg_nofetch() { + elog "Download the client file ${A} from + https://www.citrix.com/downloads/workspace-app/" + elog "and place it into your DISTDIR directory." +} + +pkg_setup() { + case ${ARCH} in + amd64) + ICAARCH=linuxx64 + ;; + *) + eerror "Given architecture is not supported by Citrix." + ;; + esac +} + +src_unpack() { + default + mv "${WORKDIR}/${ICAARCH}/${ICAARCH}.cor" "${S}" || die +} + +src_prepare() { + default + rm lib/UIDialogLibWebKit.so || die + + cp nls/en/module.ini . || die + if use usb; then + # inspired by debian usb support package postinst + sed -i -e 's/^[ \t]*VirtualDriver[ \t]*=.*$/&, GenericUSB/' module.ini || die + sed -i -e '/\[ICA 3.0\]/a\GenericUSB=on' module.ini || true + echo "[GenericUSB]" >> module.ini || true + echo "DriverName=VDGUSB.DLL" >> module.ini + fi + + if use hdx; then + "${BROOT}${ICAROOT}"/rtme/RTMEconfig -install -ignoremm || die + mv new_module.ini module.ini || die + fi + mv module.ini config/ || die +} + +src_install() { + local bin tmpl dest + + dodir "${ICAROOT}" + + keepdir /etc/icaclient + + insinto "${ICAROOT}" + exeinto "${ICAROOT}" + doexe *.DLL libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord + if use usb; then + doexe usb/ctxusb usb/ctxusbd usb/ctx_usb_isactive + doins usb/*.DLL + insinto /etc/icaclient + doins usb/usb.conf + dosym ../../../etc/icaclient/usb.conf "${ICAROOT}"/usb.conf + insinto "${ICAROOT}" + fi + + # libwebrtc has a DT_RPATH problem + patchelf --set-rpath '$ORIGIN' lib/libwebrpc.so || die + + exeinto "${ICAROOT}"/lib + doexe lib/*.so + + for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do + insinto "${dest}" + doins nls/en.UTF-8/eula.txt + done + + insinto "${ICAROOT}"/config + doins config/* + mv "${ED}/${ICAROOT}"/config/module.ini "${ED}"/etc/icaclient/ || die + dosym ../../../../etc/icaclient/module.ini "${ICAROOT}"/config/module.ini + for tmpl in {appsrv,wfclient}.template ; do + newins nls/en/${tmpl} ${tmpl/template/ini} + done + touch "${ED}/${ICAROOT}"/config/.server || die + + insinto "${ICAROOT}"/gtk + doins gtk/* + + insinto "${ICAROOT}"/gtk/glade + doins gtk/glade/* + + insinto "${ICAROOT}"/site + doins -r site/* + + dodir "${ICAROOT}"/help + + insinto "${ICAROOT}"/config/usertemplate + doins config/usertemplate/* + + local lang LANGCODES=( en ) + use l10n_de && LANGCODES+=( de ) + use l10n_es && LANGCODES+=( es ) + use l10n_fr && LANGCODES+=( fr ) + use l10n_ja && LANGCODES+=( ja ) + use l10n_zh-CN && LANGCODES+=( zh_CN ) + + for lang in ${LANGCODES[@]} ; do + insinto "${ICAROOT}"/nls/${lang} + doins nls/${lang}/* + + insinto "${ICAROOT}"/nls/$lang/UTF-8 + doins nls/${lang}.UTF-8/* + + insinto "${ICAROOT}"/nls/${lang}/LC_MESSAGES + doins nls/${lang}/LC_MESSAGES/* + + insinto "${ICAROOT}"/nls/${lang} + dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8 + + for tmpl in {appsrv,wfclient}.template ; do + cp "${ED}/${ICAROOT}"/nls/${lang}/${tmpl} \ + "${ED}/${ICAROOT}"/nls/${lang}/${tmpl/template/ini} \ + || die + done + done + + insinto "${ICAROOT}"/nls + dosym en /opt/Citrix/ICAClient/nls/C + + insinto "${ICAROOT}"/icons + doins icons/* + + insinto "${ICAROOT}"/keyboard + doins keyboard/* + + cp -a util "${ED}/${ICAROOT}" || die + test -f util/HdxRtcEngine && fperms 0755 "${ICAROOT}"/util/HdxRtcEngine + + dosym ../../../../etc/ssl/certs "${ICAROOT}"/keystore/cacerts + insinto "${ICAROOT}"/keystore/intcerts + doins keystore/intcerts/* + + local other_files=( + icasessionmgr + NativeMessagingHost + UtilDaemon + ) + + exeinto "${ICAROOT}" + for bin in ${other_files[@]} ; do + doexe ${bin} + done + + # https://bugs.gentoo.org/655922 + dosym gst_play1.0 "${ICAROOT}"/util/gst_play + dosym gst_read1.0 "${ICAROOT}"/util/gst_read + dosym libgstflatstm1.0.so "${ICAROOT}"/util/libgstflatstm.so + + doenvd "${FILESDIR}"/10ICAClient + + for bin in configmgr conncenter new_store ; do + make_wrapper ${bin} "${ICAROOT}"/util/${bin} . "${ICAROOT}"/util + done + + for bin in selfservice wfica ; do + make_wrapper ${bin} "${ICAROOT}"/${bin} . "${ICAROOT}" + done + + dodir /etc/revdep-rebuild/ + echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" \ + > "${ED}"/etc/revdep-rebuild/70icaclient + + insinto "${ICAROOT}"/pkginf + newins "${WORKDIR}"/PkgId Ver.core."${ICAARCH}" + + # 651926 + domenu "${FILESDIR}"/*.desktop + + insinto /usr/share/mime/packages + doins desktop/Citrix-mime_types.xml +} + +pkg_preinst() { + # previous versions of the ebuild created that and left it around + # we own it now and avoid conflict warnings with this + rm -f "${ROOT}${ICAROOT}/config/module.ini" +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + + if ! use hdx; then + if [ -x "${ROOT}${ICAROOT}"/rtme/RTMEconfig ]; then + ewarn "Starting from 22.12.0.12 you have to set USE=hdx if you want" + ewarn "to use media-plugins/hdx-realtime-media-engine. Which does" + ewarn "not need to be explicitly installed anymore." + fi + fi + + if use usb; then + einfo + einfo "Add users of ${CATEGORY}/${PN} to group 'usb' for redirect to work" + einfo + fi +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/net-misc/icaclient/metadata.xml b/net-misc/icaclient/metadata.xml new file mode 100644 index 0000000..2e136fc --- /dev/null +++ b/net-misc/icaclient/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>amynka@gentoo.org</email> + </maintainer> + <use> + <flag name="hdx">Install and enable hdx-realtime-media-engine plugin</flag> + <flag name="usb">Allow connecting USB devices to virtual desktops</flag> + </use> +</pkgmetadata> |