absolute-freedom-nation-state / libretg-desktop

libretg desktop messaging app. гномофоношваброграм!
https://desktop.socium.chat/ (not yet working)
Other
0 stars 0 forks source link

Building: use a Debian patches to unlink from old Qt — and/or build with «canonical tg patched qt» #1

Open nonlin-lin-chaos-order-etc-etal opened 5 years ago

nonlin-lin-chaos-order-etc-etal commented 5 years ago

https://salsa.debian.org/debian/telegram-desktop/tree/debian/master/debian/patches

2:../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslsocket_openssl_symbols_p.h:513:60: error: ‘SSL_CTRL_OPTIONS’ was not declared in this scope
2:ssl/qsslcertificate_openssl.cpp:63:30: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
2:ssl/qsslcertificate_openssl.cpp:87:68: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
2:ssl/qsslcertificate_openssl.cpp:96:45: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
2:ssl/qsslcertificate_openssl.cpp:232:32: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’
2:ssl/qsslcertificate_openssl.cpp:236:29: error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
2:ssl/qsslcertificate_openssl.cpp:240:36: error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
2:ssl/qsslcertificate_openssl.cpp:245:36: error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
2:ssl/qsslcertificate_openssl.cpp:250:36: error: invalid use of incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
2:ssl/qsslcontext_openssl.cpp:329:41: error: ‘SSL_CTRL_SET_ECDH_AUTO’ was not declared in this scope
2:ssl/qsslcontext_openssl.cpp:473:50: error: invalid use of incomplete type ‘SSL_SESSION {aka struct ssl_session_st}’
nonlin-lin-chaos-order-etc-etal commented 5 years ago

or install Ubuntu 12.04 into vbox and enjoy. John Preston wrote long ago: «I build the production versions on Ubuntu 12.04, because they work after that on Ubuntu 12.04 and above. If I build a version on some new distro it doesn't work on old ones anymore.»

nonlin-lin-chaos-order-etc-etal commented 5 years ago

12.04 is obsolete even for tg:

E: Не удалось найти пакет gcc-7
E: Не удалось найти пакет g++-7
E: Не удалось найти пакет по регулярному выражению «g++-7»
nonlin-lin-chaos-order-etc-etal commented 5 years ago

ну да, 14.04 требуют: «The build instructions are for Ubuntu 14.04, I’ve never tried building it on more new versions.» — J Preston at https://github.com/telegramdesktop/tdesktop/issues/4926#issuecomment-401590835