Changeset 32043 for main/trunk

Show
Ignore:
Timestamp:
13.10.2017 19:53:08 (2 years ago)
Author:
ak19
Message:

More adjustments to mac README and bringing the linux README up to speed with Mac one.

Location:
main/trunk/release-kits/shared
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/linux/README

    r28712 r32043  
    22_________________________________ 
    33 
    4 1. You need 7za and 7zCon.sfx from the p7z-essentials folder to generate the self-extracting jre from the jre 
     41. You need 7za and 7zCon.sfx from the p7z-essentials folder to generate the self-extracting jre from the jre. Check in the bitness subfolder (32-bit or 64-bit) appropriate to the target bitness of your self-extracting binary. 
     5 
     6On a mac or linux, you need to compile these two binaries 7za and 7zCon.sfx up yourself by downloading the p7zip source code from online http://p7zip.sourceforge.net/. Compile the source code by first runnng "make" to build the 7za, then run "make sfx" to build the 7zCon.sfx binary. 
    57 
    682. Need the jre for your java version. 
    79Java 8 should be used for Expeditee. 
    8 The jre should be extracted into a folder named jre. Also, don't make it a tar file for Expeditee. (Greenstone expects the jre to be tarred up first.) 
     10The jre should be extracted into a folder named jre. Also, don't make it a tar file for Expeditee. But Greenstone expects the jre to be tarred up first. 
     11 
     12If the self-extracting jre_bin binary should run on a 64 bit machine, use the 64 bit 7za compiled up in the 64-bit subfolder (this will use the associated 64 bit 7zCon.sfx library in the same subfolder). For a 32 bit machine, use the 32 bit 7za in the 32-bit subfolder. 
    913 
    10143. Run: 
    11 ./p7z-essentials/7za a -sfx -mx=9 jre_bin[_x64] /path/to/your-jdk-version/jre 
     15./p7z-essentials/[32|64]-bit/7za a -sfx -mx=9 jre_bin[_x64] /path/to/your-jdk-version/jre[.tar] 
     16 
     17   e.g. for a 32 bit target, you'd run the following on a 32 bit LSB if creating the self-extracting binary for Expeditee: 
     18   ./p7z-essentials/32-bit/7za a -sfx -mx=9 jre_bin /path/to/your-jdk-version/jre 
     19 
     20   e.g. for a 64 bit target, you'd run the following on a 64 bit LSB, if creating the self-extracting binary for Greenstone: 
     21   ./p7z-essentials/64-bit/7za a -sfx -mx=9 jre_bin_x64 /path/to/your-jdk-version/jre.tar 
    1222 
    1323* -m0=lzma2 is already done automatically, setting the compression mode to lzma2. 
    14 * -mx=9 set its to ultra (compression? speed?) 
     24* -mx=9 set its (compression? speed?) to ultra 
    1525* the output file name expected by the release-kit is jre_bin for 32 bit linux, jre_bin_x64 for 64 bit linux 
    1626* -sfx indicates that it will generate a self-extracting binary out of the input file 
    1727* the "a" indicates it will add the files from the input folder (the /path/to/your-jdk-version/jre in this case) to the output file 
    1828 
     29 
     30For acquiring a JRE (for Macs) see the README in shared/mac. 
  • main/trunk/release-kits/shared/mac/README

    r32042 r32043  
    22_________________________________ 
    33 
    4 1. You need 7za and 7zCon.sfx from the p7z-essentials folder to generate the self-extracting jre from the jre 
     41. You need 7za and 7zCon.sfx from the p7z-essentials folder to generate the self-extracting jre from the jre. Check in the bitness subfolder (32-bit or 64-bit) appropriate to the target bitness of your self-extracting binary. 
    55 
    6 On a mac or linux, you need to compile these two binaries up yourself by downloading the p7zip source code from online http://p7zip.sourceforge.net/. Compile the source code by first runnng "make" to build the 7za, then run "make sfx" to build the 7zCon.sfx binary. 
     6On a mac or linux, you need to compile these two binaries 7za and 7zCon.sfx up yourself by downloading the p7zip source code from online http://p7zip.sourceforge.net/. Compile the source code by first runnng "make" to build the 7za, then run "make sfx" to build the 7zCon.sfx binary. 
    77 
    882. Need the jre for your java version. 
    99Java 8 should be used for Expeditee. 
    10 The jre should be extracted into a folder named jre. Also, don't make it a tar file for Expeditee. (Greenstone expects the jre to be tarred up first.) 
     10The jre should be extracted into a folder named jre. Also, don't make it a tar file for Expeditee. But Greenstone expects the jre to be tarred up first. 
    1111 
    1212If the self-extracting jre_bin binary should run on a 64 bit machine, use the 64 bit 7za compiled up in the 64-bit subfolder (this will use the associated 64 bit 7zCon.sfx library in the same subfolder). For a 32 bit machine, use the 32 bit 7za in the 32-bit subfolder. 
     
    1515./p7z-essentials/[32|64]-bit/7za a -sfx -mx=9 jre_bin[_x64] /path/to/your-jdk-version/jre[.tar] 
    1616 
     17   e.g. for a 32 bit target, you'd run the following on a 32 bit LSB if creating the self-extracting binary for Expeditee: 
     18   ./p7z-essentials/32-bit/7za a -sfx -mx=9 jre_bin /path/to/your-jdk-version/jre 
     19 
     20   e.g. for a 64 bit target, you'd run the following on a 64 bit LSB, if creating the self-extracting binary for Greenstone: 
     21   ./p7z-essentials/64-bit/7za a -sfx -mx=9 jre_bin_x64 /path/to/your-jdk-version/jre.tar 
     22 
    1723* -m0=lzma2 is already done automatically, setting the compression mode to lzma2. 
    18 * -mx=9 set its to ultra (compression? speed?) 
     24* -mx=9 set its (compression? speed?) to ultra 
    1925* the output file name expected by the release-kit is jre_bin for 32 bit linux, jre_bin_x64 for 64 bit linux 
    2026* -sfx indicates that it will generate a self-extracting binary out of the input file 
     
    30362. From the extracted contents, the folder you want is jre<version>.jre/Contents/Home. Rename this Home subfolder to "jre". 
    31373. Tar it up and create the self-extracting jre (the final step of the instructions above): 
    32     ./p7z-essentials/7za a -sfx -mx=9 jre_bin_x64 jre.tar 
     38    ./p7z-essentials/64-bit/7za a -sfx -mx=9 jre_bin_x64 jre.tar 
    3339 
    3440