summaryrefslogtreecommitdiff
path: root/autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* build: stop relying on intltool for i18nMartin Blanchard2022-06-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent gettext version can extract and merge back strings from and to various file formats, no need for intltool anymore. https://wiki.gnome.org/Initiatives/GnomeGoals/GettextMigration https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/133 https://github.com/NetworkManager/NetworkManager/pull/303 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/96 Clarification about the use of AM_GNU_GETTEXT_REQUIRE_VERSION: In configure.ac, specify the minimum gettext version we require, rather than the exact one. This fixes a situation where the autoconf macros used for gettext will be the latest available on the system (for example, 0.20); but the copied-in Makefile.in.in will be for the exact version specified in configure.ac (in this case, 0.19). In that situation, the gettext build rules will error out at `make` time with the message: *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20 Avoid that by specifying a minimum version dependency rather than an exact one. This should not cause problems as we haven’t committed any generated or external gettext files into git, so each developer will end up regenerating the build system for their system’s version of gettext, as expected. See the subsection of https://www.gnu.org/software/gettext/manual/html_node/Version-Control-Issues.html for more information. Note that autoreconf currently doesn’t recognise AM_GNU_GETTEXT_REQUIRE_VERSION, so we must continue also using AM_GNU_GETTEXT_VERSION. autopoint will ignore the latter if the former is present. See https://lists.gnu.org/archive/html/autoconf-patches/2015-10/msg00000.html. [lkundrak@v3.sk: Fixed the meson build, adjusted autogen.sh: droped "|| exit 1", dropped call to aclocal, dropped --copy from gtkdocize.]
* all: move "src/" directory to "src/core/"Thomas Haller2021-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently "src/" mostly contains the source code of the daemon. I say mostly, because that is not true, there are also the device, settings, wwan, ppp plugins, the initrd generator, the pppd and dhcp helper, and probably more. Also we have source code under libnm-core/, libnm/, clients/, and shared/ directories. That is all confusing. We should have one "src" directory, that contains subdirectories. Those subdirectories should contain individual parts (libraries or applications), that possibly have dependencies on other subdirectories. There should be a flat hierarchy of directories under src/, which contains individual modules. As the name "src/" is already taken, that prevents any sensible restructuring of the code. As a first step, move "src/" to "src/core/". This gives space to reorganize the code better by moving individual components into "src/". For inspiration, look at systemd's "src/" directory. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/743
* format: replace tabs with spaces in sheell scriptsThomas Haller2020-09-291-1/+1
|
* all: goodbye libnm-glibLubomir Rintel2019-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This removes libnm-glib, libnm-glib-vpn, and libnm-util for good. The it has been replaced with libnm since NetworkManager 1.0, disabled by default since 1.12 and no up-to-date distributions ship it for years now. Removing the libraries allows us to: * Remove the horrible hacks that were in place to deal with accidental use of both the new and old library in a single process. * Relief the translators of maintenance burden of similar yet different strings. * Get rid of known bad code without chances of ever getting fixed (libnm-glib/nm-object.c and libnm-glib/nm-object-cache.c) * Generally lower the footprint of the releases and our workspace If there are some really really legacy users; they can just build libnm-glib and friends from the NetworkManager-1.16 distribution. The D-Bus API is stable and old libnm-glib will keep working forever. https://github.com/NetworkManager/NetworkManager/pull/308
* Revert "all: goodbye libnm-glib"Lubomir Rintel2019-04-031-1/+1
| | | | | | We need this for a little little longer :( This reverts commit 1de8383ad9fdfc8f552117e5d109bdfa7005634b.
* all: goodbye libnm-glibLubomir Rintel2019-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This removes libnm-glib, libnm-glib-vpn, and libnm-util for good. The it has been replaced with libnm since NetworkManager 1.0, disabled by default since 1.12 and no up-to-date distributions ship it for years now. Removing the libraries allows us to: * Remove the horrible hacks that were in place to deal with accidental use of both the new and old library in a single process. * Relief the translators of maintenance burden of similar yet different strings. * Get rid of known bad code without chances of ever getting fixed (libnm-glib/nm-object.c and libnm-glib/nm-object-cache.c) * Generally lower the footprint of the releases and our workspace If there are some really really legacy users; they can just build libnm-glib and friends from the NetworkManager-1.16 distribution. The D-Bus API is stable and old libnm-glib will keep working forever. https://github.com/NetworkManager/NetworkManager/pull/308
* build: disable libnm-glib by defaultLubomir Rintel2018-06-151-1/+1
| | | | | | | It's deprecated and has been replaced by libnm for 6 major releases now. Its use in modern distributions has faded to the point it can probably be safely removed.
* build: fix gtk-doc/introspection handling for buildThomas Haller2016-11-281-1/+1
| | | | | | | | | | | | | | | | | - `make dist` requires --enable-gtk-doc --enable-introspection --with-libnm-glib - --enable-gtk-doc requires --enable-introspection - --with-nmcli requires either --enable-introspection or pregenerated settings-docs.c files from the dist tarball. It does not require --enable-gtk-doc. There is a bit of a problem in that --enable-introspection requires now xsltproc. However, gobject-introspection does itself not depend on xsltproc. So, more correct might be a special --enable-doc argument, that combines --enable-introspection --with-xsltproc. Anyway, that seems to make it more complicated then it already is so just implicitly (and surprisingly?) require xsltproc with --enable-introspection. https://bugzilla.gnome.org/show_bug.cgi?id=775003
* build: enable --with-introspection in default configure options of autogen.shThomas Haller2016-11-241-1/+1
|
* build: enable gtk-doc by defaultlr/see-if-gtk-doc-worksLubomir Rintel2016-11-211-1/+1
|
* Revert "build: fix autogen.sh for builddir != srcdir"Thomas Haller2016-06-061-2/+2
| | | | | | | This breaks build with older versions of gtkdocize that don't understand yet --srcdir. This reverts commit ed7ee64d4e92f1aad14f53ec8898d1ae0a319c86.
* build: fix autogen.sh for builddir != srcdirBastien Nocera2016-06-061-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=767207
* autogen.sh: print errors to stderr, printf instead echo -nPetr Vorel2015-07-021-2/+2
| | | | Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
* build: don't default to -Werrorlr/ancient-ubuntuLubomir Rintel2015-06-021-1/+1
| | | | | | | | | | It seems like a poor default for various downstream toolchains. We can't anticipate the compiler warnings for future compiler versions and older ones are prone to false positives. Also, older gdbus-codegen is known to generate code that triggers compiler warnings. Let's keep it enabled for maintainer builds and distcheck so that we're sure a tool chain that builds releases without warnings exists.
* build: remove setup of git-submodules in autogen.shThomas Haller2014-07-151-7/+0
| | | | Signed-off-by: Thomas Haller <thaller@redhat.com>
* build: drop the libndp submoduleDan Winship2014-02-031-1/+1
| | | | | libndp has existed for a while now. 1.0 was released six months ago. So drop the submodule and just require an installed package.
* autogen.sh: pass --enable-static=libndpDan Winship2013-07-301-1/+1
| | | | | | jhbuild (in the suggested configuration) passes --disable-static, but we need static libndp at least. So tweak autogen.sh to ensure that happens.
* autogen: use set -e to propagate errorsColin Walters2013-06-201-3/+7
| | | | Previously we'd just blindly continue if e.g. autoreconf failed.
* autogen.sh: only set up submodules if we have a .git directoryColin Walters2013-06-201-3/+5
| | | | This way we do the right thing for tarball builds.
* build: out of src build directory fix.Alban Browaeys2013-06-151-5/+9
| | | | | | Split srcdir work and builddir work more explicitely, and fixes a newly introduced issue (git work done out of the srcdir section).
* build: always init and update submodules in ./autogen.shPavel Šimerda2013-05-301-6/+3
|
* core: add libgsystem as a git submoduleColin Walters2013-05-161-0/+8
| | | | | | | | | And change src/main.c to use the local allocation macros. This results in much cleaner code, as one can see from the diff. Because libgsystem is designed for nonrecursive make, it fits best in the current recursive setup if we build . first. This will be a lot nicer when we switch NM to a nonrecursive setup.
* build: quote $@ in autogen.shEvan Nemerson2012-12-031-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689512
* build: autogen.sh can now configure from another directoryPavel Šimerda2012-11-131-3/+3
| | | | | | | | | Example: $ mkdir -p _build $ cd _build $ ../autogen.sh ...configure-options... $ make
* build: honor NOCONFIGURE (bgo #659354)Colin Walters2011-09-191-1/+3
|
* build: use upstream gettext instead of glib one (bgo #644264)Javier Jardón2011-03-141-3/+2
|
* trivial: replace NetworkManager.c occurence after renaming to main.cJiří Klimeš2010-03-031-1/+1
|
* Update autogen.sh for configure.acMichael Biebl2009-05-021-1/+1
|
* 2008-08-18 Dan Williams <dcbw@redhat.com>Dan Williams2008-08-181-1/+1
| | | | | | | | | | | | | Patch from Robert Buchholz <rbu@gentoo.org> * autogen.sh configure.in - Change to automake 1.9 and 'ustar' tar format defined by POSIX 1003.1-1988, allowing for file names longer than 99 characters git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3982 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-08-12 Tambet Ingo <tambet@gmail.com>Tambet Ingo2008-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Start documenting libnm-glib public API using gtk-doc. * libnm-glib/nm-serial-device.c: * libnm-glib/nm-object.c: * libnm-glib/nm-gsm-device.c: * libnm-glib/nm-device.c: * libnm-glib/nm-device-wifi.c: * libnm-glib/nm-device-ethernet.c: * libnm-glib/nm-client.c: * libnm-glib/nm-cdma-device.c: Document the public API. * docs/libnm-glib/libnm-glib.types: Implement. * docs/libnm-glib/Makefile.am: Implement. * autogen.sh: * configure.in: * Makefile.am: Add gtk-doc support. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3932 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-03-06 Dan Williams <dcbw@redhat.com>Dan Williams2008-03-071-7/+6
| | | | | | | | | * autogen.sh - Die gnome-common, die git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3383 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2007-09-13 Tambet Ingo <tambet@gmail.com>Tambet Ingo2007-09-131-1/+1
| | | | | | | * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2799 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Dan is stupidBryan W. Clark2004-10-211-1/+1
| | | | git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@262 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>Jonathan Blandford2004-08-261-57/+12
| | | | | | | | | | | | | | | | | | | | | | * Makefile.am: add po as a supdir * autogen.sh: use gnome-autogen.sh * initscript/Gentoo/.cvsignore: * initscript/RedHat/.cvsignore: Shut up cvs * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo. * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu), (nmwa_fill): Use gettext. * configure.in: add gettext support * po/.cvsignore: * po/NetworkManager.pot: * po/POTFILES.in: git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@80 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2004-08-06 Seth Nickell <seth@gnome.org>Seth Nickell2004-08-061-3/+3
| | | | | | | | | | | | | | | | | | | | | * aclocal.m4: Autogenerated, remove from CVS. * autogen.sh: Don't hardcode automake version. * configure.in: * info-daemon/Makefile.am: * info-daemon/NetworkManagerInfo.c: (main): Use GnomeProgram et al. for doing session management. Use popt stuff for argument parsing rather than doing it manugally. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@38 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Initial revisionDan Williams2004-06-241-0/+68
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2 4912f4e0-d625-0410-9fb7-b9a5a253dbdc