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

How time .deb package? #256

Closed
systmrrr opened this issue Sep 11, 2018 · 30 comments
Closed

How time .deb package? #256

systmrrr opened this issue Sep 11, 2018 · 30 comments
Labels

Comments

@systmrrr
Copy link

It is difficult to install on linux. Will the debian package come out?

@rom1v
Copy link
Collaborator

rom1v commented Sep 12, 2018

This would not be one .deb, but one per distrib+version+arch. Even if we limit to adm64, this would typically mean to create/maintain 2 or 3 versions for Debian + 2 or 3 versions for Ubuntu...

I would prefer it to be packaged by the distribution.

Someone recently submitted an RFS so that its package would be uploaded to the Debian official repositories. That would be awesome. But no answer for now.

@rom1v rom1v added the distrib label Sep 12, 2018
@johnsie
Copy link

johnsie commented Sep 12, 2018

Hi! Ideally these would be in the repositories for various distrols, but as this is not the case yet I have a deb on my site and the Ubuntu Forums. I'm interested in making tweaks and improving the deb, so please help with feedback :

https://xn--joh-9ma.com/control-your-android-device-in-ubuntu-with-scrcpy/
https://ubuntuforums.org/showthread.php?t=2401019

I can maybe look at getting a ppa or something set up when I get some free time as I think just having a deb is probably not the best way of going about this, even in the short term.

I'm also interested in contacting anyone who has successfully managed to do the compile on Ubuntu or Debian. It would be great to have a detailed howto, to make it easier for people to compile on various Linux distros.

Hopefully people more involved in the distro communities will pick up on this wonderful application and get things integrated properly.

@systmrrr
Copy link
Author

systmrrr commented Sep 13, 2018

thank you
i will feedback

but link is dead?

@johnsie
Copy link

johnsie commented Oct 3, 2018

Link works ok for me. Let me know if you got it to work in the end. If not I'll put it on a mirror.

@systmrrr
Copy link
Author

systmrrr commented Oct 8, 2018

my error for -- http://johnmccourt.com/files/scrcpy_1.3~git20180820-2.2_amd64.deb

Forbidden
You don't have permission to access /files/scrcpy_1.3~git20180820-2.2_amd64.deb on this server.


and -- https://xn--joh-9ma.com/control-your-android-device-in-ubuntu-with-scrcpy/

Forbidden
You don't have permission to access /control-your-android-device-in-ubuntu-with-scrcpy/ on this server.

@tgmasterx1987
Copy link

to download the deb file you need to try it with https my friend ....

@johnsie
Copy link

johnsie commented Oct 31, 2018

Thanks for the heads-up. Apologies. That's a personal server and I was changing the HDD and doing some OS/Software updates on it. Should be back now. If anyone wants to mirror it feel free.

@adbaditya
Copy link

Thanks for the heads-up. Apologies. That's a personal server and I was changing the HDD and doing some OS/Software updates on it. Should be back now. If anyone wants to mirror it feel free.

@johnsie hey the link is down. Got an error 403 FORBIDDEN.
Any other links available?

@johnsie
Copy link

johnsie commented Dec 10, 2018 via email

@camlafit
Copy link

Hello

I've just tried on my debian 9.6
I got this error
scrcpy: error while loading shared libraries: libavformat.so.58: cannot open shared object file: No such file or directory
libavformat-dev is installed

@johnsie
Copy link

johnsie commented Dec 24, 2018

Untested on debían. But try this..

apt-get install libavdevice58 libavfilter6

@camlafit
Copy link

Hello
I've tried to install these version, but I've got some conflict version with libavcodec58, libavfilter7, libavformat58, libsdl2-2.0-0

@Victor239
Copy link

Victor239 commented Feb 6, 2019

Hopefully we'll get an AppImage (my preferred option), Snap or Flatpak package instead of a DEB or RPM #287. That way it'll mean @rom1v only has to support one method of installation on Linux but everyone can still use it.

@camlafit
Copy link

camlafit commented Feb 7, 2019

Hello

Will be nice to have a flatpak or any other standalone binary but has not same purpose than a deb/rpm/... provided by any other package system.

In case should be a great progress :) at least to try it

@sisco311
Copy link

sisco311 commented Mar 9, 2019

Just created a snap: https://github.com/sisco311/scrcpy-snap
It's in the snap store. Next week I will try to focus on the documentation.

@rom1v
Copy link
Collaborator

rom1v commented Mar 10, 2019

@sisco311 Thank you 👍

@jimmyferiawan
Copy link

@johnsie how able to compile the source code in debian 9.9 ? i get stuck when installing dependencies
ibegl1-mesa-dev : Depends: libegl1-mesa (= 13.0.6-1+b2) but 18.2.8-2~bpo9+1 is to be installed
Depends: libwayland-egl1-mesa (= 13.0.6-1+b2)
Depends: libdrm-dev (>= 2.4.69) but it is not going to be installed
Depends: libxcb-dri3-dev but it is not going to be installed
Depends: libwayland-dev (>= 1.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

@rom1v rom1v mentioned this issue Jul 20, 2019
@DanielRios549
Copy link

DanielRios549 commented Aug 16, 2019

I created a package for Ubuntu 18.04, if you guys want to test this excellent program without effect the boot time of your system, here it is. https://mega.nz/#!HMlH1IyB!B0Xtx9HrUlrefzlcjp7MZDy-lYPoVfzsWDKZSxU-U5o

@el-guahiro
Copy link

Good instructions for compiling the program from the link
https://4pda.ru/forum/index.php?showtopic=915423

@AzureRaptor
Copy link

I can maybe look at getting a ppa or something set up when I get some free time as I think just having a deb is probably not the best way of going about this, even in the short term.

So, it's been over a year. What's the status on getting a PPA for this package? Getting it into the distro repos will take forever, and even if it is, it'll always be way out of date. A PPA would be much more preferable.

@bananenfisch
Copy link

bananenfisch commented Oct 27, 2019

Rolling distributions like Debian "sid" or "testing" are normally up-to-date, when a package gets maintained (and Ubuntu are based on testing). Looks like, scrcpy is just blocked, because it depends on the old JDK v8 (and not on latest JDK):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893279

@el-guahiro
Copy link

el-guahiro commented Oct 27, 2019 via email

@rom1v
Copy link
Collaborator

rom1v commented Oct 27, 2019

Looks like, scrcpy is just blocked, because it depends on the old JDK v8 (and not on latest JDK):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893279

Thank you for the link. The last comment says:

blocked since upstream is unwilling to support JDK 9

I'm willing to support newer jdk, it's just that it seems the Android build system does not support it (see #3 #524).

If anyone have a solution for this, I would be happy to fix it.

@el-guahiro
Copy link

el-guahiro commented Oct 27, 2019 via email

@rom1v
Copy link
Collaborator

rom1v commented Oct 28, 2019

blocked since upstream is unwilling to support JDK 9

I'm willing to support newer jdk, it's just that it seems the Android build system does not support it (see #3 #524).

In fact, it seems to work now. I just tested with java 11 (java 9 is not packaged in Debian sid anymore).

@bananenfisch
Copy link

In fact, it seems to work now. I just tested with java 11 (java 9 is not packaged in Debian sid anymore).

:-) thats good news - should i post it on debian tracker? may be, they are willing to maintain now...

@rom1v
Copy link
Collaborator

rom1v commented Nov 10, 2019

A new RFS have been submitted by Yangfl: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944334

@rom1v
Copy link
Collaborator

rom1v commented Dec 27, 2019

https://packages.debian.org/sid/scrcpy 🎉

Big thanks to Yangfl 👍

@el-guahiro
Copy link

el-guahiro commented Dec 27, 2019 via email

@rom1v rom1v closed this as completed Apr 9, 2020
@rzr
Copy link

rzr commented May 5, 2020

https://tracker.debian.org/pkg/scrcpy

A new upstream version is available: 1.13 high

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

No branches or pull requests