home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-1.iso / CDROM / READMEs / Peanuts-2 / X11 / clients / network / Mosaic-NeXT.2.4a.README next >
Encoding:
Text File  |  1996-11-09  |  3.9 KB  |  135 lines

  1. Mosaic 2.4
  2. ==========
  3.  
  4. Version history:
  5.     Version 2.4a
  6.     Version 2.2a
  7.     Version 2.1c (16-bit color support)
  8.     Version 2.1b (WAIS support+fixed temp file bug)
  9.     Version 2.1a (plain vanilla)
  10. ====================
  11. This is a compilation of Mosaic 2.4 for NeXT m68 hardware. Thanks to
  12. Gary Ritchie for a couple of fixes, Brian Hobbs
  13. <brian@piglet.ny.shl.com> for figuring out the temp file hack, and the
  14. coXist folks for the fix to run in 16-bin.  This binary will run under
  15. Co-Xist; I am told that other configurations also work.
  16.  
  17. ---
  18. Hal.Varian@umich.edu    Hal Varian
  19. voice: 313-764-2364     Dept of Economics
  20. fax:   313-764-2364     Univ of Michigan
  21.                         Ann Arbor, MI 48109-1220
  22.  
  23.  
  24. ======================
  25. What has to be changed:
  26.  
  27. You have to change 3 files: the top level Makefile, src/mo-www.c and
  28. libwww2/HTFile.c.  For 16-bit color support you also need to change
  29. libhtmlw/HTMLimages.c.  Here are the diffs for the Mosaic 2.4 files
  30.  
  31. =========================================top level Makefile diffs
  32. Note: I have compiled in freeWAIS support.  Comment these lines out
  33. if you don't want WAIS support.  This is the diff with Makefile.sun.
  34.  
  35. diff Makefile ../Mosaic-2.4/Makefile.sun
  36. 17c17
  37. < #CC = gcc
  38. ---
  39. > CC = gcc
  40. 38c38
  41. < sysconfigflags = -DNEXT -DMOTIF1_2
  42. ---
  43. > sysconfigflags = 
  44. 41c41
  45. < #syslibs = -lPW -lsun -lmalloc
  46. ---
  47. > syslibs = -lPW -lsun -lmalloc
  48. 47c47
  49. < syslibs =  
  50. ---
  51. > syslibs =
  52. 68c68
  53. <  xinc = -I/usr/include/X11 -I/NextDeveloper/Headers/bsd/sys
  54. ---
  55. > # xinc = -I/usr/include/X11
  56. 81c81
  57. <  xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11
  58. ---
  59. > # xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11
  60. 113,119c113,119
  61. < #dtmmachtype = sun
  62. < #dtmdirs = libdtm libnet
  63. < #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
  64. < #dtmflags = -DHAVE_DTM -I.. -I../libnet
  65. < #hdfdir = /hdf/install/sun
  66. < #hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
  67. < #hdfflags = -DHAVE_HDF -I$(hdfdir)/include
  68. ---
  69. > dtmmachtype = sun
  70. > dtmdirs = libdtm libnet
  71. > dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
  72. > dtmflags = -DHAVE_DTM -I.. -I../libnet
  73. > hdfdir = /hdf/install/sun
  74. > hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
  75. > hdfflags = -DHAVE_HDF -I$(hdfdir)/include
  76. 137c137
  77. < waisroot =/Users/hal/Programming/freeWAIS-0.202
  78. ---
  79. > waisroot = /X11/marca/freeWAIS-0.1-sun
  80. =================================================src/mo-www.c diffs
  81. diff src/mo-www.c ../Mosaic-2.4/src/mo-www.c
  82. 63,65d62
  83. < /* HRV */
  84. < int tmp_file_iteration = 0;
  85. 766,768c763
  86. < /*  char *cwd = getcwd (NULL, 128); */
  87. < char blah[1024];   /* HRV change */
  88. < char *cwd = getwd (blah);
  89. ---
  90. >   char *cwd = getcwd (NULL, 128);
  91. 789,790c784
  92. <    free (cwd);
  93. ---
  94. >   
  95. 811,812c805,806
  96. < /*  char *tmp = (char *)malloc (sizeof (char) * L_tmpnam);
  97. <   tmpnam (tmp); */
  98. ---
  99. >   char *tmp = (char *)malloc (sizeof (char) * L_tmpnam);
  100. >   tmpnam (tmp);
  101. 814,818d807
  102. < char *tmp = (char *)malloc (sizeof (char) * MAXPATHLEN);
  103. <     sprintf(tmp, "/tmp/Mosaic_tmp_file.%d", tmp_file_iteration); 
  104. <     tmp_file_iteration++;
  105. 863c852
  106. < #if defined(ultrix) || defined(VMS) || defined(M4310) || defined(vax)
  107. ---
  108. > #if defined(ultrix) || defined(VMS) || defined(NeXT) || defined(M4310) || defined(vax)
  109. ===================================================libwww2/HTFile.c diffs
  110. diff libwww2/HTFile.c ../Mosaic-2.2/libwww2/HTFile.c40,44c40,44
  111. <  #define S_IRUSR 400
  112. <  #define S_IWUSR 200
  113. <  #define S_IXUSR 100
  114. <  #define S_IXGRP 010
  115. <  #define S_IXOTH 001
  116. ---
  117. > #define S_IRUSR 400
  118. > #define S_IWUSR 200
  119. > #define S_IXUSR 100
  120. > #define S_IXGRP 010
  121. > #define S_IXOTH 001
  122. ===================================================libhtmlw/HTMLimages.c
  123. diff HTMLimages.c HTMLimages.c~
  124. 366,371d365
  125. < #if defined(NeXT) && defined(m68k)
  126. <                         temp = (((img_info->reds[(int)*datap] >> 0)& 0xf000) |
  127. <                                  ((img_info->greens[(int)*datap] >> 4)& 0x0f00) |
  128. <                                  ((img_info->blues[(int)*datap] >> 8)& 0x00f0));
  129. < #else /* anything else */
  130.