[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 19:28:51
Message-ID: CAOPTMKDsYxdXu4nVb+_BkWN=pBBifz8YnLw4f9naw8f63aRPnw () mail ! gmail ! com
[Download RAW message or body]

On Thu, May 17, 2012 at 12:29 AM, Sebastian Trüg <trueg@kde.org> wrote:

> Pushed my stuff to branch "feature/nepomuk2Includes".
>
> Feel free to implement Ivan's fancier solution. In that case my branch
> might at least help in finding the places where stuff needs replacing.
> If you do not I would appreciate a look over my branch to check if I
> missed sth.
>

I will implement it, but not today. You'd missed one place. I've corrected
it.

So now you just need to use the same script on your scratch repositories.
Also, do you know anything about translations?


> Cheers,
> Sebastian
>
> On 05/16/2012 08:37 PM, Vishesh Handa wrote:
> >
> >
> > On Thu, May 17, 2012 at 12:02 AM, Sebastian Trüg <trueg@kde.org
> > <mailto:trueg@kde.org>> wrote:
> >
> >     On 05/16/2012 08:23 PM, Vishesh Handa wrote:
> >     > What about kdelibs/nepomuk/utils/* and the other ui stuff?
> >     >
> >     > Or since those are just APIs they can wait.
> >
> >     I say let's postpone them, they are still in kdelibs.
> >
> >
> >     The facets are quite weird and I am not sure about releasing them
> again.
> >     The ui stuff - not sure.
> >
> >
> > We have all the runtime stuff and nepomuk-core, that's all that matters
> > right now.
> >
> > So, we just need to do -
> >
> > 1. use the Nepomuk2 namespace, and nepomuk2 include directory
> > 2. Remove kde-runtime/nepomuk
> >
> > Regarding 1, I like Ivan's suggestion about BEGIN_NEPOMUK_NAMESPACE. If
> > you want I can take care of it.
> >
> >
> >     > On Wed, May 16, 2012 at 11:49 PM, Sebastian Trüg <trueg@kde.org
> >     <mailto:trueg@kde.org>
> >     > <mailto:trueg@kde.org <mailto: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
> >     <mailto:ivan.cukic@gmail.com>
> >     >     <mailto:ivan.cukic@gmail.com <mailto: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 <mailto:trueg@kde.org>
> >     >     <mailto:trueg@kde.org <mailto: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>
> >     >     <mailto:trueg@kde.org <mailto:trueg@kde.org>>
> >     >     >>
> >     >     >>> <mailto:trueg@kde.org <mailto:trueg@kde.org>
> >     <mailto: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 <mailto:Nepomuk@kde.org>
> >     <mailto:Nepomuk@kde.org <mailto:Nepomuk@kde.org>>
> >     >     > https://mail.kde.org/mailman/listinfo/nepomuk
> >     >     _______________________________________________
> >     >     Nepomuk mailing list
> >     >     Nepomuk@kde.org <mailto:Nepomuk@kde.org>
> >     <mailto:Nepomuk@kde.org <mailto:Nepomuk@kde.org>>
> >     >     https://mail.kde.org/mailman/listinfo/nepomuk
> >     >
> >     >
> >     >
> >     >
> >     > --
> >     > Vishesh Handa
> >     >
> >
> >
> >
> >
> > --
> > Vishesh Handa
> >
>



-- 
Vishesh Handa

[Attachment #3 (text/html)]

<br><br><div class="gmail_quote">On Thu, May 17, 2012 at 12:29 AM, 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"> Pushed my stuff to branch \
&quot;feature/nepomuk2Includes&quot;.<br> <br>
Feel free to implement Ivan&#39;s fancier solution. In that case my branch<br>
might at least help in finding the places where stuff needs replacing.<br>
If you do not I would appreciate a look over my branch to check if I<br>
missed sth.<br></blockquote><div><br>I will implement it, but not today. You&#39;d \
missed one place. I&#39;ve corrected it. <br><br>So now you just need to use the same \
script on your scratch repositories. Also, do you know anything about \
translations?<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
Cheers,<br>
Sebastian<br>
<div class="im"><br>
On 05/16/2012 08:37 PM, Vishesh Handa wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 17, 2012 at 12:02 AM, Sebastian Trüg &lt;<a \
href="mailto:trueg@kde.org">trueg@kde.org</a><br> </div><div class="im">&gt; \
&lt;mailto:<a href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;&gt; wrote:<br> \
&gt;<br> &gt;     On 05/16/2012 08:23 PM, Vishesh Handa wrote:<br>
&gt;     &gt; What about kdelibs/nepomuk/utils/* and the other ui stuff?<br>
&gt;     &gt;<br>
&gt;     &gt; Or since those are just APIs they can wait.<br>
&gt;<br>
&gt;     I say let&#39;s postpone them, they are still in kdelibs.<br>
&gt;<br>
&gt;<br>
&gt;     The facets are quite weird and I am not sure about releasing them again.<br>
&gt;     The ui stuff - not sure.<br>
&gt;<br>
&gt;<br>
&gt; We have all the runtime stuff and nepomuk-core, that&#39;s all that matters<br>
&gt; right now.<br>
&gt;<br>
&gt; So, we just need to do -<br>
&gt;<br>
&gt; 1. use the Nepomuk2 namespace, and nepomuk2 include directory<br>
&gt; 2. Remove kde-runtime/nepomuk<br>
&gt;<br>
&gt; Regarding 1, I like Ivan&#39;s suggestion about BEGIN_NEPOMUK_NAMESPACE. If<br>
&gt; you want I can take care of it.<br>
&gt;<br>
&gt;<br>
&gt;     &gt; On Wed, May 16, 2012 at 11:49 PM, Sebastian Trüg &lt;<a \
href="mailto:trueg@kde.org">trueg@kde.org</a><br> &gt;     &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;<br> </div><div class="im">&gt;     \
&gt; &lt;mailto:<a href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;&gt;&gt; wrote:<br> &gt;     \
&gt;<br> </div><div class="im">&gt;     &gt;     I now prepared the required \
repositories:<br> &gt;     &gt;<br>
&gt;     &gt;     scratch/trueg/nepomuk-kde-kio<br>
&gt;     &gt;      contains the 3 Nepomuk kio slaves<br>
&gt;     &gt;<br>
&gt;     &gt;     scratch/trueg/nepomuk-kde-config<br>
&gt;     &gt;      contains the KCM and the controller systray app<br>
&gt;     &gt;<br>
&gt;     &gt;     The question is: where should we move them? Something like<br>
&gt;     &quot;KDE/Base&quot;?<br>
&gt;     &gt;     I suppose questions like these have already been discussed<br>
&gt;     with respect<br>
&gt;     &gt;     to KDE5?<br>
&gt;     &gt;<br>
&gt;     &gt;     Cheers,<br>
&gt;     &gt;     Sebastian<br>
&gt;     &gt;<br>
&gt;     &gt;     On 05/07/2012 03:58 PM, Sebastian Trüg wrote:<br>
&gt;     &gt;     &gt; On 05/07/2012 03:47 PM, <a \
href="mailto:ivan.cukic@gmail.com">ivan.cukic@gmail.com</a><br> &gt;     \
&lt;mailto:<a href="mailto:ivan.cukic@gmail.com">ivan.cukic@gmail.com</a>&gt;<br> \
</div><div class="im">&gt;     &gt;     &lt;mailto:<a \
href="mailto:ivan.cukic@gmail.com">ivan.cukic@gmail.com</a> &lt;mailto:<a \
href="mailto:ivan.cukic@gmail.com">ivan.cukic@gmail.com</a>&gt;&gt; wrote:<br> &gt;   \
&gt;     &gt;&gt; Maybe there could be something like qt has -<br> &gt;     &gt;     \
BEGIN_NEPOMUK_NAMESPACE... So that if the same needs to be done in<br> &gt;     &gt;  \
the future, we could just change the macro value.<br> &gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; That would be much more work since each cpp file has the<br>
&gt;     namespaces in<br>
&gt;     &gt;     &gt; the method definitions.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;&gt; I don&#39;t know, thinking that Nepomuk2 namespace is \
looking<br> &gt;     rather<br>
&gt;     &gt;     ugly :)<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; it is indeed.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;&gt; The dirtiest solution library-wise would be to have<br>
&gt;     everything in<br>
&gt;     &gt;     NepomukCore::Nepomuk::Something so that the only change in the<br>
&gt;     &gt;     current code of nepomuk users would be a using namespace<br>
&gt;     NepomukCore;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; Sorry for being a bit vague, I&#39;m writing from my \
phone.<br> &gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; Cheerio,<br>
&gt;     &gt;     &gt;&gt; IvanOn 7.5.12. 14.49 Vishesh Handa wrote:<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; On Mon, May 7, 2012 at 6:13 PM, Sebastian Trüg<br>
&gt;     &lt;<a href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;<br> </div><div><div class="h5">&gt; \
&gt;     &lt;mailto:<a href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;&gt;&gt; wrote:<br> &gt;     &gt;    \
&gt;&gt;<br> &gt;     &gt;     &gt;&gt; On 05/07/2012 02:35 PM, Vishesh Handa \
wrote:<br> &gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt; On Mon, May 7, 2012 at 5:54 PM, Sebastian Trüg<br>
&gt;     &lt;<a href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;<br> &gt;     &gt;     &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;&gt;<br> &gt;     &gt;     \
&gt;&gt;<br> &gt;     &gt;     &gt;&gt;&gt; &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;<br> &gt;     &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a> &lt;mailto:<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;&gt;&gt;&gt; wrote:<br> &gt;     \
&gt;     &gt;&gt;&gt;<br> &gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt;     On 05/07/2012 12:09 PM, Vishesh Handa wrote:<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; So, we&#39;re down to 3 options -<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt;<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; *1.* nepomuk-core become a dependency of \
kdelibs.<br> &gt;     Kdelibs<br>
&gt;     &gt;     is not<br>
&gt;     &gt;     &gt;&gt;&gt;     touched.<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; *Problem:* Overlapping headers and possible \
mysterious<br> &gt;     &gt;     crashes if both<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; libraries are loaded.<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt;<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; *2.* nepomuk-core installs headers under \
nepomuk2. It&#39;s<br> &gt;     &gt;     released<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; independently.<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; *Problem:* Mysterious crashes if both \
libraries are<br> &gt;     loaded.<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt;<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; *3.* nepomuk-core installs headers under \
nepomuk2<br> &gt;     and the<br>
&gt;     &gt;     namespace is<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; changed to nepomuk2.<br>
&gt;     &gt;     &gt;&gt;&gt;     &gt; *Problem:* A lot more work :(<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt;     Well, I suppose we could make this work with some \
sed<br> &gt;     magic. :P<br>
&gt;     &gt;     &gt;&gt;&gt;     I would vote for option 3 which could then be \
reverted (or<br> &gt;     &gt;     not) for<br>
&gt;     &gt;     &gt;&gt;&gt;     kde5.<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt; I would prefer option 2.<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt; The mysterious crashes would only happen if an<br>
&gt;     application&#39;s plugin<br>
&gt;     &gt;     &gt;&gt;&gt; links to the incorrect libraries.<br>
&gt;     &gt;     &gt;&gt;&gt;<br>
&gt;     &gt;     &gt;&gt;&gt; Is that a possibility for us?<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; I already experienced that. Took me a while to find the \
reason.<br> &gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; Alright.<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; I would like the Nepomuk2 namespace and include \
directories be<br> &gt;     &gt;     removed for the frameworks, but I guess it is \
not a big deal<br> &gt;     if that<br>
&gt;     &gt;     doesn&#39;t happen.<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; ----<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt; Okay, everyone. This is the point where you chime in and \
say -<br> &gt;     &gt;     &quot;We&#39;re okay with this&quot; or you raise your \
objections. We would like<br> &gt;     &gt;     to get this mess sorted in time for \
the 4.9 release.<br> &gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt;&gt;<br>
&gt;     &gt;     &gt; _______________________________________________<br>
&gt;     &gt;     &gt; Nepomuk mailing list<br>
&gt;     &gt;     &gt; <a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a> \
&lt;mailto:<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a>&gt;<br> \
</div></div>&gt;     &lt;mailto:<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a> \
&lt;mailto:<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a>&gt;&gt;<br> <div \
class="im">&gt;     &gt;     &gt; <a \
href="https://mail.kde.org/mailman/listinfo/nepomuk" \
target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br> &gt;     &gt;   \
_______________________________________________<br> &gt;     &gt;     Nepomuk mailing \
list<br> &gt;     &gt;     <a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a> \
&lt;mailto:<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a>&gt;<br> </div>&gt;    \
&lt;mailto:<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a> &lt;mailto:<a \
href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a>&gt;&gt;<br> <div \
class="HOEnZb"><div class="h5">&gt;     &gt;     <a \
href="https://mail.kde.org/mailman/listinfo/nepomuk" \
target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br> &gt;     \
&gt;<br> &gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; --<br>
&gt;     &gt; Vishesh Handa<br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Vishesh Handa<br>
&gt;<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