[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 18:44:50
Message-ID: CAP-ZmpzGqeofE=psOrs22mFU8yPoiT8tbgYKoLHPHvKq8U-R_w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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">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 &#39;RS=\0&#39; -F= &#39;$1==&quot;XDG_DATA_DIRS&quot; {print $2}&#39; \
/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><div><span \
style="font-family:monospace">Bernhard</span></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2015-03-30 22:22 GMT+02:00 David \
Edmundson <span dir="ltr">&lt;<a href="mailto:david@davidedmundson.co.uk" \
target="_blank">david@davidedmundson.co.uk</a>&gt;</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 class=""><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&#39;s an \
assert in &quot;could not find any theme&quot;  </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 class="h5"><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">&lt;<a href="mailto:sh.siddhartha@gmail.com" \
target="_blank">sh.siddhartha@gmail.com</a>&gt;</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 &lt;<a \
href="mailto:david@davidedmundson.co.uk" \
target="_blank">david@davidedmundson.co.uk</a>&gt; wrote:<br> &gt; I don&#39;t think \
we should tell people to download&#39;s   David Faure&#39;s<br> &gt; kdesrc-buildrc \
file. It has &quot;/d&quot; hardcoded a lot.<br> &gt;<br>
&gt; If we make our own we don&#39;t need people to change it and can have the \
same<br> &gt; directories you use for the rest of this.<br>
<br>
</span>Good point. I took this section from Frameworks/Building, didn&#39;t think<br>
too much :P<br>
Maybe we should update that page too?<br>
<span><br>
&gt; That&#39;s installing to /opt/kde5 but we need to create those directories \
first<br> &gt; (as root and change permissions)<br>
<br>
</span>Instructions already present :)<br>
<span><br>
&gt; If this is about plasma change:<br>
&gt;<br>
&gt; include extragear/utils/kdesrc-build/kf5-qt5-build-include<br>
&gt;<br>
&gt; to<br>
&gt; include extragear/utils/kdesrc-build/kf5-frameworks-build-include<br>
&gt; include extragear/utils/kdesrc-build/kf5-workspace-build-include<br>
&gt;<br>
&gt; this way you won&#39;t build apps and pim<br>
<br>
</span>Cool. Changed the whole section.<br>
<span><br>
&gt; export XDG_CACHE_HOME=/home/user/.kde5/cache<br>
&gt;<br>
&gt; only works if you happen to be called user.<br>
&gt; I&#39;m pretty sure you can do export XDG_CACHE_HOME=$HOME/.whatever<br>
<br>
</span>Ah right, fixed.<br>
<span><br>
&gt; Personally I wouldn&#39;t change the paths, you lose your firefox settings, \
and<br> &gt; with the .xinitrc hack later you&#39;re only going to be loading this \
session<br> &gt; 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>
&gt; The setup is a bit broken, if you do the login manager way.<br>
&gt; yet if you log into your distro session and then start anything dbus<br>
&gt; 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>
&gt; you need to say login manager way and the .xinit way are mutually exclusive<br>
&gt; (well you can do both, but it&#39;d be weird)<br>
<br>
</span>Done.<br>
<span><br>
&gt; 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">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>


[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