[Pkg-octave-devel] Bug#299502: (no subject)

Benoit Hamet Benoit Hamet <benoit.hamet@mist-technologies.com>, 299502@bugs.debian.org
Mon, 14 Mar 2005 15:48:15 +0100

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Package: matwrap
Subject: matwrap: stubs with dot in the name of one of their leading
directories implies no function name (at least octave stubs)
Version: 0.57-5
Severity: normal

*** Please type your report below this line ***

I'm used to put evry generated stuff (even .m) in a special directory
typically, something like : ".build-architecture"

But when calling matwrap with the .build-architecture/test/test.m for
example, the generated test_octave.cpp will get an empty
DEFUN_DLD(,,...) in this case.

This is "easily" corrected by changing the order of the stripping
process (first remove directory, then remove the . of extension
filename) in matwrap_octave.pl line 362 and 363 should be switched to
get the expected result.

I don't test it for tesla and matlab, but looking at them, they seems to
not get the same line (but I don't see the stripping of dirs in tesla
and the process seems different for matlab).

I can give a patch If you need it.

Thanks for your attention.


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-10-amd64-k8
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages matwrap depends on:
ii  perl                          5.8.4-6    Larry Wall's Practical

-- no debconf information

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org