Package Details: krdp-git r201.08daacf-1

Git Clone URL: https://aur.archlinux.org/krdp-git.git (read-only, click to copy)
Package Base: krdp-git
Description: Library and examples for creating an RDP server.
Upstream URL: https://invent.kde.org/plasma/krdp
Licenses: LGPL
Conflicts: krdp
Provides: krdp
Submitter: huyz
Maintainer: huyz
Last Packager: huyz
Votes: 1
Popularity: 0.80
First Submitted: 2024-05-13 12:06 (UTC)
Last Updated: 2024-05-13 12:06 (UTC)

Latest Comments

DarkestZero commented on 2024-05-24 08:36 (UTC)

@x-f According to "https://invent.kde.org/plasma/krdp/-/commit/d3e101716458e5f3a038a3f4a0f75288cb3a804b", please wait for kpipewire to be upgraded to 6.0.5

x-f commented on 2024-05-17 22:08 (UTC) (edited on 2024-05-17 22:08 (UTC) by x-f)

@huyz I did that already. There are so many errors (not warnings) like

src/krdp/src/PortalSession.cpp:277:28: error: ‘class PipeWireEncodedStream’ has no member named ‘setEncodingPreference’
  277 |             encodedStream->setEncodingPreference(PipeWireBaseEncodedStream::EncodingPreference::Speed);
      |                            ^~~~~~~~~~~~~~~~~~~~~
src/krdp/src/PortalSession.cpp:277:77: error: ‘PipeWireBaseEncodedStream::EncodingPreference’ has not been declared
  277 |             encodedStream->setEncodingPreference(PipeWireBaseEncodedStream::EncodingPreference::Speed);
      |                                                                             ^~~~~~~~~~~~~~~~~~
...
make[2]: *** [src/CMakeFiles/KRdp.dir/build.make:362: src/CMakeFiles/KRdp.dir/PortalSession.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:518: src/CMakeFiles/KRdp.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

kpipewire 6.0.4-1 is installed and based on file list it contains the PipeWireEncodedStream class. I tried a lot of things (looking at the flatpkg build instructions to find something)

saxtro commented on 2024-05-16 21:08 (UTC) (edited on 2024-05-16 21:09 (UTC) by saxtro)

I think the missing command is from newer file "/usr/lib/cmake/KF6Config/KF6ConfigMacros.cmake"

Latest version has the missing function: https://github.com/KDE/kconfig/blob/master/KF6ConfigMacros.cmake (check for kconfig_target_kcfg_file)

while the one i have in my installation has not.

(btw, i got the same expection as @akhenakh when trying to build the AUR package. I can reproduce also cloning the krdp repo and starting cmake manually)

akhenakh commented on 2024-05-16 13:53 (UTC) (edited on 2024-05-16 13:53 (UTC) by akhenakh)

Failed to compile krdp-git r244.10dc5d7-1

CMake Error at src/kcm/CMakeLists.txt:16 (kconfig_target_kcfg_file):
  Unknown CMake command "kconfig_target_kcfg_file".

huyz commented on 2024-05-16 10:27 (UTC)

@x-f Uninstall freerdp 3.x package or build in a clean chroot.

x-f commented on 2024-05-16 05:18 (UTC)

I tried to build it before you added it to AUR and I still can't build it with your PKGBUILD. Any hint (e.g. downgrade) or is it just broken?

I get a lot of errors.