public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-electronics/logic-bin/
Date: Tue, 24 Jun 2025 14:26:42 +0000 (UTC)	[thread overview]
Message-ID: <1750675027.9f3f74a8ac06186f9683b0b9088fbfc2bbdd4c0b.watermanpaint@gentoo> (raw)

commit:     9f3f74a8ac06186f9683b0b9088fbfc2bbdd4c0b
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Jun 23 10:36:59 2025 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jun 23 10:37:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9f3f74a8

sci-electronics/logic-bin: add 2.4.29

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 sci-electronics/logic-bin/Manifest                |   1 +
 sci-electronics/logic-bin/logic-bin-2.4.29.ebuild | 131 ++++++++++++++++++++++
 2 files changed, 132 insertions(+)

diff --git a/sci-electronics/logic-bin/Manifest b/sci-electronics/logic-bin/Manifest
index 0f8c9727c0..71b6fff294 100644
--- a/sci-electronics/logic-bin/Manifest
+++ b/sci-electronics/logic-bin/Manifest
@@ -1 +1,2 @@
 DIST Logic-2.4.14-linux-x64.AppImage 187591212 BLAKE2B 744e3266e8545c700ac2fd5ad31f9df569a2d5fe5b796a88934b7c6b730dd6282f44827748bc134960babebbf47ab9dfc12fb078d3a5b38f3eff22d1e835c2b0 SHA512 c32626eb359cad568a5871e29b4aa291294f92fd21052c80a3a21ed3a49ac3803cf0bee0af26a1b9f53e95ad47e4f71c86b241699dee59fefcd24e056de5c4d5
+DIST Logic-2.4.29-linux-x64.AppImage 190784685 BLAKE2B 77e3ef319656fa000a33f7f43385d8132331df6b2aa7bcb7609b53e7cdf53b8c82c99e1508877c07ea20ac0af761501f2db9ae3043e71e09f701a171a4c13167 SHA512 7f99549b3aa1a0c60d157177b14216c2cb55eadbecd4043051a657e0b60a040c6d38ab3117575100f35e3a8fd3805436986b3653dad02240a262ce5283600aa3

diff --git a/sci-electronics/logic-bin/logic-bin-2.4.29.ebuild b/sci-electronics/logic-bin/logic-bin-2.4.29.ebuild
new file mode 100644
index 0000000000..a430fc6dbd
--- /dev/null
+++ b/sci-electronics/logic-bin/logic-bin-2.4.29.ebuild
@@ -0,0 +1,131 @@
+# 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 edo
+
+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
+}


             reply	other threads:[~2025-06-24 14:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 14:26 Lucio Sauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-12 10:45 [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/logic-bin/ David Roman
2025-09-12 10:49 ` [gentoo-commits] repo/proj/guru:master " David Roman
2025-09-12 10:45 [gentoo-commits] repo/proj/guru:dev " David Roman
2025-09-12 10:49 ` [gentoo-commits] repo/proj/guru:master " David Roman
2025-06-24 14:26 Lucio Sauer
2024-06-04  8:38 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-06-04 12:26 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-06-04  8:38 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-06-04 12:26 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-04-24 12:11 David Roman
2024-04-23 23:03 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-04-24 12:11 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-04-23 23:03 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-04-24 12:11 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-07-23 14:06 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-07-23 14:07 ` [gentoo-commits] repo/proj/guru:master " David Roman
2022-10-06  8:58 Andrew Ammerlaan
2022-10-04  2:54 Haelwenn Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1750675027.9f3f74a8ac06186f9683b0b9088fbfc2bbdd4c0b.watermanpaint@gentoo \
    --to=watermanpaint@posteo.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox