HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to dev-util/gtk-doc/1.15

dev-util/gtk-doc/1.15: gtk-doc-1.15.patch

File gtk-doc-1.15.patch, 4.3 KB (added by michaelvoliveira, 5 years ago)

patch to remove the dependency of OASIS DTD DocBook? XML V4.3

  • configure

    diff -Naur gtk-doc-1.15/configure gtk-doc-1.15-haiku/configure
    old new  
    1290012900fi 
    1290112901 
    1290212902 
    12903   # check for the presence of the XML catalog 
    12904  
    12905 # Check whether --with-xml-catalog was given. 
    12906 if test "${with_xml_catalog+set}" = set; then 
    12907   withval=$with_xml_catalog; 
    12908 else 
    12909   with_xml_catalog=/etc/xml/catalog 
    12910 fi 
    12911  
    12912   jh_found_xmlcatalog=true 
    12913   XML_CATALOG_FILE="$with_xml_catalog" 
    12914  
    12915   { $as_echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5 
    12916 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; } 
    12917   if test -f "$XML_CATALOG_FILE"; then 
    12918     { $as_echo "$as_me:$LINENO: result: found" >&5 
    12919 $as_echo "found" >&6; } 
    12920   else 
    12921     jh_found_xmlcatalog=false 
    12922     { $as_echo "$as_me:$LINENO: result: not found" >&5 
    12923 $as_echo "not found" >&6; } 
    12924   fi 
    12925  
    12926   # check for the xmlcatalog program 
    12927   # Extract the first word of "xmlcatalog", so it can be a program name with args. 
    12928 set dummy xmlcatalog; ac_word=$2 
    12929 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 
    12930 $as_echo_n "checking for $ac_word... " >&6; } 
    12931 if test "${ac_cv_path_XMLCATALOG+set}" = set; then 
    12932   $as_echo_n "(cached) " >&6 
    12933 else 
    12934   case $XMLCATALOG in 
    12935   [\\/]* | ?:[\\/]*) 
    12936   ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path. 
    12937   ;; 
    12938   *) 
    12939   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    12940 for as_dir in $PATH 
    12941 do 
    12942   IFS=$as_save_IFS 
    12943   test -z "$as_dir" && as_dir=. 
    12944   for ac_exec_ext in '' $ac_executable_extensions; do 
    12945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
    12946     ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext" 
    12947     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    12948     break 2 
    12949   fi 
    12950 done 
    12951 done 
    12952 IFS=$as_save_IFS 
    12953  
    12954   test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no" 
    12955   ;; 
    12956 esac 
    12957 fi 
    12958 XMLCATALOG=$ac_cv_path_XMLCATALOG 
    12959 if test -n "$XMLCATALOG"; then 
    12960   { $as_echo "$as_me:$LINENO: result: $XMLCATALOG" >&5 
    12961 $as_echo "$XMLCATALOG" >&6; } 
    12962 else 
    12963   { $as_echo "$as_me:$LINENO: result: no" >&5 
    12964 $as_echo "no" >&6; } 
    12965 fi 
    12966  
    12967  
    12968   if test "x$XMLCATALOG" = xno; then 
    12969     jh_found_xmlcatalog=false 
    12970   fi 
    12971  
    12972   if $jh_found_xmlcatalog; then 
    12973     : 
    12974   else 
    12975     : 
    12976   fi 
    12977  
    12978  
    12979     { $as_echo "$as_me:$LINENO: checking for DocBook XML DTD V4.3 in XML catalog" >&5 
    12980 $as_echo_n "checking for DocBook XML DTD V4.3 in XML catalog... " >&6; } 
    12981   if $jh_found_xmlcatalog && \ 
    12982      { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.3//EN\" >&2") >&5 
    12983   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" >&2) 2>&5 
    12984   ac_status=$? 
    12985   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12986   (exit $ac_status); }; then 
    12987     { $as_echo "$as_me:$LINENO: result: found" >&5 
    12988 $as_echo "found" >&6; } 
    12989       else 
    12990     { $as_echo "$as_me:$LINENO: result: not found" >&5 
    12991 $as_echo "not found" >&6; } 
    12992     { { $as_echo "$as_me:$LINENO: error: could not find DocBook XML DTD V4.3 in XML catalog" >&5 
    12993 $as_echo "$as_me: error: could not find DocBook XML DTD V4.3 in XML catalog" >&2;} 
    12994    { (exit 1); exit 1; }; } 
    12995   fi 
    12996  
    12997  
    12998     { $as_echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5 
    12999 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; } 
    13000   if $jh_found_xmlcatalog && \ 
    13001      { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl\" >&2") >&5 
    13002   ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" >&2) 2>&5 
    13003   ac_status=$? 
    13004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13005   (exit $ac_status); }; then 
    13006     { $as_echo "$as_me:$LINENO: result: found" >&5 
    13007 $as_echo "found" >&6; } 
    13008       else 
    13009     { $as_echo "$as_me:$LINENO: result: not found" >&5 
    13010 $as_echo "not found" >&6; } 
    13011     { { $as_echo "$as_me:$LINENO: error: could not find DocBook XSL Stylesheets in XML catalog" >&5 
    13012 $as_echo "$as_me: error: could not find DocBook XSL Stylesheets in XML catalog" >&2;} 
    13013    { (exit 1); exit 1; }; } 
    13014   fi 
    13015  
    13016  
    1301712903HIGHLIGHT_OPTIONS="" 
    1301812904# Extract the first word of "source-highlight", so it can be a program name with args. 
    1301912905set dummy source-highlight; ac_word=$2 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/