- migrated to Exherbo
- added a few initial Pantheon components
This commit is contained in:
parent
cb6360a7e8
commit
2d2bbbc830
85 changed files with 931 additions and 2 deletions
60
packages/net-im/telegram-desktop-bin/files/fonts.conf
Normal file
60
packages/net-im/telegram-desktop-bin/files/fonts.conf
Normal file
|
@ -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>
|
15
packages/net-im/telegram-desktop-bin/files/telegram-desktop
Normal file
15
packages/net-im/telegram-desktop-bin/files/telegram-desktop
Normal file
|
@ -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/libexec/telegram-desktop-bin/Telegram -externalupdater $@
|
Loading…
Add table
Add a link
Reference in a new issue