Opened 13 years ago

Last modified 13 years ago

#1 new enhancement

TAME-WPI and latest SANE

Reported by: Batchheizer Owned by: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: blocker Keywords:
Cc:

Description

I'm working on a Update of the outdated TAME-WPI (coming with eCS 2.1). I've send to the SANE-OS2-Group the following mail:

Hi! *Prologue:* Since a few years, I use TAME on my SCSI Microtek Phantom636. All works fine. In the installation of eCS 2.1 I choose the TAME-Package and found out, that there is much more to do for the user after the installation, than I suggested. See: http://bugs.ecomstation.nl/view.php?id=2996

*The problem:* Paul has done an up-to-date build of SANE in the last year. It works fine and has less files than the previous build. Thanks to Paul. This build is not integrated in the TAME-Build in eCS 2.1. Also ASPIROUT is missing (without no SCSI-Scanner works; requires changes in config.sys), NConvert is out of date, not all NLS-Files should be installed (WarpIn can detect USER-Language and select used NLS-Files -> see SearchPlus-WPI), not all components (FAXVIEW for example) should be installed by default, the help-files are mixed up and so on.

*My Plan:* I'm working on a new WPI. It has more packages and separates SANE from TAME (because users like for example Franz Bakan do not like TAME) and I removed FAXWORKS (never used it and found no dependencies to SANE/TAME). So a user can select only the files/components he wants. At the moment the WPI is designed to work with eCS 2 (2.1). So there are files and PACKAGEIDs like in the components installed with eCS (for example USBDOCK).

*My first attempt of the WIS (only PCK-Section)* <PCK INDEX=1

PACKAGEID="Paul Smedley\Sane\Base\1\0\22" REQUIRES="netlabs.org\kLIBC\LIBC 0.6 Runtime\0\6\3\0" TARGET="$(WARPIN_DEFAULTAPPSPATH)\SANE" TITLE="Sane base files 1.0.22" CONFIGSYS="SET SANE_CONFIG_DIR=$(1)\conf | UNIQUE" SELECT BASE LONGFILENAMES

CREATEOBJECT="WPFolder|SANE|<WP_DESKTOP>|ICONFILE=$(1)\eFolder1.ICO;ICONNFILE=1,$(1)\eFolder2.ICO;OBJECTID=<SANEFOLDER>;" CREATEOBJECT="WPProgram|Sane Find Scanner|<SANEFOLDER>|EXENAME=$(1)\sane-find-scanner.exe;NOAUTOCLOSE=YES;PROGTYPE=WINDOWABLEVIO;STARTUPDIR=;OBJECTID=<SANEFINDSCANNER>;" CREATEOBJECT="WPProgram|Scanimage|<SANEFOLDER>|EXENAME=$(1)\scanimage.exe;PROGTYPE=WINDOWABLEVIO;STARTUPDIR=;OBJECTID=<SCANIMAGE>;"

This package contains the Sane base files. Please select additional packages for USB and/or SCSI-support.</PCK>

<PCK INDEX=2

PACKAGEID="Paul Smedley\Sane\Network Daemon\1\0\22" REQUIRES=1 TARGET="$(1)\" FIXED TITLE="Sane Network Daemon 1.0.22" LONGFILENAMES

CREATEOBJECT="WPProgram|SANE Network Daemon|<SANEFOLDER>|EXENAME=$(1)\saned.exe;PROGTYPE=WINDOWABLEVIO;STARTUPDIR=;OBJECTID=<SANDED>;"

This package contains the Sane Network Daemon. It is only used for accessing a scanner via network.</PCK>

<PCK INDEX=3

PACKAGEID="Paul Smedley\Sane\Docs\1\0\22" REQUIRES=1 TARGET="$(1)\Docs" TITLE="Sane documentation 1.0.22" SELECT LONGFILENAMES

CREATEOBJECT="WPShadow|Docs|<SANEFOLDER>|SHADOWID=$(1)\SANE\Docs;"

This package contains the Sane documentation.</PCK>

<PCK INDEX=4

PACKAGEID="Netlabs\USBDOCK\USBRESMG\2006\09\20" TARGET="?:\ecs\boot" TITLE="USBRESMG.SYS" SELECT CONFIGSYS="DEVICE=$(3)\usbresmg.sys | UNIQUE(usbresmg.sys)" CONFIGSYS="device=usbscan.sys | REMOVELINE"

This package contains USBRESMG.SYS. It is required, if you use an USB-Scanner.</PCK>

<PCK INDEX=5

PACKAGEID="Netlabs\USBDOCK\USBCALLS\2006\09\20" TARGET="?:\ecs\dll" TITLE="USBCALLS.DLL" SELECT

This package contains USBCALLS.DLL. It is required, if you use an USB-Scanner.</PCK>

<PCK INDEX=6

PACKAGEID="Paul Ratcliffe\ASPI Router\Base\1\1\0\10" TARGET="?:\ecs\boot" CONFIGSYS="DEVICE=$(5)\ASPIROUT.SYS | UNIQUE(ASPIROUT.SYS)" CONFIGSYS="BASEDEV=OS2ASPI.DMD /ALL | UNIQUE(OS2ASPI.DMD)" TITLE="ASPI Router 1.1beta10" SELECT

This package contains ASPIROUT.SYS. It is required, if you use a SCSI-Scanner. It also adds "BASEDEV=OS2ASPI.DMD /ALL" to your CONFIG.SYS.</PCK>

<PCK INDEX=7

PACKAGEID="Paul Smedley\Tame\Base\1\0\5\1" TITLE="Tame base files 1.0.5" TARGET="$(1)\" FIXED LONGFILENAMES SELECT

CREATEOBJECT="WPFolder|Scripts|<SANEFOLDER>|OBJECTID=<TAME_2_SCRIPTS>;ALWAYSSORT=YES;" CREATEOBJECT="WPFolder|Images|<SANEFOLDER>|OBJECTID=<TAME_2_IMAGES>;ALWAYSSORT=YES;"

EXECUTE="tameini.cmd $(1)"

CREATEOBJECT="WPProgram|Tame|<SANEFOLDER>|EXENAME=$(1)\Tame.exe;ICONFILE=$(7)\Tame.ico;STARTUPDIR=$(7);OBJECTID=<TAME_2_PROG>;"

This package contains the Tame-Frontend for SANE.</PCK>

</HEAD>

<PCK INDEX=8

PACKAGEID="Paul Smedley\Tame\Base\1\0\5\1" TITLE="Tame v1.05 - English Manual" TARGET="$(1)\" FIXED LONGFILENAMES SELECT

CREATEOBJECT="WPProgram|Tame-Manual (English)|<SANEFOLDER>|EXENAME=VIEW.EXE;PARAMETERS=$(8)\English.inf;STARTUPDIR=$(8);OBJECTID=<TAME_2_HLPENG>;"

This package contains the English Manual for TAME.</PCK>

PCK INDEX=9

PACKAGEID="Paul Smedley\Tame\Base\1\0\5\1" TITLE="Tame v1.05 - French Manual" TARGET="$(1)\" FIXED LONGFILENAMES

CREATEOBJECT="WPProgram|Tame-Manual (French)|<SANEFOLDER>|EXENAME=VIEW.EXE;PARAMETERS=$(8)\French.inf;STARTUPDIR=$(8);OBJECTID=<TAME_2_HLPFR>;"

This package contains the French Manual for TAME.</PCK>

*Here the file-list for some packages*: 1 (SANEBASE): gamma4scanimage.exe sane-find-scanner.exe scanimage.exe eFolder1.ICO eFolder2.ICO conf (DIR) 2 (SANED): SANED.EXE 3 (SANEDOCS): Contend of DOCS from sane 4-6 only one file 7 (TAME): SCANNER.DAT drctl017.dll FastIni.dll Scanbmp.dll CROATIAN.INI DUTCH.INI ENGLISH.INI FRENCH.INI GERMAN.INI JAPANESE.INI RUSSIAN.INI SLOVENIA.INI SPANISH.INI SWEDISH.INI gamma_table.txt SKIN (DIR) TAME.EXE TAME.ICO 8-9 only one file

*My questions*

  1. Is there a file missing or not necessary in one of the Packages (esp. 1 and 7).
  2. Is the script OK? What must and what could be changed?
  3. Does TAME use Nconvert? or was it added for other programs or scripts?
  4. Do you think other packages should be added?

Any feedback is welcome.

Oliver

oliver.cremer@…

Change History (1)

comment:1 by Batchheizer, 13 years ago

My work goes on and I decided to make two WPIs. One for SANE and one for TAME. The reason: there are some people, who only user SANE, others use TWAIN2SANE or FEsane etc.

The TAME-WPI (only PCK/REXX) now looks:

<REXX NAME="GetDLLPath">
    rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs')
    rc = SysLoadFuncs()
    result = SysBootDrive()'\OS2\DLL'
    bestPath = SysBootDrive()'\ecs\dll'
    curDir = directory()
    if (directory(bestPath) \== '') then result = bestPath
    return result
</REXX>


<PCK INDEX=1
     PACKAGEID="Paul Smedley\Tame\Base\1\0\6\"
     REQUIRES="Paul Smedley\Sane\Base\1\0\0"
     REQUIRES="Pierre-e Gougelet\NConvert\Base\4\0\0\0"
     TITLE="Tame base files v1.0.6"
     TARGET="$(Paul Smedley\Sane\Base)"
     BASE
     FIXED
     LONGFILENAMES
     SELECT
     EXECUTE="tameini.cmd $(1)"
     DEEXECUTE="@del $(1)\TAME.INI /n"
     CREATEOBJECT="WPFolder|Scripts|<SANEFOLDER>|OBJECTID=<TAME_2_SCRIPTS>;ALWAYSSORT=YES;"
CREATEOBJECT="WPFolder|Images|<SANEFOLDER>|OBJECTID=<TAME_2_IMAGES>;ALWAYSSORT=YES;"
CREATEOBJECT="REPLACE WPProgram|Tame|<SANEFOLDER>|EXENAME=$(1)\Tame.exe;ICONFILE=$(1)\Tame.ico;STARTUPDIR=$(1);OBJECTID=<TAME_2_PROG>;"

     >This package contains the Tame-Frontend for SANE.</PCK>

<PCK INDEX=2
  PACKAGEID="Chris Wohlgemuth\DrCtlXXX\Library\0\1\7\1"
  TARGET="="GetDLLPath""
  TITLE="User control library for DrDialog"
  SELECT
>This Rexx DLL contains new controls for use with DrDialog (partly also for other REXX RAD systems)
</PCK>

<PCK INDEX=3
     PACKAGEID="Paul Smedley\Tame\Base\1\0\6\"
     TITLE="Tame v1.0.6 - English Manual"
     TARGET="$(1)"
     FIXED
     LONGFILENAMES
     SELECT
CREATEOBJECT="WPProgram|Tame-Manual
(English)|<SANEFOLDER>|EXENAME=VIEW.EXE;PARAMETERS=$(3)\English.inf;STARTUPDIR=$(3);OBJECTID=<TAME_2_HLPENG>;"
          >This package contains the English manual for TAME.</PCK>

<PCK INDEX=4
     PACKAGEID="Paul Smedley\Tame\Base\1\0\5\"
     TITLE="Tame v1.0.5 - French Manual"
     TARGET="$(1)"
     FIXED
     LONGFILENAMES
CREATEOBJECT="WPProgram|Tame-Manual
(French)|<SANEFOLDER>|EXENAME=VIEW.EXE;PARAMETERS=$(4)\French.inf;STARTUPDIR=$(4);OBJECTID=<TAME_2_HLPFR>;"
          >This package contains the French manual for TAME.</PCK>
Note: See TracTickets for help on using tickets.