After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591773 - Windows Port of PDFMod
Windows Port of PDFMod
Status: RESOLVED WONTFIX
Product: pdfmod
Classification: Other
Component: general
git master
Other Windows
: Normal enhancement
: ---
Assigned To: pdfmod-maint
pdfmod-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-08-14 07:32 UTC by Gabriel Rauter
Modified: 2018-07-16 10:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to allow pdfmod to build and run on Windows (12.40 KB, patch)
2016-06-28 04:46 UTC, Alister
none Details | Review
patch for poppler-sharp on Windows (886 bytes, patch)
2016-06-28 04:49 UTC, Alister
none Details | Review

Description Gabriel Rauter 2009-08-14 07:32:05 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...
Comment 1 Bertrand Lorentz 2009-08-17 20:24:36 UTC
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 :
http://cgit.freedesktop.org/poppler/poppler/tree/README.windows
Comment 2 Gabriel Burt 2009-08-17 20:29:51 UTC
Did you try the poppler build at https://build.opensuse.org/package/show?package=mingw32-poppler&project=windows%3Amingw%3Awin32 ?
Comment 3 Gabriel Burt 2009-08-27 17:58:58 UTC
I extracted the .dll files out of the .rpms linked above:

http://banshee-project.org/~gburt/tmp/libpoppler-5.dll
http://banshee-project.org/~gburt/tmp/libpoppler-glib-4.dll
Comment 4 Alister 2016-06-28 04:46:51 UTC
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.

Note that:
- 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.
Comment 5 Alister 2016-06-28 04:48:35 UTC
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.
Comment 6 Alister 2016-06-28 04:49:59 UTC
Created attachment 330471 [details] [review]
patch for poppler-sharp on Windows

I also used this.
Comment 7 Alister 2016-06-28 04:50:33 UTC
Let me know if it seems like I've missed something, or messed something up when cleaning up those patches.
Comment 8 André Klapper 2018-07-16 10:13:20 UTC
pdfmod is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/pdfmod/commits/master

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.