summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* elisp-common.eclass: Set no-native-compile in generated filesUlrich Müller2023-10-221-0/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Fix typo in commentUlrich Müller2023-08-261-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Rewrap lines in eclass documentationUlrich Müller2023-08-261-26/+30
| | | | | | No changes of the text. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/elisp-common.eclass: add elisp-org-export-toMaciej Barć2023-08-261-0/+33
| | | | | Signed-off-by: Maciej Barć <xgqt@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Document sed script in elisp-site-file-installUlrich Müller2023-08-261-2/+8
| | | | | | | Even though it is a simple one-liner, some people find it difficult to read. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Small documentation updateUlrich Müller2023-07-161-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: New function elisp-make-site-fileUlrich Müller2023-07-011-0/+35
| | | | | | | | | | | | This creates and installs a site-init file for the package. The default case will add the package's SITELISP subdirectory to Emacs' load-path. This allows to remove all trivial site-init files (consisting only of a load-path line). More complicated cases can be handled by providing additional arguments, which are appended as lines to the site-init file. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop EAPI 6 supportUlrich Müller2023-05-101-2/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/elisp-common.eclass: add elisp-enable-tests and elisp-testMaciej Barć2023-04-181-0/+200
| | | | | Bug: https://bugs.gentoo.org/898492 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* elisp-common.eclass: Update NEED_EMACS to 25.3Ulrich Müller2023-03-261-1/+1
| | | | | | | This corresponds to the oldest version of Emacs (other than slot 18) currently in the tree. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-2/+2
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: fix for Emacs 29 (explicitly require autoload)Sam James2022-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emacs 29's NEWS says: "The autoload.el library is now obsolete." We should therefore explicitly 'require it in order to have the eclass machinery work. Fix build failures with e.g. exec-path-from-shell, flycheck: ``` * Generating autoload file for GNU Emacs ... Error: void-function (batch-update-autoloads) debug-early-backtrace() debug-early(error (void-function batch-update-autoloads)) batch-update-autoloads() command-line-1(("--eval" "(setq make-backup-files nil)" "--eval" "(setq generated-autoload-file (expand-file-name \"exec-path-from-shell-autoloads.el\"))" "-f" "batch-update-autoloads" ".")) command-line() normal-top-level() Symbol’s function definition is void: batch-update-autoloads * elisp-make-autoload-file: batch-update-autoloads failed [ !! ] * ERROR: app-emacs/exec-path-from-shell-1.12::gentoo failed (compile phase): * (no error message) ``` See https://www.mail-archive.com/freebsd-pkg-fallout@freebsd.org/msg1982134.html and https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-08/msg01259.html. Thanks-to: John Turner <jturner.usa+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop support for EAPI 5Ulrich Müller2022-04-171-14/+5
| | | | | | From Emacs overlay. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-8/+8
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp*.eclass: Support EAPI 8Ulrich Müller2021-06-191-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Use "==" in tests throughoutUlrich Müller2021-04-191-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop support for EAPI 4Ulrich Müller2021-04-191-3/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop deprecated elisp-need-emacs()Ulrich Müller2021-04-191-21/+0
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Add timeout to version detectionUlrich Müller2021-04-191-2/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* app-emacs/emacs-common: Renamed from app-emacs/emacs-common-gentooUlrich Müller2021-03-221-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: More verbose error for failed version detectionUlrich Müller2021-02-151-1/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass: [QA] Revert multiple meaningless doc changesMichał Górny2020-12-281-2/+0
| | | | | | | | | | | Revert multiple meaningless eclass documentation changes, notably adding a lot of placeholders and documenting implementation details. These changes were aimed at silencing (valid) documentation warnings without actually providing valuable documentation to the end users. While some of these changes were beneficial, it would take a lot of effort to review them all and the author is unwilling to fix his mistakes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/elisp-common: fixup documentationAaron Bauman2020-12-161-0/+2
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* elisp-common.eclass: Fix QA warning in elisp-site-file-install.Ulrich Müller2020-09-251-3/+6
| | | | | | Thanks to ago for pointing this out. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Avoid @ character at beginning of comment.Ulrich Müller2020-09-171-3/+3
| | | | | | Bug: https://github.com/mgorny/eclass-to-manpage/issues/3 Reported-by: John Helmert III <jchelmert3@posteo.net> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Support installation of dynamic modules.Ulrich Müller2020-08-031-6/+36
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Replace @ROFF in eclass documentation.Ulrich Müller2020-02-221-9/+5
| | | | | | | Replace all @ROFF tokens by @SUBSECTION, because the former makes conversion to any format other than a man page very difficult. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Add missing argument to eend.Ulrich Müller2019-12-221-1/+1
| | | | | | Thanks to mgorny for pointing this out. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Report Emacs version with einfo, not elog.Ulrich Müller2019-12-211-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Small documentation update.Ulrich Müller2019-12-211-1/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Update documentation.Ulrich Müller2019-12-211-19/+26
| | | | | | | | | | After the package split between emacs and emacs-vcs is gone, packages can depend on app-editors/emacs directly. Deprecate function elisp-need-emacs; ebuilds should assign variable NEED_EMACS instead. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: New function elisp-check-emacs-version.Ulrich Müller2019-12-211-1/+51
| | | | | | | | | | | | | | | | Tests if the Emacs version is at least the (full) version specified by NEED_EMACS, otherwise dies. Intended as a replacement for function elisp-need-emacs, which did only a simple numeric comparison of the major version. Call the new function before doing any actual work in elisp-compile() and elisp-make-autoload-file(), so ebuilds inheriting only elisp-common.eclass (but not elisp.eclass) won't have to add a pkg_setup phase function. Drop support for EAPIs 0 to 3. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Revert "elisp-common.eclass: Drop support for EAPIs 0 to 3."Ulrich Müller2019-12-201-10/+7
| | | | | | | | | This wasn't correct. doins will indeed die by itself since EAPI 4, but die in a subshell is not guaranteed to work before EAPI 7. This reverts commit 72855c617981e1f1191a0ab2a9589d90c27f1b68. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop support for EAPIs 0 to 3.Ulrich Müller2019-12-151-7/+10
| | | | | | | This goes along with a small code simplification, since doins will die by itself in EAPI 4 or later. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: avoid //path, is not /path on CygwinMichael Haubenwallner2017-09-081-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/5651
* elisp*.eclass: Fix eclass header.Ulrich Müller2017-03-041-1/+1
|
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* eclass: Update e-mail address of GNU Emacs project.Ulrich Müller2016-01-231-1/+1
|
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+415
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed