Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
signal-desktop: 1.18.1 -> 1.19.0
Browse files Browse the repository at this point in the history
A new dependency (at-spi2-atk) is required for libatk-bridge-2.0.so.

Also libstdc++.so.6 is now required from stdenv.cc.cc.lib (stdenv.cc.cc
doesn't offer it). The binary will only find libstdc++.so.6 via
$LD_LIBRARY_PATH (i.e. not via rpath, the run-time search path).
  • Loading branch information
primeos committed Dec 12, 2018
1 parent 34f0481 commit e01209f
Showing 1 changed file with 5 additions and 4 deletions.
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, dpkg, wrapGAppsHook
, gnome2, gtk3, atk, cairo, pango, gdk_pixbuf, glib, freetype, fontconfig
, gnome2, gtk3, atk, at-spi2-atk, cairo, pango, gdk_pixbuf, glib, freetype, fontconfig
, dbus, libX11, xorg, libXi, libXcursor, libXdamage, libXrandr, libXcomposite
, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss, nspr, alsaLib
, cups, expat, udev, libnotify
Expand All @@ -24,6 +24,7 @@ let
rpath = lib.makeLibraryPath [
alsaLib
atk
at-spi2-atk
cairo
cups
dbus
Expand All @@ -49,18 +50,17 @@ let
libXtst
nspr
nss
stdenv.cc.cc
udev
xorg.libxcb
];

in stdenv.mkDerivation rec {
name = "signal-desktop-${version}";
version = "1.18.1";
version = "1.19.0";

src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
sha256 = "1gak6nhv5gk37iv1bfmjx6wf0p1vcln5y29i6fkzmvcrp3j2cmfh";
sha256 = "19a585mylbwrxd2m75hgp77ys1r350xkvawq2ysp0cxzr04l46z7";
};

phases = [ "unpackPhase" "installPhase" ];
Expand All @@ -84,6 +84,7 @@ in stdenv.mkDerivation rec {
--set-rpath ${rpath}:$out/libexec $out/libexec/signal-desktop
wrapProgram $out/libexec/signal-desktop \
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
--prefix LD_LIBRARY_PATH : "${stdenv.cc.cc.lib}/lib" \
${customLanguageWrapperArgs} \
"''${gappsWrapperArgs[@]}"
Expand Down

0 comments on commit e01209f

Please sign in to comment.