Package Details: freetube 0.22.0-2

Git Clone URL: https://aur.archlinux.org/freetube.git (read-only, click to copy)
Package Base: freetube
Description: An open source desktop YouTube player built with privacy in mind.
Upstream URL: https://freetubeapp.io
Licenses: AGPL3
Submitter: picokan
Maintainer: picokan
Last Packager: picokan
Votes: 70
Popularity: 1.57
First Submitted: 2020-10-02 22:19 (UTC)
Last Updated: 2024-10-29 06:49 (UTC)

Latest Comments

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

reclusivesage commented on 2023-07-01 14:59 (UTC)

I had an error about a missing Chromium/Electron 20 .so missing, which prevented FreeTube from starting, so I fixed it by installing electron20-bin from the AUR. (Updating the OS to update Chromium won't fix this FreeTube issue.)

This will suffice until FreeTube upgrades to a currently supported version of Electron.

tuxayo commented on 2023-01-07 20:56 (UTC)

Ok, I though these kind of switching to the fixed branch of a package would be solved without manually dealing with it. Nothing broken then!

yochananmarqos commented on 2023-01-07 20:54 (UTC)

@tuxayo: This is nothing new when Electron packages are updated.

sudo pacman -Syu electron20

tuxayo commented on 2023-01-07 20:53 (UTC)

I wonder why the upgrade of electron from 20 to 22 causes pikaur, yay and pacman[1] to choke with:

error: failed to prepare transaction (could not satisfy dependencies) :: installing electron (22.0.0-1) breaks dependency 'electron20' required by freetube

Given that the electron20 package is in the official repos.

Is there actually an issue with dependencies of the packages?

[1] pacman should also work right? Because there is no freetube update and the electron upgrade should cause to install the electron20 package alongside of electron.

minxu commented on 2022-10-17 15:55 (UTC)

It might be better to depend on electron16-bin by default because building electron16 for me is a pain. It take a long time also breaks from time to time. The current error is:

==> Starting build()...
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Current dir: /home/owen/.cache/yay/electron16/src/src/out/Release/
Command: python3 /home/owen/.cache/yay/electron16/src/src/build/config/linux/pkg-config.py opus
Returned 1.
stderr:

Could not run pkg-config.

See //third_party/opus/BUILD.gn:8:1: whence it was called.
pkg_config("opus_config") {
^--------------------------
See //BUILD.gn:764:7: which caused the file to be included.
      "//third_party/opus:opus_demo",
      ^-----------------------------
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: electron16

I switched to use electron16-bin and freetube installed quickly.

picokan commented on 2022-10-01 08:59 (UTC)

The upstream Freetube is using electron 20, but I was keeping this as electron16 until a proper release with electron 20 came out. I can still change this 0.17.1 to use electron20 if electron16 being now an AUR package is too much of a bother.

je-vv commented on 2022-09-25 21:23 (UTC) (edited on 2022-09-25 21:26 (UTC) by je-vv)

@reclusivesage, have you read prior posts? The reason for that failure is electron16 requiring a rebuild, given Arch changes on libraries it depends on, but Arch already dropped electron16, so you need to rebuild it from AUR, if you want to keep using electron16.

There's no reason to stick with electron16 though, I shared a patch on the AUR package to use electron20 instead. Which changes exactly what you're mentioning... And if you don't want to rebuild freetube, there's the workaround to just edit /usr/bin/freetube and specify there the use of electron20 instead of electron16.

Now the reason this package is affected, is that it uses a system electron, rather than using the binary copy embedded in the binary version of freetube. And that's good. Many of the binaries depending on electron, keep duplicating electron everywhere, which is really unnecessary, bloated and a sad practice. However it requires to update the package when necessary, as it is now. I would try keeping the system electron version used, the latest on Arch, and only decrease the version if it doesn't work or is plain unsupported. But it is up to the AUR packager, if it works with a non latest version, and it's maintained by Arch, well, they might opt not to change it. Not the case right now, since the package needs to change its dependency, given Arch dropping electron16, and therefore not rebuilding it for us.

reclusivesage commented on 2022-09-25 16:02 (UTC) (edited on 2022-09-25 16:27 (UTC) by reclusivesage)

Is there anything I can do? When I use this package as is with electron16, I receive an error in stdout that reads:

/usr/lib/electron16/electron: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory

This is apparently specific to this AUR package, as reported upstream.

Edit: Manually replacing electron16 with electron in the PKGBUILD, freetube.sh, and package-only-necessary.diff files; I was able to make FreeTube work again. This might be an acceptable workaround for you, until this package updates upstream for Electron 20.

je-vv commented on 2022-09-21 16:46 (UTC)

@IOF, that's true, but freetube-bin doesn't use the system electron, it uses an embedded electron withing the tool itself, which I personally don't like...

I0F commented on 2022-09-21 10:49 (UTC)

@unphysicalix

freetube-bin 0.17.1 from the AUR still uses electron16.