1. 09 7月, 2009 1 次提交
  2. 08 7月, 2009 3 次提交
    • J
      generate ChangeLog from git logs into distribution tarball · 27b175b9
      Jim Meyering 提交于
      No longer maintain a version-controlled ChangeLog file, but do
      continue to include a ChangeLog file in distribution tarball.
      * Makefile.am (gen-ChangeLog): New rule.
      (dist-hook): Depend on it.
      (EXTRA_DIST): Add ChangeLog-old.
      * bootstrap (modules): Add gitlog-to-changelog.
      * ChangeLog: Remove file.  Renamed to...
      * ChangeLog-old: ...this.  New file.
      * autogen.sh: Touch ChangeLog, to ensure it exists.  For automake.
      27b175b9
    • J
      use gnumakefile and maintainer-makefile modules from gnulib · bf773e04
      Jim Meyering 提交于
      * bootstrap (modules): Add gnumakefile and maintainer-makefile.
      * GNUmakefile: Remove file, now provided by gnulib.
      * Makefile.maint: Remove.  Replaced by maint.mk from gnulib.
      .gitignore: Add GNUmakefile and maint.mk.
      * cfg.mk (prev_version_file): Disable this feature.
      Setting this to /dev/null avoids an otherwise harmless diagnostic.
      bf773e04
    • J
      make .gnulib a submodule · 7bb22f58
      Jim Meyering 提交于
      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.
      7bb22f58
  3. 27 1月, 2009 1 次提交
    • J
      use gnulib's stpcpy module · 4e8f63fd
      Jim Meyering 提交于
      * 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.
      4e8f63fd
  4. 21 1月, 2009 1 次提交
  5. 08 1月, 2009 1 次提交
    • J
      bootstrap: pull in gnulib's ioctl module · 55d0a685
      Jim Meyering 提交于
      * 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.
      55d0a685
  6. 07 1月, 2009 1 次提交
    • J
      update from gnulib; use its time_r module for localtime_r on mingw · 6c996bfc
      Jim Meyering 提交于
      * 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.
      6c996bfc
  7. 29 10月, 2008 1 次提交
    • J
      use more gnulib modules · c54eb963
      Jim Meyering 提交于
      * bootstrap: use more gnulib modules: close, connect, perror, recv,
      send, socket setsockopt, gethostname.
      c54eb963
  8. 07 8月, 2008 1 次提交
    • J
      add the mkstemp module from gnulib · 7846f71f
      Jim Meyering 提交于
      * 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.
      7846f71f
  9. 06 8月, 2008 1 次提交
  10. 10 5月, 2008 1 次提交
  11. 09 5月, 2008 1 次提交
    • J
      Prepare to use gnulib's c-type module. · 82892f13
      Jim Meyering 提交于
      * 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:
      82892f13
  12. 28 4月, 2008 1 次提交
  13. 24 3月, 2008 1 次提交
    • J
      Add new testing framework and the first test to use it. · f15efcdf
      Jim Meyering 提交于
      * tests/Makefile.am (test_scripts): Add vcpupin.
      (EXTRA_DIST): Add test-lib.sh.
      * tests/test-lib.sh: Testing framework, from coreutils.
      * tests/vcpupin: New file.
      * build-aux/mktempd: New file, from gnulib.
      * bootstrap: Add posix-shell and mktempd to the list of imported modules.
      * gnulib/m4/posix-shell.m4: New file, from gnulib.
      f15efcdf
  14. 14 2月, 2008 1 次提交
    • J
      Pull useless-if-before-free from gnulib, and update. · 26709f56
      Jim Meyering 提交于
      * bootstrap (gnulib_tool): Add useless-if-before-free to
      the list of modules.
      * build-aux/useless-if-before-free: Update from gnulib.
      * gnulib/lib/vasnprintf.c: Work around a bug in HPUX 10.20.
      * gnulib/m4/vasnprintf.m4: Likewise.
      26709f56
  15. 02 2月, 2008 1 次提交
  16. 11 12月, 2007 1 次提交
    • J
      Add gnulib-tool unit tests. · ac6bb7e1
      Jim Meyering 提交于
      * bootstrap: Re-add --with-tests, now that gnulib-tool
      arranges to use separate libraries for lib/ and tests/.
      * configure.in (AC_OUTPUT): Add gnulib/tests/Makefile.in.
      * Makefile.am (SUBDIRS): Add gnulib/tests.
      * gnulib/tests/Makefile.am: New file.
      * gnulib/lib/.cvsignore: Sort.
      * gnulib/lib/Makefile.am, gnulib/m4/getdelim.m4, gnulib/m4/getline.m4:
      * gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4: Regenerate.
      * gnulib/tests/test-alloca-opt.c: New file, from gnulib.
      * gnulib/tests/test-arpa_inet.c: Likewise.
      * gnulib/tests/test-fseeko.c: Likewise.
      * gnulib/tests/test-fseeko.sh: Likewise.
      * gnulib/tests/test-getaddrinfo.c: Likewise.
      * gnulib/tests/test-getdelim.c: Likewise.
      * gnulib/tests/test-getline.c: Likewise.
      * gnulib/tests/test-lseek.c: Likewise.
      * gnulib/tests/test-lseek.sh: Likewise.
      * gnulib/tests/test-netinet_in.c: Likewise.
      * gnulib/tests/test-snprintf.c: Likewise.
      * gnulib/tests/test-stdbool.c: Likewise.
      * gnulib/tests/test-stdint.c: Likewise.
      * gnulib/tests/test-stdio.c: Likewise.
      * gnulib/tests/test-stdlib.c: Likewise.
      * gnulib/tests/test-string.c: Likewise.
      * gnulib/tests/test-sys_select.c: Likewise.
      * gnulib/tests/test-sys_socket.c: Likewise.
      * gnulib/tests/test-sys_stat.c: Likewise.
      * gnulib/tests/test-sys_time.c: Likewise.
      * gnulib/tests/test-unistd.c: Likewise.
      * gnulib/tests/test-vasnprintf.c: Likewise.
      * gnulib/tests/test-vasprintf.c: Likewise.
      * gnulib/tests/test-wchar.c: Likewise.
      * gnulib/tests/dummy.c: Likewise.
      * gnulib/tests/intprops.h: Likewise.
      * gnulib/tests/verify.h: Likewise.
      ac6bb7e1
  17. 07 12月, 2007 1 次提交
  18. 06 12月, 2007 1 次提交
    • J
      Use gnulib, starting with its physmem and getaddrinfo modules. · 261e7581
      Jim Meyering 提交于
      New files go into these directories:
        gnulib/lib
        gnulib/m4
        gnulib/tests
      
      * bootstrap: A wrapper around gnulib-tool.
      * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put gl_EARLY
      before any macro that uses AC_COMPILE_IFELSE.
      (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile.  Remove m4/Makefile.
      * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4.  Add gnulib/tests
      early enough that those tests run before any libvirt unit tests.
      * m4/Makefile.am: Remove file.  Not needed.
      * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
      * src/nodeinfo.c: Include "physmem.h".
      * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
      (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
      (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
      * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS): Add ../gnulib/lib/libgnu.la.
      * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
      * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
      memory from a file.
      Update expected output not to include "Memory: NNNN"
      * tests/nodeinfodata/linux-nodeinfo-1.txt:
      * tests/nodeinfodata/linux-nodeinfo-2.txt:
      * tests/nodeinfodata/linux-nodeinfo-3.txt:
      * tests/nodeinfodata/linux-nodeinfo-4.txt:
      * tests/nodeinfodata/linux-nodeinfo-5.txt:
      * tests/nodeinfodata/linux-nodeinfo-6.txt:
      * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
      would conflict with the one now in "config.h".
      * autogen.sh: Add -I gnulib/m4.
      * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
      Instead, include "config.h".
      * qemud/qemud.c: Remove definition of _GNU_SOURCE.
      * src/openvz_driver.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      
      * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
      of gettextize-generated files go into build-aux/, rather than in
      the top-level directory.
      * .cvsignore: Adjust.
      * build-aux/.cvsignore: New file.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      261e7581