diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/Manifest.gz | bin | 10445 -> 10444 bytes | |||
-rw-r--r-- | net-im/bitlbee/Manifest | 11 | ||||
-rw-r--r-- | net-im/bitlbee/bitlbee-3.6-r2.ebuild | 7 | ||||
-rw-r--r-- | net-im/bitlbee/bitlbee-3.6-r3.ebuild | 7 | ||||
-rw-r--r-- | net-im/bitlbee/bitlbee-9999.ebuild | 10 | ||||
-rw-r--r-- | net-im/bitlbee/files/bitlbee-3.6-system-json-parser.patch | 23 | ||||
-rw-r--r-- | net-im/bitlbee/files/bitlbee-9999-system-json-parser.patch | 83 | ||||
-rw-r--r-- | net-im/bitlbee/metadata.xml | 7 | ||||
-rw-r--r-- | net-im/synapse/Manifest | 2 | ||||
-rw-r--r-- | net-im/synapse/synapse-1.65.0.ebuild | 104 | ||||
-rw-r--r-- | net-im/telegram-desktop/Manifest | 6 | ||||
-rw-r--r-- | net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch | 2 | ||||
-rw-r--r-- | net-im/telegram-desktop/files/tdesktop-3.6.0-jemalloc-only-telegram.patch | 2 | ||||
-rw-r--r-- | net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild | 181 |
14 files changed, 332 insertions, 113 deletions
diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz Binary files differindex f9e74f3ef236..0ec82517f31b 100644 --- a/net-im/Manifest.gz +++ b/net-im/Manifest.gz diff --git a/net-im/bitlbee/Manifest b/net-im/bitlbee/Manifest index 6e2b53648d93..d4c4ed33ec57 100644 --- a/net-im/bitlbee/Manifest +++ b/net-im/bitlbee/Manifest @@ -3,12 +3,11 @@ AUX bitlbee-3.5-libevent.patch 1942 BLAKE2B a6233d97f17d2695efe13a6bd395ba77e72e AUX bitlbee-3.5-systemd-user.patch 188 BLAKE2B 9cdb3713aaf213b741a8dbef0a790a35458b955515bb720987471c519848ec6b9a232fe136ca554a3fe1eb0c184d96b8774cee4a41c0cd3d822a33598ac50e79 SHA512 1775b5dce7bdd4fbe52a46e361d8a9b0127be2dc32a3e8b438fca8fce9139903feb91c968847f002e099553eb8d4a110914cfb19121ae79a3f6c9eb100846edd AUX bitlbee-3.6-disabled-plugins-use.patch 1695 BLAKE2B 5c5ab3f330921a471da5fcc39c2156322eb040683ad0ee6894a4c9d189868e9af126c6530ff46879d48878771007c76c1e77b266ea3bcfdba5fc2fe7121ac7ac SHA512 9e7f2a25c70a0d2eca9b6731f568fc3b639b057bebf8131aa9f4089f0ce28761cd03035320cd88ba58c622ec342d08946f31fdec20e45d3b25fb316ac4fe0dfc AUX bitlbee-3.6-strict-aliasing.patch 1081 BLAKE2B 69dfd5114e763a40da4a4032fa10b94db69e9a3440f93462396de56078be1980e07bcc3e1c89e3422d8be568c5732c45df9c971c5db0b629f5c396618a660f29 SHA512 f1aa18124a8d6a3bbad2bf6b9c5f6572dd765a33a9a678719f5b980b04a235adfe6c06ff31fe31200260380ec4131202c5f58fd41296525fc6f73974d7ab43f4 -AUX bitlbee-3.6-system-json-parser.patch 2416 BLAKE2B f3b3e2f38fd92893120ddcf2b3825c81df5ae08a1fbf838f5421c0e085956f0a913783bddd2d8218e77bb6d1db0e0591e469d18099e42355a0cc411ad8a8c410 SHA512 f017205c67e0a57d74fc6480eb7a77a942626b83cd09a47201f4dd5f4e8f21f66643f3f448299d58aba5ef8254ca57d527e65d8d624453fef3a738d09d054206 -AUX bitlbee-9999-system-json-parser.patch 2448 BLAKE2B 70d0591724bd40ceb7a4e3da1dd1364b9b08238c6bf6ce0790b13657854a37a20f297d54597501c0bc628b8ab08b6ef2edc9e3de1710307f69b55307a4689799 SHA512 433e243e37df230ea8a3ef7a1ceeadbad3d5f556b25a67122522bdd6b5e51d03639e7a785e1bba667256687690f036d90bbc2297646498d3d48aee3c90748464 +AUX bitlbee-3.6-system-json-parser.patch 3188 BLAKE2B b11668741a29669e985ca805ca7884782a69c657a03c71b75efdc5de22af358c8c679a06651375cefeb91cb772509e6ec734c1c90c41df98f409a760323e9405 SHA512 a80fe4bb4f1e5edb3d67b839805135b1c5766ae3da1fc632c873e1daed3b2ad190c19e32da784f16fbe88f6305f27da42965c96129238be6da64ac6494b083c3 AUX bitlbee.confd-r2 303 BLAKE2B 01ac57be4d6d50be227d6528425909a98231d3e5e2d7718ee71195890123145169a4be1568514b41b9509b992e747c4169022d31fb33c62e00a00f757307d8d8 SHA512 4ba7b8a81d5b77bd8ccd94431b065d4850c97bb153ca715f5f4ea6a1f9a6c90ab2c99fb9d6342311ae948bd34904a9cc2b3696f1b8f09e2475b79d254f744ae4 AUX bitlbee.initd-r2 244 BLAKE2B 1f4900c9bcad2469ad97e4a4c34e58124e4e3634bbcb8d3c6d30b16ab343995870cfa27a33cfaff04df59fc52f888368d173966a2d5306b2adae98c72c28a305 SHA512 c965f8bbd2b3d13a6c66455a3cc503a94ea0c8000a0e41e283ce1828ee59105d162552979343e8ebb6513fd15bf44a4274b0558928ae0e89b424773cdb8b7b97 DIST bitlbee-3.6.tar.gz 534961 BLAKE2B 007681a384fcb2c0736b901dfdc213ba0829ca006ad3204aca1bc4520a3874760867df6165a9218a9deeabb13bc06f118c9e2f804a97e671a348734f6cb7e963 SHA512 ccbf0f23e228de2de147241f36f59744b2256cba958e2fabfba0cfa60935e55bbb7d7e20fffa54da9a345e55ffa9ca82cb62e9b99dc738ba35c6e268c6561a8d -EBUILD bitlbee-3.6-r2.ebuild 3429 BLAKE2B 6fe3a53244299cd65de9bef03574e80d682057b16927aaf311574b4bea67e7df4704eddab070f99e7d5f2c5882bdaa0eb18cb9b22168ccf52c6fa20ba553941a SHA512 d5dbd63b8ba6253b90c485a2587d951a4803f2fad76b838e73549929bed25e78ff378d59b16043896b3ec89040af40e497f2088d50b09f103c67e0e543da4394 -EBUILD bitlbee-3.6-r3.ebuild 3456 BLAKE2B ca4c8c900f0f2a4162cf81b01823c9e433b36ff5cba7ff2d639ff5a239143d0bbe0334d8a4bdd90685911605d427d3d4a2b3b06ed444f496ad72f9761a095a61 SHA512 2d6eac5608a402cdc889bd512b078a6e92ccf247ff2182a4720559264ae46ff6598886f29ab840e4e776584af5eae40a97f07a87ed72ad98ad9c591040b47643 -EBUILD bitlbee-9999.ebuild 3353 BLAKE2B 77f1d077fd562d6c995dedc72e7fbbb5449138ce25b5246b0a908f3fe4ef803a25bb0a44e1298b26d70fc3ffa3b7fadca1650d5f692acfb900d72d55cbe2c014 SHA512 603a0df44a93590b9a3d642e95da80c5305be5b62cb282686a7a934b7f3f690a78ff1401360bc4bb113b3cdfa89876cd9e8a8308376b74c6808f3026dfe9dc72 -MISC metadata.xml 1249 BLAKE2B c632b9333f1ece9f3ff98937466943f3e3cd00040402d77a3036e916f26a31cd6db4fd0448f84236830875b2e4bb8611d9cd3925166aff6840ab6d0511ac0d1f SHA512 6ebc32ca990a8904828f5b120e489669e5544e2d0dbba17aa627dde28d511d3cb7f9de86363134a0b5d629ad84e659a8834dac70dcdde0816e7ce1961dcd45eb +EBUILD bitlbee-3.6-r2.ebuild 3390 BLAKE2B 8d99e3e33e37b880ca93138a8bfc576c930f7c1c11ed2c30eb3d8011185a8f788520a24ea60c300643fc0c0a0c57176bd02f249a9512e1bfaa9be85c38c5c423 SHA512 359e7d2ac0937ac96d3cfec2f33343ce84db022e3b5fe7d8a47950084429346f9688f6641b2e8544b5b43756aaf6b327bc970cd3bf8b5896d3c2e1a164f037f2 +EBUILD bitlbee-3.6-r3.ebuild 3417 BLAKE2B 425016fe04274398024ebdc53b7b7d15515862c0083615cd1f38f3df9b4d7bf55995d55590ee0238121d54770c398875b7caab68823439077f0ceb7d65ff775e SHA512 5b09002f798cdf3df4c60b0806ce7ab5c75287f61cd4c81d868d7c4dc6e279ebd9166b300012449cecc8d61cb7b679248085410e571021bf227c1a5745f0574d +EBUILD bitlbee-9999.ebuild 3271 BLAKE2B fa7cb958175c9566c1d302a08217558a19bbe3c73b7625c5b45add30093f461ec6c0e315f575ab842ebdc4a26deda2631d476f9bc7535af45fe4ea36fd38f373 SHA512 9f75e517432005176eb00cea2ca8824482bd0ee59b6d0b6e4ea211440f6fe10c02c592465bc4ef172c037af996cc6339459b07f2654ce1c8f7d2b2da73157144 +MISC metadata.xml 1086 BLAKE2B 80323823cf9e17452240a2fabac2ea13afbb08f1e6d83e6a66fe9ab997052987aa0534952e682a37280e27b6ebbfd8119e75bd4b2974b25177e40eed4cf12cb3 SHA512 e10e08d69371c5b320a0cc1b8f6fc2fac2b237e96b660453df3e0ede55b7c99d2c5813b7d3a0177215e47b2a04e759c178641483fc460a283e5b351bdc2f1f83 diff --git a/net-im/bitlbee/bitlbee-3.6-r2.ebuild b/net-im/bitlbee/bitlbee-3.6-r2.ebuild index 127f0a88198d..26f201ce42fd 100644 --- a/net-im/bitlbee/bitlbee-3.6-r2.ebuild +++ b/net-im/bitlbee/bitlbee-3.6-r2.ebuild @@ -20,16 +20,15 @@ HOMEPAGE="https://www.bitlbee.org/" LICENSE="GPL-2 BSD-2" SLOT="0" -IUSE_PROTOCOLS="msn oscar purple twitter +xmpp" +IUSE_PROTOCOLS="purple twitter +xmpp" IUSE="debug +gnutls ipv6 libevent nss otr +plugins selinux test xinetd ${IUSE_PROTOCOLS}" RESTRICT="!test? ( test )" REQUIRED_USE=" - || ( purple xmpp msn oscar ) + || ( purple xmpp ) purple? ( plugins ) - test? ( plugins ) - xmpp? ( !nss ) + test? ( xmpp ) " COMMON_DEPEND=" diff --git a/net-im/bitlbee/bitlbee-3.6-r3.ebuild b/net-im/bitlbee/bitlbee-3.6-r3.ebuild index 72d2a7207ba2..01b8a33d3618 100644 --- a/net-im/bitlbee/bitlbee-3.6-r3.ebuild +++ b/net-im/bitlbee/bitlbee-3.6-r3.ebuild @@ -20,16 +20,15 @@ HOMEPAGE="https://www.bitlbee.org/" LICENSE="GPL-2" SLOT="0" -IUSE_PROTOCOLS="msn oscar purple twitter +xmpp" +IUSE_PROTOCOLS="purple twitter +xmpp" IUSE="debug +gnutls ipv6 libevent nss otr +plugins selinux test xinetd ${IUSE_PROTOCOLS}" RESTRICT="!test? ( test )" REQUIRED_USE=" - || ( purple xmpp msn oscar ) + || ( purple xmpp ) purple? ( plugins ) - test? ( plugins ) - xmpp? ( !nss ) + test? ( xmpp ) " COMMON_DEPEND=" diff --git a/net-im/bitlbee/bitlbee-9999.ebuild b/net-im/bitlbee/bitlbee-9999.ebuild index 0a8cc973ae18..079feaea767b 100644 --- a/net-im/bitlbee/bitlbee-9999.ebuild +++ b/net-im/bitlbee/bitlbee-9999.ebuild @@ -20,16 +20,15 @@ HOMEPAGE="https://www.bitlbee.org/" LICENSE="GPL-2" SLOT="0" -IUSE_PROTOCOLS="msn oscar purple twitter +xmpp" +IUSE_PROTOCOLS="purple twitter +xmpp" IUSE="debug +gnutls ipv6 libevent nss otr +plugins selinux test xinetd ${IUSE_PROTOCOLS}" RESTRICT="!test? ( test )" REQUIRED_USE=" - || ( purple xmpp msn oscar ) + || ( purple xmpp ) purple? ( plugins ) - test? ( plugins ) - xmpp? ( !nss ) + test? ( xmpp ) " COMMON_DEPEND=" @@ -63,7 +62,6 @@ BDEPEND="${PYTHON_DEPS} PATCHES=( "${FILESDIR}/${PN}-3.5-systemd-user.patch" - "${FILESDIR}/${P}-system-json-parser.patch" ) src_configure() { @@ -116,7 +114,7 @@ src_configure() { --libdir=/usr/$(get_libdir) \ --pcdir=/usr/$(get_libdir)/pkgconfig \ --plugindir=/usr/$(get_libdir)/bitlbee \ - --externaljsonparser=1 \ + --external_json_parser=1 \ --systemdsystemunitdir=$(systemd_get_systemunitdir) \ --doc=1 \ --strip=0 \ diff --git a/net-im/bitlbee/files/bitlbee-3.6-system-json-parser.patch b/net-im/bitlbee/files/bitlbee-3.6-system-json-parser.patch index 02d57e02d6d2..0a9c197d763d 100644 --- a/net-im/bitlbee/files/bitlbee-3.6-system-json-parser.patch +++ b/net-im/bitlbee/files/bitlbee-3.6-system-json-parser.patch @@ -1,13 +1,16 @@ This is adapted patch from upstream PR 151. Original PR defines --external-json-parser which breaks configuration, see [1]. It was changed to --externaljsonparser and $external_json_parser to $externaljsonparser. +Additionally, LDFLAGS_CHECK variable was introduced in order to make +tests working, see [2] and #865667. [1] https://github.com/bitlbee/bitlbee/pull/151#issuecomment-1201181905 +[2] https://github.com/bitlbee/bitlbee/pull/151#issuecomment-1219254239 Upstream-PR: https://github.com/bitlbee/bitlbee/pull/151 diff --git a/configure b/configure -index 4640c806..77b1213b 100755 +index fd8d363a..39495515 100755 --- a/configure +++ b/configure @@ -47,6 +47,7 @@ plugins=1 @@ -26,7 +29,7 @@ index 4640c806..77b1213b 100755 --target=... Cross compilation target same as host -@@ -398,6 +400,20 @@ else +@@ -398,6 +400,21 @@ else fi echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings @@ -41,13 +44,14 @@ index 4640c806..77b1213b 100755 +if [ "$externaljsonparser" = "1" ]; then + echo "CFLAGS+=$(pkg-config --cflags json-parser)" >> Makefile.settings + echo "LDFLAGS_BITLBEE+=$(pkg-config --libs json-parser)" >> Makefile.settings ++ echo "LDFLAGS_CHECK+=$(pkg-config --libs json-parser)" >> Makefile.settings +fi + + detect_gnutls() { if $PKG_CONFIG --exists gnutls; then -@@ -979,6 +995,12 @@ else +@@ -979,6 +996,12 @@ else echo ' systemd disabled.' fi @@ -77,6 +81,19 @@ index fc46aedc..ad95d9cb 100644 LFLAGS += -r +diff --git a/tests/Makefile b/tests/Makefile +index 76122a2f..2235bf1d 100644 +--- a/tests/Makefile ++++ b/tests/Makefile +@@ -20,7 +20,7 @@ test_objs = check.o check_util.o check_nick.o check_md5.o check_arc.o check_irc. + + check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o + @echo '*' Linking $@ +- $(VERBOSE) $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) ++ $(VERBOSE) $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(LDFLAGS_CHECK) $(EFLAGS) + + %.o: $(_SRCDIR_)%.c + @echo '*' Compiling $< -- 2.35.1 diff --git a/net-im/bitlbee/files/bitlbee-9999-system-json-parser.patch b/net-im/bitlbee/files/bitlbee-9999-system-json-parser.patch deleted file mode 100644 index 07f2878525ec..000000000000 --- a/net-im/bitlbee/files/bitlbee-9999-system-json-parser.patch +++ /dev/null @@ -1,83 +0,0 @@ -This is adapted patch from upstream PR 151. Original PR defines ---external-json-parser which breaks configuration, see [1]. It was changed to ---externaljsonparser and $external_json_parser to $externaljsonparser. - -[1] https://github.com/bitlbee/bitlbee/pull/151#issuecomment-1201181905 - -Upstream-PR: https://github.com/bitlbee/bitlbee/pull/151 - -diff --git a/configure b/configure -index 4640c806..77b1213b 100755 ---- a/configure -+++ b/configure -@@ -47,6 +47,7 @@ plugins=1 - otr=0 - - events=glib -+externaljsonparser=auto - ssl=auto - - pam=0 -@@ -148,6 +149,7 @@ Option Description Default - --events=... Event handler (glib, libevent) $events - --ssl=... SSL library to use (gnutls, nss, openssl, auto) - $ssl -+--externaljsonparser=0/1/auto Use External JSON parser $externaljsonparser - - - --target=... Cross compilation target same as host -@@ -398,6 +400,20 @@ else - fi - echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings - -+if [ "$externaljsonparser" = "auto" ]; then -+ if pkg-config --exists json-parser; then -+ externaljsonparser=1 -+ else -+ externaljsonparser=0 -+ fi -+fi -+echo "EXTERNAL_JSON_PARSER=$externaljsonparser" >> Makefile.settings -+if [ "$externaljsonparser" = "1" ]; then -+ echo "CFLAGS+=$(pkg-config --cflags json-parser)" >> Makefile.settings -+ echo "LDFLAGS_BITLBEE+=$(pkg-config --libs json-parser)" >> Makefile.settings -+fi -+ -+ - detect_gnutls() - { - if $PKG_CONFIG --exists gnutls; then -@@ -979,6 +995,12 @@ else - echo ' systemd disabled.' - fi - -+if [ "$externaljsonparser" = "1" ]; then -+ echo ' Using system JSON parser.' -+else -+ echo ' Using bundled JSON parser.' -+fi -+ - echo ' Using python: '$PYTHON - echo ' Using event handler: '$events - echo ' Using SSL library: '$ssl - #echo ' Building with these storage backends: '$STORAGES -diff --git a/lib/Makefile b/lib/Makefile -index fc46aedc..ad95d9cb 100644 ---- a/lib/Makefile -+++ b/lib/Makefile -@@ -12,7 +12,11 @@ _SRCDIR_ := $(_SRCDIR_)lib/ - endif - - # [SH] Program variables --objects = arc.o base64.o canohost.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o json.o json_util.o md5.o misc.o oauth.o oauth2.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o ns_parse.o -+objects = arc.o base64.o canohost.o $(EVENT_HANDLER) ftutil.o http_client.o ini.o json_util.o md5.o misc.o oauth.o oauth2.o proxy.o sha1.o $(SSL_CLIENT) url.o xmltree.o ns_parse.o -+ -+ifneq ($(EXTERNAL_JSON_PARSER),1) -+objects += json.o -+endif - - LFLAGS += -r - --- -2.35.1 - diff --git a/net-im/bitlbee/metadata.xml b/net-im/bitlbee/metadata.xml index a3e4b3e074d2..0541d2f03527 100644 --- a/net-im/bitlbee/metadata.xml +++ b/net-im/bitlbee/metadata.xml @@ -11,9 +11,7 @@ </maintainer> <use> <flag name="libevent">Use libevent for event handling</flag> - <flag name="msn">Enable MSN Messenger IM protocol support.</flag> - <flag name="nss">Use NSS for SSL support in MSN and Jabber</flag> - <flag name="oscar">Enable Oscar (AIM/ICQ) IM protocol support</flag> + <flag name="nss">Prefer <pkg>dev-libs/nss</pkg> as SSL/TLS provider</flag> <flag name="otr">Enable support for encrypted conversations</flag> <flag name="plugins">Enable support for plugins</flag> <flag name="purple">Use libpurple instead of the built-in IM protocol support</flag> @@ -21,8 +19,7 @@ </use> <longdescription> Bitlbee as an IRC to IM gateway. It provides an irc server that allows - you to log on and then connect to various instant messaging protocols - (AIM, MSN, Yahoo, Jabber, etc). + you to log on and then connect to various instant messaging protocols. </longdescription> <upstream> <remote-id type="github">bitlbee/bitlbee</remote-id> diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest index d1b29383c7eb..2b7d85a5ccf8 100644 --- a/net-im/synapse/Manifest +++ b/net-im/synapse/Manifest @@ -2,6 +2,8 @@ AUX synapse.initd 365 BLAKE2B 064dce5e10596316509f321de9819edab15fc91551e5fc9747 AUX synapse.service 549 BLAKE2B 4b91a2da29b2a9afc5a6cff3c74a8b2f0dbe86063d0a47e60fddf8eb712b3642c308181ba2444a7e59b58f942368e7217dc94088a2487816aa44e28f49094573 SHA512 a9039c2883008c191cc89bec6f52893b489688e83525eeef09a979fc22b09b048cd03d6a7a450ac3d1441abccdcd6786cfd6c8f0b90ea98d1516c312bf634636 DIST synapse-1.62.0.gh.tar.gz 7841903 BLAKE2B f3002798a3fccd1b7fc4a1a302d12dd0940727ce8e89bcab0fdda04d498dbc9e469d21e7815db75b3593fcdfa01557e6828a39e874e946ce1b43d51cfe459ee6 SHA512 2bf9264f08fab29e8707317b69c52a4234bb25443c342ba43a27e06c506bcca1a9bdb211a99802abbca551e4f4288f68775d4629493b39d58dfcc8d8d1ca8ab8 DIST synapse-1.63.1.gh.tar.gz 7861575 BLAKE2B 7f69f2620289aa2c6b846514ce086e0ce20d559179cded20cda43b6c2ef2ad36d3b3f3fd6b139d2237a4c002c92a820a4150e5d8b25218b17bf22b9999638c67 SHA512 eb3bfb22081e932b2b7168a2b656b2ba7cc656bffbf60eb169b8d187d2a742809e2c0d6170afcea2bcf40ae5042a7b2ce7d7438294167bcc48def71e2488e338 +DIST synapse-1.65.0.gh.tar.gz 7895758 BLAKE2B 1c816dfb7982fc0462a4a3b84c19dd144e7ac16d6cadf1e73dc71002c234eed5945ad8162d69960eff1bab80a3396a1b78e0be2cc2dfee314f6fb39d0b91b098 SHA512 3ba9751f707d41a9e18d9fe63f9652c36712451d42953e2bd4add8c142418a2a47a2ce75da893832af9225b944dd7b275f6d744f6e70d468b7f143dd5ccb9137 EBUILD synapse-1.62.0.ebuild 3011 BLAKE2B 1b696853f19885fd7b592b8dbe2d44377774c6f11484867d6b6f29f09d177d56eda6d8baef35a17b655408e23db9e7d87987418d1b26465dfa7378308085b2ae SHA512 1aef2a2e01ecaea8ceba05481131b60f8dc77f7b047676534f4ba78c78940595b2c963c3154d2bdd961c18cce3bdb5bc0e0bdaffb8551da915a50f3eec2b8294 EBUILD synapse-1.63.1.ebuild 3196 BLAKE2B 65b0143d80ec390dfe54e9e8750b7b1816bd762cb2449b4bb3c7a36078e007528fc2a8deaeb608dfe86e6126862e137d713c99d9e8976c8f7e7875db004035aa SHA512 00d922ffed7320471bcdf0d4f8bcc2534b2423dbb10a1548988a7eb6ac76f16de71943a311174eff5c4e5d403b09dd97889f579c5d9563728c54f83f3c4b9eb5 +EBUILD synapse-1.65.0.ebuild 3234 BLAKE2B d2a4de34c5291e116e33b6fbd8ecb97a0f47947ed6f4f87dd5ec08791cb380472eb49066996807ccb8e4080f8e4e95decd9f7d34302faff2fa9e8612bdb5d9f2 SHA512 bd0019a34753bde068db4d31457204dd59364966c0a763567afff6f9048416cd9917c808ab640f6a34f33a9a385d289587544b947d16d181fab85da1bc6983f0 MISC metadata.xml 474 BLAKE2B 1e990bd0b3e6234f15e2e036ca6c9157b6bb27c36542e24d5e80a5f2a8dc04a592ee267869869d79bee00177ac8c11ddb630483d802c3d6be49317d41ea41cdb SHA512 6447082bda7509c395fc60bd23fb506d1d61cc0d6b89aca7d68c263270bb7d941f3ea95b18f428c301b0f0cd536688856b85ea264b0facea7cb5d51bd5909c46 diff --git a/net-im/synapse/synapse-1.65.0.ebuild b/net-im/synapse/synapse-1.65.0.ebuild new file mode 100644 index 000000000000..fbca8d3743db --- /dev/null +++ b/net-im/synapse/synapse-1.65.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=poetry + +inherit distutils-r1 multiprocessing optfeature systemd + +DESCRIPTION="Reference implementation of Matrix homeserver" +HOMEPAGE=" + https://matrix.org/ + https://github.com/matrix-org/synapse/ +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/matrix-org/${PN}.git" +else + MY_PV="${PV/_rc/rc}" + SRC_URI="https://github.com/matrix-org/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" + KEYWORDS="~amd64 ~ppc64" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="postgres systemd test" +RESTRICT="!test? ( test )" + +DEPEND=" + acct-user/synapse + acct-group/synapse +" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/canonicaljson[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/frozendict[${PYTHON_USEDEP}] + dev-python/ijson[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + >=dev-python/matrix-common-1.2.1[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/phonenumbers[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},webp] + dev-python/prometheus_client[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pymacaroons[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + dev-python/signedjson[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/unpaddedbase64[${PYTHON_USEDEP}] + postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) + systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] ) + ') +" +BDEPEND=" + test? ( $(python_gen_cond_dep ' + dev-python/idna[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ') ) +" + +python_test() { + "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" tests || die "Tests failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + keepdir /var/{lib,log}/synapse /etc/synapse + fowners synapse:synapse /var/{lib,log}/synapse /etc/synapse + fperms 0750 /var/{lib,log}/synapse /etc/synapse + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/synapse.service" +} + +pkg_postinst() { + optfeature "VoIP relaying on your homeserver with turn" net-im/coturn + + einfo "In order to generate initial configuration run:" + einfo "sudo -u synapse synapse_homeserver \\" + einfo " --server-name matrix.domain.tld \\" + einfo " --config-path /etc/synapse/homeserver.yaml \\" + einfo " --generate-config \\" + einfo " --data-directory /var/lib/synapse \\" + einfo " --report-stats=no" + einfo + einfo "See also upgrade notes:" + einfo "https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md" +} diff --git a/net-im/telegram-desktop/Manifest b/net-im/telegram-desktop/Manifest index 517141f21542..a29fc4a2143d 100644 --- a/net-im/telegram-desktop/Manifest +++ b/net-im/telegram-desktop/Manifest @@ -1,14 +1,16 @@ -AUX tdesktop-3.3.0-fix-enchant.patch 819 BLAKE2B f827deca269c32648e438642a916383e6184ef3fbdb045c8950997b3a30c6231336fe54a3b39ae5b2b93e7c6c72d0080f00a535dcf6932bbe3740041ba79abc8 SHA512 2653dd30699633c55e590744ed1fb2104b473d43e6391ece791bf3543cac7de594a75d303dc66dd9c7b75face5e90615da261d10758e50e1c669ad0b4f27923f +AUX tdesktop-3.3.0-fix-enchant.patch 851 BLAKE2B 11993329f16ba959516da010046c9ba0ad6f7a4c4e1ad1e2da436d3df674c0800f4136a57db14899e4ad54b32d4839714b50e82ac07f2a3bfa713d4ec19d3d8c SHA512 2b1074f6bae54ac5b58b85cff93f37c262f67c50fe0af8463d657ae04313197ffa075988590a3fbf70e44b03b618e65d6d6a40de748b98eac6005499aa02292e AUX tdesktop-3.5.2-jemalloc-only-telegram.patch 1032 BLAKE2B 8220f745febaec55b85f64e25a860f9cfee57bf07496e0bf496857686c5bf7bdfb9c9ede94f9374dea677f1516e8dff39cae5b3a993d1c0fe32d34cf0c91015e SHA512 156a62d5d2145559828466e4c09c23cf8a0cd0cb9d844c27d50945135d854a2e0af45cb3e0dc675e21f74dc2f323574a785e259e86f4120d055aa0e34fd20ea9 AUX tdesktop-3.5.2-jemalloc-optional.patch 2924 BLAKE2B fa0c124fc38d83434eff5c2e03f815d9e32b3af62782401251905db293d8016618f9c51b333a7a4e86e9d529a1e8747495b982ad9e5d6c19c2d9c63b39391461 SHA512 de836736fdc5bcd2f581cd43223dff9ffe82042440e44f6038d2d0278fa94777054badd2870deb1f7c8285a35a5f01cfeccbd76701aeaf5ca9a573d8fbc9ed31 AUX tdesktop-3.5.2-musl.patch 890 BLAKE2B e65419eac920eb7c6929559229e50458fca0e9598b9e173f332b98235dc7d84acd01f5ceb23462b0fb53edbbeec8747e6f27e49cab8bc596b0c1ded205e6358c SHA512 57a811629749c285d3f181ad714afa322e0b65758114283f506319a076aa0410f5e9a75f6fad5642fe5611745c418b404d95a616d53ac8360fbff5cf170627ba -AUX tdesktop-3.6.0-jemalloc-only-telegram.patch 1343 BLAKE2B bc257ee3bc3577b05a73b74c6394592b4636e605eb06c25a6749a38f2742104e1d214234524cbd5191bb397b22a4af4ba28c25c01520973a4f10e08bf3ba3bd2 SHA512 00067d388bd75adfcf7f2f460d99c283dd0110d33be5124585665b2566ef5c2b15100e8f86685bde2216083131609918861d7db845f4813ec303a13d8c423ae7 +AUX tdesktop-3.6.0-jemalloc-only-telegram.patch 1375 BLAKE2B 43d5cf05bcb7f66c32cdb9ff3bab04cbf71eba0be79623adeae521549a9d85fe06f0dd964828a4f7f9103eff9aa2bc150c6d41a298edc143367cc9511d95ef5a SHA512 8de226cfbe003899eac26bab9c0440c4e4042a11c985ea8967812961c2e89d6c7cc577bd349f12bb8470e21fdc19a044268d20606a7f1a3b9c9a1e8b9edde488 AUX tdesktop-3.6.0-support-ffmpeg5.patch 3142 BLAKE2B f05816a8b26c3061c88b8814adc2402981836ab7853be1dad9c4eb74b621e1084a2167ad5ea86d500c98d627317ffd48288bcb4df897f5ca6858516ecf86c8f0 SHA512 811f42f8372102910be20ac92030b98ad98704cb1378a90d17a01b15dc4a9aa8e9b6bb179a9dc4d09687ad7b60030f0f7367f8058674244b080748bf2c913044 AUX tdesktop-3.6.1-fix-kwayland-5.93.patch 1835 BLAKE2B dbc414e1543be96faff179288eb4bcc4acdfbe280ae51da11d254054adcc00f4c1387cdc9a24e026e06612d55765a1689b4bfc6381349b75053c4156a0cff71f SHA512 82855396f367f3669a34246a031626bba158d5361ec39e728c2d33f0d5b9ff5196c38a33551614848b5d439e25bbe45eb3795eaf7ca7442f5f27ab0bdeb0e72e AUX tdesktop-3.6.1-fix-use-after-free.patch 1627 BLAKE2B 867dde2d1d8d6535e2305f841fe97477bd08c37e96684196563f9ce6dbfb12c7b2941ddc3e00182126e24ec08e1692ec201006d2c46548fcbf2f9bae09dca532 SHA512 e52369b6aee6c772bef56b73cf4656813614694af714eb83432ffbe7a2234dde4be9888e927c1304350c5c31a0a9cf37a53ea41df2e9b47a00de6dc4433a1c1b AUX tdesktop-4.0.2-fix-gcc12-cstdint.patch 254 BLAKE2B f455f9878e7563ff65da62c71d495d5fb01b244f6fcc7f0e99ea6f30087c34c47be7ece315ff0cf35f2927b072a45bba3c219d15d291f2f22d50a117341a7d90 SHA512 114f3c44b0b9dfe9aa0d28617d83100859f781bca431515eed37dcaf52bb4cbc4c746d1c9c439999e65bd4fb360b72892b66da60325fe5d3c9c916d0337ff3b0 DIST tdesktop-3.6.1-full.tar.gz 41226549 BLAKE2B 6922ae015e36f86597aaedf1212ed951d6313a8f5f76a8838ab7ef9e02afe0cbc428acd991488190bafdf28faf2a69a09a5a1e963b2aa6ed27ef941602e15d88 SHA512 dd216c720ea3b1c72669805bb31319746a7ddfe746d188bf2ae0c5cdf0a10b379fc2e888a26fe755d77381fc5d9aa638cedc76b2dce1f1126a9c1ef9c02da2ba DIST tdesktop-4.0.2-full.tar.gz 41059443 BLAKE2B da4efb15c8a2d11719d3aa56c3a40b12f70c37577d2909c43e6029e10ca0bb1f8445ed68ed9acd532009c8e0a8f48fa13d2a51573a81f58a8a83b13427ffb631 SHA512 0078b627d06dd8e655bd2bcc222ecbb3b15b7d88f858810bccdca84793ad02a60f4a4bf3808838752d65d4f6cffa3ddb5f70c5afc8e94cb6edae52101362feeb +DIST tdesktop-4.1.1-full.tar.gz 41431505 BLAKE2B 7faf8d3a1e6d1ccb621f7a5af89c9b680fe515fbf4994f05d899ec44b8dc863440a368194a0237bef09078d14b5c670749276765da28ac6118787b6584fcbc01 SHA512 3240b9f81c3901997b1ea13fd7db7b8598b31c0faa68a2f711909ed11f33345db5a45ac99c0be77f1caeb1f571093ea42b1dbc7e7bb15e989c8756805c2ec887 EBUILD telegram-desktop-3.6.1-r1.ebuild 4886 BLAKE2B e82263eb280dbf9443beaeeaf960be7381953c69cfc6c800aae6b8d02a273350062dd42d31f85467990c71584c6f6d33ee811260ef202866cd4df9ef65e4b190 SHA512 3a700af06f41db67a8d33ed6e2def3ab38d95770b41b444921725ef00cb5fcced425adfa3bfb69942cee5539a8284fd587df495fb43b4d4673a5f62cfa2ceb27 EBUILD telegram-desktop-4.0.2.ebuild 5930 BLAKE2B 4ff1480dcfaddecc7a4dfda6f325dd41def87d1da08e0389c2db378a4fa7fac8f1a63abaecd67c1a2f9ca47f2a672b011457e2c3783d6b268d3d92636ca70a31 SHA512 6ecd4d7733639eb0d2e7ede117286ffc23f2c045eb59e6a447f855d0f15f97cbed6d3e2bfe53e18a7f8606499a4a87c8b7e672a752fdd9c3c2f5b4f6947152c0 +EBUILD telegram-desktop-4.1.1.ebuild 5814 BLAKE2B 34fad93a61526c9751561afd15377feabb1b96b622d4ffb7d5b66569c7181bd7e6c5d81bb60078336f848efca33ec87aaf4b487497ac4cd822f9eb2290bc394c SHA512 716ac189b72979e01654e1cf1e78a88b169832fb4ca8c3b8c269541b78e5a9425b7dfca35b226eac79ff8631c1f5a1341f03f7c6cff0320afd8859df64ece8c3 MISC metadata.xml 637 BLAKE2B 643abb06bad4683b713dfd6a697e13540f911aef5b55ad79c41d8076dcca5a96ae40c80131329f8240a8d382c81c788142f71e5b8f8b8b0870a1767eb8fa3c22 SHA512 bfe3f00d0f6b3b65962475ae0641f527f115baaccb6069653c31fe1f2a0096a7e90bfe58ffc037edddb8541a898def866ce6b4036b4a592d6f8ed4a8decf1fb4 diff --git a/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch b/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch index 35781fda0ced..7550828ef59e 100644 --- a/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch +++ b/net-im/telegram-desktop/files/tdesktop-3.3.0-fix-enchant.patch @@ -1,3 +1,5 @@ +https://bugs.gentoo.org/830180 + --- tdesktop-3.3.0-full.orig/Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp +++ tdesktop-3.3.0-full/Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp @@ -34,7 +34,7 @@ diff --git a/net-im/telegram-desktop/files/tdesktop-3.6.0-jemalloc-only-telegram.patch b/net-im/telegram-desktop/files/tdesktop-3.6.0-jemalloc-only-telegram.patch index 6836e6935049..18240ce522e2 100644 --- a/net-im/telegram-desktop/files/tdesktop-3.6.0-jemalloc-only-telegram.patch +++ b/net-im/telegram-desktop/files/tdesktop-3.6.0-jemalloc-only-telegram.patch @@ -5,6 +5,8 @@ jemalloc is linked for those, and they're ran under portage's sandbox. Since this is only used during build-time, and jemalloc is merely necessary to improve runtime memory use, it's unnecessary to use it for anything else. +https://bugs.gentoo.org/802624 + --- tdesktop-3.6.0-full.orig/Telegram/CMakeLists.txt +++ tdesktop-3.6.0-full/Telegram/CMakeLists.txt @@ -1376,6 +1376,14 @@ diff --git a/net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild b/net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild new file mode 100644 index 000000000000..363e89f23081 --- /dev/null +++ b/net-im/telegram-desktop/telegram-desktop-4.1.1.ebuild @@ -0,0 +1,181 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit xdg cmake python-any-r1 optfeature + +DESCRIPTION="Official desktop client for Telegram" +HOMEPAGE="https://desktop.telegram.org" + +MY_P="tdesktop-${PV}-full" +SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD GPL-3-with-openssl-exception LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="+dbus enchant +hunspell +jemalloc screencast +spell qt6 wayland +X" +REQUIRED_USE=" + spell? ( + ^^ ( enchant hunspell ) + ) +" + +RDEPEND=" + !net-im/telegram-desktop-bin + app-arch/lz4:= + dev-cpp/abseil-cpp:= + dev-libs/libdispatch + dev-libs/openssl:= + dev-libs/xxhash + media-fonts/open-sans + media-libs/fontconfig:= + ~media-libs/libtgvoip-2.4.4_p20220503 + media-libs/openal + media-libs/opus:= + media-libs/rnnoise + ~media-libs/tg_owt-0_pre20220507[screencast=,X=] + media-video/ffmpeg:=[opus] + sys-libs/zlib:=[minizip] + dbus? ( dev-cpp/glibmm:2 ) + enchant? ( app-text/enchant:= ) + hunspell? ( >=app-text/hunspell-1.7:= ) + jemalloc? ( dev-libs/jemalloc:=[-lazy-lock] ) + !qt6? ( + >=dev-qt/qtcore-5.15:5 + >=dev-qt/qtgui-5.15:5[dbus?,jpeg,png,wayland?,X?] + >=dev-qt/qtimageformats-5.15:5 + >=dev-qt/qtnetwork-5.15:5[ssl] + >=dev-qt/qtsvg-5.15:5 + >=dev-qt/qtwidgets-5.15:5[png,X?] + ) + qt6? ( + dev-qt/qtbase:6[dbus?,gui,network,opengl,widgets,X?] + dev-qt/qtsvg:6 + dev-qt/qt5compat:6 + wayland? ( dev-qt/qtwayland:6 ) + ) + X? ( x11-libs/libxcb:= ) +" +DEPEND="${RDEPEND} + dev-cpp/range-v3 + =dev-cpp/ms-gsl-3* +" +BDEPEND=" + ${PYTHON_DEPS} + >=dev-util/cmake-3.16 + virtual/pkgconfig +" +# dev-libs/jemalloc:=[-lazy-lock] -> https://bugs.gentoo.org/803233 + +PATCHES=( + "${FILESDIR}/tdesktop-3.6.0-jemalloc-only-telegram.patch" + "${FILESDIR}/tdesktop-3.3.0-fix-enchant.patch" + "${FILESDIR}/tdesktop-3.5.2-musl.patch" + "${FILESDIR}/tdesktop-4.0.2-fix-gcc12-cstdint.patch" +) + +# Current desktop-file-utils-0.26 does not understand Version=1.5 +QA_DESKTOP_FILE="usr/share/applications/${PN}.desktop" + +pkg_pretend() { + if has ccache ${FEATURES}; then + ewarn "ccache does not work with ${PN} out of the box" + ewarn "due to usage of precompiled headers" + ewarn "check bug https://bugs.gentoo.org/715114 for more info" + ewarn + fi + if use qt6; then + ewarn "Qt6 support in gentoo is experimental." + ewarn "Please report any issues you may find, but don't expect" + ewarn "everything to work correctly as of yet." + ewarn + fi +} + +src_prepare() { + # no explicit toggle, doesn't build with the system one #752417 + sed -i 's/DESKTOP_APP_USE_PACKAGED/NO_ONE_WILL_EVER_SET_THIS/' \ + cmake/external/rlottie/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + # DESKTOP_APP_DISABLE_JEMALLOC is heavily discouraged by upstream, as the + # glibc allocator results in high memory usage. + # https://github.com/telegramdesktop/tdesktop/issues/16084 + # https://github.com/desktop-app/cmake_helpers/pull/91#issuecomment-881788003 + + # DESKTOP_APP_QT6=OFF force-enables DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION + # This means that REQUIRED_USE="wayland? ( qt6 )", but a lot of people + # enable USE=wayland globally, so we instead silently disable it... + + local mycmakeargs=( + -DTDESKTOP_LAUNCHER_BASENAME="${PN}" + -DCMAKE_DISABLE_FIND_PACKAGE_tl-expected=ON # header only lib, some git version. prevents warnings. + -DDESKTOP_APP_QT6=$(usex qt6) + + -DDESKTOP_APP_DISABLE_DBUS_INTEGRATION=$(usex !dbus) + -DDESKTOP_APP_DISABLE_X11_INTEGRATION=$(usex !X) + -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=$(usex !wayland) + -DDESKTOP_APP_DISABLE_JEMALLOC=$(usex !jemalloc) + -DDESKTOP_APP_DISABLE_SPELLCHECK=$(usex !spell) # enables hunspell (recommended) + -DDESKTOP_APP_USE_ENCHANT=$(usex enchant) # enables enchant and disables hunspell + ) + + if [[ -n ${MY_TDESKTOP_API_ID} && -n ${MY_TDESKTOP_API_HASH} ]]; then + einfo "Found custom API credentials" + mycmakeargs+=( + -DTDESKTOP_API_ID="${MY_TDESKTOP_API_ID}" + -DTDESKTOP_API_HASH="${MY_TDESKTOP_API_HASH}" + ) + else + # https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml + # Building with snapcraft API credentials by default + # Custom API credentials can be obtained here: + # https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md + # After getting credentials you can export variables: + # export MY_TDESKTOP_API_ID="17349"" + # export MY_TDESKTOP_API_HASH="344583e45741c457fe1862106095a5eb" + # and restart the build" + # you can set above variables (without export) in /etc/portage/env/net-im/telegram-desktop + # portage will use custom variable every build automatically + mycmakeargs+=( + -DTDESKTOP_API_ID="611335" + -DTDESKTOP_API_HASH="d524b414d21f4d37f08684c1df41ac9c" + ) + fi + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + if ! use X && ! use screencast; then + elog "both the 'X' and 'screencast' useflags are disabled, screen sharing won't work!" + elog + fi + if has_version '<dev-qt/qtcore-5.15.2-r10'; then + ewarn "Versions of dev-qt/qtcore lower than 5.15.2-r10 might cause telegram" + ewarn "to crash when pasting big images from the clipboard." + ewarn + fi + if ! use jemalloc && use elibc_glibc; then + ewarn "Disabling USE=jemalloc on glibc systems may cause very high RAM usage!" + ewarn "Do NOT report issues about RAM usage without enabling this flag first." + ewarn + fi + if use wayland && ! use qt6; then + ewarn "Wayland-specific integrations have been deprecated with Qt5." + ewarn "The app will continue to function under wayland, but some" + ewarn "functionality may be reduced." + ewarn "These integrations are only supported when built with Qt6." + ewarn + fi + optfeature_header + optfeature "shop payment support (requires USE=dbus enabled)" net-libs/webkit-gtk +} |