Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: Offer Tarball Package for Non-Debian Distributions #2205

Closed
rk9qn3j opened this issue Apr 2, 2018 · 8 comments
Closed

Linux: Offer Tarball Package for Non-Debian Distributions #2205

rk9qn3j opened this issue Apr 2, 2018 · 8 comments

Comments

@rk9qn3j
Copy link

rk9qn3j commented Apr 2, 2018

Hello,

Are there any reason why no tarball (tar.xz or tar.gz) package is provided for other Linux distributions? Thanks.

@gasi-signal
Copy link
Contributor

@gasi-signal gasi-signal changed the title Tarball package Linux: Offer Tarball Package for Non-Debian Distributions Apr 2, 2018
@rk9qn3j
Copy link
Author

rk9qn3j commented Apr 2, 2018

I would be more convenient if there was a link to the source on the main website with some minimal instructions. Why use Yarn instead of a "classical" setup like below (just curious)?

./configure
make
sudo make install

We have some instructions here: https://github.com/signalapp/Signal-Desktop/blob/3841154295598021a61d3b4bacab7fb88eccd380/CONTRIBUTING.md#changing-to-production

According to the instructions, I can't have both my phone and desktop linked at the same time; is that correct?

@gasi-signal
Copy link
Contributor

@kartongsaft We are just a two-person team on the desktop app and therefore have limited resources. If you’d like to try doing the install from source and then better document it, we’d be happy to accept a README.md pull request. The current setup using yarn is based on how we develop the software as is fairly standard in the JavaScript / Electron community. We normally install it via official builds.

According to the instructions, I can't have both my phone and desktop linked at the same time; is that correct?

Good catch. If you want to run a production instance from source, you may want to do yarn start --production which will then pick up config/production.json (untested). Hope this helps.

@rk9qn3j
Copy link
Author

rk9qn3j commented Apr 3, 2018

We are just a two-person team on the desktop app and therefore have limited resources. If you’d like to try doing the install from source and then better document it, we’d be happy to accept a README.md pull request. The current setup using yarn is based on how we develop the software as is fairly standard in the JavaScript / Electron community. We normally install it via official builds.

Oh, I see! 😄

Good catch. If you want to run a production instance from source, you may want to do yarn start --production which will then pick up config/production.json (untested). Hope this helps.

So, I download the source, install Yarn and then compile it using yarn start --production? Would I be able to use the desktop and mobile app at the same time (will my messages appear on both devices)?

@gasi-signal
Copy link
Contributor

gasi-signal commented Apr 3, 2018

So, I download the source, install Yarn and then compile it using yarn start --production? Would I be able to use the desktop and mobile app at the same time (will my messages appear on both devices)?

I’d recommend following these steps and substitute yarn start --production for the last step: https://github.com/signalapp/Signal-Desktop/blob/887bd83852be76e3de27e66b030fa58834c36933/CONTRIBUTING.md#developer-setup And yes, this will run the app similarly to how a downloaded app works, e.g. you connect it to your phone and messages appear on both.

@bluebirch
Copy link

bluebirch commented May 3, 2018

I built Signal according to the above instructions and executed signal-desktop in the subdirectory release/linux-unpacked. Worked just fine. Above mentioned methods of yarn start --production didn't work. Maybe a .tar.gz distribution can be built from that directory?

@gasi-signal
Copy link
Contributor

@bluebirch We may consider but one big downside is the lack of auto-update with a source installation.

@hasufell
Copy link

Yes, it's hard to package signal for a distro. And I have no idea what the difference between production and those other configs are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants