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: None
Last Packager: huyz
Votes: 1
Popularity: 0.045360
First Submitted: 2024-05-13 12:06 (UTC)
Last Updated: 2024-05-13 12:06 (UTC)

Latest Comments

1 2 Next › Last »

akhenakh commented on 2024-07-18 12:24 (UTC)

according to https://github.com/KDE/kpipewire/commit/6cb029d697514e54c96b74899f837efcc464b8a9 EncodingPreference has been added to 6.1.3

akhenakh commented on 2024-07-18 12:13 (UTC) (edited on 2024-07-18 12:14 (UTC) by akhenakh)

extra/kpipewire 6.0.5-3 has been released but krdp compilation still failing:

[ 46%] Building CXX object src/CMakeFiles/KRdp.dir/PlasmaScreencastV1Session.cpp.o
In file included from /usr/include/winpr2/winpr/file.h:28,
                 from /usr/include/winpr2/winpr/wtsapi.h:28,
                 from /usr/include/freerdp2/freerdp/types.h:25,
                 from /usr/include/freerdp2/freerdp/dvc.h:56,
                 from /usr/include/freerdp2/freerdp/channels/rdpgfx.h:24,
                 from /usr/include/freerdp2/freerdp/server/rdpgfx.h:23,
                 from /home/x/.cache/yay/krdp-git/src/krdp/src/VideoStream.h:16,
                 from /home/x/.cache/yay/krdp-git/src/krdp/src/AbstractSession.h:7,
                 from /home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.h:16,
                 from /home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.cpp:5:
/usr/include/winpr2/winpr/io.h:40:17: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
   40 |                 {
      |                 ^
/home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.cpp: In lambda function:
/home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.cpp:173:24: error: ‘class PipeWireEncodedStream’ has no member named ‘setEncodingPreference’
  173 |         encodedStream->setEncodingPreference(PipeWireBaseEncodedStream::EncodingPreference::Speed);
      |                        ^~~~~~~~~~~~~~~~~~~~~
/home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.cpp:173:73: error: ‘PipeWireBaseEncodedStream::EncodingPreference’ has not been declared
  173 |         encodedStream->setEncodingPreference(PipeWireBaseEncodedStream::EncodingPreference::Speed);

x-f commented on 2024-06-11 01:06 (UTC)

I switched to krdp package from KDE unstable repo. Even with 6.1 Beta it wouldn't build at all.

akhenakh commented on 2024-06-11 01:02 (UTC)

Same error as whysthatso:

/home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.cpp:173:24: error: ‘class PipeWireEncodedStream’ has no member named ‘setEncodingPreference’
  173 |         encodedStream->setEncodingPreference(PipeWireBaseEncodedStream::EncodingPreference::Speed);
      |                        ^~~~~~~~~~~~~~~~~~~~~
/home/x/.cache/yay/krdp-git/src/krdp/src/PlasmaScreencastV1Session.cpp:173:73: error: ‘PipeWireBaseEncodedStream::EncodingPreference’ has not been declared
  173 |         encodedStream->setEncodingPreference(PipeWireBaseEncodedStream::EncodingPreference::Speed);
      |               

whysthatso commented on 2024-06-06 10:06 (UTC)

i'm seeing the same errors as @x-f and i have kpipewire 6.0.5, removed freerdp, and also a previous nomachine setup i had running.

has this possible not been included in 6.0.5?

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.