By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 748 - Build issue: Various bugs preventing compilation [FTBFS]
Summary: Build issue: Various bugs preventing compilation [FTBFS]
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdenetwork (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: All Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-12-15 17:33 CST by L0ner
Modified: 2013-12-08 20:22 CST (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
patch for errors. (8.92 KB, patch)
2011-12-15 17:33 CST, L0ner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description L0ner 2011-12-15 17:33:39 CST
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.
Comment 1 L0ner 2011-12-15 17:34:37 CST
patchavail.
Comment 2 Timothy Pearson 2012-01-08 03:20:57 CST
This patch contains partial reversions of tqtinterface header renaming.  The patch will need to be updated or only partially applied to GIT.
Comment 3 L0ner 2012-01-08 07:33:24 CST
(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.
Comment 4 Darrell 2012-03-13 13:13:29 CDT
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.