diff options
| author | Kenichi Handa | 2010-05-19 10:10:29 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-05-19 10:10:29 +0900 |
| commit | 134d1bcded02e066727ece838f14ffc767f76419 (patch) | |
| tree | 2187c2ac9748400146394bdaefd59f314598685d /admin | |
| parent | 2833d9158d6315b59415173df5d47515faac5310 (diff) | |
| parent | 1fc0ce04bc651fe8adbe822515e4ea7a4e904249 (diff) | |
| download | emacs-134d1bcded02e066727ece838f14ffc767f76419.tar.gz emacs-134d1bcded02e066727ece838f14ffc767f76419.zip | |
merge trunk
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/CPP-DEFINES | 3 | ||||
| -rw-r--r-- | admin/ChangeLog | 10 | ||||
| -rw-r--r-- | admin/admin.el | 8 | ||||
| -rw-r--r-- | admin/make-tarball.txt | 2 | ||||
| -rw-r--r-- | admin/notes/bzr | 40 | ||||
| -rwxr-xr-x | admin/quick-install-emacs | 2 |
6 files changed, 59 insertions, 6 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 1f42eeb9528..cffbcf95e80 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -22,6 +22,9 @@ NS_IMPL_GNUSTEP Compile support for GNUstep implementation of NS GUI API. | |||
| 22 | NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. | 22 | NS_IMPL_COCOA Compile support for Cocoa (Apple) implementation of NS GUI API. |
| 23 | HAVE_X11 Compile support for the X11 GUI. | 23 | HAVE_X11 Compile support for the X11 GUI. |
| 24 | HAVE_X_WINDOWS Compile support for X Window system | 24 | HAVE_X_WINDOWS Compile support for X Window system |
| 25 | (It looks like, nowadays, if HAVE_X11 is set, HAVE_X_WINDOWS must | ||
| 26 | be, and vice versa. At least, this is true for configure, and | ||
| 27 | msdos; not sure about nt.) | ||
| 25 | USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11. | 28 | USE_LUCID Use the Lucid toolkit for menus&scrollbars. Requires HAVE_X11. |
| 26 | USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11. | 29 | USE_MOTIF Use the Motif toolkit for menus&scrollbars. Requires HAVE_X11. |
| 27 | USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11. | 30 | USE_GTK Use the Gtk toolkit for menus&scrollbars. Requires HAVE_X11. |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 9ffdcd47d40..54be4a7fec3 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2010-05-15 Ken Raeburn <raeburn@raeburn.org> | ||
| 2 | |||
| 3 | * admin.el (set-version, set-copyright): Update emacs.c instead of | ||
| 4 | version.el. | ||
| 5 | |||
| 6 | * make-tarball.txt: Update filename list in step 6. | ||
| 7 | |||
| 8 | * quick-install-emacs: Scan emacs.c instead of version.el for | ||
| 9 | version string. | ||
| 10 | |||
| 1 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> | 11 | 2010-05-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 12 | ||
| 3 | * Version 23.2 released. | 13 | * Version 23.2 released. |
diff --git a/admin/admin.el b/admin/admin.el index 984f3649b2c..f2cf008f475 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -60,8 +60,8 @@ Root must be the root of an Emacs source tree." | |||
| 60 | (interactive "DEmacs root directory: \nsVersion number: ") | 60 | (interactive "DEmacs root directory: \nsVersion number: ") |
| 61 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) | 61 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) |
| 62 | (error "%s doesn't seem to be the root of an Emacs source tree" root)) | 62 | (error "%s doesn't seem to be the root of an Emacs source tree" root)) |
| 63 | (set-version-in-file root "lisp/version.el" version | 63 | (set-version-in-file root "src/emacs.c" version |
| 64 | (rx (and "emacs-version" (0+ space) | 64 | (rx (and "emacs_version" (0+ (not (in ?\"))) |
| 65 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) | 65 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) |
| 66 | (set-version-in-file root "README" version | 66 | (set-version-in-file root "README" version |
| 67 | (rx (and "version" (1+ space) | 67 | (rx (and "version" (1+ space) |
| @@ -184,8 +184,8 @@ Root must be the root of an Emacs source tree." | |||
| 184 | (format-time-string "%Y"))))) | 184 | (format-time-string "%Y"))))) |
| 185 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) | 185 | (unless (file-exists-p (expand-file-name "src/emacs.c" root)) |
| 186 | (error "%s doesn't seem to be the root of an Emacs source tree" root)) | 186 | (error "%s doesn't seem to be the root of an Emacs source tree" root)) |
| 187 | (set-version-in-file root "lisp/version.el" copyright | 187 | (set-version-in-file root "src/emacs.c" copyright |
| 188 | (rx (and "emacs-copyright" (0+ space) | 188 | (rx (and "emacs_copyright" (0+ (not (in ?\"))) |
| 189 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) | 189 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) |
| 190 | (set-version-in-file root "lib-src/ebrowse.c" copyright | 190 | (set-version-in-file root "lib-src/ebrowse.c" copyright |
| 191 | (rx (and "emacs_copyright" (0+ (not (in ?\"))) | 191 | (rx (and "emacs_copyright" (0+ (not (in ?\"))) |
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt index 9979aa03ca6..f685dd5e50f 100644 --- a/admin/make-tarball.txt +++ b/admin/make-tarball.txt | |||
| @@ -31,7 +31,7 @@ For each step, check for possible errors. | |||
| 31 | make bootstrap | 31 | make bootstrap |
| 32 | 32 | ||
| 33 | 6. Commit configure, README, doc/emacs/emacs.texi, | 33 | 6. Commit configure, README, doc/emacs/emacs.texi, |
| 34 | doc/lispref/elisp.texi, etc/AUTHORS, lisp/version.el, nt/emacs.rc, | 34 | doc/lispref/elisp.texi, etc/AUTHORS, src/emacs.c, nt/emacs.rc, |
| 35 | and lisp/cus-edit.el (if modified). Copy lisp/loaddefs.el to | 35 | and lisp/cus-edit.el (if modified). Copy lisp/loaddefs.el to |
| 36 | lisp/ldefs-boot.el and commit lisp/ldefs-boot.el. For a release, | 36 | lisp/ldefs-boot.el and commit lisp/ldefs-boot.el. For a release, |
| 37 | also commit the ChangeLog files in all directories. | 37 | also commit the ChangeLog files in all directories. |
diff --git a/admin/notes/bzr b/admin/notes/bzr new file mode 100644 index 00000000000..c66cdd98a3c --- /dev/null +++ b/admin/notes/bzr | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | NOTES ON COMMITTING TO EMACS'S BAZAAR REPO -*- outline -*- | ||
| 2 | |||
| 3 | * Install changes only on one branch, let them get merged elsewhere if needed. | ||
| 4 | In particular, install bug-fixes only on the release branch (if there | ||
| 5 | is one) and let them get synced to the trunk; do not install them by | ||
| 6 | hand on the trunk as well. E.g. if there is an active "emacs-23" branch | ||
| 7 | and you have a bug-fix appropriate for the next Emacs-23.x release, | ||
| 8 | install it only on the emacs-23 branch, not on the trunk as well. | ||
| 9 | |||
| 10 | Installing things manually into more than one branch makes merges more | ||
| 11 | difficult. | ||
| 12 | |||
| 13 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01124.html | ||
| 14 | |||
| 15 | * Backporting a bug-fix from the trunk to a branch (e.g. "emacs-23"). | ||
| 16 | Label the commit as a backport, e.g. by starting the commit message with | ||
| 17 | "Backport:". This is helpful for the person merging the release branch | ||
| 18 | to the trunk. | ||
| 19 | |||
| 20 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html | ||
| 21 | |||
| 22 | * Installing changes from your personal branches. | ||
| 23 | If your branch has only a single commit, or many different real | ||
| 24 | commits, it is fine to do a merge. If your branch has only a very | ||
| 25 | small number of "real" commits, but several "merge from trunks", it is | ||
| 26 | preferred that you take your branch's diff, apply it to the trunk, and | ||
| 27 | commit directly, not merge. This keeps the history cleaner. | ||
| 28 | |||
| 29 | In general, when working on some feature in a separate branch, it is | ||
| 30 | preferable not to merge from trunk until you are done with the | ||
| 31 | feature. Unless you really need some change that was done on the | ||
| 32 | trunk while you were developing on the branch, you don't really need | ||
| 33 | those merges; just merge once, when you are done with the feature, and | ||
| 34 | Bazaar will take care of the rest. Bazaar is much better in this than | ||
| 35 | CVS, so interim merges are unnecessary. | ||
| 36 | |||
| 37 | Or use shelves; or rebase; or do something else. See the thread for | ||
| 38 | yet another fun excursion into the exciting world of version control. | ||
| 39 | |||
| 40 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html | ||
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index b912ed4e3ff..d603d8fd0d6 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs | |||
| @@ -171,7 +171,7 @@ test x"$SRC" = x && { SRC="`get_config_var srcdir`" || exit 4 ; } | |||
| 171 | test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; } | 171 | test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; } |
| 172 | test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } | 172 | test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } |
| 173 | 173 | ||
| 174 | VERSION=`grep 'defconst[ ]*emacs-version' $SRC/lisp/version.el \ | 174 | VERSION=`grep 'char emacs_version' $SRC/src/emacs.c \ |
| 175 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 175 | | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
| 176 | 176 | ||
| 177 | DST_SHARE="$prefix/share/emacs/$VERSION" | 177 | DST_SHARE="$prefix/share/emacs/$VERSION" |