signal-desktop

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#1 by Rava » 11 Oct 2022, 09:08

While the module signal-desktop-5.45.0-x86_64-1salix15.0.xzm

Code: Select all

root@porteus:~# /usr/bin/getmod -s signal-desktop
signal-desktop-5.45.0-x86_64-1salix15.0  (Signal for Desktop)
technically works (as in: it runs in my OS), signal tells me it is outdated and it would do not work (as in: no messaging).
Image

And how to update it?
Their web page https://signal.org/download/ tells me this

Code: Select all

#Linux (Debian-based) Install Instructions
#
# NOTE: These instructions only work for 64 bit Debian-based
# Linux distributions such as Ubuntu, Mint etc.

# 1. Install our official public software signing key
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null

# 2. Add our repository to your list of repositories
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
  sudo tee -a /etc/apt/sources.list.d/signal-xenial.list

# 3. Update your package database and install signal
sudo apt update && sudo apt install signal-desktop
"These instructions only work for 64 bit Debian-based Linux distributions such as Ubuntu, Mint etc."

I am more than 99.99% sure that my Slackware based Porteus with XFCE 4.12 is not one of these " Debian-based Linux distributions such as Ubuntu, Mint etc."

Any ideas on how to proceed?

I think I will either have to install apt … (if that would even get me a working apt, that is) or emulate everything apt would do in Porteus.

Anyone experiences with such?

Added in 3 minutes 20 seconds:
Update
There are only the above Linux Install Instructions - only for Debian based systems. :cry:
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2109
Joined: 02 Jan 2011, 11:33
Location: italy

signal-desktop

Post#2 by beny » 11 Oct 2022, 10:31

hi Rava signal when you start the software it show a qrcode that tell you scan this code in the signal app on your phone, well open signal on your phone tap into settingd then tap linked devices and start it porteus stock but signal package is a huge one 125 mb this is like whatsup on opera or telegram too

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#3 by Rava » 11 Oct 2022, 14:19

beny, I already did that linking the Linux app with the Android app.

But that not solves the issue you see in the screenshot - the part on the left with the bright orange background. (Click the screenshot to see it in 100%). Since Signal is more strict on being secure than most messengers it seems to refuse to run when the version is too outdated.
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2109
Joined: 02 Jan 2011, 11:33
Location: italy

signal-desktop

Post#4 by beny » 11 Oct 2022, 16:12

the signal for current version is 5.62.0, when the upgrade of current is complete i try to run this version on that current version of slackware if change anything

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#5 by Rava » 11 Oct 2022, 16:14

Do you mean to say you try to run signal v5.62.0 on Port 5.0?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2109
Joined: 02 Jan 2011, 11:33
Location: italy

signal-desktop

Post#6 by beny » 11 Oct 2022, 16:45

try it, the signal of slacker, the package is a repack of a deb package so in current we have the last version of this you can use slackfinder to download it.

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#7 by Rava » 11 Oct 2022, 17:03

Okay, downloading right now.

Code: Select all

guest@porteus:/7/tmp/signal$ wget https://slack.conraid.net/repository/slackware64-current/signal-desktop-bin/signal-desktop-bin-5.62.0-x86_64-1cf.txz
--2022-10-11 18:53:22--  https://slack.conraid.net/repository/slackware64-current/signal-desktop-bin/signal-desktop-bin-5.62.0-x86_64-1cf.txz
Resolving slack.conraid.net (slack.conraid.net)... 87.98.219.121
Connecting to slack.conraid.net (slack.conraid.net)|87.98.219.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 125286896 (119M) [application/octet-stream]
Saving to: ‘signal-desktop-bin-5.62.0-x86_64-1cf.txz’

     signal-desktop  66%[============>       ]  79.15M   105KB/s    eta 5m 3s  
BRB!

Added in 21 minutes 28 seconds:
Created signal-desktop-bin-5.62.0-x86_64-1cf.xzm but it is quite the funky package:

Code: Select all

guest@porteus:~$ signal-desktop
bash: signal-desktop: command not found
guest@porteus:~$ cat /usr/share/applications/signal-desktop.desktop 
guest@porteus:~$ ls -l /usr/share/applications/signal-desktop.desktop 
-rw-r--r-- 1 root root 0 2022-10-06 03:31 /usr/share/applications/signal-desktop.desktop
And of course no symlink to its binary in one of the folders usually in user's $PATH

Code: Select all

root@porteus:/mnt/live/memory/images/signal-desktop-bin-5.62.0-x86_64-1cf.xzm# ls -o
total 0
drwxr-xr-x 3 root 29 2022-10-06 03:31 opt
drwxr-xr-x 4 root 39 2022-10-06 06:32 usr
drwxr-xr-x 4 root 37 2022-10-11 19:17 var
root@porteus:/mnt/live/memory/images/signal-desktop-bin-5.62.0-x86_64-1cf.xzm# cd usr/
root@porteus:/mnt/live/memory/images/signal-desktop-bin-5.62.0-x86_64-1cf.xzm/usr# ls -o
total 0
drwxr-xr-x 3 root 48 2022-10-06 06:32 doc
drwxr-xr-x 4 root 48 2022-10-06 06:32 share
Added in 1 minute 34 seconds:
And all I get it a SegFault from its binary:

Code: Select all

guest@porteus:~$ cd /opt/Signal/
guest@porteus:/opt/Signal$ ls
LICENSE.electron.txt     libEGL.so             resources.pak
LICENSES.chromium.html   libGLESv2.so          signal-desktop
chrome-sandbox           libffmpeg.so          snapshot_blob.bin
chrome_100_percent.pak   libvk_swiftshader.so  v8_context_snapshot.bin
chrome_200_percent.pak   libvulkan.so.1        vk_swiftshader_icd.json
chrome_crashpad_handler  locales
icudtl.dat               resources
guest@porteus:/opt/Signal$ ./signal-desktop 
Segmentation fault
:cry:

Added in 2 minutes 37 seconds:
But hey it gets even worse!

It can not even be deactivated:

Code: Select all

root@porteus:/mnt/live/memory/images# deactivate signal-desktop-bin-5.62.0-x86_64-1cf.xzm/
signal-desktop-bin-5.62.0-x86_64-1cf.xzm: The module can't be removed, because it's busy (used).
Updating shared library links:  /sbin/ldconfig
root@porteus:/mnt/live/memory/images# killall signal-desktop
signal-desktop: no process found
:wall: wall meet ROFLcopter ImageImage

Added in 2 minutes 9 seconds:
Update
Actually that last part was my own stupidity, I was still in /opt/Signal
When I went out of there I could deactivate it.

Not all is lost. But how to solve a SegFault…
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2109
Joined: 02 Jan 2011, 11:33
Location: italy

signal-desktop

Post#8 by beny » 11 Oct 2022, 17:46

well Rava the package work,so now we have to see if you have a stock porteus system or a different one i think change to a work tool with a system that is no standard you think is ok, getmod tweak is an example, but on the phone i am waiting the conf code from signal...... wait wait...ok removed from phone

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#9 by Rava » 11 Oct 2022, 18:04

beny wrote:
11 Oct 2022, 17:46
well Rava the package work,so now we have to see if you have a stock porteus system or a different one
SegFault is not that easy to fix.

And you never ever load an additional module in any of your porteus systems?
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2109
Joined: 02 Jan 2011, 11:33
Location: italy

signal-desktop

Post#10 by beny » 11 Oct 2022, 19:16

hi Rava,yes i have installed a lot of packages in my system i have a xfce4 desktop but also i have the qt too libreoffice kodi full and exaile and atril for pdf also nemo file manager,and if you want to see the power of getmod install the kdenlive video editor from salix,but the core of the porteus system allow me to do it without trouble and porteus can use su or sudo all the linux user know this...but i can be wrong

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#11 by Rava » 12 Oct 2022, 01:36

about SegFault
It is tricky, it is possible that it happens, and then some time during the same session it stops happening.

Or some program works, and a time later it gets a SegFault.

At times it seems related to the use of RAM (the more RAM is used, the likely a certain program gets a segfault is), but I found no 100% sure way to avoid segfaults, maybe having "only" 4GB of RAM is an issue in itself, segfault-wise?
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#12 by Rava » 12 Oct 2022, 16:29

I have to go over the stuff from the beginning cause I overssaw the error at creating the module via txz2xzm.
I use "quote" instead if "code" so that I can highlight the issue:
guest@porteus:/mybin/tmp/signal$ txz2xzm signal-desktop-bin-5.62.0-x86_64-1cf.txz
Verifying package signal-desktop-bin-5.62.0-x86_64-1cf.txz.
Installing package signal-desktop-bin-5.62.0-x86_64-1cf.txz:
PACKAGE DESCRIPTION:
# signal-desktop-bin (Signal for Desktop)
#
# Signal is an encrypted instant messaging and voice calling
# application for Android, iOS, and the desktop. It uses the Internet
# to send one-to-one and group messages, which can include images
# and video messages, and make one-to-one voice/video calls.
#
# THIS IS A REPACKAGE OF THE OFFICIAL DEB
#
Executing install script for signal-desktop-bin-5.62.0-x86_64-1cf.txz.
cp: error copying '/tmp/txz2xzm2535/installpkg-cbb2cbf1f5577ce07e83cb1249447a45/doinst.sh' to '/tmp/txz2xzm2535/var/lib/pkgtools/scripts/signal-desktop-bin-5.62.0-x86_64-1cf': No space left on device
Package signal-desktop-bin-5.62.0-x86_64-1cf.txz installed.
Creating /mybin/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf.xzm
:wall:
Why does txz2xzm continue and claim it created a seemingly working module instead of catching the error and reporting it to the user, best in bright red text?

I will use the pseudo-install via installpkg and then dir2zxm instead of using txz2xzm like so:

Code: Select all

cd /into/a/ext[234]-folder-with-enough-free-space
mkdir signal-desktop-bin-5.62.0-x86_64-1cf
ROOT=signal-desktop-bin-5.62.0-x86_64-1cf/ installpkg /PATH/TO/signal-desktop-bin-5.62.0-x86_64-1cf.txz
dir2xzm signal-desktop-bin-5.62.0-x86_64-1cf/ signal-desktop-bin-5.62.0-x86_64-1cf.xzm
and will report back.

Or would a

Code: Select all

cd /into/a/ext[234]-folder-with-enough-free-space
mkdir signal-desktop-bin-5.62.0-x86_64-1cf
ROOT=signal-desktop-bin-5.62.0-x86_64-1cf/ txz2xzm signal-desktop-bin-5.62.0-x86_64-1cf.txz
also work?

Added in 1 hour 42 minutes 37 seconds:
I went with the method I know works and did not try ROOT=signal-desktop-bin-5.62.0-x86_64-1cf/ txz2xzm signal-desktop-bin-5.62.0-x86_64-1cf.txz

Code: Select all

root@porteus:/7/tmp/signal# mkdir signal-desktop-bin-5.62.0-x86_64-1cf

root@porteus:/7/tmp/signal# ROOT=signal-desktop-bin-5.62.0-x86_64-1cf/ installpkg signal-desktop-bin-5.62.0-x86_64-1cf.txz
Verifying package signal-desktop-bin-5.62.0-x86_64-1cf.txz.
Installing package signal-desktop-bin-5.62.0-x86_64-1cf.txz:
PACKAGE DESCRIPTION:
# signal-desktop-bin (Signal for Desktop)
#
# Signal is an encrypted instant messaging and voice calling
# application for Android, iOS, and the desktop. It uses the Internet
# to send one-to-one and group messages, which can include images
# and video messages, and make one-to-one voice/video calls.
#
# THIS IS A REPACKAGE OF THE OFFICIAL DEB
#
Executing install script for signal-desktop-bin-5.62.0-x86_64-1cf.txz.
Package signal-desktop-bin-5.62.0-x86_64-1cf.txz installed.

root@porteus:/7/tmp/signal# dir2xzm signal-desktop-bin-5.62.0-x86_64-1cf signal-desktop-bin-5.62.0-x86_64-1cf.xzm
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on signal-desktop-bin-5.62.0-x86_64-1cf.xzm, block size 262144.
[=============================================================\] 1708/1708 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 137695.81 Kbytes (134.47 Mbytes)
	33.26% of uncompressed filesystem size (414055.70 Kbytes)
Inode table size 5316 bytes (5.19 Kbytes)
	40.80% of uncompressed inode table size (13028 bytes)
Directory table size 1766 bytes (1.72 Kbytes)
	42.78% of uncompressed directory table size (4128 bytes)
Number of duplicate files found 38
Number of inodes 195
Number of files 131
Number of fragments 6
Number of symbolic links 3
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 61
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
This was the other failed module:

Code: Select all

90783744 2022-10-11 19:18 signal-desktop-bin-5.62.0-x86_64-1cf.xzm
or 86.58 MB

and this is the new one:

Code: Select all

root@porteus:/7/tmp/signal# ls -o signal-desktop-bin-5.62.0-x86_64-1cf.xzm |cut -c 19-
141000704 2022-10-12 19:57 signal-desktop-bin-5.62.0-x86_64-1cf.xzm
root@porteus:/7/tmp/signal# ls -oh signal-desktop-bin-5.62.0-x86_64-1cf.xzm |cut -c 19-
135M 2022-10-12 19:57 signal-desktop-bin-5.62.0-x86_64-1cf.xzm
or

Code: Select all

root@porteus:/7/tmp/signal# 1024calc 141000704
134.469 MB
134.47 MB
Now, finally, it seems to work:
Image
though I have to figure out how to import contacts into it since there is no syncing with my Android signal version…

____________________________
1024calc is an awk script

Code: Select all

root@porteus:~# file /usr/local/bin/1024calc
/usr/local/bin/1024calc: awk script, ASCII text executable
root@porteus:~# cat /usr/local/bin/1024calc 
#!/usr/bin/awk -f

BEGIN{	x = ARGV[1]

        split("B KB MB GB TB PB",type)

	for(i=5;y < 1;i--)
	    y = x / (2**(10*i))

	print y " " type[i+2]
	printf("%.2f %s\n",y,type[i+2])
}
Added in 45 seconds:
Thanks beny for the help and support! <B
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

signal-desktop

Post#13 by Rava » 12 Oct 2022, 23:54

This is how I tweaked my signal module to be able to also run it via terminal more easily.
I prefer it this way so that I can look into possible error messages by signal-desktop - you see none of these when you start it via your DE. And I want an installed via module program to run from $PATH and not only by calling the full path of the binary.

Let us presume my folder where the installpkg'd package is put into is /7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/
You have to adjust that to where you created your directory and installpkg'd the package into as shown above.
(reminder: create the directory, then do a
ROOT=signal-desktop-bin-5.62.0-x86_64-1cf/ installpkg signal-desktop-bin-5.62.0-x86_64-1cf.txz
when the module sits there where the created directory is. Cave! only do so on ext[234] filesystem (RAMdisk e.g. /tmp/ is also okay when you have enough free space in it) and never in a NTFS or VFAT filesystem cause then all files and folders permissions will be messed up.


● everything must be done as user root

● Create usr/bin directory and symlink to signal-desktop

Code: Select all

root@porteus:/7/tmp/signal# cd signal-desktop-bin-5.62.0-x86_64-1cf/usr/
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr# ls
doc  share
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr# mkdir bin
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr# cd bin/
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr/bin# ln -s ../../opt/Signal/signal-desktop .
● Create script for starting signal with --no-sandbox option (default when you start it via .desktop file from your DE menu)

Code: Select all

root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr/bin# echo '#!/bin/sh
# run signal-desktop with --no-sandbox option
/opt/Signal/signal-desktop --no-sandbox $*' >signal-desktop--no-sandbox
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr/bin# chmod a+x signal-desktop--no-sandbox 
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr/bin# file signal-desktop--no-sandbox 
signal-desktop--no-sandbox: POSIX shell script, ASCII text executable
root@porteus:/7/tmp/signal/signal-desktop-bin-5.62.0-x86_64-1cf/usr/bin# cat signal-desktop--no-sandbox 
#!/bin/sh
# run signal-desktop with --no-sandbox option
/opt/Signal/signal-desktop --no-sandbox $*
I went back into /7/tmp/signal/ and did a

Code: Select all

dir2xzm signal-desktop-bin-5.62.0-x86_64-1cf/ signal-desktop-bin-5.62.0-x86_64-1cf_rava.xzm
Unsurprisingly, my 2 small changes did not alter the filesize

Code: Select all

root@porteus:/7/tmp/signal# ls -o *xzm|cut -c 19-
141000704 2022-10-12 19:57 signal-desktop-bin-5.62.0-x86_64-1cf.xzm
141000704 2022-10-13 01:36 signal-desktop-bin-5.62.0-x86_64-1cf_rava.xzm
but did sure alter the md5sum

Code: Select all

root@porteus:/7/tmp/signal# md5sum *xzm
d0349f010a9d0a297a3e942339134470  signal-desktop-bin-5.62.0-x86_64-1cf.xzm
bb7eda79ffcad2ced4236be283736787  signal-desktop-bin-5.62.0-x86_64-1cf_rava.xzm
Both your md5sums will be different than mine.

Added in 6 minutes 32 seconds:
And this is the result when activating signal-desktop-bin-5.62.0-x86_64-1cf_rava.xzm

Code: Select all

guest@porteus:~$ file $(which signal-desktop--no-sandbox)
/usr/bin/signal-desktop--no-sandbox: POSIX shell script, ASCII text executable
guest@porteus:~$ file $(which signal-desktop)
/usr/bin/signal-desktop: symbolic link to ../../opt/Signal/signal-desktop
guest@porteus:~$ file /opt/Signal/signal-desktop 
/opt/Signal/signal-desktop: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=6729796aa5bd5af52a1ea3c24a310b412afa4e76, not stripped
:)
Cheers!
Yours Rava

benjibasson
Samurai
Samurai
Posts: 152
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

signal-desktop

Post#14 by benjibasson » 16 May 2024, 19:36

Hi
https://slack.conraid.net is down or broken: where to download the updated signal desktop please?

donald
Full of knowledge
Full of knowledge
Posts: 2080
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

signal-desktop

Post#15 by donald » 16 May 2024, 20:10

Try this link:
https://slackers.it/repository/slackware64-current/

There is a signal-desktop-bin-7.9.0-x86_64-1cf.txz

Post Reply