Sébastien Villemot wrote:
> Le samedi 08 mars 2014 à 12:18 +0000, Ghislain Vaillant a écrit :
>> I am currently working on packaging a scientific project for which
>> MATLAB wrappers are available. I was wondering where these should be
>> installed in the file system tree and whether there were particular
>> things to be careful with. I am talking about pure MATLAB files for
>> now, i.e. only files with .m extension, no mex files.
> 
> The first thing to figure out is whether your .m files run under GNU
> Octave (which is likely, but needs to be verified). If not, the .m files
> cannot be put in the main section of Debian since they depend on nonfree
> software, and should rather go in the contrib section.

I would disagree with this interpretation. We have lots of things in the 
archive that are designed to interoperate with non-free software. 

- packages provide files in /usr/share/doc/$package/examples that require 
things not in Debian
- packages provide interfaces to read files that might not be able to be 
generated by anything in Debian
- we include software that interfaces with non-free services

Now if matlab were required for operation of this package, then it's heading 
towards contrib rather than main. But just because the .m files are not 
useful to people without matlab, they are useful as examples to people who 
do have matlab and there's no reason to deprive those users of useful files. 
We shouldn't pretend that the examples are universally useful though and a 
README to that effect would be appropriate.

Of course if they just worked with octave, then that would be even better.

cheers
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/         stu...@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7




-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/lfkbvc$41v$1...@ger.gmane.org

Reply via email to