all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Missing info and man files in standalone Emacs.app (macosx)
@ 2007-01-27 11:37 Piet van Oostrum
  2007-01-30 17:11 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Piet van Oostrum @ 2007-01-27 11:37 UTC (permalink / raw)
  To: emacs-devel

I noticed that a stand-alone Emacs application in Mac OS X doesn't contain
the info and man pages. This is in emacs installed from the 22.0.92 and
22.0.93 pretest tarballs and in the cvs version. The files are
inadvertantly removed from the built version by the make-package script.
The following patch will solve this:

diff -u /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package.\~1\~ /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package
--- /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package.~1~	2007-01-21 19:34:38.000000000 +0100
+++ /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package	2007-01-25 08:53:49.000000000 +0100
@@ -330,6 +330,8 @@
 if test "$self_contained" = "yes"; then
     # Move shared files down to Resources directory
     mv $installprefix/share/emacs/$version/* $installprefix
+    mv $installprefix/share/info $installprefix
+    mv $installprefix/share/man $installprefix
     rm -rf $installprefix/share
     # These directories might remain in Resources
     mv $installprefix/bin $installprefix/../MacOS/bin

There is another problem with the info files, however. The mac startup code
in mac.c sets the environment variable INFOPATH to the location of the info
files in the application bundle (.../Contents/Resources/info). However this
causes the Info-directory-list variable to get only that directory as
value, disregarding any other info directories in the system, such as
/usr/local/share/info. I think it would be more useful to initialize
configure-info-directory (Vconfigure_info_directory) with that value
instead of the environment variable.

-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing info and man files in standalone Emacs.app (macosx)
  2007-01-27 11:37 Missing info and man files in standalone Emacs.app (macosx) Piet van Oostrum
@ 2007-01-30 17:11 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2007-01-30 17:11 UTC (permalink / raw)
  To: Piet van Oostrum; +Cc: emacs-devel

Piet van Oostrum <piet@cs.uu.nl> writes:

> I noticed that a stand-alone Emacs application in Mac OS X doesn't contain
> the info and man pages. This is in emacs installed from the 22.0.92 and
> 22.0.93 pretest tarballs and in the cvs version. The files are
> inadvertantly removed from the built version by the make-package script.
> The following patch will solve this:

I checked in your patch.  Thanks.

> There is another problem with the info files, however. The mac startup code
> in mac.c sets the environment variable INFOPATH to the location of the info
> files in the application bundle (.../Contents/Resources/info). However this
> causes the Info-directory-list variable to get only that directory as
> value, disregarding any other info directories in the system, such as
> /usr/local/share/info. I think it would be more useful to initialize
> configure-info-directory (Vconfigure_info_directory) with that value
> instead of the environment variable.

Not having a mac, I cannot test this, so someone else will have to
work on it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-30 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-27 11:37 Missing info and man files in standalone Emacs.app (macosx) Piet van Oostrum
2007-01-30 17:11 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.