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

List:       kde-edu-devel
Subject:    Re: Review Request 120561: Cantor: Porting Octave Backend to KF5 (working in progress)
From:       "Filipe Saraiva" <filipe () kde ! org>
Date:       2014-10-29 19:54:46
Message-ID: 20141029195446.23655.42711 () probe ! kde ! org
[Download RAW message or body]

--===============6118874885352244070==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120561/
-----------------------------------------------------------

(Updated Oct. 29, 2014, 7:54 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Edu and Alexander Rieder.


Repository: cantor


Description
-------

Working in Octave backend port to KF5. I can compile and run Cantor with \
this patch, but Cantor don't find the backend. The error output is:

$ ~/kde/bin/cantor 
Could not find drkonqi at /usr/libexec/drkonqi
cannot find .rc file "cantor_shell.rc" for component "cantor"
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: \
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name \
org.kde.kglobalaccel was not provided by any .service files") cannot find \
.rc file "cantor_shell.rc" for component "cantor" Shortcut for KAction  \
"file_new" "&Novo" set with QShortcut::setShortcut()! See KAction \
documentation. Shortcut for KAction  "file_open" "&Abrir..." set with \
QShortcut::setShortcut()! See KAction documentation. Shortcut for KAction  \
"file_close" "Fe&char" set with QShortcut::setShortcut()! See KAction \
documentation. Shortcut for KAction  "file_quit" "Sai&r" set with \
QShortcut::setShortcut()! See KAction documentation. Shortcut for KAction  \
"help_contents" "&Manual do Cantor" set with QShortcut::setShortcut()! See \
KAction documentation. Shortcut for KAction  "help_whats_this" "O que é \
is&to?" set with QShortcut::setShortcut()! See KAction documentation. \
                Trying to open ksycoca from "/home/kdevil/.cache/ksycoca5"
KServiceTypeTrader: serviceType "Cantor/Backend" not found
KServiceTypeTrader: serviceType "Cantor/Backend" not found
QObject::disconnect: Unexpected null parameter
selected part doesn't exist

Backend codes to tests were disabled in this patch.

Maybe it is some problem related with cmake.


Diffs
-----

  src/lib/cantor_libs.kcfg 4ee956c 
  src/lib/test/backendtest.cpp 052de50 
  CMakeLists.txt e74b2fa 
  src/CMakeLists.txt 8016ad8 
  src/backends/CMakeLists.txt 6c857b6 
  src/backends/octave/CMakeLists.txt 4c6d688 
  src/backends/octave/octave-backend-config.h.cmake 3f00d68 
  src/backends/octave/octavebackend.cpp 7d2290b 
  src/backends/octave/octavebackend.kcfg 002e691 
  src/backends/octave/octavecompletionobject.cpp 1da75ff 
  src/backends/octave/octaveexpression.cpp ec0df20 
  src/backends/octave/octaveextensions.cpp b0ccb55 
  src/backends/octave/octavehighlighter.cpp 3dd4b1f 
  src/backends/octave/octavesession.h 5305886 
  src/backends/octave/octavesession.cpp dab1960 
  src/backends/octave/octavesyntaxhelpobject.cpp 2269df8 
  src/backends/octave/testoctave.h 7599f5e 
  src/backends/octave/testoctave.cpp 6b24f0e 
  src/lib/CMakeLists.txt cc718a7 

Diff: https://git.reviewboard.kde.org/r/120561/diff/


Testing
-------

Apply this patch in frameworks branch. Last commit is commit \
08786ab0762a35ff6b387ffa66c8144b5246321b. Build it, install and run.


Thanks,

Filipe Saraiva


--===============6118874885352244070==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: \
1px #c9c399 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/120561/">https://git.reviewboard.kde.org/r/120561/</a>
  </td>
    </tr>
   </table>
   <br />




<table bgcolor="#e0e0e0" width="100%" cellpadding="12" style="border: 1px \
gray solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>
   <h1 style="margin: 0; padding: 0; font-size: 10pt;">This change has been \
marked as submitted.</h1>  </td>
 </tr>
</table>
<br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" \
style="border: 1px #888a85 solid; border-radius: 6px; -moz-border-radius: \
6px; -webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for KDE Edu and Alexander Rieder.</div>
<div>By Filipe Saraiva.</div>


<p style="color: grey;"><i>Updated Oct. 29, 2014, 7:54 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
cantor
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description \
</h1>  <table width="100%" bgcolor="#ffffff" cellspacing="0" \
cellpadding="10" style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">Working in Octave backend \
port to KF5. I can compile and run Cantor with this patch, but Cantor don't \
find the backend. The error output is:</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">$ ~/kde/bin/cantor  Could not find drkonqi at \
/usr/libexec/drkonqi cannot find .rc file "cantor_shell.rc" for component \
"cantor" Couldn't start kglobalaccel from org.kde.kglobalaccel.service: \
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name \
org.kde.kglobalaccel was not provided by any .service files") cannot find \
.rc file "cantor_shell.rc" for component "cantor" Shortcut for KAction  \
"file_new" "&amp;Novo" set with QShortcut::setShortcut()! See KAction \
documentation. Shortcut for KAction  "file_open" "&amp;Abrir..." set with \
QShortcut::setShortcut()! See KAction documentation. Shortcut for KAction  \
"file_close" "Fe&amp;char" set with QShortcut::setShortcut()! See KAction \
documentation. Shortcut for KAction  "file_quit" "Sai&amp;r" set with \
QShortcut::setShortcut()! See KAction documentation. Shortcut for KAction  \
"help_contents" "&amp;Manual do Cantor" set with QShortcut::setShortcut()! \
See KAction documentation. Shortcut for KAction  "help_whats_this" "O que \
é is&amp;to?" set with QShortcut::setShortcut()! See KAction \
documentation. Trying to open ksycoca from "/home/kdevil/.cache/ksycoca5"
KServiceTypeTrader: serviceType "Cantor/Backend" not found
KServiceTypeTrader: serviceType "Cantor/Backend" not found
QObject::disconnect: Unexpected null parameter
selected part doesn't exist</p>
<p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Backend codes to tests were disabled in this \
patch.</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">Maybe it is some problem \
related with cmake.</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing \
</h1> <table width="100%" bgcolor="#ffffff" cellspacing="0" \
cellpadding="10" style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">Apply this patch in \
frameworks branch. Last commit is commit \
08786ab0762a35ff6b387ffa66c8144b5246321b. Build it, install and \
run.</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> \
</h1> <ul style="margin-left: 3em; padding-left: 0;">

 <li>src/lib/cantor_libs.kcfg <span style="color: \
grey">(4ee956c)</span></li>

 <li>src/lib/test/backendtest.cpp <span style="color: \
grey">(052de50)</span></li>

 <li>CMakeLists.txt <span style="color: grey">(e74b2fa)</span></li>

 <li>src/CMakeLists.txt <span style="color: grey">(8016ad8)</span></li>

 <li>src/backends/CMakeLists.txt <span style="color: \
grey">(6c857b6)</span></li>

 <li>src/backends/octave/CMakeLists.txt <span style="color: \
grey">(4c6d688)</span></li>

 <li>src/backends/octave/octave-backend-config.h.cmake <span style="color: \
grey">(3f00d68)</span></li>

 <li>src/backends/octave/octavebackend.cpp <span style="color: \
grey">(7d2290b)</span></li>

 <li>src/backends/octave/octavebackend.kcfg <span style="color: \
grey">(002e691)</span></li>

 <li>src/backends/octave/octavecompletionobject.cpp <span style="color: \
grey">(1da75ff)</span></li>

 <li>src/backends/octave/octaveexpression.cpp <span style="color: \
grey">(ec0df20)</span></li>

 <li>src/backends/octave/octaveextensions.cpp <span style="color: \
grey">(b0ccb55)</span></li>

 <li>src/backends/octave/octavehighlighter.cpp <span style="color: \
grey">(3dd4b1f)</span></li>

 <li>src/backends/octave/octavesession.h <span style="color: \
grey">(5305886)</span></li>

 <li>src/backends/octave/octavesession.cpp <span style="color: \
grey">(dab1960)</span></li>

 <li>src/backends/octave/octavesyntaxhelpobject.cpp <span style="color: \
grey">(2269df8)</span></li>

 <li>src/backends/octave/testoctave.h <span style="color: \
grey">(7599f5e)</span></li>

 <li>src/backends/octave/testoctave.cpp <span style="color: \
grey">(6b24f0e)</span></li>

 <li>src/lib/CMakeLists.txt <span style="color: grey">(cc718a7)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/120561/diff/" \
style="margin-left: 3em;">View Diff</a></p>






  </td>
 </tr>
</table>




  </div>
 </body>
</html>


--===============6118874885352244070==--



_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


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

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