summaryrefslogtreecommitdiff
path: root/net-misc/icaclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-03 21:32:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-03 21:32:31 +0100
commit5043a584ce7a3eb644e68694a3266c1a5d2ccba5 (patch)
tree2401f70bb9284c4237ee848dcb65c610db18a643 /net-misc/icaclient
parentc1503bdaa031111d22d91db2f41dad440fb148e8 (diff)
gentoo auto-resync : 03:06:2023 - 21:32:31
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r--net-misc/icaclient/Manifest3
-rw-r--r--net-misc/icaclient/icaclient-23.5.0.58.ebuild311
2 files changed, 314 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest
index 467f8d43bea0..b7e661b5edee 100644
--- a/net-misc/icaclient/Manifest
+++ b/net-misc/icaclient/Manifest
@@ -7,8 +7,11 @@ AUX selfservice.desktop 183 BLAKE2B 45d0830601ceac5159e239ec149cf3cdeabd43beb2ad
AUX wfica.desktop 242 BLAKE2B 6e90bb02824a6319035814050919c55907b2104c65e2abcc7379a4c694a585945c2e10ada114c4dfb906ee3b1fa90a0251dcb1ec3aac1fb6015a2d2ecbef4452 SHA512 a233bbdfadaee080d8dda67ed81a60ef74902c1f2100cb08bc402186be23f1bbb82f84abb93da88d610d187a267f7db28e6bfebe689839c921ae5a94a4bdf1d7
DIST linuxx64-23.2.0.10.tar.gz 165430863 BLAKE2B 92e3eb397691c938768c4893ebbbef48cccbaf120de40956f3883fff76ac770fe55f3e99b397634776626d76962a18a8ce0a4814f5b8a52f39a3910e4cc764ae SHA512 9eaff591e14df82a05d5c8aa4b1ec763495671a5b46476b0d722ec0893939be99d99cf820432f27293b5d8c482544397562f8ab5be210b648d278a73cc65fb0a
DIST linuxx64-23.3.0.32.tar.gz 281196971 BLAKE2B bcdf0303ba9e354e6359b3b50f2cbd74381a4976cc80abf7caa40e4da764775a89c83a73454351bc31f2e20cfe823fb5efaa15d0554fbdb72d6aa298f5b9f590 SHA512 ab75d9c959613584e05fff629db8951cd9777480ba1dc52f78ef99ff376dc563075d137454c9f8dacdfcb497abc59bce0d7e72541a690ce8df891e50696bf830
+DIST linuxx64-23.5.0.58.tar.gz 449048746 BLAKE2B d0a70dbb29addc5da8f4ca32582eb210ef56cbbab21efa61ea19ae45ae12fcc59b080f0f30fdc5d1ed02169b5084a49ca265f7bfa9dde813809847f06b319046 SHA512 f695a4fed73b6bff30eb16f8c159799c7a7b4c17f088959f24c17fc4a51208c1354c19df1e22b9b975f8fcb13f6775ea1dca15dd149ea186d8aeee47f3830441
DIST linuxx86-23.2.0.10.tar.gz 147975174 BLAKE2B 20ef9c6059b39c79deb5098c4f8ba02bb82fee9c4eb06eab8fb5f49c450a87a1374febc044b8130a8cd5112b4bbdaa45dabb8e14fe009be4016cdbf5864b2803 SHA512 f2cebaeaadd53e0431de0455b24a0dc6063eea3586cf1b696c33849ee51623a11add431c11b9bf91b8228ecf4c49d157781643debd1248cf6cd88b974844201a
DIST linuxx86-23.3.0.32.tar.gz 239477961 BLAKE2B e0d4518ea99b95e67f94fd810c70da1509fe511c5248417925034b48f77a5a9088556d57904d73930daad2960622f22851bd4e3ed3cd6c1524b5c59bab83367c SHA512 948634578fcfefa36957fba2240c0ebf6ddc4288d3308dc0234f7d816a2b20e080bf6e3a688b105b4593fc1833dd3846cce30a561c364d6ed0a9495f8f03f7b0
+DIST linuxx86-23.5.0.58.tar.gz 152642143 BLAKE2B 8ea722aecfb7e6588701646ed5dec1d1591a8c36986fda25c85ece50313cd1eddefb22ae58be8f1ea2edbfdf9fa725e73182f0745b0494df890008d65065ed08 SHA512 8cad203451b26920d66fb3b1bb794d74f8ab76dd24d76408f51d60278786b59fe2d83f0e6c4a2eb6741a4e1d534b9739513224e0f27ba903a9266f81e439a51f
EBUILD icaclient-23.2.0.10-r1.ebuild 6210 BLAKE2B 34ee22be79050c40c9bd00c85ba06dd9f7a13c6a03ed597f164fa0be42496ce74be4cb7e45282ccaabe64febae7d21d95855330f93142a3a501ee04c51f1bdeb SHA512 3ab0182bce2ce8a2e54c6501096d14cb210c05d4d3b1b3f576fa6b5824c895fb756b9acc585f11710a40aca101f791bfc80e0c4db9434b4b9b9d97d06da4d116
EBUILD icaclient-23.3.0.32-r1.ebuild 7197 BLAKE2B 198710d768d134ea693667429770f8ae0b958e0e6ced631400bcf27b85bf197a2fa9b27455223db0f446d9d3ca8c1c08be2e42c5cf78e6cc05a89c70de222eb5 SHA512 181053fb871447a834b00a19c57b61f3f6fd9f4441ad5d0ed0e12eb373d817c204aa84fbfeb9ee2cdd4467978b93f4ccb6e33f79ef074640e981df9d565af3a3
+EBUILD icaclient-23.5.0.58.ebuild 7266 BLAKE2B e17e040a61bb53e95f81c7f206f553e01ca2888a8752efd512d11e673d166a875b57af29d5e02baf2aee35a12ce6a61c99b870b728011dbde26bd0faf8214f35 SHA512 b3b538c125466ddd9bf43bff93d83a544f47903aa905b6ef132fee37b996704adff1dbf41efee15c86f1c97682e6da97fd28fdfe577fa8cce9e078f1b57480a2
MISC metadata.xml 564 BLAKE2B df856bf3af610f637dc7a12a52c92019112ec6adbd18a9762b8d0059169cf3de7d6b2377a7c3320c33b92915db83732a23104869f5e51c3e2c0e43a0cc19b436 SHA512 089cf367029e682e406034aa6d7a1b58fd656d63655fb6dd30c92b041a02fa5a093a77408c28bbaf156a3ccee9bdc2a5283908d51aab1d8494685854877aa5e6
diff --git a/net-misc/icaclient/icaclient-23.5.0.58.ebuild b/net-misc/icaclient/icaclient-23.5.0.58.ebuild
new file mode 100644
index 000000000000..7655fd5e2e1a
--- /dev/null
+++ b/net-misc/icaclient/icaclient-23.5.0.58.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="amd64? ( linuxx64-${PV}.tar.gz )
+ x86? ( linuxx86-${PV}.tar.gz )"
+
+LICENSE="icaclient"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+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 wouls 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 )
+"
+DEPENDS=""
+
+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
+ ;;
+ x86)
+ ICAARCH=linuxx86
+ ;;
+ *)
+ 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
+
+ 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
+}