Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 19, 2012
  1. build: fix fresh checkout on RHEL5

    Eric Blake authored
    Building a fresh checkout on RHEL 5 has been broken since commit
    29db7a0, due to a gnulib regression in the bootstrap script
    (incremental builds from a checkout earlier than that point were
    okay, though).
    
    * .gnulib: Update to latest, for bootstrap fixes.
    * bootstrap: Resync from gnulib.
    * gnulib/local/top/maint.mk.diff: Drop patch that was added
    upstream in the meantime.
Commits on Mar 30, 2012
  1. build: fix mingw ssize_t, syntax check

    Eric Blake authored
    We are so close to a release that we don't want to pull in a
    gnulib submodule update and risk regressions, since there has
    been a lot of other gnulib churn upstream.  However, there are
    a couple of gnulib issues that are worth fixing in isolation,
    by applying local patches to gnulib.
    
    There was an upstream gnulib bug in maint.mk that rendered most
    of our syntax checks ineffective (and fixing it flushed out a
    minor bug in our code):
    https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00194.html
    
    There is still an upstream bug where gnulib uses the wrong type
    for ssize_t on mingw; we need the fix now even though it has not
    yet been accepted into gnulib:
    https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00188.html
    
    * gnulib/local/top/maint.mk.diff: Pick up upstream gnulib
    maint.mk.
    * gnulib/local/m4/ssize_t.m4.diff: Work around gnulib bug.
    * src/libvirt.c: Remove unused header.
    * cfg.mk
    (exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF): Exempt
    gnulib local files.
Commits on Jan 12, 2012
  1. build: update to latest gnulib

    Eric Blake authored
    Pick up recent gnulib improvements.
    
    * .gnulib: Update to latest.
    * bootstrap: Resync.
    * bootstrap.conf (gnulib_tool_option_extras): Adjust to bootstrap
    changes.
    * gnulib/lib/Makefile.am: Likewise.
Commits on Dec 1, 2011
  1. build: update to latest gnulib

    Eric Blake authored
    * .gnulib: Update to latest, for improved 'make syntax-check' and
    compiler warnings.
    * m4/virt-compile-warnings.m4 (LIBVIRT_COMPILE_WARNINGS):
    Re-silence -Wformat-nonliteral.
    * cfg.mk (_test_script_regex): Recognize our test scripts.
    * gnulib/local/lib/*.diff: Drop, now that gnulib has this.
    * tests/virsh-optparse: Fix use of compare.
    * tests/virsh-schedinfo: Likewise.
Commits on Nov 9, 2011
  1. build: fix mingw build of gnulib openpty

    Eric Blake authored
    Commit f7bd00c pulled in a gnulib module that fails to compile
    on mingw.  Work around it while waiting for an upstream gnulib fix.
    
    * gnulib/local/lib/pty.in.h (openpty): Provide forward
    declarations of opaque structs not present on mingw.
    * gnulib/local/lib/openpty.c (openpty): Provide stub for mingw.
Commits on Jul 29, 2011
  1. @photron

    freebsd: Fix build problem due to picking up the wrong libvirt.h

    photron authored Eric Blake committed
    Gettext annoyingly modifies CPPFLAGS in-place, putting
    -I/usr/local/include into the search patch if libintl headers
    must be used from that location.  But since we must support
    automake 1.9.6 which lacks AM_CPPFLAGS, and since CPPFLAGS is used
    prior to INCLUDES, this means that the build picks up the _old_
    installed libvirt.h in priority to the in-tree version, leading
    to all sorts of weird build failures on FreeBSD.
    
    Fix this by teaching configure to undo gettext's actions, but
    to keep any changes required by gettext at the end of INCLUDES
    after all in-tree locations are used first.  Also requires
    adding a wrapper Makefile.am and making gnulib-tool create
    just gnulib.mk files during the bootstrap process.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>
Commits on Jul 8, 2009
  1. make .gnulib a submodule

    Jim Meyering authored
    This makes it so we record (via a git submodule)
    a snapshot of whatever version of gnulib we're using,
    and none of gnulib sources are in the libvirt repository.
    The result is that we have as much reproducibility as when
    we version-controlled imported copies of the gnulib sources,
    but without the hassle of the manual process we used when
    syncing with upstream.
    
    Note that when you clone libvirt, you get only the libvirt
    repository, but when you first run ./bootstrap, it clones
    gnulib (at the SHA1 recorded via the submodule), creating
    the .gnulib/ hierarchy.  Then, the bootstrap script runs
    gnulib-tool to populate gnulib/ with the files that make
    up the selected modules.
    
    Put the following in your ~/.gitconfig file.
    [alias]
      syncsub = submodule foreach git pull origin master
    
    The update procedure is simple:
      git syncsub
      ...build & test...
      git commit -m 'gnulib: sync submodule to latest' .gnulib
    
    * .gitmodules: New file.
    * .gnulib: Initialize.
    * bootstrap: Set up to use the new submodule.
    Stop using --no-vc-files.
    Don't remove .gitignore files.
    Don't use or create .cvsignore.
    Diagnose an invalid --gnulib-srcdir=DIR argument.
    * build-aux/vc-list-files: Delete file, now pulled from gnulib.
    * build-aux/useless-if-before-free: Likewise.
    * po/POTFILES.in: Remove gnulib/lib/gai_strerror.c, since
    it no longer contains translatable strings.
    * gnulib/*: Remove gnulib/ hierarchy.
Commits on Jan 27, 2009
  1. use gnulib's stpcpy module

    Jim Meyering authored
    * bootstrap (modules): Add stpcpy, and pull in gnulib bits:
    * gnulib/lib/stpcpy.c: New file.
    * gnulib/m4/stpcpy.m4: New file.
    * gnulib/lib/Makefile.am: Update.
    * gnulib/m4/gnulib-cache.m4: Update.
    * gnulib/m4/gnulib-comp.m4: Update.
  2. update from gnulib

    Jim Meyering authored
Commits on Jan 23, 2009
  1. m4: update from gnulib to avoid warnings from cutting-edge autoconf

    Jim Meyering authored
    * gnulib/m4/errno_h.m4
    * gnulib/m4/gnulib-comp.m4
    * gnulib/m4/multiarch.m4
  2. correct and tighten up .*ignore files

    Jim Meyering authored
    * .cvsignore: Don't ignore *.orig or *.rej.  They're not build products.
    Don't ignore the entire m4 directory.
    * Makefile.maint (sync-vcs-ignore-files): Correct quoting.
    Use sed rather than a for loop.
    Search only version-controled files (for reproducibility)
    * gnulib/lib/netinet/.cvsignore: Append missing newline-at-EOF,
    so that the use of sed doesn't mistakenly concatenate lines.
    * gnulib/lib/sys/.cvsignore: Likewise.
    * m4/.cvsignore: Ignore acinclude.m4 and aclocal.m4, not *.m4.
    * .hgignore: Regenerate.
    * all .gitignore files: Regenerate.
Commits on Jan 22, 2009
  1. generate .hgignore

    John Levon authored
Commits on Jan 20, 2009
  1. @berrange
Commits on Jan 8, 2009
  1. poll: don't return uninitialized

    Jim Meyering authored
    * gnulib/lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".
    [sync from gnulib also adjusts cpp indentation to reflect nesting.]
Commits on Jan 7, 2009
  1. add more files pulled in via yesterday's gnulib upgrade

    Jim Meyering authored
    * gnulib/m4/multiarch.m4: New file.
    * gnulib/m4/hostent.m4: New file.
    * gnulib/m4/servent.m4: New file.
    * .x-sc_prohibit_gethostby: Exempt all gnulib/m4/* files, so
    hostent.m4's uses of gethostbyname and gethostbyaddr do not
    trigger a "make syntax-check" failure.
  2. bootstrap: pull in gnulib's ioctl module

    Jim Meyering authored
    * bootstrap: Invoke gnulib-tool with its --no-vc-files
    option, since we version-control the files it imports.
    This tells it not to mark imported files as cvs-ignored.
    (modules): Add ioctl.
    * gnulib/lib/ioctl.c: New file.
    * gnulib/lib/sys_ioctl.in.h: New file.
    * gnulib/tests/sys_ioctl.in.h: Removed.
    * gnulib/tests/ioctl.c: Removed.
    * gnulib/lib/Makefile.am: Update.
    * gnulib/m4/gnulib-cache.m4: Likewise.
    * gnulib/m4/gnulib-comp.m4: Likewise.
    * gnulib/tests/Makefile.am: Likewise.
    * gnulib/lib/.cvsignore: Ignore sys_ioctl.h.
    * gnulib/lib/.gitignore: Regenerate.
Commits on Jan 6, 2009
  1. update from gnulib; use its time_r module for localtime_r on mingw

    Jim Meyering authored
    * bootstrap (modules): Add time_r.
    * gnulib/m4/time_h.m4: New file.
    * gnulib/m4/time_r.m4: New file.
    * gnulib/lib/time_r.c: New file.
    * gnulib/tests/test-time.c: New file.
    * gnulib/lib/time.in.h: New file.
    * gnulib/lib/Makefile.am: Update.
    * gnulib/lib/fseeko.c: Likewise.
    * gnulib/lib/lstat.c: Likewise.
    * gnulib/lib/netdb.in.h: Likewise.
    * gnulib/lib/stdint.in.h: Likewise.
    * gnulib/lib/stdlib.in.h: Likewise.
    * gnulib/lib/sys_select.in.h: Likewise.
    * gnulib/lib/sys_stat.in.h: Likewise.
    * gnulib/lib/sys_time.in.h: Likewise.
    * gnulib/lib/unistd.in.h: Likewise.
    * gnulib/lib/wchar.in.h: Likewise.
    * gnulib/m4/codeset.m4: Likewise.
    * gnulib/m4/errno_h.m4: Likewise.
    * gnulib/m4/extensions.m4: Likewise.
    * gnulib/m4/getaddrinfo.m4: Likewise.
    * gnulib/m4/gettext.m4: Likewise.
    * gnulib/m4/glibc2.m4: Likewise.
    * gnulib/m4/glibc21.m4: Likewise.
    * gnulib/m4/gnulib-cache.m4: Likewise.
    * gnulib/m4/gnulib-comp.m4: Likewise.
    * gnulib/m4/iconv.m4: Likewise.
    * gnulib/m4/include_next.m4: Likewise.
    * gnulib/m4/intdiv0.m4: Likewise.
    * gnulib/m4/intlmacosx.m4: Likewise.
    * gnulib/m4/intmax.m4: Likewise.
    * gnulib/m4/inttypes-pri.m4: Likewise.
    * gnulib/m4/inttypes_h.m4: Likewise.
    * gnulib/m4/lcmessage.m4: Likewise.
    * gnulib/m4/lib-link.m4: Likewise.
    * gnulib/m4/lstat.m4: Likewise.
    * gnulib/m4/netdb_h.m4: Likewise.
    * gnulib/m4/nls.m4: Likewise.
    * gnulib/m4/po.m4: Likewise.
    * gnulib/m4/printf-posix.m4: Likewise.
    * gnulib/m4/printf.m4: Likewise.
    * gnulib/m4/progtest.m4: Likewise.
    * gnulib/m4/size_max.m4: Likewise.
    * gnulib/m4/sockets.m4: Likewise.
    * gnulib/m4/stdint.m4: Likewise.
    * gnulib/m4/stdint_h.m4: Likewise.
    * gnulib/m4/sys_ioctl_h.m4: Likewise.
    * gnulib/m4/threadlib.m4: Likewise.
    * gnulib/m4/uintmax_t.m4: Likewise.
    * gnulib/m4/visibility.m4: Likewise.
    * gnulib/m4/wchar.m4: Likewise.
    * gnulib/m4/wchar_t.m4: Likewise.
    * gnulib/m4/wint_t.m4: Likewise.
    * gnulib/m4/xsize.m4: Likewise.
    * gnulib/tests/Makefile.am: Likewise.
    * gnulib/tests/sockets.h: Likewise.
    * gnulib/tests/.cvsignore: Likewise.
    * gnulib/tests/.gitignore: Likewise.
    * tests/.gitignore: Likewise.
    * docs/examples/.gitignore: Likewise.
    * gnulib/lib/.cvsignore: Likewise.
    * gnulib/lib/.gitignore: Likewise.
    
    remove files associated with obsolete strpbrk module
    * gnulib/lib/strpbrk.c: Remove file.
    * gnulib/m4/strpbrk.m4: Remove file.
Commits on Nov 24, 2008
  1. * gnulib/tests/test-EOVERFLOW: Remove.

    Jim Meyering authored
    * gnulib/tests/.cvsignore: Add test-EOVERFLOW, then...
    Run "make sync-vcs-ignore-files" to Update .gitignore files.
Commits on Nov 7, 2008
  1. tweak lstat.c to avoid mingw link failure

    Jim Meyering authored
    * gnulib/lib/lstat.c: Include <sys/stat.h> *before* the use of stat in
    orig_stat.  Otherwise, on mingw (which lacks lstat), any program using
    the lstat module would not get the redefinition-to-stat provided by
    gnulib's sys/stat.h.  Reported by Daniel P. Berrange.
Commits on Oct 28, 2008
  1. cvsignore mingw build artifacts: *.exe

    Jim Meyering authored
  2. updates from gnulib

    Jim Meyering authored
Commits on Oct 17, 2008
  1. generate .gitignore files from .cvsignore ones

    Jim Meyering authored
    * Makefile.maint (sync-vcs-ignore-files): New target.
    Prompted by a patch from James Morris.
    http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
    Add all (now-generated) .gitignore files.
    * .gitignore: New file.
    * build-aux/.gitignore: New file.
    * docs/.gitignore: New file.
    * docs/devhelp/.gitignore: New file.
    * docs/examples/.gitignore: New file.
    * docs/examples/python/.gitignore: New file.
    * gnulib/lib/.gitignore: New file.
    * gnulib/lib/arpa/.gitignore: New file.
    * gnulib/lib/netinet/.gitignore: New file.
    * gnulib/lib/sys/.gitignore: New file.
    * gnulib/tests/.gitignore: New file.
    * include/.gitignore: New file.
    * include/libvirt/.gitignore: New file.
    * po/.gitignore: New file.
    * proxy/.gitignore: New file.
    * python/.gitignore: New file.
    * python/tests/.gitignore: New file.
    * qemud/.gitignore: New file.
    * src/.gitignore: New file.
    * tests/.gitignore: New file.
    * tests/confdata/.gitignore: New file.
    * tests/sexpr2xmldata/.gitignore: New file.
    * tests/virshdata/.gitignore: New file.
    * tests/xencapsdata/.gitignore: New file.
    * tests/xmconfigdata/.gitignore: New file.
    * tests/xml2sexprdata/.gitignore: New file.
Commits on Aug 7, 2008
  1. add the mkstemp module from gnulib

    Jim Meyering authored
    * bootstrap (modules): Add mkstemp.
    The remainder of these changes are the result of running
    ./bootstrap, adding new files, and committing the result.
    * gnulib/lib/gettimeofday.c: New file.
    * gnulib/lib/mkstemp.c: New file.
    * gnulib/lib/tempname.c: New file.
    * gnulib/lib/tempname.h: New file.
    * gnulib/m4/gettimeofday.m4: New file.
    * gnulib/m4/mkstemp.m4: New file.
    * gnulib/m4/tempname.m4: New file.
    * gnulib/tests/test-gettimeofday.c: New file.
    * gnulib/lib/Makefile.am: Update.
    * gnulib/m4/gnulib-cache.m4: Likewise.
    * gnulib/m4/gnulib-comp.m4: Likewise.
    * gnulib/m4/inet_pton.m4: Likewise.
    * gnulib/tests/Makefile.am: Likewise.
  2. update from gnulib

    Jim Meyering authored
    * build-aux/mktempd (rand_bytes, mktempd):
    * build-aux/useless-if-before-free (FILE):
    * build-aux/vc-list-files:
    * gnulib/lib/.cvsignore:
    * gnulib/lib/Makefile.am:
    * gnulib/lib/poll.c (poll):
    * gnulib/lib/stdbool.in.h (_GL_STDBOOL_H, true):
    * gnulib/lib/stdio-impl.h (fp_, fp_ub):
    * gnulib/lib/stdio.in.h (vasprintf, obstack_printf)
    (obstack_vprintf):
    * gnulib/lib/vasnprintf.c (_GNU_SOURCE, sprintf, IF_LINT, exp)
    (remainder, scale10_round_decimal_long_double)
    (scale10_round_decimal_double, pad_ourselves):
    * gnulib/m4/gnulib-cache.m4:
    * gnulib/m4/gnulib-common.m4 (gl_MODULE_INDICATOR):
    * gnulib/m4/gnulib-tool.m4 (gl_LOCAL_DIR, gl_M4_BASE, gl_PO_BASE)
    (gl_DOC_BASE, gl_TESTS_BASE, gl_WITH_TESTS, gl_LIB, gl_LGPL)
    (gl_MAKEFILE_NAME, gl_MACRO_PREFIX, gl_PO_DOMAIN, gl_VC_FILES):
    * gnulib/m4/lock.m4 (gl_LOCK_EARLY_BODY, gl_PREREQ_LOCK)
    (gl_DISABLE_THREADS):
    * gnulib/m4/onceonly.m4:
    * gnulib/m4/posix-shell.m4 (gl_POSIX_SHELL):
    * gnulib/m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS):
    * gnulib/tests/test-getaddrinfo.c (ENABLE_DEBUGGING, dbgprintf)
    (simple):
    * gnulib/tests/test-stdint.c (UINTMAX_MAX, or):
    * gnulib/tests/test-vc-list-files-cvs.sh (compare):
    * gnulib/tests/test-vc-list-files-git.sh (compare):
  3. complete the MinGW inet_pton portability fix

    Jim Meyering authored
    * gnulib/m4/inet_pton.m4: New file.  Required for MinGW.
    * gnulib/m4/gnulib-comp.m4: Regenerate via gnulib-tool.
Commits on Aug 6, 2008
  1. work around MinGW build failure due to its lack of inet_aton

    Jim Meyering authored
    Use inet_pton instead; pull in gnulib's module by the same name.
    * src/network_conf.c (virNetworkDefParseXML): Use inet_pton,
    rather than inet_aton.
    * bootstrap (modules): Add inet_pton.
    * gnulib/lib/inet_pton.c: New file, from gnulib.
Commits on May 14, 2008
  1. @berrange
Commits on May 9, 2008
  1. @berrange
  2. Add new files from gnulib.

    Jim Meyering authored
    * gnulib/lib/c-ctype.c: New file.
    * gnulib/lib/c-ctype.h: Likewise.
    * gnulib/tests/test-c-ctype.c: Likewise.
    * gnulib/tests/test-vc-list-files-git.sh: Likewise.
    * gnulib/tests/test-vc-list-files-cvs.sh: Likewise.
  3. Prepare to use gnulib's c-type module.

    Jim Meyering authored
    * bootstrap: Move module list into separate variable w/less syntax.
    (modules): Add c-ctype.
    Update the following from gnulib:
    * build-aux/useless-if-before-free:
    * build-aux/vc-list-files:
    * gnulib/lib/Makefile.am:
    * gnulib/lib/getaddrinfo.h:
    * gnulib/m4/gnulib-cache.m4:
    * gnulib/m4/gnulib-comp.m4:
    * gnulib/m4/inet_ntop.m4:
    * gnulib/tests/Makefile.am:
    * gnulib/tests/test-getaddrinfo.c:
Commits on Apr 30, 2008
  1. update from gnulib, again

    Jim Meyering authored
    * gnulib/m4/onceonly.m4: New file.
    * gnulib/m4/printf.m4: New file.
    * build-aux/useless-if-before-free: Update.
    * build-aux/vc-list-files: Update.
    * gnulib/lib/arpa_inet.in.h: Update.
    * gnulib/lib/stdio-impl.h: Update.
    * gnulib/m4/inet_ntop.m4: Update.
Commits on Apr 29, 2008
  1. Fix build errors.

    Jim Meyering authored
    * proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
    * gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
  2. update from gnulib

    Jim Meyering authored
    * gnulib/lib/inet_ntop.h: Remove file.
    * gnulib/m4/onceonly_2_57.m4: Remove file.
    * build-aux/useless-if-before-free: Update.
    * build-aux/vc-list-files: Update.
    * gnulib/lib/.cvsignore: Update.
    * gnulib/lib/Makefile.am: Update.
    * gnulib/lib/fseeko.c: Update.
    * gnulib/lib/getaddrinfo.c: Update.
    * gnulib/lib/getdelim.c: Update.
    * gnulib/lib/inet_ntop.c: Update.
    * gnulib/lib/inet_ntop.h: Update.
    * gnulib/lib/poll.c: Update.
    * gnulib/lib/snprintf.c: Update.
    * gnulib/lib/stdlib.in.h: Update.
    * gnulib/lib/string.in.h: Update.
    * gnulib/lib/sys_socket.in.h: Update.
    * gnulib/lib/sys_stat.in.h: Update.
    * gnulib/lib/vasnprintf.c: Update.
    * gnulib/lib/vasprintf.c: Update.
    * gnulib/lib/wchar.in.h: Update.
    * gnulib/m4/arpa_inet_h.m4: Update.
    * gnulib/m4/extensions.m4: Update.
    * gnulib/m4/gnulib-common.m4: Update.
    * gnulib/m4/gnulib-comp.m4: Update.
    * gnulib/m4/include_next.m4: Update.
    * gnulib/m4/inet_ntop.m4: Update.
    * gnulib/m4/netinet_in_h.m4: Update.
    * gnulib/m4/onceonly_2_57.m4: Update.
    * gnulib/m4/physmem.m4: Update.
    * gnulib/m4/snprintf.m4: Update.
    * gnulib/m4/stdint.m4: Update.
    * gnulib/m4/stdio_h.m4: Update.
    * gnulib/m4/stdlib_h.m4: Update.
    * gnulib/m4/string_h.m4: Update.
    * gnulib/m4/strndup.m4: Update.
    * gnulib/m4/sys_select_h.m4: Update.
    * gnulib/m4/sys_socket_h.m4: Update.
    * gnulib/m4/sys_stat_h.m4: Update.
    * gnulib/m4/vasnprintf.m4: Update.
    * gnulib/tests/Makefile.am: Update.
    * gnulib/tests/test-fseeko.c: Update.
    * gnulib/tests/test-getaddrinfo.c: Update.
    * gnulib/tests/test-getdelim.c: Update.
    * gnulib/tests/test-getline.c: Update.
    * gnulib/tests/test-lseek.c: Update.
    * gnulib/tests/test-snprintf.c: Update.
    * gnulib/tests/test-sys_stat.c: Update.
    * gnulib/tests/test-vasnprintf.c: Update.
    * gnulib/tests/test-vasprintf.c: Update.
Something went wrong with that request. Please try again.