<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    I had to rm CMakeCache.txt in kdelibs build dir for it to be built
    with the latest SDO. <br>
    <br>
    Anne-Marie<br>
    <br>
    On 03/07/2012 11:14 AM, Vishesh Handa wrote:
    <blockquote
cite="mid:CAOPTMKCZUGXiRqtidOnWxnHXUCFUKG0KxF-wXB0W6NydayCyhQ@mail.gmail.com"
      type="cite"><br>
      <br>
      <div class="gmail_quote">On Wed, Mar 7, 2012 at 3:35 PM,
        Anne-Marie Mahfouf <span dir="ltr"><<a
            moz-do-not-send="true"
            href="mailto:annemarie.mahfouf@free.fr">annemarie.mahfouf@free.fr</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff">
            <div class="im"> On 03/07/2012 09:54 AM, Hugo Pereira Da
              Costa wrote:
              <blockquote type="cite"> My experience: you need to
                rebuild kdelibs first (with latest sdo installed) to
                re-generate source code from the ontologies, that is
                then used in kde-runtime.<br>
              </blockquote>
            </div>
          </div>
        </blockquote>
        <div>Yup! <br>
        </div>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff">
            <div class="im">
              <blockquote type="cite"> <br>
                (to experts, correct me if I'm wrong)<br>
                <br>
                Hugo<br>
              </blockquote>
            </div>
            I updated SDO from git master, I rebuilt and installed
            kdelibs and I still get the error.<br>
            There is something else probably to build: I can't see where
            this Nepomuk::Vocabulary::NFO comes from.<br>
            <br>
            In any case, cmake should fail somehow if I miss something.<br>
          </div>
        </blockquote>
        <div><br>
          NFO is generated by cmake scripts in kdelibs/nepomuk. If you
          look in the build directory you'll find the file nfo.h<br>
          <br>
          Eg - <br>
          vlap:~/kde/build/kdelibs/nepomuk $ ack -a depiction<br>
          nfo.h<br>
          643:             * <a moz-do-not-send="true"
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction</a>
          <br>
          648:            NEPOMUK_EXPORT QUrl depiction();<br>
          <br>
          Binary file CMakeFiles/nepomuk.dir/nfo.o matches<br>
          <br>
          nfo.cpp<br>
          103:          nfo_depiction( QUrl::fromEncoded( "<a
            moz-do-not-send="true"
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#depiction</a>",
          QUrl::StrictMode ) ),<br>
          234:    QUrl nfo_depiction;<br>
          671:QUrl Nepomuk::Vocabulary::NFO::depiction()<br>
          673:    return s_nfo()->nfo_depiction;<br>
          <br>
          <br>
          Could you check if it has this 'depiction' function? If it
          doesn't could you check if your SDO has it?<br>
          <br>
          vlap:~/kde/src/shared-desktop-ontologies/nfo $ ack -a
          depiction<br>
          <a moz-do-not-send="true" href="http://nfo.trig.in">nfo.trig.in</a><br>
          944:    nfo:depiction<br>
          948:          rdfs:label "depiction" ;<br>
          958:          nrl:inverseProperty nfo:depiction .<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;">
          <div text="#000000" bgcolor="#ffffff"><font color="#888888"> <br>
              Anne-Marie</font>
            <div>
              <div class="h5"><br>
                <br>
                <blockquote type="cite"> <br>
                  <blockquote type="cite">Still waiting to hear how to
                    fix the error in compiling kde-runtime.  Git updates
                    have not helped.<br>
                    <br>
                    [ 33%] Building CXX object
                    nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/__/common/resourcestat.o                                                               


                    <br>
                    /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:


                    In member function ‘QByteArray
                    Nepomuk::ResourcePageGenerator::generatePage()
                    const’:<br>
                    /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:204:36:


                    error: ‘depiction’ is not a member of
                    ‘Nepomuk::Vocabulary::NFO’<br>
                    /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:205:52:


                    error: ‘depiction’ is not a member of
                    ‘Nepomuk::Vocabulary::NFO’<br>
                    make[2]: ***
                    [nepomuk/kioslaves/nepomuk/CMakeFiles/kio_nepomuk.dir/resourcepagegenerator.o]


                    Error 1<br>
                    make[2]: *** Waiting for unfinished jobs....<br>
                    <br>
                    <br>
                    Please advise.<br>
                    Thanks<br>
                    David<br>
                    <br>
                    <div class="gmail_quote">On Sun, Mar 4, 2012 at 9:54
                      AM, Anne-Marie Mahfouf <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:annemarie.mahfouf@free.fr"
                          target="_blank">annemarie.mahfouf@free.fr</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin: 0pt
                        0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                        204, 204); padding-left: 1ex;">
                        <div text="#000000" bgcolor="#ffffff">
                          <div> On 03/04/2012 09:41 AM, Vishesh Handa
                            wrote:
                            <blockquote type="cite"><br>
                              <div class="gmail_quote">On Sat, Mar 3,
                                2012 at 10:23 PM, David Boosalis <span
                                  dir="ltr"><<a
                                    moz-do-not-send="true"
                                    href="mailto:david.boosalis@gmail.com"
                                    target="_blank">david.boosalis@gmail.com</a>></span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin: 0pt 0pt 0pt 0.8ex;
                                  border-left: 1px solid rgb(204, 204,
                                  204); padding-left: 1ex;"> Thank you
                                  for the reply. By SDO I assume it is
                                  shared-desktop-ontologies.  I very
                                  rarely build this, but from your email
                                  I did a git update on this and there
                                  was only one file updated.  Perhaps I
                                  need to be on a different branch then
                                  master.  I also updated and built
                                  kdelibs from master.  I still get the
                                  same compile errors with kde-runtime<br>
                                </blockquote>
                                <div><br>
                                  Are you sure you have the correct git
                                  repo of SDO?<br>
                                  <br>
                                  Please check - <a
                                    moz-do-not-send="true"
href="http://techbase.kde.org/Getting_Started/Build/Requirements#Shared-Desktop-Ontologies"
                                    target="_blank">http://techbase.kde.org/Getting_Started/Build/Requirements#Shared-Desktop-Ontologies</a><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;"><font
                                    color="#888888"> <br>
                                  </font></blockquote>
                              </div>
                            </blockquote>
                          </div>
                          I have the same error with SDO master
                          up-to-date.<span><font color="#888888"><br>
                              <br>
                              Anne-Marie</font></span>
                          <div><br>
                            <br>
                            <blockquote type="cite">
                              <div class="gmail_quote">
                                <blockquote class="gmail_quote"
                                  style="margin: 0pt 0pt 0pt 0.8ex;
                                  border-left: 1px solid rgb(204, 204,
                                  204); padding-left: 1ex;"><font
                                    color="#888888">-David</font>
                                  <div>
                                    <div><br>
                                      <br>
                                      <br>
                                      <br>
                                      <div class="gmail_quote">On Fri,
                                        Mar 2, 2012 at 11:42 PM, Vishesh
                                        Handa <span dir="ltr"><<a
                                            moz-do-not-send="true"
                                            href="mailto:me@vhanda.in"
                                            target="_blank">me@vhanda.in</a>></span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin: 0pt 0pt 0pt
                                          0.8ex; border-left: 1px solid
                                          rgb(204, 204, 204);
                                          padding-left: 1ex;"> You need
                                          to update SDO, and then update
                                          kdelibs.
                                          <div>
                                            <div><br>
                                              <br>
                                              <div class="gmail_quote">On
                                                Sat, Mar 3, 2012 at 6:20
                                                AM, David Boosalis <span
                                                  dir="ltr"><<a
                                                    moz-do-not-send="true"
href="mailto:david.boosalis@gmail.com" target="_blank">david.boosalis@gmail.com</a>></span>
                                                wrote:<br>
                                                <blockquote
                                                  class="gmail_quote"
                                                  style="margin: 0pt 0pt
                                                  0pt 0.8ex;
                                                  border-left: 1px solid
                                                  rgb(204, 204, 204);
                                                  padding-left: 1ex;">Sorry



                                                  if this is the wrong
                                                  group to ask this
                                                  question, please refer
                                                  me to the right group
                                                  if you know.<br>
                                                  <br>
                                                  The issue is
                                                  kde-runtime from
                                                  master.  I've been
                                                  getting the following
                                                  compile error for
                                                  about a week now.<br>
                                                  <br>
                                                  <br>
                                                  /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:



                                                  In member function
                                                  ‘QByteArray
                                                  Nepomuk::ResourcePageGenerator::generatePage()
                                                  const’:                                                     



                                                  <br>
                                                  /home/david/kde/src/KDE/kde-runtime/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp:204:36:



                                                  error: ‘depiction’ is
                                                  not a member of
                                                  ‘Nepomuk::Vocabulary::NFO’                                                                   



                                                  <br>
                                                  <br>
                                                  David<br>
                                                  <br>
                                                  <br>
                                                  <div
                                                    class="gmail_quote">On
                                                    Fri, Mar 2, 2012 at
                                                    9:58 AM, Lamarque
                                                    Vieira Souza <span
                                                      dir="ltr"><<a
                                                        moz-do-not-send="true"
href="mailto:lamarque@kde.org" target="_blank">lamarque@kde.org</a>></span>
                                                    wrote:<br>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin: 0pt
                                                      0pt 0pt 0.8ex;
                                                      border-left: 1px
                                                      solid rgb(204,
                                                      204, 204);
                                                      padding-left:
                                                      1ex;">
                                                      <div>
                                                        <div
                                                          style="font-family:
Verdana,Arial,Helvetica,Sans-Serif;">
                                                          <table
                                                          style="border:
                                                          1px solid
                                                          rgb(201, 195,
                                                          153);"
                                                          width="100%"
                                                          bgcolor="#f9f3c9"
cellpadding="8">
                                                          <tbody>
                                                          <tr>
                                                          <td> This is
                                                          an
                                                          automatically
                                                          generated
                                                          e-mail. To
                                                          reply, visit:
                                                          <a
                                                          moz-do-not-send="true"
href="http://git.reviewboard.kde.org/r/104140/" target="_blank">http://git.reviewboard.kde.org/r/104140/</a>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          <br>
                                                          <table
                                                          style="background-image:
                                                          url("");
                                                          background-repeat:
                                                          repeat-x;
                                                          border: 1px
                                                          solid black;"
                                                          width="100%"
                                                          bgcolor="#fefadf"
cellpadding="8" cellspacing="0">
                                                          <tbody>
                                                          <tr>
                                                          <td>
                                                          <div>Review
                                                          request for
                                                          kdelibs.</div>
                                                          <div>By
                                                          Lamarque
                                                          Vieira Souza.</div>
                                                          <h1
                                                          style="color:
                                                          rgb(87, 80,
                                                          18);
                                                          font-size:
                                                          10pt;
                                                          margin-top:
                                                          1.5em;">Description



                                                          </h1>
                                                          <table
                                                          style="border:
                                                          1px solid
                                                          rgb(184, 181,
                                                          160);"
                                                          width="100%"
                                                          bgcolor="#ffffff"
cellpadding="10" cellspacing="0">
                                                          <tbody>
                                                          <tr>
                                                          <td>
                                                          <pre style="margin: 0pt; padding: 0pt; white-space: pre-wrap; word-wrap: break-word;">Currently kdeclarative library does not install the KDeclarativeConfig.cmake and KDeclarativeConfigVersion.cmake to ${LIB_INSTALL_DIR}/cmake/KDeclarative. In the current situation any KDE program that want to use it set the "kdeclarative" name hardcoded into CMakeLists.txt, which is not ideal. This patch fixes that problem.</pre>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                          <h1
                                                          style="color:
                                                          rgb(87, 80,
                                                          18);
                                                          font-size:
                                                          10pt;
                                                          margin-top:
                                                          1.5em;">Diffs
                                                          </h1>
                                                          <ul
                                                          style="margin-left:
                                                          3em;
                                                          padding-left:
                                                          0pt;">
                                                          <li>experimental/libkdeclarative/CMakeLists.txt



                                                          <span
                                                          style="color:
                                                          grey;">(0db647c)</span></li>
                                                          <li>experimental/libkdeclarative/<a
moz-do-not-send="true" href="http://KDeclarativeConfig.cmake.in"
                                                          target="_blank">KDeclarativeConfig.cmake.in</a>
                                                          <span
                                                          style="color:
                                                          grey;">(PRE-CREATION)</span></li>
                                                          <li>experimental/libkdeclarative/<a
moz-do-not-send="true" href="http://KDeclarativeConfigVersion.cmake.in"
target="_blank">KDeclarativeConfigVersion.cmake.in</a> <span
                                                          style="color:
                                                          grey;">(PRE-CREATION)</span></li>
                                                          </ul>
                                                          <p><a
                                                          moz-do-not-send="true"
href="http://git.reviewboard.kde.org/r/104140/diff/" style="margin-left:
                                                          3em;"
                                                          target="_blank">View


                                                          Diff</a></p>
                                                          </td>
                                                          </tr>
                                                          </tbody>
                                                          </table>
                                                        </div>
                                                      </div>
                                                    </blockquote>
                                                  </div>
                                                  <br>
                                                </blockquote>
                                              </div>
                                              <br>
                                            </div>
                                          </div>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                              <br>
                            </blockquote>
                            <br>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </blockquote>
                  <br>
                </blockquote>
                <br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>