davidgfnet / whatsapp-purple

WhatsApp protocol implementation for libpurple (pidgin)
856 stars 211 forks source link

pleace update the fedora repo #361

Open bghv4q3kwc opened 8 years ago

bghv4q3kwc commented 8 years ago

Thank you for the great work!

Please update the fedora Repo https://copr.fedorainfracloud.org/coprs/davidgf/whatsapp-purple/packages/ with the new version 0.9 or document that it is not up to date and it is the build 0.7-1.fc21.

I had the same problem: https://github.com/davidgfnet/whatsapp-purple/issues/308#issuecomment-177276806

King regards.

davidgfnet commented 8 years ago

@Woodzrul Binaries for windows are out :D

ghost commented 8 years ago

@davidgfnet Yes, my fault. I had realised after submitting my post. Hence why I then deleted. Appreciate the hard work. :-)

bghv4q3kwc commented 8 years ago

Hey, what can I do to get the newest version in fedora? My try: $ make ARCH=x86_64 Package purple was not found in the pkg-config search path. Perhaps you should add the directory containing purple.pc to the PKG_CONFIG_PATH environment variable No package 'purple' found Package purple was not found in the pkg-config search path. Perhaps you should add the directory containing purple.pc to the PKG_CONFIG_PATH environment variable No package 'purple' found make -C libaxolotl-cpp/libcurve25519 make[1]: Entering directory '/tmp/whatsapp-purple/libaxolotl-cpp/libcurve25519' gcc -o src/curve25519-donna.o -c src/curve25519-donna.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_neg.o -c src/ed25519/fe_neg.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p1p1_to_p2.o -c src/ed25519/ge_p1p1_to_p2.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_cmov.o -c src/ed25519/fe_cmov.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p3_dbl.o -c src/ed25519/ge_p3_dbl.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p3_0.o -c src/ed25519/ge_p3_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_pow22523.o -c src/ed25519/fe_pow22523.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_copy.o -c src/ed25519/fe_copy.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_msub.o -c src/ed25519/ge_msub.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_1.o -c src/ed25519/fe_1.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_frombytes.o -c src/ed25519/fe_frombytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_sub.o -c src/ed25519/ge_sub.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_tobytes.o -c src/ed25519/ge_tobytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_add.o -c src/ed25519/ge_add.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/open.o -c src/ed25519/open.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p1p1_to_p3.o -c src/ed25519/ge_p1p1_to_p3.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_invert.o -c src/ed25519/fe_invert.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_add.o -c src/ed25519/fe_add.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_mul.o -c src/ed25519/fe_mul.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/sc_muladd.o -c src/ed25519/sc_muladd.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_frombytes.o -c src/ed25519/ge_frombytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_sub.o -c src/ed25519/fe_sub.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p3_to_cached.o -c src/ed25519/ge_p3_to_cached.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p2_dbl.o -c src/ed25519/ge_p2_dbl.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_scalarmult_base.o -c src/ed25519/ge_scalarmult_base.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_madd.o -c src/ed25519/ge_madd.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_sq2.o -c src/ed25519/fe_sq2.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/additions/sign_modified.o -c src/ed25519/additions/sign_modified.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/additions/zeroize.o -c src/ed25519/additions/zeroize.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/additions/compare.o -c src/ed25519/additions/compare.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/additions/curve_sigs.o -c src/ed25519/additions/curve_sigs.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 src/ed25519/additions/curve_sigs.c: In Funktion »curve25519_sign«: src/ed25519/additions/curve_sigs.c:46:17: Warnung: Implizite Deklaration der Funktion »malloc« [-Wimplicit-function-declaration] if ((sigbuf = malloc(msg_len + 128)) == 0) { ^ src/ed25519/additions/curve_sigs.c:46:17: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »malloc« src/ed25519/additions/curve_sigs.c:46:17: Anmerkung: include »<stdlib.h>« or provide a declaration of »malloc« src/ed25519/additions/curve_sigs.c:65:4: Warnung: Implizite Deklaration der Funktion »free« [-Wimplicit-function-declaration] free(sigbuf); ^ src/ed25519/additions/curve_sigs.c:65:4: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »free« src/ed25519/additions/curve_sigs.c:65:4: Anmerkung: include »<stdlib.h>« or provide a declaration of »free« src/ed25519/additions/curve_sigs.c: In Funktion »curve25519_verify«: src/ed25519/additions/curve_sigs.c:82:20: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »malloc« if ((verifybuf = malloc(msg_len + 64)) == 0) { ^ src/ed25519/additions/curve_sigs.c:82:20: Anmerkung: include »<stdlib.h>« or provide a declaration of »malloc« src/ed25519/additions/curve_sigs.c:87:21: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »malloc« if ((verifybuf2 = malloc(msg_len + 64)) == 0) { ^ src/ed25519/additions/curve_sigs.c:87:21: Anmerkung: include »<stdlib.h>« or provide a declaration of »malloc« src/ed25519/additions/curve_sigs.c:129:5: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »free« free(verifybuf); ^ src/ed25519/additions/curve_sigs.c:129:5: Anmerkung: include »<stdlib.h>« or provide a declaration of »free« src/ed25519/additions/curve_sigs.c:133:5: Warnung: Unverträgliche implizite Deklaration der eingebauten Funktion »free« free(verifybuf2); ^ src/ed25519/additions/curve_sigs.c:133:5: Anmerkung: include »<stdlib.h>« or provide a declaration of »free« gcc -o src/ed25519/fe_tobytes.o -c src/ed25519/fe_tobytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_precomp_0.o -c src/ed25519/ge_precomp_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_isnonzero.o -c src/ed25519/fe_isnonzero.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p2_0.o -c src/ed25519/ge_p2_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_isnegative.o -c src/ed25519/fe_isnegative.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/nacl_sha512/blocks.o -c src/ed25519/nacl_sha512/blocks.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/nacl_sha512/hash.o -c src/ed25519/nacl_sha512/hash.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_0.o -c src/ed25519/fe_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p3_tobytes.o -c src/ed25519/ge_p3_tobytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/sign.o -c src/ed25519/sign.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_double_scalarmult.o -c src/ed25519/ge_double_scalarmult.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/sc_reduce.o -c src/ed25519/sc_reduce.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/ge_p3_to_p2.o -c src/ed25519/ge_p3_to_p2.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 gcc -o src/ed25519/fe_sq.o -c src/ed25519/fe_sq.c -DLIBCURVE25519_LIBRARY -O2 -fPIC -std=c99 g++ -o curve.o -c curve.cpp -DLIBCURVE25519_LIBRARY -O2 -fPIC ar rcs libcurve25519.a src/curve25519-donna.o src/ed25519/fe_neg.o src/ed25519/ge_p1p1_to_p2.o src/ed25519/fe_cmov.o src/ed25519/ge_p3_dbl.o src/ed25519/ge_p3_0.o src/ed25519/fe_pow22523.o src/ed25519/fe_copy.o src/ed25519/ge_msub.o src/ed25519/fe_1.o src/ed25519/fe_frombytes.o src/ed25519/ge_sub.o src/ed25519/ge_tobytes.o src/ed25519/ge_add.o src/ed25519/open.o src/ed25519/ge_p1p1_to_p3.o src/ed25519/fe_invert.o src/ed25519/fe_add.o src/ed25519/fe_mul.o src/ed25519/sc_muladd.o src/ed25519/ge_frombytes.o src/ed25519/fe_sub.o src/ed25519/ge_p3_to_cached.o src/ed25519/ge_p2_dbl.o src/ed25519/ge_scalarmult_base.o src/ed25519/ge_madd.o src/ed25519/fe_sq2.o src/ed25519/additions/sign_modified.o src/ed25519/additions/zeroize.o src/ed25519/additions/compare.o src/ed25519/additions/curve_sigs.o src/ed25519/fe_tobytes.o src/ed25519/ge_precomp_0.o src/ed25519/fe_isnonzero.o src/ed25519/ge_p2_0.o src/ed25519/fe_isnegative.o src/ed25519/nacl_sha512/blocks.o src/ed25519/nacl_sha512/hash.o src/ed25519/fe_0.o src/ed25519/ge_p3_tobytes.o src/ed25519/sign.o src/ed25519/ge_double_scalarmult.o src/ed25519/sc_reduce.o src/ed25519/ge_p3_to_p2.o src/ed25519/fe_sq.o curve.o make[1]: Leaving directory '/tmp/whatsapp-purple/libaxolotl-cpp/libcurve25519' make -C libaxolotl-cpp make[1]: Entering directory '/tmp/whatsapp-purple/libaxolotl-cpp' protoc --cpp_out=state protobuf/LocalStorageProtocol.proto cp state/protobuf/LocalStorageProtocol.pb.cc state/LocalStorageProtocol.pb.cc cp state/protobuf/LocalStorageProtocol.pb.h state/LocalStorageProtocol.pb.h protoc --cpp_out=protocol protobuf/WhisperTextProtocol.proto cp protocol/protobuf/WhisperTextProtocol.pb.cc protocol/WhisperTextProtocol.pb.cc cp protocol/protobuf/WhisperTextProtocol.pb.h protocol/WhisperTextProtocol.pb.h g++ -o identitykey.o -c identitykey.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC g++ -o identitykeypair.o -c identitykeypair.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC In file included from ./state/sessionstate.h:4:0, from identitykeypair.cpp:3: ./state/LocalStorageProtocol.pb.h:9:42: schwerwiegender Fehler: google/protobuf/stubs/common.h: Datei oder Verzeichnis nicht gefunden Kompilierung beendet. Makefile:77: recipe for target 'identitykeypair.o' failed make[1]: *** [identitykeypair.o] Error 1 make[1]: Leaving directory '/tmp/whatsapp-purple/libaxolotl-cpp' Makefile:65: recipe for target 'libaxolotl-cpp/libaxolotl.a' failed make: *** [libaxolotl-cpp/libaxolotl.a] Error 2

But I get a fatal error. Where I obtain the file google/protobuf/stubs/common.h? Should I compile the protobuf like someone had suggested: https://github.com/davidgfnet/whatsapp-purple/issues/358#issuecomment-177136908 How?

King regards