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 596402 - Cannot show ps files on windows
Cannot show ps files on windows
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: win32
2.28.x
Other Windows
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-26 06:53 UTC by Hib Eris
Modified: 2010-03-06 23:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Evince install error (7.85 KB, image/png)
2010-02-26 19:50 UTC, Lucas Lommer
Details

Description Hib Eris 2009-09-26 06:53:32 UTC
Evince fails to show Postscript files on windows.

The postscript backend is not build because it depends on libspectre, which depends on (lib?)ghostscript. Cross compiling these dependencies has not been done yet, because it is difficult to make it work, but it does not seem impossible. If the dependencies can be made to cross compile, postscript support can be added to evince.
Comment 1 Lucas Lommer 2009-10-03 19:15:17 UTC
Not working even if you have ghostscript installed on your xp box. Got:

Unable to open document
File type Text document (text/plain) is not supported.
Comment 2 Hib Eris 2010-02-02 11:40:18 UTC
Finally, I have been successful in getting postscript to work on Windows.

Patches for libspectre are send to the maintainers.
I also have patches for cross compiling ghostscript that I need to send upstream.
Evince itself does not need any changes.

Expect Evince 2.30 for Windows to support postscript out of the box!
Comment 3 Lucas Lommer 2010-02-02 13:08:31 UTC
Nice, thanks :)
Comment 4 Jens 2010-02-26 09:10:54 UTC
@Hib Eris: Could you give a HOWTO for getting postscript files to work on windows or is it too complicated?

I could also wait for Evince 2.30 for Windows, but I would really like to use it right away :)
Comment 5 Hib Eris 2010-02-26 15:24:04 UTC
The latest developer release of Evince x.xx.xx for Windows is available at:

http://download.opensuse.org/repositories/home:/hiberis:/UNSTABLE/openSUSE_11.1/noarch/


You will need the file: mingw32-evince-msi-x.xx.xx-yy.y.noarch.rpm


Due to its build process, this package is an rpm file. Inside this file, you will find an evince-x.xx.xx.msi file, which is the installer. You can extract this installer from the rpm file either on Linux using rpm or on Windows using 7-zip.
Comment 6 Jens 2010-02-26 18:54:05 UTC
Thanks a lot! Will try this next week on my office pc.
Comment 7 Lucas Lommer 2010-02-26 19:50:13 UTC
Created attachment 154789 [details]
Evince install error

Hm, I'm unable to install that msi 2.29.91 on Vista, the installer will not ask for permissions to install and will end on this message.

I can't use Administrator account but I'm able to isntall SW with my account.
Comment 8 Hib Eris 2010-02-26 20:48:11 UTC
Lucas,

Can you try to run:

msiexec /i evince-x.xx.xx.msi ALLUSERS=""


(Not that this is a real solution, but if it works at least I know why it fails).
Comment 9 KarlM 2010-03-06 23:43:13 UTC
I was able to install on Vista by running the installer from an elevated command prompt window.

Opening and viewing ps files works great, but the option to print (when viewing a ps file) is greyed out.