| Summary: | Build issue: Various bugs preventing compilation [FTBFS] | ||
|---|---|---|---|
| Product: | TDE | Reporter: | L0ner <sh4dou> |
| Component: | tdenetwork | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: | patch for errors. | ||
patchavail. This patch contains partial reversions of tqtinterface header renaming. The patch will need to be updated or only partially applied to GIT. (In reply to comment #2) > This patch contains partial reversions of tqtinterface header renaming. The > patch will need to be updated or only partially applied to GIT. tqname.h changed to qname.h in kopetes jabber protocol? It is needed to compile 3.5.13 from tarballs. Apply partially for git. The following files were updated/patched some time in the past: kopete/plugins/motionautoaway/motionawayplugin.cpp kopete/protocols/jabber/CMakeLists.txt kopete/protocols/jabber/jingle/libjingle/talk/base/sigslot.h kopete/protocols/jabber/jingle/libjingle/talk/p2p/client/sessionclient.cc kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.cc kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlelement.cc kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlelement.h kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.h kopete/protocols/jabber/jingle/libjingle/talk/xmpp/constants.cc kopete/protocols/jabber/jingle/libjingle/talk/xmpp/constants.h kopete/protocols/jabber/jingle/libjingle/talk/xmpp/xmppengine.h The following patches are not required: kopete/protocols/msn/msnswitchboardsocket.cpp (builds without patch and finds kopeteemoticons.h) kopete/protocols/msn/CMakeLists.txt (dummy.cpp is required for the build) The following files have not been patched: kopete/protocols/jabber/kioslave/CMakeLists.txt kopete/protocols/sms/services/smsclient.cpp (Further "readEntry...TQString" cleanup added in kopete/protocols/sms/services/smsclient.cpp.) Original patch revised and updated for GIT. Final patch merged in GIT hash 7c85760c482a04669867cb7e1d671c29424895ac. |
Created attachment 225 [details] patch for errors. During building of binaries for arch some of errors present in kdenetwork tarball have surfaced. I fixed them like I could. I don't know if those errors are present in the git tree (probable). In order to apply this patch to the git tree it needs to be modified to support new naming standards. Maybe we should provide this patch through our wiki as attachement to the how-to-build page for those who want to build from tarballs. fixes explained file after file: kdenetwork/kopete/plugins/motionautoaway/motionawayplugin.cpp - since linux/videodev.h [and relatives (Video4linux)] was removed form kernel >= 2.6.38 and are now provided by external project (libv4l), i changed include to point to the new file. kdenetwork/kopete/protocols/jabber/CMakeLists.txt - missing libidn linkage instruction kopete/protocols/jabber/jingle/libjingle/talk/base/sigslot.h - missing stdlib.h inclusion, without it NULL isn't declared and compiler returns "NULL wasn't declared for this scope." kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/p2p/client/sessionclient.cc kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.h kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlelement.cc kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlelement.h kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/xmlnsstack.h kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmpp/constants.h kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmpp/constants.cc kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmpp/xmppengine.h - [check if bug exists id git] qname.{h,cc} was renamed in #include statement to tqname.{h,cc} yet files were not renamed. reverted to original names in #include statements (qname.{h,cc}) - maybe it would be simplier to rename those files? kdenetwork/kopete/protocols/jabber/kioslave/CMakeLists.txt - missing libidn linkage instruction kdenetwork/kopete/protocols/msn/CMakeLists.txt removed dummy.cpp which shouldn't be there in tde_add_kpart() macro kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp - kopeteemoticons.h #include statement error. kopeteemoticons.h is not present in main dir, but present in private dir. #include statement fixed to point to private/kopeteemoticons.h instead of pointing to kopeteemoticons.h kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp unnecessary.TQString() removed [check if it is really not needed] since it was preventing compilation.