Package Details: ledger-live 2.79.1-1

Git Clone URL: https://aur.archlinux.org/ledger-live.git (read-only, click to copy)
Package Base: ledger-live
Description: Maintain your Ledger devices
Upstream URL: https://github.com/LedgerHQ/ledger-live
Keywords: bitcoin cryptocurrency wallet
Licenses: MIT
Submitter: meriadec
Maintainer: phnx47
Last Packager: phnx47
Votes: 19
Popularity: 0.063011
First Submitted: 2018-07-19 09:01 (UTC)
Last Updated: 2024-04-25 08:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »

phnx47 commented on 2022-11-13 06:12 (UTC)

@sudoforge What exactly aren't necessary?

sudoforge commented on 2022-11-13 06:00 (UTC)

Faux pas on my end; it's not empty; it's an extraneous directory with duplicate contents in it, that aren't necessary, and serve no purpose other than increasing the size of the package.

phnx47 commented on 2022-11-13 05:58 (UTC)

@sudoforge What do you mean about empty directory? Which directory is empty?

phnx47 commented on 2022-11-13 05:52 (UTC) (edited on 2022-11-13 05:53 (UTC) by phnx47)

@sudoforge src/ledger-live-2.49.2-git/apps/ledger-live-desktop/dist/linux-unpackedcontains what I need to run App. I copy them to pkg/opt/ledger-live-desktop. I found this way in many arch packages, for example Discord: https://github.com/archlinux/svntogit-community/blob/00545d92d7c1b963b1e34d722928e5df3f8ec46e/trunk/PKGBUILD#L32

sudoforge commented on 2022-11-13 05:47 (UTC) (edited on 2022-11-13 05:58 (UTC) by sudoforge)

Odd, I must have been looking at a cached page of the PKGBUILD. But why copy the contents out, anyway? Now you're leaving an useless directory and files around, increasing the size of the package.

phnx47 commented on 2022-11-13 05:35 (UTC) (edited on 2022-11-13 05:39 (UTC) by phnx47)

@sudoforge Copy linux-unpacked fixed already https://aur.archlinux.org/cgit/aur.git/commit/?h=ledger-live&id=36a3b8998036927f48a15b0b342cfd95a1bb8971

sudoforge commented on 2022-11-13 05:30 (UTC) (edited on 2022-11-13 06:55 (UTC) by sudoforge)

This also needs a patch, because this line:

cp -r "dist/linux-unpacked" "${pkgdir}/opt/${_pkgbin}"

copies the linux-unpacked directory itself to /opt/ledger-live-desktop/linux-unpacked, not the contents within, making your /usr/bin/ledger-live-desktop symlink point to a nonexistent file.

phnx47 commented on 2022-11-13 02:42 (UTC) (edited on 2022-11-13 02:42 (UTC) by phnx47)

@sudoforge Thanks! I tested with fnm-bin instead of fnm yesterday. I checked with fnm now and added comments to fnm.

sudoforge commented on 2022-11-12 20:01 (UTC) (edited on 2022-11-12 20:03 (UTC) by sudoforge)

Possible build in clean chroot

This fails in a clean chroot (more correctly, compiling fnm fails).

          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `fnm` due to previous error

phnx47 commented on 2022-11-12 11:57 (UTC) (edited on 2022-11-12 12:00 (UTC) by phnx47)

Switched to source to git repository. Possible build in clean chroot. Git will be used until issue fixed https://github.com/LedgerHQ/ledger-live/issues/1719.

Now use fnm: read .nvmrc and install proper NodeJS version.