[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 44a7b8054bbacb8ac59f6ec410b6019e5e10efea Author: Marco Scardovi scardovi com> AuthorDate: Wed May 12 07:31:45 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed May 12 07:31:45 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a4b753589685894fa2964cc95a2180efd01622e2 Author: Marco Scardovi scardovi com> AuthorDate: Tue Apr 6 18:23:18 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Tue Apr 6 20:09:56 2021 + 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 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 0..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 0..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 0..a0b29038e --- /dev/null +++ b/app-editors/atom-bin/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + ma...@scardovi.com + Marco Scardovi + + + atom/atom + +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 3a92be6f78812354e16668c8b3f14a918d78ecb8 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 8 06:23:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 8 06:25:03 2021 + 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 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..3d855 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 }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 6f52923f835ed363908c0137239ee914b364a393 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:47:06 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:47:06 2021 + 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 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 0..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 @@ atom/atom + + Enable nodejs support in USE +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 66d53cb934ab7f4a22292dec94bc1f01b6d31124 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:48:17 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:48:17 2021 + 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 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 3d855..0 --- 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 055863d40958ba89458e3ec7c0801a76c979a24a Author: Marco Scardovi scardovi com> AuthorDate: Sat Apr 10 12:49:08 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Apr 10 12:51:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055863d4 app-editors/atom-bin: fix QA error and add support for mime Signed-off-by: Marco Scardovi scardovi.com> ...{atom-bin-1.55.0-r3.ebuild => atom-bin-1.55.0-r4.ebuild} | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild similarity index 87% rename from app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild rename to app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 597648524..843af8d2b 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -27,7 +27,10 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) nodejs? ( net-libs/nodejs[npm] ) - ssl? ( dev-libs/openssl ) + ssl? ( + dev-libs/openssl + dev-libs/openssl-compat + ) X? ( x11-libs/cairo x11-libs/gdk-pixbuf @@ -63,18 +66,24 @@ src_install(){ 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 + make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + "GNOME;GTK;Utility;TextEditor;Development;" \ + "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom" einstalldocs
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 86b6a8ce83fa9668e25a083c07b633d041879d0f Author: Marco Scardovi scardovi com> AuthorDate: Sun Apr 11 06:48:41 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Apr 11 06:48:41 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86b6a8ce app-editors/atom-bin: fix a typo Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 843af8d2b..40dab62ac 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -81,7 +81,7 @@ src_install(){ fperms +x /opt/"${PN}"/resources/app/apm/bin/apm doicon atom.png - make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \ "GNOME;GTK;Utility;TextEditor;Development;" \ "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom"
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: d6b05fd225c7b313b1db3ede45558ada5ace9300 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:22:49 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:22:49 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e8f93073b5aa09273fa5ba1770002c55827d7d41 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:54:59 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:54:59 2021 + 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 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 @@ atom/atom - - Enable nodejs support in USE -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 0ed4dc7b374fbd73188bd45174ef10b183ffc9e4 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 15:16:33 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 15:16:48 2021 + 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 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..6d006 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,4 +8,7 @@ atom/atom + + Install packages for atom-beautify +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: bbeb1a680387e42c0e62046dc0ce89f62f8e8052 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 15 18:48:22 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 15 18:48:22 2021 + 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 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 6d006..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,7 +8,4 @@ atom/atom - - Install packages for atom-beautify -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 2d4945307e18658bfbf37fd93fcd4082328265fe Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 16 18:07:42 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 16 18:08:06 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e69ab1ad56858706adda29378ba3b96edc006f07 Author: Marco Scardovi scardovi com> AuthorDate: Mon Apr 19 05:26:29 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Apr 19 05:28:57 2021 + 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 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" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a81b9261240514e688c6806570b67f915fb6553b Author: Marco Scardovi scardovi com> AuthorDate: Sat Jul 17 13:31:47 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Jul 17 13:31:47 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a81b9261 app-editors/atom-bin: drop optfeatures Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> .../{atom-bin-1.57.0-r1.ebuild => atom-bin-1.57.0-r2.ebuild} | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild similarity index 85% rename from app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild rename to app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild index bbd1b653d..600a25b34 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild +++ b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop optfeature xdg +inherit desktop xdg DESCRIPTION="A hackable text editor for the 21st Century" HOMEPAGE="https://atom.io/"; @@ -84,9 +84,4 @@ 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 - optfeature "shell code beautifier" dev-util/beautysh - optfeature "C, C++, Java code beautifier" dev-util/uncrustify }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 80ba915fed96132802d9687696cbf1a6a3d2f593 Author: Marco Scardovi scardovi com> AuthorDate: Mon Jul 5 15:57:25 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Jul 5 15:57:42 2021 + 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 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;" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 96f287a35227bd823da750da46724f0bb524306f Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:09:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:09:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f287a3 app-editors/atom-bin: bump to 1.58.0 and EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/Manifest | 2 +- .../atom-bin/{atom-bin-1.57.0-r2.ebuild => atom-bin-1.58.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest index 0fd6ebc92..672999ce7 100644 --- a/app-editors/atom-bin/Manifest +++ b/app-editors/atom-bin/Manifest @@ -1 +1 @@ -DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33 +DIST atom-bin-1.58.0.tar.gz 203905263 BLAKE2B 95311b625bbee45f64d3e3d44f7870fba0efaa31ca14025e68d587b60e5d618c89e948dae7856348f0e55ea434f80d484f74809f1d244d6609f84023047794e6 SHA512 5e5c456ca745e2e51c4c24a2cba76d59ae9c519639f301b8677b5627ebecc1b8c114fc1942c22318266fe985ca1064618dc89379ecf8cdd935bfee7e605f33f1 diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.58.0.ebuild similarity index 99% rename from app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0.ebuild index 600a25b34..e25951752 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7f0b41da309cc23bf05057af28cd4c2d0adfc15e Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:10:39 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:10:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f0b41da app-editors/atom-bin: gonna take it back Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index 203024bac..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ma...@scardovi.com + Marco Scardovi + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7edd4eb40b87c4d4c026067334813ce75e409585 Author: Marco Scardovi scardovi com> AuthorDate: Sat Jan 1 09:27:05 2022 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Jan 23 13:27:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7edd4eb4 app-editors/atom-bin: time to make the ebuild smaller Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> ...atom-bin-1.58.0.ebuild => atom-bin-1.58.0-r1.ebuild} | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.58.0.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild similarity index 83% rename from app-editors/atom-bin/atom-bin-1.58.0.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild index e25951752..977c92e6b 100644 --- a/app-editors/atom-bin/atom-bin-1.58.0.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,8 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +# Atom works only on amd64 +KEYWORDS="-* ~amd64" RESTRICT="test" S="${WORKDIR}/atom-${PV}-amd64" @@ -50,10 +51,11 @@ RDEPEND=" QA_PREBUILT="/opt/${PN}/*" QA_PRESTRIPPED="/opt/${PN}/resources/*" # Files are already stripped -DOCS=( resources/LICENSE.md ) - src_prepare(){ default + + # We do not install licenses + rm resources/LICENSE.md || die "Failed to remove LICENSE" } src_install(){ @@ -64,13 +66,10 @@ 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/{apm,node,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 + fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git} doicon atom.png make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 384ab19acefb49b4cea6c725dfd1b19ce076e413 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 25 19:37:11 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 25 19:37:11 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=384ab19a app-editors/atom-bin: remove maintainer as requested requested on Telegram, see https://t.me/gentooitalia/85461 Signed-off-by: Alessandro Barbieri gmail.com> app-editors/atom-bin/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e..f2595f64c 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ma...@scardovi.com - Marco Scardovi - + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 96f287a35227bd823da750da46724f0bb524306f Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:09:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:09:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f287a3 app-editors/atom-bin: bump to 1.58.0 and EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/Manifest | 2 +- .../atom-bin/{atom-bin-1.57.0-r2.ebuild => atom-bin-1.58.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest index 0fd6ebc92..672999ce7 100644 --- a/app-editors/atom-bin/Manifest +++ b/app-editors/atom-bin/Manifest @@ -1 +1 @@ -DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33 +DIST atom-bin-1.58.0.tar.gz 203905263 BLAKE2B 95311b625bbee45f64d3e3d44f7870fba0efaa31ca14025e68d587b60e5d618c89e948dae7856348f0e55ea434f80d484f74809f1d244d6609f84023047794e6 SHA512 5e5c456ca745e2e51c4c24a2cba76d59ae9c519639f301b8677b5627ebecc1b8c114fc1942c22318266fe985ca1064618dc89379ecf8cdd935bfee7e605f33f1 diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.58.0.ebuild similarity index 99% rename from app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0.ebuild index 600a25b34..e25951752 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7f0b41da309cc23bf05057af28cd4c2d0adfc15e Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:10:39 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:10:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f0b41da app-editors/atom-bin: gonna take it back Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index 203024bac..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ma...@scardovi.com + Marco Scardovi + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7edd4eb40b87c4d4c026067334813ce75e409585 Author: Marco Scardovi scardovi com> AuthorDate: Sat Jan 1 09:27:05 2022 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Jan 23 13:27:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7edd4eb4 app-editors/atom-bin: time to make the ebuild smaller Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> ...atom-bin-1.58.0.ebuild => atom-bin-1.58.0-r1.ebuild} | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.58.0.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild similarity index 83% rename from app-editors/atom-bin/atom-bin-1.58.0.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild index e25951752..977c92e6b 100644 --- a/app-editors/atom-bin/atom-bin-1.58.0.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,8 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +# Atom works only on amd64 +KEYWORDS="-* ~amd64" RESTRICT="test" S="${WORKDIR}/atom-${PV}-amd64" @@ -50,10 +51,11 @@ RDEPEND=" QA_PREBUILT="/opt/${PN}/*" QA_PRESTRIPPED="/opt/${PN}/resources/*" # Files are already stripped -DOCS=( resources/LICENSE.md ) - src_prepare(){ default + + # We do not install licenses + rm resources/LICENSE.md || die "Failed to remove LICENSE" } src_install(){ @@ -64,13 +66,10 @@ 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/{apm,node,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 + fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git} doicon atom.png make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a81b9261240514e688c6806570b67f915fb6553b Author: Marco Scardovi scardovi com> AuthorDate: Sat Jul 17 13:31:47 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Jul 17 13:31:47 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a81b9261 app-editors/atom-bin: drop optfeatures Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> .../{atom-bin-1.57.0-r1.ebuild => atom-bin-1.57.0-r2.ebuild} | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild similarity index 85% rename from app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild rename to app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild index bbd1b653d..600a25b34 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild +++ b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop optfeature xdg +inherit desktop xdg DESCRIPTION="A hackable text editor for the 21st Century" HOMEPAGE="https://atom.io/"; @@ -84,9 +84,4 @@ 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 - optfeature "shell code beautifier" dev-util/beautysh - optfeature "C, C++, Java code beautifier" dev-util/uncrustify }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 80ba915fed96132802d9687696cbf1a6a3d2f593 Author: Marco Scardovi scardovi com> AuthorDate: Mon Jul 5 15:57:25 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Jul 5 15:57:42 2021 + 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 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;" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 44a7b8054bbacb8ac59f6ec410b6019e5e10efea Author: Marco Scardovi scardovi com> AuthorDate: Wed May 12 07:31:45 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed May 12 07:31:45 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 96f287a35227bd823da750da46724f0bb524306f Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:09:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:09:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f287a3 app-editors/atom-bin: bump to 1.58.0 and EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/Manifest | 2 +- .../atom-bin/{atom-bin-1.57.0-r2.ebuild => atom-bin-1.58.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest index 0fd6ebc92..672999ce7 100644 --- a/app-editors/atom-bin/Manifest +++ b/app-editors/atom-bin/Manifest @@ -1 +1 @@ -DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33 +DIST atom-bin-1.58.0.tar.gz 203905263 BLAKE2B 95311b625bbee45f64d3e3d44f7870fba0efaa31ca14025e68d587b60e5d618c89e948dae7856348f0e55ea434f80d484f74809f1d244d6609f84023047794e6 SHA512 5e5c456ca745e2e51c4c24a2cba76d59ae9c519639f301b8677b5627ebecc1b8c114fc1942c22318266fe985ca1064618dc89379ecf8cdd935bfee7e605f33f1 diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.58.0.ebuild similarity index 99% rename from app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0.ebuild index 600a25b34..e25951752 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7f0b41da309cc23bf05057af28cd4c2d0adfc15e Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:10:39 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:10:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f0b41da app-editors/atom-bin: gonna take it back Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index 203024bac..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ma...@scardovi.com + Marco Scardovi + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 384ab19acefb49b4cea6c725dfd1b19ce076e413 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 25 19:37:11 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 25 19:37:11 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=384ab19a app-editors/atom-bin: remove maintainer as requested requested on Telegram, see https://t.me/gentooitalia/85461 Signed-off-by: Alessandro Barbieri gmail.com> app-editors/atom-bin/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e..f2595f64c 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ma...@scardovi.com - Marco Scardovi - + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a4b753589685894fa2964cc95a2180efd01622e2 Author: Marco Scardovi scardovi com> AuthorDate: Tue Apr 6 18:23:18 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Tue Apr 6 20:09:56 2021 + 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 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 0..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 0..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 0..a0b29038e --- /dev/null +++ b/app-editors/atom-bin/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + ma...@scardovi.com + Marco Scardovi + + + atom/atom + +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 3a92be6f78812354e16668c8b3f14a918d78ecb8 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 8 06:23:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 8 06:25:03 2021 + 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 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..3d855 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 }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 6f52923f835ed363908c0137239ee914b364a393 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:47:06 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:47:06 2021 + 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 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 0..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 @@ atom/atom + + Enable nodejs support in USE +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 66d53cb934ab7f4a22292dec94bc1f01b6d31124 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:48:17 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:48:17 2021 + 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 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 3d855..0 --- 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 055863d40958ba89458e3ec7c0801a76c979a24a Author: Marco Scardovi scardovi com> AuthorDate: Sat Apr 10 12:49:08 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Apr 10 12:51:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055863d4 app-editors/atom-bin: fix QA error and add support for mime Signed-off-by: Marco Scardovi scardovi.com> ...{atom-bin-1.55.0-r3.ebuild => atom-bin-1.55.0-r4.ebuild} | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild similarity index 87% rename from app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild rename to app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 597648524..843af8d2b 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -27,7 +27,10 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) nodejs? ( net-libs/nodejs[npm] ) - ssl? ( dev-libs/openssl ) + ssl? ( + dev-libs/openssl + dev-libs/openssl-compat + ) X? ( x11-libs/cairo x11-libs/gdk-pixbuf @@ -63,18 +66,24 @@ src_install(){ 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 + make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + "GNOME;GTK;Utility;TextEditor;Development;" \ + "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom" einstalldocs
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 86b6a8ce83fa9668e25a083c07b633d041879d0f Author: Marco Scardovi scardovi com> AuthorDate: Sun Apr 11 06:48:41 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Apr 11 06:48:41 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86b6a8ce app-editors/atom-bin: fix a typo Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 843af8d2b..40dab62ac 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -81,7 +81,7 @@ src_install(){ fperms +x /opt/"${PN}"/resources/app/apm/bin/apm doicon atom.png - make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \ "GNOME;GTK;Utility;TextEditor;Development;" \ "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom"
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: d6b05fd225c7b313b1db3ede45558ada5ace9300 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:22:49 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:22:49 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e8f93073b5aa09273fa5ba1770002c55827d7d41 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:54:59 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:54:59 2021 + 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 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 @@ atom/atom - - Enable nodejs support in USE -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 0ed4dc7b374fbd73188bd45174ef10b183ffc9e4 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 15:16:33 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 15:16:48 2021 + 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 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..6d006 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,4 +8,7 @@ atom/atom + + Install packages for atom-beautify +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: bbeb1a680387e42c0e62046dc0ce89f62f8e8052 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 15 18:48:22 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 15 18:48:22 2021 + 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 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 6d006..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,7 +8,4 @@ atom/atom - - Install packages for atom-beautify -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 2d4945307e18658bfbf37fd93fcd4082328265fe Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 16 18:07:42 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 16 18:08:06 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e69ab1ad56858706adda29378ba3b96edc006f07 Author: Marco Scardovi scardovi com> AuthorDate: Mon Apr 19 05:26:29 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Apr 19 05:28:57 2021 + 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 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" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7edd4eb40b87c4d4c026067334813ce75e409585 Author: Marco Scardovi scardovi com> AuthorDate: Sat Jan 1 09:27:05 2022 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Jan 23 13:27:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7edd4eb4 app-editors/atom-bin: time to make the ebuild smaller Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> ...atom-bin-1.58.0.ebuild => atom-bin-1.58.0-r1.ebuild} | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.58.0.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild similarity index 83% rename from app-editors/atom-bin/atom-bin-1.58.0.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild index e25951752..977c92e6b 100644 --- a/app-editors/atom-bin/atom-bin-1.58.0.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,8 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +# Atom works only on amd64 +KEYWORDS="-* ~amd64" RESTRICT="test" S="${WORKDIR}/atom-${PV}-amd64" @@ -50,10 +51,11 @@ RDEPEND=" QA_PREBUILT="/opt/${PN}/*" QA_PRESTRIPPED="/opt/${PN}/resources/*" # Files are already stripped -DOCS=( resources/LICENSE.md ) - src_prepare(){ default + + # We do not install licenses + rm resources/LICENSE.md || die "Failed to remove LICENSE" } src_install(){ @@ -64,13 +66,10 @@ 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/{apm,node,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 + fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git} doicon atom.png make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 80ba915fed96132802d9687696cbf1a6a3d2f593 Author: Marco Scardovi scardovi com> AuthorDate: Mon Jul 5 15:57:25 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Jul 5 15:57:42 2021 + 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 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;" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a81b9261240514e688c6806570b67f915fb6553b Author: Marco Scardovi scardovi com> AuthorDate: Sat Jul 17 13:31:47 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Jul 17 13:31:47 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a81b9261 app-editors/atom-bin: drop optfeatures Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> .../{atom-bin-1.57.0-r1.ebuild => atom-bin-1.57.0-r2.ebuild} | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild similarity index 85% rename from app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild rename to app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild index bbd1b653d..600a25b34 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild +++ b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop optfeature xdg +inherit desktop xdg DESCRIPTION="A hackable text editor for the 21st Century" HOMEPAGE="https://atom.io/"; @@ -84,9 +84,4 @@ 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 - optfeature "shell code beautifier" dev-util/beautysh - optfeature "C, C++, Java code beautifier" dev-util/uncrustify }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 055863d40958ba89458e3ec7c0801a76c979a24a Author: Marco Scardovi scardovi com> AuthorDate: Sat Apr 10 12:49:08 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Apr 10 12:51:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055863d4 app-editors/atom-bin: fix QA error and add support for mime Signed-off-by: Marco Scardovi scardovi.com> ...{atom-bin-1.55.0-r3.ebuild => atom-bin-1.55.0-r4.ebuild} | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild similarity index 87% rename from app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild rename to app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 597648524..843af8d2b 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -27,7 +27,10 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) nodejs? ( net-libs/nodejs[npm] ) - ssl? ( dev-libs/openssl ) + ssl? ( + dev-libs/openssl + dev-libs/openssl-compat + ) X? ( x11-libs/cairo x11-libs/gdk-pixbuf @@ -63,18 +66,24 @@ src_install(){ 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 + make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + "GNOME;GTK;Utility;TextEditor;Development;" \ + "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom" einstalldocs
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 86b6a8ce83fa9668e25a083c07b633d041879d0f Author: Marco Scardovi scardovi com> AuthorDate: Sun Apr 11 06:48:41 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Apr 11 06:48:41 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86b6a8ce app-editors/atom-bin: fix a typo Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 843af8d2b..40dab62ac 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -81,7 +81,7 @@ src_install(){ fperms +x /opt/"${PN}"/resources/app/apm/bin/apm doicon atom.png - make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \ "GNOME;GTK;Utility;TextEditor;Development;" \ "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom"
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: d6b05fd225c7b313b1db3ede45558ada5ace9300 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:22:49 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:22:49 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e8f93073b5aa09273fa5ba1770002c55827d7d41 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:54:59 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:54:59 2021 + 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 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 @@ atom/atom - - Enable nodejs support in USE -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 0ed4dc7b374fbd73188bd45174ef10b183ffc9e4 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 15:16:33 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 15:16:48 2021 + 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 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..6d006 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,4 +8,7 @@ atom/atom + + Install packages for atom-beautify +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: bbeb1a680387e42c0e62046dc0ce89f62f8e8052 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 15 18:48:22 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 15 18:48:22 2021 + 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 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 6d006..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,7 +8,4 @@ atom/atom - - Install packages for atom-beautify -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 2d4945307e18658bfbf37fd93fcd4082328265fe Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 16 18:07:42 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 16 18:08:06 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 44a7b8054bbacb8ac59f6ec410b6019e5e10efea Author: Marco Scardovi scardovi com> AuthorDate: Wed May 12 07:31:45 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed May 12 07:31:45 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a4b753589685894fa2964cc95a2180efd01622e2 Author: Marco Scardovi scardovi com> AuthorDate: Tue Apr 6 18:23:18 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Tue Apr 6 20:09:56 2021 + 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 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 0..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 0..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 0..a0b29038e --- /dev/null +++ b/app-editors/atom-bin/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + ma...@scardovi.com + Marco Scardovi + + + atom/atom + +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 3a92be6f78812354e16668c8b3f14a918d78ecb8 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 8 06:23:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 8 06:25:03 2021 + 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 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..3d855 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 }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 6f52923f835ed363908c0137239ee914b364a393 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:47:06 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:47:06 2021 + 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 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 0..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 @@ atom/atom + + Enable nodejs support in USE +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 66d53cb934ab7f4a22292dec94bc1f01b6d31124 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:48:17 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:48:17 2021 + 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 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 3d855..0 --- 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e69ab1ad56858706adda29378ba3b96edc006f07 Author: Marco Scardovi scardovi com> AuthorDate: Mon Apr 19 05:26:29 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Apr 19 05:28:57 2021 + 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 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" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 384ab19acefb49b4cea6c725dfd1b19ce076e413 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 25 19:37:11 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 25 19:37:11 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=384ab19a app-editors/atom-bin: remove maintainer as requested requested on Telegram, see https://t.me/gentooitalia/85461 Signed-off-by: Alessandro Barbieri gmail.com> app-editors/atom-bin/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e..f2595f64c 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ma...@scardovi.com - Marco Scardovi - + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 80ba915fed96132802d9687696cbf1a6a3d2f593 Author: Marco Scardovi scardovi com> AuthorDate: Mon Jul 5 15:57:25 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Jul 5 15:57:42 2021 + 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 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;" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 44a7b8054bbacb8ac59f6ec410b6019e5e10efea Author: Marco Scardovi scardovi com> AuthorDate: Wed May 12 07:31:45 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed May 12 07:31:45 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a81b9261240514e688c6806570b67f915fb6553b Author: Marco Scardovi scardovi com> AuthorDate: Sat Jul 17 13:31:47 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Jul 17 13:31:47 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a81b9261 app-editors/atom-bin: drop optfeatures Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> .../{atom-bin-1.57.0-r1.ebuild => atom-bin-1.57.0-r2.ebuild} | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild similarity index 85% rename from app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild rename to app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild index bbd1b653d..600a25b34 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild +++ b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop optfeature xdg +inherit desktop xdg DESCRIPTION="A hackable text editor for the 21st Century" HOMEPAGE="https://atom.io/"; @@ -84,9 +84,4 @@ 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 - optfeature "shell code beautifier" dev-util/beautysh - optfeature "C, C++, Java code beautifier" dev-util/uncrustify }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 96f287a35227bd823da750da46724f0bb524306f Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:09:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:09:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f287a3 app-editors/atom-bin: bump to 1.58.0 and EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/Manifest | 2 +- .../atom-bin/{atom-bin-1.57.0-r2.ebuild => atom-bin-1.58.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest index 0fd6ebc92..672999ce7 100644 --- a/app-editors/atom-bin/Manifest +++ b/app-editors/atom-bin/Manifest @@ -1 +1 @@ -DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33 +DIST atom-bin-1.58.0.tar.gz 203905263 BLAKE2B 95311b625bbee45f64d3e3d44f7870fba0efaa31ca14025e68d587b60e5d618c89e948dae7856348f0e55ea434f80d484f74809f1d244d6609f84023047794e6 SHA512 5e5c456ca745e2e51c4c24a2cba76d59ae9c519639f301b8677b5627ebecc1b8c114fc1942c22318266fe985ca1064618dc89379ecf8cdd935bfee7e605f33f1 diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.58.0.ebuild similarity index 99% rename from app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0.ebuild index 600a25b34..e25951752 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7f0b41da309cc23bf05057af28cd4c2d0adfc15e Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:10:39 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:10:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f0b41da app-editors/atom-bin: gonna take it back Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index 203024bac..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ma...@scardovi.com + Marco Scardovi + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7edd4eb40b87c4d4c026067334813ce75e409585 Author: Marco Scardovi scardovi com> AuthorDate: Sat Jan 1 09:27:05 2022 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Jan 23 13:27:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7edd4eb4 app-editors/atom-bin: time to make the ebuild smaller Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> ...atom-bin-1.58.0.ebuild => atom-bin-1.58.0-r1.ebuild} | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.58.0.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild similarity index 83% rename from app-editors/atom-bin/atom-bin-1.58.0.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild index e25951752..977c92e6b 100644 --- a/app-editors/atom-bin/atom-bin-1.58.0.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,8 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +# Atom works only on amd64 +KEYWORDS="-* ~amd64" RESTRICT="test" S="${WORKDIR}/atom-${PV}-amd64" @@ -50,10 +51,11 @@ RDEPEND=" QA_PREBUILT="/opt/${PN}/*" QA_PRESTRIPPED="/opt/${PN}/resources/*" # Files are already stripped -DOCS=( resources/LICENSE.md ) - src_prepare(){ default + + # We do not install licenses + rm resources/LICENSE.md || die "Failed to remove LICENSE" } src_install(){ @@ -64,13 +66,10 @@ 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/{apm,node,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 + fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git} doicon atom.png make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a4b753589685894fa2964cc95a2180efd01622e2 Author: Marco Scardovi scardovi com> AuthorDate: Tue Apr 6 18:23:18 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Tue Apr 6 20:09:56 2021 + 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 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 0..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 0..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 0..a0b29038e --- /dev/null +++ b/app-editors/atom-bin/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + ma...@scardovi.com + Marco Scardovi + + + atom/atom + +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 3a92be6f78812354e16668c8b3f14a918d78ecb8 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 8 06:23:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 8 06:25:03 2021 + 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 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..3d855 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 }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 6f52923f835ed363908c0137239ee914b364a393 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:47:06 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:47:06 2021 + 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 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 0..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 @@ atom/atom + + Enable nodejs support in USE +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 66d53cb934ab7f4a22292dec94bc1f01b6d31124 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:48:17 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:48:17 2021 + 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 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 3d855..0 --- 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 055863d40958ba89458e3ec7c0801a76c979a24a Author: Marco Scardovi scardovi com> AuthorDate: Sat Apr 10 12:49:08 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Apr 10 12:51:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055863d4 app-editors/atom-bin: fix QA error and add support for mime Signed-off-by: Marco Scardovi scardovi.com> ...{atom-bin-1.55.0-r3.ebuild => atom-bin-1.55.0-r4.ebuild} | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild similarity index 87% rename from app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild rename to app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 597648524..843af8d2b 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -27,7 +27,10 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) nodejs? ( net-libs/nodejs[npm] ) - ssl? ( dev-libs/openssl ) + ssl? ( + dev-libs/openssl + dev-libs/openssl-compat + ) X? ( x11-libs/cairo x11-libs/gdk-pixbuf @@ -63,18 +66,24 @@ src_install(){ 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 + make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + "GNOME;GTK;Utility;TextEditor;Development;" \ + "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom" einstalldocs
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 86b6a8ce83fa9668e25a083c07b633d041879d0f Author: Marco Scardovi scardovi com> AuthorDate: Sun Apr 11 06:48:41 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Apr 11 06:48:41 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86b6a8ce app-editors/atom-bin: fix a typo Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 843af8d2b..40dab62ac 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -81,7 +81,7 @@ src_install(){ fperms +x /opt/"${PN}"/resources/app/apm/bin/apm doicon atom.png - make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \ "GNOME;GTK;Utility;TextEditor;Development;" \ "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom"
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: d6b05fd225c7b313b1db3ede45558ada5ace9300 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:22:49 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:22:49 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e8f93073b5aa09273fa5ba1770002c55827d7d41 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:54:59 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:54:59 2021 + 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 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 @@ atom/atom - - Enable nodejs support in USE -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 0ed4dc7b374fbd73188bd45174ef10b183ffc9e4 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 15:16:33 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 15:16:48 2021 + 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 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..6d006 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,4 +8,7 @@ atom/atom + + Install packages for atom-beautify +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: bbeb1a680387e42c0e62046dc0ce89f62f8e8052 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 15 18:48:22 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 15 18:48:22 2021 + 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 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 6d006..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,7 +8,4 @@ atom/atom - - Install packages for atom-beautify -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 2d4945307e18658bfbf37fd93fcd4082328265fe Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 16 18:07:42 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 16 18:08:06 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e69ab1ad56858706adda29378ba3b96edc006f07 Author: Marco Scardovi scardovi com> AuthorDate: Mon Apr 19 05:26:29 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Apr 19 05:28:57 2021 + 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 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" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 96f287a35227bd823da750da46724f0bb524306f Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:09:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:09:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f287a3 app-editors/atom-bin: bump to 1.58.0 and EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/Manifest | 2 +- .../atom-bin/{atom-bin-1.57.0-r2.ebuild => atom-bin-1.58.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest index 0fd6ebc92..672999ce7 100644 --- a/app-editors/atom-bin/Manifest +++ b/app-editors/atom-bin/Manifest @@ -1 +1 @@ -DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33 +DIST atom-bin-1.58.0.tar.gz 203905263 BLAKE2B 95311b625bbee45f64d3e3d44f7870fba0efaa31ca14025e68d587b60e5d618c89e948dae7856348f0e55ea434f80d484f74809f1d244d6609f84023047794e6 SHA512 5e5c456ca745e2e51c4c24a2cba76d59ae9c519639f301b8677b5627ebecc1b8c114fc1942c22318266fe985ca1064618dc89379ecf8cdd935bfee7e605f33f1 diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.58.0.ebuild similarity index 99% rename from app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0.ebuild index 600a25b34..e25951752 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7f0b41da309cc23bf05057af28cd4c2d0adfc15e Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:10:39 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:10:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f0b41da app-editors/atom-bin: gonna take it back Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index 203024bac..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ma...@scardovi.com + Marco Scardovi + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7edd4eb40b87c4d4c026067334813ce75e409585 Author: Marco Scardovi scardovi com> AuthorDate: Sat Jan 1 09:27:05 2022 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Jan 23 13:27:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7edd4eb4 app-editors/atom-bin: time to make the ebuild smaller Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> ...atom-bin-1.58.0.ebuild => atom-bin-1.58.0-r1.ebuild} | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.58.0.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild similarity index 83% rename from app-editors/atom-bin/atom-bin-1.58.0.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild index e25951752..977c92e6b 100644 --- a/app-editors/atom-bin/atom-bin-1.58.0.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,8 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +# Atom works only on amd64 +KEYWORDS="-* ~amd64" RESTRICT="test" S="${WORKDIR}/atom-${PV}-amd64" @@ -50,10 +51,11 @@ RDEPEND=" QA_PREBUILT="/opt/${PN}/*" QA_PRESTRIPPED="/opt/${PN}/resources/*" # Files are already stripped -DOCS=( resources/LICENSE.md ) - src_prepare(){ default + + # We do not install licenses + rm resources/LICENSE.md || die "Failed to remove LICENSE" } src_install(){ @@ -64,13 +66,10 @@ 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/{apm,node,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 + fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git} doicon atom.png make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 384ab19acefb49b4cea6c725dfd1b19ce076e413 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 25 19:37:11 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 25 19:37:11 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=384ab19a app-editors/atom-bin: remove maintainer as requested requested on Telegram, see https://t.me/gentooitalia/85461 Signed-off-by: Alessandro Barbieri gmail.com> app-editors/atom-bin/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e..f2595f64c 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ma...@scardovi.com - Marco Scardovi - + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a81b9261240514e688c6806570b67f915fb6553b Author: Marco Scardovi scardovi com> AuthorDate: Sat Jul 17 13:31:47 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Jul 17 13:31:47 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a81b9261 app-editors/atom-bin: drop optfeatures Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> .../{atom-bin-1.57.0-r1.ebuild => atom-bin-1.57.0-r2.ebuild} | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild similarity index 85% rename from app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild rename to app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild index bbd1b653d..600a25b34 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r1.ebuild +++ b/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit desktop optfeature xdg +inherit desktop xdg DESCRIPTION="A hackable text editor for the 21st Century" HOMEPAGE="https://atom.io/"; @@ -84,9 +84,4 @@ 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 - optfeature "shell code beautifier" dev-util/beautysh - optfeature "C, C++, Java code beautifier" dev-util/uncrustify }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 80ba915fed96132802d9687696cbf1a6a3d2f593 Author: Marco Scardovi scardovi com> AuthorDate: Mon Jul 5 15:57:25 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Jul 5 15:57:42 2021 + 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 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;" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 96f287a35227bd823da750da46724f0bb524306f Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:09:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:09:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f287a3 app-editors/atom-bin: bump to 1.58.0 and EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/Manifest | 2 +- .../atom-bin/{atom-bin-1.57.0-r2.ebuild => atom-bin-1.58.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/Manifest b/app-editors/atom-bin/Manifest index 0fd6ebc92..672999ce7 100644 --- a/app-editors/atom-bin/Manifest +++ b/app-editors/atom-bin/Manifest @@ -1 +1 @@ -DIST atom-bin-1.57.0.tar.gz 203944990 BLAKE2B de34c30d826798574e71922f106ba6dc638abfb556f0b335f80e287424622236e95eb505cc3d9c384ac52e658e6f7dfd6b5b87a3fc9da0caff37990e9d5dcac9 SHA512 57e23e85ecff3ebce00ea73f3c7aff84c86598a6e0a3620de9e75c3ba1843b5e03534f256cb26345d160b9c9718396017022f9efd1ba8b2e463a96897ae41c33 +DIST atom-bin-1.58.0.tar.gz 203905263 BLAKE2B 95311b625bbee45f64d3e3d44f7870fba0efaa31ca14025e68d587b60e5d618c89e948dae7856348f0e55ea434f80d484f74809f1d244d6609f84023047794e6 SHA512 5e5c456ca745e2e51c4c24a2cba76d59ae9c519639f301b8677b5627ebecc1b8c114fc1942c22318266fe985ca1064618dc89379ecf8cdd935bfee7e605f33f1 diff --git a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.58.0.ebuild similarity index 99% rename from app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0.ebuild index 600a25b34..e25951752 100644 --- a/app-editors/atom-bin/atom-bin-1.57.0-r2.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7f0b41da309cc23bf05057af28cd4c2d0adfc15e Author: Marco Scardovi scardovi com> AuthorDate: Thu Dec 16 07:10:39 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Dec 16 07:10:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f0b41da app-editors/atom-bin: gonna take it back Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index 203024bac..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ma...@scardovi.com + Marco Scardovi + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 44a7b8054bbacb8ac59f6ec410b6019e5e10efea Author: Marco Scardovi scardovi com> AuthorDate: Wed May 12 07:31:45 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed May 12 07:31:45 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: a4b753589685894fa2964cc95a2180efd01622e2 Author: Marco Scardovi scardovi com> AuthorDate: Tue Apr 6 18:23:18 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Tue Apr 6 20:09:56 2021 + 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 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 0..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 0..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 0..a0b29038e --- /dev/null +++ b/app-editors/atom-bin/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + ma...@scardovi.com + Marco Scardovi + + + atom/atom + +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 3a92be6f78812354e16668c8b3f14a918d78ecb8 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 8 06:23:04 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 8 06:25:03 2021 + 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 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..3d855 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 }
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 6f52923f835ed363908c0137239ee914b364a393 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:47:06 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:47:06 2021 + 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 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 0..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 @@ atom/atom + + Enable nodejs support in USE +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 66d53cb934ab7f4a22292dec94bc1f01b6d31124 Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 9 11:48:17 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 9 11:48:17 2021 + 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 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 3d855..0 --- 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 055863d40958ba89458e3ec7c0801a76c979a24a Author: Marco Scardovi scardovi com> AuthorDate: Sat Apr 10 12:49:08 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sat Apr 10 12:51:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055863d4 app-editors/atom-bin: fix QA error and add support for mime Signed-off-by: Marco Scardovi scardovi.com> ...{atom-bin-1.55.0-r3.ebuild => atom-bin-1.55.0-r4.ebuild} | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild similarity index 87% rename from app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild rename to app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 597648524..843af8d2b 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r3.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -27,7 +27,10 @@ RDEPEND=" alsa? ( media-libs/alsa-lib ) cups? ( net-print/cups ) nodejs? ( net-libs/nodejs[npm] ) - ssl? ( dev-libs/openssl ) + ssl? ( + dev-libs/openssl + dev-libs/openssl-compat + ) X? ( x11-libs/cairo x11-libs/gdk-pixbuf @@ -63,18 +66,24 @@ src_install(){ 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 + make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + "GNOME;GTK;Utility;TextEditor;Development;" \ + "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom" einstalldocs
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 86b6a8ce83fa9668e25a083c07b633d041879d0f Author: Marco Scardovi scardovi com> AuthorDate: Sun Apr 11 06:48:41 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Apr 11 06:48:41 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86b6a8ce app-editors/atom-bin: fix a typo Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild index 843af8d2b..40dab62ac 100644 --- a/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild +++ b/app-editors/atom-bin/atom-bin-1.55.0-r4.ebuild @@ -81,7 +81,7 @@ src_install(){ fperms +x /opt/"${PN}"/resources/app/apm/bin/apm doicon atom.png - make_desktop_entry "/opt/atom-bin/atom %U" "atom" "atom" \ + make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \ "GNOME;GTK;Utility;TextEditor;Development;" \ "GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=atom"
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: d6b05fd225c7b313b1db3ede45558ada5ace9300 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:22:49 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:22:49 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e8f93073b5aa09273fa5ba1770002c55827d7d41 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 08:54:59 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 08:54:59 2021 + 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 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 @@ atom/atom - - Enable nodejs support in USE -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 0ed4dc7b374fbd73188bd45174ef10b183ffc9e4 Author: Marco Scardovi scardovi com> AuthorDate: Wed Apr 14 15:16:33 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed Apr 14 15:16:48 2021 + 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 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..6d006 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,4 +8,7 @@ atom/atom + + Install packages for atom-beautify +
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: bbeb1a680387e42c0e62046dc0ce89f62f8e8052 Author: Marco Scardovi scardovi com> AuthorDate: Thu Apr 15 18:48:22 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Thu Apr 15 18:48:22 2021 + 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 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 6d006..a0b29038e 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -8,7 +8,4 @@ atom/atom - - Install packages for atom-beautify -
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 2d4945307e18658bfbf37fd93fcd4082328265fe Author: Marco Scardovi scardovi com> AuthorDate: Fri Apr 16 18:07:42 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Fri Apr 16 18:08:06 2021 + 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 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
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: e69ab1ad56858706adda29378ba3b96edc006f07 Author: Marco Scardovi scardovi com> AuthorDate: Mon Apr 19 05:26:29 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Mon Apr 19 05:28:57 2021 + 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 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" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 7edd4eb40b87c4d4c026067334813ce75e409585 Author: Marco Scardovi scardovi com> AuthorDate: Sat Jan 1 09:27:05 2022 + Commit: Marco Scardovi scardovi com> CommitDate: Sun Jan 23 13:27:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7edd4eb4 app-editors/atom-bin: time to make the ebuild smaller Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> ...atom-bin-1.58.0.ebuild => atom-bin-1.58.0-r1.ebuild} | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-editors/atom-bin/atom-bin-1.58.0.ebuild b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild similarity index 83% rename from app-editors/atom-bin/atom-bin-1.58.0.ebuild rename to app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild index e25951752..977c92e6b 100644 --- a/app-editors/atom-bin/atom-bin-1.58.0.ebuild +++ b/app-editors/atom-bin/atom-bin-1.58.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,8 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +# Atom works only on amd64 +KEYWORDS="-* ~amd64" RESTRICT="test" S="${WORKDIR}/atom-${PV}-amd64" @@ -50,10 +51,11 @@ RDEPEND=" QA_PREBUILT="/opt/${PN}/*" QA_PRESTRIPPED="/opt/${PN}/resources/*" # Files are already stripped -DOCS=( resources/LICENSE.md ) - src_prepare(){ default + + # We do not install licenses + rm resources/LICENSE.md || die "Failed to remove LICENSE" } src_install(){ @@ -64,13 +66,10 @@ 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/{apm,node,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 + fperms +x /opt/"${PN}"/resources/app.asar.unpacked/node_modules/{vscode-ripgrep/bin/rg,dugite/git/bin/git} doicon atom.png make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 384ab19acefb49b4cea6c725dfd1b19ce076e413 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 25 19:37:11 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 25 19:37:11 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=384ab19a app-editors/atom-bin: remove maintainer as requested requested on Telegram, see https://t.me/gentooitalia/85461 Signed-off-by: Alessandro Barbieri gmail.com> app-editors/atom-bin/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e..f2595f64c 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ma...@scardovi.com - Marco Scardovi - + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 384ab19acefb49b4cea6c725dfd1b19ce076e413 Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 25 19:37:11 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Wed May 25 19:37:11 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=384ab19a app-editors/atom-bin: remove maintainer as requested requested on Telegram, see https://t.me/gentooitalia/85461 Signed-off-by: Alessandro Barbieri gmail.com> app-editors/atom-bin/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app-editors/atom-bin/metadata.xml b/app-editors/atom-bin/metadata.xml index a0b29038e..f2595f64c 100644 --- a/app-editors/atom-bin/metadata.xml +++ b/app-editors/atom-bin/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - ma...@scardovi.com - Marco Scardovi - + atom/atom
[gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom-bin/
commit: 44a7b8054bbacb8ac59f6ec410b6019e5e10efea Author: Marco Scardovi scardovi com> AuthorDate: Wed May 12 07:31:45 2021 + Commit: Marco Scardovi scardovi com> CommitDate: Wed May 12 07:31:45 2021 + 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 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