A bit off-topic, but it would solve such bad user experiences: Is there a way to handle conditional dependencies like "if wayland AND masterpdfeditor are installed, then qt5-wayland is installed as a dependency"?
Search Criteria
Package Details: masterpdfeditor 5.9.90-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/masterpdfeditor.git (read-only, click to copy) |
---|---|
Package Base: | masterpdfeditor |
Description: | A complete solution for viewing, creating and editing PDF files |
Upstream URL: | https://code-industry.net/free-pdf-editor/ |
Keywords: | master-pdf-editor |
Licenses: | custom |
Submitter: | farseerfc |
Maintainer: | pgoetz |
Last Packager: | pgoetz |
Votes: | 195 |
Popularity: | 0.48 |
First Submitted: | 2016-12-05 01:50 (UTC) |
Last Updated: | 2025-06-10 17:14 (UTC) |
Dependencies (7)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- pkcs11-helper
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-declarative (qt5-declarative-gitAUR)
- qt5-svg (qt5-svg-gitAUR)
- sane (sane-gitAUR)
- patchelf (patchelf-gitAUR) (make)
Required by (0)
Sources (1)
nursoda commented on 2025-07-08 13:23 (UTC)
andrej commented on 2025-07-08 09:30 (UTC)
It started coredumping due to a missing wayland
plugin. Installing qt5-wayland
fixed it.
pgoetz commented on 2025-04-15 15:13 (UTC) (edited on 2025-04-15 15:18 (UTC) by pgoetz)
@ninetailedtori I've removed nss and nspr from the dependency list. Thanks for pointing this out.
Regarding the checksums, I'm worried that this will create one more opportunity for things to go haywire if, for example, the checksum URL changes. Let me circle back to this later today, as it seems like a sensible improvement in the PKGBUILD.
pgoetz commented on 2025-04-15 15:11 (UTC)
OK, fixed location of desktop icon and added copying icons to /usr/share/icons.
@mithrial @hatred Thanks for doing the legwork on this.
hatred commented on 2025-04-15 09:18 (UTC)
Install icons too:
--- PKGBUILD.orig 2025-04-15 19:03:48.940581491 +1000
+++ PKGBUILD 2025-04-15 19:15:47.161799739 +1000
@@ -23,7 +23,8 @@
cd "$pkgdir/opt/master-pdf-editor-${pkgver%%.*}"
ln -sr masterpdfeditor${pkgver%%.*} -t "$pkgdir/usr/bin/"
- install -Dm644 masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
+ install -Dm644 usr/share/applications/net.code-industry.masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
install -Dm644 license_en.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
+ find usr/share/icons -type f -exec install -Dm644 "{}" "$pkgdir/{}" \;
patchelf --remove-rpath masterpdfeditor${pkgver%%.*}
}
mithrial commented on 2025-04-15 07:00 (UTC)
The file location and name has changed:
diff --git a/PKGBUILD b/PKGBUILD
index ee5a0e6..e0a17ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ package() {
cd "$pkgdir/opt/master-pdf-editor-${pkgver%%.*}"
ln -sr masterpdfeditor${pkgver%%.*} -t "$pkgdir/usr/bin/"
- install -Dm644 masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
+ install -Dm644 usr/share/applications/net.code-industry.masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
install -Dm644 license_en.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
patchelf --remove-rpath masterpdfeditor${pkgver%%.*}
}
cherkaba commented on 2025-04-15 06:51 (UTC)
same issue as @nfs during installation via pacman:
cannot stat 'masterpdfeditor5.desktop'
im gonnna waiting the pkgbuild fix
nfs commented on 2025-04-15 00:33 (UTC) (edited on 2025-04-15 00:33 (UTC) by nfs)
I had to delete the line in the PKGBUILD that installed the .desktop file in /usr/share/applications. I compared the new .desktop file with the one already installed, and they were the same. So I figured there wouldn't be much harm in removing the line. Still the PKGBUILD should be fixed so it can find the new .desktop file.
The message I received when I tried to install it the first time was:
cannot stat 'masterpdfeditor5.desktop'
I deleted the line:
install -Dm644 masterpdfeditor${pkgver%%.*}.desktop -t "$pkgdir/usr/share/applications/"
ninetailedtori commented on 2025-04-11 14:32 (UTC) (edited on 2025-04-11 14:32 (UTC) by ninetailedtori)
nspr, nss should also be removed, they're second and third level dependencies, included by pkcs11-helper tree :)
Pinned Comments
Alad commented on 2021-03-03 16:25 (UTC)
The next person who discusses keygens will have their account suspended indefinitely.