public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/icaclient/
Date: Fri, 15 Jul 2022 01:47:20 +0000 (UTC)	[thread overview]
Message-ID: <1657849386.f0c7f29e5aefe90c8526c56c5102b55d036b5a14.sam@gentoo> (raw)

commit:     f0c7f29e5aefe90c8526c56c5102b55d036b5a14
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Thu Jul  7 13:46:59 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 01:43:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c7f29e

net-misc/icaclient: Bump to version 22.7.0.20

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/26200
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/icaclient/Manifest                   |   2 +
 net-misc/icaclient/icaclient-22.7.0.20.ebuild | 265 ++++++++++++++++++++++++++
 2 files changed, 267 insertions(+)

diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest
index 32cc32943b9e..3afaf2dbb664 100644
--- a/net-misc/icaclient/Manifest
+++ b/net-misc/icaclient/Manifest
@@ -1,2 +1,4 @@
 DIST linuxx64-22.5.0.16.tar.gz 162733197 BLAKE2B 32b4fd64d6bccf8a3be92e8f8ee59059839f31f4f771a6344fea320d2b635174c31c9e8d572a700568bab6032352fe72657dce1ee752327ed856370fa86acf9a SHA512 796ecbccc60995baae2082b5b275d7bf1482b19aed198de6d9f4083b2a3a68ff2fe73dfd1d3d33f0f885a157a77f20de008635eade36d5f9adff6b662aaefc1b
+DIST linuxx64-22.7.0.20.tar.gz 161763935 BLAKE2B db384c4bd1d94ca64126c4a2e418b087063d3d80630855fe0887ce093979b5b81710521b9ee99048fc060838efa1253de3ffd575cda5bd1100375fa1dbc3dffe SHA512 5407deff6fc2fa94912899f7c6afd017775cc43feb76814b35238533280bb42cf1ff89f43c69f2792d54ebedff797afe7661317965ce80428dc2b1d791586a77
 DIST linuxx86-22.5.0.16.tar.gz 144032901 BLAKE2B 0f58adf7645eaba6ad75e126381ecfecf7434130b0e69bed75a0499386c5301475a48e414ce57aebdfeaea0cb6615ae93b48ecfdd0149851a56459d687d75bb7 SHA512 b94a3de41118d08f3ff549de33e80a85198a3db1349177cc5c921cdd45f1d5bb7e1ee338067602725a9bed16619216f552f98314d539915a251f020094ae3121
+DIST linuxx86-22.7.0.20.tar.gz 143467730 BLAKE2B 6c913e44847a1114e8517a259fbfb6e04734d864e10ac14a074df5a6c55d908cfe1f3e6f074abf9b1dda43f9be8a1a718422ae7f792184f7e04fd91262daa347 SHA512 d5a138aa921d1106fb2808ca8bba3dc0d963dfecff439178fcb7fb3881dcce4cb9d6c5bed61d7b4d5e97a31616225bf88bf557e5711be2ab0e684324ea9c9194

diff --git a/net-misc/icaclient/icaclient-22.7.0.20.ebuild b/net-misc/icaclient/icaclient-22.7.0.20.ebuild
new file mode 100644
index 000000000000..ec68f7f21df3
--- /dev/null
+++ b/net-misc/icaclient/icaclient-22.7.0.20.ebuild
@@ -0,0 +1,265 @@
+# Copyright 1999-2022 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"
+RESTRICT="mirror strip userpriv fetch"
+
+ICAROOT="/opt/Citrix/ICAClient"
+
+QA_PREBUILT="${ICAROOT#/}/*"
+
+RDEPEND="
+	app-crypt/libsecret
+	dev-libs/atk
+	dev-libs/glib:2
+	dev-libs/libxml2
+	media-fonts/font-adobe-100dpi
+	media-fonts/font-misc-misc
+	media-fonts/font-cursor-misc
+	media-fonts/font-xfree86-type1
+	media-fonts/font-misc-ethiopic
+	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/libvorbis
+	media-libs/speex
+	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/jpeg:0
+	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
+"
+DEPEND=""
+
+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}"
+}
+
+src_prepare() {
+	default
+	rm lib/UIDialogLibWebKit.so || die
+
+	# We need to avoid module.ini file getting added to the package's
+	# content because media-plugins/hdx-realtime-media-engine modifies
+	# this file on installation. See pkg_postinst()
+	mv nls/en/module.ini "${T}" || die
+}
+
+src_install() {
+	local bin tmpl dest
+
+	dodir "${ICAROOT}"
+
+	exeinto "${ICAROOT}"
+	doexe *.DLL libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord
+
+	exeinto "${ICAROOT}"/lib
+	if use amd64 ; then
+		rm lib/ctxjpeg_fb_8.so || die
+	fi
+	doexe lib/*.so
+
+	for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do
+		insinto "${dest}"
+		doins nls/en.UTF-8/eula.txt
+	done
+
+	insinto "${ICAROOT}"
+	doins -r usb
+
+	insinto "${ICAROOT}"/config
+	# nls/en/*.ini is being handled by pkg_postinst()
+	doins config/* config/.*
+	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/*
+
+	rm -r "${S}"/keystore/cacerts || die
+	dosym ../../../../etc/ssl/certs "${ICAROOT}"/keystore/cacerts
+
+	local util_files=(
+		HdxRtcEngine
+		configmgr
+		conncenter
+		ctx_app_bind
+		ctx_rehash
+		ctxlogd
+		ctxwebhelper
+		echo_cmd
+		gst_play1.0
+		gst_read1.0
+		hdxcheck.sh
+		icalicense.sh
+		libgstflatstm1.0.so
+		lurdump
+		new_store
+		nslaunch
+		setlog
+		storebrowse
+		sunraymac.sh
+		webcontainer
+		what
+		xcapture
+	)
+
+	exeinto "${ICAROOT}"/util
+	for bin in ${util_files[@]} ; do
+		doexe util/${bin}
+	done
+
+	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
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+
+	local inidest="${ROOT}${ICAROOT}/config"
+	if [[ ! -e "${inidest}"/module.ini ]] ; then
+		mv "${T}"/module.ini "${inidest}/" \
+			|| ewarn 'Failed to install plugin.ini file'
+	fi
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}


             reply	other threads:[~2022-07-15  1:47 UTC|newest]

Thread overview: 151+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15  1:47 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-27 19:43 [gentoo-commits] repo/gentoo:master commit in: net-misc/icaclient/ Arthur Zamarin
2023-09-19 17:30 Sam James
2023-07-27  6:34 Amy Liffey
2023-07-27  6:34 Amy Liffey
2023-07-26  8:00 Joonas Niilola
2023-06-11  8:22 Joonas Niilola
2023-06-03 16:24 Joonas Niilola
2023-06-03 16:24 Joonas Niilola
2023-04-20 13:16 Sam James
2023-04-15 12:43 Joonas Niilola
2023-04-15 12:43 Joonas Niilola
2023-03-07  9:09 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-02-06  7:59 Joonas Niilola
2023-02-06  7:59 Joonas Niilola
2023-01-15 11:16 Viorel Munteanu
2023-01-04  5:50 Sam James
2022-11-28  7:05 Joonas Niilola
2022-11-28  7:05 Joonas Niilola
2022-11-10 17:07 Joonas Niilola
2022-11-10 16:15 Joonas Niilola
2022-10-14 13:00 Joonas Niilola
2022-10-14 13:00 Joonas Niilola
2022-10-14 13:00 Joonas Niilola
2022-10-14 13:00 Joonas Niilola
2022-10-14 13:00 Joonas Niilola
2022-07-19 21:00 Conrad Kostecki
2022-07-15  1:47 Sam James
2022-07-15  1:47 Sam James
2022-07-15  1:47 Sam James
2022-06-30 21:41 Sam James
2022-05-17  9:31 Lars Wendler
2022-05-17  9:31 Lars Wendler
2022-05-13  8:40 Lars Wendler
2022-05-13  8:40 Lars Wendler
2022-05-13  8:40 Lars Wendler
2022-05-12 16:42 Lars Wendler
2022-03-29  6:33 Lars Wendler
2021-10-04 11:01 Lars Wendler
2021-10-04 11:01 Lars Wendler
2021-10-04 11:01 Lars Wendler
2021-08-19 13:05 Lars Wendler
2021-08-19 13:05 Lars Wendler
2021-08-19 13:05 Lars Wendler
2021-07-02 10:51 Lars Wendler
2021-07-02 10:10 Lars Wendler
2021-07-02 10:10 Lars Wendler
2021-07-02 10:10 Lars Wendler
2021-04-30  1:03 Lars Wendler
2021-04-30  1:03 Lars Wendler
2021-04-30  1:03 Lars Wendler
2021-04-16 10:25 David Seifert
2021-03-12 15:22 Lars Wendler
2021-03-12 15:22 Lars Wendler
2021-03-12 15:22 Lars Wendler
2021-01-31 20:36 Lars Wendler
2021-01-31 20:36 Lars Wendler
2021-01-31 20:36 Lars Wendler
2021-01-22 10:47 Lars Wendler
2021-01-16 11:53 Lars Wendler
2021-01-15 14:48 Lars Wendler
2021-01-15 14:48 Lars Wendler
2021-01-15 14:48 Lars Wendler
2020-11-08 11:03 Lars Wendler
2020-11-08 11:03 Lars Wendler
2020-11-05 11:45 Lars Wendler
2020-11-03 12:37 Lars Wendler
2020-11-03 12:37 Lars Wendler
2020-11-03 12:37 Lars Wendler
2020-11-03 12:37 Lars Wendler
2020-11-03 12:37 Lars Wendler
2020-09-16 14:20 Lars Wendler
2020-09-16 14:20 Lars Wendler
2020-09-16 14:20 Lars Wendler
2020-07-02  7:21 Lars Wendler
2020-07-02  7:21 Lars Wendler
2020-07-02  7:21 Lars Wendler
2020-04-27 11:57 Lars Wendler
2020-04-27 11:57 Lars Wendler
2020-04-27 11:57 Lars Wendler
2020-01-31  8:19 Michał Górny
2019-12-16 14:07 Lars Wendler
2019-12-16 14:07 Lars Wendler
2019-12-16 14:01 Lars Wendler
2019-11-11  9:51 Lars Wendler
2019-10-17 12:14 Lars Wendler
2019-10-17 12:14 Lars Wendler
2019-10-17 12:14 Lars Wendler
2019-09-04  8:23 Lars Wendler
2019-09-04  8:23 Lars Wendler
2019-09-04  8:23 Lars Wendler
2019-07-13 17:58 Lars Wendler
2019-07-13 17:58 Lars Wendler
2019-07-05  8:52 Lars Wendler
2019-07-04  7:43 Lars Wendler
2019-07-04  7:43 Lars Wendler
2019-07-04  7:43 Lars Wendler
2019-03-30 11:40 Lars Wendler
2019-03-30 11:40 Lars Wendler
2019-03-30 11:40 Lars Wendler
2019-03-20 13:25 Ben Kohler
2019-02-14 13:48 Lars Wendler
2019-02-14 13:48 Lars Wendler
2019-02-14 13:48 Lars Wendler
2018-12-07 13:08 Lars Wendler
2018-11-24 16:48 Lars Wendler
2018-11-23 21:18 Lars Wendler
2018-11-23 21:18 Lars Wendler
2018-11-23 21:18 Lars Wendler
2018-07-05 16:40 Lars Wendler
2018-06-25 13:51 Lars Wendler
2018-06-11 16:28 Aaron Bauman
2018-03-07 12:01 Lars Wendler
2018-01-29 10:03 Lars Wendler
2018-01-29 10:03 Lars Wendler
2018-01-06 10:28 Lars Wendler
2018-01-04 12:00 Lars Wendler
2018-01-02  8:06 Lars Wendler
2018-01-02  8:06 Lars Wendler
2018-01-02  8:06 Lars Wendler
2018-01-02  8:06 Lars Wendler
2017-12-10 15:03 Ulrich Müller
2017-10-04  8:46 Lars Wendler
2017-10-04  8:46 Lars Wendler
2017-10-04  8:46 Lars Wendler
2017-08-12  8:11 Lars Wendler
2017-08-11 17:21 Lars Wendler
2017-07-25  7:20 Lars Wendler
2017-07-25  7:20 Lars Wendler
2017-07-25  7:20 Lars Wendler
2017-03-30 11:30 Lars Wendler
2017-02-17 17:17 Lars Wendler
2017-01-01 11:34 Agostino Sarubbo
2017-01-01 11:33 Agostino Sarubbo
2016-11-27 16:26 Lars Wendler
2016-10-07 19:59 Lars Wendler
2016-10-07 15:00 Lars Wendler
2016-05-31 12:23 Lars Wendler
2016-05-28  9:32 Pacho Ramos
2016-05-28  9:32 Pacho Ramos
2016-04-25 12:30 Lars Wendler
2016-04-25 12:30 Lars Wendler
2016-02-06 10:16 Patrice Clement
2016-02-06 10:16 Patrice Clement
2016-02-06 10:16 Patrice Clement
2016-01-04 16:22 Lars Wendler
2015-12-06 21:55 Michał Górny
2015-09-18 11:47 Lars Wendler
2015-08-27  5:31 Lars Wendler
2015-08-25 20:04 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1657849386.f0c7f29e5aefe90c8526c56c5102b55d036b5a14.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox