[gentoo-commits] proj/devmanual:master commit in: general-concepts/autotools/
commit: 6756801c7f1d3b8a6326567a164891333b1f10d3 Author: Thomas Bracht Laumann Jespersen laumann xyz> AuthorDate: Thu Jan 27 09:39:43 2022 + Commit: Sam James gentoo org> CommitDate: Tue Mar 1 09:58:56 2022 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6756801c general-concepts/autotools: Remove comment re einfo In commit d9e28f40be32f76224ef0dbe2f3163e0615896f1, einfo lines were removed from the examples but a paragraph still still referenced it. Delete the paragraph. Closes: https://bugs.gentoo.org/832156 Signed-off-by: Thomas Bracht Laumann Jespersen laumann.xyz> Signed-off-by: Sam James gentoo.org> general-concepts/autotools/text.xml | 7 --- 1 file changed, 7 deletions(-) diff --git a/general-concepts/autotools/text.xml b/general-concepts/autotools/text.xml index 11cacf3..c4abdd4 100644 --- a/general-concepts/autotools/text.xml +++ b/general-concepts/autotools/text.xml @@ -141,13 +141,6 @@ src_configure() { } - -The einfo message before running autotools is not mandatory. However, these -steps can sometimes take a while and may produce no output, so it may make sense -to let the user know that something is still happening. See -. - -
[gentoo-commits] proj/devmanual:master commit in: general-concepts/autotools/
commit: d9e28f40be32f76224ef0dbe2f3163e0615896f1 Author: Sam James gentoo org> AuthorDate: Thu Dec 9 04:19:23 2021 + Commit: Sam James gentoo org> CommitDate: Thu Dec 9 04:24:29 2021 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d9e28f40 general-concepts/autotools: use EAPI 8 in examples and autotools.eclass helpers - Use EAPI 8 in examples - Use eaclocal, eautoconf - Define WANT_AUTOCONF/WANT_AUTOMAKE in global scope before inheriting autotools.eclass. The eclass declares these as @PRE_INHERIT which is necessary for e.g. ensuring dependencies are set. Signed-off-by: Sam James gentoo.org> general-concepts/autotools/text.xml | 45 ++--- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/general-concepts/autotools/text.xml b/general-concepts/autotools/text.xml index b7170ba..11cacf3 100644 --- a/general-concepts/autotools/text.xml +++ b/general-concepts/autotools/text.xml @@ -116,23 +116,28 @@ either Makefile.am or configure.ac: -EAPI=5 +EAPI=8 +WANT_AUTOCONF=2.5 +WANT_AUTOMAKE=1.9 inherit autotools +IUSE="nls" + +BDEPEND="nls? ( sys-devel/gettext )" + src_prepare() { + default + # Remove problematic LDFLAGS declaration sed -i -e '/^LDFLAGS/d' src/Makefile.am || die # Rerun autotools - einfo "Regenerating autotools files..." - WANT_AUTOCONF=2.5 eautoconf - WANT_AUTOMAKE=1.9 eautomake + eautoreconf } -src_compile() { +src_configure() { econf $(use_enable nls) - emake } @@ -591,10 +596,17 @@ In the first case you usually want to do something like: -einfo "Regenerating autotools files..." -cp "${WORKDIR}/gentoo-m4" "${S}/m4" || die "m4 copy failed" -WANT_AUTOCONF="2.5" aclocal -I "${S}/m4" || die "aclocal failed" -WANT_AUTOCONF="2.5" autoconf || die "autoconf failed" +WANT_AUTOCONF="2.5" +inherit autotools + +src_prepare() { + default + + einfo "Regenerating autotools files..." + cp "${WORKDIR}/gentoo-m4" "${S}/m4" || die "m4 copy failed" + eaclocal -I "${S}/m4" + eautoconf +} @@ -602,9 +614,16 @@ and so on. In the second case you can simplify it in this way: -einfo "Regenerating autotools files..." -WANT_AUTOCONF="2.5" aclocal -I "${WORKDIR}/gentoo-m4" || die "aclocal failed" -WANT_AUTOCONF="2.5" autoconf || die "autoconf failed" +WANT_AUTOCONF="2.5" +inherit autotools + +src_prepare() { + default + + einfo "Regenerating autotools files..." + eaclocal -I "${WORKDIR}/gentoo-m4" + eautoconf +}
[gentoo-commits] proj/devmanual:master commit in: general-concepts/autotools/
commit: 75810c694c5479cc245e71e7fd0b0937d8c78821 Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 25 17:13:45 2020 + Commit: Ulrich Müller gentoo org> CommitDate: Mon Jan 27 19:57:02 2020 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=75810c69 general-concepts/autotools/diagram.svg: Delete obsolete configure.in. Signed-off-by: Ulrich Müller gentoo.org> general-concepts/autotools/diagram.svg | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/general-concepts/autotools/diagram.svg b/general-concepts/autotools/diagram.svg index 37e5a93..3ecea41 100644 --- a/general-concepts/autotools/diagram.svg +++ b/general-concepts/autotools/diagram.svg @@ -267,14 +267,9 @@ width="80" y="80" x="140" /> - configure.in / configure.ac
[gentoo-commits] proj/devmanual:master commit in: /, general-concepts/autotools/, ...
commit: e13d047a9a5a08e0ea46e98984e1d42b7e2c0a0c Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 18 08:34:08 2020 + Commit: Ulrich Müller gentoo org> CommitDate: Sat Jan 18 08:34:08 2020 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e13d047a devbook.xsl: Suppress spurious newlines for . Also normalise whitespace around in some places in the document. Signed-off-by: Ulrich Müller gentoo.org> devbook.xsl | 2 +- ebuild-writing/functions/src_compile/build-environment/text.xml | 2 +- general-concepts/autotools/text.xml | 2 +- keywording/text.xml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/devbook.xsl b/devbook.xsl index 19012ff..8c367d4 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -265,7 +265,7 @@ - + diff --git a/ebuild-writing/functions/src_compile/build-environment/text.xml b/ebuild-writing/functions/src_compile/build-environment/text.xml index 706b9fc..fc314cc 100644 --- a/ebuild-writing/functions/src_compile/build-environment/text.xml +++ b/ebuild-writing/functions/src_compile/build-environment/text.xml @@ -17,7 +17,7 @@ Except where otherwise specified, any function which operates on -Ebuilds must not simply ignore user CFLAGS, CXXFLAGS or LDFLAGS see +Ebuilds must not simply ignore user CFLAGS, CXXFLAGS or LDFLAGS see . diff --git a/general-concepts/autotools/text.xml b/general-concepts/autotools/text.xml index f6660a8..026e0e3 100644 --- a/general-concepts/autotools/text.xml +++ b/general-concepts/autotools/text.xml @@ -78,7 +78,7 @@ and have the same format the only difference is the name. You may see autotools being used in a variety of phase functions. Prior to EAPI2, the QA team preferred that the source - code be manipulated in src_unpackthe rationale being that + code be manipulated in src_unpack the rationale being that src_unpack handles "getting the package ready to be compiled." diff --git a/keywording/text.xml b/keywording/text.xml index 2b25a0e..6b2d19c 100644 --- a/keywording/text.xml +++ b/keywording/text.xml @@ -272,8 +272,8 @@ Vulnerability Treatment Policy If you maintain an architecture-independent package (data files, icons, pure Perl,...) then you may request that your - package be stabilized on all arches at once. To do thiswhen - you are filing the stabilization bugplease add the keyword + package be stabilized on all arches at once. To do this when + you are filing the stabilization bug please add the keyword ALLARCHES in addition to STABLEREQ and CC the arches that you would like to stabilize.
[gentoo-commits] proj/devmanual:master commit in: general-concepts/autotools/
commit: c4df53132e81e885635da2f326bb9b6afde78964 Author: Mikle Kolyada gentoo org> AuthorDate: Thu May 24 18:27:54 2018 + Commit: Göktürk Yüksek gentoo org> CommitDate: Thu Jun 14 18:39:14 2018 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c4df5313 general-concepts/autotools: Add Autotools Mythbuster as a reference general-concepts/autotools/text.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/general-concepts/autotools/text.xml b/general-concepts/autotools/text.xml index 6c6561a..02d8b30 100644 --- a/general-concepts/autotools/text.xml +++ b/general-concepts/autotools/text.xml @@ -675,6 +675,9 @@ For more details on autotools: https://www.gnu.org/software/m4/manual/m4.html;>GNU m4 Manual + + https://autotools.io;>Autotools Mythbuster + There are some good overview lectures available online.
[gentoo-commits] proj/devmanual:master commit in: general-concepts/autotools/, appendices/editor-configuration/emacs/
commit: 5ddef787f71cd4382ca4f2f212fb4974965e14d2 Author: Francesco Turco fastmail fm> AuthorDate: Sun Apr 15 17:05:41 2018 + Commit: Göktürk Yüksek gentoo org> CommitDate: Sat Apr 21 01:59:00 2018 + URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=5ddef787 use HTTPS for links to gnu.org appendices/editor-configuration/emacs/text.xml | 8 general-concepts/autotools/text.xml| 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/appendices/editor-configuration/emacs/text.xml b/appendices/editor-configuration/emacs/text.xml index 0a5e38d..796de3c 100644 --- a/appendices/editor-configuration/emacs/text.xml +++ b/appendices/editor-configuration/emacs/text.xml @@ -78,12 +78,12 @@ provides a hook for your own customisation. -http://www.gnu.org/software/emacs/manual/html_node/emacs/Recognize-Coding.html;> - http://www.gnu.org/software/emacs/manual/html_node/emacs/Recognize-Coding.html +https://www.gnu.org/software/emacs/manual/html_node/emacs/Recognize-Coding.html;> + https://www.gnu.org/software/emacs/manual/html_node/emacs/Recognize-Coding.html -http://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html;> - http://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html +https://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html;> + https://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html http://www.emacswiki.org/emacs/UnicodeEncoding;> diff --git a/general-concepts/autotools/text.xml b/general-concepts/autotools/text.xml index beb3ff6..d57356a 100644 --- a/general-concepts/autotools/text.xml +++ b/general-concepts/autotools/text.xml @@ -661,18 +661,18 @@ For more details on autotools: - http://www.gnu.org/software/automake/manual/automake.html;> + https://www.gnu.org/software/automake/manual/automake.html;> GNU automake Manual - http://www.gnu.org/software/autoconf/manual/;>GNU autoconf Manual + https://www.gnu.org/software/autoconf/manual/;>GNU autoconf Manual - http://www.gnu.org/software/libtool/manual/;>GNU libtool Manual + https://www.gnu.org/software/libtool/manual/;>GNU libtool Manual - http://www.gnu.org/software/m4/manual/m4.html;>GNU m4 Manual + https://www.gnu.org/software/m4/manual/m4.html;>GNU m4 Manual