--===============0480024038636581626== Content-Type: multipart/alternative; boundary=047d7b2e4eda383fc704eaeb1438 --047d7b2e4eda383fc704eaeb1438 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable i=E2=80=99ve got a problem now: $ cmake .. -DCMAKE_INSTALL_PREFIX=3D~/Dev/KDE -DBUILD_KTEXTEDITOR=3D1 -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=3DOFF $ make =E2=80=A6 [ 77%] Built target katepateplugin_automoc [ 77%] Building CXX object addons/kate/pate/src/CMakeFiles/katepateplugin.dir/katepateplugin_automoc.o In file included from /usr/include/python3.3m/pytime.h:6:0, from /usr/include/python3.3m/Python.h:65, from /home/phil/Dev/KDE/kate/build/addons/kate/pate/src/../../../../../addons/ka= te/pate/src/engine.h:26, from /home/phil/Dev/KDE/kate/build/addons/kate/pate/src/moc_engine.cpp:9, from /home/phil/Dev/KDE/kate/build/addons/kate/pate/src/katepateplugin_automoc.c= pp:4: /usr/include/python3.3m/object.h:432:23: Fehler: expected unqualified-id before =C2=BB;=C2=AB token PyType_Slot *slots; /* terminated by slot=3D=3D0. */ 2013/11/11 Alex Turbov > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/113720/ > This change has been marked as submitted. > Review request for Kate and Shaheed Haque. > By Alex Turbov. > > *Updated Nov. 11, 2013, 5:29 p.m.* > *Repository: * kate > Description > > Search installed Python plugins via trader. > Introduce `Kate/PythonPlugin` service type. > Make plugins management look-n-feel as C++ plugins. > Enabled plugins now are per session (stored under "Enabled Plugins" key o= f the pate config group), so it is possible to have different plugins in di= fferent sessions (just like C++ plugins). > > Sample .desktop file: > > [Desktop Entry] > Type=3DService > ServiceTypes=3DKate/PythonPlugin > X-KDE-Library=3Dcmake_utils/cmake_utils.py > Name=3DCMake Utilities > Comment=3DCode completer, cache and help browser > X-Python-2-Compatible=3Dfalse > X-Python-3-Compatible=3Dtrue > > The patch contains .desktop files only for plugins I wrote (and use) myse= lf. Other plugins still need .desktop files (I don't know exactly which Pyt= hon they are require) > > Diffs > > - addons/kate/pate/src/utilities.cpp (3ed19d6) > - addons/kate/pate/src/utilities.h (d88af0f) > - addons/kate/pate/src/plugins/format.desktop (PRE-CREATION) > - addons/kate/pate/src/plugins/expand.desktop (PRE-CREATION) > - addons/kate/pate/src/plugins/commentar.desktop (PRE-CREATION) > - addons/kate/pate/src/plugins/color_tools.desktop (PRE-CREATION) > - addons/kate/pate/src/plugins/cmake_utils/cmake_utils.desktop > (PRE-CREATION) > - addons/kate/pate/src/plugins/block.desktop (PRE-CREATION) > - addons/kate/pate/src/plugin.cpp (85c84a3) > - addons/kate/pate/src/plugin.h (77369c6) > - addons/kate/pate/src/manager.ui (82213ee) > - addons/kate/pate/src/katepythonplugin.desktop (PRE-CREATION) > - addons/kate/pate/src/engine.cpp (5484473) > - addons/kate/pate/src/engine.h (6c70ab9) > - addons/kate/pate/src/CMakeLists.txt (78bbdc0) > > View Diff > File Attachments > > - Python Plugins Management > - the next (intermediate) commit after the original > - The next revision after first review > - Single patch for everything! (made against master w/ squashed > commits) > - Broken plugin case > - One more patch to apply after all > > > _______________________________________________ > KWrite-Devel mailing list > KWrite-Devel@kde.org > https://mail.kde.org/mailman/listinfo/kwrite-devel > > --047d7b2e4eda383fc704eaeb1438 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i=E2=80=99ve got a problem now:

$ cmake .. -DC= MAKE_INSTALL_PREFIX=3D~/Dev/KDE -DBUILD_KTEXTEDITOR=3D1 -DINSTALL_PYTHON_FI= LES_IN_PYTHON_PREFIX=3DOFF
$ make
=E2=80=A6
[ 77%] Buil= t target katepateplugin_automoc
[ 77%] Building CXX object addons/kate/pate/src/CMakeFiles/katepateplugin.d= ir/katepateplugin_automoc.o
In file included from /usr/include/python3.3= m/pytime.h:6:0,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from /usr/include/python3.3m/Pyt= hon.h:65,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from /home/phil/Dev/KDE/kate/build/addons/kate/pate/s= rc/../../../../../addons/kate/pate/src/engine.h:26,
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 from /home/phil/Dev/KDE/kate/build/addons/kate/pate/src/moc_engine.cpp:= 9,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 from /home/phil/Dev/KDE/kate/build/addons/kate/= pate/src/katepateplugin_automoc.cpp:4:
/usr/include/python3.3m/object.h:432:23: Fehler: expected unqualified-id be= fore =C2=BB;=C2=AB token
=C2=A0=C2=A0=C2=A0=C2=A0 PyType_Slot *slots; /*= terminated by slot=3D=3D0. */




2013/11/11 Alex Turbov <i.zaufi@gmail.com>
This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/113720/

This change ha= s been marked as submitted.


Review request for Kate and Shaheed Haque.
By Alex Turbov.

Updated Nov. 11, 2013, 5:29 p.m.

Repository: kate

Description
Search installed Python plugins via trader.=20
Introduce `Kate/PythonPlugin` service type.=20
Make plugins management look-n-feel as C++ plugins.
Enabled plugins now are per session (stored under "Enabled Plugins&quo=
t; key of the pate config group), so it is possible to have different plugi=
ns in different sessions (just like C++ plugins).

Sample .desktop file:

[Desktop Entry]
Type=3DService
ServiceTypes=3DKate/PythonPlugin
X-KDE-Library=3Dcmake_utils/cmake_utils.py
Name=3DCMake Utilities
Comment=3DCode completer, cache and help browser
X-Python-2-Compatible=3Dfalse
X-Python-3-Compatible=3Dtrue

The patch contains .desktop files only for plugins I wrote (and use) myself=
. Other plugins still need .desktop files (I don't know exactly which P=
ython they are require)

Diffs

  • addons/kate/pate/src/utilities.cpp (3ed19d6= )
  • addons/kate/pate/src/utilities.h (d88af0f)<= /span>
  • addons/kate/pate/src/plugins/format.desktop (PRE-CREATION)
  • addons/kate/pate/src/plugins/expand.desktop (PRE-CREATION)
  • addons/kate/pate/src/plugins/commentar.desktop (PRE-CREATION)
  • addons/kate/pate/src/plugins/color_tools.desktop (PRE-CREATION)
  • addons/kate/pate/src/plugins/cmake_utils/cmake_utils.desktop (PRE-CREATION)
  • addons/kate/pate/src/plugins/block.desktop = (PRE-CREATION)
  • addons/kate/pate/src/plugin.cpp (85c84a3)
  • addons/kate/pate/src/plugin.h (77369c6)
  • addons/kate/pate/src/manager.ui (82213ee)
  • addons/kate/pate/src/katepythonplugin.desktop (PRE-CREATION)
  • addons/kate/pate/src/engine.cpp (5484473)
  • addons/kate/pate/src/engine.h (6c70ab9)
  • addons/kate/pate/src/CMakeLists.txt (78bbdc= 0)

View Diff

File Attachment= s


_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


--047d7b2e4eda383fc704eaeb1438-- --===============0480024038636581626== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============0480024038636581626==--