public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2020-07-26 21:53 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2020-07-26 21:53 UTC (permalink / raw
  To: gentoo-commits

commit:     0975524020ef5ea898c57142000b15c84c13fb4b
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sun Jul 26 21:53:16 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sun Jul 26 21:53:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09755240

www-apps/code-server-bin: expand case of die on failed removal

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/code-server-bin-3.4.1.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
index 0eb856d..c7be5a5 100644
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
@@ -53,12 +53,15 @@ src_prepare() {
 	rm lib/vscode/node_modules/vscode-ripgrep/bin/rg || die
 
 	# not needed
-	rm code-server
-	rm postinstall.sh
+	rm code-server || die
+	rm postinstall.sh || die
 }
 
 src_install() {
-	local mydocs="LICENSE.txt README.md ThirdPartyNotices.txt"
+	# already in /usr/portage/licenses/MIT
+	rm LICENSE.txt || die
+
+	local mydocs="README.md ThirdPartyNotices.txt"
 	for doc in ${mydocs}
 	do
 		(dodoc "${doc}" && rm "${doc}") || die


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2020-08-03 22:42 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2020-08-03 22:42 UTC (permalink / raw
  To: gentoo-commits

commit:     6579eb61c495e660c30f0d96285d1e04d9953f9e
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Mon Aug  3 22:41:30 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Mon Aug  3 22:41:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6579eb61

www-apps/code-server-bin: move license removal to src_prepare phase

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/code-server-bin-3.4.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
index c7be5a5..939c658 100644
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
@@ -55,12 +55,11 @@ src_prepare() {
 	# not needed
 	rm code-server || die
 	rm postinstall.sh || die
-}
-
-src_install() {
 	# already in /usr/portage/licenses/MIT
 	rm LICENSE.txt || die
+}
 
+src_install() {
 	local mydocs="README.md ThirdPartyNotices.txt"
 	for doc in ${mydocs}
 	do


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2020-10-24 10:36 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2020-10-24 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     bce2c5dbe9ddf6ff9b4e59194b6667e36e24ba1f
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sat Oct 24 10:35:16 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sat Oct 24 10:35:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bce2c5db

www-apps/code-server-bin: change uri; bump to 3.6.1

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/Manifest                                     | 2 ++
 www-apps/code-server-bin/code-server-bin-3.4.1.ebuild                 | 4 +---
 .../{code-server-bin-3.4.1.ebuild => code-server-bin-3.6.1.ebuild}    | 4 +---
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 99f5c6c7..6d4a66b6 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,2 +1,4 @@
 DIST code-server-3.4.1-linux-amd64.tar.gz 74127655 BLAKE2B 95e916e64c886688b370407ba932624a70b024cae64a57e7eb77f31c6a352138313fbced149adf2ee698d925b9e2a818823b25931a42a01d5e2eaedb082bbf1d SHA512 efd55c84fda96f22bec79b54f60d02a8d098f41cef77549c805c125eb845efae43d3f4703908f0542a78146eda67ebd9787f89b1c14b1b8044fdfd534f2b9173
 DIST code-server-3.4.1-linux-arm64.tar.gz 73470946 BLAKE2B 278a1fef95b612242f4126eea53d7b8dc824fc5dda55ff6b2f1e7752d3ebecebcf30045c1c2bb2a18d1ad7999b20c29398a3c5715920d6e8d8c94eaa76e8a619 SHA512 24168006e737a6579869b8e4b157e21d9ef85282b811783163f0d2291e47bee7e0794c8327663182922b473ff57999432e6c53502849836a53d300728341d1bc
+DIST code-server-3.6.1-linux-amd64.tar.gz 76288261 BLAKE2B 443135065cdab9e0477d9665e9e56d924bd9199ce19cfbdea1e811c2517e7e71beaf18a347a287d0013d7df655900fc08a8f7fcbfe402b1e22487a80876d1eaa SHA512 0e875dc78a2776897a5a1556183808da70c8a0b2e4d96653a419bdab08df6f3d10643f90f568edeafcb38c36bfefa9fe0a674ad020b5e08c17b2e0eece940bc1
+DIST code-server-3.6.1-linux-arm64.tar.gz 75331263 BLAKE2B c390e11b02472409ef0147f6dc5392f36eff93dd19a07e2eeed09a2626b541740c0191fdac0cca43e843b3195fc803921bf37b704b67a2e41fa0a531feca560c SHA512 badc150af52263232240edc16e960ac9e51b22e05bc96d81d11726e28d733b1d79139b0d85aa108011f2993c6a6e395134d2524e5fc13fe3b7dfeac24899eb75

diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
index 7446e32f..d3bdc55e 100644
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
@@ -5,8 +5,7 @@ EAPI=7
 
 MY_PN="${PN/-bin/}"
 MY_PV="${MY_PN}-${PV}"
-
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/${PV}/${MY_PV}-linux"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_PV}-linux"
 
 inherit systemd
 
@@ -20,7 +19,6 @@ SRC_URI="
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~arm64"
-IUSE=""
 
 # In case we ever make a non-"-binary" pkg
 DEPEND="

diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
similarity index 94%
copy from www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
copy to www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
index 7446e32f..d3bdc55e 100644
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
@@ -5,8 +5,7 @@ EAPI=7
 
 MY_PN="${PN/-bin/}"
 MY_PV="${MY_PN}-${PV}"
-
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/${PV}/${MY_PV}-linux"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_PV}-linux"
 
 inherit systemd
 
@@ -20,7 +19,6 @@ SRC_URI="
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~arm64"
-IUSE=""
 
 # In case we ever make a non-"-binary" pkg
 DEPEND="


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2020-12-27 16:07 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2020-12-27 16:07 UTC (permalink / raw
  To: gentoo-commits

commit:     7c258fc117ad574961bfbc259f1b69c6121058cc
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sun Dec 27 16:07:02 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sun Dec 27 16:07:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c258fc1

www-apps/code-server-bin: add gnome-keyring USE flag

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/code-server-bin-3.4.1.ebuild | 8 ++++++++
 www-apps/code-server-bin/code-server-bin-3.6.1.ebuild | 8 ++++++++
 www-apps/code-server-bin/code-server-bin-3.8.0.ebuild | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
index 81ec629c..97405ffe 100644
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
@@ -20,6 +20,7 @@ RESTRICT="test"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
 
 # In case we ever make a non-"-binary" pkg
 DEPEND="
@@ -29,6 +30,9 @@ RDEPEND="
 	${DEPEND}
 	>=net-libs/nodejs-12.16.1:0/12[ssl]
 	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
 "
 
 S="${WORKDIR}/${MY_P}-linux-${ARCH}"
@@ -58,6 +62,10 @@ src_prepare() {
 	rm postinstall.sh || die
 	# already in /usr/portage/licenses/MIT
 	rm LICENSE.txt || die
+
+	if ! use gnome-keyring; then
+		rm -r ./lib/vscode/node_modules/keytar || die
+	fi
 }
 
 src_install() {

diff --git a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
index 81ec629c..97405ffe 100644
--- a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
@@ -20,6 +20,7 @@ RESTRICT="test"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
 
 # In case we ever make a non-"-binary" pkg
 DEPEND="
@@ -29,6 +30,9 @@ RDEPEND="
 	${DEPEND}
 	>=net-libs/nodejs-12.16.1:0/12[ssl]
 	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
 "
 
 S="${WORKDIR}/${MY_P}-linux-${ARCH}"
@@ -58,6 +62,10 @@ src_prepare() {
 	rm postinstall.sh || die
 	# already in /usr/portage/licenses/MIT
 	rm LICENSE.txt || die
+
+	if ! use gnome-keyring; then
+		rm -r ./lib/vscode/node_modules/keytar || die
+	fi
 }
 
 src_install() {

diff --git a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild
index 81ec629c..97405ffe 100644
--- a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild
@@ -20,6 +20,7 @@ RESTRICT="test"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
 
 # In case we ever make a non-"-binary" pkg
 DEPEND="
@@ -29,6 +30,9 @@ RDEPEND="
 	${DEPEND}
 	>=net-libs/nodejs-12.16.1:0/12[ssl]
 	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
 "
 
 S="${WORKDIR}/${MY_P}-linux-${ARCH}"
@@ -58,6 +62,10 @@ src_prepare() {
 	rm postinstall.sh || die
 	# already in /usr/portage/licenses/MIT
 	rm LICENSE.txt || die
+
+	if ! use gnome-keyring; then
+		rm -r ./lib/vscode/node_modules/keytar || die
+	fi
 }
 
 src_install() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-02-05 23:59 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-02-05 23:59 UTC (permalink / raw
  To: gentoo-commits

commit:     7fbff65a36c6ec149b8b7e20b65a41befae38655
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Fri Feb  5 23:59:07 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Fri Feb  5 23:59:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7fbff65a

www-apps/code-server-bin: bump to 3.8.1

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.8.1.ebuild   | 90 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 832a710b..9132fe33 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-3.6.1-linux-amd64.tar.gz 76288261 BLAKE2B 443135065cdab9e0477d9
 DIST code-server-3.6.1-linux-arm64.tar.gz 75331263 BLAKE2B c390e11b02472409ef0147f6dc5392f36eff93dd19a07e2eeed09a2626b541740c0191fdac0cca43e843b3195fc803921bf37b704b67a2e41fa0a531feca560c SHA512 badc150af52263232240edc16e960ac9e51b22e05bc96d81d11726e28d733b1d79139b0d85aa108011f2993c6a6e395134d2524e5fc13fe3b7dfeac24899eb75
 DIST code-server-3.8.0-linux-amd64.tar.gz 78942963 BLAKE2B 4c78ed40aec86a72dede21a82ae111884be5cba1958fb22d6353d63af98f6d3bab50c7ae1fa0b81079be6d035e84d873f4ebf00da76edaa15b2356e89b3d1261 SHA512 76cdbbdb63b3061ce9d1cb016466356d5184b83e742fc084d9a0376aa12dc9d68314061ea5cde93f6590b07862169cbd291f77b71dfadc4bee4140e277813ae8
 DIST code-server-3.8.0-linux-arm64.tar.gz 77939946 BLAKE2B c154561c308e5e233016f1b9b5f53647a2aaad12b73d27d1e84ee37234104048005b36cccdda5593973238ef279428b8f38309cad193a67afd87d77205eeb27c SHA512 0fe4a42eb1c50ae1d33f9c94e592ac8a3e69fad51abc1f5c90595a1588350e95f78bc2c44f728b3f155112f2db11e79b2227f2e847a45d58c87078d667119a1a
+DIST code-server-3.8.1-linux-amd64.tar.gz 78975468 BLAKE2B d4f6424108b0cd4cb46ba9597e02993fc704ee89d0757a575719592cfd7cc2b3e52fdb5fa09a55684999eafc33dcab4483c4339cc584a37bd19453022bff0b27 SHA512 4a530df07482c68ad40da11234835528819f93985895d79914ff14da792a83084c605cb6d34622e475efb51c2b5c1189a4de186734194c7df6685655cd5098e1
+DIST code-server-3.8.1-linux-arm64.tar.gz 78056961 BLAKE2B 0311b5a07d6047f8ff795a0001f04ad824a940e79d87b23d58cc0fa27d04e1653f33a19016406ffcabbd3dabe4df512ee27ad58b7b6dc341517cd7e6845540b7 SHA512 a08308531ff8665f3b83dd6f37a9d668aa73b08ae7652193dc8e842c76982864701989b1713246e3d64a87b0b942a1b426da0170841da17d6ca6782a78850111

diff --git a/www-apps/code-server-bin/code-server-bin-3.8.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.8.1.ebuild
new file mode 100644
index 00000000..543e268b
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.8.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+# In case we ever make a non-"-binary" pkg
+DEPEND="
+	!www-apps/code-server
+"
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-12.16.1:0/12[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-node.patch"
+)
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+
+	if ! use gnome-keyring; then
+		rm -r ./lib/vscode/node_modules/keytar \
+			|| die "failed to remove bundled keytar"
+	fi
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/lib/${MY_PN}"
+	doins -r .
+	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-02-05 23:59 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-02-05 23:59 UTC (permalink / raw
  To: gentoo-commits

commit:     42b305bb0e295303b55bd7f0448a558708e4c260
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Fri Feb  5 23:59:40 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Fri Feb  5 23:59:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42b305bb

www-apps/code-server-bin: drop old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/Manifest                  |  2 -
 .../code-server-bin/code-server-bin-3.4.1.ebuild   | 87 ----------------------
 2 files changed, 89 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 9132fe33..f6ffbcfe 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,5 +1,3 @@
-DIST code-server-3.4.1-linux-amd64.tar.gz 74127655 BLAKE2B 95e916e64c886688b370407ba932624a70b024cae64a57e7eb77f31c6a352138313fbced149adf2ee698d925b9e2a818823b25931a42a01d5e2eaedb082bbf1d SHA512 efd55c84fda96f22bec79b54f60d02a8d098f41cef77549c805c125eb845efae43d3f4703908f0542a78146eda67ebd9787f89b1c14b1b8044fdfd534f2b9173
-DIST code-server-3.4.1-linux-arm64.tar.gz 73470946 BLAKE2B 278a1fef95b612242f4126eea53d7b8dc824fc5dda55ff6b2f1e7752d3ebecebcf30045c1c2bb2a18d1ad7999b20c29398a3c5715920d6e8d8c94eaa76e8a619 SHA512 24168006e737a6579869b8e4b157e21d9ef85282b811783163f0d2291e47bee7e0794c8327663182922b473ff57999432e6c53502849836a53d300728341d1bc
 DIST code-server-3.6.1-linux-amd64.tar.gz 76288261 BLAKE2B 443135065cdab9e0477d9665e9e56d924bd9199ce19cfbdea1e811c2517e7e71beaf18a347a287d0013d7df655900fc08a8f7fcbfe402b1e22487a80876d1eaa SHA512 0e875dc78a2776897a5a1556183808da70c8a0b2e4d96653a419bdab08df6f3d10643f90f568edeafcb38c36bfefa9fe0a674ad020b5e08c17b2e0eece940bc1
 DIST code-server-3.6.1-linux-arm64.tar.gz 75331263 BLAKE2B c390e11b02472409ef0147f6dc5392f36eff93dd19a07e2eeed09a2626b541740c0191fdac0cca43e843b3195fc803921bf37b704b67a2e41fa0a531feca560c SHA512 badc150af52263232240edc16e960ac9e51b22e05bc96d81d11726e28d733b1d79139b0d85aa108011f2993c6a6e395134d2524e5fc13fe3b7dfeac24899eb75
 DIST code-server-3.8.0-linux-amd64.tar.gz 78942963 BLAKE2B 4c78ed40aec86a72dede21a82ae111884be5cba1958fb22d6353d63af98f6d3bab50c7ae1fa0b81079be6d035e84d873f4ebf00da76edaa15b2356e89b3d1261 SHA512 76cdbbdb63b3061ce9d1cb016466356d5184b83e742fc084d9a0376aa12dc9d68314061ea5cde93f6590b07862169cbd291f77b71dfadc4bee4140e277813ae8

diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
deleted file mode 100644
index 97405ffe..00000000
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-node.patch"
-)
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm node || die
-	rm lib/node || die
-
-	# remove bundled ripgrep binary
-	rm lib/vscode/node_modules/vscode-ripgrep/bin/rg || die
-
-	# not needed
-	rm code-server || die
-	rm postinstall.sh || die
-	# already in /usr/portage/licenses/MIT
-	rm LICENSE.txt || die
-
-	if ! use gnome-keyring; then
-		rm -r ./lib/vscode/node_modules/keytar || die
-	fi
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-02-13  2:07 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-02-13  2:07 UTC (permalink / raw
  To: gentoo-commits

commit:     226f6d279f26d171cfb1b947064333790c1d79fa
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sat Feb 13 02:07:17 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sat Feb 13 02:07:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=226f6d27

www-apps/code-server-bin: bump to 3.9.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.9.0.ebuild   | 90 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index f6ffbcfe..001f3e86 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-3.8.0-linux-amd64.tar.gz 78942963 BLAKE2B 4c78ed40aec86a72dede2
 DIST code-server-3.8.0-linux-arm64.tar.gz 77939946 BLAKE2B c154561c308e5e233016f1b9b5f53647a2aaad12b73d27d1e84ee37234104048005b36cccdda5593973238ef279428b8f38309cad193a67afd87d77205eeb27c SHA512 0fe4a42eb1c50ae1d33f9c94e592ac8a3e69fad51abc1f5c90595a1588350e95f78bc2c44f728b3f155112f2db11e79b2227f2e847a45d58c87078d667119a1a
 DIST code-server-3.8.1-linux-amd64.tar.gz 78975468 BLAKE2B d4f6424108b0cd4cb46ba9597e02993fc704ee89d0757a575719592cfd7cc2b3e52fdb5fa09a55684999eafc33dcab4483c4339cc584a37bd19453022bff0b27 SHA512 4a530df07482c68ad40da11234835528819f93985895d79914ff14da792a83084c605cb6d34622e475efb51c2b5c1189a4de186734194c7df6685655cd5098e1
 DIST code-server-3.8.1-linux-arm64.tar.gz 78056961 BLAKE2B 0311b5a07d6047f8ff795a0001f04ad824a940e79d87b23d58cc0fa27d04e1653f33a19016406ffcabbd3dabe4df512ee27ad58b7b6dc341517cd7e6845540b7 SHA512 a08308531ff8665f3b83dd6f37a9d668aa73b08ae7652193dc8e842c76982864701989b1713246e3d64a87b0b942a1b426da0170841da17d6ca6782a78850111
+DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524c44554f72cdb4e0a8c48d6be8ac0942736994481fed3a5d30970091f1790b47edbae8e91a4c5ce50055761654f4129c583b0b930ea4 SHA512 46f9e24bdaef075f06ab487ada24910a6fdd7b68a23beddefd049ae4735e8cb16a6bccd014ac7227fe70df95aaf83e1e7a271a01c5b1efa0677f872c7484322e
+DIST code-server-3.9.0-linux-arm64.tar.gz 78939000 BLAKE2B fef14756b2d55cad2899dad7ec7332f753e18134f92c199f3e4d403880577c85a7772bdd56f71a0e8c3c38541e44a618fa9926b428a90f39f06c80ee6a5c4720 SHA512 e3f06076f70ceddd5a350e384c5fe1a8b23845a0ab6c6469ffabc2fe781cefd0bdbda6426196bee4e7cd6a2902b780b22aaae69fe25cf49b8e98374515ae055c

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
new file mode 100644
index 00000000..543e268b
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+# In case we ever make a non-"-binary" pkg
+DEPEND="
+	!www-apps/code-server
+"
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-12.16.1:0/12[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-node.patch"
+)
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+
+	if ! use gnome-keyring; then
+		rm -r ./lib/vscode/node_modules/keytar \
+			|| die "failed to remove bundled keytar"
+	fi
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/lib/${MY_PN}"
+	doins -r .
+	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-02-13  2:08 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-02-13  2:08 UTC (permalink / raw
  To: gentoo-commits

commit:     9cc0ddd4c3e75e4e7576938c638726d9cf2707d0
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sat Feb 13 02:08:00 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Sat Feb 13 02:08:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cc0ddd4

www-apps/code-server-bin: drop old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/Manifest                  |  4 -
 .../code-server-bin/code-server-bin-3.6.1.ebuild   | 87 ----------------------
 .../code-server-bin/code-server-bin-3.8.0.ebuild   | 87 ----------------------
 3 files changed, 178 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 001f3e86..95b20ea4 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,7 +1,3 @@
-DIST code-server-3.6.1-linux-amd64.tar.gz 76288261 BLAKE2B 443135065cdab9e0477d9665e9e56d924bd9199ce19cfbdea1e811c2517e7e71beaf18a347a287d0013d7df655900fc08a8f7fcbfe402b1e22487a80876d1eaa SHA512 0e875dc78a2776897a5a1556183808da70c8a0b2e4d96653a419bdab08df6f3d10643f90f568edeafcb38c36bfefa9fe0a674ad020b5e08c17b2e0eece940bc1
-DIST code-server-3.6.1-linux-arm64.tar.gz 75331263 BLAKE2B c390e11b02472409ef0147f6dc5392f36eff93dd19a07e2eeed09a2626b541740c0191fdac0cca43e843b3195fc803921bf37b704b67a2e41fa0a531feca560c SHA512 badc150af52263232240edc16e960ac9e51b22e05bc96d81d11726e28d733b1d79139b0d85aa108011f2993c6a6e395134d2524e5fc13fe3b7dfeac24899eb75
-DIST code-server-3.8.0-linux-amd64.tar.gz 78942963 BLAKE2B 4c78ed40aec86a72dede21a82ae111884be5cba1958fb22d6353d63af98f6d3bab50c7ae1fa0b81079be6d035e84d873f4ebf00da76edaa15b2356e89b3d1261 SHA512 76cdbbdb63b3061ce9d1cb016466356d5184b83e742fc084d9a0376aa12dc9d68314061ea5cde93f6590b07862169cbd291f77b71dfadc4bee4140e277813ae8
-DIST code-server-3.8.0-linux-arm64.tar.gz 77939946 BLAKE2B c154561c308e5e233016f1b9b5f53647a2aaad12b73d27d1e84ee37234104048005b36cccdda5593973238ef279428b8f38309cad193a67afd87d77205eeb27c SHA512 0fe4a42eb1c50ae1d33f9c94e592ac8a3e69fad51abc1f5c90595a1588350e95f78bc2c44f728b3f155112f2db11e79b2227f2e847a45d58c87078d667119a1a
 DIST code-server-3.8.1-linux-amd64.tar.gz 78975468 BLAKE2B d4f6424108b0cd4cb46ba9597e02993fc704ee89d0757a575719592cfd7cc2b3e52fdb5fa09a55684999eafc33dcab4483c4339cc584a37bd19453022bff0b27 SHA512 4a530df07482c68ad40da11234835528819f93985895d79914ff14da792a83084c605cb6d34622e475efb51c2b5c1189a4de186734194c7df6685655cd5098e1
 DIST code-server-3.8.1-linux-arm64.tar.gz 78056961 BLAKE2B 0311b5a07d6047f8ff795a0001f04ad824a940e79d87b23d58cc0fa27d04e1653f33a19016406ffcabbd3dabe4df512ee27ad58b7b6dc341517cd7e6845540b7 SHA512 a08308531ff8665f3b83dd6f37a9d668aa73b08ae7652193dc8e842c76982864701989b1713246e3d64a87b0b942a1b426da0170841da17d6ca6782a78850111
 DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524c44554f72cdb4e0a8c48d6be8ac0942736994481fed3a5d30970091f1790b47edbae8e91a4c5ce50055761654f4129c583b0b930ea4 SHA512 46f9e24bdaef075f06ab487ada24910a6fdd7b68a23beddefd049ae4735e8cb16a6bccd014ac7227fe70df95aaf83e1e7a271a01c5b1efa0677f872c7484322e

diff --git a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
deleted file mode 100644
index 97405ffe..00000000
--- a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-node.patch"
-)
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm node || die
-	rm lib/node || die
-
-	# remove bundled ripgrep binary
-	rm lib/vscode/node_modules/vscode-ripgrep/bin/rg || die
-
-	# not needed
-	rm code-server || die
-	rm postinstall.sh || die
-	# already in /usr/portage/licenses/MIT
-	rm LICENSE.txt || die
-
-	if ! use gnome-keyring; then
-		rm -r ./lib/vscode/node_modules/keytar || die
-	fi
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild
deleted file mode 100644
index 97405ffe..00000000
--- a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-node.patch"
-)
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm node || die
-	rm lib/node || die
-
-	# remove bundled ripgrep binary
-	rm lib/vscode/node_modules/vscode-ripgrep/bin/rg || die
-
-	# not needed
-	rm code-server || die
-	rm postinstall.sh || die
-	# already in /usr/portage/licenses/MIT
-	rm LICENSE.txt || die
-
-	if ! use gnome-keyring; then
-		rm -r ./lib/vscode/node_modules/keytar || die
-	fi
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-03-08 18:32 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-03-08 18:32 UTC (permalink / raw
  To: gentoo-commits

commit:     a3f343fa0395f8b9628bcc7ec19222eea4194d45
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Mon Mar  8 18:30:57 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Mon Mar  8 18:30:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3f343fa

www-apps/code-server-bin: bump to 3.9.1

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.9.1.ebuild   | 90 ++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 95b20ea4..01229225 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-3.8.1-linux-amd64.tar.gz 78975468 BLAKE2B d4f6424108b0cd4cb46ba
 DIST code-server-3.8.1-linux-arm64.tar.gz 78056961 BLAKE2B 0311b5a07d6047f8ff795a0001f04ad824a940e79d87b23d58cc0fa27d04e1653f33a19016406ffcabbd3dabe4df512ee27ad58b7b6dc341517cd7e6845540b7 SHA512 a08308531ff8665f3b83dd6f37a9d668aa73b08ae7652193dc8e842c76982864701989b1713246e3d64a87b0b942a1b426da0170841da17d6ca6782a78850111
 DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524c44554f72cdb4e0a8c48d6be8ac0942736994481fed3a5d30970091f1790b47edbae8e91a4c5ce50055761654f4129c583b0b930ea4 SHA512 46f9e24bdaef075f06ab487ada24910a6fdd7b68a23beddefd049ae4735e8cb16a6bccd014ac7227fe70df95aaf83e1e7a271a01c5b1efa0677f872c7484322e
 DIST code-server-3.9.0-linux-arm64.tar.gz 78939000 BLAKE2B fef14756b2d55cad2899dad7ec7332f753e18134f92c199f3e4d403880577c85a7772bdd56f71a0e8c3c38541e44a618fa9926b428a90f39f06c80ee6a5c4720 SHA512 e3f06076f70ceddd5a350e384c5fe1a8b23845a0ab6c6469ffabc2fe781cefd0bdbda6426196bee4e7cd6a2902b780b22aaae69fe25cf49b8e98374515ae055c
+DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d
+DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
new file mode 100644
index 00000000..543e268b
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+# In case we ever make a non-"-binary" pkg
+DEPEND="
+	!www-apps/code-server
+"
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-12.16.1:0/12[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-node.patch"
+)
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+
+	if ! use gnome-keyring; then
+		rm -r ./lib/vscode/node_modules/keytar \
+			|| die "failed to remove bundled keytar"
+	fi
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/lib/${MY_PN}"
+	doins -r .
+	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-03-25 23:13 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-03-25 23:13 UTC (permalink / raw
  To: gentoo-commits

commit:     ebd4394b2b8a285778dacb835b2504e5893616dd
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Mar 25 23:13:09 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Thu Mar 25 23:13:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebd4394b

www-apps/code-server-bin: bump to 3.9.2

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.9.2.ebuild   | 86 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 01229225d..99500cc89 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524
 DIST code-server-3.9.0-linux-arm64.tar.gz 78939000 BLAKE2B fef14756b2d55cad2899dad7ec7332f753e18134f92c199f3e4d403880577c85a7772bdd56f71a0e8c3c38541e44a618fa9926b428a90f39f06c80ee6a5c4720 SHA512 e3f06076f70ceddd5a350e384c5fe1a8b23845a0ab6c6469ffabc2fe781cefd0bdbda6426196bee4e7cd6a2902b780b22aaae69fe25cf49b8e98374515ae055c
 DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d
 DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9
+DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03
+DIST code-server-3.9.2-linux-arm64.tar.gz 71753560 BLAKE2B df5cc9bb91ea6529a64fb8ee572ae451a83f9b0b2b2ef1a27755c67b56fbb73f5cfc43ed3e3a15ad62d1d81f7c780912661b9cad4aa631eed4bb0bce46174ee5 SHA512 bf9863d3877ce692f2a9f1e129f25edb05e7323a49db6dfc0fbd3b5df153f6a0edecc7395c75acda81eb4fdae0ed2cfdffccc8c155785e2bd994ebb58b39462f

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
new file mode 100644
index 000000000..aaaf253e2
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+# In case we ever make a non-"-binary" pkg
+DEPEND="
+	!www-apps/code-server
+"
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-12.16.1:0/12[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+QA_PRESTRIPPED="${QA_PREBUILT}"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/lib/${MY_PN}"
+	doins -r .
+	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-03-25 23:14 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-03-25 23:14 UTC (permalink / raw
  To: gentoo-commits

commit:     41679685f8d066f0b788e3254c8fe5c7ca5957cd
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Mar 25 23:14:54 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Thu Mar 25 23:14:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41679685

www-apps/code-server-bin: drop old 3.8.1

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/Manifest                  |  2 -
 .../code-server-bin/code-server-bin-3.8.1.ebuild   | 90 ----------------------
 2 files changed, 92 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 99500cc89..7691c1599 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,5 +1,3 @@
-DIST code-server-3.8.1-linux-amd64.tar.gz 78975468 BLAKE2B d4f6424108b0cd4cb46ba9597e02993fc704ee89d0757a575719592cfd7cc2b3e52fdb5fa09a55684999eafc33dcab4483c4339cc584a37bd19453022bff0b27 SHA512 4a530df07482c68ad40da11234835528819f93985895d79914ff14da792a83084c605cb6d34622e475efb51c2b5c1189a4de186734194c7df6685655cd5098e1
-DIST code-server-3.8.1-linux-arm64.tar.gz 78056961 BLAKE2B 0311b5a07d6047f8ff795a0001f04ad824a940e79d87b23d58cc0fa27d04e1653f33a19016406ffcabbd3dabe4df512ee27ad58b7b6dc341517cd7e6845540b7 SHA512 a08308531ff8665f3b83dd6f37a9d668aa73b08ae7652193dc8e842c76982864701989b1713246e3d64a87b0b942a1b426da0170841da17d6ca6782a78850111
 DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524c44554f72cdb4e0a8c48d6be8ac0942736994481fed3a5d30970091f1790b47edbae8e91a4c5ce50055761654f4129c583b0b930ea4 SHA512 46f9e24bdaef075f06ab487ada24910a6fdd7b68a23beddefd049ae4735e8cb16a6bccd014ac7227fe70df95aaf83e1e7a271a01c5b1efa0677f872c7484322e
 DIST code-server-3.9.0-linux-arm64.tar.gz 78939000 BLAKE2B fef14756b2d55cad2899dad7ec7332f753e18134f92c199f3e4d403880577c85a7772bdd56f71a0e8c3c38541e44a618fa9926b428a90f39f06c80ee6a5c4720 SHA512 e3f06076f70ceddd5a350e384c5fe1a8b23845a0ab6c6469ffabc2fe781cefd0bdbda6426196bee4e7cd6a2902b780b22aaae69fe25cf49b8e98374515ae055c
 DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d

diff --git a/www-apps/code-server-bin/code-server-bin-3.8.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.8.1.ebuild
deleted file mode 100644
index 543e268b9..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.8.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-node.patch"
-)
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-
-	if ! use gnome-keyring; then
-		rm -r ./lib/vscode/node_modules/keytar \
-			|| die "failed to remove bundled keytar"
-	fi
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-03-26  7:47 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-03-26  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     04457bebb3311f457698568266414deedc191a90
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Fri Mar 26 07:46:19 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Fri Mar 26 07:46:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04457beb

www-apps/code-server-bin: detailed QA_PREBUILT and QA_PRESTRIPPED

Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/code-server-bin-3.9.2.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
index aaaf253e2..64862a827 100644
--- a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
@@ -41,8 +41,13 @@ PATCHES=( "${FILESDIR}/${PN}-node.patch" )
 
 DOCS=( "README.md" "ThirdPartyNotices.txt" )
 
-QA_PREBUILT="*"
-QA_PRESTRIPPED="${QA_PREBUILT}"
+QA_PREBUILT="
+	/usr/lib/code-server/lib/coder-cloud-agent
+	/usr/lib/code-server/lib/vscode/node_modules/*
+"
+QA_PRESTRIPPED="
+	/usr/lib/code-server/lib/coder-cloud-agent
+"
 
 src_prepare() {
 	default


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
  2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-03-28 11:14 ` Andrew Ammerlaan
  0 siblings, 0 replies; 60+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     b0f2e0f921ac88ebb70768658cf9b8ae2d5621bf
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 11:10:13 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 11:10:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b0f2e0f9

www-apps/code-server-bin: use relative symlink

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 www-apps/code-server-bin/code-server-bin-3.9.0.ebuild | 6 +++---
 www-apps/code-server-bin/code-server-bin-3.9.1.ebuild | 6 +++---
 www-apps/code-server-bin/code-server-bin-3.9.2.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
index 543e268b9..2ad76805a 100644
--- a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
@@ -76,10 +76,10 @@ src_install() {
 
 	insinto "/usr/lib/${MY_PN}"
 	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
 
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
 
 	systemd_dounit "${FILESDIR}/${MY_PN}.service"
 }

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
index 543e268b9..2ad76805a 100644
--- a/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
@@ -76,10 +76,10 @@ src_install() {
 
 	insinto "/usr/lib/${MY_PN}"
 	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
 
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
 
 	systemd_dounit "${FILESDIR}/${MY_PN}.service"
 }

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
index 64862a827..553092c68 100644
--- a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
@@ -77,10 +77,10 @@ src_install() {
 
 	insinto "/usr/lib/${MY_PN}"
 	doins -r .
-	fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
 
-	dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
 
 	systemd_dounit "${FILESDIR}/${MY_PN}.service"
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-04-08 21:37 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-04-08 21:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a0789394754af7ccf770db7e58b4625e607ff4c7
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Apr  8 21:36:22 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Thu Apr  8 21:37:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0789394

www-apps/code-server-bin: bump to 3.9.3

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.9.3.ebuild   | 91 ++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 7691c1599..2d18dba9e 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4a
 DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9
 DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03
 DIST code-server-3.9.2-linux-arm64.tar.gz 71753560 BLAKE2B df5cc9bb91ea6529a64fb8ee572ae451a83f9b0b2b2ef1a27755c67b56fbb73f5cfc43ed3e3a15ad62d1d81f7c780912661b9cad4aa631eed4bb0bce46174ee5 SHA512 bf9863d3877ce692f2a9f1e129f25edb05e7323a49db6dfc0fbd3b5df153f6a0edecc7395c75acda81eb4fdae0ed2cfdffccc8c155785e2bd994ebb58b39462f
+DIST code-server-3.9.3-linux-amd64.tar.gz 73054713 BLAKE2B fc9424ab592e7f7aed6f4dfcb9d881585f3eaf8477100935a940c409044400f137a8bea5489dac6a35c232ea9c35c8210a2695fbec2c33eec0ec60dcaef5ab6f SHA512 f4c489bac2c73a075183f378a3fa65787f10bb9829502956fb8ded6869cf770fdcbf4f5df151d1f5aaf20e79db2188cb95b12b1ea875cc0863a12a295fd8b5a0
+DIST code-server-3.9.3-linux-arm64.tar.gz 71436268 BLAKE2B eb1ce6ec5da7d9c448c3c8105bd483c2fec92a46ca35975deefa9850c0bfd4d800cdcd686836ed75d05cda2af16023ca7ad2f3028fcdf3440d0be1a30a85fe0b SHA512 e1c0ec1fdebfa67fa372b54de97b8d1b71d912cf496cad5d41376a9770d977948672a048c26baaca81867d6050b04a4a0501ffd822121955b6e8fe279a704533

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild
new file mode 100644
index 000000000..553092c68
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+# In case we ever make a non-"-binary" pkg
+DEPEND="
+	!www-apps/code-server
+"
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-12.16.1:0/12[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="
+	/usr/lib/code-server/lib/coder-cloud-agent
+	/usr/lib/code-server/lib/vscode/node_modules/*
+"
+QA_PRESTRIPPED="
+	/usr/lib/code-server/lib/coder-cloud-agent
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/lib/${MY_PN}"
+	doins -r .
+	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-04-08 21:50 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-04-08 21:50 UTC (permalink / raw
  To: gentoo-commits

commit:     02a4946a71173e693964ffde9754ec1dd349ee20
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Apr  8 21:49:13 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Thu Apr  8 21:49:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02a4946a

www-apps/code-server-bin: drop old 3.9.0

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/Manifest                  |  2 -
 .../code-server-bin/code-server-bin-3.9.0.ebuild   | 90 ----------------------
 2 files changed, 92 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 2d18dba9e..2bd588b3e 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,5 +1,3 @@
-DIST code-server-3.9.0-linux-amd64.tar.gz 79632197 BLAKE2B cc0aa63cbeb5ff4d5a524c44554f72cdb4e0a8c48d6be8ac0942736994481fed3a5d30970091f1790b47edbae8e91a4c5ce50055761654f4129c583b0b930ea4 SHA512 46f9e24bdaef075f06ab487ada24910a6fdd7b68a23beddefd049ae4735e8cb16a6bccd014ac7227fe70df95aaf83e1e7a271a01c5b1efa0677f872c7484322e
-DIST code-server-3.9.0-linux-arm64.tar.gz 78939000 BLAKE2B fef14756b2d55cad2899dad7ec7332f753e18134f92c199f3e4d403880577c85a7772bdd56f71a0e8c3c38541e44a618fa9926b428a90f39f06c80ee6a5c4720 SHA512 e3f06076f70ceddd5a350e384c5fe1a8b23845a0ab6c6469ffabc2fe781cefd0bdbda6426196bee4e7cd6a2902b780b22aaae69fe25cf49b8e98374515ae055c
 DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d
 DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9
 DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
deleted file mode 100644
index 2ad76805a..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.9.0.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-node.patch"
-)
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-
-	if ! use gnome-keyring; then
-		rm -r ./lib/vscode/node_modules/keytar \
-			|| die "failed to remove bundled keytar"
-	fi
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-05-10 22:03 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-05-10 22:03 UTC (permalink / raw
  To: gentoo-commits

commit:     6f1b99c799cc35764d23996bd234feee6bb04a7c
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon May 10 22:02:37 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Mon May 10 22:03:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f1b99c7

www-apps/code-server-bin: bump to 3.10.0

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.10.0.ebuild  | 91 ++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 2bd588b3e..89ee7a58d 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,3 +1,5 @@
+DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956ce1dca8b8d7fa91eca6db8eb9808a68db28b9e9a8caa5432582cfa765ff0ac1ce948866a7f91a45df42045a83b75c13ac793ed1a78ee SHA512 bd0410e0310a027ff1ed3f7c8b0d07a4a28baf8df924192d8a240f8011765b6a1daaae94bc7f37d1904dc9c2813d951eeb0c289aadd0192a15daa9cb6461c25d
+DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e
 DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d
 DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9
 DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03

diff --git a/www-apps/code-server-bin/code-server-bin-3.10.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.10.0.ebuild
new file mode 100644
index 000000000..553092c68
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.10.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+# In case we ever make a non-"-binary" pkg
+DEPEND="
+	!www-apps/code-server
+"
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-12.16.1:0/12[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="
+	/usr/lib/code-server/lib/coder-cloud-agent
+	/usr/lib/code-server/lib/vscode/node_modules/*
+"
+QA_PRESTRIPPED="
+	/usr/lib/code-server/lib/coder-cloud-agent
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/lib/${MY_PN}"
+	doins -r .
+	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
+	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-05-10 22:03 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-05-10 22:03 UTC (permalink / raw
  To: gentoo-commits

commit:     c59d676c6c01182ff46cb281eda8083d24a37294
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon May 10 22:02:59 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Mon May 10 22:03:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c59d676c

www-apps/code-server-bin: drop old 3.9.1

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/Manifest                  |  2 -
 .../code-server-bin/code-server-bin-3.9.1.ebuild   | 90 ----------------------
 2 files changed, 92 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 89ee7a58d..40d3f5215 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,7 +1,5 @@
 DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956ce1dca8b8d7fa91eca6db8eb9808a68db28b9e9a8caa5432582cfa765ff0ac1ce948866a7f91a45df42045a83b75c13ac793ed1a78ee SHA512 bd0410e0310a027ff1ed3f7c8b0d07a4a28baf8df924192d8a240f8011765b6a1daaae94bc7f37d1904dc9c2813d951eeb0c289aadd0192a15daa9cb6461c25d
 DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e
-DIST code-server-3.9.1-linux-amd64.tar.gz 69783057 BLAKE2B 0008d5967cb9b58129e4ab21e1fa0c10f72611652f50991ff6657870a5e6c315872c05f6612d108454b5ca4dd5c9848470ff34846f06181ff1b6ac98a05496e3 SHA512 66a38c12b4a0c2494195f8e233942c49be23b3586140e901ff50cd6b507a092ca39a09b77fed3723710ea4099b6489f8d23b3a680b028e4bf920095bf314aa1d
-DIST code-server-3.9.1-linux-arm64.tar.gz 69101049 BLAKE2B 57f1b32f8b4385bb7c749d701ded90a7cb82ab1f6ceb052e589720221bd41a2620a63c9f88517de9962771c858d6aca12273c3e70fad56e3b247e2c5f6178375 SHA512 1e5629ec3f7ffe9279d89099ae5c111358e41e481eb2df659e45a7ad4b6c340ed5b59b9f818df8857cdfe2b4c2d509d193c6c5f1f15217e6b8aaa5b21a7af1f9
 DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03
 DIST code-server-3.9.2-linux-arm64.tar.gz 71753560 BLAKE2B df5cc9bb91ea6529a64fb8ee572ae451a83f9b0b2b2ef1a27755c67b56fbb73f5cfc43ed3e3a15ad62d1d81f7c780912661b9cad4aa631eed4bb0bce46174ee5 SHA512 bf9863d3877ce692f2a9f1e129f25edb05e7323a49db6dfc0fbd3b5df153f6a0edecc7395c75acda81eb4fdae0ed2cfdffccc8c155785e2bd994ebb58b39462f
 DIST code-server-3.9.3-linux-amd64.tar.gz 73054713 BLAKE2B fc9424ab592e7f7aed6f4dfcb9d881585f3eaf8477100935a940c409044400f137a8bea5489dac6a35c232ea9c35c8210a2695fbec2c33eec0ec60dcaef5ab6f SHA512 f4c489bac2c73a075183f378a3fa65787f10bb9829502956fb8ded6869cf770fdcbf4f5df151d1f5aaf20e79db2188cb95b12b1ea875cc0863a12a295fd8b5a0

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
deleted file mode 100644
index 2ad76805a..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.9.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-node.patch"
-)
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-
-	if ! use gnome-keyring; then
-		rm -r ./lib/vscode/node_modules/keytar \
-			|| die "failed to remove bundled keytar"
-	fi
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-05-21 18:18 Maciej Barć
  0 siblings, 0 replies; 60+ messages in thread
From: Maciej Barć @ 2021-05-21 18:18 UTC (permalink / raw
  To: gentoo-commits

commit:     5849be947e5cdcc2b22dc7b2509439106e3cb7d6
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Fri May 21 17:57:11 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Fri May 21 17:57:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5849be94

www-apps/code-server-bin: drop to maintainer-needed

Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 www-apps/code-server-bin/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www-apps/code-server-bin/metadata.xml b/www-apps/code-server-bin/metadata.xml
index 4a72a2d0f..342908683 100644
--- a/www-apps/code-server-bin/metadata.xml
+++ b/www-apps/code-server-bin/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <email>xgqt@riseup.net</email>
-    <name>Maciej Barć</name>
-  </maintainer>
+  <!-- maintainer-needed -->
   <upstream>
     <remote-id type="github">cdr/code-server</remote-id>
   </upstream>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-09-25  4:55 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2021-09-25  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     09c057330a9b4fb8653dd8be5c9cdccc7e3abd43
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Sep 25 04:44:20 2021 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Sat Sep 25 04:54:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09c05733

www-apps/code-server-bin: take maintainership

Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www-apps/code-server-bin/metadata.xml b/www-apps/code-server-bin/metadata.xml
index 75a41d7f3..d2a92f19e 100644
--- a/www-apps/code-server-bin/metadata.xml
+++ b/www-apps/code-server-bin/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
+  <maintainer type="person">
+    <name>Leonardo Hernandez Hernandez</name>
+    <email>leohdz172@outlook.com</email>
+  </maintainer>
   <upstream>
     <remote-id type="github">cdr/code-server</remote-id>
   </upstream>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-09-25  4:55 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2021-09-25  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     ed70a243ffcf119987038edbc13ccf12fd32908e
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Sep 25 04:48:16 2021 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Sat Sep 25 04:54:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed70a243

www-apps/code-server-bin: bump to 3.12.0

Closes: https://bugs.gentoo.org/807196

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-3.12.0.ebuild  | 87 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 41ec266f2..40ea4ae7e 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,2 +1,4 @@
 DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956ce1dca8b8d7fa91eca6db8eb9808a68db28b9e9a8caa5432582cfa765ff0ac1ce948866a7f91a45df42045a83b75c13ac793ed1a78ee SHA512 bd0410e0310a027ff1ed3f7c8b0d07a4a28baf8df924192d8a240f8011765b6a1daaae94bc7f37d1904dc9c2813d951eeb0c289aadd0192a15daa9cb6461c25d
 DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e
+DIST code-server-3.12.0-linux-amd64.tar.gz 98959884 BLAKE2B 7be2195b1d2e325244620bf59608fb21390846657249e182b43224ede950aafbd837b09100af67925a92054923239e079063e6dff23cc6c9e4c0dbe010684069 SHA512 f14fce86d4a837cdfe867beb7256d7d57035edac258c7ac5be8de8fb778771ad0ff5549920a41ef80504e738727c0159c1dbff70c7b48cfe37415dd4c9ad40c6
+DIST code-server-3.12.0-linux-arm64.tar.gz 97388956 BLAKE2B b73d41ce320e3af7e980972a64d7d47d11c9bf1d1d69ca7c7cb16e1963d5b1fada4558a8630c317cf82093f1aa4126c33246a3aec7581f2723d1497cedb504c8 SHA512 f23def255bc6bfcf0e796d7cabb104bb1c7a8576783150ff8b8f040a8792d3df8f97f7c5a8e7963eab2ff7f6f4a203543d4b127f27a7b2885ceb52ae62c8b5c6

diff --git a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
new file mode 100644
index 000000000..ed42aaf28
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-14.17.5:0/14[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="
+	/usr/lib64/code-server/lib/coder-cloud-agent
+	/usr/lib64/code-server/vendor/modules/code-oss-dev/node_modules/*
+"
+QA_PRESTRIPPED="
+	/usr/lib64/code-server/lib/coder-cloud-agent
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/$(get_libdir)/${MY_PN}"
+	doins -r .
+	fperms +x "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}"
+	dosym -r "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym -r "/usr/bin/rg" "${EPREFIX}/usr/$(get_libdir)/${MY_PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_dounit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-09-25  4:55 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2021-09-25  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     45aea3241c6182dd7104b156332ff49f5c62c6a5
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Sep 25 04:46:48 2021 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Sat Sep 25 04:54:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45aea324

www-apps/code-server-bin: drop old versions

Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |  4 -
 .../code-server-bin/code-server-bin-3.9.2.ebuild   | 91 ----------------------
 .../code-server-bin/code-server-bin-3.9.3.ebuild   | 91 ----------------------
 3 files changed, 186 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 40d3f5215..41ec266f2 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,6 +1,2 @@
 DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956ce1dca8b8d7fa91eca6db8eb9808a68db28b9e9a8caa5432582cfa765ff0ac1ce948866a7f91a45df42045a83b75c13ac793ed1a78ee SHA512 bd0410e0310a027ff1ed3f7c8b0d07a4a28baf8df924192d8a240f8011765b6a1daaae94bc7f37d1904dc9c2813d951eeb0c289aadd0192a15daa9cb6461c25d
 DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e
-DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03
-DIST code-server-3.9.2-linux-arm64.tar.gz 71753560 BLAKE2B df5cc9bb91ea6529a64fb8ee572ae451a83f9b0b2b2ef1a27755c67b56fbb73f5cfc43ed3e3a15ad62d1d81f7c780912661b9cad4aa631eed4bb0bce46174ee5 SHA512 bf9863d3877ce692f2a9f1e129f25edb05e7323a49db6dfc0fbd3b5df153f6a0edecc7395c75acda81eb4fdae0ed2cfdffccc8c155785e2bd994ebb58b39462f
-DIST code-server-3.9.3-linux-amd64.tar.gz 73054713 BLAKE2B fc9424ab592e7f7aed6f4dfcb9d881585f3eaf8477100935a940c409044400f137a8bea5489dac6a35c232ea9c35c8210a2695fbec2c33eec0ec60dcaef5ab6f SHA512 f4c489bac2c73a075183f378a3fa65787f10bb9829502956fb8ded6869cf770fdcbf4f5df151d1f5aaf20e79db2188cb95b12b1ea875cc0863a12a295fd8b5a0
-DIST code-server-3.9.3-linux-arm64.tar.gz 71436268 BLAKE2B eb1ce6ec5da7d9c448c3c8105bd483c2fec92a46ca35975deefa9850c0bfd4d800cdcd686836ed75d05cda2af16023ca7ad2f3028fcdf3440d0be1a30a85fe0b SHA512 e1c0ec1fdebfa67fa372b54de97b8d1b71d912cf496cad5d41376a9770d977948672a048c26baaca81867d6050b04a4a0501ffd822121955b6e8fe279a704533

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
deleted file mode 100644
index 553092c68..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="
-	/usr/lib/code-server/lib/coder-cloud-agent
-	/usr/lib/code-server/lib/vscode/node_modules/*
-"
-QA_PRESTRIPPED="
-	/usr/lib/code-server/lib/coder-cloud-agent
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild
deleted file mode 100644
index 553092c68..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="
-	/usr/lib/code-server/lib/coder-cloud-agent
-	/usr/lib/code-server/lib/vscode/node_modules/*
-"
-QA_PRESTRIPPED="
-	/usr/lib/code-server/lib/coder-cloud-agent
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2021-09-26 15:55 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2021-09-26 15:55 UTC (permalink / raw
  To: gentoo-commits

commit:     8292b265a2d22bc94209e0410ca0c4a79641b48d
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sun Sep 26 15:50:55 2021 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Sun Sep 26 15:50:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8292b265

www-apps/code-server-bin: fix QA not respect CFLAGS/LDFLAGS

Closes: https://bugs.gentoo.org/814986
Closes: https://bugs.gentoo.org/814983
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/code-server-bin-3.12.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
index ed42aaf28..39258a555 100644
--- a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
@@ -40,6 +40,7 @@ DOCS=( "README.md" "ThirdPartyNotices.txt" )
 QA_PREBUILT="
 	/usr/lib64/code-server/lib/coder-cloud-agent
 	/usr/lib64/code-server/vendor/modules/code-oss-dev/node_modules/*
+	/usr/lib64/code-server/node_modules/*
 "
 QA_PRESTRIPPED="
 	/usr/lib64/code-server/lib/coder-cloud-agent


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-01-24 20:08 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-01-24 20:08 UTC (permalink / raw
  To: gentoo-commits

commit:     e6565986e6a3d1bf7a9eae43d9b809bd0744caaf
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Mon Jan 24 20:07:45 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Mon Jan 24 20:07:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6565986

www-apps/code-server-bin: bump to 4.0.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |  2 +
 .../code-server-bin/code-server-bin-4.0.1.ebuild   | 88 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 40ea4ae7e..bb9563565 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956
 DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e
 DIST code-server-3.12.0-linux-amd64.tar.gz 98959884 BLAKE2B 7be2195b1d2e325244620bf59608fb21390846657249e182b43224ede950aafbd837b09100af67925a92054923239e079063e6dff23cc6c9e4c0dbe010684069 SHA512 f14fce86d4a837cdfe867beb7256d7d57035edac258c7ac5be8de8fb778771ad0ff5549920a41ef80504e738727c0159c1dbff70c7b48cfe37415dd4c9ad40c6
 DIST code-server-3.12.0-linux-arm64.tar.gz 97388956 BLAKE2B b73d41ce320e3af7e980972a64d7d47d11c9bf1d1d69ca7c7cb16e1963d5b1fada4558a8630c317cf82093f1aa4126c33246a3aec7581f2723d1497cedb504c8 SHA512 f23def255bc6bfcf0e796d7cabb104bb1c7a8576783150ff8b8f040a8792d3df8f97f7c5a8e7963eab2ff7f6f4a203543d4b127f27a7b2885ceb52ae62c8b5c6
+DIST code-server-4.0.1-linux-amd64.tar.gz 189350818 BLAKE2B 8021ee303ca759c92a764508b611365200f9c3fb3e499ad2c438118d5ed204bbd652e2b47816d343171b628f3d3b354f996986102f1cdda6146f8103385567bd SHA512 80b760188ff5692ea6283234a5e7d7895328bdd9f7a77e638b5507beff7aebc439edc5585a232de38811bc9f6dbb5e0f9a2d67d387f2f84e6b6dfb2b70739a89
+DIST code-server-4.0.1-linux-arm64.tar.gz 186429607 BLAKE2B a2384e01f4daf72112682bad3f0a926366c52796b9243e9d49e4697a6ad8d65414361147f8c65ff763cf078ecd3ad31249e447877137b53d21d367d8a51a7f19 SHA512 b02fe1f336a612cafaf43bc442ad2150ab6eb8f65df2aa66f45e11798a1434c0adf7e3163c34c1cf606b9a2157f2055f9a973a6bad8d8d08a2f0ed49725b04b1

diff --git a/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
new file mode 100644
index 000000000..b3c52ff91
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-14.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="
+	/usr/lib*/code-server/lib/coder-cloud-agent
+	/usr/lib*/code-server/vendor/modules/code-oss-dev/node_modules/*
+	/usr/lib*/code-server/node_modules/*
+"
+QA_PRESTRIPPED="
+	/usr/lib*/code-server/lib/coder-cloud-agent
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
+		|| die "failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/usr/$(get_libdir)/${MY_PN}"
+	doins -r .
+	fperms +x "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}"
+	dosym -r "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
+
+	dosym -r "/usr/bin/rg" "${EPREFIX}/usr/$(get_libdir)/${MY_PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-01-28 21:55 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-01-28 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bbf75e90c41d91171d8861b72e51f376842e2e78
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Jan 28 21:37:55 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Jan 28 21:37:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbf75e90

www-apps/code-server-bin: bump to 4.0.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.0.2.ebuild   | 122 +++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 34b735ea0..0ac2b2974 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-3.12.0-linux-amd64.tar.gz 98959884 BLAKE2B 7be2195b1d2e32524462
 DIST code-server-3.12.0-linux-arm64.tar.gz 97388956 BLAKE2B b73d41ce320e3af7e980972a64d7d47d11c9bf1d1d69ca7c7cb16e1963d5b1fada4558a8630c317cf82093f1aa4126c33246a3aec7581f2723d1497cedb504c8 SHA512 f23def255bc6bfcf0e796d7cabb104bb1c7a8576783150ff8b8f040a8792d3df8f97f7c5a8e7963eab2ff7f6f4a203543d4b127f27a7b2885ceb52ae62c8b5c6
 DIST code-server-4.0.1-linux-amd64.tar.gz 189350818 BLAKE2B 8021ee303ca759c92a764508b611365200f9c3fb3e499ad2c438118d5ed204bbd652e2b47816d343171b628f3d3b354f996986102f1cdda6146f8103385567bd SHA512 80b760188ff5692ea6283234a5e7d7895328bdd9f7a77e638b5507beff7aebc439edc5585a232de38811bc9f6dbb5e0f9a2d67d387f2f84e6b6dfb2b70739a89
 DIST code-server-4.0.1-linux-arm64.tar.gz 186429607 BLAKE2B a2384e01f4daf72112682bad3f0a926366c52796b9243e9d49e4697a6ad8d65414361147f8c65ff763cf078ecd3ad31249e447877137b53d21d367d8a51a7f19 SHA512 b02fe1f336a612cafaf43bc442ad2150ab6eb8f65df2aa66f45e11798a1434c0adf7e3163c34c1cf606b9a2157f2055f9a973a6bad8d8d08a2f0ed49725b04b1
+DIST code-server-4.0.2-linux-amd64.tar.gz 193994013 BLAKE2B f1eee2e8bd583015b4a8627d050d5f65fdf298b5ae21656b038abd6d2ac323cf7360f1de1e8d532fc9460e108822627b5981fb09bf8040f432646052b7561da5 SHA512 29776ea7a730ddcc2d4fbe17f93a0e9caeae237bb6e565a52c931d52e9de36aaa5cd6f58a6201ff1f42924ade29d04cb2e9d081c4ede67192c410d51b9214fed
+DIST code-server-4.0.2-linux-arm64.tar.gz 191067638 BLAKE2B 537a091608cf13a87b541e410754c2e96893a59fd8be04925f3925063ae4f71faf491c37f09216dcfd05c1eacf541294f94820ad3db3a9793f866d4f43ac047b SHA512 b29c7da686fe979ce1139f58c46ed49fe0a99e90e8109f428b6530b4fcb492c951c72b80baef115250a30ca67f02d9502be232957ce1807f9cd434f07e36a5de

diff --git a/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild b/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
new file mode 100644
index 000000000..00d3be17d
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT "
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-14.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="
+	/opt/code-server-bin/lib/coder-cloud-agent
+	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/obj.target/iselevated.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/iselevated.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/node-pty/build/Release/pty.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/obj.target/watchdog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/watchdog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/obj.target/spdlog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/spdlog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/obj.target/nsfw.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/nsfw.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/sqlite.node
+"
+
+QA_PRESTRIPPED="
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+
+	# Other OS's
+	rm -rf ./vendor/modules/code-oss-dev/node_modules/windows-foreground-love || die
+	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/win32-x64 || die
+	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/darwin-x64 || die
+	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/darwin-arm64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm -rf ./node_modules/@node-rs/argon2-linux-x64-musl || die
+		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+	fi
+
+	# We don't need electron
+	rm -rf ./vendor/modules/code-oss-dev/node_modules/electron || die
+	rm ./vendor/modules/code-oss-dev/node_modules/.bin/electron
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-01-28 21:55 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-01-28 21:55 UTC (permalink / raw
  To: gentoo-commits

commit:     fa4ea679330874c2291b87c6ce17a08d10f93169
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Jan 28 21:34:36 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Jan 28 21:35:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa4ea679

www-apps/code-server-bin: drop 3.10.0

Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |  2 -
 .../code-server-bin/code-server-bin-3.10.0.ebuild  | 91 ----------------------
 2 files changed, 93 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index bb9563565..34b735ea0 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,5 +1,3 @@
-DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956ce1dca8b8d7fa91eca6db8eb9808a68db28b9e9a8caa5432582cfa765ff0ac1ce948866a7f91a45df42045a83b75c13ac793ed1a78ee SHA512 bd0410e0310a027ff1ed3f7c8b0d07a4a28baf8df924192d8a240f8011765b6a1daaae94bc7f37d1904dc9c2813d951eeb0c289aadd0192a15daa9cb6461c25d
-DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e
 DIST code-server-3.12.0-linux-amd64.tar.gz 98959884 BLAKE2B 7be2195b1d2e325244620bf59608fb21390846657249e182b43224ede950aafbd837b09100af67925a92054923239e079063e6dff23cc6c9e4c0dbe010684069 SHA512 f14fce86d4a837cdfe867beb7256d7d57035edac258c7ac5be8de8fb778771ad0ff5549920a41ef80504e738727c0159c1dbff70c7b48cfe37415dd4c9ad40c6
 DIST code-server-3.12.0-linux-arm64.tar.gz 97388956 BLAKE2B b73d41ce320e3af7e980972a64d7d47d11c9bf1d1d69ca7c7cb16e1963d5b1fada4558a8630c317cf82093f1aa4126c33246a3aec7581f2723d1497cedb504c8 SHA512 f23def255bc6bfcf0e796d7cabb104bb1c7a8576783150ff8b8f040a8792d3df8f97f7c5a8e7963eab2ff7f6f4a203543d4b127f27a7b2885ceb52ae62c8b5c6
 DIST code-server-4.0.1-linux-amd64.tar.gz 189350818 BLAKE2B 8021ee303ca759c92a764508b611365200f9c3fb3e499ad2c438118d5ed204bbd652e2b47816d343171b628f3d3b354f996986102f1cdda6146f8103385567bd SHA512 80b760188ff5692ea6283234a5e7d7895328bdd9f7a77e638b5507beff7aebc439edc5585a232de38811bc9f6dbb5e0f9a2d67d387f2f84e6b6dfb2b70739a89

diff --git a/www-apps/code-server-bin/code-server-bin-3.10.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.10.0.ebuild
deleted file mode 100644
index 553092c68..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.10.0.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-# In case we ever make a non-"-binary" pkg
-DEPEND="
-	!www-apps/code-server
-"
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-12.16.1:0/12[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="
-	/usr/lib/code-server/lib/coder-cloud-agent
-	/usr/lib/code-server/lib/vscode/node_modules/*
-"
-QA_PRESTRIPPED="
-	/usr/lib/code-server/lib/coder-cloud-agent
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/lib/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}"
-	dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-02-12  2:31 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-02-12  2:31 UTC (permalink / raw
  To: gentoo-commits

commit:     3a0d3db6e2f62b4b2d3f0ebbe949f91d63d4d39a
Author:     Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Feb  5 02:04:03 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Sat Feb 12 02:30:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a0d3db6

www-apps/code-server-bin: fix licenses

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/code-server-bin-3.12.0.ebuild |  9 +++++++--
 www-apps/code-server-bin/code-server-bin-4.0.1.ebuild  |  6 +++++-
 www-apps/code-server-bin/code-server-bin-4.0.2.ebuild  | 10 ++++++----
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
index 39258a555..1b38d7c7e 100644
--- a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-3.12.0.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
@@ -17,7 +17,12 @@ SRC_URI="
 "
 
 RESTRICT="test"
-LICENSE="MIT"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT CC0-1.0 )
+	|| ( MIT WTFPL )
+"
+
 SLOT="0"
 KEYWORDS="-* ~amd64 ~arm64"
 IUSE="gnome-keyring"

diff --git a/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
index b3c52ff91..6e9129274 100644
--- a/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
@@ -17,7 +17,11 @@ SRC_URI="
 "
 
 RESTRICT="test"
-LICENSE="MIT"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT CC0-1.0 )
+	|| ( MIT WTFPL )
+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 IUSE="gnome-keyring"

diff --git a/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild b/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
index 00d3be17d..ae11684ad 100644
--- a/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
@@ -17,7 +17,11 @@ SRC_URI="
 "
 
 RESTRICT="test"
-LICENSE="MIT "
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT CC0-1.0 )
+	|| ( MIT WTFPL )
+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 IUSE="gnome-keyring"
@@ -84,11 +88,9 @@ src_prepare() {
 	# already in /usr/portage/licenses/MIT
 	rm ./LICENSE.txt || die
 
-	# Other OS's
+	# For windows
 	rm -rf ./vendor/modules/code-oss-dev/node_modules/windows-foreground-love || die
 	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/win32-x64 || die
-	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/darwin-x64 || die
-	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/darwin-arm64 || die
 
 	if [[ $ELIBC != "musl" ]]; then
 		rm -rf ./node_modules/@node-rs/argon2-linux-x64-musl || die


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-03-04  3:50 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-03-04  3:50 UTC (permalink / raw
  To: gentoo-commits

commit:     23dffcd5f7e5ec05f215bb72c75072a27550a749
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Mar  4 03:28:14 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Mar  4 03:28:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23dffcd5

www-apps/code-server-bin: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |  2 -
 .../code-server-bin/code-server-bin-3.12.0.ebuild  | 93 ----------------------
 2 files changed, 95 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index d739adf84..b919b750c 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,5 +1,3 @@
-DIST code-server-3.12.0-linux-amd64.tar.gz 98959884 BLAKE2B 7be2195b1d2e325244620bf59608fb21390846657249e182b43224ede950aafbd837b09100af67925a92054923239e079063e6dff23cc6c9e4c0dbe010684069 SHA512 f14fce86d4a837cdfe867beb7256d7d57035edac258c7ac5be8de8fb778771ad0ff5549920a41ef80504e738727c0159c1dbff70c7b48cfe37415dd4c9ad40c6
-DIST code-server-3.12.0-linux-arm64.tar.gz 97388956 BLAKE2B b73d41ce320e3af7e980972a64d7d47d11c9bf1d1d69ca7c7cb16e1963d5b1fada4558a8630c317cf82093f1aa4126c33246a3aec7581f2723d1497cedb504c8 SHA512 f23def255bc6bfcf0e796d7cabb104bb1c7a8576783150ff8b8f040a8792d3df8f97f7c5a8e7963eab2ff7f6f4a203543d4b127f27a7b2885ceb52ae62c8b5c6
 DIST code-server-4.0.1-linux-amd64.tar.gz 189350818 BLAKE2B 8021ee303ca759c92a764508b611365200f9c3fb3e499ad2c438118d5ed204bbd652e2b47816d343171b628f3d3b354f996986102f1cdda6146f8103385567bd SHA512 80b760188ff5692ea6283234a5e7d7895328bdd9f7a77e638b5507beff7aebc439edc5585a232de38811bc9f6dbb5e0f9a2d67d387f2f84e6b6dfb2b70739a89
 DIST code-server-4.0.1-linux-arm64.tar.gz 186429607 BLAKE2B a2384e01f4daf72112682bad3f0a926366c52796b9243e9d49e4697a6ad8d65414361147f8c65ff763cf078ecd3ad31249e447877137b53d21d367d8a51a7f19 SHA512 b02fe1f336a612cafaf43bc442ad2150ab6eb8f65df2aa66f45e11798a1434c0adf7e3163c34c1cf606b9a2157f2055f9a973a6bad8d8d08a2f0ed49725b04b1
 DIST code-server-4.0.2-linux-amd64.tar.gz 193994013 BLAKE2B f1eee2e8bd583015b4a8627d050d5f65fdf298b5ae21656b038abd6d2ac323cf7360f1de1e8d532fc9460e108822627b5981fb09bf8040f432646052b7561da5 SHA512 29776ea7a730ddcc2d4fbe17f93a0e9caeae237bb6e565a52c931d52e9de36aaa5cd6f58a6201ff1f42924ade29d04cb2e9d081c4ede67192c410d51b9214fed

diff --git a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
deleted file mode 100644
index 1b38d7c7e..000000000
--- a/www-apps/code-server-bin/code-server-bin-3.12.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT CC0-1.0 )
-	|| ( MIT WTFPL )
-"
-
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-14.17.5:0/14[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="
-	/usr/lib64/code-server/lib/coder-cloud-agent
-	/usr/lib64/code-server/vendor/modules/code-oss-dev/node_modules/*
-	/usr/lib64/code-server/node_modules/*
-"
-QA_PRESTRIPPED="
-	/usr/lib64/code-server/lib/coder-cloud-agent
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/$(get_libdir)/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}"
-	dosym -r "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym -r "/usr/bin/rg" "${EPREFIX}/usr/$(get_libdir)/${MY_PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_dounit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-03-04  3:50 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-03-04  3:50 UTC (permalink / raw
  To: gentoo-commits

commit:     4635cacd6d787bae7598c314b7b70ab882ef7840
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Mar  4 03:27:35 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Mar  4 03:28:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4635cacd

www-apps/code-server-bin: bump to 4.1.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.1.0.ebuild   | 124 +++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 0ac2b2974..d739adf84 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-4.0.1-linux-amd64.tar.gz 189350818 BLAKE2B 8021ee303ca759c92a76
 DIST code-server-4.0.1-linux-arm64.tar.gz 186429607 BLAKE2B a2384e01f4daf72112682bad3f0a926366c52796b9243e9d49e4697a6ad8d65414361147f8c65ff763cf078ecd3ad31249e447877137b53d21d367d8a51a7f19 SHA512 b02fe1f336a612cafaf43bc442ad2150ab6eb8f65df2aa66f45e11798a1434c0adf7e3163c34c1cf606b9a2157f2055f9a973a6bad8d8d08a2f0ed49725b04b1
 DIST code-server-4.0.2-linux-amd64.tar.gz 193994013 BLAKE2B f1eee2e8bd583015b4a8627d050d5f65fdf298b5ae21656b038abd6d2ac323cf7360f1de1e8d532fc9460e108822627b5981fb09bf8040f432646052b7561da5 SHA512 29776ea7a730ddcc2d4fbe17f93a0e9caeae237bb6e565a52c931d52e9de36aaa5cd6f58a6201ff1f42924ade29d04cb2e9d081c4ede67192c410d51b9214fed
 DIST code-server-4.0.2-linux-arm64.tar.gz 191067638 BLAKE2B 537a091608cf13a87b541e410754c2e96893a59fd8be04925f3925063ae4f71faf491c37f09216dcfd05c1eacf541294f94820ad3db3a9793f866d4f43ac047b SHA512 b29c7da686fe979ce1139f58c46ed49fe0a99e90e8109f428b6530b4fcb492c951c72b80baef115250a30ca67f02d9502be232957ce1807f9cd434f07e36a5de
+DIST code-server-4.1.0-linux-amd64.tar.gz 189936485 BLAKE2B 002f90ffd550061cb9161776559a4ca2562c682aa7737bb5213bfb657d792b8ba92f8132d33b741d53c0f6eb2988f1e5703af3380b184bc97e44d4e29053bb97 SHA512 33d77d08e7401c7d7b87da6c217e4504b813aa2a6045bff4aaacda7b1ff73cbcddeeb6e4b844d6ddfbde26cce42179098c60bec5ecc960a6c54b2ebc7a726c6a
+DIST code-server-4.1.0-linux-arm64.tar.gz 186692988 BLAKE2B 6379d9bbcea11f3c68eb281abe820c4740bdc19699292c80b7aa42a442478f5964a06a965aac0719f110b9e08431d5a9359484130203cedcc3ad3b38e3a70388 SHA512 a3750e7468037951342772d578a08defd65de1694c649161c6027980920fba9b079ecf63ac7ae05731afc209e4fa4020be857a563a4b599c22bb5d867c5d47c7

diff --git a/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
new file mode 100644
index 000000000..ae11684ad
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT CC0-1.0 )
+	|| ( MIT WTFPL )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-14.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="
+	/opt/code-server-bin/lib/coder-cloud-agent
+	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/obj.target/iselevated.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/iselevated.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/node-pty/build/Release/pty.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/obj.target/watchdog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/watchdog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/obj.target/spdlog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/spdlog.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/obj.target/nsfw.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/nsfw.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/sqlite.node
+"
+
+QA_PRESTRIPPED="
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# already in /usr/portage/licenses/MIT
+	rm ./LICENSE.txt || die
+
+	# For windows
+	rm -rf ./vendor/modules/code-oss-dev/node_modules/windows-foreground-love || die
+	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm -rf ./node_modules/@node-rs/argon2-linux-x64-musl || die
+		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+	fi
+
+	# We don't need electron
+	rm -rf ./vendor/modules/code-oss-dev/node_modules/electron || die
+	rm ./vendor/modules/code-oss-dev/node_modules/.bin/electron
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-04-14 23:54 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-04-14 23:54 UTC (permalink / raw
  To: gentoo-commits

commit:     3db01d3a45a4609d491c77fe98f351ca07d4c2cb
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Thu Apr 14 23:08:51 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Thu Apr 14 23:53:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3db01d3a

www-apps/code-server-bin: drop 4.0.1, 4.0.2

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   4 -
 .../code-server-bin/code-server-bin-4.0.1.ebuild   |  92 ---------------
 .../code-server-bin/code-server-bin-4.0.2.ebuild   | 124 ---------------------
 3 files changed, 220 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index b919b750c..f3cbca1bd 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,6 +1,2 @@
-DIST code-server-4.0.1-linux-amd64.tar.gz 189350818 BLAKE2B 8021ee303ca759c92a764508b611365200f9c3fb3e499ad2c438118d5ed204bbd652e2b47816d343171b628f3d3b354f996986102f1cdda6146f8103385567bd SHA512 80b760188ff5692ea6283234a5e7d7895328bdd9f7a77e638b5507beff7aebc439edc5585a232de38811bc9f6dbb5e0f9a2d67d387f2f84e6b6dfb2b70739a89
-DIST code-server-4.0.1-linux-arm64.tar.gz 186429607 BLAKE2B a2384e01f4daf72112682bad3f0a926366c52796b9243e9d49e4697a6ad8d65414361147f8c65ff763cf078ecd3ad31249e447877137b53d21d367d8a51a7f19 SHA512 b02fe1f336a612cafaf43bc442ad2150ab6eb8f65df2aa66f45e11798a1434c0adf7e3163c34c1cf606b9a2157f2055f9a973a6bad8d8d08a2f0ed49725b04b1
-DIST code-server-4.0.2-linux-amd64.tar.gz 193994013 BLAKE2B f1eee2e8bd583015b4a8627d050d5f65fdf298b5ae21656b038abd6d2ac323cf7360f1de1e8d532fc9460e108822627b5981fb09bf8040f432646052b7561da5 SHA512 29776ea7a730ddcc2d4fbe17f93a0e9caeae237bb6e565a52c931d52e9de36aaa5cd6f58a6201ff1f42924ade29d04cb2e9d081c4ede67192c410d51b9214fed
-DIST code-server-4.0.2-linux-arm64.tar.gz 191067638 BLAKE2B 537a091608cf13a87b541e410754c2e96893a59fd8be04925f3925063ae4f71faf491c37f09216dcfd05c1eacf541294f94820ad3db3a9793f866d4f43ac047b SHA512 b29c7da686fe979ce1139f58c46ed49fe0a99e90e8109f428b6530b4fcb492c951c72b80baef115250a30ca67f02d9502be232957ce1807f9cd434f07e36a5de
 DIST code-server-4.1.0-linux-amd64.tar.gz 189936485 BLAKE2B 002f90ffd550061cb9161776559a4ca2562c682aa7737bb5213bfb657d792b8ba92f8132d33b741d53c0f6eb2988f1e5703af3380b184bc97e44d4e29053bb97 SHA512 33d77d08e7401c7d7b87da6c217e4504b813aa2a6045bff4aaacda7b1ff73cbcddeeb6e4b844d6ddfbde26cce42179098c60bec5ecc960a6c54b2ebc7a726c6a
 DIST code-server-4.1.0-linux-arm64.tar.gz 186692988 BLAKE2B 6379d9bbcea11f3c68eb281abe820c4740bdc19699292c80b7aa42a442478f5964a06a965aac0719f110b9e08431d5a9359484130203cedcc3ad3b38e3a70388 SHA512 a3750e7468037951342772d578a08defd65de1694c649161c6027980920fba9b079ecf63ac7ae05731afc209e4fa4020be857a563a4b599c22bb5d867c5d47c7

diff --git a/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
deleted file mode 100644
index 6e9129274..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.0.1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT CC0-1.0 )
-	|| ( MIT WTFPL )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-14.0[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="
-	/usr/lib*/code-server/lib/coder-cloud-agent
-	/usr/lib*/code-server/vendor/modules/code-oss-dev/node_modules/*
-	/usr/lib*/code-server/node_modules/*
-"
-QA_PRESTRIPPED="
-	/usr/lib*/code-server/lib/coder-cloud-agent
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
-		|| die "failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/usr/$(get_libdir)/${MY_PN}"
-	doins -r .
-	fperms +x "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}"
-	dosym -r "/usr/$(get_libdir)/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}"
-
-	dosym -r "/usr/bin/rg" "${EPREFIX}/usr/$(get_libdir)/${MY_PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild b/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
deleted file mode 100644
index ae11684ad..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.0.2.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT CC0-1.0 )
-	|| ( MIT WTFPL )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-14.0[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="
-	/opt/code-server-bin/lib/coder-cloud-agent
-	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/obj.target/iselevated.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/iselevated.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/node-pty/build/Release/pty.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/obj.target/watchdog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/watchdog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/obj.target/spdlog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/spdlog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/obj.target/nsfw.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/nsfw.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/sqlite.node
-"
-
-QA_PRESTRIPPED="
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# already in /usr/portage/licenses/MIT
-	rm ./LICENSE.txt || die
-
-	# For windows
-	rm -rf ./vendor/modules/code-oss-dev/node_modules/windows-foreground-love || die
-	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm -rf ./node_modules/@node-rs/argon2-linux-x64-musl || die
-		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-	fi
-
-	# We don't need electron
-	rm -rf ./vendor/modules/code-oss-dev/node_modules/electron || die
-	rm ./vendor/modules/code-oss-dev/node_modules/.bin/electron
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-04-14 23:54 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-04-14 23:54 UTC (permalink / raw
  To: gentoo-commits

commit:     fba7fc2a759942fe61da56f07e12b695d2bf6c17
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Thu Apr 14 23:30:47 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Thu Apr 14 23:53:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fba7fc2a

www-apps/code-server-bin: fix CFLAGS/LDFLAGS QA notice

Closes: https://bugs.gentoo.org/834755
Closes: https://bugs.gentoo.org/834756
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 .../code-server-bin/code-server-bin-4.1.0.ebuild   | 64 ++++++++++++----------
 1 file changed, 36 insertions(+), 28 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
index ae11684ad..36b720788 100644
--- a/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
@@ -28,7 +28,7 @@ IUSE="gnome-keyring"
 
 RDEPEND="
 	${DEPEND}
-	>=net-libs/nodejs-14.0[ssl]
+	>=net-libs/nodejs-14[ssl]
 	sys-apps/ripgrep
 	gnome-keyring? (
 		app-crypt/libsecret
@@ -41,29 +41,37 @@ PATCHES=( "${FILESDIR}/${PN}-node.patch" )
 
 DOCS=( "README.md" "ThirdPartyNotices.txt" )
 
+# Relative to parent
+CODE_OSS_MODULES="vendor/modules/code-oss-dev/node_modules"
+
 QA_PREBUILT="
-	/opt/code-server-bin/lib/coder-cloud-agent
-	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/obj.target/iselevated.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-is-elevated/build/Release/iselevated.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/node-pty/build/Release/pty.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/obj.target/watchdog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/native-watchdog/build/Release/watchdog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/obj.target/spdlog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/spdlog/build/Release/spdlog.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/obj.target/nsfw.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/vscode-nsfw/build/Release/nsfw.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@vscode/sqlite3/build/Release/sqlite.node
+	/opt/${PN}/lib/coder-cloud-agent
+	/opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	/opt/${PN}/${CODE_OSS_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	/opt/${PN}/${CODE_OSS_MODULES}/native-is-elevated/build/Release/iselevated.node
+	/opt/${PN}/${CODE_OSS_MODULES}/node-pty/build/Release/pty.node
+	/opt/${PN}/${CODE_OSS_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	/opt/${PN}/${CODE_OSS_MODULES}/native-watchdog/build/Release/watchdog.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	/opt/${PN}/${CODE_OSS_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	/opt/${PN}/${CODE_OSS_MODULES}/spdlog/build/Release/spdlog.node
+	/opt/${PN}/${CODE_OSS_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	/opt/${PN}/${CODE_OSS_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/build/Release/watcher.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
 "
 
 QA_PRESTRIPPED="
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/code-server-bin/vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	/opt/code-server-bin/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
 "
 
 src_prepare() {
@@ -78,7 +86,7 @@ src_prepare() {
 		|| die "Failed to remove bundled nodejs"
 
 	# remove bundled ripgrep binary
-	rm ./vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg \
+	rm ./"${CODE_OSS_MODULES}"/vscode-ripgrep/bin/rg \
 		|| die "Failed to remove bundled ripgrep"
 
 	# not needed
@@ -89,19 +97,19 @@ src_prepare() {
 	rm ./LICENSE.txt || die
 
 	# For windows
-	rm -rf ./vendor/modules/code-oss-dev/node_modules/windows-foreground-love || die
-	rm -rf .vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/win32-x64 || die
+	rm -rf ./"${CODE_OSS_MODULES}"/windows-foreground-love || die
+	rm -rf ."${CODE_OSS_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
 
 	if [[ $ELIBC != "musl" ]]; then
 		rm -rf ./node_modules/@node-rs/argon2-linux-x64-musl || die
-		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+		rm ./"${CODE_OSS_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
 	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./vendor/modules/code-oss-dev/node_modules/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${CODE_OSS_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
 	fi
 
 	# We don't need electron
-	rm -rf ./vendor/modules/code-oss-dev/node_modules/electron || die
-	rm ./vendor/modules/code-oss-dev/node_modules/.bin/electron
+	rm -rf ./"${CODE_OSS_MODULES}"/electron || die
+	rm ./"${CODE_OSS_MODULES}"/.bin/electron
 }
 
 src_install() {
@@ -113,7 +121,7 @@ src_install() {
 	dosym -r "/opt/${PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
 
 	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/vendor/modules/code-oss-dev/node_modules/vscode-ripgrep/bin/rg"
+		"${EPREFIX}/opt/${PN}/${CODE_OSS_MODULES}/vscode-ripgrep/bin/rg"
 
 	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-04-14 23:54 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-04-14 23:54 UTC (permalink / raw
  To: gentoo-commits

commit:     91d58766946c7b6d114bf3009f3e7f5f77bdc4bf
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Thu Apr 14 23:52:20 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Thu Apr 14 23:53:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91d58766

www-apps/code-server-bin: add 4.3.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.3.0.ebuild   | 124 +++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index f3cbca1bd..e28bc2a7f 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,2 +1,4 @@
 DIST code-server-4.1.0-linux-amd64.tar.gz 189936485 BLAKE2B 002f90ffd550061cb9161776559a4ca2562c682aa7737bb5213bfb657d792b8ba92f8132d33b741d53c0f6eb2988f1e5703af3380b184bc97e44d4e29053bb97 SHA512 33d77d08e7401c7d7b87da6c217e4504b813aa2a6045bff4aaacda7b1ff73cbcddeeb6e4b844d6ddfbde26cce42179098c60bec5ecc960a6c54b2ebc7a726c6a
 DIST code-server-4.1.0-linux-arm64.tar.gz 186692988 BLAKE2B 6379d9bbcea11f3c68eb281abe820c4740bdc19699292c80b7aa42a442478f5964a06a965aac0719f110b9e08431d5a9359484130203cedcc3ad3b38e3a70388 SHA512 a3750e7468037951342772d578a08defd65de1694c649161c6027980920fba9b079ecf63ac7ae05731afc209e4fa4020be857a563a4b599c22bb5d867c5d47c7
+DIST code-server-4.3.0-linux-amd64.tar.gz 95902305 BLAKE2B 37fd4c821c2d9fde01c483cba9657632d8d07ce7af3a884aa959c7ff722d25300d822dac84e0a173e9f8eedc0e49f5f52ca7779b850e5b3007516f7c6bf2e569 SHA512 9f7fc56b69a928dcd348cf27ce65a93b2732b9001cc51388807aa78e68a31ba4a8c891b93b079efe27196069c5a4530c0c15e78070b86922262fa4f61adbda83
+DIST code-server-4.3.0-linux-arm64.tar.gz 87052785 BLAKE2B 0255e8779e3e9b4ad74f512e2ae70a40bc1b72ee43140d095a7cc5d4444337b4b8b61d6d4d1408b5abd6d8e36d0e5911732c0330cdd8a2667c70b9cde47ca9fd SHA512 8df885698addff944afc4b69f743ec14f464eb00d3ddd61e8e9665a130aaacb6487db65d549ec401bbda2c81631c9b088c3950551e26672f3be93a804913787e

diff --git a/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild
new file mode 100644
index 000000000..461b610d7
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT CC0-1.0 )
+	|| ( MIT WTFPL )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-14.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "README.md" "ThirdPartyNotices.txt" "LICENSE" )
+
+# Relative to parent
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PREBUILT="
+	/opt/${PN}/lib/coder-cloud-agent
+	/opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	/opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	/opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
+	/opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
+	/opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	/opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
+	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	/opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	/opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
+	/opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	/opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	/opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	/opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
+	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+"
+
+QA_PRESTRIPPED="
+	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -rf ./"${VSCODE_MODULES}"/windows-foreground-love || die
+	rm -rf ."${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm -rf ./node_modules/@node-rs/argon2-linux-x64-musl || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+	fi
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${MY_PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-04-15 15:02 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-04-15 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     91689dfd9cbc5f2f7d7ff8ed62782e6fa89ff9b3
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Apr 15 14:57:23 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Apr 15 15:01:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91689dfd

www-apps/code-server-bin: make QA_PREBUILT relative

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 .../code-server-bin/code-server-bin-4.1.0.ebuild   | 48 +++++++++++-----------
 .../code-server-bin/code-server-bin-4.3.0.ebuild   | 48 +++++++++++-----------
 2 files changed, 48 insertions(+), 48 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
index 36b720788..49963aa49 100644
--- a/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.1.0.ebuild
@@ -45,33 +45,33 @@ DOCS=( "README.md" "ThirdPartyNotices.txt" )
 CODE_OSS_MODULES="vendor/modules/code-oss-dev/node_modules"
 
 QA_PREBUILT="
-	/opt/${PN}/lib/coder-cloud-agent
-	/opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	/opt/${PN}/${CODE_OSS_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	/opt/${PN}/${CODE_OSS_MODULES}/native-is-elevated/build/Release/iselevated.node
-	/opt/${PN}/${CODE_OSS_MODULES}/node-pty/build/Release/pty.node
-	/opt/${PN}/${CODE_OSS_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	/opt/${PN}/${CODE_OSS_MODULES}/native-watchdog/build/Release/watchdog.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	/opt/${PN}/${CODE_OSS_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	/opt/${PN}/${CODE_OSS_MODULES}/spdlog/build/Release/spdlog.node
-	/opt/${PN}/${CODE_OSS_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	/opt/${PN}/${CODE_OSS_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/build/Release/watcher.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+	opt/${PN}/lib/coder-cloud-agent
+	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	opt/${PN}/${CODE_OSS_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	opt/${PN}/${CODE_OSS_MODULES}/native-is-elevated/build/Release/iselevated.node
+	opt/${PN}/${CODE_OSS_MODULES}/node-pty/build/Release/pty.node
+	opt/${PN}/${CODE_OSS_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	opt/${PN}/${CODE_OSS_MODULES}/native-watchdog/build/Release/watchdog.node
+	opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/${CODE_OSS_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	opt/${PN}/${CODE_OSS_MODULES}/spdlog/build/Release/spdlog.node
+	opt/${PN}/${CODE_OSS_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	opt/${PN}/${CODE_OSS_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	opt/${PN}/${CODE_OSS_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	opt/${PN}/${CODE_OSS_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/build/Release/watcher.node
+	opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
 "
 
 QA_PRESTRIPPED="
-	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${CODE_OSS_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
 "
 
 src_prepare() {

diff --git a/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild
index 461b610d7..c8e1add58 100644
--- a/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.3.0.ebuild
@@ -44,33 +44,33 @@ DOCS=( "README.md" "ThirdPartyNotices.txt" "LICENSE" )
 VSCODE_MODULES="lib/vscode/node_modules"
 
 QA_PREBUILT="
-	/opt/${PN}/lib/coder-cloud-agent
-	/opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	/opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	/opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	/opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
-	/opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
-	/opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	/opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
-	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	/opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	/opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
-	/opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	/opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	/opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	/opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
-	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+	opt/${PN}/lib/coder-cloud-agent
+	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
 "
 
 QA_PRESTRIPPED="
-	/opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	/opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
 "
 
 src_prepare() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-09-09  2:57 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-09-09  2:57 UTC (permalink / raw
  To: gentoo-commits

commit:     86d79e93a1b6f7fffa3b8543d87a99a10ee96a14
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Sep  9 02:47:58 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Sep  9 02:52:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86d79e93

www-apps/code-server-bin: add 4.6.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.6.1.ebuild   | 126 +++++++++++++++++++++
 2 files changed, 128 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index cf97e193e..adf420fc6 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,2 +1,4 @@
 DIST code-server-4.5.1-linux-amd64.tar.gz 99839294 BLAKE2B a72b14b8647b8814d4c79e84f2cf0ef09f8db5462bb1a4611cb65c089e9dea24d72bda3a20ac3a606d7c5ff2f62e23b0d53daec0444421ad3d302343e947468b SHA512 d53f2187830617ce83a0b23ad7258571436fe0d2e259a2d2f0f5869c6588c68974ddcc1871a5eb09c5106e32460732a3449a1d4b0a5d14b921061eea080e89fc
 DIST code-server-4.5.1-linux-arm64.tar.gz 90931432 BLAKE2B 829c405c4b47339dad4bcc883433716e2f2da2b64e90b461fa8fb12f61414768a0705624c01f1eb13fc984a09fe1d8ce15c36aefd33afcd8406af7688d58a552 SHA512 91f1554c0505eefc717ea6f479fa6d7560c1abd121934842e333775d0a01a205dea203914d223a8c4ea69edd65203a557243e4a4fe040e0833531e77a31e5398
+DIST code-server-4.6.1-linux-amd64.tar.gz 98908844 BLAKE2B 7ca74733578b8f2fcfbc395a2fd385511b23ebced014f024904e1bf29dfa48f0ac7295746f61ea3a9d8cafa13e2b9072d48062f753ffab4f95470b868958d5e7 SHA512 d4bf2cbc06cdf6fe387758a6968bb4db375745f24c32c7b1f5ad199295fb363b83a071d6de78f55f117e20e78287274a0ab7b654b03454ed3056e4ea4cbefb2d
+DIST code-server-4.6.1-linux-arm64.tar.gz 89823651 BLAKE2B 1795c6d7f3198f26a5f8567fe00c59e01f6bc9dd1230e74672671399d3ee9d2566ae73711ae30fdece51a387c4d5cfe3738ade6705b91610da67fabc7adcc6fc SHA512 36c3d102c5fdf09c1ce8e22edc10464c6f9b6915572a7ce8b9c50a77f77489a5ba89e050f204383375d04772f7ebce6dde5d6914c3d769af8f7e4d2e53831b0c

diff --git a/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild
new file mode 100644
index 000000000..9c32a8ba2
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PREBUILT="
+	opt/${PN}/lib/coder-cloud-agent
+	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-09-22  5:40 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-09-22  5:40 UTC (permalink / raw
  To: gentoo-commits

commit:     a8d131e9bbcb4d4b6eb9db31216062f9243e84b7
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Thu Sep 22 05:25:56 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Thu Sep 22 05:40:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8d131e9

www-apps/code-server-bin: add 4.7.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.7.0.ebuild   | 127 +++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index adf420fc6..5bbdae39c 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-4.5.1-linux-amd64.tar.gz 99839294 BLAKE2B a72b14b8647b8814d4c79
 DIST code-server-4.5.1-linux-arm64.tar.gz 90931432 BLAKE2B 829c405c4b47339dad4bcc883433716e2f2da2b64e90b461fa8fb12f61414768a0705624c01f1eb13fc984a09fe1d8ce15c36aefd33afcd8406af7688d58a552 SHA512 91f1554c0505eefc717ea6f479fa6d7560c1abd121934842e333775d0a01a205dea203914d223a8c4ea69edd65203a557243e4a4fe040e0833531e77a31e5398
 DIST code-server-4.6.1-linux-amd64.tar.gz 98908844 BLAKE2B 7ca74733578b8f2fcfbc395a2fd385511b23ebced014f024904e1bf29dfa48f0ac7295746f61ea3a9d8cafa13e2b9072d48062f753ffab4f95470b868958d5e7 SHA512 d4bf2cbc06cdf6fe387758a6968bb4db375745f24c32c7b1f5ad199295fb363b83a071d6de78f55f117e20e78287274a0ab7b654b03454ed3056e4ea4cbefb2d
 DIST code-server-4.6.1-linux-arm64.tar.gz 89823651 BLAKE2B 1795c6d7f3198f26a5f8567fe00c59e01f6bc9dd1230e74672671399d3ee9d2566ae73711ae30fdece51a387c4d5cfe3738ade6705b91610da67fabc7adcc6fc SHA512 36c3d102c5fdf09c1ce8e22edc10464c6f9b6915572a7ce8b9c50a77f77489a5ba89e050f204383375d04772f7ebce6dde5d6914c3d769af8f7e4d2e53831b0c
+DIST code-server-4.7.0-linux-amd64.tar.gz 103853310 BLAKE2B a6435b233f2d5aeebe6a5c057f5e98e1c66496c380c60b59ba69eaef17e5dfb84f169dbbd99baac26936dc2de7055dae906436c77311118562eaed96907688fe SHA512 2e07c6e55625a17538a9cde29065196b0c065b9791dc56a76e24bdb5a2eec11133b7f1f8d8fce512da3dc8dda69cea31572d3d16b0472123892165ed4327449b
+DIST code-server-4.7.0-linux-arm64.tar.gz 94759564 BLAKE2B aa012c85cab9736b9dbf0d8c6780b0141a08d5b41a6a3db38a14ab84c16562ee710d3c42851c59ea3d2c0d9548182df8ade7b72b8d513663db63cad2d7f81d23 SHA512 282eb625a728b5573efaec720d44b0b1871779444cb771346dea2b46f1e77adf58aedbb3cc517fd9f49740ef552ed6357de04aabab38d7f3dc70f3361da45d37

diff --git a/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild
new file mode 100644
index 000000000..69c4e9ff6
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? (
+		app-crypt/libsecret
+	)
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PREBUILT="
+	opt/${PN}/lib/coder-cloud-agent
+	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./node ./lib/node \
+		|| die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./code-server || die
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-10-01 21:29 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-10-01 21:29 UTC (permalink / raw
  To: gentoo-commits

commit:     34e77c41cb150f045c8e0401ca398507c73a6fa3
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Oct  1 21:28:21 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Sat Oct  1 21:29:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34e77c41

www-apps/code-server-bin: add 4.7.1, drop 4.5.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                                    | 4 ++--
 .../{code-server-bin-4.5.1.ebuild => code-server-bin-4.7.1.ebuild}   | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 5bbdae39c..e2d8c65ee 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,6 +1,6 @@
-DIST code-server-4.5.1-linux-amd64.tar.gz 99839294 BLAKE2B a72b14b8647b8814d4c79e84f2cf0ef09f8db5462bb1a4611cb65c089e9dea24d72bda3a20ac3a606d7c5ff2f62e23b0d53daec0444421ad3d302343e947468b SHA512 d53f2187830617ce83a0b23ad7258571436fe0d2e259a2d2f0f5869c6588c68974ddcc1871a5eb09c5106e32460732a3449a1d4b0a5d14b921061eea080e89fc
-DIST code-server-4.5.1-linux-arm64.tar.gz 90931432 BLAKE2B 829c405c4b47339dad4bcc883433716e2f2da2b64e90b461fa8fb12f61414768a0705624c01f1eb13fc984a09fe1d8ce15c36aefd33afcd8406af7688d58a552 SHA512 91f1554c0505eefc717ea6f479fa6d7560c1abd121934842e333775d0a01a205dea203914d223a8c4ea69edd65203a557243e4a4fe040e0833531e77a31e5398
 DIST code-server-4.6.1-linux-amd64.tar.gz 98908844 BLAKE2B 7ca74733578b8f2fcfbc395a2fd385511b23ebced014f024904e1bf29dfa48f0ac7295746f61ea3a9d8cafa13e2b9072d48062f753ffab4f95470b868958d5e7 SHA512 d4bf2cbc06cdf6fe387758a6968bb4db375745f24c32c7b1f5ad199295fb363b83a071d6de78f55f117e20e78287274a0ab7b654b03454ed3056e4ea4cbefb2d
 DIST code-server-4.6.1-linux-arm64.tar.gz 89823651 BLAKE2B 1795c6d7f3198f26a5f8567fe00c59e01f6bc9dd1230e74672671399d3ee9d2566ae73711ae30fdece51a387c4d5cfe3738ade6705b91610da67fabc7adcc6fc SHA512 36c3d102c5fdf09c1ce8e22edc10464c6f9b6915572a7ce8b9c50a77f77489a5ba89e050f204383375d04772f7ebce6dde5d6914c3d769af8f7e4d2e53831b0c
 DIST code-server-4.7.0-linux-amd64.tar.gz 103853310 BLAKE2B a6435b233f2d5aeebe6a5c057f5e98e1c66496c380c60b59ba69eaef17e5dfb84f169dbbd99baac26936dc2de7055dae906436c77311118562eaed96907688fe SHA512 2e07c6e55625a17538a9cde29065196b0c065b9791dc56a76e24bdb5a2eec11133b7f1f8d8fce512da3dc8dda69cea31572d3d16b0472123892165ed4327449b
 DIST code-server-4.7.0-linux-arm64.tar.gz 94759564 BLAKE2B aa012c85cab9736b9dbf0d8c6780b0141a08d5b41a6a3db38a14ab84c16562ee710d3c42851c59ea3d2c0d9548182df8ade7b72b8d513663db63cad2d7f81d23 SHA512 282eb625a728b5573efaec720d44b0b1871779444cb771346dea2b46f1e77adf58aedbb3cc517fd9f49740ef552ed6357de04aabab38d7f3dc70f3361da45d37
+DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d341b64ddf4e31cb683a4a7a296405c1336a0f008a01667dee0732df912057ec82712db0da48b14e2c04def7c666c354eebea18076b59b SHA512 d4e542a894fef141a411ba9dbd5360ca5794a6464d0ce32f5a6681de3311a64e4fd3cedc31144d3ef2eae89cd6266d6db028c042e9692051da31a87a7649962c
+DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896

diff --git a/www-apps/code-server-bin/code-server-bin-4.5.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.7.1.ebuild
similarity index 97%
rename from www-apps/code-server-bin/code-server-bin-4.5.1.ebuild
rename to www-apps/code-server-bin/code-server-bin-4.7.1.ebuild
index 9c32a8ba2..4752a8adf 100644
--- a/www-apps/code-server-bin/code-server-bin-4.5.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.7.1.ebuild
@@ -19,6 +19,7 @@ RESTRICT="test"
 LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
 	|| ( BSD-2 MIT Apache-2.0 )
 	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
 "
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
@@ -80,15 +81,13 @@ src_prepare() {
 	# thus "-bin".
 
 	# use system node
-	rm ./node ./lib/node \
-		|| die "Failed to remove bundled nodejs"
+	rm ./lib/node || die "Failed to remove bundled nodejs"
 
 	# remove bundled ripgrep binary
 	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
 		|| die "Failed to remove bundled ripgrep"
 
 	# not needed
-	rm ./code-server || die
 	rm ./postinstall.sh || die
 
 	# For windows


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-12-02 18:16 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-12-02 18:16 UTC (permalink / raw
  To: gentoo-commits

commit:     024af9f2fd2f5a1fac153845976c040d19d21c6b
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Nov 12 06:15:38 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Dec  2 17:30:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=024af9f2

www-apps/code-server-bin: drop 4.6.1, 4.7.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   4 -
 .../code-server-bin/code-server-bin-4.6.1.ebuild   | 126 --------------------
 .../code-server-bin/code-server-bin-4.7.0.ebuild   | 127 ---------------------
 3 files changed, 257 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index eeb1c08b5..b64c2891d 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,7 +1,3 @@
-DIST code-server-4.6.1-linux-amd64.tar.gz 98908844 BLAKE2B 7ca74733578b8f2fcfbc395a2fd385511b23ebced014f024904e1bf29dfa48f0ac7295746f61ea3a9d8cafa13e2b9072d48062f753ffab4f95470b868958d5e7 SHA512 d4bf2cbc06cdf6fe387758a6968bb4db375745f24c32c7b1f5ad199295fb363b83a071d6de78f55f117e20e78287274a0ab7b654b03454ed3056e4ea4cbefb2d
-DIST code-server-4.6.1-linux-arm64.tar.gz 89823651 BLAKE2B 1795c6d7f3198f26a5f8567fe00c59e01f6bc9dd1230e74672671399d3ee9d2566ae73711ae30fdece51a387c4d5cfe3738ade6705b91610da67fabc7adcc6fc SHA512 36c3d102c5fdf09c1ce8e22edc10464c6f9b6915572a7ce8b9c50a77f77489a5ba89e050f204383375d04772f7ebce6dde5d6914c3d769af8f7e4d2e53831b0c
-DIST code-server-4.7.0-linux-amd64.tar.gz 103853310 BLAKE2B a6435b233f2d5aeebe6a5c057f5e98e1c66496c380c60b59ba69eaef17e5dfb84f169dbbd99baac26936dc2de7055dae906436c77311118562eaed96907688fe SHA512 2e07c6e55625a17538a9cde29065196b0c065b9791dc56a76e24bdb5a2eec11133b7f1f8d8fce512da3dc8dda69cea31572d3d16b0472123892165ed4327449b
-DIST code-server-4.7.0-linux-arm64.tar.gz 94759564 BLAKE2B aa012c85cab9736b9dbf0d8c6780b0141a08d5b41a6a3db38a14ab84c16562ee710d3c42851c59ea3d2c0d9548182df8ade7b72b8d513663db63cad2d7f81d23 SHA512 282eb625a728b5573efaec720d44b0b1871779444cb771346dea2b46f1e77adf58aedbb3cc517fd9f49740ef552ed6357de04aabab38d7f3dc70f3361da45d37
 DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d341b64ddf4e31cb683a4a7a296405c1336a0f008a01667dee0732df912057ec82712db0da48b14e2c04def7c666c354eebea18076b59b SHA512 d4e542a894fef141a411ba9dbd5360ca5794a6464d0ce32f5a6681de3311a64e4fd3cedc31144d3ef2eae89cd6266d6db028c042e9692051da31a87a7649962c
 DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896
 DIST code-server-4.8.3-linux-amd64.tar.gz 106357330 BLAKE2B 2b72427abf01dd1ef0fcc85971d484b116a558ae586fbdaf0f40ded66ad1523c57449141f7ad1d8b2bf364094b2be7999f275d2a8d00ccb6194b56e89133ed0d SHA512 c074007129082819b70be588f5f1f81613f7b12d4b2bc9a606f56767747c13c62707c54694bdbc5a27da60027c0a9cc98efc3e5c64e05c0947dcb45b551efb4d

diff --git a/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild
deleted file mode 100644
index 9c32a8ba2..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.6.1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PREBUILT="
-	opt/${PN}/lib/coder-cloud-agent
-	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
-"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild
deleted file mode 100644
index 69c4e9ff6..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.7.0.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PREBUILT="
-	opt/${PN}/lib/coder-cloud-agent
-	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
-"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./node ./lib/node \
-		|| die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./code-server || die
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-12-02 18:16 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-12-02 18:16 UTC (permalink / raw
  To: gentoo-commits

commit:     0fa5f8e87b4b4a730bcce29a49ded0ae2e105e66
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Sat Nov 12 06:13:47 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Dec  2 17:30:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fa5f8e8

www-apps/code-server-bin: add 4.8.3

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.8.3.ebuild   | 123 +++++++++++++++++++++
 2 files changed, 125 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index e2d8c65ee..eeb1c08b5 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-4.7.0-linux-amd64.tar.gz 103853310 BLAKE2B a6435b233f2d5aeebe6a
 DIST code-server-4.7.0-linux-arm64.tar.gz 94759564 BLAKE2B aa012c85cab9736b9dbf0d8c6780b0141a08d5b41a6a3db38a14ab84c16562ee710d3c42851c59ea3d2c0d9548182df8ade7b72b8d513663db63cad2d7f81d23 SHA512 282eb625a728b5573efaec720d44b0b1871779444cb771346dea2b46f1e77adf58aedbb3cc517fd9f49740ef552ed6357de04aabab38d7f3dc70f3361da45d37
 DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d341b64ddf4e31cb683a4a7a296405c1336a0f008a01667dee0732df912057ec82712db0da48b14e2c04def7c666c354eebea18076b59b SHA512 d4e542a894fef141a411ba9dbd5360ca5794a6464d0ce32f5a6681de3311a64e4fd3cedc31144d3ef2eae89cd6266d6db028c042e9692051da31a87a7649962c
 DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896
+DIST code-server-4.8.3-linux-amd64.tar.gz 106357330 BLAKE2B 2b72427abf01dd1ef0fcc85971d484b116a558ae586fbdaf0f40ded66ad1523c57449141f7ad1d8b2bf364094b2be7999f275d2a8d00ccb6194b56e89133ed0d SHA512 c074007129082819b70be588f5f1f81613f7b12d4b2bc9a606f56767747c13c62707c54694bdbc5a27da60027c0a9cc98efc3e5c64e05c0947dcb45b551efb4d
+DIST code-server-4.8.3-linux-arm64.tar.gz 97248777 BLAKE2B 11b4e504fc0bf78a2be1ce945ec5f2f7fabbef9264434d64564ec1bf73874d364f859867d19a17a4cebcbad9c6d1828c4e1e3c3ef1bd168a2484e00467f2b82f SHA512 07322fdd92b8986445d6ade10aa25f59353bed280c4c61cce307a67281353ea41d3d813065bb734fdbfc06fef65f19c4027ae690b7d165fe8bdbfea5c4f3fc20

diff --git a/www-apps/code-server-bin/code-server-bin-4.8.3.ebuild b/www-apps/code-server-bin/code-server-bin-4.8.3.ebuild
new file mode 100644
index 000000000..64bca63f7
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.8.3.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? ( app-crypt/libsecret )
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PREBUILT="
+	opt/${PN}/lib/coder-cloud-agent
+	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2022-12-30 21:27 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2022-12-30 21:27 UTC (permalink / raw
  To: gentoo-commits

commit:     440360d24fc4412e7564e58b7e408378c4974fb4
Author:     Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Dec 30 21:12:36 2022 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Dec 30 21:12:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=440360d2

www-apps/code-server-bin: add 4.9.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.9.1.ebuild   | 125 +++++++++++++++++++++
 2 files changed, 127 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index b64c2891d..c12bd2071 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d3
 DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896
 DIST code-server-4.8.3-linux-amd64.tar.gz 106357330 BLAKE2B 2b72427abf01dd1ef0fcc85971d484b116a558ae586fbdaf0f40ded66ad1523c57449141f7ad1d8b2bf364094b2be7999f275d2a8d00ccb6194b56e89133ed0d SHA512 c074007129082819b70be588f5f1f81613f7b12d4b2bc9a606f56767747c13c62707c54694bdbc5a27da60027c0a9cc98efc3e5c64e05c0947dcb45b551efb4d
 DIST code-server-4.8.3-linux-arm64.tar.gz 97248777 BLAKE2B 11b4e504fc0bf78a2be1ce945ec5f2f7fabbef9264434d64564ec1bf73874d364f859867d19a17a4cebcbad9c6d1828c4e1e3c3ef1bd168a2484e00467f2b82f SHA512 07322fdd92b8986445d6ade10aa25f59353bed280c4c61cce307a67281353ea41d3d813065bb734fdbfc06fef65f19c4027ae690b7d165fe8bdbfea5c4f3fc20
+DIST code-server-4.9.1-linux-amd64.tar.gz 106765319 BLAKE2B 18b82c1daa4b005115de001e8065783dbc9042b1504a4323ad74d0002e331c3e24ee3856d39aa8e0777d6e0e93f7f0dfcc6b01fae0f2482ef881e8b9d867794d SHA512 1193c8690275c432e9126d18ab24bc50f199c585d3f5e9c2886a339b92d3d5e52103c8fec55189df1d149f3f7147ff2aeb97c70191ca996b5bc65e492c74454a
+DIST code-server-4.9.1-linux-arm64.tar.gz 97436984 BLAKE2B 7fb2b4ebc6dfbe0a2bb55b0f7d78a9c61045d328c6f71c4c6b32dac9fa9648aa96d5962975618e73962e2c53422c35dc5ebed2378eea18570016e0ba85f02686 SHA512 0a60f8eda68be6c939a1aab9012a4e1da429d9491a97dee2b0be78e68e6a4a79d12d855ec90208c9080ea4ee227b8c12f1203f71c81298e6ec2b7a66b6da451b

diff --git a/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild
new file mode 100644
index 000000000..91788b4e1
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="gnome-keyring"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	gnome-keyring? ( app-crypt/libsecret )
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PREBUILT="
+	opt/${PN}/lib/coder-cloud-agent
+	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
+	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
+	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
+	opt/${PN}/${VSCODE_MODULES}/keytar/build/Release/keytar.node
+	opt/${PN}/${VSCODE_MODULES}/keytar/build/Release/obj.target/keytar.node
+"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-01-12 20:58 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-01-12 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     4e3463a39736c343763352549a80da6a0edcf428
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Thu Jan 12 20:28:53 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Thu Jan 12 20:28:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e3463a3

www-apps/code-server-bin: drop IUSE=gnome-keyring

Closes: https://bugs.gentoo.org/889236
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/code-server-bin-4.9.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild
index 91788b4e1..f980ee526 100644
--- a/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,13 +23,12 @@ LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
 "
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
 
 RDEPEND="
 	${DEPEND}
 	>=net-libs/nodejs-16.0.0[ssl]
 	sys-apps/ripgrep
-	gnome-keyring? ( app-crypt/libsecret )
+	app-crypt/libsecret
 "
 
 S="${WORKDIR}/${MY_P}-linux-${ARCH}"


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-01-12 20:58 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-01-12 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     ddc1581f9dece7da6c126ddf2bb4131f06bacdd7
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Thu Jan 12 20:19:13 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Thu Jan 12 20:19:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ddc1581f

www-apps/code-server-bin: update upstream metadata

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/code-server-bin/metadata.xml b/www-apps/code-server-bin/metadata.xml
index 0d0bd0a08..9288a0c44 100644
--- a/www-apps/code-server-bin/metadata.xml
+++ b/www-apps/code-server-bin/metadata.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="person">
     <name>Leonardo Hernández Hernández</name>
     <email>leohdz172@proton.me</email>
   </maintainer>
   <upstream>
-    <remote-id type="github">cdr/code-server</remote-id>
+    <remote-id type="github">coder/code-server</remote-id>
   </upstream>
   <longdescription lang="en">
       Run VS Code on any machine anywhere and access it in the browser.


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-01-18  5:48 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-01-18  5:48 UTC (permalink / raw
  To: gentoo-commits

commit:     393cdb218202e873f6cfa82ee22c2cc87de230ca
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Jan 18 05:43:56 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Wed Jan 18 05:47:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=393cdb21

www-apps/code-server-bin: revbump for drop IUSE=gnome-keyring

Fixes: 4e3463a39736c343763352549a80da6a0edcf428
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 .../{code-server-bin-4.9.1.ebuild => code-server-bin-4.9.1-r1.ebuild}     | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/www-apps/code-server-bin/code-server-bin-4.9.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.9.1-r1.ebuild
similarity index 100%
rename from www-apps/code-server-bin/code-server-bin-4.9.1.ebuild
rename to www-apps/code-server-bin/code-server-bin-4.9.1-r1.ebuild


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-04-21 22:12 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-04-21 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     47e207c4db101eb8c457fa59ddda27c60ba2e783
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Fri Apr 21 20:00:31 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Fri Apr 21 22:09:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47e207c4

www-apps/code-server-bin: add 4.12.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.12.0.ebuild  | 100 +++++++++++++++++++++
 2 files changed, 102 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index c12bd2071..35f6dc21a 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,3 +1,5 @@
+DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa142254635188c138553ce81e66aff8f24f6be9a1a7bc35efc5d900e010437e7cdcb2209c55cf988a9c88d65b063bcc0eb233d0a7b929 SHA512 5ef36f8d3b3838ce1b30f460748f44e89f77843e6b8fec18bbb4b69028558c041b1b31af576f51693091d6f8e2b9bd03d94a8c4e3f7389b613dae8986f64cb6a
+DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad
 DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d341b64ddf4e31cb683a4a7a296405c1336a0f008a01667dee0732df912057ec82712db0da48b14e2c04def7c666c354eebea18076b59b SHA512 d4e542a894fef141a411ba9dbd5360ca5794a6464d0ce32f5a6681de3311a64e4fd3cedc31144d3ef2eae89cd6266d6db028c042e9692051da31a87a7649962c
 DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896
 DIST code-server-4.8.3-linux-amd64.tar.gz 106357330 BLAKE2B 2b72427abf01dd1ef0fcc85971d484b116a558ae586fbdaf0f40ded66ad1523c57449141f7ad1d8b2bf364094b2be7999f275d2a8d00ccb6194b56e89133ed0d SHA512 c074007129082819b70be588f5f1f81613f7b12d4b2bc9a606f56767747c13c62707c54694bdbc5a27da60027c0a9cc98efc3e5c64e05c0947dcb45b551efb4d

diff --git a/www-apps/code-server-bin/code-server-bin-4.12.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.12.0.ebuild
new file mode 100644
index 000000000..fd76d89d0
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.12.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-04-21 22:12 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-04-21 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     1c9c7eb86ef14f84b12c23e814566266a46e807e
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Fri Apr 21 22:11:13 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Fri Apr 21 22:11:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c9c7eb8

www-apps/code-server-bin: drop 4.7.1, 4.8.3

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   4 -
 .../code-server-bin/code-server-bin-4.7.1.ebuild   | 125 ---------------------
 .../code-server-bin/code-server-bin-4.8.3.ebuild   | 123 --------------------
 3 files changed, 252 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 35f6dc21a..43213bc4f 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,8 +1,4 @@
 DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa142254635188c138553ce81e66aff8f24f6be9a1a7bc35efc5d900e010437e7cdcb2209c55cf988a9c88d65b063bcc0eb233d0a7b929 SHA512 5ef36f8d3b3838ce1b30f460748f44e89f77843e6b8fec18bbb4b69028558c041b1b31af576f51693091d6f8e2b9bd03d94a8c4e3f7389b613dae8986f64cb6a
 DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad
-DIST code-server-4.7.1-linux-amd64.tar.gz 103979733 BLAKE2B 0346e107ef55d09094d341b64ddf4e31cb683a4a7a296405c1336a0f008a01667dee0732df912057ec82712db0da48b14e2c04def7c666c354eebea18076b59b SHA512 d4e542a894fef141a411ba9dbd5360ca5794a6464d0ce32f5a6681de3311a64e4fd3cedc31144d3ef2eae89cd6266d6db028c042e9692051da31a87a7649962c
-DIST code-server-4.7.1-linux-arm64.tar.gz 94777720 BLAKE2B 0d08f9b9966070a21918ce1a4e9d79c5ce9c4d4550d588cc6b0bf30777a015b4616c49a7fa9f776c303238a9920ebb0a341a9bd421067a333579cf38bc16dab5 SHA512 8ac49726830168786a4eac7f3b2182af9510443cd3bc0b5760ddee0ee6ce7845fdd91cd680c95821a3dce41c9c2cdf0b7f50ab7817b6764305e262c643c9d896
-DIST code-server-4.8.3-linux-amd64.tar.gz 106357330 BLAKE2B 2b72427abf01dd1ef0fcc85971d484b116a558ae586fbdaf0f40ded66ad1523c57449141f7ad1d8b2bf364094b2be7999f275d2a8d00ccb6194b56e89133ed0d SHA512 c074007129082819b70be588f5f1f81613f7b12d4b2bc9a606f56767747c13c62707c54694bdbc5a27da60027c0a9cc98efc3e5c64e05c0947dcb45b551efb4d
-DIST code-server-4.8.3-linux-arm64.tar.gz 97248777 BLAKE2B 11b4e504fc0bf78a2be1ce945ec5f2f7fabbef9264434d64564ec1bf73874d364f859867d19a17a4cebcbad9c6d1828c4e1e3c3ef1bd168a2484e00467f2b82f SHA512 07322fdd92b8986445d6ade10aa25f59353bed280c4c61cce307a67281353ea41d3d813065bb734fdbfc06fef65f19c4027ae690b7d165fe8bdbfea5c4f3fc20
 DIST code-server-4.9.1-linux-amd64.tar.gz 106765319 BLAKE2B 18b82c1daa4b005115de001e8065783dbc9042b1504a4323ad74d0002e331c3e24ee3856d39aa8e0777d6e0e93f7f0dfcc6b01fae0f2482ef881e8b9d867794d SHA512 1193c8690275c432e9126d18ab24bc50f199c585d3f5e9c2886a339b92d3d5e52103c8fec55189df1d149f3f7147ff2aeb97c70191ca996b5bc65e492c74454a
 DIST code-server-4.9.1-linux-arm64.tar.gz 97436984 BLAKE2B 7fb2b4ebc6dfbe0a2bb55b0f7d78a9c61045d328c6f71c4c6b32dac9fa9648aa96d5962975618e73962e2c53422c35dc5ebed2378eea18570016e0ba85f02686 SHA512 0a60f8eda68be6c939a1aab9012a4e1da429d9491a97dee2b0be78e68e6a4a79d12d855ec90208c9080ea4ee227b8c12f1203f71c81298e6ec2b7a66b6da451b

diff --git a/www-apps/code-server-bin/code-server-bin-4.7.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.7.1.ebuild
deleted file mode 100644
index 4752a8adf..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.7.1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? (
-		app-crypt/libsecret
-	)
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PREBUILT="
-	opt/${PN}/lib/coder-cloud-agent
-	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
-"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.8.3.ebuild b/www-apps/code-server-bin/code-server-bin-4.8.3.ebuild
deleted file mode 100644
index 64bca63f7..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.8.3.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="gnome-keyring"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	gnome-keyring? ( app-crypt/libsecret )
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PREBUILT="
-	opt/${PN}/lib/coder-cloud-agent
-	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
-"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-05-19 21:42 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-05-19 21:42 UTC (permalink / raw
  To: gentoo-commits

commit:     f20d44fbdd2627ac81baa5bc771deb83c2380381
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Fri May 19 21:37:45 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Fri May 19 21:41:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f20d44fb

www-apps/code-server-bin: add 4.13.0

Closes: https://bugs.gentoo.org/884473
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.13.0.ebuild  | 103 +++++++++++++++++++++
 2 files changed, 105 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 43213bc4f..8c5a50fb5 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,4 +1,6 @@
 DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa142254635188c138553ce81e66aff8f24f6be9a1a7bc35efc5d900e010437e7cdcb2209c55cf988a9c88d65b063bcc0eb233d0a7b929 SHA512 5ef36f8d3b3838ce1b30f460748f44e89f77843e6b8fec18bbb4b69028558c041b1b31af576f51693091d6f8e2b9bd03d94a8c4e3f7389b613dae8986f64cb6a
 DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad
+DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c52022795bd77d1646786dfa1582944aa402e49e877c90af32a069662af5bd8385671118f74d4f66bfc95d4d1f875e865f74fd81732290559 SHA512 e7f50fb0bff5dbe5b075d6c1410f056f0e78e790eeab91fd0fa9596b1c52b8243798f10d5f609beb0288f965eb40b4519a0ad83972804f52dc1b88e456d91a7f
+DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
 DIST code-server-4.9.1-linux-amd64.tar.gz 106765319 BLAKE2B 18b82c1daa4b005115de001e8065783dbc9042b1504a4323ad74d0002e331c3e24ee3856d39aa8e0777d6e0e93f7f0dfcc6b01fae0f2482ef881e8b9d867794d SHA512 1193c8690275c432e9126d18ab24bc50f199c585d3f5e9c2886a339b92d3d5e52103c8fec55189df1d149f3f7147ff2aeb97c70191ca996b5bc65e492c74454a
 DIST code-server-4.9.1-linux-arm64.tar.gz 97436984 BLAKE2B 7fb2b4ebc6dfbe0a2bb55b0f7d78a9c61045d328c6f71c4c6b32dac9fa9648aa96d5962975618e73962e2c53422c35dc5ebed2378eea18570016e0ba85f02686 SHA512 0a60f8eda68be6c939a1aab9012a4e1da429d9491a97dee2b0be78e68e6a4a79d12d855ec90208c9080ea4ee227b8c12f1203f71c81298e6ec2b7a66b6da451b

diff --git a/www-apps/code-server-bin/code-server-bin-4.13.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.13.0.ebuild
new file mode 100644
index 000000000..09b0e996e
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.13.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-05-19 21:42 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-05-19 21:42 UTC (permalink / raw
  To: gentoo-commits

commit:     8120a07c42e01deb31d873abeec46f31427baafd
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Fri May 19 21:39:55 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Fri May 19 21:41:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8120a07c

www-apps/code-server-bin: remove python3 symlinks

only required at build time

Bug: https://bugs.gentoo.org/884473
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 ...{code-server-bin-4.12.0.ebuild => code-server-bin-4.12.0-r1.ebuild} | 3 +++
 ...code-server-bin-4.9.1-r1.ebuild => code-server-bin-4.9.1-r2.ebuild} | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/www-apps/code-server-bin/code-server-bin-4.12.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.12.0-r1.ebuild
similarity index 97%
rename from www-apps/code-server-bin/code-server-bin-4.12.0.ebuild
rename to www-apps/code-server-bin/code-server-bin-4.12.0-r1.ebuild
index fd76d89d0..09b0e996e 100644
--- a/www-apps/code-server-bin/code-server-bin-4.12.0.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.12.0-r1.ebuild
@@ -62,6 +62,9 @@ src_prepare() {
 	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
 		|| die "Failed to remove bundled ripgrep"
 
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
 	# not needed
 	rm ./postinstall.sh || die
 

diff --git a/www-apps/code-server-bin/code-server-bin-4.9.1-r1.ebuild b/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild
similarity index 98%
rename from www-apps/code-server-bin/code-server-bin-4.9.1-r1.ebuild
rename to www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild
index f980ee526..7813d7ccb 100644
--- a/www-apps/code-server-bin/code-server-bin-4.9.1-r1.ebuild
+++ b/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild
@@ -86,6 +86,9 @@ src_prepare() {
 	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
 		|| die "Failed to remove bundled ripgrep"
 
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
 	# not needed
 	rm ./postinstall.sh || die
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-06-22  5:12 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-06-22  5:12 UTC (permalink / raw
  To: gentoo-commits

commit:     6eb6fa15494848fbfc86d26d803b39abfd800da3
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Thu Jun 22 05:11:26 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Thu Jun 22 05:11:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6eb6fa15

www-apps/code-server-bin: add 4.14.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.14.0.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 1f1f447cc..27cd497d9 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa
 DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad
 DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c52022795bd77d1646786dfa1582944aa402e49e877c90af32a069662af5bd8385671118f74d4f66bfc95d4d1f875e865f74fd81732290559 SHA512 e7f50fb0bff5dbe5b075d6c1410f056f0e78e790eeab91fd0fa9596b1c52b8243798f10d5f609beb0288f965eb40b4519a0ad83972804f52dc1b88e456d91a7f
 DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
+DIST code-server-4.14.0-linux-amd64.tar.gz 98653504 BLAKE2B 342363a9c00894b65e716352c14b87230704e47ddb068079b25957577a90c1dddf77cfbdc715261d6eb849a5f2569401cb062c0fe6f804c8e60169855b5b2212 SHA512 7772397d5abc0a290a15899346a5dcbe8eec5bc44948a5845ed23758ecec1fd0f21e8ab0ac413053b1e36ccc5c69e877ed01fce1d0f09ebf12aa3e96b0483ee4
+DIST code-server-4.14.0-linux-arm64.tar.gz 97470074 BLAKE2B 414da8e74184672201772470d940a4a323b5f0757962b7d753556420693f46c334235c0e5d5f12ab5372ca28b44bea2f630185deb8efd7a81fe5c50aed1cbd27 SHA512 ac303aa02719a897941f2d117168395d590f2efa366cc2b8a90699ef265032183f3a8c221451cb0f3228ecc13767fc896a903adfdac7e636782f262b44b69f0c

diff --git a/www-apps/code-server-bin/code-server-bin-4.14.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.14.0.ebuild
new file mode 100644
index 000000000..35845168a
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.14.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-06-22  5:12 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-06-22  5:12 UTC (permalink / raw
  To: gentoo-commits

commit:     133fe1c0849b5a9cf3fe2ecaebe7bb9afc816959
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Thu Jun 22 05:08:05 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Thu Jun 22 05:11:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=133fe1c0

www-apps/code-server-bin: drop 4.9.1-r2

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 -
 .../code-server-bin-4.9.1-r2.ebuild                | 127 ---------------------
 2 files changed, 129 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 8c5a50fb5..1f1f447cc 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,5 +2,3 @@ DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa
 DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad
 DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c52022795bd77d1646786dfa1582944aa402e49e877c90af32a069662af5bd8385671118f74d4f66bfc95d4d1f875e865f74fd81732290559 SHA512 e7f50fb0bff5dbe5b075d6c1410f056f0e78e790eeab91fd0fa9596b1c52b8243798f10d5f609beb0288f965eb40b4519a0ad83972804f52dc1b88e456d91a7f
 DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
-DIST code-server-4.9.1-linux-amd64.tar.gz 106765319 BLAKE2B 18b82c1daa4b005115de001e8065783dbc9042b1504a4323ad74d0002e331c3e24ee3856d39aa8e0777d6e0e93f7f0dfcc6b01fae0f2482ef881e8b9d867794d SHA512 1193c8690275c432e9126d18ab24bc50f199c585d3f5e9c2886a339b92d3d5e52103c8fec55189df1d149f3f7147ff2aeb97c70191ca996b5bc65e492c74454a
-DIST code-server-4.9.1-linux-arm64.tar.gz 97436984 BLAKE2B 7fb2b4ebc6dfbe0a2bb55b0f7d78a9c61045d328c6f71c4c6b32dac9fa9648aa96d5962975618e73962e2c53422c35dc5ebed2378eea18570016e0ba85f02686 SHA512 0a60f8eda68be6c939a1aab9012a4e1da429d9491a97dee2b0be78e68e6a4a79d12d855ec90208c9080ea4ee227b8c12f1203f71c81298e6ec2b7a66b6da451b

diff --git a/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild b/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild
deleted file mode 100644
index 7813d7ccb..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.9.1-r2.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PREBUILT="
-	opt/${PN}/lib/coder-cloud-agent
-	opt/${PN}/node_modules/argon2/lib/binding/napi-v3/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/argon2.node
-	opt/${PN}/node_modules/argon2/build-tmp-napi-v3/Release/obj.target/argon2.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-gnu/argon2.linux-x64-gnu.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/obj.target/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/native-is-elevated/build/Release/iselevated.node
-	opt/${PN}/${VSCODE_MODULES}/node-pty/build/Release/pty.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/obj.target/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/native-watchdog/build/Release/watchdog.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/obj.target/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/spdlog/build/Release/spdlog.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/obj.target/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/vscode-nsfw/build/Release/nsfw.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/obj.target/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@vscode/sqlite3/build/Release/sqlite.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/watcher.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/build/Release/obj.target/watcher.node
-	opt/${PN}/${VSCODE_MODULES}/keytar/build/Release/keytar.node
-	opt/${PN}/${VSCODE_MODULES}/keytar/build/Release/obj.target/keytar.node
-"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-06-27  4:51 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-06-27  4:51 UTC (permalink / raw
  To: gentoo-commits

commit:     84991cd4516027318c95bccc2d45d6ab4653687b
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Tue Jun 27 04:47:39 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Tue Jun 27 04:48:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84991cd4

www-apps/code-server-bin: add 4.14.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.14.1.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 27cd497d9..c666fe872 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c5202
 DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
 DIST code-server-4.14.0-linux-amd64.tar.gz 98653504 BLAKE2B 342363a9c00894b65e716352c14b87230704e47ddb068079b25957577a90c1dddf77cfbdc715261d6eb849a5f2569401cb062c0fe6f804c8e60169855b5b2212 SHA512 7772397d5abc0a290a15899346a5dcbe8eec5bc44948a5845ed23758ecec1fd0f21e8ab0ac413053b1e36ccc5c69e877ed01fce1d0f09ebf12aa3e96b0483ee4
 DIST code-server-4.14.0-linux-arm64.tar.gz 97470074 BLAKE2B 414da8e74184672201772470d940a4a323b5f0757962b7d753556420693f46c334235c0e5d5f12ab5372ca28b44bea2f630185deb8efd7a81fe5c50aed1cbd27 SHA512 ac303aa02719a897941f2d117168395d590f2efa366cc2b8a90699ef265032183f3a8c221451cb0f3228ecc13767fc896a903adfdac7e636782f262b44b69f0c
+DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0c4a622e4e9a8bdb2bfcbc3f9eda5b26264b122273777819d097f6fa03114429a7bdc4ab7ac943bb104683b5867e3df248171551548d9 SHA512 1d70f5dbc4f4605d5fd254df117d34c8b05fc33085c27c909f8ec73d5ef9a3d71bb11617b38a6fa3dc32138c6df92db0555c14ede814b6868cb43acec182c70a
+DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501

diff --git a/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild
new file mode 100644
index 000000000..35845168a
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-07-22  1:43 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-07-22  1:43 UTC (permalink / raw
  To: gentoo-commits

commit:     4892001b00c9bd1955de6084249a57ec5e8e0376
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Jul 22 01:35:16 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Sat Jul 22 01:42:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4892001b

www-apps/code-server-bin: drop 4.12.0-r1, 4.13.0, 4.14.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   4 -
 .../code-server-bin-4.12.0-r1.ebuild               | 103 --------------------
 .../code-server-bin/code-server-bin-4.13.0.ebuild  | 103 --------------------
 .../code-server-bin/code-server-bin-4.14.0.ebuild  | 105 ---------------------
 4 files changed, 315 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index c666fe872..22962e599 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,8 +1,4 @@
-DIST code-server-4.12.0-linux-amd64.tar.gz 97828967 BLAKE2B 60089c914ba94eff0bfa142254635188c138553ce81e66aff8f24f6be9a1a7bc35efc5d900e010437e7cdcb2209c55cf988a9c88d65b063bcc0eb233d0a7b929 SHA512 5ef36f8d3b3838ce1b30f460748f44e89f77843e6b8fec18bbb4b69028558c041b1b31af576f51693091d6f8e2b9bd03d94a8c4e3f7389b613dae8986f64cb6a
-DIST code-server-4.12.0-linux-arm64.tar.gz 96637295 BLAKE2B ab842644f50871e97016c08e9470fa24ae2a1d2b4dc344faf7a45153595deed6cd88146adbf1871db2082a0a06a0d12fc50eb588c7307f51d9737cb5c6b230f1 SHA512 dc09e21ff35f987cdb7f5b62d2133b53af5f634b747a13b7fe9cff0c6be61a93950b1e23a8869206b8ed3544bb34221d2c38d6fb25d176e8136ebd0d255fe7ad
 DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c52022795bd77d1646786dfa1582944aa402e49e877c90af32a069662af5bd8385671118f74d4f66bfc95d4d1f875e865f74fd81732290559 SHA512 e7f50fb0bff5dbe5b075d6c1410f056f0e78e790eeab91fd0fa9596b1c52b8243798f10d5f609beb0288f965eb40b4519a0ad83972804f52dc1b88e456d91a7f
 DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
-DIST code-server-4.14.0-linux-amd64.tar.gz 98653504 BLAKE2B 342363a9c00894b65e716352c14b87230704e47ddb068079b25957577a90c1dddf77cfbdc715261d6eb849a5f2569401cb062c0fe6f804c8e60169855b5b2212 SHA512 7772397d5abc0a290a15899346a5dcbe8eec5bc44948a5845ed23758ecec1fd0f21e8ab0ac413053b1e36ccc5c69e877ed01fce1d0f09ebf12aa3e96b0483ee4
-DIST code-server-4.14.0-linux-arm64.tar.gz 97470074 BLAKE2B 414da8e74184672201772470d940a4a323b5f0757962b7d753556420693f46c334235c0e5d5f12ab5372ca28b44bea2f630185deb8efd7a81fe5c50aed1cbd27 SHA512 ac303aa02719a897941f2d117168395d590f2efa366cc2b8a90699ef265032183f3a8c221451cb0f3228ecc13767fc896a903adfdac7e636782f262b44b69f0c
 DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0c4a622e4e9a8bdb2bfcbc3f9eda5b26264b122273777819d097f6fa03114429a7bdc4ab7ac943bb104683b5867e3df248171551548d9 SHA512 1d70f5dbc4f4605d5fd254df117d34c8b05fc33085c27c909f8ec73d5ef9a3d71bb11617b38a6fa3dc32138c6df92db0555c14ede814b6868cb43acec182c70a
 DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501

diff --git a/www-apps/code-server-bin/code-server-bin-4.12.0-r1.ebuild b/www-apps/code-server-bin/code-server-bin-4.12.0-r1.ebuild
deleted file mode 100644
index 09b0e996e..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.12.0-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.13.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.13.0.ebuild
deleted file mode 100644
index 09b0e996e..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.13.0.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.14.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.14.0.ebuild
deleted file mode 100644
index 35845168a..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.14.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-07-22  1:43 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-07-22  1:43 UTC (permalink / raw
  To: gentoo-commits

commit:     3186b48ffc09274b77d7353e043e479639b003d2
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Jul 22 01:41:44 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Sat Jul 22 01:42:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3186b48f

www-apps/code-server-bin: add 4.15.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.15.0.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 22962e599..addd04f0d 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c5202
 DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
 DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0c4a622e4e9a8bdb2bfcbc3f9eda5b26264b122273777819d097f6fa03114429a7bdc4ab7ac943bb104683b5867e3df248171551548d9 SHA512 1d70f5dbc4f4605d5fd254df117d34c8b05fc33085c27c909f8ec73d5ef9a3d71bb11617b38a6fa3dc32138c6df92db0555c14ede814b6868cb43acec182c70a
 DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501
+DIST code-server-4.15.0-linux-amd64.tar.gz 99499811 BLAKE2B b14a712624d312190be8320103f156fdefb99ab0990e11a555e3d2eb647bd28b7296e55ce9080d4b642ae1eda3780db6e6ab24310635ec1b714e7df7749250f9 SHA512 5c825ef33458bc7d8cb53657d7160dd01afe6fda4ce9f5dadcb9e977ab921dd092320c3e8bb1120543782a1591745dc46e712e87964f1abcc5fcc554566f9193
+DIST code-server-4.15.0-linux-arm64.tar.gz 98256392 BLAKE2B 0a9391ab69139e8674fe0f408bc98946e50114239d08bcb152f617fba2bbf42601432c05861e19fff1500574f8d54df4b1d768898c381fe31d518f0d2d8886f5 SHA512 95f0a1ac33ef0280f3195fbf0563f8e5f3d3fce18991758edf095dec52cd501769951b4905a83fcb100b0c5aec8db29feea6cb992e945b4f4447e56be26df2db

diff --git a/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild
new file mode 100644
index 000000000..35845168a
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-07-30 20:17 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-07-30 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     47807514b37f24b9d5dc485987748a9dbf5b35b5
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sun Jul 30 20:07:56 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Sun Jul 30 20:07:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47807514

www-apps/code-server-bin: add 4.16.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.16.0.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index addd04f0dd..a97c266172 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -4,3 +4,5 @@ DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0
 DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501
 DIST code-server-4.15.0-linux-amd64.tar.gz 99499811 BLAKE2B b14a712624d312190be8320103f156fdefb99ab0990e11a555e3d2eb647bd28b7296e55ce9080d4b642ae1eda3780db6e6ab24310635ec1b714e7df7749250f9 SHA512 5c825ef33458bc7d8cb53657d7160dd01afe6fda4ce9f5dadcb9e977ab921dd092320c3e8bb1120543782a1591745dc46e712e87964f1abcc5fcc554566f9193
 DIST code-server-4.15.0-linux-arm64.tar.gz 98256392 BLAKE2B 0a9391ab69139e8674fe0f408bc98946e50114239d08bcb152f617fba2bbf42601432c05861e19fff1500574f8d54df4b1d768898c381fe31d518f0d2d8886f5 SHA512 95f0a1ac33ef0280f3195fbf0563f8e5f3d3fce18991758edf095dec52cd501769951b4905a83fcb100b0c5aec8db29feea6cb992e945b4f4447e56be26df2db
+DIST code-server-4.16.0-linux-amd64.tar.gz 99495017 BLAKE2B 3d4afbc0d64bc31bd1caf4457fcd39e161ba2036085494c23f3b125975e8f2d2f56e458474781c3cad950634831b53c8da4d8e9128700fec8489cfe6f528e0cf SHA512 8c0f694671b050f020deed8247b14a480ae5a5855cb99c4c1c86ba248119cf0e34b4653a5a26237cd769ff4fb7e20438e45bc0bb31151fbd16f2fcb35caab7ee
+DIST code-server-4.16.0-linux-arm64.tar.gz 98257595 BLAKE2B 907cb8d0fd15e81eef3ed3cfa93018f289536cea480212424d89c90624dcd1bee3563008565fb8641fb2859989c211c1d1d791c42bf068e53bd43f71ecfa9eb5 SHA512 abc69af88743029d3bc2f1f4f7f2f46f671929f61dd193a531afba96bf678454b8ea0794709100aab5c6dbf86382bd9edb94582a2e6426219851e40e86bd489a

diff --git a/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild
new file mode 100644
index 0000000000..35845168af
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
+	|| ( BSD-2 MIT Apache-2.0 )
+	|| ( MIT WTFPL )
+	|| ( BSD GPL-2 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-07-31 20:14 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-07-31 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     6e199a72242f17c0ddce3e737b3b34e2204f19a6
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Mon Jul 31 20:13:16 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Mon Jul 31 20:13:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e199a72

www-apps/code-server-bin: drop 4.13.0-r1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 -
 .../code-server-bin-4.13.0-r1.ebuild               | 105 ---------------------
 2 files changed, 107 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 166f1c3671..09b6613860 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,5 +1,3 @@
-DIST code-server-4.13.0-linux-amd64.tar.gz 97870904 BLAKE2B 320b845f1cca424c52022795bd77d1646786dfa1582944aa402e49e877c90af32a069662af5bd8385671118f74d4f66bfc95d4d1f875e865f74fd81732290559 SHA512 e7f50fb0bff5dbe5b075d6c1410f056f0e78e790eeab91fd0fa9596b1c52b8243798f10d5f609beb0288f965eb40b4519a0ad83972804f52dc1b88e456d91a7f
-DIST code-server-4.13.0-linux-arm64.tar.gz 96675774 BLAKE2B 4c117fa6e0c06b5203863ae1a35d5a57e36c0bc339ddf009ff106efbf3a0207ea9deb9efbf868a14f9c0bf64e3034c626d99647073c90fa9c4dd59b938b2e0ae SHA512 04478cc1280326fede817549e21a086f1f0281a79b52059a1523246f42d024463a7aac61f443b6441e10f202558889ad9cb63c962f4a075cd78c14b00318d5b9
 DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0c4a622e4e9a8bdb2bfcbc3f9eda5b26264b122273777819d097f6fa03114429a7bdc4ab7ac943bb104683b5867e3df248171551548d9 SHA512 1d70f5dbc4f4605d5fd254df117d34c8b05fc33085c27c909f8ec73d5ef9a3d71bb11617b38a6fa3dc32138c6df92db0555c14ede814b6868cb43acec182c70a
 DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501
 DIST code-server-4.15.0-linux-amd64.tar.gz 99499811 BLAKE2B b14a712624d312190be8320103f156fdefb99ab0990e11a555e3d2eb647bd28b7296e55ce9080d4b642ae1eda3780db6e6ab24310635ec1b714e7df7749250f9 SHA512 5c825ef33458bc7d8cb53657d7160dd01afe6fda4ce9f5dadcb9e977ab921dd092320c3e8bb1120543782a1591745dc46e712e87964f1abcc5fcc554566f9193

diff --git a/www-apps/code-server-bin/code-server-bin-4.13.0-r1.ebuild b/www-apps/code-server-bin/code-server-bin-4.13.0-r1.ebuild
deleted file mode 100644
index 35845168af..0000000000
--- a/www-apps/code-server-bin/code-server-bin-4.13.0-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-RESTRICT="test"
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-07-31 20:14 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-07-31 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     29c42dc36843e3d25924ed1e147c18220e9d05c7
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Mon Jul 31 20:12:40 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Mon Jul 31 20:12:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29c42dc3

www-apps/code-server-bin: add 4.16.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.16.1.ebuild  | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index a97c266172..166f1c3671 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -6,3 +6,5 @@ DIST code-server-4.15.0-linux-amd64.tar.gz 99499811 BLAKE2B b14a712624d312190be8
 DIST code-server-4.15.0-linux-arm64.tar.gz 98256392 BLAKE2B 0a9391ab69139e8674fe0f408bc98946e50114239d08bcb152f617fba2bbf42601432c05861e19fff1500574f8d54df4b1d768898c381fe31d518f0d2d8886f5 SHA512 95f0a1ac33ef0280f3195fbf0563f8e5f3d3fce18991758edf095dec52cd501769951b4905a83fcb100b0c5aec8db29feea6cb992e945b4f4447e56be26df2db
 DIST code-server-4.16.0-linux-amd64.tar.gz 99495017 BLAKE2B 3d4afbc0d64bc31bd1caf4457fcd39e161ba2036085494c23f3b125975e8f2d2f56e458474781c3cad950634831b53c8da4d8e9128700fec8489cfe6f528e0cf SHA512 8c0f694671b050f020deed8247b14a480ae5a5855cb99c4c1c86ba248119cf0e34b4653a5a26237cd769ff4fb7e20438e45bc0bb31151fbd16f2fcb35caab7ee
 DIST code-server-4.16.0-linux-arm64.tar.gz 98257595 BLAKE2B 907cb8d0fd15e81eef3ed3cfa93018f289536cea480212424d89c90624dcd1bee3563008565fb8641fb2859989c211c1d1d791c42bf068e53bd43f71ecfa9eb5 SHA512 abc69af88743029d3bc2f1f4f7f2f46f671929f61dd193a531afba96bf678454b8ea0794709100aab5c6dbf86382bd9edb94582a2e6426219851e40e86bd489a
+DIST code-server-bin-4.16.1-amd64.tar.gz 99495970 BLAKE2B 361c07e00ba297b2a901a133685b53d31e3804ce31c21b279619d61ae867c91261f8af9d1049a6467a87e5f355b32177207e68bdd970788e7ba8ac653deade6f SHA512 d0f657a6e1a455d8d5155174ac7700f5562513dccb816333286221d881346cbc837b3fdb1562966249535d975c017cd5f4f0dada2526517ad2622d945f2bd665
+DIST code-server-bin-4.16.1-arm64.tar.gz 98260104 BLAKE2B bc889fdfe577b7115d2a6411354b915b3da02a1a22bdf576aba99ade9819a613ec76d4b26130d06c49e8e42eeb3e3fdf40a89b1910e43f3704761494d315f3d9 SHA512 f9bd711fe2334501bf339c2bed73a9411d898bf44dd34cf0ff7a476b74ae7397032186aca3c911321ce6808cecb3e67f244eee58a55a50ae9c62d9fe65b39c28

diff --git a/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild
new file mode 100644
index 0000000000..cdf7ad04c1
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+RESTRICT="test"
+LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON GPL-2 0BSD"
+LICENSE+=" LGPL-2.1+
+	|| ( MIT WTFPL )
+	|| ( BSD-2 MIT Apache-2.0 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+	${DEPEND}
+	>=net-libs/nodejs-16.0.0[ssl]
+	sys-apps/ripgrep
+	app-crypt/libsecret
+"
+
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-09-24 19:08 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-09-24 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     8d7b6237f5a5a9885497f1e7cc3eefcdcafeae04
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sun Sep 24 18:13:19 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Sun Sep 24 19:07:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d7b6237

www-apps/code-server-bin: add 4.17.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.17.0.ebuild  | 101 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 09b6613860..b8c06b52b0 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -6,3 +6,5 @@ DIST code-server-4.16.0-linux-amd64.tar.gz 99495017 BLAKE2B 3d4afbc0d64bc31bd1ca
 DIST code-server-4.16.0-linux-arm64.tar.gz 98257595 BLAKE2B 907cb8d0fd15e81eef3ed3cfa93018f289536cea480212424d89c90624dcd1bee3563008565fb8641fb2859989c211c1d1d791c42bf068e53bd43f71ecfa9eb5 SHA512 abc69af88743029d3bc2f1f4f7f2f46f671929f61dd193a531afba96bf678454b8ea0794709100aab5c6dbf86382bd9edb94582a2e6426219851e40e86bd489a
 DIST code-server-bin-4.16.1-amd64.tar.gz 99495970 BLAKE2B 361c07e00ba297b2a901a133685b53d31e3804ce31c21b279619d61ae867c91261f8af9d1049a6467a87e5f355b32177207e68bdd970788e7ba8ac653deade6f SHA512 d0f657a6e1a455d8d5155174ac7700f5562513dccb816333286221d881346cbc837b3fdb1562966249535d975c017cd5f4f0dada2526517ad2622d945f2bd665
 DIST code-server-bin-4.16.1-arm64.tar.gz 98260104 BLAKE2B bc889fdfe577b7115d2a6411354b915b3da02a1a22bdf576aba99ade9819a613ec76d4b26130d06c49e8e42eeb3e3fdf40a89b1910e43f3704761494d315f3d9 SHA512 f9bd711fe2334501bf339c2bed73a9411d898bf44dd34cf0ff7a476b74ae7397032186aca3c911321ce6808cecb3e67f244eee58a55a50ae9c62d9fe65b39c28
+DIST code-server-bin-4.17.0-amd64.tar.gz 96605967 BLAKE2B 631bb923170d4530596d313540df4f96fbd4c6ab481206de6106880772645d953731bec15b391201d9da5e87fb34350456f6301b7db4a2b4489c393bc82c53d8 SHA512 5b2d2ae4bef758364fa8080ac4fb6f60a2136d616f76ffe09e64de51c2046c5d3ff86425ce02d6cce32e91c0ceeb9391e3e86e2ef852db5c9b9a4cf8ba2b9d79
+DIST code-server-bin-4.17.0-arm64.tar.gz 95927302 BLAKE2B 8953ef7979eb35ddadc4238f631c385a2343fef93501e83387b6cb85575c5bb2dbbcd895bb11c0eb4ebf39980eebd4f93eef21881c1aa9c931605134e84a1df4 SHA512 6448e715a5541e38bf0bc75eafe6c2c5edc6e4628350531b0021139aaa40bd13dface37f79bad6009cd1932695468043953fede5507e9c7b6825ca7ae33c6f90

diff --git a/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild
new file mode 100644
index 0000000000..56d038b6d0
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD"
+LICENSE+=" LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+
+RDEPEND="
+	app-crypt/libsecret
+	>=net-libs/nodejs-18.0.0[ssl]
+	sys-apps/ripgrep
+	virtual/krb5
+"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-10-02  5:24 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-10-02  5:24 UTC (permalink / raw
  To: gentoo-commits

commit:     8619365bbfacac4e8d5abd0f54039c4eddbfe188
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Mon Oct  2 05:24:20 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Mon Oct  2 05:24:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8619365b

www-apps/code-server-bin: add 4.17.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.17.1.ebuild  | 101 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index b8c06b52b0..afe2c2f335 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -8,3 +8,5 @@ DIST code-server-bin-4.16.1-amd64.tar.gz 99495970 BLAKE2B 361c07e00ba297b2a901a1
 DIST code-server-bin-4.16.1-arm64.tar.gz 98260104 BLAKE2B bc889fdfe577b7115d2a6411354b915b3da02a1a22bdf576aba99ade9819a613ec76d4b26130d06c49e8e42eeb3e3fdf40a89b1910e43f3704761494d315f3d9 SHA512 f9bd711fe2334501bf339c2bed73a9411d898bf44dd34cf0ff7a476b74ae7397032186aca3c911321ce6808cecb3e67f244eee58a55a50ae9c62d9fe65b39c28
 DIST code-server-bin-4.17.0-amd64.tar.gz 96605967 BLAKE2B 631bb923170d4530596d313540df4f96fbd4c6ab481206de6106880772645d953731bec15b391201d9da5e87fb34350456f6301b7db4a2b4489c393bc82c53d8 SHA512 5b2d2ae4bef758364fa8080ac4fb6f60a2136d616f76ffe09e64de51c2046c5d3ff86425ce02d6cce32e91c0ceeb9391e3e86e2ef852db5c9b9a4cf8ba2b9d79
 DIST code-server-bin-4.17.0-arm64.tar.gz 95927302 BLAKE2B 8953ef7979eb35ddadc4238f631c385a2343fef93501e83387b6cb85575c5bb2dbbcd895bb11c0eb4ebf39980eebd4f93eef21881c1aa9c931605134e84a1df4 SHA512 6448e715a5541e38bf0bc75eafe6c2c5edc6e4628350531b0021139aaa40bd13dface37f79bad6009cd1932695468043953fede5507e9c7b6825ca7ae33c6f90
+DIST code-server-bin-4.17.1-amd64.tar.gz 96252118 BLAKE2B 6509997725e316454538ba470aee204119b2cd3dcdb3d4c4e774691f512253111b5bde3d2eb84731ae05c0ff61fcaa422c8cde5004a3e173c363353deffd0d2e SHA512 0c47af00c8e9d6d04ab218836ed1f2cc71ef94bd4c83aa1fdd670b9b967747cdae856290bf7a3fcde0b27b2117dd287a9bd711366d22b80304fe2031449f82c8
+DIST code-server-bin-4.17.1-arm64.tar.gz 96460530 BLAKE2B a7150628b67183cb0e8350a4718e99c0e42c18217221846ed18c50545cdac4a5e94cdeb45580de35cbaf35d6abae5d981e3ba96006fc133861084171bf1db04a SHA512 a4181d1560e0d3d4ef3af5d7cf186d312b807cf81c708816132891c4453d0884ebbd9130363ec688168e4b226d061c0c3af4eab6b78cb067b2246e6a99aab8eb

diff --git a/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild
new file mode 100644
index 0000000000..56d038b6d0
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD"
+LICENSE+=" LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+
+RDEPEND="
+	app-crypt/libsecret
+	>=net-libs/nodejs-18.0.0[ssl]
+	sys-apps/ripgrep
+	virtual/krb5
+"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-11-01 19:20 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-11-01 19:20 UTC (permalink / raw
  To: gentoo-commits

commit:     cc604bbc4fc673227b634e4f857b5976116b64df
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Nov  1 18:52:42 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Wed Nov  1 18:52:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc604bbc

www-apps/code-server-bin: add 4.18.0

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.18.0.ebuild  | 101 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index afe2c2f335..de9403ff91 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -10,3 +10,5 @@ DIST code-server-bin-4.17.0-amd64.tar.gz 96605967 BLAKE2B 631bb923170d4530596d31
 DIST code-server-bin-4.17.0-arm64.tar.gz 95927302 BLAKE2B 8953ef7979eb35ddadc4238f631c385a2343fef93501e83387b6cb85575c5bb2dbbcd895bb11c0eb4ebf39980eebd4f93eef21881c1aa9c931605134e84a1df4 SHA512 6448e715a5541e38bf0bc75eafe6c2c5edc6e4628350531b0021139aaa40bd13dface37f79bad6009cd1932695468043953fede5507e9c7b6825ca7ae33c6f90
 DIST code-server-bin-4.17.1-amd64.tar.gz 96252118 BLAKE2B 6509997725e316454538ba470aee204119b2cd3dcdb3d4c4e774691f512253111b5bde3d2eb84731ae05c0ff61fcaa422c8cde5004a3e173c363353deffd0d2e SHA512 0c47af00c8e9d6d04ab218836ed1f2cc71ef94bd4c83aa1fdd670b9b967747cdae856290bf7a3fcde0b27b2117dd287a9bd711366d22b80304fe2031449f82c8
 DIST code-server-bin-4.17.1-arm64.tar.gz 96460530 BLAKE2B a7150628b67183cb0e8350a4718e99c0e42c18217221846ed18c50545cdac4a5e94cdeb45580de35cbaf35d6abae5d981e3ba96006fc133861084171bf1db04a SHA512 a4181d1560e0d3d4ef3af5d7cf186d312b807cf81c708816132891c4453d0884ebbd9130363ec688168e4b226d061c0c3af4eab6b78cb067b2246e6a99aab8eb
+DIST code-server-bin-4.18.0-amd64.tar.gz 96325604 BLAKE2B b227866908496cebb44dbe779433751e406b5e6fcd787eb4e04618bccfef512452f0bfc9adbb431eb7834b6ce88f7383d038e8810ef11f5ec37dca7055a0677d SHA512 ebd3538defcebb166627a55993ddff1825400fb7172f46f80afbeeb0333912f5cf2919d9b36305d761686d49c59333c90e3160c1365a5a57c2b223ceb1b2e341
+DIST code-server-bin-4.18.0-arm64.tar.gz 96445800 BLAKE2B 4504f71005f090a5317990e5559f7806b5d8135c511c25d037f58d5fba154c8463c69bf174bb975b307907983f3b042350b035efe5962518124709e159e35da5 SHA512 357de541a23b2cec3a2ec66b6093e55f1cc7793544f84609b60f83395a78497a7b1471a566418c57f2411b3e895a6ffb859649a65d046784824be1fccac2520b

diff --git a/www-apps/code-server-bin/code-server-bin-4.18.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.18.0.ebuild
new file mode 100644
index 0000000000..56d038b6d0
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.18.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD"
+LICENSE+=" LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+
+RDEPEND="
+	app-crypt/libsecret
+	>=net-libs/nodejs-18.0.0[ssl]
+	sys-apps/ripgrep
+	virtual/krb5
+"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2023-11-29 22:18 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2023-11-29 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     cc6f8e9fea75a01b07f4b724d543a132161132f9
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Nov 29 22:14:24 2023 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Wed Nov 29 22:14:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc6f8e9f

www-apps/code-server-bin: add 4.19.1

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.19.1.ebuild  | 101 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index de9403ff91..b905918d43 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -12,3 +12,5 @@ DIST code-server-bin-4.17.1-amd64.tar.gz 96252118 BLAKE2B 6509997725e316454538ba
 DIST code-server-bin-4.17.1-arm64.tar.gz 96460530 BLAKE2B a7150628b67183cb0e8350a4718e99c0e42c18217221846ed18c50545cdac4a5e94cdeb45580de35cbaf35d6abae5d981e3ba96006fc133861084171bf1db04a SHA512 a4181d1560e0d3d4ef3af5d7cf186d312b807cf81c708816132891c4453d0884ebbd9130363ec688168e4b226d061c0c3af4eab6b78cb067b2246e6a99aab8eb
 DIST code-server-bin-4.18.0-amd64.tar.gz 96325604 BLAKE2B b227866908496cebb44dbe779433751e406b5e6fcd787eb4e04618bccfef512452f0bfc9adbb431eb7834b6ce88f7383d038e8810ef11f5ec37dca7055a0677d SHA512 ebd3538defcebb166627a55993ddff1825400fb7172f46f80afbeeb0333912f5cf2919d9b36305d761686d49c59333c90e3160c1365a5a57c2b223ceb1b2e341
 DIST code-server-bin-4.18.0-arm64.tar.gz 96445800 BLAKE2B 4504f71005f090a5317990e5559f7806b5d8135c511c25d037f58d5fba154c8463c69bf174bb975b307907983f3b042350b035efe5962518124709e159e35da5 SHA512 357de541a23b2cec3a2ec66b6093e55f1cc7793544f84609b60f83395a78497a7b1471a566418c57f2411b3e895a6ffb859649a65d046784824be1fccac2520b
+DIST code-server-bin-4.19.1-amd64.tar.gz 96311589 BLAKE2B 291b186bf926ea6ecc4d056e73ff6d29eba70f2b94fe47de547c81ed695f5725a12165588f38ce87c713a55d1270c4636dc8069262d7b2c9e607feadb2aa7153 SHA512 c5490953c2918927b124d51c74f10ab25a8e2fefea4ed96d403ec6590a1f516721e98a4c435632652f42fcb9cef68ce4590f6eb9ca2de7eac92d7e08e2f1c1d5
+DIST code-server-bin-4.19.1-arm64.tar.gz 96427997 BLAKE2B 46a680f7a3aba81c75eab218a025fe2c8848420f9500224c668b5b1d1cbc571819631f2a01ebc28b3004c6e28757e0122689ef67b1162cc2db8e5369423cadbb SHA512 1005dbb02b56e0b6198f27a601e44af4218b76a26c0416f493c83b1f7442bf383c454754a2fb26724eba66600a047a2276a1cb4f1a31c9ddebec86d56788ab74

diff --git a/www-apps/code-server-bin/code-server-bin-4.19.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.19.1.ebuild
new file mode 100644
index 0000000000..56d038b6d0
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.19.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD"
+LICENSE+=" LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+
+RDEPEND="
+	app-crypt/libsecret
+	>=net-libs/nodejs-18.0.0[ssl]
+	sys-apps/ripgrep
+	virtual/krb5
+"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto "/opt/${PN}"
+	doins -r .
+	fperms +x "/opt/${PN}/bin/${MY_PN}"
+	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
+	dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}"
+
+	dosym -r "/usr/bin/rg" \
+		"/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
+
+	systemd_douserunit "${FILESDIR}/${PN}.service"
+	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
+	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2024-07-10  6:39 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2024-07-10  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     2292bf1457c394832c7671e856e69b7219eef19b
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Jul 10 06:04:22 2024 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Wed Jul 10 06:38:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2292bf14

www-apps/code-server-bin: add 4.90.3

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |   2 +
 .../code-server-bin/code-server-bin-4.90.3.ebuild  | 101 +++++++++++++++++++++
 2 files changed, 103 insertions(+)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index 1a72854a9..fa3df6468 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -2,3 +2,5 @@ DIST code-server-bin-4.18.0-amd64.tar.gz 96325604 BLAKE2B b227866908496cebb44dbe
 DIST code-server-bin-4.18.0-arm64.tar.gz 96445800 BLAKE2B 4504f71005f090a5317990e5559f7806b5d8135c511c25d037f58d5fba154c8463c69bf174bb975b307907983f3b042350b035efe5962518124709e159e35da5 SHA512 357de541a23b2cec3a2ec66b6093e55f1cc7793544f84609b60f83395a78497a7b1471a566418c57f2411b3e895a6ffb859649a65d046784824be1fccac2520b
 DIST code-server-bin-4.19.1-amd64.tar.gz 96311589 BLAKE2B 291b186bf926ea6ecc4d056e73ff6d29eba70f2b94fe47de547c81ed695f5725a12165588f38ce87c713a55d1270c4636dc8069262d7b2c9e607feadb2aa7153 SHA512 c5490953c2918927b124d51c74f10ab25a8e2fefea4ed96d403ec6590a1f516721e98a4c435632652f42fcb9cef68ce4590f6eb9ca2de7eac92d7e08e2f1c1d5
 DIST code-server-bin-4.19.1-arm64.tar.gz 96427997 BLAKE2B 46a680f7a3aba81c75eab218a025fe2c8848420f9500224c668b5b1d1cbc571819631f2a01ebc28b3004c6e28757e0122689ef67b1162cc2db8e5369423cadbb SHA512 1005dbb02b56e0b6198f27a601e44af4218b76a26c0416f493c83b1f7442bf383c454754a2fb26724eba66600a047a2276a1cb4f1a31c9ddebec86d56788ab74
+DIST code-server-bin-4.90.3-amd64.tar.gz 96315768 BLAKE2B 051739afc677d12b303102d2b057509fbebc1310f048e46cdbfce4de6a993e956e72106a75c34d1d7ec4f7abdd123bb526916ca37e0e81fead950620aed69796 SHA512 856315d9885d88868d65ea942c8f5af3587274ef598fe4f4177edc24ce6866eb7817bd80a565833dba570389136a91f887648145d93b529ff9350a7a391e9a8d
+DIST code-server-bin-4.90.3-arm64.tar.gz 96292182 BLAKE2B d805b6832c9781d843a90ce7cd04ee906a65c397d4005d4038a8ee05b63d7fd2bdecc64e1ff8e1fcb1862219398ced9f0cfdf32e335348496fc0a88bfbec726a SHA512 1722408c487db74e8832aca28dbc8cf53b555e879bb8c896861530a4263abc34375d2c2ff226726090362a60377064dcbbbdc58a1c0ce39bbb0a336dde65671a

diff --git a/www-apps/code-server-bin/code-server-bin-4.90.3.ebuild b/www-apps/code-server-bin/code-server-bin-4.90.3.ebuild
new file mode 100644
index 000000000..a545b3188
--- /dev/null
+++ b/www-apps/code-server-bin/code-server-bin-4.90.3.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN/-bin/}"
+MY_P="${MY_PN}-${PV}"
+BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
+
+inherit systemd
+
+DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
+HOMEPAGE="https://coder.com/"
+SRC_URI="
+	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/${MY_P}-linux-${ARCH}"
+
+LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD LGPL-2.1+"
+LICENSE+=" LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+
+RDEPEND="
+	app-crypt/libsecret
+	>=net-libs/nodejs-20.0.0[ssl]
+	sys-apps/ripgrep
+	virtual/krb5
+"
+
+PATCHES=( "${FILESDIR}/${PN}-node.patch" )
+
+DOCS=( README.md ThirdPartyNotices.txt )
+
+QA_PREBUILT="*"
+
+# Relative
+VSCODE_MODULES="lib/vscode/node_modules"
+QA_PRESTRIPPED="
+	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
+	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
+"
+
+src_prepare() {
+	default
+
+	# We remove as much precompiled code as we can,
+	# node modules not written in JS cannot be removed
+	# thus "-bin".
+
+	# use system node
+	rm ./lib/node || die "Failed to remove bundled nodejs"
+
+	# remove bundled ripgrep binary
+	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
+		|| die "Failed to remove bundled ripgrep"
+
+	# Only required at build time
+	find "${S}" -type l -name python3 -delete || die
+
+	# not needed
+	rm ./postinstall.sh || die
+
+	# For windows
+	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
+
+	if [[ $ELIBC != "musl" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
+	elif [[ $ELIBC != "glibc" ]]; then
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
+		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
+	fi
+
+	rm -r ./lib/vscode/extensions/node_modules/.bin || die
+}
+
+src_install() {
+	einstalldocs
+
+	insinto /opt/"${PN}"
+	doins -r .
+	fperms +x /opt/"${PN}"/bin/"${MY_PN}"
+	dosym -r /opt/"${PN}"/bin/"${MY_PN}" /opt/"${PN}"/bin/"${PN}"
+	dosym -r /opt/"${PN}"/bin/"${PN}" /usr/bin/"${PN}"
+
+	dosym -r /usr/bin/rg \
+		/opt/"${PN}"/"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg
+
+	systemd_douserunit "${FILESDIR}/${PN}".service
+	newinitd "${FILESDIR}/${PN}".rc "${PN}"
+	newconfd "${FILESDIR}/${PN}".conf "${PN}"
+}
+
+pkg_postinst() {
+	elog "When using code-server systemd service run it as a user"
+	elog "For example: 'systemctl --user enable --now code-server'"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2024-07-10  6:39 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2024-07-10  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     b777930e7e727ba62e2acc2553e431f579215a75
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Jul 10 06:05:51 2024 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Wed Jul 10 06:38:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b777930e

www-apps/code-server-bin: drop old versions

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/Manifest                  |  12 ---
 .../code-server-bin/code-server-bin-4.14.1.ebuild  | 107 ---------------------
 .../code-server-bin/code-server-bin-4.15.0.ebuild  | 107 ---------------------
 .../code-server-bin/code-server-bin-4.16.0.ebuild  | 107 ---------------------
 .../code-server-bin/code-server-bin-4.16.1.ebuild  | 107 ---------------------
 .../code-server-bin/code-server-bin-4.17.0.ebuild  | 101 -------------------
 .../code-server-bin/code-server-bin-4.17.1.ebuild  | 101 -------------------
 7 files changed, 642 deletions(-)

diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest
index b905918d4..1a72854a9 100644
--- a/www-apps/code-server-bin/Manifest
+++ b/www-apps/code-server-bin/Manifest
@@ -1,15 +1,3 @@
-DIST code-server-4.14.1-linux-amd64.tar.gz 98672270 BLAKE2B 9b7389b3578209391ac0c4a622e4e9a8bdb2bfcbc3f9eda5b26264b122273777819d097f6fa03114429a7bdc4ab7ac943bb104683b5867e3df248171551548d9 SHA512 1d70f5dbc4f4605d5fd254df117d34c8b05fc33085c27c909f8ec73d5ef9a3d71bb11617b38a6fa3dc32138c6df92db0555c14ede814b6868cb43acec182c70a
-DIST code-server-4.14.1-linux-arm64.tar.gz 97486113 BLAKE2B d918d2a7f5f0be73f26408d9bb0f4a499d98044da58b19dce1146508c9a68cdf8abfb577789a70fc15658c2265b1fc548f9ed96fbf69859a5993d0218d3cca0f SHA512 70db38d528ea24446859eab61c9a502e901dc325f15a50bc5788acf42bd49e29750350748a1534dbaaceb59fd1654d43e2092a481fae0768916031d07ad1e501
-DIST code-server-4.15.0-linux-amd64.tar.gz 99499811 BLAKE2B b14a712624d312190be8320103f156fdefb99ab0990e11a555e3d2eb647bd28b7296e55ce9080d4b642ae1eda3780db6e6ab24310635ec1b714e7df7749250f9 SHA512 5c825ef33458bc7d8cb53657d7160dd01afe6fda4ce9f5dadcb9e977ab921dd092320c3e8bb1120543782a1591745dc46e712e87964f1abcc5fcc554566f9193
-DIST code-server-4.15.0-linux-arm64.tar.gz 98256392 BLAKE2B 0a9391ab69139e8674fe0f408bc98946e50114239d08bcb152f617fba2bbf42601432c05861e19fff1500574f8d54df4b1d768898c381fe31d518f0d2d8886f5 SHA512 95f0a1ac33ef0280f3195fbf0563f8e5f3d3fce18991758edf095dec52cd501769951b4905a83fcb100b0c5aec8db29feea6cb992e945b4f4447e56be26df2db
-DIST code-server-4.16.0-linux-amd64.tar.gz 99495017 BLAKE2B 3d4afbc0d64bc31bd1caf4457fcd39e161ba2036085494c23f3b125975e8f2d2f56e458474781c3cad950634831b53c8da4d8e9128700fec8489cfe6f528e0cf SHA512 8c0f694671b050f020deed8247b14a480ae5a5855cb99c4c1c86ba248119cf0e34b4653a5a26237cd769ff4fb7e20438e45bc0bb31151fbd16f2fcb35caab7ee
-DIST code-server-4.16.0-linux-arm64.tar.gz 98257595 BLAKE2B 907cb8d0fd15e81eef3ed3cfa93018f289536cea480212424d89c90624dcd1bee3563008565fb8641fb2859989c211c1d1d791c42bf068e53bd43f71ecfa9eb5 SHA512 abc69af88743029d3bc2f1f4f7f2f46f671929f61dd193a531afba96bf678454b8ea0794709100aab5c6dbf86382bd9edb94582a2e6426219851e40e86bd489a
-DIST code-server-bin-4.16.1-amd64.tar.gz 99495970 BLAKE2B 361c07e00ba297b2a901a133685b53d31e3804ce31c21b279619d61ae867c91261f8af9d1049a6467a87e5f355b32177207e68bdd970788e7ba8ac653deade6f SHA512 d0f657a6e1a455d8d5155174ac7700f5562513dccb816333286221d881346cbc837b3fdb1562966249535d975c017cd5f4f0dada2526517ad2622d945f2bd665
-DIST code-server-bin-4.16.1-arm64.tar.gz 98260104 BLAKE2B bc889fdfe577b7115d2a6411354b915b3da02a1a22bdf576aba99ade9819a613ec76d4b26130d06c49e8e42eeb3e3fdf40a89b1910e43f3704761494d315f3d9 SHA512 f9bd711fe2334501bf339c2bed73a9411d898bf44dd34cf0ff7a476b74ae7397032186aca3c911321ce6808cecb3e67f244eee58a55a50ae9c62d9fe65b39c28
-DIST code-server-bin-4.17.0-amd64.tar.gz 96605967 BLAKE2B 631bb923170d4530596d313540df4f96fbd4c6ab481206de6106880772645d953731bec15b391201d9da5e87fb34350456f6301b7db4a2b4489c393bc82c53d8 SHA512 5b2d2ae4bef758364fa8080ac4fb6f60a2136d616f76ffe09e64de51c2046c5d3ff86425ce02d6cce32e91c0ceeb9391e3e86e2ef852db5c9b9a4cf8ba2b9d79
-DIST code-server-bin-4.17.0-arm64.tar.gz 95927302 BLAKE2B 8953ef7979eb35ddadc4238f631c385a2343fef93501e83387b6cb85575c5bb2dbbcd895bb11c0eb4ebf39980eebd4f93eef21881c1aa9c931605134e84a1df4 SHA512 6448e715a5541e38bf0bc75eafe6c2c5edc6e4628350531b0021139aaa40bd13dface37f79bad6009cd1932695468043953fede5507e9c7b6825ca7ae33c6f90
-DIST code-server-bin-4.17.1-amd64.tar.gz 96252118 BLAKE2B 6509997725e316454538ba470aee204119b2cd3dcdb3d4c4e774691f512253111b5bde3d2eb84731ae05c0ff61fcaa422c8cde5004a3e173c363353deffd0d2e SHA512 0c47af00c8e9d6d04ab218836ed1f2cc71ef94bd4c83aa1fdd670b9b967747cdae856290bf7a3fcde0b27b2117dd287a9bd711366d22b80304fe2031449f82c8
-DIST code-server-bin-4.17.1-arm64.tar.gz 96460530 BLAKE2B a7150628b67183cb0e8350a4718e99c0e42c18217221846ed18c50545cdac4a5e94cdeb45580de35cbaf35d6abae5d981e3ba96006fc133861084171bf1db04a SHA512 a4181d1560e0d3d4ef3af5d7cf186d312b807cf81c708816132891c4453d0884ebbd9130363ec688168e4b226d061c0c3af4eab6b78cb067b2246e6a99aab8eb
 DIST code-server-bin-4.18.0-amd64.tar.gz 96325604 BLAKE2B b227866908496cebb44dbe779433751e406b5e6fcd787eb4e04618bccfef512452f0bfc9adbb431eb7834b6ce88f7383d038e8810ef11f5ec37dca7055a0677d SHA512 ebd3538defcebb166627a55993ddff1825400fb7172f46f80afbeeb0333912f5cf2919d9b36305d761686d49c59333c90e3160c1365a5a57c2b223ceb1b2e341
 DIST code-server-bin-4.18.0-arm64.tar.gz 96445800 BLAKE2B 4504f71005f090a5317990e5559f7806b5d8135c511c25d037f58d5fba154c8463c69bf174bb975b307907983f3b042350b035efe5962518124709e159e35da5 SHA512 357de541a23b2cec3a2ec66b6093e55f1cc7793544f84609b60f83395a78497a7b1471a566418c57f2411b3e895a6ffb859649a65d046784824be1fccac2520b
 DIST code-server-bin-4.19.1-amd64.tar.gz 96311589 BLAKE2B 291b186bf926ea6ecc4d056e73ff6d29eba70f2b94fe47de547c81ed695f5725a12165588f38ce87c713a55d1270c4636dc8069262d7b2c9e607feadb2aa7153 SHA512 c5490953c2918927b124d51c74f10ab25a8e2fefea4ed96d403ec6590a1f516721e98a4c435632652f42fcb9cef68ce4590f6eb9ca2de7eac92d7e08e2f1c1d5

diff --git a/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild
deleted file mode 100644
index e2684ffe0..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.14.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RESTRICT="test"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild
deleted file mode 100644
index e2684ffe0..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.15.0.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RESTRICT="test"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild
deleted file mode 100644
index e2684ffe0..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.16.0.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz )
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-LICENSE="MIT 0BSD ISC PYTHON BSD-2 BSD Apache-2.0 Unlicense LGPL-2.1+
-	|| ( BSD-2 MIT Apache-2.0 )
-	|| ( MIT WTFPL )
-	|| ( BSD GPL-2 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RESTRICT="test"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild
deleted file mode 100644
index 177cd81c5..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.16.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
-"
-
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON GPL-2 0BSD"
-LICENSE+=" LGPL-2.1+
-	|| ( MIT WTFPL )
-	|| ( BSD-2 MIT Apache-2.0 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-RESTRICT="test"
-
-RDEPEND="
-	${DEPEND}
-	>=net-libs/nodejs-16.0.0[ssl]
-	sys-apps/ripgrep
-	app-crypt/libsecret
-"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( "LICENSE" "README.md" "ThirdPartyNotices.txt" )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "${EPREFIX}/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"${EPREFIX}/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild
deleted file mode 100644
index 56d038b6d..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.17.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
-"
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD"
-LICENSE+=" LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-RESTRICT="test"
-
-RDEPEND="
-	app-crypt/libsecret
-	>=net-libs/nodejs-18.0.0[ssl]
-	sys-apps/ripgrep
-	virtual/krb5
-"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}

diff --git a/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild b/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild
deleted file mode 100644
index 56d038b6d..000000000
--- a/www-apps/code-server-bin/code-server-bin-4.17.1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="${PN/-bin/}"
-MY_P="${MY_PN}-${PV}"
-BASE_URI="https://github.com/coder/${MY_PN}/releases/download/v${PV}/${MY_P}-linux"
-
-inherit systemd
-
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)"
-HOMEPAGE="https://coder.com/"
-SRC_URI="
-	amd64? ( ${BASE_URI}-amd64.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( ${BASE_URI}-arm64.tar.gz -> ${P}-arm64.tar.gz )
-"
-S="${WORKDIR}/${MY_P}-linux-${ARCH}"
-
-LICENSE="MIT ISC BSD Apache-2.0 BSD-2 PYTHON 0BSD"
-LICENSE+=" LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-RESTRICT="test"
-
-RDEPEND="
-	app-crypt/libsecret
-	>=net-libs/nodejs-18.0.0[ssl]
-	sys-apps/ripgrep
-	virtual/krb5
-"
-
-PATCHES=( "${FILESDIR}/${PN}-node.patch" )
-
-DOCS=( README.md ThirdPartyNotices.txt )
-
-QA_PREBUILT="*"
-
-# Relative
-VSCODE_MODULES="lib/vscode/node_modules"
-QA_PRESTRIPPED="
-	opt/${PN}/node_modules/@node-rs/argon2-linux-x64-musl/argon2.linux-x64-musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node
-	opt/${PN}/${VSCODE_MODULES}/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node
-"
-
-src_prepare() {
-	default
-
-	# We remove as much precompiled code as we can,
-	# node modules not written in JS cannot be removed
-	# thus "-bin".
-
-	# use system node
-	rm ./lib/node || die "Failed to remove bundled nodejs"
-
-	# remove bundled ripgrep binary
-	rm ./"${VSCODE_MODULES}"/@vscode/ripgrep/bin/rg \
-		|| die "Failed to remove bundled ripgrep"
-
-	# Only required at build time
-	find "${S}" -type l -name python3 -delete || die
-
-	# not needed
-	rm ./postinstall.sh || die
-
-	# For windows
-	rm -r ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/win32-x64 || die
-
-	if [[ $ELIBC != "musl" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node || die
-	elif [[ $ELIBC != "glibc" ]]; then
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/linux-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node || die
-		rm ./"${VSCODE_MODULES}"/@parcel/watcher/prebuilds/darwin-arm64/node.napi.glibc.node || die
-	fi
-
-	rm -r ./lib/vscode/extensions/node_modules/.bin || die
-}
-
-src_install() {
-	einstalldocs
-
-	insinto "/opt/${PN}"
-	doins -r .
-	fperms +x "/opt/${PN}/bin/${MY_PN}"
-	dosym -r "/opt/${PN}/bin/${MY_PN}" "/opt/${PN}/bin/${PN}"
-	dosym -r "/opt/${PN}/bin/${PN}" "/usr/bin/${PN}"
-
-	dosym -r "/usr/bin/rg" \
-		"/opt/${PN}/${VSCODE_MODULES}/@vscode/ripgrep/bin/rg"
-
-	systemd_douserunit "${FILESDIR}/${PN}.service"
-	newinitd "${FILESDIR}/${PN}.rc" "${PN}"
-	newconfd "${FILESDIR}/${PN}.conf" "${PN}"
-}
-
-pkg_postinst() {
-	elog "When using code-server systemd service run it as a user"
-	elog "For example: 'systemctl --user enable --now code-server'"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/
@ 2024-07-10  6:39 Leonardo Hernandez
  0 siblings, 0 replies; 60+ messages in thread
From: Leonardo Hernandez @ 2024-07-10  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     1f93121e108660f5e671309d5c346103f7500878
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Jul 10 06:15:13 2024 +0000
Commit:     Leonardo Hernandez <leohdz172 <AT> proton <DOT> me>
CommitDate: Wed Jul 10 06:38:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f93121e

www-apps/code-server-bin: drop myself as a maintainer

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>

 www-apps/code-server-bin/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www-apps/code-server-bin/metadata.xml b/www-apps/code-server-bin/metadata.xml
index 9288a0c44..eb29dcf51 100644
--- a/www-apps/code-server-bin/metadata.xml
+++ b/www-apps/code-server-bin/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <name>Leonardo Hernández Hernández</name>
-    <email>leohdz172@proton.me</email>
-  </maintainer>
+  <!-- maintainer-needed -->
   <upstream>
     <remote-id type="github">coder/code-server</remote-id>
   </upstream>


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

end of thread, other threads:[~2024-07-10  6:39 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02 18:16 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/code-server-bin/ Leonardo Hernandez
  -- strict thread matches above, loose matches on Subject: below --
2024-07-10  6:39 Leonardo Hernandez
2024-07-10  6:39 Leonardo Hernandez
2024-07-10  6:39 Leonardo Hernandez
2023-11-29 22:18 Leonardo Hernandez
2023-11-01 19:20 Leonardo Hernandez
2023-10-02  5:24 Leonardo Hernandez
2023-09-24 19:08 Leonardo Hernandez
2023-07-31 20:14 Leonardo Hernandez
2023-07-31 20:14 Leonardo Hernandez
2023-07-30 20:17 Leonardo Hernandez
2023-07-22  1:43 Leonardo Hernandez
2023-07-22  1:43 Leonardo Hernandez
2023-06-27  4:51 Leonardo Hernandez
2023-06-22  5:12 Leonardo Hernandez
2023-06-22  5:12 Leonardo Hernandez
2023-05-19 21:42 Leonardo Hernandez
2023-05-19 21:42 Leonardo Hernandez
2023-04-21 22:12 Leonardo Hernandez
2023-04-21 22:12 Leonardo Hernandez
2023-01-18  5:48 Leonardo Hernandez
2023-01-12 20:58 Leonardo Hernandez
2023-01-12 20:58 Leonardo Hernandez
2022-12-30 21:27 Leonardo Hernandez
2022-12-02 18:16 Leonardo Hernandez
2022-10-01 21:29 Leonardo Hernandez
2022-09-22  5:40 Leonardo Hernandez
2022-09-09  2:57 Leonardo Hernandez
2022-04-15 15:02 Leonardo Hernandez
2022-04-14 23:54 Leonardo Hernandez
2022-04-14 23:54 Leonardo Hernandez
2022-04-14 23:54 Leonardo Hernandez
2022-03-04  3:50 Leonardo Hernandez
2022-03-04  3:50 Leonardo Hernandez
2022-02-12  2:31 Leonardo Hernandez
2022-01-28 21:55 Leonardo Hernandez
2022-01-28 21:55 Leonardo Hernandez
2022-01-24 20:08 Leonardo Hernandez
2021-09-26 15:55 Leonardo Hernandez
2021-09-25  4:55 Leonardo Hernandez
2021-09-25  4:55 Leonardo Hernandez
2021-09-25  4:55 Leonardo Hernandez
2021-05-21 18:18 Maciej Barć
2021-05-10 22:03 Maciej Barć
2021-05-10 22:03 Maciej Barć
2021-04-08 21:50 Maciej Barć
2021-04-08 21:37 Maciej Barć
2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-28 11:14 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-26  7:47 Maciej Barć
2021-03-25 23:14 Maciej Barć
2021-03-25 23:13 Maciej Barć
2021-03-08 18:32 Maciej Barć
2021-02-13  2:08 Maciej Barć
2021-02-13  2:07 Maciej Barć
2021-02-05 23:59 Maciej Barć
2021-02-05 23:59 Maciej Barć
2020-12-27 16:07 Maciej Barć
2020-10-24 10:36 Maciej Barć
2020-08-03 22:42 Maciej Barć
2020-07-26 21:53 Maciej Barć

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