Package Details: popcorntime 0.3.10-18

Git Clone URL: https://aur.archlinux.org/popcorntime.git (read-only, click to copy)
Package Base: popcorntime
Description: Stream movies from torrents. Skip the downloads. Launch, click, watch.
Upstream URL: https://popcorntime.sh/
Licenses: GPL3
Submitter: ItachiSan
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 50
Popularity: 3.88
First Submitted: 2016-03-01 20:36
Last Updated: 2019-06-11 19:37

Required by (0)

Sources (2)

Pinned Comments

ItachiSan commented on 2018-07-24 21:01

You are free to report issues regarding the packaging here: be aware that sometimes the package will fail to build because of outdated upstream and updated dependency, which will require me some time to test and solve the problem; I do also have life stuff, packaging is a free-time activity.

Info regarding the package

The package uses the sources available at:

https://github.com/popcorn-official/popcorn-desktop

I am aware of the different clones and branches; I do still believe that this code is acceptable (not affected itself from malware).

As the nw.js toolchain provided by the PopcornTime team can not be proven as non-malware easily, this package uses the official nw.js toolchain provided here:

https://dl.nwjs.io/

and uses for additional codecs the prebuilt FFmpeg library provided here:

https://github.com/iteufel/nwjs-ffmpeg-prebuilt/

In addition, the PKGBUILD won't point to the 0.3.10 Git reference but will also include important commits, for e.g. security reasons or providers changes.

Latest Comments

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

Tio commented on 2018-12-30 00:53

@ItachiSan indeed it works now! great!

ItachiSan commented on 2018-12-29 21:23

@teoretic I do believe there were some issues downloading the NW.js zip; please try again, as I can't reproduce it.

Tio commented on 2018-12-29 17:53

I get an error for the lat update

Preparing... Nothing to do.

Synchronizing package databases... Starting full system upgrade... Cloning popcorntime build files... Checking popcorntime dependencies... Building popcorntime... ==> Making package: popcorntime 0.3.10-13 (sáb 29 dic 2018 18:35:44 CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning popcorn-desktop git repo... Cloning into bare repository '/tmp/pamac-build/popcorntime/popcorn-desktop'... -> Found popcorntime.desktop -> Found gulp-fixes.patch ==> Validating source files with sha256sums... popcorn-desktop ... Skipped popcorntime.desktop ... Passed gulp-fixes.patch ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of popcorn-desktop git repo... Cloning into 'popcorn-desktop'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... -> Apply Gulpfile fixes ... -> Installing normal dependencies yarn install v1.12.3 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info fsevents@1.2.4: The platform "linux" is incompatible with this module. info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation. [4/5] Linking dependencies... warning " > backbone.marionette@3.5.1" has incorrect peer dependency "underscore@~1.8.3". [5/5] Building fresh packages... success Saved lockfile. Done in 21.53s. -> Install missing dependencies, if any ... -> Changing NW.js version to 0.31.5 ... ==> Starting build()... yarn run v1.12.3 $ gulp build

╭─────────────────────────────────────────────────────────────────╮ │ │ │ nw-builder update available (3.5.1 → 3.5.4) │ │ To update, run one of the following commands: │ │ - npm i -g nw-builder (if nw-builder is installed globally) │ │ - npm i -D nw-builder (if nw-builder is installed locally) │ │ │ ╰─────────────────────────────────────────────────────────────────╯

linux-x64.zip [18:36:12] Using gulpfile /tmp/pamac-build/popcorntime/src/popcorn-desktop/gulpfile.js [18:36:12] Starting 'build'... [18:36:12] Starting 'injectgit'... Branch: makepkg Commit: e2351a0c [18:36:12] Finished 'injectgit' after 18 ms [18:36:12] Starting 'css'... Stylus files compiled in /tmp/pamac-build/popcorntime/src/popcorn-desktop/src/app/themes/ [18:36:15] Finished 'css' after 3.45 s [18:36:15] Starting 'downloadffmpeg'... FFmpeg download starting.... [18:36:15] Downloading https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.31.5/0.31.5-linux-x64.zip...

Done

FFmpeg Downloaded to cache folder. [18:36:21] Finished 'downloadffmpeg' after 5.99 s [18:36:21] Starting 'nwjs'... { Error: Command failed: npm ls --production=true --parseable=true npm ERR! peer dep missing: underscore@~1.8.3, required by backbone.marionette@3.5.1 npm ERR! peer dep missing: underscore@~1.8.3, required by backbone.marionette@3.5.1 npm ERR! missing: colour@latest, required by ascli@0.3.0 npm ERR! missing: optjs@latest, required by ascli@0.3.0

at ChildProcess.exithandler (child_process.js:276:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

killed: false, code: 1, signal: null, cmd: 'npm ls --production=true --parseable=true' } Using v0.31.5 (sdk) Create cache folder in /tmp/pamac-build/popcorntime/src/popcorn-desktop/cache/0.31.5-sdk Downloading: https://dl.nwjs.io/v0.31.5/nwjs-sdk-v0.31.5-linux-x64.tar.gz (node:24262) UnhandledPromiseRejectionWarning: Error: unexpected end of file at Gunzip.zlibOnError (zlib.js:153:15) (node:24262) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:24262) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [18:36:35] The following tasks did not complete: build, nwjs [18:36:35] Did you forget to signal async completion? error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> ERROR: A failure occurred in build(). Aborting...

ItachiSan commented on 2018-12-29 13:34

Hi everyone,

Finally the package is updated and working!

A small patch is still available for Gulp, which I hope it will be merged upstream soon. But finally we can build the app without relying on nvm :wink:

Let me know if any issue arises! Additionally it would be great if anyone could try different versions of NW.js to check which one is working; this can be done by patching the _nwjs variable with the proper NW.js version! Due to the FFMpeg library, versions up to 0.34.0 can be tested.

Have a nice holiday!

ItachiSan commented on 2018-11-01 17:38

@lambroisie thanks for the report; however, this is due to packages that have never been updated and I am not sure if they will ever be.

This will require quite some time; I am not sure if it will succeed also and right now I am busy a lot, so no promises if/when fixes will be available.

lambroisie commented on 2018-10-29 14:40

When I run makepkg -si I get the following error: https://bpaste.net/show/53adc2f1fb85

Excerpt:

fs.js:25 'use strict'; ^

ReferenceError: internalBinding is not defined at fs.js:25:1 at req_ (/home/tina/Downloads/popcorntime/src/popcorn-desktop/node_modules/natives/index.js:137:5) at Object.req [as require] (/home/tina/Downloads/popcorntime/src/popcorn-desktop/node_modules/natives/index.js:54:10) at Object.<anonymous> (/home/tina/Downloads/popcorntime/src/popcorn-desktop/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99) at Module._compile (internal/modules/cjs/loader.js:707:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10) at Module.load (internal/modules/cjs/loader.js:605:32) at tryModuleLoad (internal/modules/cjs/loader.js:544:12) at Function.Module._load (internal/modules/cjs/loader.js:536:3) at Module.require (internal/modules/cjs/loader.js:643:17) ==> ERROR: A failure occurred in build(). Aborting...

fhfs commented on 2018-10-10 22:03

0.3.10-12 no sound with butter. when running vlc slow/no download

dkazantzas commented on 2018-09-17 10:34

I have no sound on 0.3.10-12

kouros17 commented on 2018-09-06 20:49

0.3.10-12 running without issues for me! :)

ItachiSan commented on 2018-09-06 17:23

@gerardo-junior I can't reproduce such an issue; I tried removing my configuratio but PopcornTime started properly.

@everyone sorry for the multiple updates, but seems that nw.js 0.32.x and its FFmpeg library does not work at all (tested all the versions from 0.32.0 to 0.32.5 but none worked). So, back to old-and-working 0.31.5