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 .. 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

Glorious7060 commented on 2021-11-24 20:27 (UTC)

Electron was updated to v16 and isn't supported by freetube.

yochananmarqos commented on 2021-10-20 01:39 (UTC) (edited on 2021-10-20 01:40 (UTC) by yochananmarqos)

@G3ro: Oops. I fixed the typo in my paste.

- install -Dm644 build/linux-unpacked/resources/app.asar "$pkgdir/usr/lib/$pkgname"
+ install -Dm644 build/linux-unpacked/resources/app.asar -t "$pkgdir/usr/lib/$pkgname"

G3ro commented on 2021-10-19 20:24 (UTC)

@yochananmarqos

I tried your proposed changes and it shows an error when starting "freetube": "Error launching app Unable to find Electron app at /usr/lib/freetube/app.asar

Cannot find module '/usr/lib/freetube/app.asar' Require stack: - /usr/lib/electron13/resources/default_app.asar/main.js "

I notice that the created package does not include "app.asar", so the following line does not seem to work the right way: "install -Dm644 build/linux-unpacked/resources/app.asar "$pkgdir/usr/lib/$pkgname" "

In the previous package "app.asar" is a subsidiary of "/usr/lib/freetube".

yochananmarqos commented on 2021-10-18 20:44 (UTC)

  • As of 0.15.0-beta, yarn is now used to fetch dependencies
  • The pkgver should be the same as the upstream tag, see example PKGBUILD below
  • AGPL3 is a common license already installed in /usr/share/licenses/common/, no need to install it again
  • Remove the shebang from the desktop file
  • freetube.sh should run exec electron13 /usr/lib/freetube/app.asar "$@", see Electron package guidelines

Example PKGBUILD

je-vv commented on 2021-09-22 21:47 (UTC)

Thanks @picokan, yes, after finally getting the newer electron13, things work back.

picokan commented on 2021-09-22 10:17 (UTC)

@je-vv The harfbuzz update is the culprit: https://github.com/harfbuzz/harfbuzz/commit/d700646c33af53afcabe564e9943565d58e1192a.

They removed legacy code, and the function electron is complaining about is one of them. However, FreeTube is still working for me, and I did have an electron13 update yesterday when you say you haven't had one since the 14th of September. You may want to try to update electron13 by changing to a different mirror if the one you are on still hasn't gotten that update.

It's still weird that you got the harfbuzz update without the electron13 update, but all you need is to update to fix this.

je-vv commented on 2021-09-22 03:32 (UTC)

@picokan, after Today's upgrade (I upgrade every day or so), freetube stopped launching:

% freetube
/usr/lib/electron13/electron: symbol lookup error: /usr/lib/electron13/electron: undefined symbol: hb_subset_input_set_retain_gids

I rebuilt it, just in case that would fix it, but it didn't, I kept having the same issue, :( BTW, weird enough, electron13 didn't upgrade, it hadn't since Sept 14th. From yesterday, I got upgraded:

[2021-09-20T11:28:25-0600] [ALPM] upgraded audit (3.0.4-1 -> 3.0.5-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded xz (5.2.5-1 -> 5.2.5-2)
[2021-09-20T11:28:25-0600] [ALPM] upgraded grep (3.6-1 -> 3.7-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded i2c-tools (4.2-3 -> 4.3-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded inetutils (2.1-1 -> 2.2-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded inotify-tools (3.20.11.0-1 -> 3.21.9.0-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded libedit (20210714_3.1-1 -> 20210910_3.1-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded libfido2 (1.7.0-2.1 -> 1.8.0-1)
[2021-09-20T11:28:25-0600] [ALPM] upgraded libnotify (0.7.9-1 -> 0.7.9-2)
[2021-09-20T11:28:27-0600] [ALPM] upgraded linux (5.14.2.artix1-2 -> 5.14.6.artix1-1)
[2021-09-20T11:28:29-0600] [ALPM] upgraded linux-docs (5.14.2.artix1-2 -> 5.14.6.artix1-1)
[2021-09-20T11:28:32-0600] [ALPM] upgraded linux-headers (5.14.2.artix1-2 -> 5.14.6.artix1-1)
[2021-09-20T11:28:32-0600] [ALPM] upgraded perl-yaml-libyaml (0.75-6 -> 0.83-1)
[2021-09-20T11:28:32-0600] [ALPM] upgraded python-pandas (1.3.2-1 -> 1.3.3-1)
[2021-09-20T11:28:32-0600] [ALPM] upgraded tinyxml (2.6.2-7 -> 2.6.2-8)
[2021-09-20T11:28:32-0600] [ALPM] upgraded wayland-protocols (1.22-1 -> 1.23-1)
[2021-09-20T11:28:32-0600] [ALPM] upgraded xf86-input-libinput (1.1.0-1 -> 1.2.0-1)
[2021-09-20T11:50:06-0600] [ALPM] upgraded via (4.2.0.2105106-1 -> 4.2.0.2105106-3)
[2021-09-20T17:52:46-0600] [ALPM] upgraded asciidoc (9.1.0-1 -> 9.1.1-1)
[2021-09-20T18:24:27-0600] [ALPM] upgraded asciidoc (9.1.1-1 -> 9.1.1-2)
[2021-09-20T18:24:27-0600] [ALPM] upgraded libcap (2.57-1 -> 2.58-1)
[2021-09-20T18:24:27-0600] [ALPM] upgraded lib32-libcap (2.57-1 -> 2.58-1)
[2021-09-20T18:24:27-0600] [ALPM] upgraded lib32-vulkan-icd-loader (1.2.190-1 -> 1.2.191-1)
[2021-09-20T18:24:27-0600] [ALPM] upgraded libimagequant (2.15.1-1 -> 2.16.0-1)
[2021-09-20T18:24:27-0600] [ALPM] upgraded vulkan-icd-loader (1.2.190-1 -> 1.2.191-1)

And from Today's upgrade:

[2021-09-21T14:07:42-0600] [ALPM] upgraded cantarell-fonts (1:0.301-1 -> 1:0.303-1)
[2021-09-21T14:07:42-0600] [ALPM] upgraded libxcrypt (4.4.25-1 -> 4.4.26-1)
[2021-09-21T14:07:43-0600] [ALPM] upgraded cmake (3.21.2-2 -> 3.21.3-1)
[2021-09-21T14:07:43-0600] [ALPM] upgraded glib2 (2.68.4-1 -> 2.70.0-1)
[2021-09-21T14:07:43-0600] [ALPM] upgraded glib2-docs (2.68.4-1 -> 2.70.0-1)
[2021-09-21T14:07:43-0600] [ALPM] upgraded gobject-introspection-runtime (1.68.0-1.1 -> 1.70.0-1)
[2021-09-21T14:07:43-0600] [ALPM] upgraded gobject-introspection (1.68.0-1.1 -> 1.70.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded tracker3 (3.1.2-1 -> 3.2.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded harfbuzz (2.9.1-1 -> 3.0.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded gtk3 (1:3.24.30-2.1 -> 1:3.24.30+62+g8d04980f38-2)
[2021-09-21T14:07:44-0600] [ALPM] upgraded harfbuzz-icu (2.9.1-1 -> 3.0.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded ldb (2:2.3.0-1 -> 2:2.4.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded lib32-libffi (3.3-2 -> 3.3-4.1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded lib32-libxcrypt (4.4.25-1 -> 4.4.26-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded lib32-glib2 (2.68.4-1 -> 2.70.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded lib32-harfbuzz (2.9.1-1 -> 3.0.0-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded libxnvctrl (470.63.01-1 -> 470.74-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded perl-crypt-openssl-rsa (0.31-6 -> 0.32-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded perl-libwww (6.56-1 -> 6.57-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded pstoedit (3.75-5 -> 3.76-1)
[2021-09-21T14:07:44-0600] [ALPM] upgraded python-tabulate (0.8.9-1 -> 0.8.9-2)
[2021-09-21T14:07:44-0600] [ALPM] upgraded qt5-webengine (5.15.6-1 -> 5.15.6-2)
[2021-09-21T14:07:45-0600] [ALPM] upgraded smbclient (4.14.7-2 -> 4.15.0-1)
[2021-09-21T14:07:45-0600] [ALPM] upgraded samba (4.14.7-2 -> 4.15.0-1)
[2021-09-21T14:07:45-0600] [ALPM] upgraded sdl (1.2.15-14 -> 1.2.15+387+gfbfcca32-1)
[2021-09-21T14:07:45-0600] [ALPM] upgraded xdg-desktop-portal (1.8.1-1 -> 1.10.1-1)
[2021-09-21T19:01:36-0600] [ALPM] upgraded curl (7.79.0-3 -> 7.79.0-4)
[2021-09-21T19:01:36-0600] [ALPM] upgraded htop (3.0.5-1 -> 3.1.0-1)
[2021-09-21T19:01:36-0600] [ALPM] upgraded libva-mesa-driver (21.2.1-1 -> 21.2.2-1)
[2021-09-21T19:01:36-0600] [ALPM] upgraded mesa (21.2.1-1 -> 21.2.2-1)
[2021-09-21T19:01:36-0600] [ALPM] upgraded mesa-vdpau (21.2.1-1 -> 21.2.2-1)
[2021-09-21T19:01:36-0600] [ALPM] upgraded qemu (6.1.0-1 -> 6.1.0-2)
[2021-09-21T19:01:36-0600] [ALPM] upgraded vulkan-intel (21.2.1-1 -> 21.2.2-1)
[2021-09-21T19:01:36-0600] [ALPM] upgraded vulkan-mesa-layers (21.2.1-1 -> 21.2.2-1)

I can't see what package upgrade could have broken freetube, perhaps the gtk3 or harfbuzz upgrades, no idea...

At any rate, not sure what can be wrong, any hints on how to fix it? As mentioned, rebuilding doesn't help, :(

picokan commented on 2021-09-10 08:14 (UTC)

That problem must come from the combination of AUR helper bugs and Manjaro not having an electron13 package. Using only makepkg on Arch, the PKGBUILD pulls the correct electron13 package from community and installs.

If this is happening to you, you should consider reporting this bug to your AUR helper's issue tracker.

je-vv commented on 2021-09-09 22:18 (UTC)

hmm, I do have the "community" provided electron13, essentially because "element" also depends on "electron13", and when getting the "freetube" upgrades, there's NO attempt whatsoever to grab electron13 from AUR. Perhaps what some are experiencing is due to the AUR helper of choice? I use "aurutils", which does things pretty close to the manual process of makepkg...

cb474 commented on 2021-09-09 20:24 (UTC)

My system doesn't have electron14 installed yet either. But I don't understand why the pkgbuild for freetube depends on a version of electron13 in AUR, when there is still a version of electron13 available in the community repo. Why not use that version?