Package Details: libpdfium-nojs 6778.r0.7a8409531f-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: 24
Popularity: 1.40
First Submitted: 2017-07-30 18:14 (UTC)
Last Updated: 2024-11-19 08:21 (UTC)

Pinned Comments

selmf commented on 2021-05-24 11:20 (UTC)

Important: This package depends on libicuuc and needs to be rebuild if the icu package is updated on your system!

Latest Comments

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

michaldybczak commented on 2022-07-09 15:17 (UTC)

@selmf, I updated with pamac and then with yay, in both cases it still showed the package to install. So I installed it manually with "makepkg -i" (with the changed version in PKGBUILD that @robson gave). Still no luck, package hangs on the update list. I guess I will wait for the official solution.

robson commented on 2022-07-09 13:53 (UTC)

I have auracle-git installed for AUR update notification https://i.postimg.cc/d0tPHj74/screen.png I think it's enough to just edit PKGBUILD and change pkgver to the correct one.

selmf commented on 2022-07-09 13:26 (UTC)

@michaldybczak Some AUR helpers try to guess if a package update is needed by looking at the git head instead of checking which method pkgver() uses. This will result in the behavior you describe.

@robson Thank you for your comment. It seems that my package is suffering from a subtle bug caused by pdfium's switch from master to main branch. For older source checkouts, master is present and - it seems - no longer receives updates from upstream. This results in pkgver() miscalculating the amount of unique commits on the release branch. I'm looking into the problem right now, but it seems the best way to fix this is to delete the stale pdfium sources and rebuild with a clean checkout.

michaldybczak commented on 2022-07-09 13:14 (UTC)

@robson, I followed your advice, and it didn't help. The package is still showing up on the update list, although it was just updated.

robson commented on 2022-07-09 10:40 (UTC)

Change pkgver from 5060.r443.558516c323 to 5060.r1.558516c323

nboninf commented on 2022-06-22 11:06 (UTC)

Good morning, I have a problem with this package, it is always asking to update, any solution to this problem?

chrivas commented on 2022-01-30 14:14 (UTC)

thanks for your help! it's really appreciated! I will follow your guidance and post here any solution I may find! thnx!

selmf commented on 2022-01-30 14:05 (UTC)

@chivras: libpdfium-nojs is a complex package and some of the approaches taken to make the build work can cause problems with AUR helpers, including pamac.

I cannot guess what causes the build to fail for you, but my tests using the standard AUR build process with vanilla makepkg run fine.

As convenient as AUR helpers are, I would recommend that you read the documentation on how to manually build AUR packages on the Arch Linux Wiki and follow this process to make the build work.

Since you seem to get the same error with a different package, you might also want to file a bug against pamac.

chrivas commented on 2022-01-30 13:44 (UTC)

That's what i get when i try to install it. normaly terminal vs gui doesn't make a change, right? I get the same result using pamac gui.

sudo pamac build libpdfium  2 ✘ [sudo] password for chrivas: Warning: Building packages as dynamic user Warning: Setting build directory to /var/cache/pamac Preparing... Checking pdfium-binaries-v8 dependencies... Checking pdfium-binaries dependencies... Checking libpdfium-nojs dependencies... Choose a provider for libpdfium: 1: libpdfium-nojs 4692.r1.41be7e25df-1 AUR 2: pdfium-binaries 4835-1 AUR 3: pdfium-binaries-v8 4835-1 AUR

Enter a number (default=1): 1

Resolving dependencies... Checking inter-conflicts...

To install (12): m4 1.4.19-1 core 264,5 kB autoconf 2.71-1 core 660,7 kB pkgconf 1.8.0-1 core 59,0 kB flex 2.6.4-3 core 304,4 kB gc 8.2.0-2 (Required By: make) extra 238,6 kB guile 2.2.7-2 (Required By: make) extra 6,6 MB make 4.3-3 core 493,2 kB bison 3.8.2-1 core 803,5 kB patch 2.7.6-8 core 94,7 kB automake 1.16.5-1 core 627,5 kB ninja 1.10.2-1 (Required By: libpdfium-nojs) community 119,6 kB gn 0.1938.0153d369-1 (Required By: libpdfium-nojs) extra 822,7 kB To build (1): libpdfium-nojs 4692.r1.41be7e25df-1 AUR

Total download size: 11,1 MB Total installed size: 60,4 MB

Edit build files : [e] Apply transaction ? [e/y/N] y

Error: Failed to prepare transaction: target not found: libpdfium-nojs

selmf commented on 2022-01-30 09:23 (UTC)

@chrivas: Not sure what the issue is in your case, but I checked if megasync builds and it works fine for me.