Re: KPipeWire in kdereview

2022-05-30 Thread Aleix Pol
On Mon, May 30, 2022 at 3:44 PM Albert Astals Cid  wrote:
>
> El dilluns, 30 de maig de 2022, a les 14:55:55 (CEST), Aleix Pol va escriure:
> > Hi,
> > I'd like to get KPipeWire (https://invent.kde.org/plasma/kpipewire)
> > released from KDE eventually.
> >
> > At the moment it's under Plasma as it's the only place where it's
> > being used, I know we might want to use it in spectacle eventually,
> > although I feel like it's premature to get it in frameworks just yet,
> > although it should be a possibility down the line.
> >
> > If you wanted to test it beyond what Plasma does, you can try this
> > little app for recording your wayland desktops and windows.
> > https://invent.kde.org/apol/screenrecord
>
> It needs a Messages.sh

Added

> This signal is never emited?
>   void cursorModeChanged(Screencasting::CursorMode cursorMode);

Addressed.
>
> This property NOTIFY signal is wrong?
>   Q_PROPERTY(QString outputName READ outputName WRITE setOutputName NOTIFY 
> uuidChanged)
>

Addressed.

> The 3 signals in ScreencastingStream are never emitted?

they are emitted from ScreencastingStreamPrivate, the overriden
methods from the qtwayland generated code.

>
> PipeWireCore header is installed but not exported. If you export it, it will 
> need a d-pointer

Not installed anymore.

> PipeWireSourceItem is exported but has no d-pointer

Not installed anymore.

Left it to only install PipeWireSourceStream for now, which is the one
that is useful when you don't want to do QML.

Aleix


Re: KPipeWire in kdereview

2022-05-30 Thread Aleix Pol
> - xdp-recordme probably shouldn't be installed (by default)?

Thing is you need the test to be installed to work to request more
privileges to KWin. I guess we could default to BUILD_TESTING=OFF?

The rest of the points here are either addressed in master.

On Mon, May 30, 2022 at 3:17 PM Nicolas Fella  wrote:
>
> On Monday, May 30, 2022 2:55:55 PM CEST Aleix Pol wrote:
>
> > Hi,
> > I'd like to get KPipeWire (https://invent.kde.org/plasma/kpipewire)
> > released from KDE eventually.
> >
> > At the moment it's under Plasma as it's the only place where it's
> > being used, I know we might want to use it in spectacle eventually,
> > although I feel like it's premature to get it in frameworks just yet,
> > although it should be a possibility down the line.
> >
> > If you wanted to test it beyond what Plasma does, you can try this
> > little app for recording your wayland desktops and windows.
> > https://invent.kde.org/apol/screenrecord
> >
> > Cheers!
> > Aleix
>
>
> Hi,
>
> - The repo could use a README that explains what it is and isn't
> - The repo probably shouldn't have a .kdev4 file
> - CMakeLists.txt states 5.20 as minimum ECM version. That sounds wrong
> - (some of) the pkg_check_modules calls should probably have REQUIRED
> - I get some build warnings:
>
> [9/46] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o
> /home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
> initializer for member ‘pw_core_events::done’ [-Wmissing-field-initializers]
>21 | };
>   | ^
> /home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
> initializer for member ‘pw_core_events::ping’ [-Wmissing-field-initializers]
> /home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
> initializer for member ‘pw_core_events::remove_id’ [-Wmissing-field-
> initializers]
> /home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
> initializer for member ‘pw_core_events::bound_id’ [-Wmissing-field-
> initializers]
> /home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
> initializer for member ‘pw_core_events::add_mem’ 
> [-Wmissing-field-initializers]
> /home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
> initializer for member ‘pw_core_events::remove_mem’ [-Wmissing-field-
> initializers]
>
> - ecm_add_qtwayland_client_protocol can take a target since recently
> - xdp-recordme probably shouldn't be installed (by default)?
> - There's no FreeBSD CI yet
>
> These are some minor things I noticed while glossing over. I won't pretent to
> understand enough about PipeWire to comment on the actual code.
>
> Cheers
>
> Nico


Re: KPipeWire in kdereview

2022-05-30 Thread Albert Astals Cid
El dilluns, 30 de maig de 2022, a les 14:55:55 (CEST), Aleix Pol va escriure:
> Hi,
> I'd like to get KPipeWire (https://invent.kde.org/plasma/kpipewire)
> released from KDE eventually.
> 
> At the moment it's under Plasma as it's the only place where it's
> being used, I know we might want to use it in spectacle eventually,
> although I feel like it's premature to get it in frameworks just yet,
> although it should be a possibility down the line.
> 
> If you wanted to test it beyond what Plasma does, you can try this
> little app for recording your wayland desktops and windows.
> https://invent.kde.org/apol/screenrecord

It needs a Messages.sh

This signal is never emited?
  void cursorModeChanged(Screencasting::CursorMode cursorMode);

This property NOTIFY signal is wrong?
  Q_PROPERTY(QString outputName READ outputName WRITE setOutputName NOTIFY 
uuidChanged)


The 3 signals in ScreencastingStream are never emitted?

PipeWireCore header is installed but not exported. If you export it, it will 
need a d-pointer

PipeWireSourceItem is exported but has no d-pointer

> 
> Cheers!
> Aleix
> 






Re: KPipeWire in kdereview

2022-05-30 Thread Nicolas Fella

On Monday, May 30, 2022 2:55:55 PM CEST Aleix Pol wrote:

   >Hi,
   >I'd like to get KPipeWire (https://invent.kde.org/plasma/kpipewire)
   >released from KDE eventually.
   >
   >At the moment it's under Plasma as it's the only place where it's
   >being used, I know we might want to use it in spectacle eventually,
   >although I feel like it's premature to get it in frameworks just yet,
   >although it should be a possibility down the line.
   >
   >If you wanted to test it beyond what Plasma does, you can try this
   >little app for recording your wayland desktops and windows.
   >https://invent.kde.org/apol/screenrecord
   >
   >Cheers!
   >Aleix


Hi,

- The repo could use a README that explains what it is and isn't
- The repo probably shouldn't have a .kdev4 file
- CMakeLists.txt states 5.20 as minimum ECM version. That sounds wrong
- (some of) the pkg_check_modules calls should probably have REQUIRED
- I get some build warnings:

[9/46] Building CXX object src/CMakeFiles/KPipeWire.dir/pipewirecore.cpp.o
/home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
initializer for member ‘pw_core_events::done’ [-Wmissing-field-initializers]
   21 | };
  | ^
/home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
initializer for member ‘pw_core_events::ping’ [-Wmissing-field-initializers]
/home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
initializer for member ‘pw_core_events::remove_id’ [-Wmissing-field-
initializers]
/home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
initializer for member ‘pw_core_events::bound_id’ [-Wmissing-field-
initializers]
/home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
initializer for member ‘pw_core_events::add_mem’
[-Wmissing-field-initializers]
/home/nico/kde/src/kpipewire/src/pipewirecore.cpp:21:1: warning: missing
initializer for member ‘pw_core_events::remove_mem’ [-Wmissing-field-
initializers]

- ecm_add_qtwayland_client_protocol can take a target since recently
- xdp-recordme probably shouldn't be installed (by default)?
- There's no FreeBSD CI yet

These are some minor things I noticed while glossing over. I won't
pretent to
understand enough about PipeWire to comment on the actual code.

Cheers

Nico


KPipeWire in kdereview

2022-05-30 Thread Aleix Pol
Hi,
I'd like to get KPipeWire (https://invent.kde.org/plasma/kpipewire)
released from KDE eventually.

At the moment it's under Plasma as it's the only place where it's
being used, I know we might want to use it in spectacle eventually,
although I feel like it's premature to get it in frameworks just yet,
although it should be a possibility down the line.

If you wanted to test it beyond what Plasma does, you can try this
little app for recording your wayland desktops and windows.
https://invent.kde.org/apol/screenrecord

Cheers!
Aleix