Bug 32495 - hp2xx is needed by Imagemagick for some vector graphics formats. NEW PACKAGE REQUEST
Summary: hp2xx is needed by Imagemagick for some vector graphics formats. NEW PACKAGE ...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Stig-Ørjan Smelror
QA Contact:
URL: https://github.com/dgtlrift/hp2xx
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-05 17:50 CET by Raoul
Modified: 2024-03-18 15:34 CET (History)
2 users (show)

See Also:
Source RPM: imagemagick-7.1.1.11-2.1.mga9.tainted.src.rpm
CVE:
Status comment:


Attachments
Map of a region of the sky: mostly circles, some lines and texts (21.08 KB, text/plain)
2023-11-05 17:54 CET, Raoul
Details

Description Raoul 2023-11-05 17:50:59 CET
Description of problem:
I need to convert plotter files in hp-gl to some more common format, like pdf.
More basically to display them.

In https://imagemagick.org/script/formats.php , it is sais that Imagemagick can do the display/conversion but hp2xx is required.

Version-Release number of selected component (if applicable):
7.1.1.11

How reproducible:
Always.

Steps to Reproduce:
1 download a sample file, carte.hpg :
  wget https://obswww.unige.ch/~behrend/tempo/carte.hpg
2 try to display it :
  display carte.hpg
Response:
$ display carte.hpg 
sh: ligne 1: hp2xx : commande introuvable
/bin/mv: impossible d'évaluer 'magick-XTm-sDhFUPlgW9oD0pJcAfCZLxcUtTkS': Aucun fichier ou dossier de ce type
display: delegate failed `'hp2xx' -sstdout=%%stderr -m eps -f `basename '%o'` '%i';     /bin/mv -f `basename '%o'` '%o'' @ error/delegate.c/InvokeDelegate/1924.
display: unable to open file '/tmp/magick-hql8GIkbiHa0SiI2ostEQmOnAwpjjR4y': Aucun fichier ou dossier de ce type @ error/constitute.c/ReadImage/785.

So, hp2xx seems to be missing. I'll be very happy to have hp2xx installed ; I'm hélas not able to compile and install it by mysef from
http://ftp.gnu.org/gnu/hp2xx
Comment 1 Raoul 2023-11-05 17:54:59 CET
Created attachment 14132 [details]
Map of a region of the sky: mostly circles, some lines and texts
Comment 2 Lewis Smith 2023-11-05 19:48:53 CET
From the URL at top:
"The `hp2xx' program is a versatile tool to convert vector-oriented graphics data given in Hewlett-Packard's HP-GL plotter language into a variety of popular both vector- and raster-oriented graphics formats."
It looks interesting and mature, but the most recent evidence of activity is 4y ago, and it says:
"Release
No releases published
Packages
No packages published"

Since ImageMagick knows about it, it would be nice to add it to that (required package). There is no sign of it in our pkgs:
 $ urpmf hp2xx
 $

Assignee: bugsquad => smelror
Component: RPM Packages => New RPM package request
URL: (none) => https://github.com/dgtlrift/hp2xx
Summary: hp2xx is needed by Imagemagick => hp2xx is needed by Imagemagick for some vector graphics formats. NEW PACKAGE REQUEST

Comment 3 Lewis Smith 2023-11-05 19:54:51 CET
[continuation]
Thank you for the interesting suggestion.

Changing this to a new pkg request, and assigning directly to Stig who nurses ImageMagick. See what other packagers think.

Severity: normal => enhancement

Comment 4 Raoul 2024-03-17 22:56:04 CET
Ubuntu has xp2xx in its repository. I don't want to switch to Ubuntu as my beloved distro is... Megeia. There was a program in the Windows World (Presentation by Corel) which was available ans scriptable until hardware problems on my computer. Please help my for this package as a scientific experiment is paused until hp2xx is available on Mageia :(
Comment 5 David GEIGER 2024-03-18 07:15:04 CET
Why?? this sofware is 20 years old now without any new release!

CC: (none) => geiger.david68210

Comment 6 Kristoffer Grundström 2024-03-18 15:34:24 CET
You can rebuild the Tumbleweed src.rpm from here:

http://rpm.pbone.net/results_srodzaj_2_search_hp2xx-3.4.4-614.12.src.rpm.html

CC: (none) => lovaren


Note You need to log in before you can comment on or make changes to this bug.