diff-pdf is a visual pdf-comparison package (and distinct in functionality from diffpdf) See: https://github.com/vslavik/diff-pdf
Whoops, typo. Sorry about that.
Created attachment 410958 [details] ebuild for diff-pdf v0.2 release
Created attachment 410960 [details] ebuild for diff-pdf git repo The project's github page lists dependencies as: * wxWidgets >= 2.8.11 * Cairo >= 1.4 * Poppler >= 0.10 This ebuild seems like its working well for me, but I'm new at this so it could be buggy.
Created attachment 410962 [details] Cleaned up diff-pdf-0.2 ebuild
Created attachment 410964 [details] Cleaned up diff-pdf-9999 ebuild
Created attachment 565572 [details] diff-pdf-0.3.ebuild I'm planning on adding the latest version of diff-pdf to the tree. Can you please give this ebuild a try? I've tested the dependencies as well as I can without crashing my system, but there are some differences between mine and yours. If you see any mistakes in my (R)DEPEND, that would be especially helpful.
(In reply to Michael Orlitzky from comment #6) > Created attachment 565572 [details] > diff-pdf-0.3.ebuild > > I'm planning on adding the latest version of diff-pdf to the tree. Can you > please give this ebuild a try? It seems the required wxGTK is not in portage anymore: emerge: there are no ebuilds to satisfy ">=x11-libs/wxGTK-2.8.11:2.8[X]".
(In reply to Erik Quaeghebeur from comment #7) > > It seems the required wxGTK is not in portage anymore: That's the main reason I didn't pick this up earlier... but version 0.3 was released a few days ago with updated dependencies. I uploaded a new ebuild (diff-pdf-0.3.ebuild) attached to this bug. Can you try that one instead?
(In reply to Michael Orlitzky from comment #8) > > I uploaded a new ebuild > (diff-pdf-0.3.ebuild) attached to this bug. Can you try that one instead? $ diff-pdf Gtk-Message: 07:25:28.739: Failed to load module "canberra-gtk-module" So I guess some dependency is missing.
(In reply to Erik Quaeghebeur from comment #9) > > $ diff-pdf > Gtk-Message: 07:25:28.739: Failed to load module "canberra-gtk-module" > > So I guess some dependency is missing. Does diff-pdf still function after that error message? Canberra is for sound, and I don't think diff-pdf uses any sound libraries. But, diff-pdf DOES load a bunch of wxGTK stuff, so it's possible that it's showing you an unrelated GTK error. In other words, that error might be displayed if you start any other wxGTK application from the command-line. In any case, thanks for testing.
(In reply to Michael Orlitzky from comment #10) > Does diff-pdf still function after that error message? No, it does not start.
Everything I can find suggests that this is a problem with GTK (e.g. bug 358131), but I don't like the fact that it prevents diff-pdf from starting. Are you running diff-pdf with arguments? Note that with no arguments it will do nothing: $ diff-pdf Usage: diff-pdf [-h] [-v] [--output-diff <str>] [--view] file1.pdf file2.pdf -h, --help show this help message -v, --verbose be verbose --output-diff=<str> output differences to given PDF file --view view the differences in a window The required parameter 'file1.pdf' was not specified. To make anything happen, I have to use $ diff-pdf --view prev.pdf new.pdf Aside from that, I can only think of the usual see-what-sticks advice: * Try updating @world, * Run "emerge --depclean" * Run "revdep-rebuild" * Run "strace" on diff-pdf to see what's going on when it crashes * Run "ldd /usr/bin/diff-pdf" to make sure that it's not linked against something that isn't there And if none of those things work... post your emerge --info and I'll see if I can get someone who knows more about GTK to take a look.
(In reply to Michael Orlitzky from comment #12) > Are you running diff-pdf with arguments? Note that with no arguments it will > do nothing: D'oh! That was it. Sorry about that. It seems to work fine. The Gtk message I can live with.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc3af652207b2bfa99af736802d98cb78b837a9 commit 0cc3af652207b2bfa99af736802d98cb78b837a9 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2019-02-16 17:30:19 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2019-02-19 14:22:56 +0000 app-text/diff-pdf: new package to visually compare two PDF files. This has been an open request (and desire of mine) for a while, but the older releases depended on the deprecated 2.8 slot of wxGTK. However a new release was recently made with all of the upstream improvements from the past few years, so it is now possible to package this properly. Here it is. Thanks to Erik Quaeghebeur who opened the package request bug, supplied an ebuild, and helped me do some testing. Closes: https://bugs.gentoo.org/549260 Reported-by: Erik Quaeghebeur Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-text/diff-pdf/Manifest | 1 + app-text/diff-pdf/diff-pdf-0.3.ebuild | 39 +++++++++++++++++++++++++++++++++++ app-text/diff-pdf/metadata.xml | 8 +++++++ 3 files changed, 48 insertions(+)
Oh, shit. I didn't realize the two ebuilds were attached by somebody else. I started from scratch, but they were helpful in particular for the "poppler[cairo]" dependency. So thanks Jesse, and I apologize for the mis-attribution.