Is gtk-doc a required dedpendency?
André Miranda
andre42m at gmail.com
Sun Jun 16 23:23:14 CEST 2019
Please file a bug for xfce4-dev-tools, a patch for xdt-autogen.in.in is
welcome.
Cheers,
Andre Miranda
On 10/06/2019 06:07, Jose Luis Pavón - jolupa wrote:
> Ok.
> I send a log that someone in the CRUX list, with more knoledge than me, send me about the building log, first sorry 'cause I sayd that the program is xfwm4 but it's libxfce4util.
> So the one calling the gtk-doc is autogen.sh is not respecting the gtk-doc disable flag we pass in the configure options.
> So we have, I think, two options add gtk-doc as a required dependency or making the configure respects the flags to no building or check for the gtk-doc.
> Is necessary that I open a bug?
> Thanks a lot.
>
> On Mon, Jun 10, 2019 at 03:23:26AM +0000, David L. Craig wrote:
>> On 19Jun07:2005+0000, David L. Craig wrote:
>>
>>> On 19Jun07:1740+0200, Jose Luis Pavón wrote:
>>>
>>>> Well I'm reading the Xfce dependency list [1] and gtk-doc is not needed,
>>>> nor as optional. So dou you think is save to put the gtk-doc as dependency?
>>> No, I think the thing to do is kick it upstream to XFCE development to
>>> explain why the configuration is failing so with those particular options.
>>> I might first look at the code to see why it doesn't skip checking for
>>> gtk-doc when gtk-doc disabling is specified, and if a fix is obvious, include
>>> that with the bug report. In fact, I think I will look at that code.
>>>
>>> Are you sure you always built it with gtk-doc not installed?
>> Okay, what I did:
>>
>> 20190606_21:38 dlc df updated the port, so ports -u df jolupalabs, prt-get cache, prtlist, and retry into t14.
>> Installed python3-six successfully, but libxfce4util still incurs the mismatch--sent
>> inquiry ro jolupa re: how to proceed... Jose doubts the dependency, so I'll dig into the
>> autogen to see why it isn't skipping the gtk-doc req. Expand the source tarball into a
>> tempdir and figure out how to trace the configuration.
>> 20190607_21:05 dlc autogen.sh just runs /usr/bin/xdt-autogen using its arguments, and that's another shell
>> script, so make a .orig copy and add the trace logic, pkgrm opensp, openjade, python3-six,
>> and gtk-doc, then invoke the autogen.sh:
>> #### The changes to /usr/bin/xdt-autogen ##########################################################################
>> + diff -C 1 /usr/bin/xdt-autogen.orig /usr/bin/xdt-autogen
>> *** /usr/bin/xdt-autogen.orig 2019-06-05 22:07:01.709861067 +0000
>> --- /usr/bin/xdt-autogen 2019-06-07 20:35:42.783858022 +0000
>> ***************
>> *** 23,24 ****
>> --- 23,28 ----
>> #
>> + # 20190607 dlcusa -- trace script to see why it's ignoring --disable-gtk-doc,
>> + # --disable-gtk-doc-html, and --disable-gtk-doc-pdf
>> + set -xv
>> + echo "`TS` -- running $0 $@" 1>&2
>> #### The log of the autogen.sh invocation #########################################################################
>> + set -e
>> + pkgrm opensp
>> + pkgrm openjade
>> + pkgrm python3-six
>> + pkgrm gtk-doc
>> + mkdir /tmp/root.test.libxfce4util
>> + cd /tmp/root.test.libxfce4util
>> + bsdtar -p -o -xf /usr/ports/jolupalabs/libxfce4util/libxfce4util-4.13.3.tar.gz
>> + cd libxfce4util-4.13.3
>> + ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/libxfce4util --enable-introspection=auto --enable-vala=auto --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf
>> echo "`TS` -- running $0 $@" 1>&2
>> + TS
>> + echo 20190608_234312 UT -- running /usr/bin/xdt-autogen --prefix=/usr --libexecdir=/usr/lib/libxfce4util --enable-introspection=auto --enable-vala=auto --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf
>> 20190608_234312 UT -- running /usr/bin/xdt-autogen --prefix=/usr --libexecdir=/usr/lib/libxfce4util --enable-introspection=auto --enable-vala=auto --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf
>>
>> VERSION="4.12.0"
>> + VERSION=4.12.0
>>
>> XDT_AUTOGEN_VERSION_MAJOR="4"
>> + XDT_AUTOGEN_VERSION_MAJOR=4
>> XDT_AUTOGEN_VERSION_MINOR="12"
>> + XDT_AUTOGEN_VERSION_MINOR=12
>> XDT_AUTOGEN_VERSION_MICRO="0"
>> + XDT_AUTOGEN_VERSION_MICRO=0
>> XDT_AUTOGEN_VERSION_NANO=""
>> + XDT_AUTOGEN_VERSION_NANO=
>> XDT_AUTOGEN_VERSION_REVISION=""
>> + XDT_AUTOGEN_VERSION_REVISION=
>>
>>
>> ##
>> ## a few portability tests
>> ##
>>
>> if test -z "$EGREP"; then
>> if type egrep >/dev/null 2>&1; then
>> EGREP=egrep
>> else
>> EGREP="grep -E"
>> fi
>> fi
>> + test -z
>> + type egrep
>> + EGREP=egrep
>>
>> awk_tests="gawk mawk nawk awk"
>> + awk_tests=gawk mawk nawk awk
>> if test -z "$AWK"; then
>> for a in $awk_tests; do
>> if type $a >/dev/null 2>&1; then
>> AWK=$a
>> break
>> fi
>> done
>> else
>> if ! type $AWK >/dev/null 2>/dev/null; then
>> unset AWK
>> fi
>> fi
>> + test -z
>> + type gawk
>> + AWK=gawk
>> + break
>> if test -z "$AWK"; then
>> echo "xdt-autogen: The 'awk' program (one of $awk_tests) is" >&2
>> echo " required, but cannot be found." >&2
>> exit 1
>> fi
>> + test -z gawk
>>
>> ##
>> ## figures out any subdirs that should be configured as a part
>> ## of recursive configure.
>> ##
>> parse_configure_subdirs()
>> {
>> test -f "$1" && cat "$1" | tr '\\n\\t\\\\' ' ' | sed -ne 's|.*AC_CONFIG_SUBDIRS(\[\{0,1\}\([[:alnum:]_ @/-]\{1,\}\).*|\1|p'
>> }
>>
>> ##
>> ## Helper function to look up configure.{in,ac} files recursively.
>> ##
>> lookup_configure_ac_files()
>> {
>> configure_ac_file=""
>>
>> if test -f "$1/configure.ac"; then
>> configure_ac_file="$1/configure.ac";
>> elif test -f "$1/configure.in"; then
>> configure_ac_file="$1/configure.in";
>> else
>> cat >&2 <<EOF
>> xdt-autogen: Directory "$1" does not look like a package
>> directory, neither configure.ac nor configure.in is
>> present.
>> EOF
>> exit 1
>> fi
>>
>> test "x$configure_ac_file" != "x" && printf "%s" "$configure_ac_file "
>>
>> subdirs=`parse_configure_subdirs ${configure_ac_file}`
>> for subdir in $subdirs; do
>> lookup_configure_ac_files "$1/$subdir";
>> done
>> }
>>
>> ##
>> ## Helper function to look up configure.{in,ac}.in files recursively.
>> ##
>> lookup_configure_ac_in_files()
>> {
>> configure_ac_in_file=""
>>
>> if test -f "$1/configure.ac.in"; then
>> configure_ac_in_file="$1/configure.ac.in";
>> elif test -f "$1/configure.in.in"; then
>> configure_ac_in_file="$1/configure.in.in";
>> fi
>>
>> test "x$configure_ac_in_file" != "x" && printf "%s" "$configure_ac_in_file "
>>
>> subdirs=`parse_configure_subdirs ${configure_ac_in_file}`
>> for subdir in $subdirs; do
>> lookup_configure_ac_in_files "$1/$subdir";
>> done
>> }
>>
>>
>>
>> ##
>> ## check command-line args
>> ##
>> if test "x$1" = "x--version" -o "x$1" = "x-V"; then
>> echo "`basename $0` $VERSION"
>> exit 0
>> fi
>> + test x--prefix=/usr = x--version -o x--prefix=/usr = x-V
>>
>> ##
>> ## see if the caller is requesting a minimum version
>> ##
>> do_version_check() {
>> test -z "$XDT_AUTOGEN_REQUIRED_VERSION" && return 0
>>
>> major=`echo $XDT_AUTOGEN_REQUIRED_VERSION | cut -d. -f1`
>> test "$major" || return 1
>> test $major -le $XDT_AUTOGEN_VERSION_MAJOR || return 1
>> test $XDT_AUTOGEN_VERSION_MAJOR -gt $major && return 0
>>
>> minor=`echo $XDT_AUTOGEN_REQUIRED_VERSION | cut -d. -f2`
>> test "$minor" || return 1
>> test $minor -le $XDT_AUTOGEN_VERSION_MINOR || return 1
>> test $XDT_AUTOGEN_VERSION_MINOR -gt $minor && return 0
>>
>> micro=`echo $XDT_AUTOGEN_REQUIRED_VERSION | cut -d. -f3`
>> if echo "$micro" | $EGREP -q "svn|git"; then
>> revision=`echo "$micro" | sed -e 's/[[:digit:].]\+\(.*\)/\1/'`
>> micro=`echo "$micro" | sed -e 's/\([[:digit:].]\+\).*/\1/'`
>> fi
>> if echo "$micro" | grep -q '\.'; then
>> nano=`echo "$micro" | cut -d. -f2`
>> micro=`echo "$micro" | cut -d. -f1`
>> fi
>>
>> test "$micro" || return 1
>> test $micro -le $XDT_AUTOGEN_VERSION_MICRO || return 1
>> test $XDT_AUTOGEN_VERSION_MICRO -gt $micro && return 0
>>
>> # the caller may or may not have specified a nano
>> if test "$nano"; then
>> # and we may or may not have a nano
>> test "$XDT_AUTOGEN_VERSION_NANO" || XDT_AUTOGEN_VERSION_NANO="0"
>>
>> test $nano -le $XDT_AUTOGEN_VERSION_NANO || return 1
>> test $XDT_AUTOGEN_VERSION_NANO -gt $nano && return 0
>> fi
>>
>> # the caller may or may not have specified a revision
>> if test "$revision"; then
>> # if we don't have a revision, then the check fails
>> test "$XDT_AUTOGEN_VERSION_REVISION" || return 1
>>
>> # version compares are handled differently between svn and git.
>> if echo "$revision" | grep -q "svn"; then
>> # if our revision includes "git", then we must be newer
>> echo "$XDT_AUTOGEN_VERSION_REVISION" | grep -q "git" && return 0
>>
>> # figure out the revision numbers
>> rev_num=`echo "$revision" | sed -e 's/svn-r\([[:digit:]]\+\)/\1/'`
>> XDT_AUTOGEN_VERSION_REV_NUM=`echo "$XDT_AUTOGEN_VERSION_REVISION" | sed -e 's/svn-r\([[:digit:]]\+\)/\1/'`
>> test $rev_num -le $XDT_AUTOGEN_VERSION_REV_NUM || return 1
>> elif echo "$revision" | grep -q "git"; then
>> # since git rev info is of the form "git-$SHORT_SHA1", they cannot
>> # be ordered without knowing the full git history.
>> echo "xdt-autogen: Git revision comparison is not reliable. Continuing anyway." >&2
>> echo " If you experience problems, upgrade xfce4-dev-tools." >&2
>> fi
>> fi
>>
>> return 0
>> }
>>
>> if ! do_version_check; then
>> cat >&2 <<EOF
>> xdt-autogen: This version of xdt-autogen ($VERSION) is too old.
>> Version $XDT_AUTOGEN_REQUIRED_VERSION or greater is required.
>> EOF
>>
>> exit 1
>> fi
>> + do_version_check
>> + test -z 4.7.2
>> + echo 4.7.2
>> + cut -d. -f1
>> + major=4
>> + test 4
>> + test 4 -le 4
>> + test 4 -gt 4
>> + echo 4.7.2
>> + cut -d. -f2
>> + minor=7
>> + test 7
>> + test 7 -le 12
>> + test 12 -gt 7
>> + return 0
>>
>> ##
>> ## Determine XDG data dirs
>> ##
>> test -z "${XDG_DATA_HOME}" && XDG_DATA_HOME="${HOME}/.local/share"
>> + test -z
>> + XDG_DATA_HOME=/root/.local/share
>> test -z "${XDG_DATA_DIRS}" && XDG_DATA_DIRS="/usr/local/share:/usr/share"
>> + test -z
>> + XDG_DATA_DIRS=/usr/local/share:/usr/share
>> test -d "/usr/share" && XDG_DATA_DIRS="/usr/share:${XDG_DATA_DIRS}"
>> + test -d /usr/share
>> + XDG_DATA_DIRS=/usr/share:/usr/local/share:/usr/share
>> XDG_DATA_DIRS="${XDG_DATA_HOME}:${XDG_DATA_DIRS}"
>> + XDG_DATA_DIRS=/root/.local/share:/usr/share:/usr/local/share:/usr/share
>> export XDG_DATA_DIRS XDG_DATA_HOME
>> + export XDG_DATA_DIRS XDG_DATA_HOME
>>
>>
>> MASTER_DIR=`pwd`; test -z "${MASTER_DIR}" && MASTER_DIR="."
>> + pwd
>> + MASTER_DIR=/tmp/root.test.libxfce4util/libxfce4util-4.13.3
>> + test -z /tmp/root.test.libxfce4util/libxfce4util-4.13.3
>>
>> ##
>> ## Check for documentation submodule
>> ##
>> if test -n "$XDT_AUTOGEN_CHECK_DOCS"; then
>> if test ! -f "$MASTER_DIR/$XDT_AUTOGEN_CHECK_DOCS/Makefile.am"; then
>> # Check for git and needed files, if found, automatically
>> # update the submodule
>> if test -d .git -a -f .gitmodules; then
>> echo "xdt-autogen: Automatically initializing the $XDT_AUTOGEN_CHECK_DOCS submodule."
>>
>> # Run git command to get the lastest docs revision
>> res=0 && git submodule sync $XDT_AUTOGEN_CHECK_DOCS && \
>> git submodule update --init $XDT_AUTOGEN_CHECK_DOCS && res=1
>>
>> if test $res -eq 0; then
>> cat >&2 <<EOF
>> xdt-autogen: Pulling the xfce4-docs git submodule failed. See errors
>> above for more information and take a look at
>> http://wiki.xfce.org/documentation.
>> EOF
>> exit 1
>> fi
>> else
>> cat >&2 <<EOF
>> xdt-autogen: The directory $XDT_AUTOGEN_CHECK_DOCS does not contain
>> the required files to run configure. See
>> http://wiki.xfce.org/documentation for more information.
>> EOF
>> exit 1
>> fi
>> #else
>> # We could warn about out-of-date submodules here.
>> fi
>> fi
>> + test -n
>>
>> ##
>> ## First we do some substitutions to generate configure.{ac,in} if necessary
>> ##
>> CONFIGURE_AC_IN_FILES=`lookup_configure_ac_in_files "$MASTER_DIR"`
>> + lookup_configure_ac_in_files /tmp/root.test.libxfce4util/libxfce4util-4.13.3
>> + configure_ac_in_file=
>> + test -f /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + configure_ac_in_file=/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + test x/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in != x
>> + printf %s /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + parse_configure_subdirs /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + test -f /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + cat /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + tr \\n\\t\\\\
>> + sed -ne s|.*AC_CONFIG_SUBDIRS(\[\{0,1\}\([[:alnum:]_ @/-]\{1,\}\).*|\1|p
>> + subdirs=
>> + CONFIGURE_AC_IN_FILES=/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> for configure_ac_in_file in $CONFIGURE_AC_IN_FILES; do
>> configure_ac_file="`echo $configure_ac_in_file | sed -e 's:\.in$::'`"
>>
>> # first generate a revision id
>> if test -d .git/svn; then
>> revision=`git svn find-rev trunk 2>/dev/null ||
>> git svn find-rev origin/trunk 2>/dev/null ||
>> git svn find-rev HEAD 2>/dev/null ||
>> git svn find-rev master 2>/dev/null`
>> elif test -d .git; then
>> revision=`git rev-parse --short HEAD`
>> elif test -d .svn; then
>> revision=`LC_ALL=C svn info $0 | $AWK '/^Revision: / {printf "%05d\n", $2}'`
>> fi
>>
>> if test "x$revision" = "x"; then
>> revision="UNKNOWN"
>> fi
>>
>> # find out what languages we support
>> conf_dir=`dirname $configure_ac_file`
>> linguas=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'`
>>
>> # and do the substitution
>> tmp=`basename ${configure_ac_in_file}`
>> cat >"$configure_ac_file" <<EOF
>> dnl
>> dnl This file was autogenerated from "${tmp}".
>> dnl Edit that file instead!
>> dnl
>>
>> EOF
>> sed -e "s/@REVISION@/${revision}/g" \
>> -e "s/@LINGUAS@/${linguas}/g" \
>> < "$configure_ac_in_file" >> "$configure_ac_file"
>>
>> done
>> + echo /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + sed -e s:\.in$::
>> + configure_ac_file=/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + test -d .git/svn
>> + test -d .git
>> + test -d .svn
>> + test x = x
>> + revision=UNKNOWN
>> + dirname /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + conf_dir=/tmp/root.test.libxfce4util/libxfce4util-4.13.3
>> + cd /tmp/root.test.libxfce4util/libxfce4util-4.13.3/po
>> + + gawkls BEGIN { FS="."; ORS=" " } { print $1 } am.po
>> ar.po ast.po be.po bg.po bn.po ca.po cs.po cy.po da.po de.po el.po en_AU.po en_GB.po es.po et.po eu.po fi.po fr.po gl.po he.po hr.po hu.po id.po ie.po is.po it.po ja.po kk.po ko.po lt.po lv.po ms.po nb.po nl.po nn.po oc.po pa.po pl.po pt.po pt_BR.po ro.po ru.po si.po sk.po sq.po sr.po sv.po th.po tr.po ug.po uk.po ur.po ur_PK.po uz.po zh_CN.po zh_HK.po zh_TW.po
>> + linguas=am ar ast be bg bn ca cs cy da de el en_AU en_GB es et eu fi fr gl he hr hu id ie is it ja kk ko lt lv ms nb nl nn oc pa pl pt_BR pt ro ru si sk sq sr sv th tr ug uk ur_PK ur uz zh_CN zh_HK zh_TW
>> + basename /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac.in
>> + tmp=configure.ac.in
>> + cat
>> + sed -e s/@REVISION@/UNKNOWN/g -e s/@LINGUAS@/am ar ast be bg bn ca cs cy da de el en_AU en_GB es et eu fi fr gl he hr hu id ie is it ja kk ko lt lv ms nb nl nn oc pa pl pt_BR pt ro ru si sk sq sr sv th tr ug uk ur_PK ur uz zh_CN zh_HK zh_TW /g
>>
>>
>> ##
>> ## Search for the configure.{ac,in} files
>> ##
>> CONFIGURE_AC_FILES=`lookup_configure_ac_files "$MASTER_DIR"`
>> + lookup_configure_ac_files /tmp/root.test.libxfce4util/libxfce4util-4.13.3
>> + configure_ac_file=
>> + test -f /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + configure_ac_file=/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + test x/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac != x
>> + printf %s /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + parse_configure_subdirs /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + test -f /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + cat /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + tr \\n\\t\\\\
>> + sed -ne s|.*AC_CONFIG_SUBDIRS(\[\{0,1\}\([[:alnum:]_ @/-]\{1,\}\).*|\1|p
>> + subdirs=
>> + CONFIGURE_AC_FILES=/tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>>
>>
>> ##
>> ## Check for a suitable make
>> ##
>> if test x"${MAKE}" = x""; then
>> if (type gmake) >/dev/null 2>/dev/null; then
>> MAKE="gmake"
>> elif (type make) >/dev/null 2>/dev/null; then
>> MAKE="make"
>> else
>> cat >&2 <<EOF
>> xdt-autogen: You must have "make" installed on your system.
>> EOF
>> exit 1
>> fi
>> export MAKE
>> fi
>> + test x = x
>> + MAKE=make
>> + export MAKE
>>
>>
>> ##
>> ## cleanup autogenerated files
>> ##
>> if test x"$1" = x"clean"; then
>> for configure_ac_file in $CONFIGURE_AC_FILES; do
>> directory=`dirname ${configure_ac_file}`
>>
>> echo "Running ${MAKE} distclean in ${directory}..."
>> (cd ${directory} ; ${MAKE} distclean) >/dev/null 2>&1
>>
>> echo "Cleaning generated files in ${directory}..."
>>
>> # determine the output files used in this package directory
>> output_files=`tr '\\n\\t\\\\' ' ' < ${configure_ac_file} | sed -ne 's|.*AC_OUTPUT(\[\{0,1\}\([[:alnum:]_@/\. -]\{1,\}\).*|\1|p'`;
>> for output_file in $output_files; do
>> if test x`basename $output_file` = x"Makefile"; then
>> rm -f "${directory}/${output_file}.in";
>> rm -f "${directory}/${output_file}.in.in";
>> fi
>> rm -f "${directory}/${output_file}";
>> done
>>
>> (cd ${directory} ;
>> rm -f config.* configure configure.lineno aclocal.m4 ;
>> rm -f compile depcomp ltmain.sh missing install-sh ;
>> rm -f po/Makefile.in.in po/stamp-it ;
>> rm -f stamp-h1 *.spec ;
>> rm -f mkinstalldirs libtool ;
>> rm -rf autom4te.cache m4 gtk-doc.m4 ;
>> rm -f intltool-* gtk-doc.make ;
>> rm -f test-driver ;
>>
>> if test -f po/POTFILES.in; then
>> rm -f po/POTFILES
>> fi
>> if test -f configure.ac.in -a -f configure.ac; then
>> rm -f configure.ac
>> elif test -f configure.in.in -a -f configure.in; then
>> rm -f configure.in
>> fi)
>>
>> # determine translations used in this package directory
>> # translations=`tr '\\n\\\\' ' ' < ${configure_ac_file} | sed -ne 's/.*XDT_I18N(\[\{0,1\}\([a-zA-Z_@ ]\{1,\}\).*/\1/p'`;
>> # for translation in $translations; do
>> # rm -f "${directory}/po/${translation}.gmo";
>> # done
>> rm -f ${directory}/po/*.gmo;
>> done
>>
>> exit 0
>> fi
>> + test x--prefix=/usr = xclean
>>
>>
>> ##
>> ## Check for autoconf
>> ##
>> if test -z "${XDT_PROG_AUTOCONF}"; then
>> test -z "${AUTOCONF_VERSION}" && i=autoconf || i=autoconf-${AUTOCONF_VERSION}
>> (${i} --version) </dev/null >/dev/null 2>&1 &&
>> XDT_PROG_AUTOCONF=${i}
>> fi
>> + test -z
>> + test -z
>> + i=autoconf
>> + XDT_PROG_AUTOCONF=autoconf
>>
>> test -z "${XDT_PROG_AUTOCONF}" && {
>> cat >&2 <<EOF
>> xdt-autogen: You must have "autoconf" installed on your system.
>> Download the appropriate package for your distribution,
>> or get the source tarball at ftp://ftp.gnu.org/pub/gnu/.
>> EOF
>> exit 1
>> }
>> + test -z autoconf
>>
>>
>> ##
>> ## Check for intltoolize
>> ##
>> test -z "${XDT_PROG_INTLTOOLIZE}" && XDT_PROG_INTLTOOLIZE="intltoolize"
>> + test -z
>> + XDT_PROG_INTLTOOLIZE=intltoolize
>> for configure_ac_file in $CONFIGURE_AC_FILES; do
>> if $EGREP -q "^(AC|IT)_PROG_INTLTOOL" "${configure_ac_file}"; then
>> (${XDT_PROG_INTLTOOLIZE} --version) </dev/null >/dev/null 2>&1 || {
>> cat >&2 <<EOF
>> xdt-autogen: You must have "intltool" installed on your system.
>> You can download the source tarball from
>> ftp://ftp.gnome.org/pub/GNOME/.
>> EOF
>> exit 1
>> };
>> break;
>> fi;
>> done
>> + egrep -q ^(AC|IT)_PROG_INTLTOOL /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + break
>> for configure_ac_file in $CONFIGURE_AC_FILES; do
>> if grep -q "^AC_PROG_INTLTOOL" "${configure_ac_file}"; then
>> cat >&2 <<EOF
>> xdt-autogen: It is recommended to use IT_PROG_INTLTOOL([0.35.0])
>> in your configure.ac file and remove AC_PROG_INTLTOOL
>>
>> See http://bugzilla.xfce.org/show_bug.cgi?id=8930 for
>> more information.
>>
>> EOF
>> fi;
>> done
>> + grep -q ^AC_PROG_INTLTOOL /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>>
>>
>> ##
>> ## Check for libtoolize
>> ##
>> if test -z "${XDT_PROG_LIBTOOLIZE}"; then
>> if type glibtoolize >/dev/null 2>&1; then
>> XDT_PROG_LIBTOOLIZE="glibtoolize"
>> elif type libtoolize >/dev/null 2>&1; then
>> XDT_PROG_LIBTOOLIZE="libtoolize"
>> fi
>> fi
>> + test -z
>> + type glibtoolize
>> + type libtoolize
>> + XDT_PROG_LIBTOOLIZE=libtoolize
>> for configure_ac_file in $CONFIGURE_AC_FILES; do
>> runlibtoolize=0
>> if grep -q "^AC_PROG_LIBTOOL" "${configure_ac_file}"; then
>> cat >&2 <<EOF
>> xdt-autogen: It is recommended to use LT_PREREQ([2.4]) and
>> LT_INIT([disable-static]) in your configure.ac
>> file and remove AC_PROG_LIBTOOL and AC_DISABLE_STATIC.
>>
>> See http://bugzilla.xfce.org/show_bug.cgi?id=6920 for
>> more information.
>>
>> EOF
>> runlibtoolize=1
>> fi;
>>
>> if grep -q "^LT_PREREQ" "${configure_ac_file}"; then
>> runlibtoolize=1
>> fi;
>>
>> if test $runlibtoolize -eq 1; then
>> (${XDT_PROG_LIBTOOLIZE} --version) </dev/null >/dev/null 2>&0 || {
>> cat >&2 <<EOF
>> xdt-autogen: You must have "libtool" installed on your system.
>> Download the appropriate package for your distribution,
>> or get the source tarball at ftp://ftp.gnu.org/pub/gnu/.
>> EOF
>> exit 1
>> };
>> break;
>> fi;
>> done
>> + runlibtoolize=0
>> + grep -q ^AC_PROG_LIBTOOL /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + grep -q ^LT_PREREQ /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + runlibtoolize=1
>> + test 1 -eq 1
>> + break
>>
>>
>> ##
>> ## Check for glib-gettextize
>> ##
>> test -z "${XDT_PROG_GLIB_GETTEXTIZE}" && XDT_PROG_GLIB_GETTEXTIZE="glib-gettextize"
>> + test -z
>> + XDT_PROG_GLIB_GETTEXTIZE=glib-gettextize
>> for configure_ac_file in $CONFIGURE_AC_FILES; do
>> directory=`dirname ${configure_ac_file}`
>> if test -d "${directory}/po"; then
>> (${XDT_PROG_GLIB_GETTEXTIZE} --version) </dev/null >/dev/null 2>&1 || {
>> cat >&2 <<EOF
>> xdt-autogen: You must have "glib2" installed. You can get if from
>> ftp://ftp.gtk.org/pub/gtk/.
>> EOF
>> exit 1
>> };
>> break;
>> fi;
>> done
>> + dirname /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + directory=/tmp/root.test.libxfce4util/libxfce4util-4.13.3
>> + test -d /tmp/root.test.libxfce4util/libxfce4util-4.13.3/po
>> + break
>>
>>
>> ##
>> ## Check for gtkdocize
>> ##
>> test -z "${XDT_PROG_GTKDOCIZE}" && XDT_PROG_GTKDOCIZE="gtkdocize"
>> + test -z
>> + XDT_PROG_GTKDOCIZE=gtkdocize
>> for configure_ac_file in $CONFIGURE_AC_FILES; do
>> if grep -q "^GTK_DOC_CHECK" "${configure_ac_file}"; then
>> (${XDT_PROG_GTKDOCIZE} --version) </dev/null >/dev/null 2>&1 || {
>> cat >&2 <<EOF
>> xdt-autogen: You must have "gtk-doc" installed. You can get if from
>> http://www.gtk.org/gtk-doc/.
>> EOF
>> exit 1
>> };
>> break;
>> fi;
>> done
>> + grep -q ^GTK_DOC_CHECK /tmp/root.test.libxfce4util/libxfce4util-4.13.3/configure.ac
>> + cat
>> xdt-autogen: You must have "gtk-doc" installed. You can get if from
>> http://www.gtk.org/gtk-doc/.
>> + exit 1
>> #### End of log of the autogen.sh invocation ######################################################################
>>
>> So it is demonstrated the xdt-autogen script does not process the --disable-gtk-doc*
>> parameters prior to testing the configure.ac file for the GTK-DOC-CHECK switch, which
>> is merely copied from configure.ac.in without modification. The --disable-gtk-doc*
>> parameters and not processed until configure is invoked much later in the process.
>> Thus, to truly not depend upon gtk-doc, the Pkgfile's build function will have to,
>> at minimum, elide the GTK-DOC-CHECK section from the configure.ac.in file prior to
>> invoking autogen.sh. You should run this by XFCE development to see if they will fix
>> this either by making the build truly not depend on gtk-doc or by modifying the
>> documentation to clarify this build-only dependency.
>> --
>> <not cent from sell>
>> May the LORD God bless you exceedingly abundantly!
>>
>> Dave_Craig______________________________________________
>> "So the universe is not quite as you thought it was.
>> You'd better rearrange your beliefs, then.
>> Because you certainly can't rearrange the universe."
>> __--from_Nightfall_by_Asimov/Silverberg_________________
>
>
More information about the Xfce4-dev
mailing list