1 |
commit: 38a9f5f27d9bb26b08e6c81bba68b1241a303e1b |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 22 09:02:52 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 22 09:03:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38a9f5f2 |
7 |
|
8 |
net-im/telegram-desktop-bin: Drop unused files |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
net-im/telegram-desktop-bin/files/fonts.conf | 60 ---------------------- |
14 |
.../files/telegram-desktop-bin-r2 | 15 ------ |
15 |
2 files changed, 75 deletions(-) |
16 |
|
17 |
diff --git a/net-im/telegram-desktop-bin/files/fonts.conf b/net-im/telegram-desktop-bin/files/fonts.conf |
18 |
deleted file mode 100644 |
19 |
index d3ddc32d777..00000000000 |
20 |
--- a/net-im/telegram-desktop-bin/files/fonts.conf |
21 |
+++ /dev/null |
22 |
@@ -1,60 +0,0 @@ |
23 |
-<?xml version='1.0'?> |
24 |
-<!-- |
25 |
- This file is only here to work around |
26 |
- https://github.com/telegramdesktop/tdesktop/issues/4240 |
27 |
- It has been taken from (with slight modification) |
28 |
- https://github.com/telegramdesktop/tdesktop/issues/4493 |
29 |
---> |
30 |
-<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> |
31 |
-<fontconfig> |
32 |
- <dir>/usr/share/fonts</dir> |
33 |
- <dir>/usr/local/share/fonts</dir> |
34 |
- <dir prefix="xdg">fonts</dir> |
35 |
- <match target="pattern"> |
36 |
- <test qual="any" name="family"> |
37 |
- <string>mono</string> |
38 |
- </test> |
39 |
- <edit name="family" mode="assign" binding="same"> |
40 |
- <string>monospace</string> |
41 |
- </edit> |
42 |
- </match> |
43 |
- <match target="pattern"> |
44 |
- <test qual="any" name="family"> |
45 |
- <string>sans serif</string> |
46 |
- </test> |
47 |
- <edit name="family" mode="assign" binding="same"> |
48 |
- <string>sans-serif</string> |
49 |
- </edit> |
50 |
- </match> |
51 |
- <match target="pattern"> |
52 |
- <test qual="any" name="family"> |
53 |
- <string>sans</string> |
54 |
- </test> |
55 |
- <edit name="family" mode="assign" binding="same"> |
56 |
- <string>sans-serif</string> |
57 |
- </edit> |
58 |
- </match> |
59 |
- <cachedir>/var/cache/fontconfig</cachedir> |
60 |
- <cachedir prefix="xdg">fontconfig</cachedir> |
61 |
- <cachedir>~/.fontconfig</cachedir> |
62 |
- <match target="font"> |
63 |
- <edit mode="assign" name="antialias"> |
64 |
- <bool>true</bool> |
65 |
- </edit> |
66 |
- <edit mode="assign" name="embeddedbitmap"> |
67 |
- <bool>false</bool> |
68 |
- </edit> |
69 |
- <edit mode="assign" name="hinting"> |
70 |
- <bool>true</bool> |
71 |
- </edit> |
72 |
- <edit mode="assign" name="hintstyle"> |
73 |
- <const>hintslight</const> |
74 |
- </edit> |
75 |
- <edit mode="assign" name="lcdfilter"> |
76 |
- <const>lcddefault</const> |
77 |
- </edit> |
78 |
- <edit mode="assign" name="rgba"> |
79 |
- <const>rgb</const> |
80 |
- </edit> |
81 |
- </match> |
82 |
-</fontconfig> |
83 |
|
84 |
diff --git a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2 b/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2 |
85 |
deleted file mode 100644 |
86 |
index a8b0e3e6d99..00000000000 |
87 |
--- a/net-im/telegram-desktop-bin/files/telegram-desktop-bin-r2 |
88 |
+++ /dev/null |
89 |
@@ -1,15 +0,0 @@ |
90 |
-#!/bin/sh |
91 |
-# this wrapper disables the auto-updater of telegram-desktop |
92 |
-# This program is licensed under the same license as telegram-desktop |
93 |
- |
94 |
-# telegram-desktop fails to set RestartCommand with the session manager |
95 |
-# exclude it from session management to prevent restarts without the argument |
96 |
-unset SESSION_MANAGER |
97 |
- |
98 |
-# telegram-desktop expects old fontconfig configuration files |
99 |
-# this is a workaround to try and deal with that |
100 |
-[ -e /etc/telegram-desktop-bin/fonts.conf ] && \ |
101 |
- [ -z $( printenv FONTCONFIG_FILE ) ] && \ |
102 |
- export FONTCONFIG_FILE=/etc/telegram-desktop-bin/fonts.conf |
103 |
- |
104 |
-exec /usr/lib/telegram-desktop-bin/Telegram -externalupdater $@ |