passthru.icaroot used an output placeholder outside a derivation string
context, so module consumers received an unresolved path. Define the
derivation with finalAttrs, then derive icaroot from finalPackage to
expose the actual store path.
hinst registers Citrix-mime_types.xml and the Citrix-Receiver icon via
xdg tooling; without them the application/x-ica and
application/vnd.citrix.receiver.configure types are undefined and the
desktop entries reference a missing icon. Install both into share/, and
copy only *.desktop into share/applications so the MIME XML no longer
lands there.
hinst writes an FHS wfica.sh launcher even on non-root installs; it
hardcodes /opt/Citrix paths and carries none of the wrapper environment,
so it is dead weight in the store.
gtk2, gtk2-x11, gtk_engines, gnome2.gtkglext, libpng12 and x264 are
leftovers from the era of bundling Citrix's WebKitGTK 4.0; no ELF in the
26.04 payload links any of them.
Suppresses the warning
pattern Exec=/usr/lib/cider/Cider doesn't match anything in file
Use an absolute path as Exec replacement.
Be strict and fail the build on error.
Cider 4 throws a warning on startup:
(cider-2:915399): GLib-GIO-CRITICAL **:
g_settings_schema_source_lookup: assertion 'source != NULL' failed
wrapGAppsHook3[1] solves the problem transparently by prepending
- prepending gtk3 + gsettings-desktop-schemas to XDG_DATA_DIRS
- prepending dconf libs to GIO_EXTRA_MODULES
- setting the path to GTK's pixbuf loader cache as GDK_PIXBUF_MODULE_FILE
We emulate its behavior manually here to avoid a double-wrapping of the
cider-2 executable. (strace reveals that all these paths are effectively
opened on startup.)
[1]: https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-hooks
Cider 4 is a Widevine capable build; it does not need WidevineCdm to be
symlinked. Cider fetches it from Google's CDN either way, and playback
works out of the box.
The asar extract/repack is a left over from commit 4d94729 which was
mistakenly left behind in commit 99eafc4; it is now a no-op.
I have effectively renounced on maintaining all these packages and I do
not plan to return them except if I'm forced to.
I am also fine with most of these packages being dropped for next
releases if no maintainer shows up.
Change-Id: I8d167c8029b6991181bd7a094af21c3313af2b51
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Install the man page and shell completions.
Additional cleanup:
Remove less and ncurses from PATH. Upstream switched to a native
comments viewer which does not depend on either. See commits [0]
56d20830bb and [1] 59d0206652 respectively.
Skip building the 'gen-completions' package used for generating shell
completions. These are part of the source tree under share/ and can be
installed from there. This was, funnily enough, polluting the user
environment with a binary of the same name.
[0]: https://github.com/bensadeh/circumflex/commit/56d20830bb
[1]: https://github.com/bensadeh/circumflex/commit/59d0206652