summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-01-22 12:02:52 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-01-22 12:03:05 +0300
commit38a9f5f27d9bb26b08e6c81bba68b1241a303e1b (patch)
tree913c6546ea7137aa7db18195a499398648753b73 /net-im/telegram-desktop-bin
parentdev-db/rqlite: remove old version 4.1.0 (diff)
downloadgentoo-38a9f5f27d9bb26b08e6c81bba68b1241a303e1b.tar.gz
gentoo-38a9f5f27d9bb26b08e6c81bba68b1241a303e1b.tar.bz2
gentoo-38a9f5f27d9bb26b08e6c81bba68b1241a303e1b.zip
net-im/telegram-desktop-bin: Drop unused files
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/files/fonts.conf60
-rw-r--r--net-im/telegram-desktop-bin/files/telegram-desktop-bin-r215
2 files changed, 0 insertions, 75 deletions
diff --git a/net-im/telegram-desktop-bin/files/fonts.conf b/net-im/telegram-desktop-bin/files/fonts.conf
deleted file mode 100644
index d3ddc32d7776..000000000000
--- a/net-im/telegram-desktop-bin/files/fonts.conf
+++ /dev/null
@@ -1,60 +0,0 @@
-<?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
deleted file mode 100644
index a8b0e3e6d99c..000000000000
--- a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/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 $@