From 56a597689e7509193b0924a635d2022f21b1a3e4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 4 Mar 2024 11:43:04 +0000 Subject: gentoo auto-resync : 04:03:2024 - 11:43:04 --- net-im/Manifest.gz | Bin 9403 -> 9405 bytes net-im/dino/Manifest | 2 + net-im/dino/dino-0.4.3-r1.ebuild | 103 +++++++++++++++++++++ net-im/dino/files/dino-0.4.3-c99.patch | 57 ++++++++++++ net-im/signal-desktop-bin/Manifest | 4 +- .../signal-desktop-bin-6.48.0.ebuild | 96 ------------------- .../signal-desktop-bin-7.0.0.ebuild | 96 +++++++++++++++++++ 7 files changed, 260 insertions(+), 98 deletions(-) create mode 100644 net-im/dino/dino-0.4.3-r1.ebuild create mode 100644 net-im/dino/files/dino-0.4.3-c99.patch delete mode 100644 net-im/signal-desktop-bin/signal-desktop-bin-6.48.0.ebuild create mode 100644 net-im/signal-desktop-bin/signal-desktop-bin-7.0.0.ebuild (limited to 'net-im') diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz index 01635e17496d..ea2db2a5b6d9 100644 Binary files a/net-im/Manifest.gz and b/net-im/Manifest.gz differ diff --git a/net-im/dino/Manifest b/net-im/dino/Manifest index 4c03582e27d7..e189afd3398b 100644 --- a/net-im/dino/Manifest +++ b/net-im/dino/Manifest @@ -1,7 +1,9 @@ AUX README.gentoo 469 BLAKE2B e7176c3fa41c859f13f93f2805bf317817de1c736b56a55a1cd21340b2195f1192a96c56ae973c347430f3553715e829420ef6e0d91b26835cf06d06b744b9ec SHA512 a800f5ae1f02a1574602c1595f005eeffbd2db6c100bb59f7a4cf9dbb0bea79bb3d1a17cf9559a09f318f4d8189ecfce964e594829228ab16f861b3c966c3f41 +AUX dino-0.4.3-c99.patch 2378 BLAKE2B a88b813a59e836f23e437e11bda54e48bfbad6f78ede682cabf596562d0cae810ea80054086605f131f9b3a50bafa2aa6e2e4eb41ebf6cb047294c8e047a1228 SHA512 221085118ef69e992920f87f5878b018b360b6c0ce82d6683aa1e36ec15fc41ab0abafbe458a860a3fe566497b11a1b6af73d39b16352f31bb6e176ff9e5ecd6 DIST dino-0.4.2.tar.gz 882421 BLAKE2B 36c0487a19202506e4de69afd923991c912e82c974f61e787ff4af37a40133fdbdb02315e82f7e85ccb8b3cd7d734aed7f8508ca31c1ffec49674ef68f71793b SHA512 b5d5b9e2ab2ff24f53778303e5428ed0613537944cf5d9139aa7e13558ee40ffb1566c6e9267dd802938a6abf0f0d5fbe94ef17fb3e18a11d47cc0d040928d19 DIST dino-0.4.3.tar.gz 883558 BLAKE2B 31ea5eafedcaabbc1ec99c72b5a0c1a6f80462ce3f8288b2d54d68106cfb9a31d3ac525660cd1ff7bf0faf2fbfdb2f47dd37672cc0f2b3283121fd364f670092 SHA512 c3e5e3ba05d7190206a8a3144002eac94f162525ab229edd420215eff3d5644293d0c8737266f0ed9f112313b2e6e83fb02fcc10d0f568fb5b2295238ebe78ea EBUILD dino-0.4.2-r2.ebuild 2016 BLAKE2B 4c32be990ad3c0910d4549f0f6765cb586be6f23c1705041aea39778272ab6102178ba0f12341045e8219f337ac56fa0699bbd32059ca6f9c6dfae386e7924b5 SHA512 bd0699ec0c9289272b02cba52d2a7fd049099993c7f12a5150f72d7c79d7d769463c2397398dcd1a620f3343d596ca0603beb545e2a46326307d5c1a1591bd3c +EBUILD dino-0.4.3-r1.ebuild 2060 BLAKE2B 1042f3b5d01ea96414b1023019bafe9303b902506b2f19fdfff7f7fcd208c72c244efae9ec2adc46893de81fa4a375af02abe56d4583abfbaa79489c9a7774c3 SHA512 ef170237b440b9affa974765c707b4a95b497ea4878440451213cf05ceba9aa26af8a8d38c94490b8330b67a70eeb0efaacf36e674ebaf0db0b5a7dd982626c8 EBUILD dino-0.4.3.ebuild 2017 BLAKE2B 923c79d60908110c94a5ff34bbf460dafc5c46039af881f17d0a61879bce4f1fb259a764dd36a5ba953f4af7bd5222c0818e3356ff65b94feed8992317702997 SHA512 5ad5c9f7ebfb2a68c0ba374a64046f4fb47d093a4a40bc229600f09da0f106e088b6894c294737e76165b4504a0a5b11e8a7774f6f5acbd54ae97662b54d65bf EBUILD dino-9999.ebuild 2017 BLAKE2B 923c79d60908110c94a5ff34bbf460dafc5c46039af881f17d0a61879bce4f1fb259a764dd36a5ba953f4af7bd5222c0818e3356ff65b94feed8992317702997 SHA512 5ad5c9f7ebfb2a68c0ba374a64046f4fb47d093a4a40bc229600f09da0f106e088b6894c294737e76165b4504a0a5b11e8a7774f6f5acbd54ae97662b54d65bf MISC metadata.xml 629 BLAKE2B 451fa9ab43aa4c0915e87a4b8835b25fba86c846270d3257f7ca8dcde782f5b2d5c8705f828dc3d20e371345af2b5715f86753839f7d0a147ee9b6fb71aeadb4 SHA512 5d16f3cd53aa46fa5028050fd8db9c3bd239ea80a7bf38dbfc0814a0b50efdc34a7aa52bf628439b2db4aa22afbe320514ae22fc7349d508220da23c00663416 diff --git a/net-im/dino/dino-0.4.3-r1.ebuild b/net-im/dino/dino-0.4.3-r1.ebuild new file mode 100644 index 000000000000..0badcf1fd992 --- /dev/null +++ b/net-im/dino/dino-0.4.3-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake vala xdg readme.gentoo-r1 + +DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala" +HOMEPAGE="https://dino.im" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+gpg +http +omemo +notification-sound +rtp test" +RESTRICT="!test? ( test )" + +MY_REPO_URI="https://github.com/dino/dino" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="${MY_REPO_URI}.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~arm64" + SRC_URI="${MY_REPO_URI}/releases/download/v${PV}/${P}.tar.gz" +fi + +RDEPEND=" + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/icu:= + dev-libs/libgee:0.8= + gui-libs/gtk:4 + >=gui-libs/libadwaita-1.2.0:1[vala] + media-libs/graphene + net-libs/glib-networking + net-libs/gnutls:= + >=net-libs/libnice-0.1.15 + net-libs/libsignal-protocol-c + net-libs/libsrtp:2= + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango + gpg? ( app-crypt/gpgme:= ) + http? ( net-libs/libsoup:2.4 ) + notification-sound? ( media-libs/libcanberra:0[sound] ) + omemo? ( + dev-libs/libgcrypt:= + media-gfx/qrencode:= + ) + rtp? ( + media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0 + media-libs/webrtc-audio-processing:0 + ) +" +DEPEND=" + ${RDEPEND} + media-libs/gst-plugins-base + media-libs/gstreamer +" +BDEPEND=" + sys-devel/gettext + $(vala_depend) +" + +PATCHES=( + "${FILESDIR}"/${P}-c99.patch +) + +src_configure() { + vala_setup + + local disabled_plugins=( + $(usex gpg "" "openpgp") + $(usex omemo "" "omemo") + $(usex http "" "http-files") + $(usex rtp "" rtp) + ) + local enabled_plugins=( + $(usex notification-sound "notification-sound" "") + ) + local mycmakeargs=( + "-DENABLED_PLUGINS=$(local IFS=";"; echo "${enabled_plugins[*]}")" + "-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" + "-DVALA_EXECUTABLE=${VALAC}" + "-DSOUP_VERSION=2" + "-DBUILD_TESTS=$(usex test)" + ) + + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/xmpp-vala-test || die +} + +src_install() { + cmake_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + readme.gentoo_print_elog +} diff --git a/net-im/dino/files/dino-0.4.3-c99.patch b/net-im/dino/files/dino-0.4.3-c99.patch new file mode 100644 index 000000000000..d21ff5e4adec --- /dev/null +++ b/net-im/dino/files/dino-0.4.3-c99.patch @@ -0,0 +1,57 @@ +https://bugs.gentoo.org/926073 +https://github.com/dino/dino/commit/0c45387bf903e5b0d02502d27642dd2a78aa6539 + +From 0c45387bf903e5b0d02502d27642dd2a78aa6539 Mon Sep 17 00:00:00 2001 +From: fiaxh +Date: Sat, 7 Oct 2023 13:56:38 +0200 +Subject: [PATCH] Fix implicit-function-declaration compiler warnings + +--- a/xmpp-vala/src/module/xep/0384_omemo/omemo_encryptor.vala ++++ b/xmpp-vala/src/module/xep/0384_omemo/omemo_encryptor.vala +@@ -72,27 +72,27 @@ namespace Xmpp.Xep.Omemo { + } + + public class EncryptionResult { +- public int lost { get; internal set; } +- public int success { get; internal set; } +- public int unknown { get; internal set; } +- public int failure { get; internal set; } ++ public int lost { get; set; } ++ public int success { get; set; } ++ public int unknown { get; set; } ++ public int failure { get; set; } + } + + public class EncryptState { +- public bool encrypted { get; internal set; } +- public int other_devices { get; internal set; } +- public int other_success { get; internal set; } +- public int other_lost { get; internal set; } +- public int other_unknown { get; internal set; } +- public int other_failure { get; internal set; } +- public int other_waiting_lists { get; internal set; } +- +- public int own_devices { get; internal set; } +- public int own_success { get; internal set; } +- public int own_lost { get; internal set; } +- public int own_unknown { get; internal set; } +- public int own_failure { get; internal set; } +- public bool own_list { get; internal set; } ++ public bool encrypted { get; set; } ++ public int other_devices { get; set; } ++ public int other_success { get; set; } ++ public int other_lost { get; set; } ++ public int other_unknown { get; set; } ++ public int other_failure { get; set; } ++ public int other_waiting_lists { get; set; } ++ ++ public int own_devices { get; set; } ++ public int own_success { get; set; } ++ public int own_lost { get; set; } ++ public int own_unknown { get; set; } ++ public int own_failure { get; set; } ++ public bool own_list { get; set; } + + public void add_result(EncryptionResult enc_res, bool own) { + if (own) { + diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest index d57968c67471..c451b73d1903 100644 --- a/net-im/signal-desktop-bin/Manifest +++ b/net-im/signal-desktop-bin/Manifest @@ -1,3 +1,3 @@ -DIST signal-desktop_6.48.0_amd64.deb 118091928 BLAKE2B 212f8d1871e3281a7263464bbe6febc8c593825b655d80b437506bb14be7bcfd41c5d0fb876134776d5f35edfeacb74505b1ad165eefbe114c4b7dea45529fc8 SHA512 523c053e7a3bfacd1de5b96688075fb58a78d32664ea00e094d8cd9262f5668b76231f51bebd776e695de8156e9e6309a0690c2bebdc42b7a818a7d10393824c -EBUILD signal-desktop-bin-6.48.0.ebuild 2391 BLAKE2B 6cd7c5c50b47a5a6d94ff08be26defdcbff36472425893e279070ad4f2afd3f4cb64111b915c7071608ffb5dbffe8e596fc619123d289e68f1e2ce02cdd9dd8c SHA512 78e248b266842778a628473ebc0d940f6280f6bd5d3266d00237c504c630a2addfba8662f2d759772210def9b822d9a31f3f5b65adf0cd3a2746bc73b033ab1c +DIST signal-desktop_7.0.0_amd64.deb 118161204 BLAKE2B 12f210fa6489e0c5784dfcae791ec6d95c1dd72c6746f74fac01b18154576b2af71e7bfbe67c47a46268ce19487dee4e6f8f9056b1e5e8420b1683ecfe79fc42 SHA512 4bf73fd35beac798b87e1dafff9feefa5fbef9b3b2f8e7e579fe9d91d5a531e99052e341d2fceccb44578dc77dbc8302dae08a6804d6c127ded050110404aa21 +EBUILD signal-desktop-bin-7.0.0.ebuild 2391 BLAKE2B 6cd7c5c50b47a5a6d94ff08be26defdcbff36472425893e279070ad4f2afd3f4cb64111b915c7071608ffb5dbffe8e596fc619123d289e68f1e2ce02cdd9dd8c SHA512 78e248b266842778a628473ebc0d940f6280f6bd5d3266d00237c504c630a2addfba8662f2d759772210def9b822d9a31f3f5b65adf0cd3a2746bc73b033ab1c MISC metadata.xml 486 BLAKE2B cfc118c5488c5c50b4de72443e6b836992a4ba7a6fb94358552c814006a49b00580b5ab0a57141b17809e1d2a898b9e23e6fee0837778edfa7f6de53ccc09d01 SHA512 4ab7dc5fd6fb03e7296164d0d924ab4eb11c6fd31c2fc651706892eda53b29be5db65cd94da8e6aa743e9b7ed10ee3e5f25f14dd2d1be99459daa11f529dbb95 diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-6.48.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-6.48.0.ebuild deleted file mode 100644 index 99e798892138..000000000000 --- a/net-im/signal-desktop-bin/signal-desktop-bin-6.48.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="${PN/-bin/}" - -inherit pax-utils unpacker xdg - -DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer" -HOMEPAGE="https://signal.org/ - https://github.com/signalapp/Signal-Desktop" -SRC_URI="https://updates.signal.org/desktop/apt/pool/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb" -S="${WORKDIR}" - -LICENSE="GPL-3 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" -SLOT="0" -KEYWORDS="-* amd64" -IUSE="+sound" -RESTRICT="splitdebug" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=media-fonts/noto-emoji-20231130 - media-libs/alsa-lib - media-libs/mesa[X(+)] - net-print/cups - sys-apps/dbus[X] - x11-libs/cairo - x11-libs/gtk+:3[X] - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/pango - sound? ( - || ( - media-libs/libpulse - media-sound/apulse - ) - ) -" - -QA_PREBUILT=" - opt/Signal/chrome_crashpad_handler - opt/Signal/chrome-sandbox - opt/Signal/libEGL.so - opt/Signal/libGLESv2.so - opt/Signal/libffmpeg.so - opt/Signal/libvk_swiftshader.so - opt/Signal/libvulkan.so.1 - opt/Signal/resources/app.asar.unpacked/node_modules/* - opt/Signal/signal-desktop - opt/Signal/swiftshader/libEGL.so - opt/Signal/swiftshader/libGLESv2.so" - -src_prepare() { - default - sed -e 's| --no-sandbox||g' \ - -i usr/share/applications/signal-desktop.desktop || die - unpack usr/share/doc/signal-desktop/changelog.gz -} - -src_install() { - insinto / - dodoc changelog - doins -r opt - insinto /usr/share - - if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then - sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop || die - fi - - doins -r usr/share/applications - doins -r usr/share/icons - fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox - fperms u+s /opt/Signal/chrome-sandbox - pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox - - dosym -r /opt/Signal/${MY_PN} /usr/bin/${MY_PN} -} - -pkg_postinst() { - xdg_pkg_postinst - elog "For using the tray icon on compatible desktop environments, start Signal with" - elog " '--start-in-tray' or '--use-tray-icon'." -} diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-7.0.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-7.0.0.ebuild new file mode 100644 index 000000000000..99e798892138 --- /dev/null +++ b/net-im/signal-desktop-bin/signal-desktop-bin-7.0.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/-bin/}" + +inherit pax-utils unpacker xdg + +DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer" +HOMEPAGE="https://signal.org/ + https://github.com/signalapp/Signal-Desktop" +SRC_URI="https://updates.signal.org/desktop/apt/pool/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb" +S="${WORKDIR}" + +LICENSE="GPL-3 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" +SLOT="0" +KEYWORDS="-* amd64" +IUSE="+sound" +RESTRICT="splitdebug" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=media-fonts/noto-emoji-20231130 + media-libs/alsa-lib + media-libs/mesa[X(+)] + net-print/cups + sys-apps/dbus[X] + x11-libs/cairo + x11-libs/gtk+:3[X] + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/pango + sound? ( + || ( + media-libs/libpulse + media-sound/apulse + ) + ) +" + +QA_PREBUILT=" + opt/Signal/chrome_crashpad_handler + opt/Signal/chrome-sandbox + opt/Signal/libEGL.so + opt/Signal/libGLESv2.so + opt/Signal/libffmpeg.so + opt/Signal/libvk_swiftshader.so + opt/Signal/libvulkan.so.1 + opt/Signal/resources/app.asar.unpacked/node_modules/* + opt/Signal/signal-desktop + opt/Signal/swiftshader/libEGL.so + opt/Signal/swiftshader/libGLESv2.so" + +src_prepare() { + default + sed -e 's| --no-sandbox||g' \ + -i usr/share/applications/signal-desktop.desktop || die + unpack usr/share/doc/signal-desktop/changelog.gz +} + +src_install() { + insinto / + dodoc changelog + doins -r opt + insinto /usr/share + + if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then + sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop || die + fi + + doins -r usr/share/applications + doins -r usr/share/icons + fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox + fperms u+s /opt/Signal/chrome-sandbox + pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox + + dosym -r /opt/Signal/${MY_PN} /usr/bin/${MY_PN} +} + +pkg_postinst() { + xdg_pkg_postinst + elog "For using the tray icon on compatible desktop environments, start Signal with" + elog " '--start-in-tray' or '--use-tray-icon'." +} -- cgit v1.2.3