This application provides display and control of Android devices connected on USB (or over TCP/IP). It does not require any root access. It works on GNU/Linux, Windows and MacOS.
scrcpy-console.desktop is still not working in the latest version (scrcpy-2.0)
I thinks it’s because of when you insert 2 backslashes in sed expression (when with no sed args), the first backslash will be escaped, so you may should insert 4 backslashes. Patches are always easier to read, change and manage than sed commands in rpm specfile, so I suggest you to apply patches instead of using sed commands.
ps1. You are missing validate scrcpy-console.desktop.
ps2. I want to create a pull request to the scrcpy.spec but I can’t find a way.
Thanks for reply, I tried the upstream fixed scrcpy-console.desktop, but it seems broken to me as well. Since there are too many quotes and backslashes I can’t even figure out where is wrong.
So I create a pull request to suggest a simply one to upstream.
Hey zeno, since your last build, my dnf5 update fails with
Transaction failed: Signature verification failed.
PGP check for package "scrcpy-2.4-4.fc40.x86_64" (/var/cache/libdnf5/copr:copr.fedorainfracloud.org:zeno:scrcpy-a46f11a2b939fab1/packages/scrcpy-2.4-4.fc40.x86_64.rpm) from repo "copr:copr.fedorainfracloud.org:zeno:scrcpy" has failed: Problem occurred when opening the package.
Not sure what the issue is, I’ve never seen that with copr repos before (I have several enabled), so no idea if it’s your or Fedora’s fault and who can fix this. Still, I wanted to vent out, sorry and thanks
Edit: dnf-4’s output is more clear, as usual with dnf5
GPG key at https://download.copr.fedorainfracloud.org/results/zeno/scrcpy/pubkey.gpg (0xC9947AB8) is already installed
The GPG keys listed for the "Copr repo for scrcpy owned by zeno" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: scrcpy-2.4-4.fc40.x86_64
Same here. From the full output it seems like the GPG key 28091D1D2A7F7DAFDF6AF72666C47270C9947AB8 (certificate + key) expired.
Full output
Last metadata expiration check: 0:07:42 ago on Fri 28 Jun 2024 09:55:26 AM CEST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Upgrading:
scrcpy x86_64 2.4-4.fc40 copr:copr.fedorainfracloud.org:zeno:scrcpy 173 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total size: 173 k
Is this ok [y/N]: Downloading Packages:
[SKIPPED] scrcpy-2.4-4.fc40.x86_64.rpm: Already downloaded
error: Verifying a signature using certificate 28091D1D2A7F7DAFDF6AF72666C47270C9947AB8 (zeno_scrcpy (None) <zeno#scrcpy@copr.fedorahosted.org>):
1. Certificiate 66C47270C9947AB8 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-04-22T22:23:32Z
2. Key 66C47270C9947AB8 invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-04-22T22:23:32Z
error: Verifying a signature using certificate 28091D1D2A7F7DAFDF6AF72666C47270C9947AB8 (zeno_scrcpy (None) <zeno#scrcpy@copr.fedorahosted.org>):
1. Certificiate 66C47270C9947AB8 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2024-04-22T22:23:32Z
2. Key 66C47270C9947AB8 invalid: key is not alive
because: The primary key is not live
because: Expired on 2024-04-22T22:23:32Z
Copr repo for scrcpy owned by zeno 3.6 kB/s | 989 B 00:00
GPG key at https://download.copr.fedorainfracloud.org/results/zeno/scrcpy/pubkey.gpg (0xC9947AB8) is already installed
The GPG keys listed for the "Copr repo for scrcpy owned by zeno" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: scrcpy-2.4-4.fc40.x86_64
GPG Keys are configured as: https://download.copr.fedorainfracloud.org/results/zeno/scrcpy/pubkey.gpg
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
This may or may not be a general problem, as it occurred with a different copr too: taw/joplin