<div dir="ltr"><div>Moin omin <br></div><div><br></div><div>Add it as a poudriere ports tree and build the package..., or cd into it and run make...</div><div><br></div><div>As to your error with my script, well, I assume you don't have a /memory - tmpfs :)</div><div> always read and adapt scripts to your situation, don't blindly run them...<br></div><div><br></div><div>mfg Tobias<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 22 Jul 2024 at 09:40, Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello.</div><div><br></div><div>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 ? <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 21, 2024 at 8:38 PM Tobias C. Berner <<a href="mailto:tcberner@gmail.com" target="_blank">tcberner@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Moin moin <br></div><div><br></div><div>No I'm not contradicting myself, it was probably just not clearly stated... :) -- as I said, they conflict, as they install the same <br></div><div>desktop in different versions... <br></div><div>So, don't install plasma5 if you want to use plasma6 -- the only port that might be needed of plasma5-plasma-integration. </div><div>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 </div><div>package.</div><div><br></div><div>I really recommend to use this tree instead of main:<br></div><div><a href="https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6" target="_blank">https://github.com/freebsd/freebsd-ports-kde/tree/kde-it_goes_to_6</a></div><div><br></div><div><br></div><div>You can then create a shell-script ala</div><div><br></div><div>###</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">#!/bin/sh</span><br>export QT_DEBUG_PLUGINS=1
<br># export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
<br>export WAYLAND_DEBUG=1
<br># export XDG_SESSION_TYPE=wayland
<br><br>ck-launch-session dbus-run-session truss /usr/local/bin/startplasma-wayland >& /memory/startplasma.log</span></div><div>#### </div><div><br></div><div>to try to run plasma... you likely get an output like</div><div><br></div><div>###</div><div><pre>[...]<br>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.<br>[...]<br></pre></div><div>###</div><div>before it fails :/<br></div><div><br></div><div>mfg Tobias<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 21 Jul 2024 at 14:05, Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>---> 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. </div><div><br></div><div>We can't stick to one version if plasma5 and plasma6 components conflict. You are contradicting yourself.<br></div><div><br></div><div>If there are no conflicts, the output by :<br></div>
<div><code style="background-color:rgb(222,227,231);padding:0.2px;margin:0.1em;display:inline-block"> <kbd><br></kbd></code></div><div><code style="background-color:rgb(222,227,231);padding:0.2px;margin:0.1em;display:inline-block"><kbd>diff -u -p -N /usr/ports/x11-wm/plasma5-kwin/pkg-plist /usr/ports/x11-wm/plasma6-kwin/pkg-plist</kbd></code></div><div><br>
</div><div>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.</div><div><br>
</div><div>There are many common lines such as:</div>
<blockquote>
<div>
<div>
@@ -1,49 +1,275 @@ bin/kwin_x11<br>
bin/kwin_wayland<br>
bin/kwin_wayland_wrapper<br>
bin/kwin_x11<br>
-include/kwin_export.h<br>
-include/kwinanimationeffect.h
</div>
</div>
</blockquote>The "-" at the top of lines means it appears on the first file but not on the second.<br>
<br>
Edit: Quote functionality does not do its work as intended. <img alt=":(" width="1" height="1">There should be a single space before <code>bin/kwin_wayland</code>, <code>bin/kwin_wayland_wrapper</code> and <code>bin/kwin_x11</code> in the quoted example above.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 20, 2024 at 11:10 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks. <br></div><div><br></div><div>Can you write a small tutorial for us ? I've been working on this for months.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 20, 2024 at 10:56 PM Tobias C. Berner <<a href="mailto:tcberner@gmail.com" target="_blank">tcberner@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Moin moin<br>
<br>
You should not install any plasma5 components that are not pulled in<br>
by plasma6 -- they conflict, as they are both the KDE Desktop... and<br>
therefore share files and services :) -- so stick to one version.<br>
<br>
<br>
I have not yet got the plasma6-wayland session working on my end<br>
though -- I can start the plasma-desktop inside a running wayland<br>
compositor, but I cannot bring up kwin as compositor.<br>
<br>
<br>
mfg Tobias<br>
<br>
On Sat, 20 Jul 2024 at 22:36, Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br>
><br>
> Hello.<br>
><br>
> Here at <a href="http://forums.freebsd.org" rel="noreferrer" target="_blank">forums.freebsd.org</a> we are trying to install KDE 6 with Wayland,but we are failing. The thread is here :<br>
><br>
> <a href="https://forums.freebsd.org/threads/trying-to-run-kde-6-plasma-with-wayland.93951/" rel="noreferrer" target="_blank">https://forums.freebsd.org/threads/trying-to-run-kde-6-plasma-with-wayland.93951/</a><br>
><br>
> Do you have some kind of suggestion to give to us ?<br>
> 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.<br>
> What should we do ?<br>
><br>
> thanks.<br>
><br>
> --<br>
> Mario.<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div>