Bug 231298 - www/gpx2map: fix GNUPLOT_RUN_DEPENDS
Summary: www/gpx2map: fix GNUPLOT_RUN_DEPENDS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 10:03 UTC by Nikola Kolev
Modified: 2018-09-18 18:41 UTC (History)
0 users

See Also:
koue: maintainer-feedback+


Attachments
gpx2map convert patch (701 bytes, text/plain)
2018-09-11 10:03 UTC, Nikola Kolev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikola Kolev 2018-09-11 10:03:38 UTC
Created attachment 197022 [details]
gpx2map convert patch

Following error appears if GNUPLOT is enabled:

# gpx2map --notempe --osm track.gpx                                                       
gpx2map revision 0.2 from 2016-05-08                                                     
Generating output for Open Street Maps (OSM)                                                                                      
Reading file track.gpx                               
Operation mode: Write each route into a separate file                     
Total distance is 20.89km                                                   
Writing Height Profile chart to ./track-gpx2map-height.png ...   
sh: convert: not found

After adding convert:graphics/ImageMagick to GNUPLOT_RUN_DEPENDS it works as expected.

# gpx2map --notempe --osm track.gpx                                                       
gpx2map revision 0.2 from 2016-05-08
Generating output for Open Street Maps (OSM)
Reading file track.gpx
Operation mode: Write each route into a separate file
Total distance is 20.89km
Writing Height Profile chart to ./track-gpx2map-height.png ...                                           
Writing Walking Daytime Profile chart to ./track-gpx2map-time.png ...                                    
Writing Speed Profile chart to ./track-speed.png ...                                             
Writing OpenStreetMaps file ./track-gpx2map.html ...

No need of poudriere tests, there is no change in port files.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-09-18 18:41:28 UTC
A commit references this bug:

Author: swills
Date: Tue Sep 18 18:40:38 UTC 2018
New revision: 480063
URL: https://svnweb.freebsd.org/changeset/ports/480063

Log:
  www/gpx2map: fix GNUPLOT_RUN_DEPENDS

  PR:		231298
  Submitted by:	Nikola Kolev <koue@chaosophia.net> (maintainer)

Changes:
  head/www/gpx2map/Makefile
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-09-18 18:41:46 UTC
Committed, thanks!