From dbc8cd84c5466dee54b9e730716112f9a4dc8fec Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 6 Jan 2008 17:48:41 +0000 Subject: [PATCH] Document new dependencies svn path=/trunk/; revision=6252 --- ChangeLog | 4 +++ INSTALL.in | 5 +++ README.in | 8 +++++ docs/reference/ChangeLog | 5 +++ docs/reference/glib/building.sgml | 51 +++++++++++++++++++++++++++++++ 5 files changed, 73 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6ba85ca4..a0764b1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-06 Matthias Clasen + + * README.in, INSTALL.in: Document new dependencies. + 2008-01-06 Matthias Clasen * gio-2.0.pc.in, gio-2.0-uninstalled.pc.in: Require glib-2.0 diff --git a/INSTALL.in b/INSTALL.in index 21812575..4cb12b4f 100644 --- a/INSTALL.in +++ b/INSTALL.in @@ -60,6 +60,11 @@ available from: http://www.gnu.org/software/gettext/ + +Support for extended attributes and SELinux in GIO requires +libattr and libselinux. + + The Nitty-Gritty ================ diff --git a/README.in b/README.in index 6904373c..b5527f45 100644 --- a/README.in +++ b/README.in @@ -24,6 +24,14 @@ Installation See the file 'INSTALL' +Notes about GLib 2.16 +===================== + +* GLib now includes GIO, which adds optional dependencies against libattr + and libselinux for extended attribute and SELinux support. Use + --disable-xattr and --disable-selinux to build without these. + + Notes about GLib 2.10 ===================== diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 23af077c..a6ef3be7 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2008-01-06 Matthias Clasen + + * glib/building.sgml: Document new dependencies and + configure options. + 2007-12-31 Wouter Bolsterlee * gio/migrating.xml: Fixed invalid XML entity diff --git a/docs/reference/glib/building.sgml b/docs/reference/glib/building.sgml index 4141a63e..0274f3d1 100644 --- a/docs/reference/glib/building.sgml +++ b/docs/reference/glib/building.sgml @@ -156,6 +156,22 @@ How to compile GLib itself but it is not recommended. + + + The optional extended attribute support in GIO requires the + getxattr() family of functions that may be provided by glibc or + by the standalone libattr library. To build GLib without extended + attribute support, use the + configure option. + + + + + The optional SELinux support in GIO requires libselinux. To build + GLib without SELinux support, use the + configure option. + + @@ -210,6 +226,14 @@ How to compile GLib itself --disable-man --enable-man + + --disable-xattr + --enable-xattr + + + --disable-selinux + --enable-selinux + @@ -504,6 +528,33 @@ How to compile GLib itself + + <systemitem>--disable-xattr</systemitem> and + <systemitem>--enable-xattr</systemitem> + + + By default the configure script will try + to auto-detect whether the getxattr() family of functions + is available. If it is, then extended attribute support + will be included in GIO. These options can be used to + explicitly control whether extended attribute support + should be included or not. getxattr() and friends can + be provided by glibc or by the standalone libattr library. + + + + + <systemitem>--disable-selinux</systemitem> and + <systemitem>--enable-selinux</systemitem> + + + By default the configure script will + auto-detect if libselinux is available and include + SELinux support in GIO if it is. These options can be + used to explicitly control whether SELinxu support should + be included. + + -- 2.34.1