KDE 6 + Wayland : it works or not ?

Mario Marietto marietto2008 at gmail.com
Mon Jul 22 16:36:32 BST 2024


 I'm not sure if poudriere will fix that bug (that I saw every time I have
restarted the compilation using an earlier version of the vm). I suspect
that learning poudriere can't help me and it is a waste of time.

On Mon, Jul 22, 2024 at 3:16 PM Tobias C. Berner <tcberner at gmail.com> wrote:

> It builds for both wayland and x11.
>
> Mfg Tobias
>
> ---------- Forwarded message ---------
> Von: Mario Marietto <marietto2008 at gmail.com>
> Date: Mo., 22. Juli 2024, 14:53
> Subject: Re: KDE 6 + Wayland : it works or not ?
> To: Tobias C. Berner <tcberner at gmail.com>
> Cc: <kde-freebsd at kde.org>
>
>
> ---> It's x11/kde (
> https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6/x11/kde6
> <https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6/x11/kde>
>
> I suspect that x11/kde6 will compile kde6 for x11,not for wayland. Are you
> sure that it includes the necessary wayland packages ? I want to run kde 6
> on wayland,not on x11.
>
> On Mon, Jul 22, 2024 at 2:24 PM Tobias C. Berner <tcberner at gmail.com>
> wrote:
>
>> Moin moin
>>
>> Please use poudriere. I will not look into other compilation failures.
>>
>> mfg Tobias
>>
>> On Mon, 22 Jul 2024 at 14:17, Mario Marietto <marietto2008 at gmail.com>
>> wrote:
>>
>>> [image: Istantanea_2024-07-22_14-16-04.png]
>>>
>>> On Mon, Jul 22, 2024 at 2:11 PM Tobias C. Berner <tcberner at gmail.com>
>>> wrote:
>>>
>>>> Moin moin
>>>>
>>>> The issue is that the kf5-packages you have installed come from main
>>>> and not from the new ports tree.
>>>> You can pkg-delete them first, and then have them reinstalled from the
>>>> new ports tree. There they are
>>>> configured to be co-installable with the kf6-variants.
>>>>
>>>>
>>>> Here's a good start to using poudriere:
>>>> https://docs.freebsd.org/en/books/handbook/ports/#ports-poudriere
>>>>
>>>>
>>>> mfg Tobias
>>>>
>>>> On Mon, 22 Jul 2024 at 14:07, Mario Marietto <marietto2008 at gmail.com>
>>>> wrote:
>>>>
>>>>> ----> or cd into it and run make...
>>>>>
>>>>> that's wrong :
>>>>>
>>>>> [image: Istantanea_2024-07-22_14-05-17.png]
>>>>>
>>>>> /never used poudriere/ ; I don't know how to use it.
>>>>>
>>>>>
>>>>> On Mon, Jul 22, 2024 at 1:44 PM Mario Marietto <marietto2008 at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> What's the kde 6 meta port that I should make as the first one ? I've
>>>>>> compiled the plasma6-plasma port,but when it finished,it didn't start the
>>>>>> compilation of the dependencies. I can't compile any port.
>>>>>>
>>>>>> On Mon, Jul 22, 2024 at 11:34 AM Tobias C. Berner <tcberner at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Moin omin
>>>>>>>
>>>>>>> Add it as a poudriere ports tree and build the package..., or cd
>>>>>>> into it and run make...
>>>>>>>
>>>>>>> As to your error with my script, well, I assume you don't have a
>>>>>>> /memory - tmpfs :)
>>>>>>>  always read and adapt scripts to your situation, don't blindly run
>>>>>>> them...
>>>>>>>
>>>>>>> mfg Tobias
>>>>>>>
>>>>>>> On Mon, 22 Jul 2024 at 09:40, Mario Marietto <marietto2008 at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hello.
>>>>>>>>
>>>>>>>> I've downloaded the ports tree. What should I do now ? How can I
>>>>>>>> install kde 6 starting from the ports tree that you gave to me ?
>>>>>>>>
>>>>>>>> On Sun, Jul 21, 2024 at 8:38 PM Tobias C. Berner <
>>>>>>>> tcberner at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Moin moin
>>>>>>>>>
>>>>>>>>> No I'm not contradicting myself, it was probably just not clearly
>>>>>>>>> stated... :) -- as I said, they conflict, as they install the same
>>>>>>>>> desktop in different versions...
>>>>>>>>> So, don't install plasma5 if you want to use plasma6 -- the only
>>>>>>>>> port that might be needed of plasma5-plasma-integration.
>>>>>>>>> If you want to try to use plasma6 and try to get wayland up, make
>>>>>>>>> sure to remove plasma5* and just install the plasma6-plasma
>>>>>>>>> package.
>>>>>>>>>
>>>>>>>>> I really recommend to use this tree instead of main:
>>>>>>>>> https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> You can then create a shell-script ala
>>>>>>>>>
>>>>>>>>> ###
>>>>>>>>> #!/bin/sh
>>>>>>>>> export QT_DEBUG_PLUGINS=1
>>>>>>>>> # export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
>>>>>>>>> export WAYLAND_DEBUG=1
>>>>>>>>> # export XDG_SESSION_TYPE=wayland
>>>>>>>>>
>>>>>>>>> ck-launch-session dbus-run-session truss
>>>>>>>>> /usr/local/bin/startplasma-wayland >& /memory/startplasma.log
>>>>>>>>> ####
>>>>>>>>>
>>>>>>>>> to try to run plasma... you likely get an output like
>>>>>>>>>
>>>>>>>>> ###
>>>>>>>>>
>>>>>>>>> [...]
>>>>>>>>> qt.core.library: "/usr/local/lib/qt6/plugins/platforms/libqwayland-generic.so" loaded library
>>>>>>>>> Failed to create wl_display (No such file or directory)
>>>>>>>>> qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
>>>>>>>>> qt.core.library: "/usr/local/lib/qt6/plugins/platforms/libqxcb.so" loaded library
>>>>>>>>> qt.qpa.xcb: could not connect to display :0
>>>>>>>>> qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
>>>>>>>>> [...]
>>>>>>>>>
>>>>>>>>> ###
>>>>>>>>> before it fails :/
>>>>>>>>>
>>>>>>>>> mfg Tobias
>>>>>>>>>
>>>>>>>>> On Sun, 21 Jul 2024 at 14:05, Mario Marietto <
>>>>>>>>> marietto2008 at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> ---> You should not install any plasma5 components that are not
>>>>>>>>>> pulled in by plasma6 -- they conflict, as they are both the KDE Desktop...
>>>>>>>>>> and therefore share files and services :) -- so stick to one version.
>>>>>>>>>>
>>>>>>>>>> We can't stick to one version if plasma5 and plasma6 components
>>>>>>>>>> conflict. You are contradicting yourself.
>>>>>>>>>>
>>>>>>>>>> If there are no conflicts, the output by :
>>>>>>>>>>
>>>>>>>>>> diff -u -p -N /usr/ports/x11-wm/plasma5-kwin/pkg-plist
>>>>>>>>>> /usr/ports/x11-wm/plasma6-kwin/pkg-plist
>>>>>>>>>>
>>>>>>>>>> should not have lines started with a single space. Single space
>>>>>>>>>> of unified diffs on top of lines means it's common with 2 files compared.
>>>>>>>>>>
>>>>>>>>>> There are many common lines such as:
>>>>>>>>>>
>>>>>>>>>> @@ -1,49 +1,275 @@ bin/kwin_x11
>>>>>>>>>> bin/kwin_wayland
>>>>>>>>>> bin/kwin_wayland_wrapper
>>>>>>>>>> bin/kwin_x11
>>>>>>>>>> -include/kwin_export.h
>>>>>>>>>> -include/kwinanimationeffect.h
>>>>>>>>>>
>>>>>>>>>> The "-" at the top of lines means it appears on the first file
>>>>>>>>>> but not on the second.
>>>>>>>>>>
>>>>>>>>>> Edit: Quote functionality does not do its work as intended. [image:
>>>>>>>>>> :(]There should be a single space before bin/kwin_wayland,
>>>>>>>>>> bin/kwin_wayland_wrapper and bin/kwin_x11 in the quoted example
>>>>>>>>>> above.
>>>>>>>>>>
>>>>>>>>>> On Sat, Jul 20, 2024 at 11:10 PM Mario Marietto <
>>>>>>>>>> marietto2008 at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> Can you write a small tutorial for us ? I've been working on
>>>>>>>>>>> this for months.
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Jul 20, 2024 at 10:56 PM Tobias C. Berner <
>>>>>>>>>>> tcberner at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Moin moin
>>>>>>>>>>>>
>>>>>>>>>>>> You should not install any plasma5 components that are not
>>>>>>>>>>>> pulled in
>>>>>>>>>>>> by plasma6 -- they conflict, as they are both the KDE
>>>>>>>>>>>> Desktop... and
>>>>>>>>>>>> therefore share files and services :) -- so stick to one
>>>>>>>>>>>> version.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> I have not yet got the plasma6-wayland session working on my end
>>>>>>>>>>>> though -- I can start the plasma-desktop inside a running
>>>>>>>>>>>> wayland
>>>>>>>>>>>> compositor, but I cannot bring up kwin as compositor.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> mfg Tobias
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, 20 Jul 2024 at 22:36, Mario Marietto <
>>>>>>>>>>>> marietto2008 at gmail.com> wrote:
>>>>>>>>>>>> >
>>>>>>>>>>>> > Hello.
>>>>>>>>>>>> >
>>>>>>>>>>>> > Here at forums.freebsd.org we are trying to install KDE 6
>>>>>>>>>>>> with Wayland,but we are failing. The thread is here :
>>>>>>>>>>>> >
>>>>>>>>>>>> >
>>>>>>>>>>>> https://forums.freebsd.org/threads/trying-to-run-kde-6-plasma-with-wayland.93951/
>>>>>>>>>>>> >
>>>>>>>>>>>> > Do you have some kind of suggestion to give to us ?
>>>>>>>>>>>> > The main problem seems to be that there is a conflict between
>>>>>>>>>>>> plasma5-kwin and plasma6-kwin ; some kde5 and kde6 packages are mixed and
>>>>>>>>>>>> this creates some issues.
>>>>>>>>>>>> > What should we do ?
>>>>>>>>>>>> >
>>>>>>>>>>>> > thanks.
>>>>>>>>>>>> >
>>>>>>>>>>>> > --
>>>>>>>>>>>> > Mario.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Mario.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Mario.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Mario.
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Mario.
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mario.
>>>>>
>>>>
>>>
>>> --
>>> Mario.
>>>
>>
>
> --
> Mario.
>


-- 
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20240722/327486e3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Istantanea_2024-07-22_14-05-17.png
Type: image/png
Size: 49227 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20240722/327486e3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Istantanea_2024-07-22_14-16-04.png
Type: image/png
Size: 68345 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20240722/327486e3/attachment-0003.png>


More information about the kde-freebsd mailing list