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: Fri, 25 Oct 2024 18:10:20 +0000 (UTC)	[thread overview]
Message-ID: <1729879746.7742289ccdba91c230cb3092e98463a1067e6129.dwosky@gentoo> (raw)

commit:     7742289ccdba91c230cb3092e98463a1067e6129
Author:     Pedro Arizmendi <dwosky <AT> pm <DOT> me>
AuthorDate: Fri Oct 25 18:08:50 2024 +0000
Commit:     Pedro Arizmendi <dwosky <AT> pm <DOT> me>
CommitDate: Fri Oct 25 18:09:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7742289c

app-editors/pulsar-bin: add 1.122.0

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

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

diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest
index 60cc2d026..b6281bf03 100644
--- a/app-editors/pulsar-bin/Manifest
+++ b/app-editors/pulsar-bin/Manifest
@@ -4,3 +4,5 @@ DIST pulsar-bin-1.119.0-amd64.tar.gz 223426238 BLAKE2B a12ca733ca1a6053b899badf3
 DIST pulsar-bin-1.119.0-arm64.tar.gz 218339722 BLAKE2B 8adaa5b41f909c539cf56035bc05220353b657329b4e87ab9d85e6cf8cb1557e1149a6278d9eaa721830f178c82e33716d90eabd521cc522e8ae38d2c978b45d SHA512 59bed4cbce00b757505c69ca759437db1602b1355054402fa0e836949dd8ad655e6191bd24e6edda6c1a38a5fa413d3677c9ebb0de335d868b7c0a59eead82db
 DIST pulsar-bin-1.120.0-amd64.tar.gz 224070958 BLAKE2B 33b91b4c4d36bff9564c5e154090472e78c1188bb8baac41019c2727ed7f1079c0cb37e8d18bdd6691ddbf8eb316c74d91d7cd04de5e1a6b73f88ed838d56302 SHA512 57eb05002be85fae3b80a34b7ad170439ad2ca09cea7162e0482b39d611bc4248ff0b7b979f1a6dfe6ddfa9fec738e2d3f3015ae218ef26c7078694cb7d4b5b9
 DIST pulsar-bin-1.120.0-arm64.tar.gz 218976256 BLAKE2B 39b4bc0ee83e02f65a40b457c6ae5583e1f43d807ce99c911f448e62427ffc7fead085afb0d5593f0c905b2557228d96f39c641a49afa79cd8bcfb171e0b30a0 SHA512 8dea8c099f1b39d49a2f5455fda875df11138b14e085e2c3833e67a723f352ff1b6d3b953a8626129f0e169a2f974015f8e9bcc837ee093c5bda464e0c680359
+DIST pulsar-bin-1.122.0-amd64.tar.gz 229076484 BLAKE2B 225ba5f14aad1ecd225b1f28f0f8197cf1ee2af63adbc2c913764089cc5035f12fe60f07b83145063c2a6bd31514303e6d870724e3efc286b16347ef60007953 SHA512 658ce21eaf1e0cd8f2d5534425dbdb69d217a68b0f413c6d647600fb43af1d641b06967b018f38af6d5ec0157e416552a5d3ebd42d754e78a0c86fa19d7301e9
+DIST pulsar-bin-1.122.0-arm64.tar.gz 223905653 BLAKE2B ba26a9889b4bddadd766b8eaa038024fd32b4318ad3a675106564d8870be920b9da1bb6b3e002e4fd86f0a373c92dd668b8b64165bec6abd26f04e51194f1eb0 SHA512 5250ba5a2ad200d558318733b7f9bdc733df3f6b9ba30cb9b727fedea7a7fa235aafe71280c27a8101472ff26dcf5b9aa27082497d7fe70e57efcb433aae4fc6

diff --git a/app-editors/pulsar-bin/pulsar-bin-1.122.0.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.122.0.ebuild
new file mode 100644
index 000000000..fdc35e6ee
--- /dev/null
+++ b/app-editors/pulsar-bin/pulsar-bin-1.122.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2024 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:[~2024-10-25 18:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25 18:10 Pedro Arizmendi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-30  9:34 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/pulsar-bin/ YiFei Zhu
2024-12-17 13:51 Pedro Arizmendi
2024-12-17 13:50 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=1729879746.7742289ccdba91c230cb3092e98463a1067e6129.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