You are not logged in.
Hello,
My workplace only supports a specific server version of Citrix.
https://aur.archlinux.org/cgit/aur.git/ … f4bc366bd9
I updated a while ago and cleared my cache without knowing the workplace upgraded the server version.
Consequently I cant easily downgrade the AUR package.
Normally I would happily read through all the documentation but because this is for my workplace I dont have the time.
As a workaround I've run Citrix as a debian package in a VM as its easier to downgrade to previous versions.
Steps I have tried:
1. Downloaded the previous package from AUR (aur-009b0b2740695bd96f1fdad7c413abf4bc366bd9)
2. Attempted to build using makepkg -si
3. this failed because I didnt have the tar.gz file which I downloaded and run again.
4. This then did build but didn't install the application. i.e. no executable files in opt and no desktop file created.
I'll post my PKGBUILD file shortly. Is there a obvious way to downgrade this? I dont have the hard drive space to keep a cache.
Many Thanks MartzMechanical.
Last edited by MartzMechanical (2024-08-22 08:19:28)
Offline
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: Moabeat <moabeat@berlin.de>
# Contributor: Eric Liu <eric@hnws.me>
# Contributor: Daniele Vazzola <daniele.vazzola@gmail.com>
# Contributor: Ciarán Coffey <ciaran@ccoffey.ie>
# Contributor: Matthew Gyurgyik <matthew@pyther.net>
# Contributor: Giorgio Azzinnaro <giorgio@azzinna.ro>
pkgname=icaclient
pkgver=23.11.0.82
pkgrel=1
pkgdesc="Citrix Workspace App (a.k.a. ICAClient, Citrix Receiver)"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url='https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html'
license=('custom:Citrix')
depends=('alsa-lib' 'curl' 'gst-plugins-base-libs' 'gtk2' 'libc++' 'libc++abi' 'libidn11'
'libjpeg6-turbo' 'libpng12' 'libsecret' 'libsoup' 'libvorbis' 'libxaw' 'libxp'
'openssl' 'speex' 'webkit2gtk')
optdepends=('xerces-c: gtk2 configuration manager'
'webkit2gtk: gtk2 selfservice/storefront ui'
'libc++: for HDXTeams')
conflicts=('bin32-citrix-client' 'citrix-client')
options=(!strip)
backup=("opt/Citrix/ICAClient/config/appsrv.ini" "opt/Citrix/ICAClient/config/wfclient.ini" "opt/Citrix/ICAClient/config/module.ini")
source=('citrix-configmgr.desktop'
'citrix-conncenter.desktop'
'citrix-wfica.desktop'
'citrix-workspace.desktop'
'wfica.sh'
'wfica_assoc.sh'
'icaclient-x64-23.11.0.82.tar.gz')
# Checksum values should be updated to match the actual checksum of your local file.
sha256sums=('643427b6e04fc47cd7d514af2c2349948d3b45f536c434ba8682dcb1d4314736'
'446bfe50e5e1cb027415b264a090cede1468dfbdc8b55e5ce14e9289b6134119'
'1dc6d6592fa08c44fb6a4efa0dc238e9e78352bb799ef2e1a92358b390868064'
'cdfb3a2ef3bf6b0dd9d17c7a279735db23bc54420f34bfd43606830557a922fe'
'fe0b92bb9bfa32010fe304da5427d9ca106e968bad0e62a5a569e3323a57443f'
'a3bd74aaf19123cc550cde71b5870d7dacf9883b7e7a85c90e03b508426c16c4'
'd3dde64baa6db7675a025eff546d552544d3523f4f3047621884f7830a9e2822')
sha256sums_x86_64=('your_local_file_checksum_here')
sha256sums_i686=('65b8c144e51b5bd78b98ae69e0fa76d6c020a857d74fd5254be49492527072b6')
sha256sums_armv7h=('8a512a9f3a2c03e1c52549af3aedbe03cef6388da75e685a8f9d8bda161140ab')
sha256sums_aarch64=('ab0473263d1922f0e7ed858f44c00acca9aa870cb603f54933d3361799cda4f7')
install=citrix-client.install
package() {
cd "${srcdir}"
ICAROOT=/opt/Citrix/ICAClient
if [[ $CARCH == 'i686' ]]
then
ICADIR="$srcdir/linuxx86/linuxx86.cor"
PKGINF="Ver.core.linuxx86"
elif [[ $CARCH == 'x86_64' ]]
then
ICADIR="$srcdir/linuxx64/linuxx64.cor"
PKGINF="Ver.core.linuxx64"
elif [[ $CARCH == 'armv7h' ]]
then
ICADIR="$srcdir/linuxarmhf/linuxarmhf.cor"
PKGINF="Ver.core.linuxarmhf"
elif [[ $CARCH == 'aarch64' ]]
then
ICADIR="$srcdir/linuxarm64/linuxarm64.cor"
PKGINF="Ver.core.linuxarm64"
fi
mkdir -p "${pkgdir}$ICAROOT"
cd "$ICADIR"
install -m755 -t "${pkgdir}$ICAROOT" \
*.so *.DLL \
adapter AuthManagerDaemon icasessionmgr NativeMessagingHost \
PrimaryAuthManager ServiceRecord selfservice UtilDaemon wfica
# copy common directories
cp -rt "${pkgdir}$ICAROOT" aml clsync config gtk help icons keyboard keystore lib nls site usb util
# copy x86_64 only directories
if [[ $CARCH == 'x86_64' ]]
then
cp -rt "${pkgdir}$ICAROOT" bcr ceb
fi
# fix permissions
chmod -R a+r "${pkgdir}$ICAROOT"
rm "${pkgdir}$ICAROOT/lib/UIDialogLibWebKit.so"
# Install License
install -m644 -D -t "${pkgdir}$ICAROOT" nls/en.UTF-8/eula.txt
# Install Version
install -m644 -D "${srcdir}/PkgId" "${pkgdir}$ICAROOT/pkginf/$PKGINF"
# create /config/.server to enable user customization using ~/.ICACLient/ overrides. Thanks Tomek
touch "${pkgdir}$ICAROOT/config/.server"
# Install wrapper script
install -m755 "${srcdir}/wfica.sh" "${pkgdir}$ICAROOT/wfica.sh"
ln -s gst_play1.0 "${pkgdir}/$ICAROOT/util/gst_play"
ln -s gst_read1.0 "${pkgdir}/$ICAROOT/util/gst_read"
# Dirty Hack
# wfica expects {module,wfclient,apssrv}.ini in $ICAROOT/config
# sadly these configs differ slightly by locale
lang=${LANG%%_*}
lang=${lang:-'en'}
[[ -d "${pkgdir}/$ICAROOT/nls/$lang" ]] || lang='en'
cp "${pkgdir}$ICAROOT/nls/$lang/module.ini" "${pkgdir}/$ICAROOT/config/"
cp "${pkgdir}$ICAROOT/nls/$lang/appsrv.template" "${pkgdir}/$ICAROOT/config/appsrv.ini"
cp "${pkgdir}$ICAROOT/nls/$lang/wfclient.template" "${pkgdir}/$ICAROOT/config/wfclient.ini"
sed -i \
-e 's/Ceip=Enable/Ceip=Disable/' \
-e 's/DisableHeartBeat=False/DisableHeartBeat=True/' \
"${pkgdir}$ICAROOT/config/module.ini"
cd "${srcdir}"
# install freedesktop.org files
install -Dm644 -t "$pkgdir"/usr/share/applications citrix-{configmgr,conncenter,workspace,wfica}.desktop
# install scripts
install -Dm755 -t "${pkgdir}$ICAROOT" wfica.sh wfica_assoc.sh
chmod +x "${pkgdir}$ICAROOT"/util/{ctx_app_bind,ctxcwalogd,icalicense.sh,setlog}
if [ $CARCH != 'armv7h' ] && [ $CARCH != 'aarch64' ]
then
chmod +x "${pkgdir}$ICAROOT"/util/HdxRtcEngine
fi
}
Last edited by MartzMechanical (2024-08-22 08:45:06)
Offline
Please edit your post to use code tags.
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Done
Offline
run makepkg -s --log
and post the contents of the logs it creates .
Note that they may be large , consider using a pastebin service .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
run makepkg -s --log
and post the contents of the logs it creates .Note that they may be large , consider using a pastebin service .
It errored initially saying the package is already built when I used that command so I specified the -F command:
[1m[32m==>(B[m[1m Making package: icaclient 23.11.0.82-1 (Thu 22 Aug 2024 10:05:01 BST)(B[m
[1m[32m==>(B[m[1m Checking runtime dependencies...(B[m
[1m[32m==>(B[m[1m Checking buildtime dependencies...(B[m
[1m[32m==>(B[m[1m Retrieving sources...(B[m
[1m[34m ->(B[m[1m Found citrix-configmgr.desktop(B[m
[1m[34m ->(B[m[1m Found citrix-conncenter.desktop(B[m
[1m[34m ->(B[m[1m Found citrix-wfica.desktop(B[m
[1m[34m ->(B[m[1m Found citrix-workspace.desktop(B[m
[1m[34m ->(B[m[1m Found wfica.sh(B[m
[1m[34m ->(B[m[1m Found wfica_assoc.sh(B[m
[1m[34m ->(B[m[1m Found icaclient-x64-23.11.0.82.tar.gz(B[m
[1m[32m==>(B[m[1m Validating source files with sha256sums...(B[m
Terminal output:
makepkg -s -f --log >> ZZ.txt
citrix-configmgr.desktop ... Passed
citrix-conncenter.desktop ... Passed
citrix-wfica.desktop ... Passed
citrix-workspace.desktop ... FAILED
wfica.sh ... Passed
wfica_assoc.sh ... Passed
icaclient-x64-23.11.0.82.tar.gz ... Passed
==> ERROR: One or more files did not pass the validity check!
contents of cistruc-workspace.desktop:
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Citrix Workspace
Categories=Application;Network;X-Red-Hat-Base;X-SuSE-Core-Internet;
Icon=/opt/Citrix/ICAClient/icons/manager.png
TryExec=/opt/Citrix/ICAClient/selfservice
Exec=/opt/Citrix/ICAClient/selfservice --icaroot /opt/Citrix/ICAClient
Offline
Don't redirect the output, --log creates several plain text files that are very complete .
run makepkg --geninteg so makepkg will generate the correct checksum for the file you downloaded.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I ran makepkg --geninteg but that still didnt work.
I re-ran the makepkg -s --log but I cant see any obvious logs where can I find them?
Offline
They are stored in the directory you run makepkg from . If there aren't any that suggests the build doesn't reach the point where they are created .
I suspect the icaclient tar.gz you use is not publicly available for download ?
The integrity check of makepkg can be disabled by a cli parameter, check man makepkg .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
They are stored in the directory you run makepkg from . If there aren't any that suggests the build doesn't reach the point where they are created .
I suspect the icaclient tar.gz you use is not publicly available for download ?
The integrity check of makepkg can be disabled by a cli parameter, check man makepkg .
Used makepkg -si --skipinteg but still not working.
If you were to do this, how would you go about it?
Perhaps there is a step I missed and re-downloading would work?
Citrix renamed the .tar.gz files on their websites for the earlier version. I downloaded it and renamed it back to the file the PKGBUILD file was expecting. Maybe thats the issue, same version though.
Offline
It appears icaclient is publicly available at https://www.citrix.com/downloads/worksp … est10.html
looking into it now.
Added
Download and extract https://aur.archlinux.org/cgit/aur.git/ … bd9.tar.gz to ensure you have the right version of all files .
rename linuxx64-23.11.0.82.tar.gz to icaclient-x64-23.11.0.82.tar.gz
Don't make changes to the PKGBUILD .
building with makepkg gave "libfakeroot internal error: payload not recognized!" during compressing man & info pages .
Building in a clean chroot did not have this.
Last edited by Lone_Wolf (2024-08-22 10:41:03)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I will give that a go this evening and post back here - thankyou to everyone for your help.
I was fully expecting a RTFM post but I did a while ago and couldnt see anything obvious.
I might automate a local repo for the last version then backup and clean from local system going forwards.
Offline
It appears icaclient is publicly available at https://www.citrix.com/downloads/worksp … est10.html
looking into it now.
Added
Download and extract https://aur.archlinux.org/cgit/aur.git/ … bd9.tar.gz to ensure you have the right version of all files .
rename linuxx64-23.11.0.82.tar.gz to icaclient-x64-23.11.0.82.tar.gz
Don't make changes to the PKGBUILD .
building with makepkg gave "libfakeroot internal error: payload not recognized!" during compressing man & info pages .
Building in a clean chroot did not have this.
Ok did all of that with:
makepkg -si --skipinteg
but issue remains
Offline
Then probably something in your system interferes .
Use the link I posted in #11 to setup clean chroot building and try to build that way.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Then probably something in your system interferes .
Use the link I posted in #11 to setup clean chroot building and try to build that way.
Aim was to try and get it working on my desktop machine so I can then set it up on a very old laptop which runs arch.
So I'll try using the steps you recommended there on my laptop later on this evening and see if that works.
Will know then if its something on my desktop.
I've used chroot before but not sure how it will affect the rest of my system.
Last edited by MartzMechanical (2024-08-22 12:16:50)
Offline
Apart from taking up diskspace (under /var if you use devtools) and (while building) cpu/memory it shouldn't affect your system.
Once the package is succesfully built you can install it on any x86_64 machine.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
it built successfully on the laptop thanks for everyone support and patience
Offline
If you're satisfied with the outcome, please prepend [Solved} to the thread title (edit first post) .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline