Changeset 3680

Show
Ignore:
Timestamp:
05/25/08 16:12:27
Author:
pvanhoof
Message:

Documentation updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/requirements.txt

    r1534 r3680  
    5252add --enable-python-bindings to the autogen.sh line. 
    5353 
     54If you also want to build the .NET bindings, read bindings/dotnet/README. You'll 
     55need to checkout gtk-sharp and apply two patches, then rebuild it and install it 
     56in for example /opt/gtk-sharp. It's possible that the patches have been accepted 
     57upstream by the time that you read this. 
     58 
     59If you also want to (re)build the Vala bindings, you'll need vapigen and valac, 
     60for more information check the README file in bindings/vala/README 
     61 
    5462Redhat, Fedora, etc etc 
    5563----------------------- 
  • trunk/m4/gtk-doc.m4

    r3465 r3680  
    2222    [enable_gtk_doc=no]) 
    2323 
    24   have_gtk_doc=no 
    2524  if test x$enable_gtk_doc = xyes; then 
    26     if test -z "$PKG_CONFIG"; then 
    27       AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no]) 
    28     fi 
    29     if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then 
    30       have_gtk_doc=yes 
    31     fi 
     25    ifelse([$1],[], 
     26      [PKG_CHECK_EXISTS([gtk-doc],, 
     27                        AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))], 
     28      [PKG_CHECK_EXISTS([gtk-doc >= $1],, 
     29                        AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))]) 
     30  fi 
    3231 
    33   dnl do we want to do a version check? 
    34 ifelse([$1],[],, 
    35     [gtk_doc_min_version=$1 
    36     if test "$have_gtk_doc" = yes; then 
    37       AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version]) 
    38       if $PKG_CONFIG --atleast-version $gtk_doc_min_version gtk-doc; then 
    39         AC_MSG_RESULT([yes]) 
    40       else 
    41         AC_MSG_RESULT([no]) 
    42         have_gtk_doc=no 
    43       fi 
    44     fi 
    45 ]) 
    46     if test "$have_gtk_doc" != yes; then 
    47       enable_gtk_doc=no 
    48     fi 
    49   fi 
     32  AC_MSG_CHECKING([whether to build gtk-doc documentation]) 
     33  AC_MSG_RESULT($enable_gtk_doc) 
     34 
     35  AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,) 
    5036 
    5137  AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])