public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-07  8:51 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-07  8:51 UTC (permalink / raw
  To: gentoo-commits

commit:     a4b753589685894fa2964cc95a2180efd01622e2
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Tue Apr  6 18:23:18 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr  6 20:09:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4b75358

app-editors/atom-bin: rename atom in atom-bin

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 app-editors/atom-bin/Manifest                  |  1 +
 app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild | 72 ++++++++++++++++++++++++++
 app-editors/atom-bin/metadata.xml              | 11 ++++
 3 files changed, 84 insertions(+)

diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest
new file mode 100644
index 000000000..bf5b2e9bb
--- /dev/null
+++ b/app-editors/atom-bin/Manifest
@@ -0,0 +1 @@
+DIST atom-bin-1.55.0.tar.gz 193419030 BLAKE2B 7c6dcb95947d10e024daa8bf160744ddb5c9885083dbfe3e9506810002a33d14599da3f27b776e185efc315cca312bc83b73c5c835361e8d1b545d050bbbaf6a SHA512 be8e80fa6f71735c05203cb95711614dd77fadf030a13c453a3921060f359c6ce2b1971c3be9c93db8accbc5151685f91b7dc77a074dbfc77f7d576a1158b211

diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild
new file mode 100644
index 000000000..b0478f02f
--- /dev/null
+++ b/app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg
+
+DESCRIPTION="A hackable text editor for the 21st Century"
+HOMEPAGE="https://atom.io/"
+SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa cups ssl test X"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/atom-${PV}-amd64"
+
+RDEPEND="
+	app-accessibility/at-spi2-atk
+	app-accessibility/at-spi2-core
+	app-crypt/libsecret
+	dev-libs/atk
+	dev-libs/nss
+	alsa? ( media-libs/alsa-lib )
+	cups? ( net-print/cups )
+	ssl? ( dev-libs/openssl )
+	X? (
+		x11-libs/cairo
+		x11-libs/gdk-pixbuf
+		x11-libs/gtk+
+		x11-libs/libX11
+		x11-libs/libxcb
+		x11-libs/libXcomposite
+		x11-libs/libXcursor
+		x11-libs/libXdamage
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXi
+		x11-libs/libxkbfile
+		x11-libs/libXrandr
+		x11-libs/libXrender
+		x11-libs/libXScrnSaver
+		x11-libs/libXtst
+		x11-libs/pango
+	)
+"
+
+QA_PREBUILT="/opt/atom/*"
+
+src_prepare(){
+	default
+
+	# Remove useless license files.
+	rm LICENSE LICENSES.chromium.html version
+}
+
+src_install(){
+	insinto /opt/"${PN}"
+	doins -r "${S}"/*
+	dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
+	fperms +x /opt/"${PN}"/atom
+	dosym ../../opt/"${PN}"/resources/app/apm/bin/apm "${EPREFIX}"/usr/bin/apm
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
+	dosym ../../opt/"${PN}"/resources/app/apm/bin/node "${EPREFIX}"/usr/bin/node
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
+	dosym ../../opt/"${PN}"/resources/app/apm/bin/npm "${EPREFIX}"/usr/bin/npm
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
+	make_desktop_entry /opt/atom/atom Atom atom Utility
+	doicon atom.png
+}

diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml
new file mode 100644
index 000000000..a0b29038e
--- /dev/null
+++ b/app-editors/atom-bin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marco@scardovi.com</email>
+		<name>Marco Scardovi</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">atom/atom</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-08 10:12 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-08 10:12 UTC (permalink / raw
  To: gentoo-commits

commit:     3a92be6f78812354e16668c8b3f14a918d78ecb8
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Thu Apr  8 06:23:04 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr  8 06:25:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a92be6f

app-editors/atom-bin: fix collision with nodejs

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 .../{atom-bin-1.55.0-r1.ebuild => atom-bin-1.55.0-r2.ebuild}         | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild
similarity index 83%
rename from app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild
rename to app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild
index b0478f02f..3d8522225 100644
--- a/app-editors/atom-bin/atom-bin-1.55.0-r1.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild
@@ -61,12 +61,9 @@ src_install(){
 	doins -r "${S}"/*
 	dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
 	fperms +x /opt/"${PN}"/atom
-	dosym ../../opt/"${PN}"/resources/app/apm/bin/apm "${EPREFIX}"/usr/bin/apm
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
-	dosym ../../opt/"${PN}"/resources/app/apm/bin/node "${EPREFIX}"/usr/bin/node
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
-	dosym ../../opt/"${PN}"/resources/app/apm/bin/npm "${EPREFIX}"/usr/bin/npm
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
-	make_desktop_entry /opt/atom/atom Atom atom Utility
+	make_desktop_entry /opt/${PN}/atom Atom atom Utility
 	doicon atom.png
 }


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-09 12:53 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-09 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     66d53cb934ab7f4a22292dec94bc1f01b6d31124
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Fri Apr  9 11:48:17 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr  9 11:48:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66d53cb9

app-editors/atom-bin: drop older version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild | 69 --------------------------
 1 file changed, 69 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild
deleted file mode 100644
index 3d8522225..000000000
--- a/app-editors/atom-bin/atom-bin-1.55.0-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop xdg
-
-DESCRIPTION="A hackable text editor for the 21st Century"
-HOMEPAGE="https://atom.io/"
-SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="alsa cups ssl test X"
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/atom-${PV}-amd64"
-
-RDEPEND="
-	app-accessibility/at-spi2-atk
-	app-accessibility/at-spi2-core
-	app-crypt/libsecret
-	dev-libs/atk
-	dev-libs/nss
-	alsa? ( media-libs/alsa-lib )
-	cups? ( net-print/cups )
-	ssl? ( dev-libs/openssl )
-	X? (
-		x11-libs/cairo
-		x11-libs/gdk-pixbuf
-		x11-libs/gtk+
-		x11-libs/libX11
-		x11-libs/libxcb
-		x11-libs/libXcomposite
-		x11-libs/libXcursor
-		x11-libs/libXdamage
-		x11-libs/libXext
-		x11-libs/libXfixes
-		x11-libs/libXi
-		x11-libs/libxkbfile
-		x11-libs/libXrandr
-		x11-libs/libXrender
-		x11-libs/libXScrnSaver
-		x11-libs/libXtst
-		x11-libs/pango
-	)
-"
-
-QA_PREBUILT="/opt/atom/*"
-
-src_prepare(){
-	default
-
-	# Remove useless license files.
-	rm LICENSE LICENSES.chromium.html version
-}
-
-src_install(){
-	insinto /opt/"${PN}"
-	doins -r "${S}"/*
-	dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
-	fperms +x /opt/"${PN}"/atom
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
-	make_desktop_entry /opt/${PN}/atom Atom atom Utility
-	doicon atom.png
-}


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-09 12:53 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-09 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     6f52923f835ed363908c0137239ee914b364a393
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Fri Apr  9 11:47:06 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr  9 11:47:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f52923f

app-editors/atom-bin: add support for nodejs

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild | 82 ++++++++++++++++++++++++++
 app-editors/atom-bin/metadata.xml              |  3 +
 2 files changed, 85 insertions(+)

diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild
new file mode 100644
index 000000000..597648524
--- /dev/null
+++ b/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg
+
+DESCRIPTION="A hackable text editor for the 21st Century"
+HOMEPAGE="https://atom.io/"
+SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa cups nodejs ssl test X"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/atom-${PV}-amd64"
+
+RDEPEND="
+	app-accessibility/at-spi2-atk
+	app-accessibility/at-spi2-core
+	app-crypt/libsecret
+	dev-libs/atk
+	dev-libs/nss
+	dev-vcs/git
+	alsa? ( media-libs/alsa-lib )
+	cups? ( net-print/cups )
+	nodejs? ( net-libs/nodejs[npm] )
+	ssl? ( dev-libs/openssl )
+	X? (
+		x11-libs/cairo
+		x11-libs/gdk-pixbuf
+		x11-libs/gtk+
+		x11-libs/libnotify
+		x11-libs/libX11
+		x11-libs/libxcb
+		x11-libs/libXcomposite
+		x11-libs/libXcursor
+		x11-libs/libXdamage
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXi
+		x11-libs/libxkbfile
+		x11-libs/libXrandr
+		x11-libs/libXrender
+		x11-libs/libXScrnSaver
+		x11-libs/libXtst
+		x11-libs/pango
+	)
+"
+
+QA_PREBUILT="/opt/atom-bin/*"
+QA_PRESTRIPPED="/opt/atom-bin/resources/*"  # Files are already stripped
+
+DOCS=( resources/LICENSE.md )
+src_prepare(){
+	default
+}
+
+src_install(){
+	insinto /opt/"${PN}"
+	doins -r "${S}"/*
+	dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
+	fperms +x /opt/"${PN}"/atom
+	if use nodejs; then
+		rm resources/app/apm/bin/npm
+		rm resources/app/apm/BUNDLED_NODE_VERSION
+		#Fix apm to use nodejs binary
+		sed -i "s#\$binDir\/\$nodeBin#\$\(which \$nodeBin\)#" resources/app/apm/bin/apm
+	else
+		fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
+	fi
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
+	make_desktop_entry /opt/${PN}/atom Atom atom Utility
+	doicon atom.png
+
+	einstalldocs
+
+	find "${ED}" -name '*.la' -delete || die
+}

diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml
index a0b29038e..ada38d070 100644
--- a/app-editors/atom-bin/metadata.xml
+++ b/app-editors/atom-bin/metadata.xml
@@ -8,4 +8,7 @@
 	<upstream>
 		<remote-id type="github">atom/atom</remote-id>
 	</upstream>
+	<use>
+		<flag name="nodejs">Enable nodejs support in USE</flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-14  9:08 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-14  9:08 UTC (permalink / raw
  To: gentoo-commits

commit:     e8f93073b5aa09273fa5ba1770002c55827d7d41
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed Apr 14 08:54:59 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 14 08:54:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8f93073

app-editors/atom-bin: drop nodejs

The package itself already comes with npm/node.
Providing a custom flag for nodejs is unuseful.
This will not make any trouble if you use nodejs as atom
will call it internally.

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 app-editors/atom-bin/atom-bin-1.56.0.ebuild | 17 ++++-------------
 app-editors/atom-bin/metadata.xml           |  3 ---
 2 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.56.0.ebuild b/app-editors/atom-bin/atom-bin-1.56.0.ebuild
index 40dab62ac..c8b51001d 100644
--- a/app-editors/atom-bin/atom-bin-1.56.0.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.56.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="alsa cups nodejs ssl test X"
+IUSE="alsa cups ssl test X"
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/atom-${PV}-amd64"
@@ -26,7 +26,6 @@ RDEPEND="
 	dev-vcs/git
 	alsa? ( media-libs/alsa-lib )
 	cups? ( net-print/cups )
-	nodejs? ( net-libs/nodejs[npm] )
 	ssl? (
 		dev-libs/openssl
 		dev-libs/openssl-compat
@@ -67,18 +66,10 @@ src_install(){
 	dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
 	fperms +x /opt/"${PN}"/atom
 
-	if use nodejs; then
-		rm resources/app/apm/bin/npm
-		rm resources/app/apm/BUNDLED_NODE_VERSION
-
-		#Fix apm to use nodejs binary
-		sed -i "s#\$binDir\/\$nodeBin#\$\(which \$nodeBin\)#" resources/app/apm/bin/apm
-	else
-		fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
-	fi
-
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
+	# I will use only npm provided with package itself
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
 
 	doicon atom.png
 	make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \

diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml
index ada38d070..a0b29038e 100644
--- a/app-editors/atom-bin/metadata.xml
+++ b/app-editors/atom-bin/metadata.xml
@@ -8,7 +8,4 @@
 	<upstream>
 		<remote-id type="github">atom/atom</remote-id>
 	</upstream>
-	<use>
-		<flag name="nodejs">Enable nodejs support in USE</flag>
-	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-14  9:08 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-14  9:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d6b05fd225c7b313b1db3ede45558ada5ace9300
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed Apr 14 08:22:49 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 14 08:22:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6b05fd2

app-editors/atom-bin: bump to 1.56.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 app-editors/atom-bin/Manifest                                           | 2 +-
 .../atom-bin/{atom-bin-1.55.0-r4.ebuild => atom-bin-1.56.0.ebuild}      | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest
index bf5b2e9bb..ff6d8910e 100644
--- a/app-editors/atom-bin/Manifest
+++ b/app-editors/atom-bin/Manifest
@@ -1 +1 @@
-DIST atom-bin-1.55.0.tar.gz 193419030 BLAKE2B 7c6dcb95947d10e024daa8bf160744ddb5c9885083dbfe3e9506810002a33d14599da3f27b776e185efc315cca312bc83b73c5c835361e8d1b545d050bbbaf6a SHA512 be8e80fa6f71735c05203cb95711614dd77fadf030a13c453a3921060f359c6ce2b1971c3be9c93db8accbc5151685f91b7dc77a074dbfc77f7d576a1158b211
+DIST atom-bin-1.56.0.tar.gz 203117596 BLAKE2B 393f8f8518d1ce0227e4076cd5c227e26ada9080b55fa31973c52f9dfd365788b6bcc2ce96e504ac60d77564e2b4a927a40dd64bbb5081937c7f019ac70eebb1 SHA512 84f239316c51e1d43fc6317bf598c002734ed4764ee0378c0d2aea458a1591db7bbab5e1e30abf37fa01e0bb5ce77654739a4d79bcf2ff7c42b9e8bad284b111

diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.56.0.ebuild
similarity index 100%
rename from app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild
rename to app-editors/atom-bin/atom-bin-1.56.0.ebuild


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-14 20:16 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-14 20:16 UTC (permalink / raw
  To: gentoo-commits

commit:     0ed4dc7b374fbd73188bd45174ef10b183ffc9e4
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed Apr 14 15:16:33 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 14 15:16:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ed4dc7b

app-editors/atom-bin: initial support for atom-beautify

Added beautify USE flag in order to enable atom-beautify,
which is a code beautifier for lots of languages

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 ...tom-bin-1.56.0.ebuild => atom-bin-1.56.0-r1.ebuild} | 18 +++++++++++++++---
 app-editors/atom-bin/metadata.xml                      |  3 +++
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.56.0.ebuild b/app-editors/atom-bin/atom-bin-1.56.0-r1.ebuild
similarity index 78%
rename from app-editors/atom-bin/atom-bin-1.56.0.ebuild
rename to app-editors/atom-bin/atom-bin-1.56.0-r1.ebuild
index c8b51001d..7569cec58 100644
--- a/app-editors/atom-bin/atom-bin-1.56.0.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.56.0-r1.ebuild
@@ -12,7 +12,11 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="alsa cups ssl test X"
+
+# beautify contains packages used by atom-beautify.
+# If you want other plugins to be working please file
+# a bug on bugs.gentoo.org under GURU section.
+IUSE="alsa beautify cups ssl test X"
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/atom-${PV}-amd64"
@@ -25,6 +29,12 @@ RDEPEND="
 	dev-libs/nss
 	dev-vcs/git
 	alsa? ( media-libs/alsa-lib )
+	beautify? (
+		dev-python/autopep8
+		dev-python/black
+		dev-util/beautysh
+		dev-util/uncrustify
+		)
 	cups? ( net-print/cups )
 	ssl? (
 		dev-libs/openssl
@@ -52,10 +62,11 @@ RDEPEND="
 	)
 "
 
-QA_PREBUILT="/opt/atom-bin/*"
-QA_PRESTRIPPED="/opt/atom-bin/resources/*"  # Files are already stripped
+QA_PREBUILT="/opt/${PN}/*"
+QA_PRESTRIPPED="/opt/${PN}/resources/*"  # Files are already stripped
 
 DOCS=( resources/LICENSE.md )
+
 src_prepare(){
 	default
 }
@@ -67,6 +78,7 @@ src_install(){
 	fperms +x /opt/"${PN}"/atom
 
 	# I will use only npm provided with package itself
+	# as nodejs is not required to make it working (and it is really big).
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm

diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml
index a0b29038e..6d0088886 100644
--- a/app-editors/atom-bin/metadata.xml
+++ b/app-editors/atom-bin/metadata.xml
@@ -8,4 +8,7 @@
 	<upstream>
 		<remote-id type="github">atom/atom</remote-id>
 	</upstream>
+	<use>
+		<flag name="beautify">Install packages for atom-beautify</flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-16  7:36 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-16  7:36 UTC (permalink / raw
  To: gentoo-commits

commit:     bbeb1a680387e42c0e62046dc0ce89f62f8e8052
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Thu Apr 15 18:48:22 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 15 18:48:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbeb1a68

app-editors/atom-bin: use optfeature for GLEP 62

Closes: https://bugs.gentoo.org/781020
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 ...n-1.56.0-r1.ebuild => atom-bin-1.56.0-r2.ebuild} | 21 ++++++++++-----------
 app-editors/atom-bin/metadata.xml                   |  3 ---
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.56.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild
similarity index 82%
rename from app-editors/atom-bin/atom-bin-1.56.0-r1.ebuild
rename to app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild
index 7569cec58..37324372b 100644
--- a/app-editors/atom-bin/atom-bin-1.56.0-r1.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop xdg
+inherit desktop optfeature xdg
 
 DESCRIPTION="A hackable text editor for the 21st Century"
 HOMEPAGE="https://atom.io/"
@@ -13,10 +13,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-# beautify contains packages used by atom-beautify.
-# If you want other plugins to be working please file
-# a bug on bugs.gentoo.org under GURU section.
-IUSE="alsa beautify cups ssl test X"
+IUSE="alsa cups ssl test X"
 RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/atom-${PV}-amd64"
@@ -29,12 +26,6 @@ RDEPEND="
 	dev-libs/nss
 	dev-vcs/git
 	alsa? ( media-libs/alsa-lib )
-	beautify? (
-		dev-python/autopep8
-		dev-python/black
-		dev-util/beautysh
-		dev-util/uncrustify
-		)
 	cups? ( net-print/cups )
 	ssl? (
 		dev-libs/openssl
@@ -92,3 +83,11 @@ src_install(){
 
 	find "${ED}" -name '*.la' -delete || die
 }
+
+pkg_postinst(){
+	optfeature_header "If you want to use atom-beautify please install following packages:"
+	optfeature "python code beautifier" dev-python/autopep8
+	optfeature "python code beautifier" dev-python/black
+	optfeature "shell code beautifier" dev-util/beautysh
+	optfeature "C, C++, Java code beautifier" dev-util/uncrustify
+}

diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml
index 6d0088886..a0b29038e 100644
--- a/app-editors/atom-bin/metadata.xml
+++ b/app-editors/atom-bin/metadata.xml
@@ -8,7 +8,4 @@
 	<upstream>
 		<remote-id type="github">atom/atom</remote-id>
 	</upstream>
-	<use>
-		<flag name="beautify">Install packages for atom-beautify</flag>
-	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-16 18:48 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-16 18:48 UTC (permalink / raw
  To: gentoo-commits

commit:     2d4945307e18658bfbf37fd93fcd4082328265fe
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Fri Apr 16 18:07:42 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Apr 16 18:08:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d494530

app-editors/atom-bin: makes everything mandatory

Closes: https://bugs.gentoo.org/783186
Closes: https://bugs.gentoo.org/783183
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 ...-1.56.0-r2.ebuild => atom-bin-1.56.0-r3.ebuild} | 57 ++++++++++------------
 1 file changed, 25 insertions(+), 32 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild
similarity index 69%
rename from app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild
rename to app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild
index 37324372b..821471077 100644
--- a/app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild
@@ -12,9 +12,7 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-
-IUSE="alsa cups ssl test X"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 
 S="${WORKDIR}/atom-${PV}-amd64"
 
@@ -24,33 +22,29 @@ RDEPEND="
 	app-crypt/libsecret
 	dev-libs/atk
 	dev-libs/nss
+	dev-libs/openssl
+	dev-libs/openssl-compat
 	dev-vcs/git
-	alsa? ( media-libs/alsa-lib )
-	cups? ( net-print/cups )
-	ssl? (
-		dev-libs/openssl
-		dev-libs/openssl-compat
-	)
-	X? (
-		x11-libs/cairo
-		x11-libs/gdk-pixbuf
-		x11-libs/gtk+
-		x11-libs/libnotify
-		x11-libs/libX11
-		x11-libs/libxcb
-		x11-libs/libXcomposite
-		x11-libs/libXcursor
-		x11-libs/libXdamage
-		x11-libs/libXext
-		x11-libs/libXfixes
-		x11-libs/libXi
-		x11-libs/libxkbfile
-		x11-libs/libXrandr
-		x11-libs/libXrender
-		x11-libs/libXScrnSaver
-		x11-libs/libXtst
-		x11-libs/pango
-	)
+	media-libs/alsa-lib
+	net-print/cups
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf
+	x11-libs/gtk+
+	x11-libs/libnotify
+	x11-libs/libX11
+	x11-libs/libxcb
+	x11-libs/libXcomposite
+	x11-libs/libXcursor
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXi
+	x11-libs/libxkbfile
+	x11-libs/libXrandr
+	x11-libs/libXrender
+	x11-libs/libXScrnSaver
+	x11-libs/libXtst
+	x11-libs/pango
 "
 
 QA_PREBUILT="/opt/${PN}/*"
@@ -70,9 +64,7 @@ src_install(){
 
 	# I will use only npm provided with package itself
 	# as nodejs is not required to make it working (and it is really big).
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/*
 
 	doicon atom.png
 	make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
@@ -85,6 +77,7 @@ src_install(){
 }
 
 pkg_postinst(){
+	xdg_desktop_database_update
 	optfeature_header "If you want to use atom-beautify please install following packages:"
 	optfeature "python code beautifier" dev-python/autopep8
 	optfeature "python code beautifier" dev-python/black


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-04-19  8:04 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-04-19  8:04 UTC (permalink / raw
  To: gentoo-commits

commit:     e69ab1ad56858706adda29378ba3b96edc006f07
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Mon Apr 19 05:26:29 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 19 05:28:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e69ab1ad

app-editors/atom-bin:

I'm sorry for the bug, it worked on my device.

Closes: https://bugs.gentoo.org/783861
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 .../atom-bin/{atom-bin-1.56.0-r3.ebuild => atom-bin-1.56.0-r4.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.56.0-r4.ebuild
similarity index 93%
rename from app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild
rename to app-editors/atom-bin/atom-bin-1.56.0-r4.ebuild
index 821471077..110522639 100644
--- a/app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.56.0-r4.ebuild
@@ -64,7 +64,9 @@ src_install(){
 
 	# I will use only npm provided with package itself
 	# as nodejs is not required to make it working (and it is really big).
-	fperms +x /opt/"${PN}"/resources/app/apm/bin/*
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
+	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
 
 	doicon atom.png
 	make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-05-12  9:38 Andrew Ammerlaan
  0 siblings, 0 replies; 13+ messages in thread
From: Andrew Ammerlaan @ 2021-05-12  9:38 UTC (permalink / raw
  To: gentoo-commits

commit:     44a7b8054bbacb8ac59f6ec410b6019e5e10efea
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Wed May 12 07:31:45 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed May 12 07:31:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44a7b805

app-editors/atom-bin: bump to 1.57.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 app-editors/atom-bin/Manifest                                           | 2 +-
 .../atom-bin/{atom-bin-1.56.0-r4.ebuild => atom-bin-1.57.0.ebuild}      | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest
index ff6d8910e..0fd6ebc92 100644
--- a/app-editors/atom-bin/Manifest
+++ b/app-editors/atom-bin/Manifest
@@ -1 +1 @@
-DIST atom-bin-1.56.0.tar.gz 203117596 BLAKE2B 393f8f8518d1ce0227e4076cd5c227e26ada9080b55fa31973c52f9dfd365788b6bcc2ce96e504ac60d77564e2b4a927a40dd64bbb5081937c7f019ac70eebb1 SHA512 84f239316c51e1d43fc6317bf598c002734ed4764ee0378c0d2aea458a1591db7bbab5e1e30abf37fa01e0bb5ce77654739a4d79bcf2ff7c42b9e8bad284b111
+DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33

diff --git a/app-editors/atom-bin/atom-bin-1.56.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.57.0.ebuild
similarity index 100%
rename from app-editors/atom-bin/atom-bin-1.56.0-r4.ebuild
rename to app-editors/atom-bin/atom-bin-1.57.0.ebuild


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2021-07-07 14:02 Florian Schmaus
  0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2021-07-07 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     80ba915fed96132802d9687696cbf1a6a3d2f593
Author:     Marco Scardovi <marco <AT> scardovi <DOT> com>
AuthorDate: Mon Jul  5 15:57:25 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul  5 15:57:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80ba915f

app-editors/atom-bin: fix bug 798459

Closes: https://bugs.gentoo.org/798459
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>

 .../atom-bin/{atom-bin-1.57.0.ebuild => atom-bin-1.57.0-r1.ebuild}    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-editors/atom-bin/atom-bin-1.57.0.ebuild b/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild
similarity index 92%
rename from app-editors/atom-bin/atom-bin-1.57.0.ebuild
rename to app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild
index 110522639..bbd1b653d 100644
--- a/app-editors/atom-bin/atom-bin-1.57.0.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild
@@ -68,6 +68,10 @@ src_install(){
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/node
 	fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
 
+	# Bug 798459
+	fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/vscode-ripgrep/bin/rg
+	fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/dugite/git/bin/git
+
 	doicon atom.png
 	make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
 		"GNOME;GTK;Utility;TextEditor;Development;" \


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/
@ 2023-05-27 17:22 Viorel Munteanu
  0 siblings, 0 replies; 13+ messages in thread
From: Viorel Munteanu @ 2023-05-27 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     f1da825c1d7902f0bbdfa40274242bb7b9bfd6ab
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Sat May 27 16:45:51 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat May 27 16:45:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1da825c

app-editors/atom-bin: fix dependencies

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>

 app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild
index 977c92e6b..b8ea0dddb 100644
--- a/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild
+++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild
@@ -18,10 +18,8 @@ RESTRICT="test"
 S="${WORKDIR}/atom-${PV}-amd64"
 
 RDEPEND="
-	app-accessibility/at-spi2-atk
-	app-accessibility/at-spi2-core
+	>=app-accessibility/at-spi2-core-2.46.0
 	app-crypt/libsecret
-	dev-libs/atk
 	dev-libs/nss
 	dev-libs/openssl
 	dev-libs/openssl-compat


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-05-27 17:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-09 12:53 [gentoo-commits] repo/proj/guru:master commit in: app-editors/atom-bin/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-05-27 17:22 Viorel Munteanu
2021-07-07 14:02 Florian Schmaus
2021-05-12  9:38 Andrew Ammerlaan
2021-04-19  8:04 Andrew Ammerlaan
2021-04-16 18:48 Andrew Ammerlaan
2021-04-16  7:36 Andrew Ammerlaan
2021-04-14 20:16 Andrew Ammerlaan
2021-04-14  9:08 Andrew Ammerlaan
2021-04-14  9:08 Andrew Ammerlaan
2021-04-09 12:53 Andrew Ammerlaan
2021-04-08 10:12 Andrew Ammerlaan
2021-04-07  8:51 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox