Package Details: freetube-git 0.13.1.beta.r647.g2ce9337b-1

Git Clone URL: (read-only, click to copy)
Package Base: freetube-git
Description: An open source desktop YouTube player built with privacy in mind - built from git source tree.
Upstream URL:
Licenses: AGPL3
Conflicts: freetube
Provides: freetube
Submitter: picokan
Maintainer: picokan
Last Packager: picokan
Votes: 11
Popularity: 0.69
First Submitted: 2020-10-01 22:23
Last Updated: 2021-11-13 17:06

Latest Comments

1 2 Next › Last »

picokan commented on 2021-09-08 08:37

Sorry for the multiple updates in quick succession, but Arch very recently changed the electron package to be using version 14, which has caused multiple bugs in Freetube.

The default version of electron in Freetube (e.g. for pre-compiled binaries) is likely to be changed back to 13, and I'm also changing the diff files and dependencies here to use it.

picokan commented on 2021-07-04 20:41

@moita I couldn't replicate your problem, but I did find a problem with the current .diff file and the current build.js file that should be fixed now.

I did notice that the path /home/user/.cache/yay/freetube-git/src/FreeTube/dist/linux-unpacked/resources/app.asar is wrong, it should be /home/user/.cache/yay/freetube-git/src/FreeTube/**build**/linux-unpacked/resources/app.asar, but I don't know what could cause that path to be changed.

moita commented on 2021-07-02 14:23

I'm having problems with git build recently, any ideas?

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=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=12.0.11 appOutDir=dist/linux-unpacked
  ⨯ Application entry file "dist/main.js" in the "/home/user/.cache/yay/freetube-git/src/FreeTube/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.  failedTask=build stackTrace=Error: Application entry file "dist/main.js" in the "/home/user/.cache/yay/freetube-git/src/FreeTube/dist/linux-unpacked/resources/app.asar" does not exist. Seems like a wrong configuration.
    at error (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/asar/asarFileChecker.ts:7:12)
    at Object.checkFileInArchive (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/asar/asarFileChecker.ts:31:11)
    at LinuxPackager.checkFileInPackage (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/platformPackager.ts:489:7)
    at LinuxPackager.sanityCheckPackage (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/platformPackager.ts:537:5)
    at LinuxPackager.doPack (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/platformPackager.ts:298:5)
    at LinuxPackager.pack (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/platformPackager.ts:136:5)
    at Packager.doBuild (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/packager.ts:441:9)
    at Object.executeFinally (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/builder-util/src/promise.ts:12:14)
    at Packager._build (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/packager.ts:376:31)
    at (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/app-builder-lib/src/packager.ts:337:12)
    at Object.executeFinally (/home/user/.cache/yay/freetube-git/src/FreeTube/node_modules/builder-util/src/promise.ts:12:14)
ERROR: "build-release" exited with 1.
==> ERROR: A failure occurred in build().

picokan commented on 2021-05-01 14:23

The most recent error that kept Freetube from compiling was due to a new version of nodejs breaking something. For the mean time, freetube and freetube-git will use node-lts-fermium as a dependency instead.

ZorinArch commented on 2021-04-29 09:04

get this error

cp: cannot stat './FreeTube/build/linux-unpacked/resources/app.asar': No such file or directory

picokan commented on 2021-04-26 09:34

@AndyRTR Compilation is failing on my machine even when compiling manually. This looks like it's a bug from the program itself, I'll try contacting the developer.

AndyRTR commented on 2021-04-22 10:42

A fresh git build in a clean chroot fails here. Maybe you know a quick fix? ```renderer (webpack 5.24.3) compiled successfully in 15806 ms

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

• electron-builder version=22.10.5 os=5.10.32-1-lts • 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 yourpackage.json` • rebuilding native dependencies dependencies=node-expat@2.3.18 platform=linux arch=x64 • packaging platform=linux arch=x64 electron=12.0.0 appOutDir=build/linux-unpacked • copying Electron source=/usr/lib/electron destination=/build/freetube-git/src/FreeTube/build/linux-unpacked Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. at new Errlop (/build/freetube-git/src/FreeTube/node_modules/errlop/edition-es5/index.js:61:18) at Object.errtion (/build/freetube-git/src/FreeTube/node_modules/editions/edition-es5/util.js:23:14) at determineEdition (/build/freetube-git/src/FreeTube/node_modules/editions/edition-es5/index.js:317:21) at solicitEdition (/build/freetube-git/src/FreeTube/node_modules/editions/edition-es5/index.js:350:16) at Object.requirePackage (/build/freetube-git/src/FreeTube/node_modules/editions/edition-es5/index.js:364:9) at Object.<anonymous> (/build/freetube-git/src/FreeTube/node_modules/istextorbinary/index.cjs:4:38) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Function.Module._load (node:internal/modules/cjs/loader:828:14) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:93:18) at Object.<anonymous> (/build/freetube-git/src/FreeTube/node_modules/app-builder-lib/electron-osx-sign/util.js:135:22) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:988:32) ↳ Error: editions-autoloader-none-suitable: Unable to determine a suitable edition, as none were suitable. ... ```

picokan commented on 2021-03-13 19:39

@G3ro That was exactly it, my bad. Should be fixed now, including fixes from comments on the non-git package.

G3ro commented on 2021-03-08 13:46

For everyone who has the same error as @hrehfeld: You can take the "package-only-necessary.diff" from the "freetube" package on AUR instead, see:

I am sure picokan just forgot to update it here as well.

hrehfeld commented on 2021-03-08 09:23

==> Making package: freetube-git 0.10.0.beta.r16.gf623ab8-6 (2021-03-08T10:22:45 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning FreeTube git repo...
Cloning into bare repository '/var/cache/private/pikaur/build/freetube-git/FreeTube'...
remote: Enumerating objects: 320, done.
remote: Counting objects: 100% (320/320), done.
remote: Compressing objects: 100% (238/238), done.
remote: Total 16276 (delta 200), reused 161 (delta 80), pack-reused 15956
Receiving objects: 100% (16276/16276), 8.30 MiB | 5.68 MiB/s, done.
Resolving deltas: 100% (11636/11636), done.
  -> Found package-only-necessary.diff
  -> Found freetube.desktop
  -> Found
==> Validating source files with sha256sums...
    FreeTube ... Skipped
    package-only-necessary.diff ... Skipped
    freetube.desktop ... Skipped ... Skipped
==> Extracting sources...
  -> Creating working copy of FreeTube git repo...
Cloning into 'FreeTube'...
==> Starting prepare()...
patching file /var/cache/private/pikaur/build/freetube-git/src/FreeTube/_scripts/build.js
Hunk #1 succeeded at 24 with fuzz 1 (offset 4 lines).
Hunk #2 FAILED at 64.
1 out of 2 hunks FAILED -- saving rejects to file /var/cache/private/pikaur/build/freetube-git/src/FreeTube/_scripts/build.js.rej
==> ERROR: A failure occurred in prepare().