Bug 829479

Summary: Publishing/plotutils: pic2plot unusable
Product: [openSUSE] openSUSE.org Reporter: Nico Kruber <nico.kruber>
Component: 3rd party softwareAssignee: Dr. Werner Fink <werner>
Status: VERIFIED FIXED QA Contact: E-mail List <opensuse-communityscreening>
Severity: Major    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 12.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: test file

Description Nico Kruber 2013-07-15 10:02:40 UTC
I'm no expert and please correct me if I'm wrong, but it seems that pic2plot is not working at all.
Please put the following lines (without ==) into a file called test2.pic and execute the commands below to reproduce:

==========
.PS
ellipse "ellipsetext";
box "boxtext";
.PE
==========

> pic2plot test2.pic -Tps > test2.ps
pic2plot:test2.pic:3: syntax error before `"boxtext"'
pic2plot:test2.pic:3: giving up on this picture

The result is a ps file with only an ellipse but without the test. Changing the output format does not help.

(I'm using the version shipped with openSUSE 12.3 but afaics not much has changed in this package with regard to my problem)
Comment 1 Nico Kruber 2013-07-15 10:03:31 UTC
Created attachment 547923 [details]
test file
Comment 2 Dr. Werner Fink 2013-07-15 11:01:43 UTC
Why this becomes a major?

You may use

     pic test2.pci | nroff -ms | less
Comment 3 Nico Kruber 2013-07-15 12:19:01 UTC
sorry, if major is not the correct importance - related to plotutils or pic2plot in particular, I'd say it is major. But of course, related to the whole openSUSE distribution it may not be. feel free to change it :)


thank you!
I didn't use pic before and just got a few scripts from someone using Ubuntu and did not know how to get around pic2plot not working - luckily there is something so I can work with them now.


For the sake of completeness, in order to create postscript output (which I wanted), the following worked:

pic test2.pic | groff > test2.ps
Comment 4 Dr. Werner Fink 2013-07-15 12:30:01 UTC
You may test out SR #183075
Comment 5 Dr. Werner Fink 2013-07-15 12:36:33 UTC
See https://build.opensuse.org/package/show/Publishing/plotutils next view hours
and in the resulting repository http://download.opensuse.org/repositories/Publishing/openSUSE_12.3/
Comment 6 Nico Kruber 2013-07-15 12:46:51 UTC
I checked out the package locally and build it
-> seems to work

Also, things like the following seem to be working again (which did not work with pic alone through your workaround)
=====
.PS
box "x\sp2\ep";
.PE
=====
Comment 7 Nico Kruber 2013-07-15 12:47:54 UTC
could you create an official patch for openSUSE 12.3?
Comment 8 Dr. Werner Fink 2013-07-15 12:55:05 UTC
see comment #7
Comment 9 Dr. Werner Fink 2013-07-15 12:58:35 UTC
Request of a SWAMPID
Comment 10 Bernhard Wiedemann 2013-07-15 13:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (829479) was mentioned in
https://build.opensuse.org/request/show/183075 Factory / plotutils
Comment 11 Dr. Werner Fink 2013-07-15 13:09:57 UTC
SR #183106 for openSUSE 12.3
Comment 12 Benjamin Brunner 2013-07-15 13:14:41 UTC
For openSUSE, a SWAMPID is not necessary. sr#183106 looks good, thanks. (Update started, see openSUSE:Maintenance:1866)
Comment 13 Dr. Werner Fink 2013-07-15 13:20:33 UTC
OK fixed
Comment 14 Bernhard Wiedemann 2013-07-15 14:00:09 UTC
This is an autogenerated message for OBS integration:
This bug (829479) was mentioned in
https://build.opensuse.org/request/show/183106 Maintenance /
Comment 15 Nico Kruber 2013-07-15 14:11:25 UTC
thank you
Comment 16 Swamp Workflow Management 2013-07-22 11:05:48 UTC
openSUSE-RU-2013:1227-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 829479
CVE References: 
Sources used:
openSUSE 12.3 (src):    plotutils-2.6-17.4.1