Bug 1183335

Summary: pstoedit-3.70: -help no longer lists any loadable drivers (including svg)
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: pstoeditAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jonathan.underwood, jpopelka, OliverBurghard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pstoedit-3.70-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-11 02:06:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1247182    
Attachments:
Description Flags
Patch from upstream tracker none

Description Rex Dieter 2015-01-18 19:08:51 UTC
Weird, but as of pstoedit-3.70, -help output no longer lists any(most?) loadable drivers.

For example, f21's `pstoedit -help` output includes:
        plot-svg:               .svg:   svg  via GNU libplot    (/usr/lib64/pstoedit/libp2edrvlplot.so)


but, with pstoedit-3.70, the output after "Available formats" is quite short (and does not include plot-svg)

Available formats :
        psf:                    .fps:   Flattened PostScript (no curves)        (built-in)
-------------------------------------------
        ps:                     .spsc:  Simplified PostScript with curves       (built-in)
-------------------------------------------
        debug:                  .dbg:   for test purposes       (built-in)
-------------------------------------------
        dump:                   .dbg:   for test purposes (same as debug)       (built-in)
-------------------------------------------
        gs:                     .gs:    any device that Ghostscript provides - use gs:format, e.g. gs:pdfwrite  (built-in)
-------------------------------------------
        ps2ai:                  .ai:    Adobe Illustrator via ps2ai.ps of Ghostscript   (built-in)
-------------------------------------------


Interestingly, I tested building pstoedit-3.70 on my f21 box, and if I run pstoedit from the just-build sorce directory, it lists drivers fine,

$ pwd
/home/rdieter1/pkgs.fedoraproject.org/pstoedit/pstoedit-3.70/src

$ ./pstoedit -help
...
        plot-svg:               .svg:   svg via GNU libplot     (/home/rdieter1/pkgs.fedoraproject.org/pstoedit/pstoedit-3.70/src/.libs/libp2edrvlplot.so)
...

something funny is going on. :(



I only noticed because calligra checks for the pstoedit svg driver to conditionally build a filter that uses it.

Comment 1 Jiri Popelka 2015-01-20 12:54:24 UTC
> something funny is going on. :(

Yes, on my F21 machine:

# rpmbuild --recompile pstoedit-3.70-1.fc22.src.rpm

# ~/rpmbuild/BUILD/pstoedit-3.70/src/.libs/pstoedit -help
OK (all drivers listed)

# ~/rpmbuild/BUILDROOT/pstoedit-3.70-1.fc21.x86_64/usr/bin/pstoedit -help
not OK (no drivers listed)

Comment 2 Jiri Popelka 2015-01-20 13:05:46 UTC
(In reply to Jiri Popelka from comment #1)
> # ~/rpmbuild/BUILDROOT/pstoedit-3.70-1.fc21.x86_64/usr/bin/pstoedit -help
> not OK (no drivers listed)

But only when I have pstoedit-3.70-1.fc22.x86_64 installed.

Comment 3 Jaroslav Reznik 2015-03-03 17:07:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 4 OliverBurghard 2015-06-13 21:44:16 UTC
I had the same problem on fedora 22.

I found the following fix for opensuse:
https://build.opensuse.org/package/view_file/openSUSE:Factory/pstoedit/pstoedit-pkglibdir.patch?expand=1

Then the following solved it:

- pstoedit was installed into
/usr/bin/pstoedit

- and plugins into
/usr/lib64/pstoedit

- but plugins were searched in
/usr/lib/pstoedit


> cd /usr/lib
> sudo ln -s ../lib64/pstoedit pstoedit

(checking the output of 'pstoedit -help' worked instantly)

Comment 5 Jonathan Underwood 2015-07-27 14:58:59 UTC
*** Bug 1247187 has been marked as a duplicate of this bug. ***

Comment 6 Jonathan Underwood 2015-07-27 15:01:37 UTC
Upstream bug report:

http://sourceforge.net/p/pstoedit/bugs/19/

Comment 7 Jonathan Underwood 2015-07-27 15:02:53 UTC
Created attachment 1056644 [details]
Patch from upstream tracker

I have built with this patch and can confirm that it fixes the issue. Please can you push new packages including the patch?

Comment 8 Fedora Update System 2015-07-27 15:23:28 UTC
pstoedit-3.70-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pstoedit-3.70-2.fc22

Comment 9 Jonathan Underwood 2015-07-27 15:28:25 UTC
Great, thanks!

Comment 10 Fedora Update System 2015-07-30 01:05:33 UTC
Package pstoedit-3.70-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pstoedit-3.70-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-12222/pstoedit-3.70-2.fc22
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2015-08-11 02:06:36 UTC
pstoedit-3.70-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.