1. 21 9月, 2009 3 次提交
    • D
      Move docs/examples into examples/ · cebeba7b
      Daniel P. Berrange 提交于
      * Makefile.am: Add examples/dominfo examples/domsuspend examples/python
        as SUBDIRS
      * configure.in: Update AC_OUTPUT for new/old Makefiles
      * docs/Makefile.am: Remove examples from SUBDIRS
      * docs/examples/info1.c: Move to examples/dominfo/info1.c
      * docs/examples/suspend.c: Move to examples/domsuspend/suspend.c
      * docs/examples: Remove all remaining files
      * docs/examples/python: Moved to examples/python/
      * examples/dominfo/Makefile.am, examples/domsuspend/Makefile.am: New
        build files
      * libvirt.spec.in: Update to take account of moved examples
      cebeba7b
    • D
      Move virsh into tools/ directory · 7ff256ec
      Daniel P. Berrange 提交于
      Move the virsh tool and its man page into the tools directory
      
      * Makefile.am: Remove rules for virsh.1 man page
      * virsh.1: Remove auto-generated file
      * docs/Makefile.am: Remove rules for virsh.pod man page
      * docs/virsh.pod: Move to tools/ directory
      * src/Makefile.am, src/.gitignore: Remove rules for virsh
      * src/console.c, src/console.h, src/*.ico, src/virsh_win_icon.rc,
        src/virsh.c: Move into tools/ directory
      * tools/Makefile.am: Add rules for building virsh
      * tools/.gitignore: Ignore virsh built files
      * tests/virshtest.c, tests/int-overflow: Update for new
        virsh location
      7ff256ec
    • D
      Rename qemud/ directory to daemon/ · 5c2a1ae8
      Daniel P. Berrange 提交于
      * qemud/: Rename to daemon/
      * Makefile.am, configure.in, src/Makefile.am, src/remote_internal.c,
        tests/Makefile.am, tests/eventtest.c: s/qemud/daemon/ where needed
      5c2a1ae8
  2. 10 7月, 2009 1 次提交
    • J
      build: automatically rerun ./bootstrap when needed · f272378d
      Jim Meyering 提交于
      When "git pull" (or any other operation) brings in a new version of the
      gnulib git submodule, you must rerun the autogen.sh script.  With this
      change, "make" now fails and tells you to run ./autogen.sh, when needed.
      * autogen.sh: Maintain a new file, .git-module-status, containing
      the current submodule status.  If it doesn't exist or its content
      is different from what "git submodule status" prints, then run
      ./bootstrap
      * .gitignore: Add .git-module-status
      * cfg.mk: Diagnose out of date submodule and fail.
      * README-hacking: Update not to mention bootstrap.
      * Makefile.am (MAINTAINERCLEANFILES): Add .git-module-status,
      so that "make maintainerclean" will remove it.
      f272378d
  3. 09 7月, 2009 2 次提交
  4. 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
      Prepare to use maint.mk from gnulib · c120fcc0
      Jim Meyering 提交于
      Since Makefile.maint will soon come from gnulib's maint.mk,
      sync Makefile.maint to have the same contents (modulo minor
      things).  In syncing it, we have to remove some libvirt-specific
      rules.  Since we want to keep them (of course), put those in cfg.mk.
      * Makefile.maint: Merge from gnulib's maint.mk.
      * cfg.mk (sc_avoid_write): New rule.  From Makefile.cfg.
      (sc_prohibit_strcmp_and_strncmp): Likewise, and rename.
      (sc_prohibit_asprintf, sc_prohibit_VIR_ERR_NO_MEMORY): Likewise.
      (sc_prohibit_nonreentrant): Likewise.
      (sc_prohibit_ctype_h): Likewise.
      (sc_TAB_in_indentation, sc_avoid_ctype_macros): Likewise.
      (sc_prohibit_virBufferAdd_with_string_literal): Likewise.
      (sc_prohibit_gethostby): Likewise.
      (sc_libvirt_unmarked_diagnostics): Likewise.  Also, rename the
      rule, inserting "_libvirt", since this rule is a specialization of
      the one in gnulib.
      * GNUmakefile: Include cfg.mk, not Makefile.cfg
      * .x-sc_prohibit_strcmp_and_strncmp: New file.
      * Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp_and_strncmp
      c120fcc0
    • J
      use automake-1.11's silent-rules option, when possible · b731d783
      Jim Meyering 提交于
      Don't use mylibtool, (subsumed by automake's silent rules)
      Its use was causing a non-srcdir build to fail.
      * Makefile.am (EXTRA_DIST): Remove mylibtool.
      * configure.in: Don't use mylibtool.
      
      * configure.in: Use AM_SILENT_RULES([yes]),
      but only if that m4 macro is defined.
      Thus, it works even on systems that lack automake-1.11.
      Daniel Berrange suggested adding the conditional, so that
      we don't have a hard requirement on 1.11, e.g., for RHEL5.
      b731d783
  5. 19 5月, 2009 1 次提交
  6. 19 4月, 2009 1 次提交
  7. 27 2月, 2009 1 次提交
    • D
      New example program · 66780313
      Daniel Veillard 提交于
      * Makefile.am configure.in examples/hellolibvirt/Makefile.am
        examples/hellolibvirt/hellolibvirt.c: new trivial example program
        by David Allan
      Daniel
      66780313
  8. 21 1月, 2009 1 次提交
  9. 18 12月, 2008 1 次提交
    • J
      enforce the "include <config.h> first" rule · 4cea12bb
      Jim Meyering 提交于
      * qemud/Makefile.am: Ensure that the generated remote_protocol.c
      includes <config.h> first.
      * Makefile.maint (sc_require_config_h_first): New rule, so that
      "make syntax-check" enforces this.
      * .x-sc_require_config_h_first: New file.
      * Makefile.am (.x-sc_require_config_h_first): Add it.
      * qemud/remote_protocol.x: Don't include <config.h> here.
      * qemud/remote_protocol.c: Regenerate.
      4cea12bb
  10. 23 10月, 2008 1 次提交
    • D
      Massive patch adding event APIs by Ben Guthro · 1509b802
      Daniel Veillard 提交于
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
        src/libvirt.c src/libvirt_sym.version: new libvirt event entry
        points, big patch provided by Ben Guthro
      * Makefile.am configure.in src/driver.h src/event.c src/event.h
        src/internal.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c
        src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
        src/remote_internal.c src/storage_backend_fs.c src/test.c
        qemud/event.c qemud/event.h qemud/mdns.c qemud/qemud.c
        qemud/qemud.h qemud/remote.c qemud/remote_dispatch_localvars.h
        qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
        qemud/remote_protocol.c qemud/remote_protocol.h
        qemud/remote_protocol.x proxy/Makefile.am python/generator.py:
        Not much is left untouched by the patch adding the events support
      * docs/libvirt-api.xml docs/libvirt-refs.xml
        docs/html/libvirt-libvirt.html: regenerated the docs
      * examples/domain-events/events-c/Makefile.am
        examples/domain-events/events-c/event-test.c: a test example
      * AUTHORS: added Ben Guthro
      daniel
      1509b802
  11. 10 10月, 2008 1 次提交
    • R
      Updated MinGW spec file. · 0ae26314
      Richard W.M. Jones 提交于
      	* .cvsignore, Makefile.am, autobuild.sh, configure.in,
      	  mingw32-libvirt.spec.in: Import the latest MinGW libvirt spec
      	  file.  Note that the file has been renamed to conform to
      	  new Fedora packaging guidelines.
      	* autobuild.sh: Fix a bug in the generation of the $EXTRA_RELEASE
      	  field when autobuilding.
      0ae26314
  12. 08 9月, 2008 1 次提交
  13. 05 9月, 2008 1 次提交
  14. 13 6月, 2008 1 次提交
  15. 30 5月, 2008 1 次提交
  16. 15 5月, 2008 1 次提交
  17. 30 1月, 2008 2 次提交
    • J
      Enable the <config.h>-requiring test; fix violations · a3781881
      Jim Meyering 提交于
      Use <config.h>, not "config.h", per autoconf documentation.
      * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
      * .x-sc_require_config_h: New file, to list exempted files.
      * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
      a3781881
    • J
      Add framework for code style- and syntax-checking rules. · cc337da2
      Jim Meyering 提交于
      	Almost all tests are initially disabled via the list in Makefile.cfg.
      	* Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
      	Omit names of files that automake includes automatically.
      	* .x-sc_avoid_if_before_free: New file.
      	* build-aux/vc-list-files: Likewise.
      	* build-aux/find-unnecessary-if-before-free: Likewise.
      	* GNUmakefile, Makefile.cfg, Makefile.maint: New files.
      cc337da2
  18. 12 12月, 2007 1 次提交
    • J
      Always build in python/ subdir. · 0d0b0113
      Jim Meyering 提交于
      * configure.in (PYTHON_SUBDIR): Don't set.  Remove all uses.
      * Makefile.am (SUBDIRS): Hard-code "python" here.
      (tests): Test equivalent "$(pythondir)", not @PYTHON_SUBDIR@.
      0d0b0113
  19. 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
  20. 07 12月, 2007 1 次提交
  21. 06 12月, 2007 2 次提交
    • 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
    • D
  22. 15 11月, 2007 1 次提交
    • J
      Make "make distcheck" work. · d5117af3
      Jim Meyering 提交于
      * Makefile.am: Expand some "*" wildcards, and (for now) disable
        the relatively unimportant, distuninstallcheck target.
        Fix a few redirect-directly-to-target bugs.
        Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
      * docs/Makefile.am: More of the same.  Split some long lines.
      * python/Makefile.am: Likewise.
      * python/tests/Makefile.am: Likewise.
      * qemud/Makefile.am: Likewise.
      * tests/Makefile.am: Remove the directories already listed in SUBDIRS.
      * docs/examples/index.py: Adapt to produce the desired changes in
        docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
        and emit a comment telling emacs and vi that the file is read-only.
      * docs/examples/Makefile.am: Regenerate.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      d5117af3
  23. 14 2月, 2007 3 次提交
  24. 08 2月, 2007 1 次提交
  25. 21 9月, 2006 1 次提交
  26. 29 6月, 2006 1 次提交
  27. 09 5月, 2006 1 次提交
  28. 10 4月, 2006 1 次提交
  29. 21 2月, 2006 1 次提交
  30. 14 2月, 2006 1 次提交
  31. 10 2月, 2006 1 次提交