Summary: | Kopete doesn't build with libotr 4.0.0 | ||
---|---|---|---|
Product: | [Applications] kopete | Reporter: | Andrea Scarpino <scarpino> |
Component: | OTR Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creffett, guillaume.horel, johu, kensington, neofytosk, pali.rohar, post, silvan.calarco, skaturn |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kopete/b977f1f701afd1f9192f35e0263f2f1c04bef53e | Version Fixed In: | 4.12 |
Description
Andrea Scarpino
2012-09-05 05:14:52 UTC
*** Bug 306277 has been marked as a duplicate of this bug. *** I have this exact same problem compiling from source. I run Arch. I have libotr versions 3, and 4: libotr3 3.2.1-1 libotr 4.0.0-1 @David use this as workaround https://projects.archlinux.org/svntogit/packages.git/plain/trunk/use-libotr3.patch?h=packages/kdenetwork Thank you very much for the workaround. I'm very new to KDE, and I'm using kdesrc-build to build the development branch. How do I go about applying the patch? -David @Andrea how about to put the workaround into an review request or is it too hacky? (In reply to comment #5) > @Andrea how about to put the workaround into an review request or is it too > hacky? The workaround requires a patched libotr which installs headers under the libotr3 prefix and provides a libotr3.so library. Git commit b977f1f701afd1f9192f35e0263f2f1c04bef53e by Michael Zanetti. Committed on 24/06/2013 at 22:20. Pushed by mzanetti into branch 'master'. ported otr plugin to libotr 4.0.0 Related: bug 195328, bug 218570, bug 298681, bug 304105, bug 309987, bug 318255, bug 204502 M +1 -3 CMakeLists.txt M +5 -5 cmake/modules/FindLibOTR.cmake M +17 -16 plugins/otr/authenticationwizard.cpp M +1 -1 plugins/otr/authenticationwizard.h M +1 -1 plugins/otr/kopete_otr.desktop M +1 -1 plugins/otr/otrguiclient.cpp M +1 -1 plugins/otr/otrguiclient.h M +455 -316 plugins/otr/otrlchatinterface.cpp M +42 -7 plugins/otr/otrlchatinterface.h M +2 -6 plugins/otr/otrlconfinterface.cpp M +1 -1 plugins/otr/otrlconfinterface.h M +22 -68 plugins/otr/otrplugin.cpp M +1 -1 plugins/otr/otrplugin.h M +1 -1 plugins/otr/otrpreferences.cpp M +1 -1 plugins/otr/otrpreferences.h M +1 -1 plugins/otr/privkeypopup.cpp M +1 -1 plugins/otr/privkeypopup.h http://commits.kde.org/kopete/b977f1f701afd1f9192f35e0263f2f1c04bef53e I tried building in Chakra kdenetwork-kopete 4.11.2 against libotr 4.0.0. The build completes, but I get this in the output: -- libotr version between 3.2.0 and 4.0.0 required but found 4.0.0. And then it's listed in the OPTIONAL dependencies that are NOT found: * libotr (3.2.0 or higher) <http://www.cypherpunks.ca/otr> A library to encrypt messages with Off-the-Record encryption (versions 3.2.0 to 4.0.0) Required for the Kopete otr plugin. Any idea why this might happen? Because this has not been fixed in KDE4.11 but master. (I guess) this cannot be backported because of the dependency version bump. Right, support will be in KDE 4.12 and cannot be backported (due to new dependency) to KDE 4.11 |