[sane-devel] OS/2 specific patch for sane-backends/backend/dll.c

Franz Bakan Franz Bakan" <fbakan@gmx.net
Sat, 29 May 2004 00:12:58 +0200 (CEST)


--_=_=_=IMA.BOUNDARY.HYGJPM138764=_=_=_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

On Mon, 24 May 2004 21:15:24 +0200, Henning Meier-Geinitz wrote:

...
>And now please show us a patch that automatically creates these names
>in backend/Makefile :-) That's probably more complicated. But with
>some Makefile or sed magic it should be possible.

OK, here a not so complicated solution to keep things simple...
I'm not firm in 'sed magic' so I used REXX which is included in OS/2 
Attached a script that changes the names of the dlls.
It has to be executed after/from 'make install' on OS/2.

What do you think? Could this script be added to
sane-backends/
or 
sane-backends/backend/

Tschau,
Franz


--_=_=_=IMA.BOUNDARY.HYGJPM138764=_=_=_
Content-Type: application/octet-stream; name="RenSaneDlls.cmd"
Content-Transfer-Encoding: base64

LyogUkVYWCAqLw0KLyogQ29udmVydCBiYWNrZW5kLURMTC1maWxlbmFtZXMgYWNjb3JkaW5nIHRv
IDguMyBuYW1pbmcgY29udmVudGlvbiAqLw0KLyogbmVjZXNzYXJ5IGZvciBETExzIG9uIE9TLzIg
ICAgICAgICAgICAgICAgIChDKSBGcmFueiBCYWthbiAgMjAwNCAqLw0KLyogVGhpcyBSRVhYIHNj
cmlwdCBpcyBmcmVlIHNvZnR3YXJlOyBGcmFueiBCYWthbiBnaXZlcyB1bmxpbWl0ZWQgICAqLw0K
LyogcGVybWlzc2lvbiB0byBjb3B5LCBkaXN0cmlidXRlIGFuZCBtb2RpZnkgaXQuICAgICAgICAg
ICAgICAgICAgICAqLw0KDQpDQUxMIFJ4RnVuY0FkZCAnU3lzTG9hZEZ1bmNzJywgJ1JleHhVdGls
JywgJ1N5c0xvYWRGdW5jcycNCkNBTEwgU3lzTG9hZEZ1bmNzDQoNCnJjID0gU3lzRmlsZVRyZWUo
J1x1c3JcbGliXHNhbmVcbGlic2FuZS0qLmRsbCcsZGxscyxPKQ0KRE8gaT0xIFRPIGRsbHMuMA0K
ICBQQVJTRSBWQUxVRSBkbGxzLmkgV0lUSCBmcm9udCAnbGlic2FuZS0nIGJhY2tlbmQgJy5kbGwn
DQogIElGIGxlbmd0aChiYWNrZW5kKSA+IDggVEhFTg0KICAgIENPUFkgZGxscy5pIGZyb250fHxM
RUZUKGJhY2tlbmQsMil8fFJJR0hUKGJhY2tlbmQsNiwnICcpfHwnLmRsbCcNCiAgRUxTRQ0KICAg
ICBJRiBsZW5ndGgoYmFja2VuZCkgPiAwIFRIRU4gQ09QWSBkbGxzLmkgZnJvbnR8fGJhY2tlbmR8
fCcuZGxsJw0KICBERUwgZGxscy5pDQpFTkQgLyogZG8gKi8NCg==

--_=_=_=IMA.BOUNDARY.HYGJPM138764=_=_=_--