Bug 32695 - RustDesk (Remote Desktop Software) NEW PACKAGE REQUEST.
Summary: RustDesk (Remote Desktop Software) NEW PACKAGE REQUEST.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://www.hoptodesk.com/fr
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-06 20:39 CET by Olivier Placais
Modified: 2024-02-01 13:56 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Spec file for rustdesk (not working) (1.79 KB, text/plain)
2024-02-01 13:51 CET, papoteur
Details
cmrc needed by vcpkg (1.35 KB, text/plain)
2024-02-01 13:52 CET, papoteur
Details
vcpkg spec file (1.94 KB, text/x-matlab)
2024-02-01 13:52 CET, papoteur
Details
fmt update (1.32 KB, text/x-matlab)
2024-02-01 13:56 CET, papoteur
Details

Description Olivier Placais 2024-01-06 20:39:54 CET
Hop To Desk is a open Source Remote Desktop Software.
It is powerfull and very simple to use.
Can we have it in the Mageia Repository please.

I have use the Fedora on Mageia 9. it work perfectly.
Comment 1 sturmvogel 2024-01-07 12:06:27 CET
One really strange point is that there is no single linux distribution out there which ships this package.

The devs provide prepacked versions for some distributions. Also the source code does not look like it would be easy to package it for any distribution (lack of deps and building instructions..).

The FAQ says that everybody is allowed to link to their site or provide the prepacked versions..but nothing about self packing and distribution…
Comment 2 Olivier Placais 2024-01-07 15:17:57 CET
I Have Install the Fedora rpm on several desktop without error message, but to launch hoptodesk, lib64xdotool3 is required.

Other thing, the fedora rpm don't create shortcut in the KDE Menu. it's necessary to create it manually.
Comment 3 Dave Hodgins 2024-01-07 19:37:19 CET
(In reply to sturmvogel from comment #1)
> One really strange point is that there is no single linux distribution out
> there which ships this package.
> 
> The devs provide prepacked versions for some distributions. Also the source
> code does not look like it would be easy to package it for any distribution
> (lack of deps and building instructions..).
> 
> The FAQ says that everybody is allowed to link to their site or provide the
> prepacked versions..but nothing about self packing and distribution…

https://gitlab.com/hoptodesk/hoptodesk/-/blob/main/LICENSE?ref_type=heads

It's rust based, so messy.

https://gitlab.com/hoptodesk/hoptodesk/-/blob/main/build.rs

CC: (none) => davidwhodgins

Comment 4 Guillaume Bedot 2024-01-08 09:57:14 CET
According to these issues on RustDesk's repo, it's a fork, and not one i'd recommend to use.

https://github.com/rustdesk/rustdesk/discussions/2778
https://github.com/rustdesk/rustdesk/discussions/1590

CC: (none) => geex+mageia

Comment 5 Morgan Leijström 2024-01-08 10:18:41 CET
So if anything, I think it is RustDesk we should package
https://github.com/rustdesk

But do we need to package?
We are low on people resources already.
@Olivier, have you tried the Appimage of RustDesk?
Or their binary?

CC: (none) => fri

Comment 6 Olivier Placais 2024-01-08 17:52:01 CET
Hello,

the Appimage works well whether it's Hoptodesk or Rustdeck.

In fact, I wasn't asking a package for myself, but for users a little less experienced than me, so that they only have to go through the CCM to get a remote control tool.

I think that after teamviewer's switch to paid mode, there will be a demand for another tool.

I can well understand the lack of resources to create the package.If this isn't possible immediately, that's okay.  

Thank you all very much.

Olivier
Comment 7 Morgan Leijström 2024-01-08 18:03:06 CET
OK thank you for the tip

I see upstream also provide Flatpak
https://github.com/rustdesk/rustdesk/wiki/Run-flatpak

Flatpak is in Mageia installed by default for at least the big DE
https://wiki.mageia.org/en/Flatpak

---

Requests for new packages are set to Cauldron

Version: 9 => Cauldron
Summary: Rpm Request for HopToDesk (Remote Desktop Software) => Rpm Request for HopToDesk or RustDesk (Remote Desktop Software)

Comment 8 Lewis Smith 2024-01-08 21:40:15 CET
> I have use the Fedora on Mageia 9. it work perfectly.
> I Have Install the Fedora rpm on several desktop without error message, but
> to launch hoptodesk, lib64xdotool3 is required.
We have the latter: in xdotool-3.20211022.1-1.mga9.src.rpm

> Other thing, the fedora rpm don't create shortcut in the KDE Menu. it's
> necessary to create it manually.
Are we close enough to Fedora to do this (hoptodesk)?

Given that both are available as Appimage, + RustDesk as Flatpak, I agree with the others' doubts in our present understaffed position. If we close this rather than forwarding it - WontFix?

Summary: Rpm Request for HopToDesk or RustDesk (Remote Desktop Software) => HopToDesk or RustDesk (Remote Desktop Software) NEW PACKAGE REQUEST.
CC: (none) => lewyssmith

Comment 9 papoteur 2024-01-09 10:44:28 CET
I started to package rustdesk in cauldron, from Opensuse spec.
I'm stuck because of vcpkg which is needed for one of rust module, started from Fedora spec.
The build fails on an error about fmt not dealing Stringview object. I don't understand what I missed because Fedora package seems OK.

CC: (none) => yvesbrungard

papoteur 2024-01-09 10:44:50 CET

Summary: HopToDesk or RustDesk (Remote Desktop Software) NEW PACKAGE REQUEST. => RustDesk (Remote Desktop Software) NEW PACKAGE REQUEST.

Comment 10 Lewis Smith 2024-01-09 19:35:09 CET
Thanks for going at it. Hope you win.
Comment 11 Lewis Smith 2024-02-01 12:12:36 CET
Any progress, Yves?
Comment 12 papoteur 2024-02-01 13:50:02 CET
Hi Lewis,
The way is hard. I don't know if it is viable.
I have already done vcpkg which is a requirement for rustdesk. I "vendored" all rust modules in a vendor.tar.xz of about 125 Mb.
At the moment, the build fails with:
	Running `rustc --crate-name magnum_opus --edition=2018 /builddir/build/BUILD/rustdesk-1.2.3/vendor/magnum-opus/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C codegen-units=1 -C metadata=70ea097373bab5b0 -C extra-filename=-70ea097373bab5b0 -C rpath --out-dir /builddir/build/BUILD/rustdesk-1.2.3/target/release/deps -C strip=symbols -L dependency=/builddir/build/BUILD/rustdesk-1.2.3/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn -L /builddir/build/BUILD/rustdesk-1.2.3/vcpkg/installed/x64-linux/lib -l static=opus`
error: could not find native static library `opus`, perhaps an -L flag is missing?

error: could not compile `magnum-opus` (lib) due to previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name magnum_opus --edition=2018 /builddir/build/BUILD/rustdesk-1.2.3/vendor/magnum-opus/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C codegen-units=1 -C metadata=70ea097373bab5b0 -C extra-filename=-70ea097373bab5b0 -C rpath --out-dir /builddir/build/BUILD/rustdesk-1.2.3/target/release/deps -C strip=symbols -L dependency=/builddir/build/BUILD/rustdesk-1.2.3/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn -L /builddir/build/BUILD/rustdesk-1.2.3/vcpkg/installed/x64-linux/lib -l static=opus` (exit status: 1)

We have libopus, but with shared library, not static. I don't know where it is said that the library should be static, or if we could provide static library.
Comment 13 papoteur 2024-02-01 13:51:10 CET
Created attachment 14323 [details]
Spec file for rustdesk (not working)
Comment 14 papoteur 2024-02-01 13:52:11 CET
Created attachment 14324 [details]
cmrc needed by vcpkg
Comment 15 papoteur 2024-02-01 13:52:39 CET
Created attachment 14325 [details]
vcpkg spec file
Comment 16 papoteur 2024-02-01 13:56:29 CET
Created attachment 14326 [details]
fmt update

I missed to say that I also updated fmt to 10

Note You need to log in before you can comment on or make changes to this bug.