From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FF3B1581FD for ; Fri, 12 Sep 2025 10:51:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7737B341EBF for ; Fri, 12 Sep 2025 10:50:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 534C0110377; Fri, 12 Sep 2025 10:49:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 49077110377 for ; Fri, 12 Sep 2025 10:49:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 081FC341052 for ; Fri, 12 Sep 2025 10:49:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE17039B1 for ; Fri, 12 Sep 2025 10:49:48 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1757673808.dc3e89934d81ee4443da57e23d885a792dfdcdd3.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/logic-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/logic-bin/Manifest sci-electronics/logic-bin/logic-bin-2.4.36.ebuild X-VCS-Directories: sci-electronics/logic-bin/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: dc3e89934d81ee4443da57e23d885a792dfdcdd3 X-VCS-Branch: master Date: Fri, 12 Sep 2025 10:49:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b7925153-67d5-46c9-9e25-5d046cfa85a2 X-Archives-Hash: b2dbf951f9154a036b099e400a6cbe89 Message-ID: <20250912104948.8-762H5qkqNsn60TtXaynUBBPLCa4FC9brzSBYPLo3M@z> commit: dc3e89934d81ee4443da57e23d885a792dfdcdd3 Author: David Roman gmail com> AuthorDate: Fri Sep 12 10:43:28 2025 +0000 Commit: David Roman gmail com> CommitDate: Fri Sep 12 10:43:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc3e8993 sci-electronics/logic-bin: add 2.4.36 Signed-off-by: David Roman gmail.com> sci-electronics/logic-bin/Manifest | 1 + sci-electronics/logic-bin/logic-bin-2.4.36.ebuild | 128 ++++++++++++++++++++++ 2 files changed, 129 insertions(+) diff --git a/sci-electronics/logic-bin/Manifest b/sci-electronics/logic-bin/Manifest index 75503d92f7..9489297b34 100644 --- a/sci-electronics/logic-bin/Manifest +++ b/sci-electronics/logic-bin/Manifest @@ -1 +1,2 @@ DIST Logic-2.4.29-linux-x64.AppImage 190784685 BLAKE2B 77e3ef319656fa000a33f7f43385d8132331df6b2aa7bcb7609b53e7cdf53b8c82c99e1508877c07ea20ac0af761501f2db9ae3043e71e09f701a171a4c13167 SHA512 7f99549b3aa1a0c60d157177b14216c2cb55eadbecd4043051a657e0b60a040c6d38ab3117575100f35e3a8fd3805436986b3653dad02240a262ce5283600aa3 +DIST Logic-2.4.36-linux-x64.AppImage 191333184 BLAKE2B 2d7e9aa54ffcc47182acce8c158461f9cf2a152acaef3edef601e712dd065db9373403d5f75d39c027a74b2cd897e8c2b0d270d3f4a6972849cb08e52bb1bef6 SHA512 d38f2891f2fe2fe4294c25e737c4574d72d945348b9d833b22e8e96e7698c61594b77b87cce4cb56b76ed3788239aa8198b8a29e6402be11cecf7e8e7a638139 diff --git a/sci-electronics/logic-bin/logic-bin-2.4.36.ebuild b/sci-electronics/logic-bin/logic-bin-2.4.36.ebuild new file mode 100644 index 0000000000..1678ed8aad --- /dev/null +++ b/sci-electronics/logic-bin/logic-bin-2.4.36.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop xdg + +APPIMAGE="Logic-${PV}-linux-x64.AppImage" +DESCRIPTION="Saleae logic analyzer" +HOMEPAGE="https://www.saleae.com" + +SRC_URI="https://downloads2.saleae.com/logic2/${APPIMAGE}" + +S="${WORKDIR}" +LICENSE="Saleae" +SLOT="0" +KEYWORDS="-* ~amd64" + +RESTRICT="bindist mirror strip" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/dbus-glib + dev-libs/expat + dev-libs/glib:2 + dev-libs/libdbusmenu + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/libxcrypt + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + x11-libs/libnotify + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango +" + +BDEPEND="dev-util/patchelf" + +QA_PREBUILT="*" + +src_unpack() { + cp "${DISTDIR}/${APPIMAGE}" "${S}" || die + + cd "${S}" || die # "appimage-extract" unpacks to current directory + chmod +x "${APPIMAGE}" || die + ./"${APPIMAGE}" --appimage-extract || die +} + +src_prepare() { + # Fix permissions + find "${S}" -type d -exec chmod a+rx {} + || die + find "${S}" -type f -exec chmod a+r {} + || die + + cd squashfs-root || die + + for f in *.so; do + patchelf --set-rpath '$ORIGIN' $f || die + done + + # scanelf: rpath_security_checks(): Security problem NULL DT_RUNPATH + pushd resources/linux-x64/Analyzers || die + for f in *.so; do + patchelf --set-rpath '$ORIGIN' $f || die + done + popd + + pushd locales || die + chromium_remove_language_paks + popd + + default +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_install() { + cd "${S}/squashfs-root" || die + + insinto /usr/share + doins -r ./usr/share/icons + + local -a toremove=( + .DirIcon + AppRun + Logic.png + usr/lib/libnotify.so.4 + usr/lib/libXss.so.1 + usr/lib/libXtst.so.6 + ) + rm -r "${toremove[@]}" || die + + insinto /opt/Logic + doins -r * + + fperms 4755 /opt/Logic/chrome-sandbox + for i in Logic chrome_crashpad_handler *.so* usr/lib/*.so*; do + fperms +x "/opt/Logic/${i}" + done + + dosym -r "/opt/Logic/Logic" /usr/bin/Logic + domenu Logic.desktop +}