|
|
[Section_A] mkisofs-md5-2.01-Usages --->
/* --------------------------------------------------------------------
Announcement: Written by Wwashington @ newsmth forum. 2011/03/20 18:00.
Please keep all information if you want to keep it, or redistribute it.
-------------------------------------------------------------------- */
01) The mkisofs with multi charsets and MD5, it's popular for years ago:
mkisofs 2.01-bootcd.ru (i686-pc-mingw32)
02) How to build ISO with -jcharset options, discover supported charset:
mkisofs -jcharset help
03) Some Bug Report of "mkisofs 2.01-bootcd.ru" cjk mingw win32 version:
3a) There is NO Joliet Volume Name even you input "-V VolumeID" in shell.
3b) For most mkisofs MinGW version, DOS Mode CJK Code hasn't been enable.
----------------------------------------------------------------------------
04) New versions of mkisofs with multi charsets and MD5, for Cygwin & MinGW.
The Cygwin build is more compatible with Linux, the Mingw32 build is smaller.
GNU Released by Joerg Schilling, Modified by Wwashington. With Great
Thanks To: Japan NOBORU(NLS-CJK Patch), Alex Kopylov(MD5-Opt Patch).
mkisofs 2.01-bootcd.ru-cjk-md5 (i686-pc-cygwin)
GNU Released by Joerg Schilling, Modified by Wwashington. With Great
Thanks To: Japan NOBORU(NLS-CJK Patch), Alex Kopylov(MD5-Opt Patch).
mkisofs 2.01-bootcd.ru-cjk-md5 (i686-pc-mingw32)
05) Some Test Scripts to show the problem when you make ISO image in Chinese.
You can use this Sample Data to test your mkisofs 2.01 whether it is working.
Important Message: -duplicates-once is MD5 Optimize, don't use -O option now.
-cjk4dos-filenames and -cjk4unx-filenames are new options to support Chinese.
Notes: cjk4dos and cjk4unx are force-mode to support multibyte charsets like
CJK Langs. If you can't make multibyte ISO, cjk4dos and cjk4unx are optional.
REM /* How to build ISO with Chinese Filenames: */
mkisofs -V "mydoc-测试" -r -J -jcharset cp936 -o mydoc1.iso mydoc
REM /* How to build ISO with MD5 Space Optimze: */
mkisofs -V "mydoc-测试" -r -J -duplicates-once -jcharset cp936 -o mydoc2.iso mydoc
REM /* How to build ISO Enabled DOS + Unix CJK: */
mkisofs -V "mydoc-测试" -r -J -duplicates-once -iso-level 1 -jcharset cp936 -cjk4dos-filenames -o mydoc3.iso mydoc
mkisofs -V "mydoc-测试" -r -J -duplicates-once -iso-level 4 -jcharset cp936 -cjk4unx-filenames -o mydoc4.iso mydoc
mkisofs -V "mydoc-测试" -r -J -duplicates-once -iso-level 1 -jcharset cp936 -cjk4dos-filenames -cjk4unx-filenames -o mydoc5.iso mydoc
------------------------------------------------------------------------------
[Section_B] mkisofs-md5-2.01-Readme --->
/* --------------------------------------------------------------------
Announcement: Written by Wwashington @ newsmth forum. 2011/03/20 20:00.
Please keep all information if you want to keep it, or redistribute it.
-------------------------------------------------------------------- */
01) Setup Cygwin Developing Environment.
Please download Cygwin-Easy-2007.03.21.iso , mount the ISO with Alcohol
or Virtual CloneDrive. It's the best All-in-One Cygwin Package I found.
02) Setup MSYS 1.0.11, 1.016. Mount Dir.
Fetch MSYS-MinGW-Gcc-3.45-4.45.7z from http://code.google.com/p/mkisofs
Then setup at least one system. They can work together, 1.0.16 is better.
cd "I:\Unix\MSYS\1.0.16"
mkdir /extra
cd "I:\Unix\MSYS\1.0.11"
mkdir /extra
mount "I:\Unix\MSYS\1.0.16\extra" /usr/local
03) Run Cygwin, create symbol links to your working folder iside the MSYS.
The reason why we choose /etc is that Virtual DVD-ROM is unable to write.
ln -s "I:\Unix\MSYS\1.0.16\extra" /etc/extra
ln -s "I:\Unix\MSYS\1.0.11\extra" /etc/extrb
mount "I:\Unix\MSYS\1.0.16\extra" /usr/local
04) Compile Smake and P7zip Tools, they will help you Make and Decompress.
After compiling, you may copy Binaries and Cygwin1.dll to /usr/local/bin.
For your convienence, I already built them and put them in Cygwin Binary.
cd /etc/extra/src
tar -jxvf ../zlib/smake-1.2.1.tar.bz2
cd smake-1.2.1/
make
cd /etc/extra/src
tar -jxvf ../zlib/p7zip_9.20.1_src_all.tar.bz2
cd p7zip_9.20.1/
make
05) If you have original src, repack it. Otherwise the patch process will
fail. The "c" funtion vs "h" option in tar command can strip symbol link.
For your convienence, I already built it. You can try when you have time.
cd /etc/extra/src
rm -Rf cdrtools-2.01/
tar -zxvf ../zlib/cdrtools-2.01-origin.src.tar.gz
tar -zchf cdrtools-2.01-origin.src.tar.gz cdrtools-2.01
mv -f cdrtools-2.01-origin.src.tar.gz ../zlib
06) Now Start to Build the Binary in Cygwin. Good Luck & Have a Good Tea!
The nls patch and nls-2-md5 patch is working, but the program have small
bugs. The mkisofs program will generate "Rock Ridge" info without asking.
cd /etc/extra/src
rm -Rf cdrtools-2.01/
rm -Rf cdrtools-2.01.md5/
tar -zxvf ../zlib/cdrtools-2.01-origin.src.tar.gz
mv cdrtools-2.01 cdrtools-2.01.md5
cd cdrtools-2.01.md5/
zcat ../../zlib/noboru_nls_patch_20041227.txt.gz | patch -p1
cat ../../zlib/cdrtools-2.01.nls-2-md5.src.diff | patch -p1
smake
07) Now Start to Build the Binary in MinGW. Good Luck & Have a Good Tea!
The nls patch and nls-2-md5 patch is working, but the program have small
bugs. The mkisofs program will generate "Rock Ridge" info without asking.
echo "/* Usage Tip: Please Run tar in Cygwin, it's much safer for you */"
cd /etc/extra/src
rm -Rf cdrtools-2.01/
rm -Rf cdrtools-2.01.w32/
tar -zxvf ../zlib/cdrtools-2.01-origin.src.tar.gz
mv cdrtools-2.01 cdrtools-2.01.w32
cd cdrtools-2.01.w32/
zcat ../../zlib/noboru_nls_patch_20041227.txt.gz | patch -p1
cat ../../zlib/cdrtools-2.01.nls-2-md5.src.diff | patch -p1
echo "/* Change To: MSYS 1.0.16 + MinGW Gcc 3.4.5 Environment , Build */"
make
08) Find the Binaries you want, copy it to upper folder, that's well done.
Please run explorer in your Win32 Desktop, then copy & paste to anywhere.
find . | grep exe | grep -v fexec
ls -la `find . | grep mkisofs.exe`
`find . | grep mkisofs.exe` --version
cp -pf `find . | grep mkisofs.exe` ..
09) Original Patch process base on bootcd.ru Fix, without nls-2-md5 Patch.
I merge NLS-CJK & MD5-Opt Patch, then fix bugs, finally create new Patch.
cd /etc/extra/src
rm -Rf cdrtools-2.01/
rm -Rf cdrtools-2.01.nls/
tar -zxvf ../zlib/cdrtools-2.01-origin.src.tar.gz
mv cdrtools-2.01 cdrtools-2.01.nls
cd cdrtools-2.01.nls/
zcat ../../zlib/noboru_nls_patch_20041227.txt.gz | patch -p1
cd /etc/extra/src
rm -Rf cdrtools-2.01/
rm -Rf cdrtools-2.01.md5/
tar -zxvf ../zlib/cdrtools-2.01-origin.src.tar.gz
mv cdrtools-2.01 cdrtools-2.01.md5
cd cdrtools-2.01.md5/
zcat ../../zlib/noboru_nls_patch_20041227.txt.gz | patch -p1
cat ../../zlib/cdrtools-2.01-bootcd.ru-src.diff | patch -p1
cp -pf -R ../update/cdrtools-2.0.1/* .
find . | grep rej | xargs -i echo {}
find . | grep rej | xargs -i rm {}
find . | grep orig | xargs -i echo {}
find . | grep orig | xargs -i rm {}
cd /etc/extra/src
diff -rupN cdrtools-2.01.nls cdrtools-2.01.md5 > cdrtools-2.01.nls-2-md5.src.diff
10) Reference websites of all contributors for mkisofs-cjk-md5 version.
A) Japan NOBORU (Thanks for providing NLS-CJK Patch) -->
http://www.geocities.co.jp/SiliconValley/3657/mkisofs_patch/
B) Alex Kopylov (Thanks for providing MD5-Opt Patch) -->
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/win32/
C) Jacky Zhong (Wwashington, Author of mkisofs-cjk-md5) -->
http://code.google.com/p/mkisofs-md5/
http://sourceforge.net/projects/mkisofs-md5/
------------------------------------------------------------------------------
[Section_C] mkisofs-md5 Develop Kit --->
http://www.verycd.com/topics/2885338/
《Cygwin-Easy-2007光盘运行版和Cygwin-Release-2006光盘安装版》[光盘镜像]
http://www.verycd.com/topics/2885342/
《MinGW编译器2010版,包括MSYS、MinGW、Gcc的3.45和4.45版,绝对好用》[压缩包]
01) Cygwin-Easy-2007.03.21.iso
Cygwin-Easy-2007.03.21.iso (1.99 GB)
02) Cygwin-Release-20061108.iso
Cygwin-Release-20061108.iso (1.29 GB)
03) MSYS-MinGW-Gcc-3.45-4.45.7z
MSYS-MinGW-Gcc-3.45-4.45.7z (125.86 MB) |
|