summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-10-07 11:03:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-10-07 11:03:14 +0100
commit957235cf19a691360c720f7913672adda4258ed0 (patch)
tree812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /net-im
parent62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff)
gentoo resync : 07.10.2018
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Manifest.gzbin9389 -> 9393 bytes
-rw-r--r--net-im/pidgin/Manifest2
-rw-r--r--net-im/pidgin/pidgin-2.13.0.ebuild4
-rw-r--r--net-im/telegram-desktop-bin/Manifest8
-rw-r--r--net-im/telegram-desktop-bin/files/fonts.conf60
-rw-r--r--net-im/telegram-desktop-bin/files/telegram-desktop-bin-r215
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.14.ebuild59
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0-r1.ebuild (renamed from net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0.ebuild)13
8 files changed, 93 insertions, 68 deletions
diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz
index 9bf69d1fc9ff..a581f620cf4a 100644
--- a/net-im/Manifest.gz
+++ b/net-im/Manifest.gz
Binary files differ
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
index d226b2a940d0..a7ca2febd9e8 100644
--- a/net-im/pidgin/Manifest
+++ b/net-im/pidgin/Manifest
@@ -7,5 +7,5 @@ DIST pidgin-2.12.0.tar.bz2 9270704 BLAKE2B d12b84c4ff94e4dec67bf5e13607510a4ccd5
DIST pidgin-2.13.0.tar.bz2 8994457 BLAKE2B 32be31509a90b924fba4a4dbaba304580d88dfc6d3bbe0c88ef12eef381f70e031af1a55ada2abfb6968a9967a9fdadfa69973482b80dea7bb554a983a96fa12 SHA512 68b3d1eefee111544c7eb347386d0aea4f47c3e320d5963a4e0d833ed6af7b1be243a7bcd6a38c9234b58601d10a9aebf8541f1d97decfeca754fa78dc693047
DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877
EBUILD pidgin-2.12.0.ebuild 7505 BLAKE2B 39b377538424788b9b48168c30f651d3cb48ccf860d1d973d5de16b1141bac7108e7b1cbc65d5803f25b6370f57f6ad6cc83b6b90b68060c536b67c2c1f320b1 SHA512 984d41160dbc18272dd1bffc99aee0d756722f5c8a0d666cac21d99cfe5cb642481e20f62cd5c43454049194797bb60dd92697fa28c1036d6accc0f73fe70704
-EBUILD pidgin-2.13.0.ebuild 7705 BLAKE2B 01b831b9354885c248c70cedd3c4a6babc3f856079c3a44d2c164372e9c97c56b73f1d38a7b14516f12b9b57e4695a1c587bacb2e1cbe3621ed0dc8c81a50640 SHA512 df8206480f955179dd76ab5a9c10aa7ec6f3c29e65017ca16db861526ac992d661aa3c83b11d2709185874a7ced06edaa6f0f147e872e0f84b121c379c87a460
+EBUILD pidgin-2.13.0.ebuild 7701 BLAKE2B 4ff3f7c783c845ef1e34275c9e1cd4ca83ff4061487faf7e2a5e0528ebd589743f488262ac091aacb6713219157ccd320102118157bc17e36ff4467ccb2aaa90 SHA512 10833787f051632aaff15d717d1fea2fbd6d0d4880d2250c01d9f7d6ed1aa39fc31d4f7f98514b5922fe441dbc4e293bd38b769670150613f709d27845a50bc6
MISC metadata.xml 1480 BLAKE2B 09a69fc87ec34ef69c1862ba62eefabdde0cc806e47e005d2e13cfd639c6cd0d7f7ec6ac5e9a9d2b438c29d98caaf613b472e41ede2cef93de303da15c553e43 SHA512 de9430a267c6d93ec7a922f7ee447e36c2008cc37931896513398ae3f32af7e2a08ebb2ff7f9fb254c7facbf1ee5a4959e562e2fccd6bd85595f3d9b1d0e1e00
diff --git a/net-im/pidgin/pidgin-2.13.0.ebuild b/net-im/pidgin/pidgin-2.13.0.ebuild
index 10ae284c57bc..773bcebb6445 100644
--- a/net-im/pidgin/pidgin-2.13.0.ebuild
+++ b/net-im/pidgin/pidgin-2.13.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,7 +17,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0/2" # libpurple version
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile pie"
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 79f33154c36e..3240f6e090ea 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,10 +1,8 @@
+AUX fonts.conf 1656 BLAKE2B 551a0651aeeaf43ac955731c492232014d10cdbac7e04a0be7bb915218e1f70c4082491d5e081b3cdc4c713398119a7ce9d25c787647f521b37f00a5b16caa15 SHA512 662ad4f6b91ae4d8479ee79f298d94f7862eb71031b5aa726b89e1d1e1bc71050437af73137a3aad71236fd3535527cbc37d394300a2191bcc51ea8d075ec513
AUX telegram-desktop-bin-r1 379 BLAKE2B e97067e322177c771ac99e59690aa3d5587a78e1dab1c73f530dccb169c1823ca6eff6b7f96a863edd768bf49597f8c8158f7737d1796aa01487274901152b43 SHA512 b57a64e4b9a9edcdcc6a3c3bf09549e49785fe66f38a1e117598780b7637a0b6154e922e2ce0d15749dfd44081bec20d1d353f25f63c276e68d2dd30f8e35a39
-DIST tdesktop-1.3.14.tar.gz 17199969 BLAKE2B 996b1b8113253b12592727fcced27b26e9c9f020f8112ac2460b8c9665c3445f8e8707cc0d62c22a3452367d483a016a471119437ae3da6cea10cc3bc3ed656e SHA512 0fa0792970d4ed044ddc06f97b02d1b7de137cccba7792cc5cbbfbce0d3ef8dbf78cfe3464d3f846c2d6285a9d7db2f40cc4ff76b4ef7138f238ac9045cd2931
+AUX telegram-desktop-bin-r2 646 BLAKE2B 4a99820a48dee103680bd81ba738c3a56538864b44f39a950e41232a7f39d85aee69542abb2de3bdc09ce9bc00de20aa17983626ffe25ba71e53a7d25a2573c6 SHA512 56be7103c3d9aa120aa16f67e11c1600d52b69c9424f9cb88754bf2dd8b559abfa254ca60fba07d07de35c2d9375fce90fb37bb008e5cc806386df043dfab6ff
DIST tdesktop-1.4.0.tar.gz 17318129 BLAKE2B bd77ac1c20aeb3e760294f32d8649d49740ef97aae37fabc90aee8207e87109812ce824e25b028785f4ab6fc932ed2e727022cf40a61a189e9f90eb056b0e19a SHA512 4eb123dc34edd3a47848abac66ca7c07a6bf9cf0658a9e904797ae52324f3cdcef3de9a63983f4003652c36087d4ab2e0a9fbf6c6c95b424fd68a65bd77ecadf
-DIST tsetup.1.3.14.tar.xz 34544980 BLAKE2B 3a0ec56d3e49fb47484c959006126a39ed41da6d58706a51808207c0d285a06d72954a17754e7b166468e924f549d08200355f5c83ca68b9fe535304fcb12e34 SHA512 b880782ead5acc40c81d62028e88b5565f6740bc044cdd1eb2e701854d2c5c23ecd2c6d68f7a3b00d8e85d2ad89b1cdf1e7b65b691b2178ea9556cd9b852a726
DIST tsetup.1.4.0.tar.xz 34811788 BLAKE2B a46e38b8d27ce764b7e9e735809a5098456368ed747e83bc16d125d80e6b772e1fb0eeee0d6b8eab937c04148b2516d5130c365dbda7e7a05571b14137b5a9c5 SHA512 c646763d66a807ade2c5d475444ce651dfd8ff488cafc4148a9e6850485fcfa8bc41d821dea1a9a6d6d5ac8f97593f5cedefa20a533d057c40e72a497afe264c
-DIST tsetup32.1.3.14.tar.xz 37060108 BLAKE2B 5fb87cab91cef06cfd585907e5a40f3099f10a91cf6226704c2f5822d9ec4459f8a65b5714a1177ce1b8c2bbc7f8030af8d82d72ec98b4fe9dd4b3fbaeb09b76 SHA512 446f7091b568b56466d9ee53343a7433335817c0589e5338010dfccb78e615745262fcae18b856c0929d045d3caa46ddace1893c2a44fdf9507c09fad3b09626
DIST tsetup32.1.4.0.tar.xz 37403084 BLAKE2B dd134c49da40fb25266e0bbaf5722675eea84bf760029646f0d727f6df587a789d42d40c1de1d3f8eb6a2623e5f5e569524b618df18ea48d26e0a05a1a597310 SHA512 8700221f791fa366bedbe666f8d73ec68a216db0dd0ceef43332fd4ce075897c003b069f51946e29dc1b1574dd50fdd6abb1ed491d1c09f5952d044628656a3a
-EBUILD telegram-desktop-bin-1.3.14.ebuild 1291 BLAKE2B beafdaae27e3b314ac53fd54e813f654c90f1c8d452e32a22cc25557d3e3cac830e70522c54548ab8f34aa613bf853194ea03de44f6848acce010e31201c8855 SHA512 57d47a377d349169f9ee8c3a3dcc8931b17103affc64d2219c00a4dcfa3a57c4b6ad0cef60287550aa3ebbdb1e7413e751bca80eccac6142236a0d71fb76a1f2
-EBUILD telegram-desktop-bin-1.4.0.ebuild 1552 BLAKE2B b15d5e41ecb4b0ce7d70e124136db5c96d06e4b14f2173387446df4a241e256ff60c3f1ea548163f1eaaf83648173e40cd9cff307a6c3e7570d2e91961223e84 SHA512 82831ff5408cddb6f633b0e3345ab48781ae1ec8868c60a497e7127d4d898f27c0b02252b08fd703dcaa8d4bd4c910f79197315f2af815f2abb08f8514ba881b
+EBUILD telegram-desktop-bin-1.4.0-r1.ebuild 1981 BLAKE2B f6eb9c0679418be38ca899e4d9f958e1d745ebb684c4534586af855c5cc77b49fafd4b2f29d255337b29ca7ff965d8dd139e883a66cfda94f27d9d1f7512f5c7 SHA512 cce4faa310dcaf5d6f4be9c5118dc48d76fa1835d02d7c8c06c8a7e4f9b612ff1e31d9d6ab383a79a9516be7c57cd93925c96179531f185b02186c2991c17046
MISC metadata.xml 585 BLAKE2B 0f6f2dbb75e3fc543ad04b0d72652802b8de0336ccd1171fc06e2d2b61ff5288346b9e3c44afad9e5dbd9de9fa46d3324710697d83e94c9a5da5a8c5a137b26f SHA512 d5af59695ad9fa610865b3719637a7f5dd283f30bf7051f39fd6b8ae7c485f46d52627900cc3d46450491c7429844e0d7c535f2a028a112cb65d7523ff2c669b
diff --git a/net-im/telegram-desktop-bin/files/fonts.conf b/net-im/telegram-desktop-bin/files/fonts.conf
new file mode 100644
index 000000000000..d3ddc32d7776
--- /dev/null
+++ b/net-im/telegram-desktop-bin/files/fonts.conf
@@ -0,0 +1,60 @@
+<?xml version='1.0'?>
+<!--
+ This file is only here to work around
+ https://github.com/telegramdesktop/tdesktop/issues/4240
+ It has been taken from (with slight modification)
+ https://github.com/telegramdesktop/tdesktop/issues/4493
+-->
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+ <dir>/usr/share/fonts</dir>
+ <dir>/usr/local/share/fonts</dir>
+ <dir prefix="xdg">fonts</dir>
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>mono</string>
+ </test>
+ <edit name="family" mode="assign" binding="same">
+ <string>monospace</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>sans serif</string>
+ </test>
+ <edit name="family" mode="assign" binding="same">
+ <string>sans-serif</string>
+ </edit>
+ </match>
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>sans</string>
+ </test>
+ <edit name="family" mode="assign" binding="same">
+ <string>sans-serif</string>
+ </edit>
+ </match>
+ <cachedir>/var/cache/fontconfig</cachedir>
+ <cachedir prefix="xdg">fontconfig</cachedir>
+ <cachedir>~/.fontconfig</cachedir>
+ <match target="font">
+ <edit mode="assign" name="antialias">
+ <bool>true</bool>
+ </edit>
+ <edit mode="assign" name="embeddedbitmap">
+ <bool>false</bool>
+ </edit>
+ <edit mode="assign" name="hinting">
+ <bool>true</bool>
+ </edit>
+ <edit mode="assign" name="hintstyle">
+ <const>hintslight</const>
+ </edit>
+ <edit mode="assign" name="lcdfilter">
+ <const>lcddefault</const>
+ </edit>
+ <edit mode="assign" name="rgba">
+ <const>rgb</const>
+ </edit>
+ </match>
+</fontconfig>
diff --git a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2 b/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2
new file mode 100644
index 000000000000..a8b0e3e6d99c
--- /dev/null
+++ b/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2
@@ -0,0 +1,15 @@
+#!/bin/sh
+# this wrapper disables the auto-updater of telegram-desktop
+# This program is licensed under the same license as telegram-desktop
+
+# telegram-desktop fails to set RestartCommand with the session manager
+# exclude it from session management to prevent restarts without the argument
+unset SESSION_MANAGER
+
+# telegram-desktop expects old fontconfig configuration files
+# this is a workaround to try and deal with that
+[ -e /etc/telegram-desktop-bin/fonts.conf ] && \
+ [ -z $( printenv FONTCONFIG_FILE ) ] && \
+ export FONTCONFIG_FILE=/etc/telegram-desktop-bin/fonts.conf
+
+exec /usr/lib/telegram-desktop-bin/Telegram -externalupdater $@
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.14.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.14.ebuild
deleted file mode 100644
index 8b7d2c549cd7..000000000000
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.14.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop gnome2-utils xdg
-
-DESCRIPTION="Official desktop client for Telegram (binary package)"
-HOMEPAGE="https://desktop.telegram.org"
-SRC_URI="
- https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz
- amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz )
- x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz )
-"
-
-LICENSE="telegram"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-QA_PREBUILT="usr/lib/${PN}/Telegram"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/gobject-introspection
- >=sys-apps/dbus-1.4.20
- x11-libs/libX11
- >=x11-libs/libxcb-1.10[xkb]
-"
-
-S="${WORKDIR}/Telegram"
-
-src_install() {
- exeinto /usr/lib/${PN}
- doexe "Telegram"
- newbin "${FILESDIR}"/${PN}-r1 "telegram-desktop"
-
- local icon_size
- for icon_size in 16 32 48 64 128 256 512; do
- newicon -s "${icon_size}" \
- "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \
- telegram-desktop.png
- done
-
- domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
-}
-
-pkg_preinst() {
- xdg_pkg_preinst
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_icon_cache_update
-}
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0-r1.ebuild
index e0cfb12960a6..c709f83a6719 100644
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0.ebuild
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0-r1.ebuild
@@ -25,6 +25,7 @@ RDEPEND="
>=sys-apps/dbus-1.4.20
x11-libs/libX11
>=x11-libs/libxcb-1.10[xkb]
+ >=media-libs/fontconfig-2.13
"
S="${WORKDIR}/Telegram"
@@ -32,7 +33,7 @@ S="${WORKDIR}/Telegram"
src_install() {
exeinto /usr/lib/${PN}
doexe "Telegram"
- newbin "${FILESDIR}"/${PN}-r1 "telegram-desktop"
+ newbin "${FILESDIR}"/${PN}-r2 "telegram-desktop"
local icon_size
for icon_size in 16 32 48 64 128 256 512; do
@@ -41,6 +42,10 @@ src_install() {
telegram-desktop.png
done
+ dodir /etc/${PN}
+ insinto /etc/${PN}/
+ doins ${FILESDIR}/fonts.conf
+
domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
}
@@ -56,6 +61,12 @@ pkg_postinst() {
einfo "\"~/.local/share/applications/telegram.desktop\". These files"
einfo "conflict with the one shipped by portage and should be removed"
einfo "from all homedirs. (https://bugs.gentoo.org/618662)"
+ einfo
+ einfo "This versions fixes fontconfig issues that have been reported"
+ einfo "by several users. However, the fix might have side-effects on"
+ einfo "non-latin fonts. If you have font issues with this version just"
+ einfo "delete \"/etc/${PN}/fonts.conf\" and leave a comment here"
+ einfo "https://bugs.gentoo.org/664872"
}
pkg_postrm() {