usr/src/cmd/emacs/METADATA
changeset 2 8f1801a322e9
parent 0 b34509ac961f
child 5 d07534556b03
equal deleted inserted replaced
1:37d545eabfea 2:8f1801a322e9
     1 NAME:             emacs
     1 NAME:             emacs
     2 VERSION:          22.1
     2 VERSION:          23.1
     3 DESCRIPTION:      GNU Emacs editor
     3 DESCRIPTION:      GNU Emacs editor
     4 LICENSE:          GPLv2
     4 LICENSE:          GPLv3
     5 PACKAGE:          SUNWgnu-emacs SUNWgnu-emacs-el SUNWgnu-emacs-gtk SUNWgnu-emacs-nox SUNWgnu-emacs-x
     5 PACKAGE:          SUNWgnu-emacs SUNWgnu-emacs-el SUNWgnu-emacs-gtk SUNWgnu-emacs-nox SUNWgnu-emacs-x
     6 PROJECT_URL:      http://www.gnu.org/software/emacs/
     6 PROJECT_URL:      http://www.gnu.org/software/emacs/
     7 SOURCE_DOWNLOAD:  http://ftp.gnu.org/pub/gnu/emacs/emacs-22.1.tar.gz
     7 SOURCE_DOWNLOAD:  http://ftp.gnu.org/pub/gnu/emacs/emacs-23.1.tar.gz
     8 SUPPORT:          Community
     8 SUPPORT:          Community
     9 BUGTRAQ:          solaris/utility/emacs
     9 BUGTRAQ:          solaris/utility/emacs
    10 OSR:              9575
    10 OSR:              13016
    11 COMMENTS:         
    11 COMMENTS:         
    12 	- This code is built with gcc. The primary reason for this
    12 	- This code is built with gcc. The primary reason for this
    13 	  is that the configure script has problems using a non-GNU
    13 	  is that the configure script has problems using a non-GNU
    14 	  cpp. I am not aware of any reason Sun Studio could not be
    14 	  cpp. I am not aware of any reason Sun Studio could not be
    15 	  made to work, but simply made a cost/benefit decision not to
    15 	  made to work, but simply made a cost/benefit decision not to
    16 	  pursue it at this time.
    16 	  pursue it at this time.
    17 
    17 
    18 	- I have made the following changes to the emacs sources:
    18 	- I have made the following changes to the emacs sources:
    19 
    19 
    20 	    config.guess
    20 	    buffer_menu.patch
    21 		Use amd64 as the machine for 64-bit amd64 builds
    21 		Fixes an issue with GTK and the Buffers menu where the
    22 		instead of i386-pc (which is still used for 32-bit).
    22 		menu contents is not updated to show the current buffers
       
    23 		and instead shows a stale list. I based these patches
       
    24 		on the official ones applied to the emacs development branch:
    23 
    25 
    24 	    configure
    26 		http://lists.gnu.org/archive/html/emacs-diffs/2009-09/msg00039.html
    25 		Understand amd64 as a valid Solaris architecture
       
    26 
       
    27 	    src/gtkutil.c
       
    28 		Work around a bug in libglib-2.0 in the function
       
    29 		g_utf8_validate(). This bug manifests itself in
       
    30 		64-bit builds on amd64 platforms.
       
    31 
    27 
    32 	    src/s/sol2-5.h
    28 	    src/s/sol2-5.h
    33 		Use the system malloc instead of the built in one
    29 		Use the system malloc instead of the built in one
    34 
    30 
    35 	    src/s/sol2-6.h
    31 	    src/s/sol2-6.h
    75 		SUNWgnu-emacs-el - The compressed LISP files for which compiled
    71 		SUNWgnu-emacs-el - The compressed LISP files for which compiled
    76 			versions are delivered by SUNWgnu-emacs.
    72 			versions are delivered by SUNWgnu-emacs.
    77 
    73 
    78 	  SUNWgnu-emacs is required by the other packages.
    74 	  SUNWgnu-emacs is required by the other packages.
    79 
    75 
    80 	  Note that SUNWgnu-emacs-gtk does not deliver sparcv9 binaries at
    76 	  Note that earlier versions (22.1) of SUNWgnu-emacs-gtk did not
    81 	  this time. There are unresolved GTK issues.
    77 	  deliver sparcv9 binaries, as there were unresolved GTK issues.
       
    78 	  This appears to be solved in emacs 23, and we now deliver the
       
    79 	  sparcv9 binaries.
    82 
    80 
    83 	- The emacs Makefile install rule does more than copy files around.
    81 	- The emacs Makefile install rule does more than copy files around.
    84 	  It runs emacs in batch mode to generate compiled lisp files,
    82 	  It runs emacs in batch mode to generate compiled lisp files,
    85 	  compresses uncompiled lisp files, and performs other arbitrary
    83 	  compresses uncompiled lisp files, and performs other arbitrary
    86 	  actions we'd rather not have to duplicate.
    84 	  actions we'd rather not have to duplicate.
    95 
    93 
    96 		- Makefile.sfw configures emacs for its final installation
    94 		- Makefile.sfw configures emacs for its final installation
    97 		  location, causing the binaries and lisp code to contain
    95 		  location, causing the binaries and lisp code to contain
    98 		  the proper final paths.
    96 		  the proper final paths.
    99 
    97 
   100 		- install-sfw runs the emacs makefile install rule to populate
    98 		- Makefile.sfw runs the emacs makefile install rule to populate
   101 		  the proto by overriding the variables it uses to place
    99 		  a local proto directory by overriding the Make variables
   102 		  the files.
   100 		  used to place the files.
       
   101 
       
   102 		- install-sfw copies the files from the local proto directory
       
   103 		  into the workspace proto.
   103 
   104 
   104 		- Packing then proceeds as usual
   105 		- Packing then proceeds as usual
   105 
   106 
   106 	  When upgrading the version of emacs, you should be careful to test
   107 	  When upgrading the version of emacs, you should be careful to test
   107 	  and ensure that this trick still works. Also, different versions of
   108 	  and ensure that this trick still works. Also, different versions of
   117 
   118 
   118 	- We do not install the files under /var/games/emacs. The reason for
   119 	- We do not install the files under /var/games/emacs. The reason for
   119 	  this is that we do not install update-game-score as setuid, and
   120 	  this is that we do not install update-game-score as setuid, and
   120 	  therefore the game files are not usable. This the same decision made
   121 	  therefore the game files are not usable. This the same decision made
   121 	  by Debian, among others.
   122 	  by Debian, among others.
   122 
       
   123 	- At this time, the libXaw delivered with Solaris Nevada is
       
   124 	  incompatible with the Xorg version. Until this is worked out,
       
   125 	  OpenSolaris does not have libXaw, and emacs-x will not run.
       
   126 
       
   127 
       
   128 
       
   129