From 9be071872d385a9131996585d00a2aa96c636124 Mon Sep 17 00:00:00 2001 From: Vadim Misbakh-Soloviov Date: Sun, 4 Aug 2024 13:51:58 +0700 Subject: [PATCH] net-im/telegram-desktop: bump Signed-off-by: Vadim Misbakh-Soloviov --- dev-libs/ada/ada-9999.ebuild | 68 +++++++++++++++++++ dev-libs/ada/metadata.xml | 12 ++++ .../tdesktop_patches_wide-baloons/style.patch | 11 +++ ...0.ebuild => telegram-desktop-5.3.2.ebuild} | 3 +- .../telegram-desktop-9999.ebuild | 3 +- 5 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 dev-libs/ada/ada-9999.ebuild create mode 100644 dev-libs/ada/metadata.xml create mode 100644 net-im/telegram-desktop/files/patches/0/conditional/tdesktop_patches_wide-baloons/style.patch rename net-im/telegram-desktop/{telegram-desktop-5.3.0.ebuild => telegram-desktop-5.3.2.ebuild} (99%) diff --git a/dev-libs/ada/ada-9999.ebuild b/dev-libs/ada/ada-9999.ebuild new file mode 100644 index 00000000..fb511f29 --- /dev/null +++ b/dev-libs/ada/ada-9999.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 +# multilib-minimal + +DESCRIPTION="WHATWG-compliant and fast URL parser written in modern C++" +HOMEPAGE="https://github.com/ada-url/ada" +EGIT_REPO_URI="https://github.com/ada-url/ada" + +LICENSE="Apache-2.0 MIT" +SLOT="0" + +# src_prepare() { +# sed -r \ +# -e "/^set\(CMAKE_INSTALL_DOCDIR/s@doc/[\$]\{PROJECT_NAME\}[\$]\{LIBIIO_VERSION_MAJOR\}-doc@doc/${PF:-9999}@g" \ +# -i "${S}/CMakeLists.txt" +# use examples && ( +# sed -r \ +# -e '/#include /s@cdk/@@' \ +# -i "${S}/examples/iio-monitor.c" +# sed -r \ +# -e '/^iio-monitor:/{N;s@(-lncurses)([^[:alnum:]]?)@\1w -ltinfow\2@;s@(-lcdk)([^[:alnum:]]?)@\1w\2@}' \ +# -i "${S}/examples/Makefile" +# ) +# cmake_src_prepare +# # multilib_copy_sources +# } +# +# #multilib_src_configure() { +src_configure() { + local mycmakeargs=( + -DADA_BENCHMARKS=OFF + -DADA_COVERAGE=OFF + -DADA_DEVELOPMENT_CHECKS=OFF + -DADA_LOGGING=OFF + -DADA_SANITIZE=OFF + -DADA_SANITIZE_BOUNDS_STRICT=OFF + -DADA_SANITIZE_UNDEFINED=OFF + -DADA_TESTING=OFF + -DADA_TOOLS=OFF + -DBUILD_TESTING=OFF + ) + cmake_src_configure +} + +# #multilib_src_compile() { +# src_compile() { +# cmake_src_compile +# use examples && { +# emake -C examples +# } +# } +# +# #multilib_src_install() { +# src_install() { +# cmake_src_install +# +# use doc && { +# HTML_DOCS=( "${BUILD_DIR}/html/" ) +# } +# +# use examples && ( +# dobin examples/{iio-monitor,{dummy,ad93{6,7}1}-iiostream} +# ) +# } diff --git a/dev-libs/ada/metadata.xml b/dev-libs/ada/metadata.xml new file mode 100644 index 00000000..2b2d3cab --- /dev/null +++ b/dev-libs/ada/metadata.xml @@ -0,0 +1,12 @@ + + + + + mva@gentoo.org + Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name + Vadim A. Misbakh-Soloviov + + + ada-url/ada + + diff --git a/net-im/telegram-desktop/files/patches/0/conditional/tdesktop_patches_wide-baloons/style.patch b/net-im/telegram-desktop/files/patches/0/conditional/tdesktop_patches_wide-baloons/style.patch new file mode 100644 index 00000000..bb19e165 --- /dev/null +++ b/net-im/telegram-desktop/files/patches/0/conditional/tdesktop_patches_wide-baloons/style.patch @@ -0,0 +1,11 @@ +--- a/Telegram/SourceFiles/ui/chat/chat.style 2024-08-02 09:26:52.899323105 +0700 ++++ b/Telegram/SourceFiles/ui/chat/chat.style 2024-08-02 09:27:23.226355858 +0700 +@@ -11,7 +11,7 @@ using "ui/widgets/widgets.style"; + using "ui/menu_icons.style"; + using "chat_helpers/chat_helpers.style"; // GroupCallUserpics + +-msgMaxWidth: 430px; ++msgMaxWidth: 2430px; + msgFont: font(fsize); + msgNameFont: semiboldFont; + msgNameStyle: semiboldTextStyle; diff --git a/net-im/telegram-desktop/telegram-desktop-5.3.0.ebuild b/net-im/telegram-desktop/telegram-desktop-5.3.2.ebuild similarity index 99% rename from net-im/telegram-desktop/telegram-desktop-5.3.0.ebuild rename to net-im/telegram-desktop/telegram-desktop-5.3.2.ebuild index a6276f72..e42afad6 100644 --- a/net-im/telegram-desktop/telegram-desktop-5.3.0.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-5.3.2.ebuild @@ -44,7 +44,7 @@ MYPATCHES=( "allow-disable-stories" "hide-banned" "hide-sponsored-messages" - # "wide-baloons" + "wide-baloons" "chat-ids" "increase-limits" "ignore-restrictions" @@ -68,6 +68,7 @@ COMMON_DEPEND=" >=dev-cpp/glibmm-2.77:2.68 >=dev-libs/glib-2.77:2 >=dev-libs/gobject-introspection-1.77 + dev-libs/ada dev-libs/libdispatch dev-libs/openssl:= dev-libs/protobuf diff --git a/net-im/telegram-desktop/telegram-desktop-9999.ebuild b/net-im/telegram-desktop/telegram-desktop-9999.ebuild index a6276f72..e42afad6 100644 --- a/net-im/telegram-desktop/telegram-desktop-9999.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-9999.ebuild @@ -44,7 +44,7 @@ MYPATCHES=( "allow-disable-stories" "hide-banned" "hide-sponsored-messages" - # "wide-baloons" + "wide-baloons" "chat-ids" "increase-limits" "ignore-restrictions" @@ -68,6 +68,7 @@ COMMON_DEPEND=" >=dev-cpp/glibmm-2.77:2.68 >=dev-libs/glib-2.77:2 >=dev-libs/gobject-introspection-1.77 + dev-libs/ada dev-libs/libdispatch dev-libs/openssl:= dev-libs/protobuf