Package Details: popcorntime 0.5.1-1

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://popcorn-time.site/
Licenses: GPL3
Submitter: ItachiSan
Maintainer: ItachiSan
Last Packager: ItachiSan
Votes: 57
Popularity: 0.83
First Submitted: 2016-03-01 20:36 (UTC)
Last Updated: 2024-05-05 13:11 (UTC)

Dependencies (8)

Required by (0)

Sources (4)

Pinned Comments

ItachiSan commented on 2018-07-24 21:01 (UTC) (edited on 2021-06-14 09:35 (UTC) by ItachiSan)

You are free to report issues regarding the packaging here! Please read all the info of this message as they include quite some information.

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.

I believe I have an issue that is Arch-related and not upstream related

I too found out only recently this way to debug the app (as of: 2021-06-13), which helps immensely.

Whenever reporting here or on the Github issues, please provide the output of the command:

popcorntime --enable-logging=stderr

In case you are forwarding the log to a file, as the log entries will end in stderr, remember to redirect stderr to stdout

popcorntime --enable-logging=stderr 2>&1 > my_output.log
Info regarding the package
  1. 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).

  2. This package uses a custom NW.js build provided from the PopcornTime team; essentially, a custom compiled browser. While this won't affect you as it should be used only within the app, you are here informed that I have no power over this component.

  3. The above point stands as the official NW.js Chromium source lacks multiple modern codecs, such as AC3 and HEVC (H.265).

  4. Earlier this package used the official nw.js toolchain provided available at https://dl.nwjs.io/ and the prebuilt FFmpeg library with additional codecs available at https://github.com/iteufel/nwjs-ffmpeg-prebuilt/ . This was because the nw.js toolchain provided by the PopcornTime team can not be proven as non-malware easily. However, due to point 3, this approach was reverted. You are free to use an older PKGBUILD with the appropriate variable updates to re-enable this, however you will miss support for recent codecs.

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

Latest Comments

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

vagelis commented on 2019-04-08 17:01 (UTC)

Hi ItachiSan, thanx for the latest commit. I've noticed tough when popcorntime is minimized to systray it duplicates the icon, instead of removing it when restoring. Maybe something to do with latest gnome-shell update? There were some issues all around cause of this.

Thanx again.

vagelis commented on 2019-03-05 20:54 (UTC) (edited on 2019-03-31 09:38 (UTC) by vagelis)

Same thing as krosen's. Favorites just vanished. Recompiled from scratch. Favorites now on tab and not "heart" icon.

ItachiSan commented on 2019-01-20 20:44 (UTC)

@krosen I actually do have it, so I can't replicate the issue...

krosen commented on 2019-01-15 11:59 (UTC)

0.3.10-14 "Favorites" category disappeared after updating from 0.3.10-12.

Tio commented on 2018-12-30 00:53 (UTC)

@ItachiSan indeed it works now! great!

ItachiSan commented on 2018-12-29 21:23 (UTC)

@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 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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...