Commit Graph

48 Commits

Author SHA1 Message Date
Dan Winship
721e917cb6 wimax: drop WiMAX support (bgo #747846)
Even Fedora is no longer shipping the WiMAX SDK, so it's likely we'll
eventually accidentally break some of the code in src/devices/wimax/
(if we haven't already). Discussion on the list showed a consensus for
dropping support for WiMAX.

So, remove the SDK checks from configure.ac, remove the WiMAX device
plugin and associated manager support, and deprecate all the APIs.

For compatibility reasons, it is still possible to create and save
WiMAX connections, to toggle the software WiMAX rfkill state, and to
change the "WIMAX" log level, although none of these have any effect,
since no NMDeviceWimax will ever be created.

nmcli was only compiling in support for most WiMAX operations when NM
as a whole was built with WiMAX support, so that code has been removed
now as well. (It is still possible to use nmcli to create and edit
WiMAX connections, but those connections will never be activatable.)
2015-04-17 12:42:23 -04:00
You-Sheng Yang
738649c1d5 docs: fix out-of-tree build
When compiling NetworkManager with --enable-gtk-doc outside the
source tree, the generated documents are slightly different from
those generated in tree. This patch fixes that missed COPYING file in
$(top_builddir) and adds $(top_builddir)/libnm-util to DOC_SOURCE_DIR.

https://bugzilla.gnome.org/show_bug.cgi?id=742139

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
2015-01-03 13:12:44 +01:00
Dan Winship
c7341c982d man, docs: add the secret flags notes non-hackishly
Since libnm-core secret-flags properties are now enum-typed rather
than just being uints, we can now actually recognize them when
generating docs, rather than just assuming that every property whose
name ends in '-flags', but isn't in NMSettingDcb, is a secret-flags
property.
2014-11-19 09:24:10 -05:00
Dan Winship
c14486984e libnm, libnm-util: move settings doc generation to libnm-core
Move the settings/plugins doc generation from libnm-util to
libnm-core, since libnm-util isn't being updated for all new
properties.

With this commit, the keyfile and ifcfg-rh documentation is basically
unchanged, except that deprecated properties are now gone, and new
properties have been added, and the sections are in a different order.
(generate-plugin-docs.pl just outputs the settings in Makefile order,
and they were unsorted in libnm-util, but are sorted in libnm-core).

The settings documentation used for nm-settings.5, the D-Bus API docs,
and the nmcli help is changed a bit more at this point, and mostly for
the worse, since the libnm-core setting properties don't match up with
the D-Bus API as well as the libnm-util ones do. To be fixed...

(I also removed the "plugins docs" line in each plugin docs comment
block while moving them, since those blocks will be used for more than
just plugins soon, and it's sort of obvious anyway.)
2014-11-19 09:24:09 -05:00
Dan Winship
16a9fc49dd docs: make the settings docs work from tarball builds
docs/api/settings-spec.xml was accidentally not getting disted,
because gtk-doc.make explicitly removes all DISTCLEANFILES from
distdir. However, it doesn't actually make sense for the settings docs
files to be in DISTCLEANFILES anyway; they were put there rather than
CLEANFILES (IIRC) so that "make clean" in a tarball build wouldn't
delete them and break things. But the right fix is to just make them
only be in CLEANFILES when BUILD_SETTING_DOCS is true, and not ever
get deleted otherwise.

Also adjust the build rules to ensure that the generated docs don't
get rebuilt in tarball builds, since that can cause problems when
building from a read-only source tree, etc.

Meanwhile, in an unrelated but also fatal bug, configure.ac's check
for if the generated docs were already present never got updated for
the cli/src -> clients/cli move, and so even if we had been disting
settings-spec.xml, configure would still think that the tarball didn't
have all of the generated docs in it, so SETTING_DOCS_AVAILABLE would
be set false and none of the generated docs would get used.

https://bugzilla.gnome.org/show_bug.cgi?id=740035
2014-11-14 17:14:18 -05:00
Dan Winship
377f72a66f build: fix nm-setting-docs build in various configurations
Certain build configurations (like --enable-gtk-doc
--disable-introspection) were broken with respect to nm-setting-docs.
Fix this. Also, we don't require just gobject-introspection, we need
pygobject specifically as well.
2014-06-27 17:24:57 -04:00
Dan Winship
cceb773510 docs: generate settings-spec.xml from libnm-util/nm-setting-docs.xml
Generate docs/api/settings-spec.xml via an XSLT stylesheet applied to
libnm-util/nm-setting-docs.xml.
2014-06-19 17:45:02 -04:00
Dan Williams
a9b9330bed build: fix builddir != srcdir when building D-Bus API spec HTML 2013-08-29 13:43:03 -05:00
Dan Williams
3a5bf0517c build: always generate docs at dist time (bgo #700093)
dist tarballs shouldn't ever be released without the documentation,
and this allows us to build the tarballs with pre-generated docs
that get installed on the end system, but don't need to be built
there.  So the end system doesn't need gtk-doc installed, only
the dist system does.

https://bugzilla.gnome.org/show_bug.cgi?id=700093
2013-05-14 10:53:46 -05:00
Jiří Klimeš
76b5e24ac9 build: fix build with --enable-doc (docs/api/Makefile.am)
"./autogen.sh --enable-doc && make" produced this error:
warning: failed to load external entity "../settings-spec.xml"
../network-manager-docs.xml:57: element include: XInclude error : could not load ../settings-spec.xml, and no fallback was found

Removing settings-spec.xml from $(content_files) made the file non-DISTed but it
also removed the file as a dependency for html-build.stamp that also runs
cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
and $(DOC_MAIN_SGML_FILE) includes settings-spec.xml.

Fix that by making $(DOC_MAIN_SGML_FILE) dependent on setting-spec.xml.
2013-02-12 17:25:20 +01:00
Dan Williams
a78d66bb38 build: fix distcheck when building settings specification XML
The generated settings-spec.xml should not be DIST-ed because it's
regenerated every time libnm-util changes.  That meants it gets
rebuilt during 'make' even from a dist tarball.  Thus, it shouldn't
be part of the dist tarball itself.

In addition, settings-spec.html shouldn't be included in
$(content_files) becuase this is added to EXTRA_DIST by gtk-doc.make.

Since generate-settings-spec.c the move from docs/api/ to tools/,
this started breaking distcheck even though the original Makefile
rules were wrong too.
2013-02-05 15:26:05 -06:00
Jiří Klimeš
2981953e47 tools: move generate-settings-spec to tools 2013-02-05 18:25:03 +01:00
Jiří Klimeš
029e613288 docs: generate refentry xml in addition to Docbook book xml for settings-spec
The refentry xml is used to generate manual page with settings description.

The invocation is:
generate-settings-spec <type> <output file> [<type> <output file>]
where <type> is  "book" or "refentry"
2013-02-05 18:22:33 +01:00
Jiří Klimeš
c43772a854 docs: add ADSL setting to API specs 2013-01-15 12:10:10 +01:00
Dan Williams
d723457ac7 libnm-util: add NMSettingBridgePort 2012-11-30 13:21:50 -06:00
Dan Williams
8ecded9a9b libnm-util: add NMSettingBridge 2012-11-30 13:21:50 -06:00
Pavel Šimerda
1b0b943663 build: clean all files on 'make distclean' 2012-11-13 23:13:25 +01:00
Pavel Šimerda
e6d1fc8755 build: fix more srcdir != builddir issues 2012-11-13 22:00:28 +01:00
Dan Williams
4eb4402c01 build: fix srcdir != builddir issue 2012-11-13 14:18:04 -06:00
Pavel Šimerda
faa1bcb540 build: improve documentation and test configure options
Use --enable-doc and --enable-tests instead of --with-docs and
--with-tests. This is consistent with other features and with
--enable-gtk-doc option. Support current variants as fallback.

Don't build tests unless --enable-tests is specified.
2012-11-13 20:23:06 +01:00
Dan Williams
aab6de97bb docs: auto-version documentation and fix up copyright and authorship 2012-08-06 22:04:06 -05:00
Jiří Klimeš
915cfe8ce8 docs: update FSF address in license headers 2012-07-26 16:25:20 +02:00
Robert Shade
0677bf9c07 doc: fix build with build with gtk-doc < 1.15
gtk-doc < 1.15 does not handle a missing DOC_SOURCE_DIR
2012-07-02 12:29:52 -05:00
Dan Williams
a10a8be7c3 docs: fix 'make distcheck' API doc xslt paths
Since all.xml is a built file these days, and will contain paths
relative to $(top_srcdir)/introspection even though it's not in
that directory, it seems we need to clue xsltproc into where the
other API XML files really are.
2012-03-14 12:48:51 -05:00
Dan Williams
9296fd1ad0 docs: add Infiniband, VLAN, and Bond settings to API specs 2012-03-06 00:38:38 -06:00
Dan Williams
200297b617 docs: fix settings service object path name in migration guide 2011-12-19 11:24:02 -06:00
Dan Williams
389c847a78 doc: fix a settings specification type 2011-08-22 18:15:41 -05:00
Dan Williams
6c901ab040 api: update version based on configure version
Instead of manually which is error-prone.
2011-08-06 11:19:33 +02:00
Dan Williams
1701df4b75 core: add active connection state DEACTIVATING
Not used yet, but will be when device deactivating state gets
used.  Should be 100% backwards compatible with users that don't
know about it for now.
2011-03-17 14:23:21 -05:00
Dan Williams
100580b7fe docs: fix distcheck error building settings spec
Apparently sometimes when doing the distcheck the generator can't
open the file for writing (gets ENOACCESS) presumably because there's
already a file there that's read-only.  So remove any existing
settings spec before regenerating.
2011-03-14 10:56:56 -05:00
Dan Williams
62ad893a4a core: bring the state() D-Bus method back
It's a lot easier for app developers to use.
2011-03-08 12:57:35 -06:00
Dan Williams
e05fd1cc47 docs: fix distcheck and ensure spec.html gets put in the right place
gtk-doc removes the 'html' directory as part of the build process
so we need to have spec.html generation depend on the gtk-doc html
target.  Also, fix up the paths to make sure the generated spec.html
gets copied into the final 'html' directory.
2011-03-04 14:38:28 -06:00
Dan Williams
32c262e1ae docs: more migration guide updates 2011-03-04 14:20:40 -06:00
Dan Williams
29fa747f69 trivial: fix misspelling 2011-03-04 13:47:28 -06:00
Dan Williams
02d01b7dfd docs: more migration guide updates 2011-03-04 12:51:16 -06:00
Dan Williams
1f770a33ca docs: migration guide updates and additions 2011-03-03 20:45:42 -06:00
Dan Williams
173773c3b6 docs: fix distcheck 2011-02-23 16:27:16 -06:00
Dan Williams
41c4476469 docs: update migration guide for more changes 2011-02-23 10:44:16 -06:00
Dan Williams
53cb0af587 docs: ensure spec.html always gets into HTML docs directory 2011-02-23 10:42:16 -06:00
Dan Williams
efd80ab4bc docs: ensure dbus spec can be copied to html dir (bgo #642853) 2011-02-21 18:26:55 -06:00
Dan Williams
56e19a7895 docs: fix migration TOC to include individual sections
We don't need to nest as deeply and we want the individual migration
bullet points to be top-level sections anyway.
2011-02-18 15:02:25 -06:00
Dan Williams
10c57a0562 docs: add in-progress section on migrating to NM 0.9 2011-02-18 14:58:03 -06:00
Dan Williams
dd12571eb8 docs: explain secrets flags in settings specification 2011-02-18 14:07:11 -06:00
Dan Williams
b1c1f0c359 docs: don't wordwrap setting keys or types in setting specification 2011-02-18 12:56:41 -06:00
Dan Williams
6ef8a6d12d docs: convert settings specification to docbook 2011-02-18 11:25:48 -06:00
Dan Williams
d4b3bde755 docs: add WiMAX setting to settings spec 2011-02-16 22:36:44 -06:00
Dan Williams
0a3a4222af docs: fix distcheck 2011-02-16 16:39:43 -06:00
Dan Williams
a90a7f7dd2 docs: create new master NM documentation module 2011-02-16 16:24:16 -06:00