<https://sourceforge.net/p/oorexx/feature-requests/815/> includes a patch developed and tested on
Windows, catering for the Unix versions as well.
To create revisionless packages and have "rexx -v" not display the revision, one needs to supply a
new option when running cmake add the following definition in addition
-DUSE_REVISION=0
Note: the revision information is still in the package as ooRexx uses it
internally.
---
Here the produced filenames (with and without revision information):
ooRexx-5.1.0.windows.x86_64.exe
ooRexx-5.1.0-12616.windows.x86_64.exe
ooRexx-5.1.0.windows.x86_64-portable-release-runtime.zip
ooRexx-5.1.0.windows.x86_64-portable-release.zip
ooRexx-5.1.0-12616.windows.x86_64-portable-release-runtime.zip
ooRexx-5.1.0-12616.windows.x86_64-portable-release.zip
Here the output for the revisionless versions:
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0.windows.x86_64-portable-release>rxenv
rexx -v
*Open Object Rexx Version 5.1.0*
Build date: Jan 6 2023
Addressing mode: 64
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2023 Rexx Language Association. All rights reserved.
This program and the accompanying materials are made available under the
terms
of the Common Public License v1.0 which accompanies this distribution or at
https://www.oorexx.org/license.html
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0.windows.x86_64-portable-release>rxenv
rexx testoorexx.rex
At : 2023-01-06T15:33:13.463000
source : WindowsNT COMMAND
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0.windows.x86_64-portable-release\testoorexx.rex
version : REXX-ooRexx_5.1.0(MT)_64-bit 6.05 6 Jan 2023
.RexxInfo:
1: ARCHITECTURE .....: 64
2: CASESENSITIVEFILES: 0
3: DATE .............: 6 Jan 2023
4: DEBUG ............: 0
5: DIGITS ...........: 9
6: DIRECTORYSEPARATOR: \
7: ENDOFLINE ........: "0D0A"x
8: EXECUTABLE .......:
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0.windows.x86_64-portable-release\bin\rexx.exe
9: FORM .............: SCIENTIFIC
10: FUZZ .............: 0
11: INTERNALDIGITS ...: 18
12: INTERNALMAXNUMBER : 999,999,999,999,999,999
13: INTERNALMINNUMBER : -999,999,999,999,999,999
14: LANGUAGELEVEL ....: 6.05
15: LIBRARYPATH ......:
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0.windows.x86_64-portable-release\bin
16: MAJORVERSION .....: 5
17: MAXARRAYSIZE .....: 100,000,000,000,000,000
18: MAXEXPONENT ......: 999,999,999
19: MAXPATHLENGTH ....: 259
20: MINEXPONENT ......: -999,999,999
21: MODIFICATION .....: 0
22: NAME .............: REXX-ooRexx_5.1.0(MT)_64-bit 6.05 6 Jan 2023
23: PACKAGE ..........: The REXX Package
24: PATHSEPARATOR ....: ;
25: PLATFORM .........: WindowsNT
26: RELEASE ..........: 1
27: REVISION .........: 12616
28: VERSION ..........: 5.1.0
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0.windows.x86_64-portable-release>
Here the output for the revision versions:
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0-12616.windows.x86_64-portable-release>rxenv
rexx -v
*Open Object Rexx Version 5.1.0 r12616*
Build date: Jan 6 2023
Addressing mode: 64
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2023 Rexx Language Association. All rights reserved.
This program and the accompanying materials are made available under the
terms
of the Common Public License v1.0 which accompanies this distribution or at
https://www.oorexx.org/license.html
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0-12616.windows.x86_64-portable-release>rxenv
rexx testoorexx.rex
At : 2023-01-06T15:36:00.534000
source : WindowsNT COMMAND
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0-12616.windows.x86_64-portable-release\testoorexx.rex
version : REXX-ooRexx_5.1.0(MT)_64-bit 6.05 6 Jan 2023
.RexxInfo:
1: ARCHITECTURE .....: 64
2: CASESENSITIVEFILES: 0
3: DATE .............: 6 Jan 2023
4: DEBUG ............: 0
5: DIGITS ...........: 9
6: DIRECTORYSEPARATOR: \
7: ENDOFLINE ........: "0D0A"x
8: EXECUTABLE .......:
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0-12616.windows.x86_64-portable-release\bin\rexx.exe
9: FORM .............: SCIENTIFIC
10: FUZZ .............: 0
11: INTERNALDIGITS ...: 18
12: INTERNALMAXNUMBER : 999,999,999,999,999,999
13: INTERNALMINNUMBER : -999,999,999,999,999,999
14: LANGUAGELEVEL ....: 6.05
15: LIBRARYPATH ......:
G:\oorexx.tmp\oorexxBuild\tmp\ooRexx-5.1.0-12616.windows.x86_64-portable-release\bin
16: MAJORVERSION .....: 5
17: MAXARRAYSIZE .....: 100,000,000,000,000,000
18: MAXEXPONENT ......: 999,999,999
19: MAXPATHLENGTH ....: 259
20: MINEXPONENT ......: -999,999,999
21: MODIFICATION .....: 0
22: NAME .............: REXX-ooRexx_5.1.0(MT)_64-bit 6.05 6 Jan 2023
23: PACKAGE ..........: The REXX Package
24: PATHSEPARATOR ....: ;
25: PLATFORM .........: WindowsNT
26: RELEASE ..........: 1
27: REVISION .........: 12616
28: VERSION ..........: 5.1.0
---rony
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel