[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Nepomuk] The Nepomuk Situation
From:       Vishesh Handa <me () vhanda ! in>
Date:       2012-05-16 18:35:17
Message-ID: CAOPTMKASaYbdzLLM34kTHoFbaHgqp0Kt7+GW1Yj9SXXrdeb4sQ () mail ! gmail ! com
[Download RAW message or body]

What about kdelibs/nepomuk/utils/* and the other ui stuff?

Or since those are just APIs they can wait.

On Wed, May 16, 2012 at 11:49 PM, Sebastian Trüg <trueg@kde.org> wrote:

> I now prepared the required repositories:
>
> scratch/trueg/nepomuk-kde-kio
>  contains the 3 Nepomuk kio slaves
>
> scratch/trueg/nepomuk-kde-config
>  contains the KCM and the controller systray app
>
> The question is: where should we move them? Something like "KDE/Base"?
> I suppose questions like these have already been discussed with respect
> to KDE5?
>
> Cheers,
> Sebastian
>
> On 05/07/2012 03:58 PM, Sebastian Trüg wrote:
> > On 05/07/2012 03:47 PM, ivan.cukic@gmail.com wrote:
> >> Maybe there could be something like qt has - BEGIN_NEPOMUK_NAMESPACE...
> So that if the same needs to be done in the future, we could just change
> the macro value.
> >
> > That would be much more work since each cpp file has the namespaces in
> > the method definitions.
> >
> >> I don't know, thinking that Nepomuk2 namespace is looking rather ugly :)
> >
> > it is indeed.
> >
> >> The dirtiest solution library-wise would be to have everything in
> NepomukCore::Nepomuk::Something so that the only change in the current code
> of nepomuk users would be a using namespace NepomukCore;
> >>
> >> Sorry for being a bit vague, I'm writing from my phone.
> >>
> >> Cheerio,
> >> IvanOn 7.5.12. 14.49 Vishesh Handa wrote:
> >>
> >>
> >>
> >> On Mon, May 7, 2012 at 6:13 PM, Sebastian Trüg <trueg@kde.org> wrote:
> >>
> >> On 05/07/2012 02:35 PM, Vishesh Handa wrote:
> >>>
> >>>
> >>> On Mon, May 7, 2012 at 5:54 PM, Sebastian Trüg <trueg@kde.org
> >>
> >>> <mailto:trueg@kde.org>> wrote:
> >>>
> >>>
> >>>     On 05/07/2012 12:09 PM, Vishesh Handa wrote:
> >>>
> >>>     > So, we're down to 3 options -
> >>>     >
> >>>     > *1.* nepomuk-core become a dependency of kdelibs. Kdelibs is not
> >>>     touched.
> >>>     > *Problem:* Overlapping headers and possible mysterious crashes
> if both
> >>>     > libraries are loaded.
> >>>     >
> >>>     > *2.* nepomuk-core installs headers under nepomuk2. It's released
> >>>     > independently.
> >>>     > *Problem:* Mysterious crashes if both libraries are loaded.
> >>>     >
> >>>     > *3.* nepomuk-core installs headers under nepomuk2 and the
> namespace is
> >>>     > changed to nepomuk2.
> >>>     > *Problem:* A lot more work :(
> >>>
> >>>     Well, I suppose we could make this work with some sed magic. :P
> >>>     I would vote for option 3 which could then be reverted (or not) for
> >>>     kde5.
> >>>
> >>>
> >>> I would prefer option 2.
> >>>
> >>> The mysterious crashes would only happen if an application's plugin
> >>> links to the incorrect libraries.
> >>>
> >>> Is that a possibility for us?
> >>
> >>
> >> I already experienced that. Took me a while to find the reason.
> >>
> >>
> >> Alright.
> >>
> >> I would like the Nepomuk2 namespace and include directories be removed
> for the frameworks, but I guess it is not a big deal if that doesn't happen.
> >>
> >> ----
> >>
> >> Okay, everyone. This is the point where you chime in and say - "We're
> okay with this" or you raise your objections. We would like to get this
> mess sorted in time for the 4.9 release.
> >>
> >>
> >>
> >>
> > _______________________________________________
> > Nepomuk mailing list
> > Nepomuk@kde.org
> > https://mail.kde.org/mailman/listinfo/nepomuk
> _______________________________________________
> Nepomuk mailing list
> Nepomuk@kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
>



-- 
Vishesh Handa

[Attachment #3 (text/html)]

What about kdelibs/nepomuk/utils/* and the other ui stuff?<br><br>Or since those are \
just APIs they can wait.<br><br><div class="gmail_quote">On Wed, May 16, 2012 at \
11:49 PM, Sebastian Trüg <span dir="ltr">&lt;<a href="mailto:trueg@kde.org" \
target="_blank">trueg@kde.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">I now prepared the required repositories:<br> <br>
scratch/trueg/nepomuk-kde-kio<br>
  contains the 3 Nepomuk kio slaves<br>
<br>
scratch/trueg/nepomuk-kde-config<br>
  contains the KCM and the controller systray app<br>
<br>
The question is: where should we move them? Something like &quot;KDE/Base&quot;?<br>
I suppose questions like these have already been discussed with respect<br>
to KDE5?<br>
<br>
Cheers,<br>
Sebastian<br>
<div class="HOEnZb"><div class="h5"><br>
On 05/07/2012 03:58 PM, Sebastian Trüg wrote:<br>
&gt; On 05/07/2012 03:47 PM, <a \
href="mailto:ivan.cukic@gmail.com">ivan.cukic@gmail.com</a> wrote:<br> &gt;&gt; Maybe \
there could be something like qt has - BEGIN_NEPOMUK_NAMESPACE... So that if the same \
needs to be done in the future, we could just change the macro value.<br> &gt;<br>
&gt; That would be much more work since each cpp file has the namespaces in<br>
&gt; the method definitions.<br>
&gt;<br>
&gt;&gt; I don&#39;t know, thinking that Nepomuk2 namespace is looking rather ugly \
:)<br> &gt;<br>
&gt; it is indeed.<br>
&gt;<br>
&gt;&gt; The dirtiest solution library-wise would be to have everything in \
NepomukCore::Nepomuk::Something so that the only change in the current code of \
nepomuk users would be a using namespace NepomukCore;<br> &gt;&gt;<br>
&gt;&gt; Sorry for being a bit vague, I&#39;m writing from my phone.<br>
&gt;&gt;<br>
&gt;&gt; Cheerio,<br>
&gt;&gt; IvanOn 7.5.12. 14.49 Vishesh Handa wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 7, 2012 at 6:13 PM, Sebastian Trüg &lt;<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt; wrote:<br> &gt;&gt;<br>
&gt;&gt; On 05/07/2012 02:35 PM, Vishesh Handa wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Mon, May 7, 2012 at 5:54 PM, Sebastian Trüg &lt;<a \
href="mailto:trueg@kde.org">trueg@kde.org</a><br> &gt;&gt;<br>
&gt;&gt;&gt; &lt;mailto:<a href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;&gt; \
wrote:<br> &gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     On 05/07/2012 12:09 PM, Vishesh Handa wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     &gt; So, we&#39;re down to 3 options -<br>
&gt;&gt;&gt;     &gt;<br>
&gt;&gt;&gt;     &gt; *1.* nepomuk-core become a dependency of kdelibs. Kdelibs is \
not<br> &gt;&gt;&gt;     touched.<br>
&gt;&gt;&gt;     &gt; *Problem:* Overlapping headers and possible mysterious crashes \
if both<br> &gt;&gt;&gt;     &gt; libraries are loaded.<br>
&gt;&gt;&gt;     &gt;<br>
&gt;&gt;&gt;     &gt; *2.* nepomuk-core installs headers under nepomuk2. It&#39;s \
released<br> &gt;&gt;&gt;     &gt; independently.<br>
&gt;&gt;&gt;     &gt; *Problem:* Mysterious crashes if both libraries are loaded.<br>
&gt;&gt;&gt;     &gt;<br>
&gt;&gt;&gt;     &gt; *3.* nepomuk-core installs headers under nepomuk2 and the \
namespace is<br> &gt;&gt;&gt;     &gt; changed to nepomuk2.<br>
&gt;&gt;&gt;     &gt; *Problem:* A lot more work :(<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     Well, I suppose we could make this work with some sed magic. :P<br>
&gt;&gt;&gt;     I would vote for option 3 which could then be reverted (or not) \
for<br> &gt;&gt;&gt;     kde5.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I would prefer option 2.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The mysterious crashes would only happen if an application&#39;s \
plugin<br> &gt;&gt;&gt; links to the incorrect libraries.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is that a possibility for us?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I already experienced that. Took me a while to find the reason.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Alright.<br>
&gt;&gt;<br>
&gt;&gt; I would like the Nepomuk2 namespace and include directories be removed for \
the frameworks, but I guess it is not a big deal if that doesn&#39;t happen.<br> \
&gt;&gt;<br> &gt;&gt; ----<br>
&gt;&gt;<br>
&gt;&gt; Okay, everyone. This is the point where you chime in and say - \
&quot;We&#39;re okay with this&quot; or you raise your objections. We would like to \
get this mess sorted in time for the 4.9 release.<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; \
_______________________________________________<br> &gt; Nepomuk mailing list<br>
&gt; <a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/nepomuk" \
target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br> \
_______________________________________________<br> Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" \
target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br> \
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span \
style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic