Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2015-06-26

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
12:45 sivoais so, I'm looking into porting Alien-HDF4 to use Alien-Base.
12:46 sivoais However, in order to maintain compatibility with PDL's build system (which is where Alien-HDF4 got extracted from)
12:46 sivoais it needs to check multiple library names (-l) and paths (-I & -L)
12:46 sivoais <https://github.com/PDLPorters/Alien-HDF4/blob/master/common.pl>
12:49 sivoais those are for the "system" install_type
12:56 sivoais I'm thinking that using Devel::CheckLib inside of an overridden alien_check_installed_version might work well. Does that sound reasonable?
13:12 * sivoais will look at it again in the evening
13:14 moritz left #native
13:47 jberger AB should cover that, unless I'm misunderstanding
13:48 jberger and TBH, I wouldn't worry too much about compat, just make the corresponding change in PDL
13:49 jberger I kinda hate the compat paths that are for people who want an old version of a library (i.e. PDL) but want to blindly update its dependencies (ie. Alien::HDF)
13:50 jberger but that could just be my Mojo-ness leaking out
13:57 sivoais heh, well, I'd like to keep compat for now. And it doesn't hurt as long as the code is clean
14:01 sivoais dpkg -L libhdf4-0 | grep -o lib[^/]*so | sort | uniq | paste -s -d, # libdf.so,libmfhdf.so
14:02 sivoais but there are also other packages (libhdf4-0-alt) which install other libraries
14:02 sivoais dpkg -L libhdf4-0-alt | grep -o lib[^/]*so | sort | uniq | paste -s -d, # libdfalt.so,libmfhdfalt.so
14:04 * sivoais hasn't ever used HDF, but would like to
14:05 sivoais it seems like a much better model than my folder of files. Biomedical imaging is pretty messy when it comes to file formats. Lots of ah-hoc solutions
14:14 plicease I think the base alien_check_installed_version only works with pkg-config atm
14:16 plicease well you can specify an alternate command with alien_version_check, but overriding alien_check_installed_version is the only way to do it in Perl
14:20 sivoais once I take a whack at that, I'll try to abstract it since the same will be needed for the rest of PDLs native deps
14:22 jberger IIRC I did intend for alien_check_installed_version to be overridable
14:22 jberger because again, we are limited by Module::Build serialization between build phases (ie no subrefs in configuration)
14:31 plicease right.  It is actually documented now with a suggestion to override it.
20:19 jberger joined #native

| Channels | #native index | Today | | Search | Google Search | Plain-Text | summary