[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Plasma 5 is awesome...and some help required with build instructions
From: Bernhard Friedreich <friesoft () gmail ! com>
Date: 2015-03-31 19:28:00
Message-ID: CAP-Zmpy-XT-7k0NyWzZYUtxSSzC8nzcdF_Ns6gMKO4VoS+Ge5w () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I finally found the problem - the instructions on the wiki were updated
since my setup and I was lacking some lib64 directories in the
runPlasma5.sh script..
Thanks for the documentation and your help! :)
2015-03-31 20:44 GMT+02:00 Bernhard Friedreich <friesoft@gmail.com>:
> To me the XDG_DATA_DIRS path looks right..
>
> [friedreb@pollux kde]$ awk -v 'RS=\0' -F= '$1=="XDG_DATA_DIRS" {print
> $2}' /proc/3183/environ
> /products/kde/install/share:/usr/share
> [friedreb@pollux kde]$ ls -la /products/kde/install/share/ | wc -l
>
> 73
> [friedreb@pollux kde]$ ls -la /products/kde/install/share/ | head -n 5
> insgesamt 0
> drwxrwxr-x. 1 friedreb friedreb 1282 30. Mär 20:51 .
> drwxrwxr-x. 1 friedreb friedreb 66 30. Mär 17:20 ..
> drwxrwxr-x. 1 friedreb friedreb 1208 30. Mär 20:51 applications
> drwxrwxr-x. 1 friedreb friedreb 24 29. Mär 22:43 apps
>
>
> Any other ideas?
>
> Thanks
> Bernhard
>
> 2015-03-30 22:22 GMT+02:00 David Edmundson <david@davidedmundson.co.uk>:
>
>>
>>
>>> Any ideas? (attached the output/bt I got from gdb)
>>>
>>>
>> it's an assert in "could not find any theme"
>>
>> At a guess you XDG_DATA_DIRS are wrong.
>>
>> cat /proc/PIDOFPLASMASHELL/env will tell you the most
>>
>>
>>
>>> Thanks :)
>>>
>>> Bye,
>>> Bernhard Friedreich
>>>
>>>
>>>
>>>
>>> 2015-03-28 19:23 GMT+01:00 Siddhartha <sh.siddhartha@gmail.com>:
>>>
>>>> Hi David,
>>>>
>>>> Thanks a lot for your comments!
>>>>
>>>> On 28 March 2015 at 20:23, David Edmundson <david@davidedmundson.co.uk>
>>>> wrote:
>>>> > I don't think we should tell people to download's David Faure's
>>>> > kdesrc-buildrc file. It has "/d" hardcoded a lot.
>>>> >
>>>> > If we make our own we don't need people to change it and can have the
>>>> same
>>>> > directories you use for the rest of this.
>>>>
>>>> Good point. I took this section from Frameworks/Building, didn't think
>>>> too much :P
>>>> Maybe we should update that page too?
>>>>
>>>> > That's installing to /opt/kde5 but we need to create those
>>>> directories first
>>>> > (as root and change permissions)
>>>>
>>>> Instructions already present :)
>>>>
>>>> > If this is about plasma change:
>>>> >
>>>> > include extragear/utils/kdesrc-build/kf5-qt5-build-include
>>>> >
>>>> > to
>>>> > include extragear/utils/kdesrc-build/kf5-frameworks-build-include
>>>> > include extragear/utils/kdesrc-build/kf5-workspace-build-include
>>>> >
>>>> > this way you won't build apps and pim
>>>>
>>>> Cool. Changed the whole section.
>>>>
>>>> > export XDG_CACHE_HOME=/home/user/.kde5/cache
>>>> >
>>>> > only works if you happen to be called user.
>>>> > I'm pretty sure you can do export XDG_CACHE_HOME=$HOME/.whatever
>>>>
>>>> Ah right, fixed.
>>>>
>>>> > Personally I wouldn't change the paths, you lose your firefox
>>>> settings, and
>>>> > with the .xinitrc hack later you're only going to be loading this
>>>> session
>>>> > from now on anyway.
>>>>
>>>> Hmm. I preferred having clean Plasma 5 config paths. These lines are
>>>> now commented out by default.
>>>>
>>>> > The setup is a bit broken, if you do the login manager way.
>>>> > yet if you log into your distro session and then start anything dbus
>>>> > activated it will load from /opt/kde/install which is at best a bit
>>>> weird.
>>>>
>>>> Ah right. But logging in to a Plasma 4 seemed to work fine. Ideally
>>>> one should remove the dbus config before starting the distro session,
>>>> yes.
>>>>
>>>> > you need to say login manager way and the .xinit way are mutually
>>>> exclusive
>>>> > (well you can do both, but it'd be weird)
>>>>
>>>> Done.
>>>>
>>>> > add a line saying to log out and back in.
>>>>
>>>> Done
>>>>
>>>> Cheers!
>>>> _______________________________________________
>>>> Plasma-devel mailing list
>>>> Plasma-devel@kde.org
>>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>>
>>>
>>>
>>> _______________________________________________
>>> Plasma-devel mailing list
>>> Plasma-devel@kde.org
>>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>>
>>>
>>
>> _______________________________________________
>> Plasma-devel mailing list
>> Plasma-devel@kde.org
>> https://mail.kde.org/mailman/listinfo/plasma-devel
>>
>>
>
[Attachment #5 (text/html)]
<div dir="ltr">I finally found the problem - the instructions on the wiki were \
updated since my setup and I was lacking some lib64 directories in the runPlasma5.sh \
script..<div><br></div><div>Thanks for the documentation and your help! :) \
</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-31 20:44 \
GMT+02:00 Bernhard Friedreich <span dir="ltr"><<a href="mailto:friesoft@gmail.com" \
target="_blank">friesoft@gmail.com</a>></span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr">To me the XDG_DATA_DIRS path looks right..<div><br></div><div>
<div>
<span style="font-family:monospace"><span style="color:rgb(0,0,0)">[friedreb@pollux \
kde]$ awk -v 'RS=\0' -F= '$1=="XDG_DATA_DIRS" {print $2}' \
/proc/3183/environ </span><br>/products/kde/install/share:/usr/share
<br>[friedreb@pollux kde]$ ls -la /products/kde/install/share/ | wc -l \
<br>73</span></div><div>
<div>
<span style="font-family:monospace"><span style="color:rgb(0,0,0)">[friedreb@pollux \
kde]$ ls -la /products/kde/install/share/ | head -n 5 </span><br>insgesamt 0
<br>drwxrwxr-x. 1 friedreb friedreb 1282 30. Mär 20:51 .
<br>drwxrwxr-x. 1 friedreb friedreb 66 30. Mär 17:20 ..
<br>drwxrwxr-x. 1 friedreb friedreb 1208 30. Mär 20:51 applications
<br>drwxrwxr-x. 1 friedreb friedreb 24 29. Mär 22:43 apps<br>
<br></span></div><span style="font-family:monospace">
<br></span></div></div><div><span style="font-family:monospace">Any other \
ideas?</span></div><div><span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace">Thanks</span></div><span class="HOEnZb"><font \
color="#888888"><div><span \
style="font-family:monospace">Bernhard</span></div></font></span></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">2015-03-30 22:22 GMT+02:00 David Edmundson <span dir="ltr"><<a \
href="mailto:david@davidedmundson.co.uk" \
target="_blank">david@davidedmundson.co.uk</a>></span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div \
class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr"><div><br></div><div>Any ideas? (attached the output/bt I got from \
gdb)</div><div><br></div></div></blockquote><div><br></div></span><div>it's an \
assert in "could not find any theme" </div><div><br></div><div>At a guess \
you XDG_DATA_DIRS are wrong.</div><div><br></div><div>cat /proc/PIDOFPLASMASHELL/env \
will tell you the most</div><div><div><div><br></div><div> </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr"><div></div><div>Thanks :)</div><div><br></div><div>Bye,</div><div>Bernhard \
Friedreich</div><div><br></div><div><br></div><div><br></div></div><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">2015-03-28 19:23 GMT+01:00 \
Siddhartha <span dir="ltr"><<a href="mailto:sh.siddhartha@gmail.com" \
target="_blank">sh.siddhartha@gmail.com</a>></span>:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi \
David,<br> <br>
Thanks a lot for your comments!<br>
<span><br>
On 28 March 2015 at 20:23, David Edmundson <<a \
href="mailto:david@davidedmundson.co.uk" \
target="_blank">david@davidedmundson.co.uk</a>> wrote:<br> > I don't think \
we should tell people to download's David Faure's<br> > kdesrc-buildrc \
file. It has "/d" hardcoded a lot.<br> ><br>
> If we make our own we don't need people to change it and can have the \
same<br> > directories you use for the rest of this.<br>
<br>
</span>Good point. I took this section from Frameworks/Building, didn't think<br>
too much :P<br>
Maybe we should update that page too?<br>
<span><br>
> That's installing to /opt/kde5 but we need to create those directories \
first<br> > (as root and change permissions)<br>
<br>
</span>Instructions already present :)<br>
<span><br>
> If this is about plasma change:<br>
><br>
> include extragear/utils/kdesrc-build/kf5-qt5-build-include<br>
><br>
> to<br>
> include extragear/utils/kdesrc-build/kf5-frameworks-build-include<br>
> include extragear/utils/kdesrc-build/kf5-workspace-build-include<br>
><br>
> this way you won't build apps and pim<br>
<br>
</span>Cool. Changed the whole section.<br>
<span><br>
> export XDG_CACHE_HOME=/home/user/.kde5/cache<br>
><br>
> only works if you happen to be called user.<br>
> I'm pretty sure you can do export XDG_CACHE_HOME=$HOME/.whatever<br>
<br>
</span>Ah right, fixed.<br>
<span><br>
> Personally I wouldn't change the paths, you lose your firefox settings, \
and<br> > with the .xinitrc hack later you're only going to be loading this \
session<br> > from now on anyway.<br>
<br>
</span>Hmm. I preferred having clean Plasma 5 config paths. These lines are<br>
now commented out by default.<br>
<span><br>
> The setup is a bit broken, if you do the login manager way.<br>
> yet if you log into your distro session and then start anything dbus<br>
> activated it will load from /opt/kde/install which is at best a bit weird.<br>
<br>
</span>Ah right. But logging in to a Plasma 4 seemed to work fine. Ideally<br>
one should remove the dbus config before starting the distro session,<br>
yes.<br>
<span><br>
> you need to say login manager way and the .xinit way are mutually exclusive<br>
> (well you can do both, but it'd be weird)<br>
<br>
</span>Done.<br>
<span><br>
> add a line saying to log out and back in.<br>
<br>
</span>Done<br>
<br>
Cheers!<br>
<div><div>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</div></div></blockquote></div><br></div> \
</div></div><br>_______________________________________________<br> Plasma-devel \
mailing list<br> <a href="mailto:Plasma-devel@kde.org" \
target="_blank">Plasma-devel@kde.org</a><br> <a \
href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div></div></div><br></div></div> \
<br>_______________________________________________<br> Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
<br></blockquote></div><br></div> </div></div></blockquote></div><br></div>
[Attachment #6 (text/plain)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic