Package Details: libpdfium-nojs 4389.r1.157601b9b9-1

Git Clone URL: https://aur.archlinux.org/libpdfium-nojs.git (read-only, click to copy)
Package Base: libpdfium-nojs
Description: Open-source PDF rendering engine.
Upstream URL: https://pdfium.googlesource.com/pdfium/
Keywords: pdf pdfium
Licenses: BSD
Conflicts: libpdfium-bin
Provides: libpdfium
Submitter: selmf
Maintainer: selmf
Last Packager: selmf
Votes: 21
Popularity: 1.14
First Submitted: 2017-07-30 18:14
Last Updated: 2021-03-04 09:38

Latest Comments

1 2 3 4 5 Next › Last »

selmf commented on 2021-02-25 12:07

@RobinHood2015: This is a regression caused by the latest update of gn, which introduced a change in the handling of set_sources_assignment_filter. I'm still pondering on how to best fix this in-package. As a workararound, you can either try downgrading gn to the last version or you can comment out the part of the PKGBUILD where the version of the build repo requested by pdfium is being checked out (currently line 54). This will cause the package to use the newest version of the build toolchain which is compatible with the current version of gn.

Another option is to simply switch to pdfium's beta channel. To do that, you just have to switch the first checkout in the PKGBUILD to the beta or dev channel checkout in the comments.

RobinHood2015 commented on 2021-02-25 01:47

ERROR at //build/win/BUILD.gn:14:1: set_sources_assignment_filter argument must be an empty list.
set_sources_assignment_filter(deprecated_default_sources_assignment_filter)
^-------------------------------------------------------------------------
See //testing/test.gni:232:9: which caused the file to be included.                    
        "//build/win:default_exe_manifest",
        ^---------------------------------
==> ERROR: A failure occurred in build().                                              
    Aborting...

paapereira commented on 2020-12-31 14:03

Removing the cache didn't work, but reinstalling gn did it.

rm -rf .cache/paru/clone/libpdfium-nojs
paru -S gn --overwrite /usr/bin/gn
paru -S libpdfium-nojs

selmf commented on 2020-12-27 09:00

@paapereira, @keren_sky: I can't replicate your issues on my system. Your best option is to retry with clean build directories and sources (i.e. delete the cached stuff). Also, if you're using AUR flavors of dependencies or build dependencies, replace those with vanilla versions.

paapereira commented on 2020-12-23 20:22

I'm getting:

==> Starting build()...
ERROR at //.gn:15:20: Assignment had no effect.
no_check_targets = [
                   ^
You set the variable "no_check_targets" here and it was unused before it went
out of scope.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'libpdfium-nojs-4280.r1.0950ad89ea-1':

keren_sky commented on 2020-12-14 22:26

Hi, is anybody else seeing this error message?

==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... ninja: Entering directory `out/Release' ninja: fatal: chdir to 'out/Release' - No such file or directory ==> ERROR: A failure occurred in build(). Aborting...

Hekuran commented on 2020-12-14 12:50

Minor nitpick

Could you update the version? its annoying when i yay -Syyu and its been telling me for weeks now that i have a newer version than AUR.

Cheers

DDoSolitary commented on 2020-11-02 12:28

@selmf You're right. I just took a deeper look at the PKGBUILD file and found out that I was mistaken.

selmf commented on 2020-11-02 12:16

The package does in fact not build from the newest git commit but the latest stable branch, which occasionally receives backports and security fixes during its lifetime. Git master is only pulled to keep track of those changes.

DDoSolitary commented on 2020-11-01 20:32

As the package is building from latest git commit, I think it's should be made libpdfium-nojs-git, according to VCS package guidelines