Search Criteria
Package Details: signal-desktop-beta 7.52.0beta1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/signal-desktop-beta.git (read-only, click to copy) |
---|---|
Package Base: | signal-desktop-beta |
Description: | Signal Private Messenger for Linux - Beta version. |
Upstream URL: | https://signal.org |
Keywords: | secure-messenger signal signal-desktop |
Licenses: | GPL3 |
Conflicts: | signal-desktop-beta-bin |
Submitter: | Edu4rdSHL |
Maintainer: | Edu4rdSHL |
Last Packager: | Edu4rdSHL |
Votes: | 16 |
Popularity: | 0.44 |
First Submitted: | 2020-08-17 19:09 (UTC) |
Last Updated: | 2025-04-19 00:51 (UTC) |
Dependencies (33)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classicAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libasound.so (alsa-lib, lib32-alsa-lib)
- libatk-bridge-2.0.so (at-spi2-core-gitAUR, at-spi2-core, lib32-at-spi2-core)
- libcairo.so (cairo-gitAUR, cairo, lib32-cairo)
- libcups (libcups-gitAUR, cups-gitAUR, libcups-gssapiAUR)
- libdbus-1.so (dbus-gitAUR, libdbus-minimalAUR, dbus-selinuxAUR, dbus, lib32-dbus)
- libdrm (libdrm-gitAUR)
- libexpat.so (expat-gitAUR, expat, lib32-expat)
- libgio-2.0.so (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR, glib2, lib32-glib2)
- libpango-1.0.so (pango-gitAUR, lib32-pango, pango)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxdamage
- libxext (libxext-gitAUR)
- libxfixes
- libxkbcommon.so (libxkbcommon-gitAUR, lib32-libxkbcommon, libxkbcommon)
- libxrandr (libxrandr-gitAUR)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber)
- nspr (nspr-hgAUR)
- nss (nss-hgAUR)
- fpmAUR (fpm-gitAUR) (make, aarch64)
- git (git-gitAUR, git-glAUR) (make)
- git-lfs (git-lfs-gitAUR) (make)
- libxcrypt-compat (make)
- node-gyp (corepackerAUR) (make)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-iron, nodejs-lts-jod) (make)
- pnpm (yarn-pnpm-corepackAUR, corepackerAUR, pnpm-binAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- xdg-desktop-portal (xdg-desktop-portal-gitAUR) (optional) – Screensharing with Wayland
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 15 Next › Last »
Edu4rdSHL commented on 2023-12-07 02:33 (UTC)
Is this still an issue? @initnull
initnull commented on 2023-08-24 16:57 (UTC) (edited on 2023-08-24 16:57 (UTC) by initnull)
This package has stopped building on aarch64 since beta 6.28 due to an error with ruby fpm.
Edu4rdSHL commented on 2023-05-20 00:41 (UTC)
@randomscumbag, it's an upstream issue, see https://github.com/signalapp/Signal-Desktop/issues/6417 and https://github.com/signalapp/Signal-Desktop/issues/6419.
Please always check upstream repo before reporting here.
<deleted-account> commented on 2023-05-20 00:34 (UTC)
Recent issue after last update.... Can't copy and paste images or from my computer screen into the messenger. Tried several different ways, Currently using FlameShot as my main screen shot grabber, when I paste ctl-v or right click paste, doesn't add anything. If I run Signal not the Beta, it copies things in correctly. I haven't changed anything on my system, this was after the last update which I did today 5/19/23
my apologeeze @Edu4rdSHL
mkurz commented on 2023-01-21 20:00 (UTC) (edited on 2023-01-21 20:04 (UTC) by mkurz)
@Edu4rdSHL Thanks!
Just to let you know, it is not just a common issue across AUR helpers, putting the export into the prepare function is violating the PKGBUILD specification.
prepare()
is for preparing the source code, not doing something that is needed to build the package. Not justyay
orparu
fail, even a common use case formakepkg
will fail when putting the export into theprepare()
function like you did. Have a look at the makepkg manpage:Now, let's do what the man page says. First just let's download and prepare the source:
Nice, sources are downloaded and prepared. Now, lets imagine we modify the source ourselves, we are finished doing that and now we want to actually build the package:
BOOOM! Same error when just using
makepkg
! The npm variable was not set anymore, because in the second command the prepare function did not run anymore. You can also read more about that in this discussion: https://github.com/Jguer/yay/issues/1006 where people write things like "DO NOT USE PREPARE JUST TO SET VARIABLES. You are violating the PKGBUILD specification, and as a result your PKGBUILD sucks."Thanks for fixing! Highly appreciated!
Edu4rdSHL commented on 2023-01-21 19:34 (UTC) (edited on 2023-01-21 19:42 (UTC) by Edu4rdSHL)
If it builds with makepkg and in a clean chroot environment, then there's nothing to fix on my side but in the program that fails to do that. I'm not going to modify things to fix builds on broken AUR helpers.
Edit: it seems to be a common issue across AUR helpers, I tried building it with paru, and it fails as well. I will apply the fix to avoid these issues.
mkurz commented on 2023-01-21 19:31 (UTC) (edited on 2023-01-21 19:34 (UTC) by mkurz)
@Edu4rdSHL this package is broken when installing it with yay. I didn't realize that because I always build it myself using makepkg. However now that you fixed the aarch64 stuff and I wanted to upgrade it using yay it will fail with the error described by jnnk: https://aur.archlinux.org/packages/signal-desktop-beta?O=20#comment-893530 It will not just fail for aarch64, but for everyone using
yay
no matter which architecture.Before I go into details, the fix is to move the
from the
prepare()
to thebuild()
function.Now the details. Let's start how you can reproduce the problem.
NODE_OPTIONS
env variable set:unset NODE_OPTIONS
yay -S signal-desktop-beta
. It will fail.But: If you clone the git repo of this aur and run
makepkg -sic
it will work. But why does it work when runningmakepkg
directly, but fail when usingyay -S
? That is because yay runs theprepare()
and thebuild()
function each in their own, new subshell process. So if you export a variable in the first subshell (running theprepare()
) function, the subshell will exit after the function ran and the env variable will not propagate to the next subshell. So inbuild()
theNODE_OPTIONS
variable (which you set inprepare()
) will be empty, which leads to the error of the referenced comment. You can easily test this by puttingecho "NODE OPTIONS: $NODE_OPTIONS"
at the top of thebuild()
function, you will see that when runningyay -S
it will be empty, but it will be set correctly when usingmakepkg
. You could alsoecho "PID of this script: $$"
at the top of theprepare()
and the same echo at the top of thebuild()
function. You will see that when usingyay
there will be different pid's for each function, however when usingmakepkg
the same pid shows up because there the whole script runs in the same subshell/process.Here is the full patch, would be nice if you could apply that! Thanks! Also let me mention the
signal-desktop-arm
package suffers from the same problem, see it's comments: https://aur.archlinux.org/packages/signal-desktop-armmkurz commented on 2023-01-16 12:31 (UTC)
Thanks @Edu4rdSHL!
Edu4rdSHL commented on 2023-01-16 03:15 (UTC)
Done on -4
mkurz commented on 2023-01-15 20:50 (UTC)
@Edu4rdSHL please apply following diff,
bash -c ...
is needed!« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 15 Next › Last »