Opened 14 years ago

Last modified 10 years ago

#25904 assigned submission

[NEW] graphics/afterglow

Reported by: jul_bsd@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: afterglow

Description

AfterGlow 1.x is a collection of scripts which facilitate the process of generating link graphs. AfterGlow 1.x is written in Perl and is meant to be used on the command line. There is no graphical user interface available. AfterGlow expects a CSV file as input and generates either an attributed graph langugage file that can be processed by the graphiviz libraries, or it can generate output for consumption by the large grpah library (LGL).

Attachments (2)

patch-afterglow_pl (7.4 KB) - added by jul_bsd@… 11 years ago.
Portfile (4.1 KB) - added by jul_bsd@… 10 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: afterglow added
Status: newassigned

Can you explain the comment at the top of the submitted portfile "## miss perlchartdir for bar.pl & co, http://www.advsofteng.com/download.html (closed-source) ..."? Is this a dependency of afterglow? If so, what should we do?

comment:2 Changed 14 years ago by jul_bsd@…

afterglow archive contains 2 sets of scripts:

  • afterglow*.pl is a converter-like between csv and graphviz dot format and works ok
  • bar.pl & co allow to make barchart or else but need the closed-source software, so they can't work for now. On this Portfile, I forgot to move them to ${prefix}/share/examples which seems more fitted here.

Choice

  • either take it but ignore perlchartdir script (put in examples or excluded them)
  • either make a port for perlchartdir which is binary only (universal dylib file to copy in perl lib path)

I don't know if macports has a fixed policy for closed-source software and want to avoid them ?

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I don't think we mind closed-source. We already have the port oracle-instantclient, which provides libraries for connecting to Oracle databases. This can be used by other ports like php5, which is open-source, though Oracle's code is not open-source and probably never will be. We also have the port mystonline-wine, to install the game Myst Online, which is not open-source (yet; it might be soon). But it runs in wine, which is open-source.

I would say if the software works on the Mac, and its authors don't object to it being included, we could probably make a port for it.

comment:4 Changed 14 years ago by jul_bsd@…

ok, I'll try to review it and make a port for it.

comment:5 Changed 14 years ago by jul_bsd@…

ok port done (Ticket #26004). So need to add it as dep and put bar.pl & co in bin with afterglow.pl

comment:6 Changed 11 years ago by jul_bsd@…

bump to 1.6.4

problem w dependencies: perlchartdir/to validate+commit, p5-text-csv/not installing currently

comment:7 Changed 11 years ago by mf2k (Frank Schima)

A few quick notes:

  1. It is not valid to depend on the stub port p5-text-csv, use the perl 5.16 version.
  2. The maintainer line is invalid. Use nomaintainer or your email address (obfuscated).
  3. Change the configure {} line to use_configure no
Last edited 11 years ago by mf2k (Frank Schima) (previous) (diff)

comment:8 Changed 11 years ago by jul_bsd@…

Here an update of the portfile.

Just a remark on perl/python multiple versions, where is the doc to know that you need to choose a specific version? why not the global and take the one chosen by user (latest unless otherwise)? because, it means an update of the port for every update if we want to follow latest perl/python.

comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

It might not be documented in the guide, but it is correct that you need to depend on a specific perl version. This is because you cannot know which variant of the perl5 port is installed, so you cannot know what version of perl the perl executable is. If you don't care, then you can just depend on bin:perl:perl5 and run perl, but if you do care (and if you need a specific perl module, then you have to care, because you have to install the perl module for the version of perl you're using), then you have to depend on port:perl5.16 or whatever version you decide, and p5.16-text-csv etc. and run perl5.16 instead of perl. Yes, this means if the default version of perl in MacPorts changes, the port should be updated to match that, if possible. This doesn't happen very often, however.

comment:10 Changed 11 years ago by jul_bsd@…

few more things

  • fix things w 5.16 else perl5.lib points on 5.12 and messed up things at execution
    dyld: lazy symbol binding failed: Symbol not found: _Perl_Istack_sp_ptr
      Referenced from: /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level/auto/List/Util/Util.bundle
      Expected in: flat namespace
    
    dyld: Symbol not found: _Perl_Istack_sp_ptr
      Referenced from: /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level/auto/List/Util/Util.bundle
      Expected in: flat namespace
    
    Trace/BPT trap: 5
    
  • patch to handle warning about defined(@array)

Changed 11 years ago by jul_bsd@…

Attachment: patch-afterglow_pl added

comment:11 Changed 11 years ago by jul_bsd@…

  • port lint --nitpick
  • livecheck
  • /tab/spacex4/

comment:12 Changed 11 years ago by jul_bsd@…

include parsers which were split from main archive in a previous release https://github.com/zrlram/parsers/

comment:13 Changed 10 years ago by jul_bsd@…

  • portgroup github
  • operational variants parsers

Changed 10 years ago by jul_bsd@…

Attachment: Portfile added
Note: See TracTickets for help on using tickets.