[macemacsjp-english 921] How to build Carbon Emacs Package

Back to archive index

Seiji Zenitani zenit****@gmail*****
Mon Feb 26 12:02:37 JST 2007


Hi all,

In case I got hit by a bus, I send to you
an instruction to build Carbon Emacs Package on Tiger.
You are very welcome to try the following,
if you would like to explore Carbon Emacs Package in depth.

Sincerely,

Seiji Zenitani
zenit****@gmail*****

___________________________________________________________________


== System Requirements ==

* Mac OS X 10.4.8 or later
* XCode 2.4.1 or later
* relatively "new" TeX distribution in your PATH
   AUCTeX requires dvipng 1.6 or later, tex, gs etc.
* no fink
   If you have installed fink in /sw,
   temporally rename /sw to /sw.tmp or something like that.


== Obtaining our source codes ==

For the release versions, visit
http://macemacsjp.sourceforge.jp/package/src/ .

The latest source codes are managed by subversion.
  $ svn checkout https://svn.sourceforge.net/svnroot/emacs-mac/ 
CarbonEmacs/trunk


== Directory layout ==

  $ ls

GPL
Makefile
Resources
non-GPL


== Building an Intel (or PowerPC) build ==

Try 'make' in the following way.
First, expand the source code and apply various patches to the source  
tree.

  $ make patch

Next, try compile. It may take long time.

  $ make compile

Prepare a disk image file.
If you fail something, unmount the "Emacs" voulme.

  $ make dmg

Compile the various elisp libraries and install them into the "Emacs"  
disk.
If you like, you can edit the "pkg:" section in the Makefile.

  $ make pkg

Now Emacs.app is in the "Emacs" volume.
You can copy it to your application folder, if you want.

To make the "Emacs" volume fancy, try

  $ make icon

Compress the disk image file and unmount the "Emacs" volume.

  $ make done

Now you will see a new disk image file, whose filename is
CarbonEmacs-powerpc-($date).dmg or CarbonEmacs-i386-($date).dmg.



== Redistributing your own package ==

Redistributing your own package is welcome.
Before compiling, you should edit "VERSION" section
in the Makefile and you should edit the file Resources/ReadMe.txt.
Of course I am very happy
if you feedback your enhancements to us.


___________________________________________________________________




More information about the macemacsjp-english mailing list
Back to archive index