Package Details: github-desktop-bin 3.0.5_linux1-1

Git Clone URL: https://aur.archlinux.org/github-desktop-bin.git (read-only, click to copy)
Package Base: github-desktop-bin
Description: GUI for managing Git and GitHub.
Upstream URL: https://desktop.github.com
Licenses: MIT
Conflicts: github-desktop
Provides: github-desktop
Submitter: immackay
Maintainer: fanninpm (shiftkey)
Last Packager: fanninpm
Votes: 39
Popularity: 0.85
First Submitted: 2018-08-01 14:12 (UTC)
Last Updated: 2022-08-02 22:02 (UTC)

Pinned Comments

fanninpm commented on 2022-04-05 00:18 (UTC)

ATTN: The hard dependency on gnome-keyring has finally been relaxed. I have not tested this thoroughly; your mileage may vary.

immackay commented on 2019-10-04 23:52 (UTC)

For whom it may concern: this package depends on Shiftkey's linux support fork, located at https://github.com/shiftkey/desktop/

I check this regularly for releases. If you want the newest version, I suggest you check out github-desktop-git and modify the PKGBUILD to use the base repository, with the understanding that the application takes a significant amount of RAM to build.

Latest Comments

Firestar commented on 2022-07-14 17:01 (UTC) (edited on 2022-07-14 17:04 (UTC) by Firestar)

still need gnome-keyring. keypass cannot store my login password. using keepassxc: Error: The name org.freedesktop.secrets was not provided by any .service files

Firestar commented on 2022-07-11 02:07 (UTC) (edited on 2022-07-14 17:05 (UTC) by Firestar)

Why is it using unzip? in system there is unar which is much better (such as encoding support)

alumni commented on 2022-04-28 15:36 (UTC)

Could you add xxx-flag.conf support like chrome/edge/electron/code? This would e.g. make it easy to run GitHub Desktop on Wayland: --enable-features=WaylandWindowDecorations --ozone-platform=wayland

Raiden0456 commented on 2022-04-07 08:19 (UTC)

@fanninpm thanks, I'll try to switch and say if it helps

fanninpm commented on 2022-04-06 22:15 (UTC)

@Raiden0456 I experienced a similar problem with vscodium-bin, and I solved it by switching over to the Chaotic-AUR for a time.

Raiden0456 commented on 2022-04-06 06:56 (UTC)

@fanninpm yes i did a pacman -Sc and checked cache folder for any remaining cache files, sadly this did not help. it seems like something is wrong with sha256sums first long number.

fanninpm commented on 2022-04-05 19:35 (UTC)

@Raiden0456 have you tried cleaning the package cache for both pacman and your AUR helper?

Raiden0456 commented on 2022-04-05 14:34 (UTC)

After the last update always prints the following error when trying to build:

Building github-desktop-bin... ==> Making package: github-desktop-bin 2.9.12_linux4-2 (Tue 05 Apr 2022 17:30:05 MSK) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found GitHubDesktop-linux-2.9.12-linux4.deb -> Found github-desktop.desktop ==> Validating source files with sha256sums... GitHubDesktop-linux-2.9.12-linux4.deb ... FAILED github-desktop.desktop ... Passed ==> ERROR: One or more files did not pass the validity check! Failed to build github-desktop-bin

fanninpm commented on 2022-04-05 00:18 (UTC)

ATTN: The hard dependency on gnome-keyring has finally been relaxed. I have not tested this thoroughly; your mileage may vary.

RatCaptain commented on 2022-02-24 15:05 (UTC) (edited on 2022-02-24 15:07 (UTC) by RatCaptain)

I had a problem with the login. After I pressed the "login with browser" button. The Auth site popped up then it redirected me to the github dektop app, but it is loaded for ever. And it gave me this in logs :

2022-02-24T13:20:23.655Z - info: [ui] [AppStore] loading 0 repositories from store 2022-02-24T13:20:23.733Z - info: [ui] launching: 2.9.9-linux2 (Linux 5.16.7-1-MANJARO) 2022-02-24T13:20:23.733Z - info: [ui] execPath: '/opt/github-desktop/github-desktop' 2022-02-24T13:20:34.366Z - info: [ui] [SignInStore] initializing OAuth flow 2022-02-24T13:20:34.372Z - info: [main] opening in browser:https://github.com/login/oauth/authorizeclient_id=3a723b10ac5575cc5bb9&cope=repo%20user%20workflow&state=ea08f013-6a55-4440-886f-d6d570ff4f1c 2022-02-24T13:20:36.422Z - info: [main] Received possible protocol arguments: 4 2022-02-24T13:20:36.422Z - info: [main] Processing protocol url 2022-02-24T13:20:36.423Z - warn: [ui] Unknown URL action: unknown - payload:{"name":"unknown","url":"--enable-crashpad"}

System: Manjaro 21.2.3

Tried browsers:

Vivaldi Chromium I tried these two AUR packages, they both produced the same problem: https://aur.archlinux.org/packages/github-desktop-bin https://aur.archlinux.org/packages/github-desktop

Update: Tried Versions: (github-desktop-bin) 2.9.0 worked 2.9.6 worked 2.9.9(1) NOT worked 2.9.9(2) NOT worked

Solution: If you login in the 2.9.6 version and then you install the 2.9.9 ver. The system remembers you and you can use the 2.9.9 verson. (Just don't logout, because you can't log back in the 2.9.9 ver)

cjc7373 commented on 2022-02-24 04:44 (UTC)

@fanninpm Be that as it may, org.freedesktop.secrets can work perfectly under my test.

fanninpm commented on 2022-01-01 19:32 (UTC)

@daregakimeta It was added in explicitly as a dependency. C.f. https://github.com/shiftkey/desktop/issues/180

daregakimeta commented on 2022-01-01 13:55 (UTC)

Does this really require gnome-keyring? If it only needs org.freedesktop.secrets, this should probably be adjusted since e.g. keepassxc does provide org.freedesktop.secrets as well.

fanninpm commented on 2021-12-18 18:22 (UTC)

@RabbitLime are you sure you aren't trying to install the github-desktop package? This one just downloads a .deb and extracts a pre-fabricated executable.

RabbitLime commented on 2021-12-05 01:39 (UTC)

The package is broken, build error. ==> WARNING: Using existing $srcdir/ tree ==> Removing existing $pkgdir/ directory... ==> Starting build()... yarn install v1.21.1 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info fsevents@2.2.1: The platform "linux" is incompatible with this module. info "fsevents@2.2.1" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@2.1.3: The platform "linux" is incompatible with this module. info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@1.2.13: The platform "linux" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. info dmg-license@1.0.9: The platform "linux" is incompatible with this module. info "dmg-license@1.0.9" is an optional dependency and failed compatibility check. Excluding it from installation. info iconv-corefoundation@1.1.6: The platform "linux" is incompatible with this module. info "iconv-corefoundation@1.1.6" is an optional dependency and failed compatibility check. Excluding it from installation. [4/5] Linking dependencies... [5/5] Building fresh packages... $ ts-node -P script/tsconfig.json script/post-install.ts yarn install v1.21.1 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Rebuilding all packages... [-/7] ⠂ waiting... [2/7] ⠂ detect-arm64-translation [3/7] ⠂ @shiftkey/dugite [6/7] ⠂ registry-js error /home/bunny/.cache/yay/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation: Command failed. Exit code: 1 Command: prebuild-install || node-gyp rebuild Arguments: Directory: /home/bunny/.cache/yay/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation Output: prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=linux) gyp info it worked if it ends with ok gyp info using node-gyp@8.2.0 gyp info using node@17.1.0 | linux | x64 gyp info find Python using Python version 3.9.9 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/home/bunny/.cache/yay/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/bunny/.cache/node-gyp/11.5.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/bunny/.cache/node-gyp/11.5.0', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/bunny/.cache/node-gyp/11.5.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/bunny/.cache/yay/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:353:16) gyp ERR! stack at ChildProcess.emit (node:events:390:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) gyp ERR! System Linux 5.15.6-arch2-1 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/bunny/.cache/yay/github-desktop/src/github-desktop/app/node_modules/detect-arm64-translation

error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting...

TowelSniffer commented on 2021-07-29 13:07 (UTC) (edited on 2021-07-29 23:50 (UTC) by TowelSniffer)

Just to add here I am getting a weird issue when pushing. I find nothing happens unless I click on a different window and then back to github desktop, after which it runs instantly. Edit: seems to be the same issue https://github.com/shiftkey/desktop/issues/508

Jake commented on 2021-07-06 22:43 (UTC)

@hwittenborn: That is fine. I have already my scripts to handle simple version bumps, these work for this package too.

hwittenborn commented on 2021-07-06 22:11 (UTC)

@Jake I can get a script going, but I'm not interested much in co-maintaining this at the moment as I'm busy with some other things.

If you'd like an auto-update script or something, let me know and I can get that going, but that would probably be the limit of my abilities to help.

fanninpm commented on 2021-05-12 00:27 (UTC)

release-2.8.1-linux2 is now the latest version. Is this getting an update anytime soon?

pawggers commented on 2021-04-02 01:30 (UTC)

release-2.7.1-linux1 is now available is this being updated soon?

hwittenborn commented on 2021-03-30 08:13 (UTC)

@immackay any chance this can get updated? If you need a co-maintainer I'd be more than willing to put some time in. I might be able to get a script going that auto-updates it too if you'd want that.

twolf commented on 2021-03-01 13:40 (UTC)

The gconf dependency is no longer needed and now has trouble compiling with the latest release.

sdp8483 commented on 2020-12-19 13:48 (UTC)

@mlerota I have the same slow commit experience you mention. I did find that if I click the "Fetch Origin" button during this waiting I can get the commit to finish instantly.

mlerota commented on 2020-11-26 15:05 (UTC)

Anyone having problems with slow commit? Version 2.5.3 works OK, but after that when you click "commit" it takes 45-120 seconds to finish.

hschletz commented on 2020-11-18 16:23 (UTC)

I built this package with the gconf dependency removed from the PKGBUILD and it runs just fine. It is included in the upstream Debian package, but the author appears to be unsure whether it is actually needed:

https://github.com/shiftkey/desktop/blob/linux/script/package-debian.ts

The upstream RPM does not have the gconf dependency either.

bonkmaykrq commented on 2020-11-01 20:39 (UTC)

If any of you are having trouble compiling gconf, run this:

sudo pacman -S gtk-doc gobject-introspection gnome-common

archisman commented on 2020-08-18 05:29 (UTC)

Is it possible to install this in armhf or arm64 (Raspberry Pi)?

petko10 commented on 2020-06-23 09:51 (UTC)

As Elanzer pointed out the PKGBUILD needs to be updated because the binary is one directory deeper. I guess this is the problematic line: printf "#!/bin/sh\n\n/opt/${_pkgname}/github-desktop \"\$@\"\n" | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" Where the actual binary location is /opt/github-desktop/github-desktop/github-desktop The other way around is to manually replace the symlink to said bianry.

Elanzer commented on 2020-06-13 21:58 (UTC) (edited on 2020-06-13 22:01 (UTC) by Elanzer)

I had to update /usr/bin/github-desktop script to /opt/github-desktop/github-desktop/github-desktop "$@", because it was pointing to the directory.

serkonda7 commented on 2020-05-14 20:49 (UTC)

Is gnome-keyring actually needed? Because GitHub Desktop just starts even if I enter a wrong keyring password.

Filip98 commented on 2020-04-01 20:52 (UTC)

gnome-keyring is an optional dependency on the non-bin version but a required one here?

sweil commented on 2020-03-04 22:00 (UTC)

Attempting to run yields

[11378:0304/135030.607839:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/github-desktop/chrome-sandbox is owned by root and has mode 4755.
/usr/bin/github-desktop: line 3: 11378 Trace/breakpoint trap   (core dumped) /opt/github-desktop/github-desktop "$@"

Addressed by running

cd /opt/github-desktop
sudo chown root chrome-sandbox 
sudo chmod 4755 chrome-sandbox

immackay commented on 2019-10-04 23:52 (UTC)

For whom it may concern: this package depends on Shiftkey's linux support fork, located at https://github.com/shiftkey/desktop/

I check this regularly for releases. If you want the newest version, I suggest you check out github-desktop-git and modify the PKGBUILD to use the base repository, with the understanding that the application takes a significant amount of RAM to build.

jfernandz commented on 2019-01-17 02:39 (UTC)

@immackay, likely you must update your .SRCINFO, cause yay is giving me a warning about my github-desktop-bin version is newer than AUR

LeaveAThousand commented on 2018-12-22 19:12 (UTC)

Should change line 29 of PKGBUILD to:

printf "#!/bin/sh\n\nLD_PRELOAD=/usr/lib/libcurl-openssl-1.0.so /opt/${_pkgname}/github-desktop \"\$@\"\n" | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${_pkgname}" }

friday commented on 2018-12-13 19:41 (UTC)

@immackay: Thanks for creating this package. I've updated it to the latest build here https://gist.github.com/friday/e29a91956619e3520c34caa0ace4e4a7.

mlerota commented on 2018-08-27 11:29 (UTC)

@immackay, it works now! No "Segmentation faults" any more. I tested both. github-desktop-bin and github-desktop latest versions (1.3.4-1).

Thanks for fixing this.

immackay commented on 2018-08-24 04:28 (UTC) (edited on 2018-08-24 06:51 (UTC) by immackay)

@mlerota, do you have any way of reproducing that error? I have not been able to so far.

EDIT: I have removed the LD_PRELOAD line as github-desktop depends on libcurl-gnutls now, as far as I can tell. Previously there was no explicit support for linux.

mlerota commented on 2018-08-15 14:52 (UTC)

Have the same problem on https://aur.archlinux.org/github-desktop.git

/usr/bin/github-desktop: line 3: 24454 Segmentation fault (core dumped) LD_PRELOAD=libcurl.so.3 /opt/github-desktop/desktop "$@"

And /usr/lib/libcurl.so.3 is owned by libcurl-compat 7.61.0-1.

foops commented on 2018-08-10 07:58 (UTC) (edited on 2018-08-10 18:40 (UTC) by foops)

/usr/bin/github-desktop: line 3: 15580 Segmentation fault (core dumped) LD_PRELOAD=libcurl.so.3 /opt/github-desktop/desktop "$@"

This is on a completely fresh install of Arch. Not sure if I should report this upstream or if this is a packaging issue.