"Fossies" - the Fresh Open Source Software Archive

Member "Tk-804.036/README.os2" (15 Nov 2013, 2231 Bytes) of package /linux/misc/Tk-804.036.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 There are 3 different ways to compile Tk under OS/2: for XFree86, for Open32
    2 (this is IBM's porting level above Win32), and for PM.
    3 
    4 To compile for Open32 and PM you need additional files, available in
    5 $CPAN/ports/os2/tk/.  To be safe, download all of them, and unzip the files
    6 with patches to be ready to apply.  If you work with a release of Tk later
    7 than 402.001, some of the patches may be already applied, so use your
    8 best judgement.
    9 
   10 !!! You do not need to apply patches to .../os2/* files, they are
   11 already applied !!!  Just ignore the patches not mentioned below.  (You
   12 may want to apply one of them in reverse (-R to gnupatch) to get a source for
   13 tcl/Tk.  Another one need to stay, it corrects bugs.)
   14 
   15 A lot of problems are unresolved.  Please be patient.  All the Tk-ish
   16 problem in tcl/tk port PLUS unability to do fileevents are
   17 
   18 Building for PM
   19 ~~~~~~~~~~~~~~~
   20 a) Unzip both
   21 	perltk_os2_pm.zip
   22 	perltk_os2_common.zip
   23    inside the main Tk directory.
   24 b) Apply the patches in
   25 	diff_pTk_for_os2_402
   26 	diff_mTk_for_os2_402
   27    with
   28 	gnupatch -p1 < patch-file-name |& tee 00patch
   29    or
   30 	gnupatch -p1 < patch-file-name
   31 c) Do
   32 	perl Makefile.PM pm
   33 	make
   34 	addres
   35 	perl__ -Mblib basic_demo
   36 	perl__ -Mblib demos/widget
   37 	make install
   38 d) Do not forget you need to use perl__ to run PM programs instead of
   39    just perl!
   40 
   41 Building for Open32
   42 ~~~~~~~~~~~~~~~~~~~
   43 a) Unzip
   44 	perltk_os2_common.zip
   45    inside the main Tk directory.
   46 b) Apply the patches in
   47 	diff_pTk_for_os2_402
   48 	diff_mTk_for_os2_402
   49    with
   50 	gnupatch -p1 < patch-file-name |& tee 00patch
   51    or
   52 	gnupatch -p1 < patch-file-name
   53 c) Do
   54 	perl Makefile.PM open32
   55 	make
   56 	addres
   57 	perl__ -Mblib basic_demo
   58 	perl__ -Mblib demos/widget
   59 	make install
   60 d) Do not forget you need to use perl__ to run PM programs!
   61 
   62 Building for XFree86
   63 ~~~~~~~~~~~~~~~~~~~~
   64 a) Apply the patches in
   65 	diff_pTk_for_os2_402
   66 	diff_mTk_for_os2_402
   67    with
   68 	gnupatch -p1 < patch-file-name |& tee 00patch
   69    or
   70 	gnupatch -p1 < patch-file-name
   71 b) Do
   72 	perl Makefile.PM x
   73 	make
   74 	perl -Mblib basic_demo
   75 	perl -Mblib demos/widget
   76 	make install
   77 
   78 Authors:
   79 ~~~~~~~
   80 
   81 PM code for tcl/Tk:
   82 	Illya Vaes, ivaes@hr.ns.nl
   83 Port to Open32, XFree86-OS/2, adaptation of PM code to Perl/Tk:
   84 	Ilya Zakharevich, ilya@math.ohio-state.edu