Re: Documentation for build system setup
- From: Alberto Fanjul Alonso <albertofanjul gmail com>
- To: "Sebastian Geiger (Lanoxx)" <lanoxx gmx net>
- Cc: docs-feedback gnome org, desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: Documentation for build system setup
- Date: Thu, 09 Feb 2017 14:05:48 +0000
Is worth to mention this is how gnome-builder starts a new autotools project:
See it is a simple python script based on language, but lack information about where all those files come from like definition of autogen.sh
That plugin could be itself a spin-off from gnome-builder to automate best practices to start a GNOME like project, but as ebassi says, there's only recommendations not mandatory rules
El jue., 9 feb. 2017 a las 14:58, Sebastian Geiger (Lanoxx) (<
lanoxx gmx net>) escribió:
What confuses me is that this paragraph starts with the phrase "it does
not need any modifications made".
> It does not need any modifications made, unless you need to run
> another tool before configure, or do not use one of glib-gettextize,
> gtkdocize or intltoolize. (Note that you should not use both
> glib-gettextize and intltoolize in the same module, and it is better
> to use neither; see the FAQ entry below for details.)
It might be more helpful to provide a autogen.sh listing that omits both
glib-gettextize and intltoolize and then add a paragraph explaining to
add these for project that use either of these tools. If I understand
right both a deprecated anyway and should not be needed for
state-of-the-art projects.
Maybe write something like this:
If you are still using the deprecated glib-gettextize, then add the following line immediately before
autoreconf:
glib-gettextize --force --copy || exit 1
If you are still using the almost obsolete intltoolize, then add the following line immediately before
autoreconf:
intltoolize --force --copy --automake || exit 1
On 09/02/17 11:45, Philip Withnall wrote:
> Can we please standardise on the autogen.sh given in
> https://wiki.gnome.org/Projects/GnomeCommon/Migration#autogen.sh ?
>
> It does everything we need, and meets all the standards (like build-
> api). If you’ve got improvements to make, please make them on that
> page.
>
> Sebastian: the paragraph immediately above the example does say that
> you should remove one or both of the intltoolize/glib-gettextize calls
> as appropriate.
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]