[WebKit-devel] kdenetwork 4.3.95 still uses old path

Dawit A. adawit at kde.org
Sun Jan 24 05:15:09 CET 2010


Right, the problem is the back porting of the patches into a copy of the 4.3.x 
version of extragear.  The webkit part module in playground has undergone so 
many changes, you have to correct everything.

Anyhow, the fix for your compile problems in this instance seems to be to 
replace any and all references of "WebKitPart" in the *.cpp files with 
"KWebKitPart". 

For the 4.3.x version of kdenetwork, which is a properly branched module, I 
will try to fix the issue to make sure it compiles properly.

On Saturday 23 January 2010 22:29:11 alekcejk at googlemail.com wrote:
> Now I am compiling KDE 4.3.95.
> But may be KDE 4.3.5 will be compiled too.
> 
> There are konq-plugins-4.3.3 with applied all patches from svn.
> See build log. Patches are applied before build.
> http://koji.fedoraproject.org/koji/getfile?taskID=1940740&name=build.log
> 
> > Ahhh... are you compiling KDE 4.3.3 or KDE 4.3.x branch ? All the fixes I
> > applied where to the KDE 4.4 branch and current trunk. I did not even
> >  bother to fix the 4.3 branch at this point... Let see if I can do the
> > same for that branch.
> >
> > On Saturday 23 January 2010 22:02:09 alekcejk at googlemail.com wrote:
> > > There are still errors in konq-plugins.
> > > kdenetwork I have not checked yet. May be the same would be there.
> > > http://koji.fedoraproject.org/koji/getfile?taskID=1940740&name=build.lo
> > >g
> > >
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 50
> > >
> > > : error: 'WebKitPart' was not declared in this
> > >
> > >  scope/builddir/build/BUILD/konq-
> > >  plugins-4.3.3/kimgalleryplugin/imgallerydialog.cpp: In member function
> > >  'void KIGPDialog::slotDefault()':
> > > /builddir/build/BUILD/konq-
> > > plugins-4.3.3/kimgalleryplugin/imgallerydialog.cpp:77: warning: 'void
> > > QComboBox::setCurrentText(const QString&)' is deprecated (declared at
> > > /usr/include/QtGui/qcombobox.h:264)
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 50
> > >
> > > : error: expected type-specifier before 'WebKitPart'
> > >
> > > /builddir/build/BUILD/konq-
> > > plugins-4.3.3/kimgalleryplugin/imgallerydialog.cpp:91: warning: 'void
> > > QComboBox::setCurrentText(const QString&)' is deprecated (declared at
> > > /usr/include/QtGui/qcombobox.h:264)
> > > /builddir/build/BUILD/konq-
> > > plugins-4.3.3/kimgalleryplugin/imgallerydialog.cpp:94: warning: 'void
> > > QComboBox::setCurrentText(const QString&)' is deprecated (declared at
> > > /usr/include/QtGui/qcombobox.h:264)
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 50
> > >
> > > : error: expected '>' before 'WebKitPart'
> > >
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 50
> > >
> > > : error: expected '(' before 'WebKitPart'
> > >
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 50
> > >
> > > : error: expected primary-expression before '>' token
> > >
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 50
> > >
> > > : error: expected ')' before ';' token
> > >
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 51
> > >
> > > : error: invalid use of incomplete type 'struct KHTMLView'
> > >
> > > /usr/include/kde4/KDE/../dom/dom_doc.h:35: error: forward declaration
> > > of 'struct KHTMLView'
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 52
> > >
> > > : error: invalid use of incomplete type 'struct KHTMLView'
> > >
> > > /usr/include/kde4/KDE/../dom/dom_doc.h:35: error: forward declaration
> > > of 'struct KHTMLView'
> > > /builddir/build/BUILD/konq-plugins-4.3.3/babelfish/plugin_babelfish.cpp
> > >:2 53
> > >
> > > : error: invalid use of incomplete type 'struct KHTMLView'
> > >
> > > /usr/include/kde4/KDE/../dom/dom_doc.h:35: error: forward declaration
> > > of 'struct KHTMLView'
> > >
> > > > Fixed both... Let me know if there is anything else that does not
> > > > compile. Thanks.
> > > >
> > > > On Saturday 23 January 2010 20:27:20 alekcejk at googlemail.com wrote:
> > > > > The same error in konq-plugins
> > > > > http://koji.fedoraproject.org/koji/getfile?taskID=1940693&name=buil
> > > > >d. lo g
> > > > >
> > > > > plugin_babelfish.cpp:45:24: error: webkitpart.h: No such file or
> > > > > directory
> > > > >
> > > > > But kdebase builds fine. See build log here:
> > > > > http://koji.fedoraproject.org/koji/getfile?taskID=1940684&name=buil
> > > > >d. lo g
> > > > >
> > > > > > I have applied this patch
> > > > > > http://websvn.kde.org/trunk/playground/libs/webkitkde/part/cmake/
> > > > > >mo du le s/ Fi ndWebKitPart.cmake?r1=1053443&r2=1079265&view=patch
> > > > > > to webkitkde r1078162. Now WebKitPart package listed as located
> > > > > > on system but I get error:
> > > > > >
> > > > > > kget_plug_in.cpp:35:24: error: webkitpart.h: No such file or
> > > > > > directory
> > > > > >
> > > > > > See build log here:
> > > > > > http://koji.fedoraproject.org/koji/getfile?taskID=1940688&name=bu
> > > > > >il d. lo g
> > > > > >
> > > > > > > Fixed that as well.
> > > > > > >
> > > > > > > The module used to look for kwebkitpart did not have the
> > > > > > > correct (read: updated) library and header file names for the
> > > > > > > webkit part. Anyhow, update your playground/webkitkde and it
> > > > > > > should work fine. If you cannot update for whatever reason,
> > > > > > > then simply change the "webkitpart.h" to "kwebkitpart.h" in
> > > > > > > FindWebKitPart.cmake modules in your KDE installation
> > > > > > > directory.
> > > > > > >
> > > > > > > On Saturday 23 January 2010 15:24:20 alekcejk at googlemail.com
> 
> wrote:
> > > > > > > > As I can see in this patch
> > > > > > > > http://websvn.kde.org/branches/KDE/4.4/kdenetwork/kget/extens
> > > > > > > >io ns /k on qu er or
> > > > > > > > /CMakeLists.txt?r1=1070858&r2=1079166&view=patch there is
> > > > > > > > changed only install directory.
> > > > > > > >
> > > > > > > > But I also have this problems when building kdenetwork
> > > > > > > > 4.3.95:
> > > > > > > >
> > > > > > > > -- The following OPTIONAL packages could NOT be located on
> > > > > > > > your system. * WebKitPart
> > > > > > > > <https://svn.kde.org/home/kde/trunk/playground/libs/webkitkde
> > > > > > > >> WebKitPart libraries and header files
> > > > > > > >      WebKitPart is necessary to compile KGet support for
> > > > > > > > WebKitPart.
> > > > > > > >
> > > > > > > > > Fixed... Update kdenetwork and try again. Thanks...
> > > > > > > > >
> > > > > > > > > On Saturday 23 January 2010 14:09:30
> > > > > > > > > alekcejk at googlemail.com
> > >
> > > wrote:
> > > > > > > > > > Is kdenetwork needs also other fixes for build with last
> > > > > > > > > > webkitkde snapshot?
> > > > > > > > > >
> > > > > > > > > > > Hi,
> > > > > > > > > > >
> > > > > > > > > > > I am trying to build webkitkde svn 1078162 for KDE
> > > > > > > > > > > 4.3.95.
> > > > > > > > > > >
> > > > > > > > > > > kdebase needed last snapshot so I have used last one.
> > > > > > > > > > >
> > > > > > > > > > > But I ave noticed that this snapshot installs files in
> > > > > > > > > > > new dir /usr/share/kde4/apps/kwebkitpart
> > > > > > > > > > >
> > > > > > > > > > > but in kdenetwork 4.3.95 stiil used old path
> > > > > > > > > > > /usr/share/kde4/apps/webkitpart
> > > > > > > > > > >
> > > > > > > > > > > Alexey
> > > > > > > > > >
> > > > > > > > > > _______________________________________________
> > > > > > > > > > WebKit-devel mailing list
> > > > > > > > > > WebKit-devel at kde.org
> > > > > > > > > > https://mail.kde.org/mailman/listinfo/webkit-devel
> > > > > > > > >
> > > > > > > > > _______________________________________________
> > > > > > > > > WebKit-devel mailing list
> > > > > > > > > WebKit-devel at kde.org
> > > > > > > > > https://mail.kde.org/mailman/listinfo/webkit-devel
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > WebKit-devel mailing list
> > > > > > > > WebKit-devel at kde.org
> > > > > > > > https://mail.kde.org/mailman/listinfo/webkit-devel
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > WebKit-devel mailing list
> > > > > > > WebKit-devel at kde.org
> > > > > > > https://mail.kde.org/mailman/listinfo/webkit-devel
> > > > >
> > > > > _______________________________________________
> > > > > WebKit-devel mailing list
> > > > > WebKit-devel at kde.org
> > > > > https://mail.kde.org/mailman/listinfo/webkit-devel
> > > >
> > > > _______________________________________________
> > > > WebKit-devel mailing list
> > > > WebKit-devel at kde.org
> > > > https://mail.kde.org/mailman/listinfo/webkit-devel
> > >
> > > _______________________________________________
> > > WebKit-devel mailing list
> > > WebKit-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/webkit-devel
> >
> > _______________________________________________
> > WebKit-devel mailing list
> > WebKit-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/webkit-devel
> 
> _______________________________________________
> WebKit-devel mailing list
> WebKit-devel at kde.org
> https://mail.kde.org/mailman/listinfo/webkit-devel
> 


More information about the WebKit-devel mailing list