Document new dependencies
authorMatthias Clasen <matthiasc@src.gnome.org>
Sun, 6 Jan 2008 17:48:41 +0000 (17:48 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 6 Jan 2008 17:48:41 +0000 (17:48 +0000)
svn path=/trunk/; revision=6252

ChangeLog
INSTALL.in
README.in
docs/reference/ChangeLog
docs/reference/glib/building.sgml

index 6ba85ca..a0764b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
 
+       * README.in, INSTALL.in: Document new dependencies.
+
+2008-01-06  Matthias Clasen  <mclasen@redhat.com>
+
        * gio-2.0.pc.in, gio-2.0-uninstalled.pc.in: Require glib-2.0
        (#507628)
 
index 2181257..4cb12b4 100644 (file)
@@ -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
 ================
 
index 6904373..b5527f4 100644 (file)
--- 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
 =====================
 
index 23af077..a6ef3be 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/building.sgml: Document new dependencies and 
+       configure options.
+
 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
 
        * gio/migrating.xml: Fixed invalid XML entity
index 4141a63..0274f3d 100644 (file)
@@ -156,6 +156,22 @@ How to compile GLib itself
          but it is not recommended.
        </para>
       </listitem>
+      <listitem>
+        <para>
+          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 <option>--disable-xattr</option> 
+          configure option.
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          The optional SELinux support in GIO requires libselinux. To build 
+          GLib without SELinux support, use the 
+          <option>--disable-selinux</option> configure option.
+        </para>
+      </listitem>
     </itemizedlist>
 
     </refsect1>
@@ -210,6 +226,14 @@ How to compile GLib itself
             <arg>--disable-man</arg>
             <arg>--enable-man</arg>
           </group>
+          <group>
+            <arg>--disable-xattr</arg>
+            <arg>--enable-xattr</arg>
+          </group>
+          <group>
+            <arg>--disable-selinux</arg>
+            <arg>--enable-selinux</arg>
+          </group>
         </cmdsynopsis>
       </para>
 
@@ -504,6 +528,33 @@ How to compile GLib itself
         </para>
       </formalpara>
 
+      <formalpara>
+        <title><systemitem>--disable-xattr</systemitem> and
+          <systemitem>--enable-xattr</systemitem></title>
+
+        <para>
+          By default the <command>configure</command> 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.
+        </para>
+     </formalpara>
+
+      <formalpara>
+        <title><systemitem>--disable-selinux</systemitem> and
+          <systemitem>--enable-selinux</systemitem></title>
+
+        <para>
+          By default the <command>configure</command> 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.
+        </para>
+     </formalpara>
    </refsect1>
 
 </refentry>