Re: Documentation for build system setup



On Thu, Feb 09, 2017 at 04:14:13PM +0100, Sebastian Geiger (Lanoxx) wrote:
I have just updated the wiki, please let me know if something I changed
is not right:

https://wiki.gnome.org/Projects/GnomeCommon/Migration

This is probably bikeshedding, but it's easier to remove lines than
adding lines, after copying the template.

--
Sébastien

On 09/02/17 15:03, Emmanuele Bassi wrote:
On 9 February 2017 at 13:57, Sebastian Geiger (Lanoxx) <lanoxx gmx net> wrote:
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
Those look like good changes, indeed. Feel free to update the wiki.

Ciao,
 Emmanuele.

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



_______________________________________________
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]