Package Details: depot-tools-git r10928.55d065cc0-1

Git Clone URL: https://aur.archlinux.org/depot-tools-git.git (read-only, click to copy)
Package Base: depot-tools-git
Description: Tools for working with Chromium development
Upstream URL: https://chromium.googlesource.com/chromium/tools/depot_tools
Keywords: chromium depot_tools google
Licenses: custom
Submitter: aperez
Maintainer: alerque
Last Packager: alerque
Votes: 87
Popularity: 0.000000
First Submitted: 2014-07-07 14:25 (UTC)
Last Updated: 2024-10-30 20:56 (UTC)

Dependencies (4)

Sources (1)

Pinned Comments

alerque commented on 2021-09-23 08:19 (UTC)

Installers beware! This package is a fiasco and the upstream Git repository basically has bunch of binary blobs in it that do strange things. I'm working on cleaning up the packaging some but the upstream behavior is egregious. Wash your /opt/depot_tools directory out with soap and bleach when done.

relrel commented on 2020-10-30 11:30 (UTC)

depot_tools is installed in /opt/depot_tools/. This directory is not in $PATH by default, so make sure to export PATH=/opt/depot_tools:$PATH before using it. Also, this directory has root permissions, so either use it as root, or if you want to use it as your currect user:

# groupadd depot_tools
# gpasswd -a $(whoami) depot_tools
# setfacl -m g:depot_tools:rwX /opt/depot_tools/

Then re-login as your current user or log your terminal in to the newly created group:

$ newgrp depot_tools

Latest Comments

1 2 3 4 5 6 7 Next › Last »

fbrennan commented on 2023-11-04 05:09 (UTC)

Actually that's not the only issue. I'd apply this, Google expects that the tree match Git.

diff --git a/PKGBUILD b/PKGBUILD
index 16acecf..a4686ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@
 # Contributor: Rustmilian <Rustmilian@proton.me>

 pkgname=depot-tools-git
-pkgver=r9435.249e9a26c
+pkgver=r10037.b4e466e61
 pkgrel=1
 pkgdesc='Tools for working with Chromium development'
 arch=(x86_64)
@@ -29,36 +29,27 @@ pkgver() {
 }

 package() {
-       install -d "$pkgdir/opt/"
-       cp -r "$srcdir/depot_tools/" "$pkgdir/opt/depot_tools/"
-       chmod 775 "$pkgdir/opt/depot_tools/"
-       # Remove Git
-       rm -rf "${pkgdir}/opt/depot_tools/"{.git,.gitignore,.gitattributes}
-       # Remove Windows
-       rm -r "${pkgdir}/opt/depot_tools/"{*.bat,win32imports.py,win_toolchain}
-       # Remove Misc
-       rm -r "${pkgdir}/opt/depot_tools/"{bootstrap,infra,testing_support,tests,OWNERS,WATCHLISTS}
+       install -v -d "$pkgdir/opt/"
+       cp -v -r "$srcdir/depot_tools/" "$pkgdir/opt/depot_tools/"
+       chmod -v 775 "$pkgdir/opt/depot_tools/"

        # Install license
-       install -d "$pkgdir/usr/share/licenses/$pkgname/"
-       mv "$pkgdir/opt/depot_tools/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+       install -v -d "$pkgdir/usr/share/licenses/$pkgname/"
+       ln -v -s "/opt/depot_tools/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

        # Install man pages
-       install -d "$pkgdir/usr/share/man/"
-       mv "$pkgdir/opt/depot_tools/man/"man[0-8]/ "$pkgdir/usr/share/man/"
+       install -v -d "$pkgdir/usr/share/man/"
+       cp -v -r "$pkgdir/opt/depot_tools/man/"man[0-8]/ "$pkgdir/usr/share/man/"

        # Install docs
        install -d "$pkgdir/usr/share/doc/$pkgname/"
-       mv "$pkgdir/opt/depot_tools/man/html/" "$pkgdir/usr/share/doc/$pkgname/"
-       mv "$pkgdir/opt/depot_tools/"README* "$pkgdir/usr/share/doc/$pkgname/"
-
-       # Remove man/ leftovers
-       rm -r "$pkgdir/opt/depot_tools/man/"
+       cp -v -r "$pkgdir/opt/depot_tools/man/html/" "$pkgdir/usr/share/doc/$pkgname/"
+       cp -v -r "$pkgdir/opt/depot_tools/"README* "$pkgdir/usr/share/doc/$pkgname/"

        # Install bash completions
-       install -Dm0644 "$pkgdir/opt/depot_tools/gclient_completion.sh" "$pkgdir/usr/share/bash-completion/completions/gclient"
-       install -Dm0644 "$pkgdir/opt/depot_tools/git_cl_completion.sh" "$pkgdir/usr/share/bash-completion/completions/git-cl"
+       install -v -Dm0644 "$pkgdir/opt/depot_tools/gclient_completion.sh" "$pkgdir/usr/share/bash-completion/completions/gclient"
+       install -v -Dm0644 "$pkgdir/opt/depot_tools/git_cl_completion.sh" "$pkgdir/usr/share/bash-completion/completions/git-cl"

        # Install zsh completions
-       install -Dm0644 -t "$pkgdir/usr/share/zsh/site-functions/" "$pkgdir/opt/depot_tools/zsh-goodies/_gclient"
+       install -v -Dm0644 -t "$pkgdir/usr/share/zsh/site-functions/" "$pkgdir/opt/depot_tools/zsh-goodies/_gclient"
 }

fbrennan commented on 2023-11-04 05:04 (UTC)

Please do not delete the .git repo, remove this line: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=depot-tools-git&id=77928bc9f3f989bbc6386ef3adac514499dbe938#n36

It breaks https://aur.archlinux.org/packages/skia-git

alerque commented on 2023-03-16 22:21 (UTC) (edited on 2023-03-16 22:21 (UTC) by alerque)

@Rustmilian Lets see patches here or a PR on this repo before we talk about co- access. Definitely open to improvements.

Rustmilian commented on 2023-03-07 20:53 (UTC) (edited on 2023-03-07 20:55 (UTC) by Rustmilian)

I'd like to co-maintain this package. I've emailed further details to you.

hotaru commented on 2023-02-01 16:03 (UTC)

this is failing to build because the upstream git repository no longer contains any .exe files. {bat,exe} in the PKGBUILD needs to be changed to just bat.

alerque commented on 2021-11-27 04:59 (UTC)

@japhir You have a source clone from before some packaging changes. Clear your source directory and try again.

japhir commented on 2021-11-25 11:15 (UTC)

Apparently it checks whether it has the "correct" upstream url now...

==> ERROR: /home/japhir/.cache/paru/clone/depot-tools-git/depot_tools is not a clone of https://chromium.googlesource.com/chromium/tools/depot_tools.git
    Aborting...
error: failed to download sources for 'depot-tools-git-r8355.04d9c8345-1':
error: packages failed to build: depot-tools-git-r8355.04d9c8345-1

alerque commented on 2021-09-23 08:19 (UTC)

Installers beware! This package is a fiasco and the upstream Git repository basically has bunch of binary blobs in it that do strange things. I'm working on cleaning up the packaging some but the upstream behavior is egregious. Wash your /opt/depot_tools directory out with soap and bleach when done.

alerque commented on 2021-07-30 11:13 (UTC)

The architecture on this should not be 'any', there are platform specific binaries being distributed in this package.

relrel commented on 2020-10-30 11:30 (UTC)

depot_tools is installed in /opt/depot_tools/. This directory is not in $PATH by default, so make sure to export PATH=/opt/depot_tools:$PATH before using it. Also, this directory has root permissions, so either use it as root, or if you want to use it as your currect user:

# groupadd depot_tools
# gpasswd -a $(whoami) depot_tools
# setfacl -m g:depot_tools:rwX /opt/depot_tools/

Then re-login as your current user or log your terminal in to the newly created group:

$ newgrp depot_tools