2014-06-07 Ulrich Müller * elisp.eclass (DEPEND): Increase minimum Emacs version to 23. (elisp_pkg_setup): Ditto. 2014-05-18 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Die on errors. * elisp-common.eclass (elisp-site-regen): Look for site-init files only in site-gentoo.d subdirectory. 2013-10-31 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Don't create site-gentoo.el in postrm phase. 2013-09-04 Ulrich Müller * elisp-common.eclass: Add proper @CODE tags in comments. 2013-07-18 Ulrich Müller * elisp-common.eclass (elisp-emacs-version): Unset TERM and DISPLAY so that microemacsen won't hang, but exit with an error. 2013-07-16 Mats Lidell * xemacs-packages.eclass (xemacs-packages_src_prepare) (xemacs-packages_src_configure): New functions that does nothing. Needed for EAPI>2 support. 2013-03-04 Ulrich Müller * elisp.eclass (elisp_src_install, elisp_pkg_postinst): Call readme.gentoo_create_doc and readme.gentoo_print_elog from readme.gentoo.eclass if these functions exist. 2013-02-26 Ulrich Müller * elisp-common.eclass (elisp-compile, elisp-make-autoload-file) (elisp-install, elisp-site-file-install): Die on failure. * elisp.eclass (elisp_src_compile, elisp_src_install): Remove die commands that are no longer necessary because the called functions die themselves. 2012-12-12 Ulrich Müller * elisp-common.eclass (elisp-need-emacs): Return 2 as exit status if the comparison could not be done, e.g., if emacs could not be executed in elisp-emacs-version. * elisp.eclass (elisp_pkg_setup): Distinguish between "version too low" and "could not determine version". 2012-09-11 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Remove last remnants of backwards compatibility code that was introduced at 2007-12-01. 2012-08-24 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Suppress warning for initial installation. 2012-08-17 Ulrich Müller * elisp.eclass (IUSE): Remove unnecessary variable assignment. 2012-07-18 Ulrich Müller * elisp-common.eclass: Make use of the @ROFF token in documentation. 2012-02-11 Ulrich Müller * elisp-common.eclass (elisp-need-emacs): Require GNU Emacs. * elisp-common.eclass (elisp-site-regen): Delete declaration of unused variable. 2011-12-03 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Use ebegin/eend instead of einfo. 2011-11-22 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Replace echo by einfo, so that the message will be properly logged. * elisp.eclass (ELISP_REMOVE): New variable. (elisp_src_prepare): Remove files specified in ELISP_REMOVE. 2011-10-17 Ulrich Müller * elisp.eclass (elisp_src_prepare): Allow for user patches. 2011-10-01 Ulrich Müller * elisp-common.eclass: Clarify policy on site-init files. 2011-08-22 Ulrich Müller * elisp.eclass: * elisp-common.eclass: Move authors' list to new @AUTHOR block. 2011-08-20 Ulrich Müller * elisp.eclass: * elisp-common.eclass: Change [ ] to [[ ]] throughout. 2011-08-12 Ulrich Müller * elisp-common.eclass (elisp-emacs-version): Report error and return exit status if running of Emacs failed. (elisp-need-emacs): Test for return status of elisp-emacs-version. 2011-07-13 Ulrich Müller * elisp.eclass (elisp_src_install): Fix installation of Info files if Texinfo source is in a subdirectory, bug 373741. Thanks to Martin von Gagern . 2010-11-10 Ulrich Müller * elisp-common.eclass (elisp-need-emacs): New function. * elisp.eclass (elisp_pkg_setup): Use it. 2010-09-14 Ulrich Müller * elisp-common.eclass (elisp-make-autoload-file): In header comment, use PN not P. 2010-08-23 Christian Faulhammer * elisp.eclass: Update documentation 2010-08-22 Ulrich Müller * elisp-common.eclass (elisp-comp): Remove dead function; it has been deprecated two years ago in bug 235442. * elisp.eclass: Update documentation. 2010-07-21 Ulrich Müller * elisp-common.eclass (elisp-site-regen): The nullglob shell option is not needed here, because inside the loop we test for existence of all files anyway. See also bug 328863. The temporary file needs only be removed in the no changes case. 2010-01-30 Ulrich Müller * elisp.eclass (elisp_src_prepare): Look for patch in WORKDIR too. 2009-11-25 Ulrich Müller * elisp-common.eclass: Prepare for Prefix support. (EMACS): Prefix with EPREFIX. (elisp-site-file-install): Add EPREFIX in sed expression. (elisp-site-regen): Prefix SITELISP with EPREFIX. 2009-11-17 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Display a warning message if no site-init files were found. Remove the warning about obsolete files; the install location was changed two years ago. 2009-09-27 Ulrich Müller * elisp-common.eclass (elisp-make-autoload-file): Don't substitute the "new page" character with sed, since the string could occur in the package name. Use a shell variable instead. (elisp-site-regen): Start new page before local variables block. 2009-09-15 Ulrich Müller * elisp.eclass (elisp_src_compile): Fix typo, bug 285045. Thanks to Andrew N Golovkov . 2009-09-14 Ulrich Müller * elisp.eclass (elisp_src_compile): Generate Info files from Texinfo sources listed in ELISP_TEXINFO. (elisp_src_install): Install them. 2009-09-08 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Mark site-gentoo.el as buffer-read-only, in order to prevent unintentional edits. (elisp-make-autoload-file, elisp-site-regen): Add a null string to inhibit local variables detection in the eclass file itself. 2009-08-24 Ulrich Müller * elisp.eclass (elisp_pkg_setup): We compare major versions only, so there's no need for versionator.eclass. (inherit): Don't inherit versionator. 2009-04-08 Ulrich Müller * elisp-common.eclass (elisp-site-file-install): Suppress error message if cp source and destination are identical. 2009-03-29 Ulrich Müller * elisp.eclass (elisp_src_unpack): Change directory to S before calling src_prepare. 2009-03-26 Ulrich Müller * elisp.eclass (RDEPEND): Avoid unnecessary code duplication. * elisp-common.eclass (elisp-site-file-install): Automagically insert an empty first line and a header comment if they are missing from the file. 2009-03-22 Ulrich Müller * elisp-common.eclass (elisp-comp): Die. (elisp-site-file-install): Allow for extra version identifier in the name of the source file, i.e. install 50${PN}-gentoo-${PV}.el as 50${PN}-gentoo.el. Output a warning if the file name doesn't match a pattern that would be recognised by elisp-site-regen. 2009-03-17 Ulrich Müller * elisp.eclass (elisp_src_unpack): Explicitly assign S=${WORKDIR} in the "simple elisp" case. 2009-03-15 Ulrich Müller * elisp.eclass (inherit): Inherit eutils. Don't inherit base. (elisp_src_prepare): Automatically apply patches in ELISP_PATCHES. 2009-03-07 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Remove all code related to site-start.el; it is now installed by emacs-common-gentoo. 2009-02-24 Ulrich Müller * elisp.eclass (inherit): Inherit base.eclass. (EXPORT_FUNCTIONS): Add case statement for EAPI. (elisp_src_prepare): New function, calls autopatch feature from base.eclass. (elisp_src_unpack): Ditto for EAPI 0 or 1. (elisp_src_configure): New function, does nothing. 2009-02-23 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Output ebuild phase in einfo messages. Omit full directory path. 2009-02-13 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Remove workaround for empty T variable in Paludis, after one year of transition time. Add test for existence of temporary directory. 2009-02-07 Christian Faulhammer * elisp.eclass (elisp_src_unpack, elisp_src_install): Remove die messages. 2009-01-31 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Remove backwards compatibility kludge related to old versions of this eclass. 2008-11-24 Ulrich Müller * elisp-common.eclass (elisp-site-file-install): Make sure that the last line of the installed init file is properly terminated. 2008-11-16 Ulrich Müller * elisp.eclass (elisp_pkg_setup): Revert removal of the einfo message with the Emacs version (change of 2008-09-13), since this information is useful in bug reports. 2008-10-12 Ulrich Müller * elisp-common.eclass: Add function names to error messages. * elisp.eclass (SITEFILE): Move from elisp-common.eclass to here and don't assign a default value. Improve its documentation. (elisp_src_install): Allow for packages without site-init file. (elisp_src_compile, elisp_src_install): Remove messages from "die" commands since elisp-common.eclass is verbose enough. 2008-10-09 Ulrich Müller * elisp-common.eclass (SITEETC): Document as eclass variable. (elisp-site-regen): Use sed instead of cat for concatenation of site-init files, since they may not have a trailing newline. 2008-09-17 Ulrich Müller * elisp-common.eclass (elisp-comp): Output a deprecation warning. 2008-09-16 Christian Faulhammer * elisp-common.eclass (elisp-site-regen): Add category for emacs-updater. 2008-09-13 Ulrich Müller * elisp.eclass (elisp_pkg_setup): Be less verbose, bug 237546. * elisp-common.eclass (elisp-site-regen): Likewise. Thanks to Marijn Schouten for complaining. 2008-09-01 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Return definite status. 2008-08-27 Ulrich Müller * elisp.eclass (elisp_src_unpack): Handle the case of empty ${A}. 2008-08-23 Ulrich Müller * elisp.eclass (VERSION): Remove unnecessary global variable to reduce namespace pollution. (elisp_pkg_setup): Use NEED_EMACS, clarify local variable names. * elisp-common.eclass (BYTECOMPFLAGS): New variable. (elisp-compile): Use it, instead of hardcoding the load-path. (EMACS, EMACSFLAGS): Document as eclass variables. 2008-08-20 Ulrich Müller * elisp-common.eclass (elisp-compile): Add current directory to load-path, to ensure that interdependent elisp files are visible between themselves. 2008-08-10 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Fix issue with empty einfo lines. Indent here-document. Change wording of message, "no longer" -> "not", since the underlying change from site-start.el to site-gentoo.el was in 2004. 2008-06-23 Christian Faulhammer * elisp.eclass: Update copyright information. (elisp_pkg_setup): Be more verbose on output information. 2008-06-23 Ulrich Müller * elisp.eclass (elisp_pkg_setup): Output Emacs version. 2008-05-25 Ulrich Müller * elisp.eclass (SIMPLE_ELISP): Remove variable. (elisp_src_unpack): Always move ${P}.el to ${PN}.el if the former exists. 2008-05-18 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Create file for backwards compatibility only if obsolete files were found. 2008-03-28 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Check if the SITELISP directory exists. 2008-03-04 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Work around Paludis borkage, where variable T is empty in pkg_postrm. Thanks to Stelian Ionescu for pointing this out. 2008-03-03 Ulrich Müller * elisp-common.eclass (elisp-site-file-install) (elisp-site-regen, elisp-emacs-version): Clean up temporary files. * elisp.eclass (EXPORT_FUNCTIONS): Call only once, according to section 7.3 of the PMS draft. 2008-02-21 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Don't output warning if site-gentoo.el file is unchanged. 2007-12-17 Christian Faulhammer * elisp-common.eclass (elisp-site-regen): Note new installation directory in the output intended for the user and refer to emacs-updater 2007-12-12 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Redirect input of cat command to /dev/null, otherwise it will hang if the list of files is empty. Thanks to Sebastien Fabbro for pointing this out. 2007-12-11 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Don't require -gentoo extension for files in site-gentoo.d. (elisp-site-file-install): Assign only base name to sf variable. 2007-12-07 Ulrich Müller * elisp.eclass (S, elisp_pkg_setup): Moved back to global scope. (elisp_src_unpack): Do not change dir, we are in WORKDIR already. 2007-12-04 Ulrich Müller * elisp.eclass (S, elisp_pkg_setup): Move handling of SIMPLE_ELISP into pkg_setup function, otherwise it fails with portage-2.1.4. (elisp_src_unpack): Die if mv fails. 2007-12-01 Ulrich Müller * elisp-common.eclass (elisp-site-file-install): Redo change of 2007-11-24 which was undone at 2007-11-29. (elisp-site-regen): Kludge for backwards compatibility. 2007-11-30 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Set nullglob option, because there may be a directory without matching files. (elisp-compile, elisp-comp, elisp-make-autoload-file) (elisp-install, elisp-site-file-install): Use ebegin/eend. 2007-11-30 Christian Faulhammer * elisp-common.eclass: Added messages when operations finish 2007-11-29 Ulrich Müller * elisp-common.eclass (elisp-site-file-install): Install files in site-lisp again, since otherwise things break during unmerge when an old version of the eclass is used. 2007-11-28 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Do not use a pipeline, otherwise the loop is executed in a subshell and we cannot set variables from there. Use bash arrays and our own sort routine instead. 2007-11-27 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Emit warning message if files are found in the old location; this is still commented out. 2007-11-24 Ulrich Müller * elisp-common.eclass (elisp-site-file-install, elisp-site-regen): Replace basename by bash parameter expansion. Install packages' site-init files in site-gentoo.d subdirectory. 2007-11-23 Ulrich Müller * elisp-common.eclass (SITEETC): New variable. (elisp-site-file-install): Handle @SITEETC@ in site-init file. 2007-11-01 Ulrich Müller * elisp-common.eclass (EMACSFLAGS): New variable, replaces EMACS_BATCH_CLEAN. Rationale: Keep program path separate from flags, to allow its redefinition in ebuilds. (elisp-compile, elisp-comp): Group compile functions together. 2007-10-20 Ulrich Müller * elisp-common.eclass (elisp-comp): Use square brackets for test. Remove dysfunctional code. 2007-10-04 Christian Faulhammer * elisp-common.eclass (EMACS): use an en dash instead of a hypen in comment 2007-10-03 Ulrich Müller * elisp-common.eclass (SITELISP, SITEFILE): Document variables. 2007-09-26 Christian Faulhammer * elisp-common.eclass: remove colon from previous change 2007-09-25 Christian Faulhammer * elisp-common.eclass: remove a spurious space add a colon where it might be intended 2007-09-21 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Provide site-gentoo. Recommend require instead of load in einfo message. Create default site-start.el when running for the first time. (elisp-comp): Move comment so that it will appear in the man page. 2007-09-20 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Set no-byte-compile in site-gentoo.el. 2007-09-09 Ulrich Müller * elisp-common.eclass (elisp-install): Remove superfluous dodir. 2007-09-08 Ulrich Müller * elisp.eclass (elisp_src_install): Die if elisp-install or elisp-site-file-install fails. (SIMPLE_ELISP, DOCS, NEED_EMACS): Add man comments. * elisp-common.eclass (elisp-site-file-install): Remove redundant pushd/popd commands. Don't die, return status instead. (elisp-compile, elisp-comp, elisp-install): Quote all instances of $@ and $*. Don't use ${status}; it is reserved in zsh. (elisp-install, elisp-site-file-install): Call insinto and doins in a subshell to avoid pollution of calling environment. (EMACS_BATCH_CLEAN): New variable, analog to the XEmacs eclasses. 2007-08-21 Christian Faulhammer * elisp-common.eclass (SITEFILE): add a trailing slash in comment for regeneration to make clear it is a directory, not a single file 2007-07-28 Ulrich Müller * elisp.eclass (S): Remove trailing slant. 2007-07-12 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Use einfon for the initial message; suppress the newline in case of no changes; update einfo message. 2007-07-11 Ulrich Müller * elisp-common.eclass: Add magic comments for man page generation. (SITEFILE): Default value. 2007-07-08 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Put proper header information in site-gentoo.el. Consistent BE spelling. Remove -b option from mv since it does not work on BSD. 2007-07-03 Ulrich Müller * elisp.eclass: Update copyright info. Some comment changes. * elisp-common.eclass: Update copyright info. 2007-07-03 Christian Faulhammer * elisp.eclass: Add RDEPEND line 2007-07-02 Christian Faulhammer * elisp.eclass: Moved to Portage * elisp-common.eclass: Moved to Portage 2007-06-25 Ulrich Müller * elisp.eclass: Remove debugging code. Add some messages to die commands. * elisp-common.eclass (elisp-comp): Use pushd and popd. 2007-06-25 Christian Faulhammer * elisp-common.eclass: Add einfo output for all functions 2007-06-24 Christian Faulhammer * elisp.eclass: added DOCS variable for src_install 2007-06-23 Ulrich Müller * elisp-common.eclass (elisp-comp): Check for Emacs return status. Test numerical condition and return instead of exit. Call Emacs with arguments in their canonical form. 2007-06-21 Christian Faulhammer * elisp.eclass: added a comment when the site-start generation hints reveal nearly no output * elisp-common.eclass: added hint why has_version is not needed in connection with elisp-site-regen() and pkg_postrm 2007-06-20 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Generate output only if site-gentoo.el has changed. 2007-06-20 Christian Faulhammer * elisp.eclass: add --silent option to elisp_pkg_postrm() * elisp-common.eclass: applied changes for a silent option for elisp-site-regen() 2007-06-12 Ulrich Müller * elisp.eclass (elisp_pkg_setup): Add more explanations to error message. Move down to proper place. 2007-06-12 Christian Faulhammer * elisp.eclass (elisp_pkg_setup): remove an uncessary test 2007-06-11 Christian Faulhammer * elisp.eclass: set free the ghosts of the NEED_EMACS depending scheme, for the new-style Emacs virtuals 2007-06-04 Ulrich Müller * elisp.eclass (elisp_pkg_setup): Use versionator.eclass for comparison of versions. * elisp-common.eclass (elisp-emacs-version): New function, works for all known Emacs versions. 2007-06-11 Christian Faulhammer * elisp.eclass: documented NEED_EMACS a bit, added some more comments * elisp-common.eclass: added a comment about elisp-emacs-major-version() in the documentation 2007-06-11 Christian Faulhammer * elisp.eclass: export pkg_setup function; uncomment parts of it and add some checks and output for testing 2007-06-01 Ulrich Müller * elisp.eclass: Depend on >=virtual/emacs-${VERSION} since this is what we later ask for. 2007-06-01 Christian Faulhammer * elisp.eclass (elisp_pkg_setup): Use elisp-emacs-major-version. * elisp-common.eclass (elisp-emacs-major-version): New function. 2007-05-31 Christian Faulhammer * elisp.eclass: add inactive code for new style dependencies on virtual/emacs 2007-05-26 Ulrich Müller * elisp-common.eclass (elisp-make-autoload-file): Add some comments and local variables to generated autoload file. 2007-04-29 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Handle the case that there are no site-init files. 2007-04-27 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Give more specific example of "load" function in einfo message. 2007-04-18 Christian Faulhammer * elisp-common.eclass (elisp-make-autoload-file): A missing colon prevented a auxiliary variable to be predefined if no argument was given. 2007-04-14 Ulrich Müller * elisp-common.eclass: E-mail address updated. 2007-04-11 Ulrich Müller * elisp-common.eclass: Document arguments of elisp-make-autoload-file(). 2007-04-10 Ulrich Müller * elisp-common.eclass: Documentation change: use ${PN} in name of SITEFILE. (elisp-make-autoload-file): New function. 2007-04-10 Christian Faulhammer * elisp.eclass: document SIMPLE_ELISP 2007-04-08 Christian Faulhammer * elisp.eclass: remove SRC_URI pointing to mkennedy's devspace 2007-03-30 Ulrich Müller * elisp-common.eclass (elisp-site-regen): Honour ${ROOT}. 2007-03-16 Christian Faulhammer * elisp-common.eclass: Updated documentation on site-lisp dir. rephrased the fact that it is no real eclass 2007-03-15 Christian Faulhammer * elisp.eclass: documented added some quotes to prevent variables with spaces to break commands removed local Emacs variables * elisp-common.eclass: documented added some quotes to prevent variables with spaces to break commands straightened elisp-comp() removed local Emacs variables 2005-07-06 Aron Griffis * elisp.eclass, elisp-common.eclass: Remove ECLASS= and INHERITED= which haven't been necessary for a long time now. 2005-05-03 Mamoru Komachi * elisp-common.eclass (elisp-site-file-install): Added 'die'. Thanks to Tobias C. Rittweiler ; bug #86704. 2004-07-04 Mamoru Komachi * elisp-common.eclass (elisp-site-regen): Changed description of what to do as suggested by John Altstadt in bug #53097. 2004-06-25 Mike Frysinger * elisp.eclass, elisp-common.eclass: Update the copyright info. 2004-04-10 Mamoru Komachi * elisp.eclass: newdepend is deprecated; use DEPEND/RDEPEND instead, see bug #25013. 2004-03-16 Mamoru Komachi * elisp-common.eclass (elisp-site-file-install): Applied a patch from agriffis regarding the bug #44712. Thanks ;) 2004-03-09 Matthew Kennedy * elisp-common.eclass (elisp-site-regen): Correct site-gentoo.el to be much more specific about what files should be included. 2004-01-19 Jeremy Maitin-Shepard * elisp-common.eclass (elisp-site-regen): Use site-gentoo.el, rather than site-start.el. 2003-11-03 Matthew Kennedy * elisp-common.eclass (elisp-comp): Add an alternate compilation function. 2003-10-06 Jeremy Maitin-Shepard * elisp.eclass: Removed unnecessary sourcing of elisp-common.eclass. Define S="${WORKDIR}/" only if SIMPLE_ELISP is set to t. (elisp_src_unpack, elisp_src_compile, elisp_src_install) (elisp_pkg_postinst, elisp_pkg_postrm): Renamed src_unpack, src_compile, etc. to elisp_src_unpack and added a call to EXPORT_FUNCTIONS so that it works better with the inheritance system. Bug #29698. * elisp-common.eclass (elisp-compile): Added function, bug #29698. 2003-09-21 Matthew Kennedy * elisp.eclass, elisp-common.eclass: Separated elisp into elisp and elisp-common. * elisp.eclass: Removed default depend. 2003-07-22 George Shapovalov * elisp.eclass: Fixed DEPEND. 2003-05-23 Matthew Kennedy * elisp.eclass (src_unpack, src_compile, src_install) (pkg_postinst, pkg_postrm): Improvements to make most app emacs ebuilds mode succinct. 2003-02-09 Matthew Kennedy * elisp.eclass (elisp-site-regen): Made the file search more robust as per Sascha Luedecke suggestion in bug #13277. 2002-10-29 Matthew Kennedy * elisp.eclass: Initial. Copyright 2002-2014 Gentoo Foundation Distributed under the terms of the GNU General Public License v2