Package Details: freetube 0.22.1-1

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: 75
Popularity: 3.81
First Submitted: 2020-10-02 22:19 (UTC)
Last Updated: 2024-12-13 08:37 (UTC)

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 Next › Last »

AndyRTR commented on 2021-03-07 12:00 (UTC)

New release builds well in a clean chroot on x86_64. Please add %U to .desktop file as suggested. I've confirmed this working to open links from Firefox using privacy redirect extension.

marcih commented on 2021-03-07 11:40 (UTC) (edited on 2021-03-07 15:27 (UTC) by marcih)

0.12.0-1 doesn't build for me on Manjaro aarch64:

renderer (webpack 5.24.3) compiled successfully in 127860 ms

> freetube@0.12.0 build-release
> node _scripts/build.js

  • electron-builder  version=22.10.5 os=5.11.3-1-MANJARO-ARM
  • electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies

To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
  • writing effective config  file=build/builder-effective-config.yaml
  • rebuilding native dependencies  dependencies=node-expat@2.3.18 platform=linux arch=x64
  ⨯ cannot execute  cause=exit status 1
                    errorOut=npm ERR! code 1
    npm ERR! path /home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-expat
    npm ERR! command failed
    npm ERR! command sh -c node-gyp rebuild
    npm ERR! make: Entering directory '/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-expat/build'
    npm ERR!   CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
    npm ERR!   CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
    npm ERR!   CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
    npm ERR! make: Leaving directory '/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-expat/build'
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@7.1.2
    npm ERR! gyp info using node@15.11.0 | linux | arm64
    npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
    npm ERR! gyp info spawn /usr/bin/python3
    npm ERR! gyp info spawn args [
    npm ERR! gyp info spawn args   '/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-gyp/gyp/gyp_main.py',
    npm ERR! gyp info spawn args   'binding.gyp',
    npm ERR! gyp info spawn args   '-f',
    npm ERR! gyp info spawn args   'make',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   '/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-expat/build/config.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   '/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-gyp/addon.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   '/home/manjaro/.electron-gyp/12.0.0/include/node/common.gypi',
    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
    npm ERR! gyp info spawn args   '-Dvisibility=default',
    npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/manjaro/.electron-gyp/12.0.0',
    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-gyp',
    npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/manjaro/.electron-gyp/12.0.0/<(target_arch)/node.lib',
    npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-expat',
    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
    npm ERR! gyp info spawn args   '--depth=.',
    npm ERR! gyp info spawn args   '--no-parallel',
    npm ERR! gyp info spawn args   '--generator-output',
    npm ERR! gyp info spawn args   'build',
    npm ERR! gyp info spawn args   '-Goutput_dir=.'
    npm ERR! gyp info spawn args ]
    npm ERR! gyp info spawn make
    npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
    npm ERR! cc: error: unrecognized command-line option ‘-m64’
    npm ERR! make: *** [deps/libexpat/expat.target.mk:122: Release/obj.target/expat/deps/libexpat/lib/xmlparse.o] Error 1
    npm ERR! cc: error: unrecognized command-line option ‘-m64’
    npm ERR! make: *** Waiting for unfinished jobs....
    npm ERR! make: *** [deps/libexpat/expat.target.mk:122: Release/obj.target/expat/deps/libexpat/lib/xmltok.o] Error 1
    npm ERR! cc: error: unrecognized command-line option ‘-m64’
    npm ERR! make: *** [deps/libexpat/expat.target.mk:122: Release/obj.target/expat/deps/libexpat/lib/xmlrole.o] Error 1
    npm ERR! gyp ERR! build error 
    npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
    npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-gyp/lib/build.js:194:23)
    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:378:20)
    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
    npm ERR! gyp ERR! System Linux 5.11.3-1-MANJARO-ARM
    npm ERR! gyp ERR! command "/usr/bin/node" "/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/.bin/node-gyp" "rebuild"
    npm ERR! gyp ERR! cwd /home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/node-expat
    npm ERR! gyp ERR! node -v v15.11.0
    npm ERR! gyp ERR! node-gyp -v v7.1.2
    npm ERR! gyp ERR! not ok

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/manjaro/.npm/_logs/2021-03-07T11_35_56_520Z-debug.log

                    command=/usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js rebuild node-expat@2.3.18
                    workingDir=
ExecError: /home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/app-builder-bin/linux/arm64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/home/manjaro/.cache/yay/freetube/src/FreeTube-0.12.0-beta/node_modules/builder-util/src/util.ts:243:14)
    at Object.onceWrapper (node:events:485:26)
    at ChildProcess.emit (node:events:378:20)
    at maybeClose (node:internal/child_process:1067:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
  exitCode: 2,
  alreadyLogged: true,
  code: 'ERR_ELECTRON_BUILDER_CANNOT_EXECUTE'
}
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat './FreeTube-0.12.0-beta/build/linux-unpacked/resources/app.asar': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: freetube

Any ideas?

marcih commented on 2021-03-07 11:11 (UTC)

I appreciate the addition of ARM to supported architectures but please note that, in context of a PKGBUILD, "arm" is not a catch-all for all ARM arches, it defines specifically armv5; building natively on a PinePhone (aarch64) therefore still complains about unsupported architecture.

See also: https://wiki.archlinux.org/index.php/PKGBUILD#arch

marcih commented on 2021-03-07 11:03 (UTC) (edited on 2021-03-07 11:04 (UTC) by marcih)

FYI, in order to handle "freetube" URI schemes properly, the "Exec" entry should have a "%U" after the command, see desktop file from upstream deb pacakge:

[Desktop Entry]
Name=FreeTube
Exec=/opt/FreeTube/freetube %U
Terminal=false
Type=Application
Icon=freetube
StartupWMClass=FreeTube
Comment=A private YouTube client
MimeType=x-scheme-handler/freetube;
Categories=Network;

Autodidaddy commented on 2021-03-06 16:36 (UTC)

Doesn't build;

npm ERR! semver.simplifyRange is not a function

malcolm commented on 2021-02-15 03:08 (UTC) (edited on 2021-02-15 03:08 (UTC) by malcolm)

The freetube.desktop file of the maintainer builds has the MimeType field, could you add it as well?

[Desktop Entry]
Name=FreeTube
Exec=AppRun %U
Terminal=false
Type=Application
Icon=freetube
StartupWMClass=FreeTube
X-AppImage-Version=0.11.2
Comment=A private YouTube client
MimeType=x-scheme-handler/freetube;
Categories=Network;

greektex commented on 2021-01-22 20:54 (UTC)

@picokan Yes, I can confirm this was an issue with the app itself, and it is resolved with the next release, 0.11.2 beta, as reported in this ticket:

https://github.com/FreeTubeApp/FreeTube/issues/948

picokan commented on 2021-01-18 12:03 (UTC) (edited on 2021-01-18 12:04 (UTC) by picokan)

I'm sorry, "run makepkg as you normally would" is incorrect, you need to use the -e flag to not re-extract the source code and overwrite your changes.

picokan commented on 2021-01-18 11:45 (UTC)

@greektex This is a bug on the developer side. For some reason his scripts had a hiccup and failed to mark this version as 0.11.1 in the package.json file. You can fix it manually by running makepkg -o, which will download only the source code and apply patches. Then go into the src directory and change the version in package.json to be 0.11.1 and run makepkg as you normally would.

greektex commented on 2021-01-17 16:44 (UTC)

I applied the recent update, but the app identifies itself as version v0.11.0 Beta in the "About" section and I get a notification on the starting page that I should update to v 0.11.1 Beta.

However, I would think that this is the version that I have installed?! Here is the output during makepkg:

Erstelle freetube...
==> Erstelle Paket: freetube 0.11.1-1 (So 17 Jan 2021 17:34:27 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> v0.11.1-beta.tar.gz gefunden
  -> package-only-necessary.diff gefunden
  -> freetube.desktop gefunden
  -> freetube.sh gefunden
==> Überprüfe source Dateien mit sha256sums...
    v0.11.1-beta.tar.gz ... Durchgelaufen
    package-only-necessary.diff ... Übersprungen
    freetube.desktop ... Übersprungen
    freetube.sh ... Übersprungen
==> Entferne existierendes $srcdir/ Verzeichnis...
==> Entpacke Quellen...
  -> Entpacke v0.11.1-beta.tar.gz mit bsdtar
==> Beginne prepare()...
patching file /var/tmp/[snip]/freetube/src/FreeTube-0.11.1-beta/_scripts/build.js
==> Beginne build()...
[snip]
==> Betrete fakeroot Umgebung...
==> Beginne package()...
==> Säubere Installation...
  -> Entferne libtool Dateien...
  -> Bereinige ungewollte Dateien...
  -> Entferne statische Bibliotheken...
  -> Entferne unnötige Symbole aus Binär-Dateien und Bibliotheken...
  -> Komprimiere Man-Pages und Info-Seiten...
==> Prüfe auf Paketierungsprobleme...
==> WARNUNG: Paket enthält einen Verweis auf $srcdir
usr/lib/freetube/app.asar
==> Erstelle Paket "freetube"...
  -> Erstelle .PKGINFO Datei...
  -> Erstelle .BUILDINFO Datei...
  -> Erstelle .MTREE-Datei...
  -> Komprimiere Paket... 
==> Verlasse fakeroot Umgebung.
==> Beendete Erstellung: freetube 0.11.1-1 (So 17 Jan 2021 17:38:57 CET)
==> Räume auf...

Überprüfe Schlüsselring...
Integrität wird überprüft...
Paketdateien werden geladen...
Dateikonflikte werden überprüft...
Überprüfe verfügbaren Speicherplatz...
Reinstalliere freetube (0.11.1-1)...
Starte Post-Transaction-Hooks...
Arming ConditionNeedsUpdate...
Updating the desktop file MIME type cache...
Vorgang erfolgreich abgeschlossen.