aboutsummaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorKenichi Handa2004-04-16 12:51:06 +0000
committerKenichi Handa2004-04-16 12:51:06 +0000
commit6b61353c0a0320ee15bb6488149735381fed62ec (patch)
treee69adba60e504a5a37beb556ad70084de88a7aab /mac
parentdc6a28319312fe81f7a1015e363174022313f0bd (diff)
downloademacs-6b61353c0a0320ee15bb6488149735381fed62ec.tar.gz
emacs-6b61353c0a0320ee15bb6488149735381fed62ec.zip
Sync to HEAD
Diffstat (limited to 'mac')
-rw-r--r--mac/ChangeLog21
-rw-r--r--mac/INSTALL20
-rw-r--r--mac/inc/alloca.h3
-rw-r--r--mac/inc/config.h3
-rw-r--r--mac/inc/defs-cw6.h3
-rw-r--r--mac/inc/dirent.h3
-rw-r--r--mac/inc/epaths.h3
-rwxr-xr-xmac/inc/grp.h36
-rw-r--r--mac/inc/m-mac.h3
-rw-r--r--mac/inc/pwd.h3
-rw-r--r--mac/inc/s-mac.h3
-rw-r--r--mac/inc/sys/file.h3
-rw-r--r--mac/inc/sys/ioctl.h3
-rw-r--r--mac/inc/sys/param.h3
-rw-r--r--mac/inc/sys/stat.h3
-rw-r--r--mac/inc/sys/time.h3
-rw-r--r--mac/inc/sys/types.h3
-rw-r--r--mac/inc/termio.h3
-rw-r--r--mac/inc/utime.h3
-rw-r--r--mac/inc/utsname.h3
-rwxr-xr-xmac/make-package1
-rw-r--r--mac/makefile.MPW1
-rw-r--r--mac/src/Emacs.r6
-rw-r--r--mac/src/chdir.c3
24 files changed, 120 insertions, 19 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog
index 6e8bff007ea..aa6e9844fee 100644
--- a/mac/ChangeLog
+++ b/mac/ChangeLog
@@ -1,3 +1,22 @@
12004-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * src/Emacs.r: Update TOO_MUCH_RAM error message.
4
52003-11-22 Lars Hansen <larsh@math.ku.dk>
6
7 * inc/grp.h: Added.
8
92003-11-02 Andrew Choi <akochoi@shaw.ca>
10
11 * src/Emacs.r [!TARGET_API_MAC_CARBON]: Don't define hfdr resource.
12 * Emacs.app/Contents/Resources/Emacs.rsrc: Remove.
13
142003-10-31 Andrew Choi <akochoi@shaw.ca>
15
16 * INSTALL: Add Nozomu Ando's changes to instructions for
17 installing on X Window (that static libraries are no longer
18 necessary after his changes to src/unexmacosx.c).
19
12003-04-28 Andrew Choi <akochoi@shaw.ca> 202003-04-28 Andrew Choi <akochoi@shaw.ca>
2 21
3 * make-package: Allocate 5% extra space on disk image for 22 * make-package: Allocate 5% extra space on disk image for
@@ -619,3 +638,5 @@
619 Copyright (C) 2001 Free Software Foundation, Inc. 638 Copyright (C) 2001 Free Software Foundation, Inc.
620 Copying and distribution of this file, with or without modification, 639 Copying and distribution of this file, with or without modification,
621 are permitted provided the copyright notice and this notice are preserved. 640 are permitted provided the copyright notice and this notice are preserved.
641
642;;; arch-tag: c6fd43f7-0e50-4c0a-ac82-1c8a9e45a9bf
diff --git a/mac/INSTALL b/mac/INSTALL
index 1c44aa529f8..def7913f83a 100644
--- a/mac/INSTALL
+++ b/mac/INSTALL
@@ -1,6 +1,6 @@
1* BUILDING EMACS ON MAC OS 8/9 AND MAC OS X -*- outline -*- 1* BUILDING EMACS ON MAC OS 8/9 AND MAC OS X -*- outline -*-
2 2
3Copyright (c) 2001, 2002 Free Software Foundation, Inc. 3Copyright (c) 2001, 2002, 2004 Free Software Foundation, Inc.
4 4
5 Permission is granted to anyone to make or distribute verbatim 5 Permission is granted to anyone to make or distribute verbatim
6 copies of this document as received, in any medium, provided that 6 copies of this document as received, in any medium, provided that
@@ -58,16 +58,11 @@ must be typed to the shell to enable Emacs to locate its resources
58correctly. You may want to create a symlink or alias to this path to 58correctly. You may want to create a symlink or alias to this path to
59quickly access both the terminal and GUI versions. 59quickly access both the terminal and GUI versions.
60 60
61If you are building Emacs to run on Mac OS X and X Window, you need to 61If you are building Emacs to run on Mac OS X and X Window,
62create a directory containing statically-linked X libraries. 62instead of typing `./configure' above, type
63 63
64 sudo mkdir /usr/X11R6/libstatic 64 ./configure --without-carbon --with-x
65 cd /usr/X11R6/libstatic
66 sudo ln -s ../lib/lib*.a ../lib/X11 .
67 65
68Instead of typing `./configure' above, type
69
70 ./configure --without-carbon --with-x --x-libraries=/usr/X11R6/libstatic
71 66
72To use colors in a terminal, put the following lines in the file 67To use colors in a terminal, put the following lines in the file
73~/.termcap and log in again. 68~/.termcap and log in again.
@@ -159,11 +154,6 @@ options to user
159 $prefix/bin/emacs to reduce disk space. Note, this 154 $prefix/bin/emacs to reduce disk space. Note, this
160 option may removed in the future. 155 option may removed in the future.
161 156
162If you are intending to build a binary distribution for X windows, you
163will probably want to follow the directions above to create static
164X11R6 libraries and run the make-package script like this
165
166./make-package --with-x -C,--x-libraries=/usr/X11R6/libstatic
167 157
168For usage of other options, use the --help option. 158For usage of other options, use the --help option.
169 159
@@ -215,7 +205,7 @@ Emacs should build and run on a PowerMac running Mac OS 8.6 - 10.2.
215You will need around 100 MB of disk space for the source files and 205You will need around 100 MB of disk space for the source files and
216intermediate files. 206intermediate files.
217 207
218It will not run on machines running Mac OS 8/9 with more than 256 MB 208It will not run on machines running Mac OS 8/9 with more than 512 MB
219of physical or virtual memory. It does not have this restriction when 209of physical or virtual memory. It does not have this restriction when
220it is run under Mac OS X. But the usual 128MB buffer limit of a 210it is run under Mac OS X. But the usual 128MB buffer limit of a
22132-bit Emacs still exists. 21132-bit Emacs still exists.
diff --git a/mac/inc/alloca.h b/mac/inc/alloca.h
index f0b1e76fbf3..c216231eb46 100644
--- a/mac/inc/alloca.h
+++ b/mac/inc/alloca.h
@@ -27,3 +27,6 @@ void *__alloca(size_t size);
27#endif 27#endif
28 28
29#endif 29#endif
30
31/* arch-tag: 8d4114d1-633e-49e7-8f18-b5648f9c4511
32 (do not change this comment) */
diff --git a/mac/inc/config.h b/mac/inc/config.h
index beb8c0a6373..b7257f35f35 100644
--- a/mac/inc/config.h
+++ b/mac/inc/config.h
@@ -570,3 +570,6 @@ extern char *getenv ();
570/* #define GLYPH_DEBUG 1 */ 570/* #define GLYPH_DEBUG 1 */
571 571
572#define NO_RETURN /* nothing */ 572#define NO_RETURN /* nothing */
573
574/* arch-tag: 2596b649-b569-448e-8880-373d2a9909b7
575 (do not change this comment) */
diff --git a/mac/inc/defs-cw6.h b/mac/inc/defs-cw6.h
index e8d8abb8750..da8d442126e 100644
--- a/mac/inc/defs-cw6.h
+++ b/mac/inc/defs-cw6.h
@@ -24,3 +24,6 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24 24
25#define MAC_OS8 1 25#define MAC_OS8 1
26#define MAC_OS 1 26#define MAC_OS 1
27
28/* arch-tag: 4aa4fcea-3a95-433d-a7d6-b029afca17f1
29 (do not change this comment) */
diff --git a/mac/inc/dirent.h b/mac/inc/dirent.h
index 59b0c44cc41..5e1b3a66603 100644
--- a/mac/inc/dirent.h
+++ b/mac/inc/dirent.h
@@ -46,3 +46,6 @@ extern int closedir(DIR *);
46extern struct dirent *readdir(DIR *); 46extern struct dirent *readdir(DIR *);
47 47
48#endif /* _DIRENT_H */ 48#endif /* _DIRENT_H */
49
50/* arch-tag: ec3116df-70f9-4a4a-b6d0-1858aaa9ea22
51 (do not change this comment) */
diff --git a/mac/inc/epaths.h b/mac/inc/epaths.h
index 0ec9da70a2b..8c9bbd2f8ba 100644
--- a/mac/inc/epaths.h
+++ b/mac/inc/epaths.h
@@ -59,3 +59,6 @@ Boston, MA 02111-1307, USA. */
59 59
60/* Where Emacs should look for the application default file. */ 60/* Where Emacs should look for the application default file. */
61/* #define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S" */ 61/* #define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S" */
62
63/* arch-tag: 32e95134-dfe4-47be-be28-e8cbf78505b6
64 (do not change this comment) */
diff --git a/mac/inc/grp.h b/mac/inc/grp.h
new file mode 100755
index 00000000000..9c60d5ca2ce
--- /dev/null
+++ b/mac/inc/grp.h
@@ -0,0 +1,36 @@
1/* Replacement grp.h file for building GNU Emacs on the Macintosh.
2 Copyright (C) 2003 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21#ifndef _GRP_H
22#define _GRP_H
23
24#include <sys/types.h>
25
26/* Emacs uses only gr_name */
27struct group {
28 char *gr_name; /* group name */
29};
30
31struct group *getgrgid(gid_t);
32
33#endif /* _GRP_H */
34
35/* arch-tag: 3b1d3315-05d5-4c7a-8404-3754bb40020c
36 (do not change this comment) */
diff --git a/mac/inc/m-mac.h b/mac/inc/m-mac.h
index 9e257a3121b..f3f6f084b34 100644
--- a/mac/inc/m-mac.h
+++ b/mac/inc/m-mac.h
@@ -138,3 +138,6 @@ Boston, MA 02111-1307, USA. */
138extern int sign_extend_temp; 138extern int sign_extend_temp;
139#endif 139#endif
140#endif 140#endif
141
142/* arch-tag: 9e759031-ab7b-4c76-99d7-3ae94a98de38
143 (do not change this comment) */
diff --git a/mac/inc/pwd.h b/mac/inc/pwd.h
index dedc8091c45..b5eba307824 100644
--- a/mac/inc/pwd.h
+++ b/mac/inc/pwd.h
@@ -35,3 +35,6 @@ struct passwd *getpwuid(uid_t);
35struct passwd *getpwnam(const char *); 35struct passwd *getpwnam(const char *);
36 36
37#endif /* _PWD_H */ 37#endif /* _PWD_H */
38
39/* arch-tag: e169cad7-12ca-4660-a35e-36f80d5d345f
40 (do not change this comment) */
diff --git a/mac/inc/s-mac.h b/mac/inc/s-mac.h
index 35143ddf267..c187944ae6b 100644
--- a/mac/inc/s-mac.h
+++ b/mac/inc/s-mac.h
@@ -318,3 +318,6 @@ extern double atof (const char *);
318#define volatile 318#define volatile
319 319
320#define SYMS_SYSTEM syms_of_mac() 320#define SYMS_SYSTEM syms_of_mac()
321
322/* arch-tag: 6a941c4b-a419-4d25-80ac-9335053e58b2
323 (do not change this comment) */
diff --git a/mac/inc/sys/file.h b/mac/inc/sys/file.h
index b33f8aaa9cc..0566b63cd58 100644
--- a/mac/inc/sys/file.h
+++ b/mac/inc/sys/file.h
@@ -57,3 +57,6 @@ int pause(void);
57char *getwd(char *); 57char *getwd(char *);
58 58
59#endif /* _SYS_FILE_H */ 59#endif /* _SYS_FILE_H */
60
61/* arch-tag: c3a653d5-f228-4d62-a47c-0398015195de
62 (do not change this comment) */
diff --git a/mac/inc/sys/ioctl.h b/mac/inc/sys/ioctl.h
index ae1a76b7a0f..36a921f2a1e 100644
--- a/mac/inc/sys/ioctl.h
+++ b/mac/inc/sys/ioctl.h
@@ -29,3 +29,6 @@ int ioctl(int, int, void *);
29#define TCGETA 2 29#define TCGETA 2
30 30
31#endif /* _SYS_IOCTL_H */ 31#endif /* _SYS_IOCTL_H */
32
33/* arch-tag: fa0c3dda-dbe0-4a49-86c4-7516c83c3c8c
34 (do not change this comment) */
diff --git a/mac/inc/sys/param.h b/mac/inc/sys/param.h
index 247f3971a4c..a0e3c6d6f26 100644
--- a/mac/inc/sys/param.h
+++ b/mac/inc/sys/param.h
@@ -26,3 +26,6 @@ Boston, MA 02111-1307, USA. */
26#define MAXPATHLEN 255 26#define MAXPATHLEN 255
27 27
28#endif /* _SYS_PARAM_H */ 28#endif /* _SYS_PARAM_H */
29
30/* arch-tag: dceae288-b9cf-4a8f-a780-bca2cadf0c47
31 (do not change this comment) */
diff --git a/mac/inc/sys/stat.h b/mac/inc/sys/stat.h
index 0f9ee79dab1..b72385c1b4d 100644
--- a/mac/inc/sys/stat.h
+++ b/mac/inc/sys/stat.h
@@ -84,3 +84,6 @@ struct stat {
84#endif /* __MRC__ */ 84#endif /* __MRC__ */
85 85
86#endif /* _SYS_STAT_H */ 86#endif /* _SYS_STAT_H */
87
88/* arch-tag: b7da83f5-3d3f-4b19-9cd2-790dd87145e4
89 (do not change this comment) */
diff --git a/mac/inc/sys/time.h b/mac/inc/sys/time.h
index b9936e92075..b80135b7b5e 100644
--- a/mac/inc/sys/time.h
+++ b/mac/inc/sys/time.h
@@ -29,3 +29,6 @@ struct timeval {
29}; 29};
30 30
31#endif /* _SYS_TYPES_H */ 31#endif /* _SYS_TYPES_H */
32
33/* arch-tag: f85ed04d-0e99-4f97-892b-fe029d0e92f9
34 (do not change this comment) */
diff --git a/mac/inc/sys/types.h b/mac/inc/sys/types.h
index 9f358b2a4e8..0d647d16c9e 100644
--- a/mac/inc/sys/types.h
+++ b/mac/inc/sys/types.h
@@ -38,3 +38,6 @@ typedef unsigned long mode_t;
38#endif /* __MRC__ */ 38#endif /* __MRC__ */
39 39
40#endif /* _SYS_TYPES_H */ 40#endif /* _SYS_TYPES_H */
41
42/* arch-tag: d4b69a6a-b2ff-4be2-a152-a162af81d823
43 (do not change this comment) */
diff --git a/mac/inc/termio.h b/mac/inc/termio.h
index 7d423630c93..3996351a79a 100644
--- a/mac/inc/termio.h
+++ b/mac/inc/termio.h
@@ -66,3 +66,6 @@ struct termio {
66#define TCSETAF 5 66#define TCSETAF 5
67 67
68#endif /* _SYS_TERMIO_H */ 68#endif /* _SYS_TERMIO_H */
69
70/* arch-tag: 0e7a100d-2ac0-412e-9dc4-52e39ef43e14
71 (do not change this comment) */
diff --git a/mac/inc/utime.h b/mac/inc/utime.h
index 1a7f9253296..a6ce81af1ee 100644
--- a/mac/inc/utime.h
+++ b/mac/inc/utime.h
@@ -35,3 +35,6 @@ struct utimbuf {
35int utime(const char *path, const struct utimbuf *buf); 35int utime(const char *path, const struct utimbuf *buf);
36 36
37#endif 37#endif
38
39/* arch-tag: 52dc3f6b-6122-4568-8f09-a5a56de6a324
40 (do not change this comment) */
diff --git a/mac/inc/utsname.h b/mac/inc/utsname.h
index 0469fcf9eab..e1fe3217ea6 100644
--- a/mac/inc/utsname.h
+++ b/mac/inc/utsname.h
@@ -30,3 +30,6 @@ struct utsname {
30int uname(struct utsname *name); 30int uname(struct utsname *name);
31 31
32#endif 32#endif
33
34/* arch-tag: 8a013744-4d43-4084-8e2f-d3fb66c83160
35 (do not change this comment) */
diff --git a/mac/make-package b/mac/make-package
index b3911afa0da..d9186605386 100755
--- a/mac/make-package
+++ b/mac/make-package
@@ -425,4 +425,5 @@ rm ${builddir}/mac/EmacsRW.dmg
425echo "Cleaning up the staging directory" 425echo "Cleaning up the staging directory"
426rm -rf ${builddir}/mac/Emacs.pkg ${removable_build_dir} 426rm -rf ${builddir}/mac/Emacs.pkg ${removable_build_dir}
427 427
428# arch-tag: 1b631d0d-9fde-4f71-80c0-33e0e5815515
428### make-package ends here 429### make-package ends here
diff --git a/mac/makefile.MPW b/mac/makefile.MPW
index d170750679f..063e63e1759 100644
--- a/mac/makefile.MPW
+++ b/mac/makefile.MPW
@@ -1123,3 +1123,4 @@ Make-DocFile Ä {Make-DocFileDir}Make-DocFile
1123"{Source}chdir.c.x" Ä {Makefile} "{Source}chdir.c" 1123"{Source}chdir.c.x" Ä {Makefile} "{Source}chdir.c"
1124 {PPCC} "{Source}chdir.c" -o "{Source}chdir.c.x" {Make-DocFile-PPCCOptions} 1124 {PPCC} "{Source}chdir.c" -o "{Source}chdir.c.x" {Make-DocFile-PPCCOptions}
1125 1125
1126# arch-tag: c9d9bc1a-142f-41da-b75e-79e0c44ffbb4
diff --git a/mac/src/Emacs.r b/mac/src/Emacs.r
index 61630858730..1403a24721c 100644
--- a/mac/src/Emacs.r
+++ b/mac/src/Emacs.r
@@ -1,5 +1,5 @@
1/* Resource definitions for GNU Emacs on the Macintosh. 1/* Resource definitions for GNU Emacs on the Macintosh.
2 Copyright (C) 1999, 2000 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */
24#include "Types.r" 24#include "Types.r"
25/* added for finder icon balloon help --ben */ 25/* added for finder icon balloon help --ben */
26#include "Balloons.r" 26#include "Balloons.r"
27#endif
28 27
29/* Define to use gnu icon */ 28/* Define to use gnu icon */
30/* #define GNU_ICON 1 */ 29/* #define GNU_ICON 1 */
@@ -57,7 +56,6 @@ resource 'hfdr' (-5696) { /*help for emacs icon*/
57 } 56 }
58}; 57};
59 58
60#ifndef TARGET_API_MAC_CARBON
61/* added for finder icon balloon help --ben */ 59/* added for finder icon balloon help --ben */
62resource 'STR ' (128) { /*help message for emacs icon*/ 60resource 'STR ' (128) { /*help message for emacs icon*/
63 "GNU Emacs\0xd1the extensible, customizable, self-documenting real-time display editor." 61 "GNU Emacs\0xd1the extensible, customizable, self-documenting real-time display editor."
@@ -176,7 +174,7 @@ resource 'DITL' (129, purgeable) {
176 {10, 60, 72, 278}, 174 {10, 60, 72, 278},
177 StaticText { 175 StaticText {
178 disabled, 176 disabled,
179 "Emacs does not run on a Macintosh with more than 256 MB of physical or virtual memory" 177 "Emacs does not run on a Macintosh with more than 512 MB of physical or virtual memory"
180 } 178 }
181 } 179 }
182}; 180};
diff --git a/mac/src/chdir.c b/mac/src/chdir.c
index cfa77c8c44c..a982e941f98 100644
--- a/mac/src/chdir.c
+++ b/mac/src/chdir.c
@@ -41,3 +41,6 @@ int chdir(const char *path)
41 41
42 return error == noErr ? 0 : -1; 42 return error == noErr ? 0 : -1;
43} 43}
44
45/* arch-tag: f567b034-fd9e-43d1-94cb-9012375237d1
46 (do not change this comment) */