Archive for July, 2012

splines-1.1.0 from Octave Forge

July 24, 2012

Good for Octave-3.6.0 and later.

Advertisements

Handy migrator script

July 19, 2012

Tired of manually migrating your Fink Perl/Python/Octave … modules to match the latest Fink version of Perl/Python/Octave?

Hate having to check whether all of your installed modules are also available for the new version?

Have we got a script for you!  (I like it, anyway):

#!/usr/bin/env perl
# Copyright (c) 2012 Alexander Hansen
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA.

use strict;
use Fink;
use Fink::SysState;
use Getopt::Long;
my ($lang,$old_vers,$new_vers);
my $options=GetOptions ( 'lang=s' => \$lang,
 'old=i' => \$old_vers,
 'new=i' => \$new_vers,
 );
my @supported_lang=qw (
 oct
 pm
 py
 rb
 r
 dummy
);
die "Usage:\n\nmodule-update.plx --lang=<oct|pm|py|rb|r> ".
"--old=<old value> --new=<new value>\n".
"\nExample:\n\tmodule-update.plx --lang=pm ".
"--old=5123 --new=5124\n" if !($lang && $old_vers && $new_vers);
foreach (@supported_lang) {
 last if $lang eq $_; 
} continue {
 die "$lang isn't a supported option.\n" if $_ eq 'dummy';
}
my $old_mod=$lang.$old_vers;
my $new_mod=$lang.$new_vers;
print "Converting $old_mod -> $new_mod\n";
my $state = Fink::SysState->new();
my @pkg_names = $state->list_packages();
# create list of installed matching packages
my @pkg_filtered;
foreach (@pkg_names) {
 if (m/$old_mod/) {
 push @pkg_filtered, ($_);
 } else {
 }
}
die "There are no currently installed $old_mod packages.\n" if !@pkg_filtered;
my @pkgs_to_update;
chomp(my @full_pkg_list=`fink listpackages`);
# check each of our filtered packages for a matching counterpart:
foreach (@pkg_filtered) {
 my $old_pkg=$_;
 s/$old_mod/$new_mod/;
 my $new_pkg=$_;
 next if $state->installed($new_pkg); # no need to install an already-installed package
 next if !grep(/$new_pkg/, @full_pkg_list); # Can't install a nonexistent package
 push @pkgs_to_update,($new_pkg);
}
print "Installing @pkgs_to_update\n.";
exec "fink install @pkgs_to_update";

ncarray-1.0.0 from Octave Forge

July 19, 2012

For Octave-3.4.3 and later.

 

gmsh-2.6.1

July 17, 2012

It looks like upstream fixed a problem that I wasn’t quite sure if I was fixing correctly.

symbolic-1.1.0 from Octave Forge

July 16, 2012

I apparently missed this update when it came out last November.

Good for Octave-3.2.4 and later.

fuzzy-logic-toolkit-0.4.0 from Octave Forge

July 16, 2012

Good for Octave-3.2.4 and later.

gmsh-2.6.0

July 3, 2012

I haven’t actually used this for anything, but it’s new. 🙂

Upstream builds an app bundle, and for this version I went ahead and made that happen as well as keeping a ‘gmsh‘ executable in %p/bin.

octcdf-1.1.15 from Octave Forge

July 3, 2012

For Octave-3.4.3 and later.

Upstream has introduced additional functions for better MATLAB compatibility.

LyX-2.0.4

July 3, 2012

Appears to be a relatively small change from 2.0.3.

control-2.3.52 from Octave Forge

July 2, 2012

For Octave-3.6.0 and later.  The -ref variant (using lapack341) now requires octave(360|361|362)-ref.