[libvirt] [PATCH v3 00/20] cleanup current build system

Pavel Hrdina posted 20 patches 3 weeks ago
Test syntax-check failed
Failed in applying to current master (apply log)
.gitignore                          | 276 ++-------------------
build-aux/syntax-check.mk           |  47 ++--
configure.ac                        |   6 +
libvirt.spec.in                     |  10 +-
po/Makefile.am                      |  47 ++--
po/POTFILES                         | 320 -------------------------
po/POTFILES.in                      | 357 ++++++++++++++++++++++++++++
po/README.md                        |   3 +
src/Makefile.am                     |  13 +-
src/access/Makefile.inc.am          |  17 +-
src/admin/Makefile.inc.am           |  24 +-
src/bhyve/Makefile.inc.am           |   1 +
src/esx/Makefile.inc.am             |   9 +-
src/esx/esx_vi_generator.py         |  11 +-
src/hyperv/Makefile.inc.am          |   9 +-
src/hyperv/hyperv_wmi_generator.py  |  11 +-
src/interface/Makefile.inc.am       |   2 +
src/libxl/Makefile.inc.am           |   2 +
src/locking/Makefile.inc.am         |  16 +-
src/logging/Makefile.inc.am         |  18 +-
src/lxc/Makefile.inc.am             |  36 ++-
src/network/Makefile.inc.am         |   2 +
src/node_device/Makefile.inc.am     |   2 +
src/nwfilter/Makefile.inc.am        |   2 +
src/qemu/Makefile.inc.am            |   2 +
src/remote/Makefile.inc.am          |  45 ++--
src/remote/remote_daemon_dispatch.c |   4 +-
src/rpc/Makefile.inc.am             |   8 +-
src/secret/Makefile.inc.am          |   2 +
src/storage/Makefile.inc.am         |   2 +
src/util/Makefile.inc.am            |   6 +-
src/vbox/Makefile.inc.am            |   1 +
src/vz/Makefile.inc.am              |   1 +
tests/Makefile.am                   |   4 +
tools/Makefile.am                   |   1 -
35 files changed, 607 insertions(+), 710 deletions(-)
delete mode 100644 po/POTFILES
create mode 100644 po/POTFILES.in

[libvirt] [PATCH v3 00/20] cleanup current build system

Posted by Pavel Hrdina 3 weeks ago
As preparation to switch to Meson there are some things that needs be    
cleaned up to make the conversion easier.                                
                                                                         
The important thing in Meson is that there is a strict separation        
between source and build directory and the distributed tarball by        
default contains only files tracked by git with a possibility to         
write a script which would add some other sources into the tarball.      
                                                                         
Regardless of the adoption of Meson these patches improve our current    
build system to fully support VPATH builds.                              
                                                                         
Changes in v2:                                                           
    - some patches from v1 are pushed now                                
    - added a patch to mandate build dir != src dir                      
    - added a patch to cleanup .gitignore                                
    - added patches to fix sc_po_check                                   
    - improved some patches from v1

Changes in v3:
    - python-zanata-client is the tool our Makefile uses 

Daniel P. Berrangé (1):
  build: mandate use of a build dir != src dir

Pavel Hrdina (19):
  .gitignore: cleanup old and obsolete ignores
  syntax-check.mk: fix sc_po_check rule
  syntax-check.mk: cleanup sc_po_check dependencies
  syntax-check.mk: cleanup generated_files list for sc_po_check
  po: generate files into build directory
  po: rewrite the way how we generate files
  po: README.md: add a note about which Zanata client is required
  remote: unify rpc server dispatch generated files
  src: generate source files into build directory
  src: access: generate source files into build directory
  src: admin: generate source files into build directory
  src: esx: generate source files into build directory
  src: hyperv: generate source files into build directory
  src: locking: generate source files into build directory
  src: logging: generate source files into build directory
  src: lxc: generate source files into build directory
  src: remote: generate source files into build directory
  src: stop distributing generated source files
  tools: stop distributing generated source files

 .gitignore                          | 276 ++-------------------
 build-aux/syntax-check.mk           |  47 ++--
 configure.ac                        |   6 +
 libvirt.spec.in                     |  10 +-
 po/Makefile.am                      |  47 ++--
 po/POTFILES                         | 320 -------------------------
 po/POTFILES.in                      | 357 ++++++++++++++++++++++++++++
 po/README.md                        |   3 +
 src/Makefile.am                     |  13 +-
 src/access/Makefile.inc.am          |  17 +-
 src/admin/Makefile.inc.am           |  24 +-
 src/bhyve/Makefile.inc.am           |   1 +
 src/esx/Makefile.inc.am             |   9 +-
 src/esx/esx_vi_generator.py         |  11 +-
 src/hyperv/Makefile.inc.am          |   9 +-
 src/hyperv/hyperv_wmi_generator.py  |  11 +-
 src/interface/Makefile.inc.am       |   2 +
 src/libxl/Makefile.inc.am           |   2 +
 src/locking/Makefile.inc.am         |  16 +-
 src/logging/Makefile.inc.am         |  18 +-
 src/lxc/Makefile.inc.am             |  36 ++-
 src/network/Makefile.inc.am         |   2 +
 src/node_device/Makefile.inc.am     |   2 +
 src/nwfilter/Makefile.inc.am        |   2 +
 src/qemu/Makefile.inc.am            |   2 +
 src/remote/Makefile.inc.am          |  45 ++--
 src/remote/remote_daemon_dispatch.c |   4 +-
 src/rpc/Makefile.inc.am             |   8 +-
 src/secret/Makefile.inc.am          |   2 +
 src/storage/Makefile.inc.am         |   2 +
 src/util/Makefile.inc.am            |   6 +-
 src/vbox/Makefile.inc.am            |   1 +
 src/vz/Makefile.inc.am              |   1 +
 tests/Makefile.am                   |   4 +
 tools/Makefile.am                   |   1 -
 35 files changed, 607 insertions(+), 710 deletions(-)
 delete mode 100644 po/POTFILES
 create mode 100644 po/POTFILES.in

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list