public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pedro Arizmendi" <dwosky@pm.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/pulsar-bin/
Date: Mon, 31 Mar 2025 09:59:24 +0000 (UTC)	[thread overview]
Message-ID: <1743415136.e94545bb443e782648c8e2bc19d98c9b4cfb69de.dwosky@gentoo> (raw)

commit:     e94545bb443e782648c8e2bc19d98c9b4cfb69de
Author:     Pedro Arizmendi <dwosky <AT> pm <DOT> me>
AuthorDate: Mon Mar 31 09:58:56 2025 +0000
Commit:     Pedro Arizmendi <dwosky <AT> pm <DOT> me>
CommitDate: Mon Mar 31 09:58:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e94545bb

app-editors/pulsar-bin: add 1.127.1

Signed-off-by: Pedro Arizmendi <dwosky <AT> pm.me>

 app-editors/pulsar-bin/Manifest                  |   2 +
 app-editors/pulsar-bin/pulsar-bin-1.127.1.ebuild | 113 +++++++++++++++++++++++
 2 files changed, 115 insertions(+)

diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest
index 2a6e6ab83..067b051b0 100644
--- a/app-editors/pulsar-bin/Manifest
+++ b/app-editors/pulsar-bin/Manifest
@@ -2,3 +2,5 @@ DIST pulsar-bin-1.126.0-amd64.tar.gz 224422360 BLAKE2B 57824599e80433b38f25ec105
 DIST pulsar-bin-1.126.0-arm64.tar.gz 219253378 BLAKE2B c24d60ffac4c6e5e6063de60c89c6cd655850f3d5f92f92292db72daa97a4997b1978873480fc6f6e41c0032afd13e49d332c42a20416f427d38d56aca75d181 SHA512 42a4e20d67164b8048a006b92dabe4d7a7b2b3b9eab9df0694e3e1b68ac2990212ec858384a6da60f6a872b6a6af8673699a1cdd4c776829076d0969b470b142
 DIST pulsar-bin-1.127.0-amd64.tar.gz 224639634 BLAKE2B 6110a201cccd2b20f774858b30279462ec4e38e2d362956be0fe44438f6ea783caaa1ad1d37239784b059086182849b19197c9855260fe93998df603873c956c SHA512 f473645dfbd527e2239ed33e608e9b231c8982383ca56e1b4519e4d5ded63baa50904d9948e6873100a170234f82657dfd0a5b4972ddcd0fb054185e7f958346
 DIST pulsar-bin-1.127.0-arm64.tar.gz 219468000 BLAKE2B bfdf454261ccd06856091c69c35d18c00eea072c00aa0222b1bb4352fd27763865425231ddcbb63807a4a3e3cef74a64494b035cc5ec660d970d2df0bb70b074 SHA512 b70193aaed7f3dbe61b767e49ee8b9d710a5c60cc369148eed3bd79505890f1617c659cda73b298412ac03204082e73c17248683ce460d0b22a5e21c2712ceb6
+DIST pulsar-bin-1.127.1-amd64.tar.gz 224639051 BLAKE2B 8fb76f948fc18360fd8214a9c3b703cc8d392297679a41589dad9119565eb946c5078ba3900655381acf7e238e1510d2323dca2c847eb81d5a4d064f3cc3c58a SHA512 25b3f06e2348f5594a686388de09871e4efdd5e5e9eab5d010dd2275877f841379f8f492452e8e99af7a5c42101eed1b5db996ce87df43907ba897dfd5a44ac1
+DIST pulsar-bin-1.127.1-arm64.tar.gz 219462221 BLAKE2B 99514de2e280503fcbdd16c2c7d06f66925f96098a0e93202d31ab93e64c5bb9c661d2e7092706e2c60c8fa8c9b91b7fa657779ff00edf4250e07d8247f932b4 SHA512 8047878bcd91a742b19a453953090763a360b560b8a6e41f7b868b6943432ade2e56f649ea22ddc37d60ec7fccae190062d40c2ff621819f23c5e2bf0ffcddb3

diff --git a/app-editors/pulsar-bin/pulsar-bin-1.127.1.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.127.1.ebuild
new file mode 100644
index 000000000..140cf5157
--- /dev/null
+++ b/app-editors/pulsar-bin/pulsar-bin-1.127.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+
+DESCRIPTION="A Community-led Hyper-Hackable Text Editor"
+HOMEPAGE="https://pulsar-edit.dev/"
+
+ur=https://github.com/pulsar-edit/pulsar/releases/download
+SRC_URI="
+	amd64? ( ${ur}/v${PV}/Linux.pulsar-${PV}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${ur}/v${PV}/ARM.Linux.pulsar-${PV}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/pulsar-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+# binary package; no tests available
+RESTRICT="test"
+
+RDEPEND="
+	app-accessibility/at-spi2-core
+	dev-libs/nspr
+	app-crypt/libsecret
+	dev-libs/expat
+	dev-libs/glib
+	dev-libs/nss
+	dev-libs/openssl-compat
+	dev-vcs/git
+	media-libs/alsa-lib
+	media-libs/mesa
+	net-misc/curl
+	net-print/cups
+	sys-apps/dbus
+	sys-libs/zlib
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf
+	x11-libs/gtk+:3[X]
+	x11-libs/libdrm
+	x11-libs/libX11
+	x11-libs/libxcb
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libxkbcommon
+	x11-libs/libxkbfile
+	x11-libs/libxshmfence
+	x11-libs/libXrandr
+	x11-libs/pango
+"
+
+QA_PREBUILT="opt/Pulsar/*"
+QA_PRESTRIPPED="opt/Pulsar/resources/*"  # Files are already stripped
+
+src_unpack(){
+	default
+
+	if use arm64; then
+		mv "pulsar-${PV}-arm64" "pulsar-${PV}" || die
+	fi
+}
+
+src_prepare(){
+	default
+
+	# We do not install licenses
+	rm resources/LICENSE.md || die "Failed to remove LICENSE"
+}
+
+src_install(){
+	dodir /opt/Pulsar
+	mv "${S}"/* "${ED}"/opt/Pulsar
+
+	dosym -r /opt/Pulsar/resources/pulsar.sh /usr/bin/pulsar
+
+	# Bug #906939
+	if use amd64; then
+		rm "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins/python3 || die
+		rmdir "${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins || die
+	fi
+
+	doicon "${ED}"/opt/Pulsar/resources/pulsar.png
+	make_desktop_entry "/usr/bin/pulsar %F" "Pulsar" "pulsar" \
+		"GNOME;GTK;Utility;TextEditor;Development;" \
+		"GenericName=Text Editor\nStartupNotify=true\nStartupWMClass=pulsar\n" \
+		"MimeType=application/javascript;application/json;application/x-httpd-eruby;" \
+			"application/x-httpd-php;application/x-httpd-php3;application/x-httpd-php4;" \
+			"application/x-httpd-php5;application/x-ruby;application/x-bash;application/x-csh;" \
+			"application/x-sh;application/x-zsh;application/x-shellscript;application/x-sql;" \
+			"application/x-tcl;application/xhtml+xml;application/xml;application/xml-dtd;" \
+			"application/xslt+xml;text/coffeescript;text/css;text/html;text/plain;text/xml;" \
+			"text/xml-dtd;text/x-bash;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-c;text/x-chdr;" \
+			"text/x-csh;text/x-csrc;text/x-dsrc;text/x-diff;text/x-go;text/x-java;text/x-java-source;" \
+			"text/x-makefile;text/x-markdown;text/x-objc;text/x-perl;text/x-php;text/x-python;" \
+			"text/x-ruby;text/x-sh;text/x-zsh;text/yaml;inode/directory"
+
+	einstalldocs
+
+	find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst(){
+	xdg_desktop_database_update
+
+	elog "To migrate configurations & saved state from Atom Editor, execute:"
+	elog "    cp -a \$HOME/.atom \$HOME/.pulsar"
+	elog "    cp -a \$HOME/.config/Atom \$HOME/.config/Pulsar"
+}


             reply	other threads:[~2025-03-31  9:59 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31  9:59 Pedro Arizmendi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 21:40 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/pulsar-bin/ Pedro Arizmendi
2025-03-27 21:39 Pedro Arizmendi
2025-03-07 12:52 Pedro Arizmendi
2025-01-30  9:34 YiFei Zhu
2024-12-17 13:51 Pedro Arizmendi
2024-12-17 13:50 Pedro Arizmendi
2024-10-25 18:10 Pedro Arizmendi
2024-08-21 18:49 Pedro Arizmendi
2024-07-22  6:46 YiFei Zhu
2024-07-06  3:19 YiFei Zhu
2024-03-23 23:07 YiFei Zhu
2024-03-11  0:37 YiFei Zhu
2024-03-11  0:37 YiFei Zhu
2024-01-19  6:43 YiFei Zhu
2023-12-21 17:48 YiFei Zhu
2023-12-16 23:26 YiFei Zhu
2023-11-19  8:21 YiFei Zhu
2023-10-20 14:46 YiFei Zhu
2023-09-20  3:28 YiFei Zhu
2023-08-18  7:46 YiFei Zhu
2023-07-17  3:12 YiFei Zhu
2023-07-14  8:56 YiFei Zhu
2023-06-17  9:57 YiFei Zhu
2023-06-16  6:39 YiFei Zhu
2023-06-09  4:47 YiFei Zhu
2023-05-22 17:45 YiFei Zhu
2023-05-22 16:51 YiFei Zhu
2023-05-21 11:16 YiFei Zhu
2023-05-21  9:59 YiFei Zhu
2023-05-21  9:53 YiFei Zhu

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=1743415136.e94545bb443e782648c8e2bc19d98c9b4cfb69de.dwosky@gentoo \
    --to=dwosky@pm.me \
    --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