Archive for January, 2013

fixpath-1.0.0

January 25, 2013

For all supported OS X.  This contains the path-fixing script that I mentioned earlier.

The source is at https://github.com/akhansen/fixpath

gracegtk-0.7.0

January 23, 2013

For all supported OS X.

xcircuit-3.7.48 and xcircuit-3.8.36

January 23, 2013

Those would be xcircuit, and xcircuit-testing, respectively.

nco-4.2.4

January 23, 2013

I still don’t know why upstream says OS X “doesn’t do shared libraries”.

udunits-2.1.24

January 23, 2013

AKA udunits2.

LyX-2.0.5.1

January 23, 2013

(i.e lyx2-x11 and lyx2-mac). 

xcircuit-3.8.34

January 23, 2013

AKA xcircuit-testing.

Octave Forge statistics-1.2.0

January 23, 2013

For Octave-3.6.1 and later.

Path modifier script

January 2, 2013

I just discovered that XQuartz on Mountain Lion does some annoying things to my PATH, changing:

/sw/lib/perl5/ExtUtils:/sw/bin:/sw/sbin:
/usr/bin:/bin:/usr/sbin:/sbin:
/usr/local/bin:
/opt/X11/bin:/Users/hansen/bin

in a Terminal window to

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:
/opt/X11/bin:
/sw/lib/perl5/ExtUtils:/sw/bin:/sw/sbin:
/usr/X11R6/bin:
/Users/hansen/bin:/Users/hansen/bin:
/opt/X11/bin

in an xterm.

The duplicate entries aren’t so bad, but moving the system directories in front of Fink’s is annoying.  Running pathsetup.sh again doesn’t change this, unfortunately.  I came up with a script which lets me reorder the PATH by blocks and remove via a pattern match any items I don’t want.  As an afterthought, it removes duplicates, too.  By running

export PATH=`pathformat.pl --delete=X11R6`

I am able to restore the PATH settings to the xterm that I have in my Terminal window. The pathformat.pl script follows:

#!/usr/bin/env perl -w

# Read in the PATH environment variable and
# 1) Strip out duplicate entries
# 2) Delete entries matching a pattern given by instances of the --delete flag
# 3) Put the entries in the order Fink, system, user.
# This could certainly be extended.

use strict;
use List::MoreUtils qw { uniq };
use Getopt::Long;

my @delete_vals;
my $result=GetOptions ("delete=s" => \@delete_vals);

my (@finkpath, @userpath, @generalpath);

ENTRY: foreach my $entry (uniq (split /:/, $ENV{"PATH"})) {
     foreach (@delete_vals) {
          next ENTRY if $entry =~ /$_/;
     }
     if ($entry =~ m|^/sw|) {
          push @finkpath, ($entry);
     } elsif ($entry =~ m/$ENV{"HOME"}/) {
          push @userpath, ($entry);
     } else {
          push @generalpath, ($entry);
    }
}
print join(':', @finkpath, @generalpath, @userpath),"\n";

Update to Maxima-5.29.1

January 2, 2013

Revision 2 (maxima-5.29.2) is built against SBCL-1.1.3 (sbcl-113-maxima), except on powerpc, which is continues to use SBCL-1.0.58.  This update affects the maxima, xmaxima, and xmaxima-x11 packages.