Added REXX script to convert backend-DLL-filenames according to 8.3 naming

convention necessary for DLLs on OS/2 (from Franz Bakan).
merge-requests/1/head
Henning Geinitz 2004-06-05 09:48:45 +00:00
rodzic 7751b3b7eb
commit d8e99b6142
3 zmienionych plików z 51 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,15 @@
2004-06-05 Henning Meier-Geinitz <henning@meier-geinitz.de>
* tools/README tools/RenSaneDlls.cmd: Added REXX script to convert
backend-DLL-filenames according to 8.3 naming convention
necessary for DLLs on OS/2 (from Franz Bakan).
2004-06-02 Henning Meier-Geinitz <henning@meier-geinitz.de>
* backend/net.c doc/sane-net.man doc/saned.man frontend/saned.c:
Changed service name from "sane" to "sane-port". This is the
IANA registered service name for port 6566 (bug #300758).
2004-06-02 Oliver Schirrmeister <oschirr@abm.de>
* fujitsu.c

Wyświetl plik

@ -1,4 +1,4 @@
2004-02-28
2004-06-05
This directory contains various tools that may be useful:
@ -29,9 +29,12 @@ This directory contains various tools that may be useful:
1600P and 2000P, without using the backend. So that
scanner protocol can be tested directly.
gamma4scanimage: creates a gamma table in the format expected by scanimage.
gamma4scanimage: Creates a gamma table in the format expected by scanimage.
You can define a gamma value, shadow and highlight.
Take a look at manual page gamma4scanimage for further information.
Take a look at manual page gamma4scanimage for further information.
RenSaneDlls.cmd: Convert backend-DLL-filenames according to 8.3 naming
convention necessary for DLLs on OS/2.
Maybe useful for SANE developers:

Wyświetl plik

@ -0,0 +1,33 @@
/* REXX */
/* Convert backend-DLL-filenames according to 8.3 naming convention */
/* necessary for DLLs on OS/2 (C) Franz Bakan 2004 */
/* */
/* This file is part of the SANE package. */
/* */
/* 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
CALL RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
CALL SysLoadFuncs
rc = SysFileTree('\usr\lib\sane\libsane-*.dll',dlls,O)
DO i=1 TO dlls.0
PARSE VALUE dlls.i WITH front 'libsane-' backend '.dll'
IF length(backend) > 8 THEN
COPY dlls.i front||LEFT(backend,2)||RIGHT(backend,6,' ')||'.dll'
ELSE
IF length(backend) > 0 THEN COPY dlls.i front||backend||'.dll'
DEL dlls.i
END /* do */