Skip to content

Makefile and Require cleanups

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Not using pthread library functions heredaemons/dmeventd/plugins/mirror/dmeventd_mirror.c daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c+1 -40 replies
2/9Link liblvm2cmd.so with their depending librariesmake.tmpl.in tools/Makefile.in+3 -50 replies
3/9Fix linking libdevmapper-event.sodaemons/dmeventd/Makefile.in+2 -10 replies
4/9Plugins do not use pthread or lvm2cmd directlydaemons/dmeventd/plugins/mirror/Makefile.in daemons/dmeventd/plugins/snapshot/Makefile.in+2 -20 replies
5/9Skip unneeded 'cat' commandmake.tmpl.in+3 -60 replies
6/9Use Require.private: fielddaemons/dmeventd/libdevmapper-event.pc.in+1 -20 replies
7/9Add UDEV_PC and SELINUX_PC subst variablesconfigure configure.in+14 -20 replies
8/9Requires.private: updatelibdm/libdevmapper.pc.in liblvm/liblvm2app.pc.in+2 -20 replies
9/9Use pkgconfigdir for placement of .pc filesdaemons/dmeventd/Makefile.in libdm/Makefile.in liblvm/Makefile.in +1 more+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Makefile and Require cleanups

This patchset tries to address few things:

it should be fixing Gentoo linkage bug
https://bugs.gentoo.org/show_bug.cgi?id=318513
But properly linking needed librarie to .so files. Another part is cleanup Require.private in .pc file. 2 patches are touching pthread cleanups.
One patch cleans the 'extra' cat command call from Makefile. And the last patch introduces pkgconfigdir so user could easily overwrite his favourite locate of .pc installation dir.

Zdenek Kabelac (9):
Not using pthread library functions here Link liblvm2cmd.so with their depending libraries Fix linking libdevmapper-event.so
Plugins do not use pthread or lvm2cmd directly Skip unneeded 'cat' command
Use Require.private: field
Add UDEV_PC and SELINUX_PC subst variables Requires.private: update
Use pkgconfigdir for placement of .pc files

 configure                                          |    8 +++++++-
 configure.in                                       |    8 +++++++-
 daemons/dmeventd/Makefile.in                       |    5 +++--
 daemons/dmeventd/libdevmapper-event.pc.in          |    3 +--
 daemons/dmeventd/plugins/mirror/Makefile.in        |    2 +-
 daemons/dmeventd/plugins/mirror/dmeventd_mirror.c  |    2 --
 daemons/dmeventd/plugins/snapshot/Makefile.in      |    2 +-
 .../dmeventd/plugins/snapshot/dmeventd_snapshot.c  |    3 +--
 libdm/Makefile.in                                  |    2 +-
 libdm/libdevmapper.pc.in                           |    2 +-
 liblvm/Makefile.in                                 |    2 +-
 liblvm/liblvm2app.pc.in                            |    2 +-
 make.tmpl.in                                       |   15 ++++-----------
 tools/Makefile.in                                  |    3 +++
 14 files changed, 32 insertions(+), 27 deletions(-)