Re: RFC: readline6 package
Max Horn <[email protected]>
| Newsgroups | gmane.os.apple.fink.core |
|---|---|
| Message-ID | <[email protected]> |
Dear Alexander, thanks for the feedback; also thanks to Hanspeter, who also sent feedback. Before I reply, let me say that I put an updated version of the package on https://gist.github.com/2932949, so if you could test it once more, I'd be grateful (again, esp. on 10.5 and 10.7; and if somebody has a PowerPC system at hand... :) Am 15.06.2012 um 22:22 schrieb Alexander Hansen: > On 6/14/12 2:08 PM, Max Horn wrote: >> Hi there, >> >> so I just noticed our readline package is stuck at 5.2, and so I whipped up a readline6 package for the latest version, 6.2. You can download it from here: <https://gist.github.com/2932949>. >> >> I would like to put this into 10.4 and 10.7; at the same time, I'd update readline5 to properly conflict with readline6, too. However, I only tested this on 10.6 so far, so it would be good if people tested it on 10.5 and 10.7 (and perhaps 10.8... ;). There is some 10.5 specific code in there which I don't quite understand, so if somebody knows about that, please also take a look. >> >> If I get no complaints within a week or so, I'll commit; earlier if I get lots of substantial ACKs ;). >> >> >> Cheers, >> Max > > The 10.5-specific issue in readline5 was that upstream messed up the > shared libraries on that OS version through incorrect assumptions. > > It looks like readline6 (with those modifications) builds OK on 10.6, > though it shares a pecularity with readline5 that the unversioned dylibs > point to the fully versioned dylibs on 10.6+: > > lrwxr-xr-x root/admin 0 2012-06-15 12:57 > ./sw/lib/libhistory.dylib -> libhistory.6.2.dylib > lrwxr-xr-x root/admin 0 2012-06-15 12:57 > ./sw/lib/libreadline.dylib -> libreadline.6.2.dylib And this is how other packages do it, I think. > > but to the less-versioned dylibs on 10.5: > lrwxr-xr-x root/admin 0 2012-06-15 12:49 > ./sw/lib/libhistory.dylib -> libhistory.6.dylib > lrwxr-xr-x root/admin 0 2012-06-15 12:49 > ./sw/lib/libreadline.dylib -> libreadline.6.dylib And this is due to the 10.4/10.5 specific code in the .info file, I think -- the code for which I am not quite sure why it is there. My best guess is was added to stay compatible with some older, broken versions of readline5 -- but this is just a wild guess. If it was true, though, then it would make sense to remove this hack from readline6, as there are no legacy versions of the packages one needs to worry about... Does anybody know more about this weird 10.5 specific code in readline5? > > Those still point to the fully versioned dylibs, and in both cases the > install_name is the less-versioned dylib: This is also correct behavior. Thanks for tests! Cheers, Max ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ fink-core mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core