GNOME Bugzilla – Bug 591773
Windows Port of PDFMod
Last modified: 2018-07-16 10:13:20 UTC
Like for Evince, it would be nice to have PDFMod on Windows...
I know this is a standard request, an it is annoying,
but still it would be nice...
Out of curiosity, I had a quick go at this a few days ago :
I managed to compile PdfMod on Windows with MonoDevelop and .NET 3.5.
The application started, but crashed when opening a PDF.
The crash was probably because the only poppler dlls I found were pretty old.
So I guess the first step would be to have nice poppler binaries for Windows ;)
For reference :
Did you try the poppler build at https://build.opensuse.org/package/show?package=mingw32-poppler&project=windows%3Amingw%3Awin32 ?
I extracted the .dll files out of the .rpms linked above:
Created attachment 330469 [details] [review]
Patch to allow pdfmod to build and run on Windows
Not that I want to encourage the use of Windows, but it builds and runs on Windows with these changes.
- the majority of the changes are disabling gconf support, and don't have a major impact on the operation of the program, but I believe it would be reasonably simple to reimplement using just gsettings.
- some of the changes are workarounds for cosmetic issues due to me not being able to figure out how to get some things working with gtk on Windows e.g. icon themes.
- in one case I have worked around a problem in a way which I imagine will break it on Linux - read the comments.
Getting a working set of dependencies on windows remains problematic - I succeeded by borrowing them from the Windows build of Evince.
Note that I am using .Net, not mono.
Created attachment 330471 [details] [review]
patch for poppler-sharp on Windows
I also used this.
Let me know if it seems like I've missed something, or messed something up when cleaning up those patches.
pdfmod is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.