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.89
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 2 3 4 5 6 7 8 9 .. 17 Next › Last »

ItachiSan commented on 2021-06-09 06:53 (UTC) (edited on 2021-06-09 06:57 (UTC) by ItachiSan)

@je-vv I am also unable to reach the popcorntime website, which is required to fetch their Node.js toolchain.

I will open an issue upstream right away and add it here.

Edit 1: It seems other people got the same issue and a workaround is mentioned here:

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

I will try later to adjust the build appropriately.

je-vv commented on 2021-05-30 23:37 (UTC) (edited on 2021-05-30 23:40 (UTC) by je-vv)

@ItachiSan, I'm now getting the same error @dr460nf1r3 reported, but I see an earlier build error, which might be the cause:

Error: getaddrinfo EAI_AGAIN popcorntime.app
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
    at GetAddrInfoReqWrap.callbackTrampoline (internal/async_hooks.js:131:14) {
  errno: -3001,
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: 'popcorntime.app'
}
[17:29:54] Finished 'nwjs' after 25 s
[17:29:54] Starting '<anonymous>'...
[17:29:54] Finished '<anonymous>' after 875 μs
[17:29:54] Finished 'build' after 30 s
Done in 31.49s.
==> Entering fakeroot environment...
==> Starting package()...
/home/general/.pkgs/src/laur/popcorntime/PKGBUILD: line 92: cd: /home/general/.pkgs/src/laur/popcorntime/src/popcorn-desktop/build/Popcorn-Time/linux64: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

It's like it's not finding something it's attempting to download... Moreover, prior successful builds from long time ago are no longer working, just hanging...

dr460nf1r3 commented on 2021-04-23 09:21 (UTC)

Getting this error on package() in clean chroot /home/main-builder/pkgwork/PKGBUILD: line 92: cd: /home/main-builder/pkgwork/src/popcorn-desktop/build/Popcorn-Time/linux64: No such file or directory

je-vv commented on 2021-04-22 02:13 (UTC) (edited on 2021-04-22 02:15 (UTC) by je-vv)

@ItachiSan, yarn build is failing to download stuff:

Error: connect ECONNREFUSED 165.227.24.62:443
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1138:16)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:132:14) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '165.227.24.62',
  port: 443
}

I tried re-building, since popcorntime is hanging when started, not showing anything

ItachiSan commented on 2021-01-13 10:18 (UTC) (edited on 2021-01-13 10:40 (UTC) by ItachiSan)

Hi @B3l3tte,

As of now the PopcornTeam NW.js build is used due to multiple missing codecs in the official NW.js build. Even when using an FFMpeg library with all codecs, the official NW.js build won't load them.

You can check these links:

I will edit my comment and mention that the non-NWjs-official build is used :)

B3l3tte commented on 2021-01-08 14:14 (UTC)

Hello, thanks for your answer, I have been able to build PPT with various commit hashes successfully.

Do this package really uses https://dl.nwjs.io/ though ? Because the log states :

Using v0.44.5 (sdk)
Create cache folder in /home/belette/.cache/yay/popcorntime/src/popcorn-desktop/cache/0.44.5-sdk
Downloading: https://get.popcorntime.app/repo/nw/v0.44.5/nwjs-sdk-v0.44.5-linux-x64.tar.gz

And I don't see any dl.nwjs.io mention in the PKGBUILD either. Is your pinned comment still up to date ? Thanks for reading

ItachiSan commented on 2020-09-17 09:56 (UTC)

Hi @B3l3tte, sorry for the huge delay, had issues setting up Arch on my new personal laptop.

I tried yesterday using a more recent commit and the build points out to the new commits. You can check the built revision via the information page on the bottom right.

You need to update the variable _commit_hash in the PKGBUILD in order to change revision.

B3l3tte commented on 2020-09-05 16:22 (UTC)

Hello ItachiSan, I am wondering how i am supposed to tune the PKGBUILD to get the latest commits packaged ? Just changing the hash currently doesn't work, do you have any tips with the NWJS version and / or commits that broke the building process used by the current PKGBUILD ? Thanks

ItachiSan commented on 2020-07-28 09:11 (UTC)

Regarding the ARM build, you may want to ask the PopcornTime team to build their NW.js with extra codecs for ARM also.

About Github, it seems up for me; what is exactly the error?

gear4 commented on 2020-07-28 08:14 (UTC)

can't get the sources, github says invalid repo url