FreeBSD Bugzilla – Attachment 239360 Details for
Bug 264274
net-im/telegram-desktop: add option to not embed fonts (allows using personal font preferences)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to skip embedding fonts, fix for latest version
tg_fonts.diff (text/plain), 1.24 KB, created by
Volodymyr Kostyrko
on 2023-01-09 12:09:29 UTC
(
hide
)
Description:
patch to skip embedding fonts, fix for latest version
Filename:
MIME Type:
Creator:
Volodymyr Kostyrko
Created:
2023-01-09 12:09:29 UTC
Size:
1.24 KB
patch
obsolete
>diff /usr/ports >commit - 271ba7682fe1aff359f8e5eebee34458b36aa156 >path + /usr/ports >blob - 2688ce85acbaf33b1dc7ee61ad3154c22f359ce6 >file + net-im/telegram-desktop/Makefile >--- net-im/telegram-desktop/Makefile >+++ net-im/telegram-desktop/Makefile >@@ -89,11 +89,13 @@ OPTIONS_DEFAULT= ALSA > # Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA. > # It dynamically loads PulseAudio, and if this fails, it loads ALSA. > # If both of them are not installed, then voice calls do not work, but other functionalities still work. >-OPTIONS_DEFAULT= ALSA >+OPTIONS_DEFINE= EMBEDDED_FONTS >+OPTIONS_DEFAULT= ALSA EMBEDDED_FONTS > OPTIONS_MULTI= AUDIO > OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO > > AUDIO_DESC= Audio backend for voice calls >+EMBEDDED_FONTS_DESC= Embed default OpenSans fonts bundled by Telegram > > ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib > PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio >@@ -111,4 +113,8 @@ CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} > CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} > .endif > >+post-patch-EMBEDDED_FONTS-off: >+ ${FIND} ${WRKSRC} -iname '*.ttf' | ${XARGS} -n1 truncate -s0 >+ ${REINPLACE_CMD} 's/DemiBold/Bold/g' ${WRKSRC}/Telegram/lib_ui/ui/style/style_core_font.cpp >+ > .include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264274
:
234251
|
234409
|
239360
|
240694
|
241052