Skip to contentSkip to conversation

master - liblvm: remove lvmapi

PATCH Joe Thornber 1 participant 1 message Jun 8, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=0d22b58172808f050abeacdb5d6a7b7132b91a8c
Commit:        0d22b58172808f050abeacdb5d6a7b7132b91a8c
Parent:        e6bb780d24246666fa05948ec449a8137280b443
Author:        Joe Thornber <[email protected]>
AuthorDate:    Fri Jun 8 09:38:05 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Fri Jun 8 09:38:05 2018 +0100

liblvm: remove lvmapi

This has been deprecated for a while.

---
 Makefile.in              |   21 +-
 aclocal.m4               |   91 ++-
 configure                | 1996 +---------------------------------------------
 configure.ac             |   63 +--
 include/configure.h.in   |   66 +--
 liblvm/Doxyfile          |  254 ------
 liblvm/Makefile.in       |   81 --
 liblvm/liblvm2app.pc.in  |   11 -
 liblvm/lvm2app.h         | 1983 ---------------------------------------------
 liblvm/lvm_base.c        |  216 -----
 liblvm/lvm_lv.c          |  820 -------------------
 liblvm/lvm_misc.c        |  168 ----
 liblvm/lvm_misc.h        |   46 --
 liblvm/lvm_prop.c        |   74 --
 liblvm/lvm_prop.h        |   49 --
 liblvm/lvm_prop_fields.h |   22 -
 liblvm/lvm_pv.c          |  474 -----------
 liblvm/lvm_vg.c          |  564 -------------
 liblvm/test/vgadd.c      |   90 ---
 liblvm/test/vgshow.c     |   95 ---
 test/api/Makefile.in     |   33 -
 test/api/lvtest.c        |   64 --
 test/api/pe_start.c      |   47 --
 test/api/percent.c       |   63 --
 test/api/test.c          | 1110 --------------------------
 test/api/thin_percent.c  |   78 --
 test/api/vglist.c        |   73 --
 test/api/vgtest.c        |  164 ----
 28 files changed, 108 insertions(+), 8708 deletions(-)
Makefile.in +3 -18
index 7eb6460..ed00696 100644
@@ -28,10 +28,6 @@ ifeq ("@INTL@", "yes")
   SUBDIRS += po
 endif
 
-ifeq ("@APPLIB@", "yes")
-  SUBDIRS += liblvm
-endif
-
 ifeq ("@PYTHON_BINDINGS@", "yes")
   SUBDIRS += python
 endif
@@ -43,7 +39,7 @@ endif
 ifeq ($(MAKECMDGOALS),distclean)
   SUBDIRS = conf include man test scripts \
     libdaemon lib tools daemons libdm \
-    udev po liblvm python
+    udev po python
 tools.distclean: test.distclean
 endif
 DISTCLEAN_DIRS += lcov_reports*
@@ -54,18 +50,16 @@ include make.tmpl
 libdm: include
 libdaemon: include
 lib: libdm libdaemon
-liblvm: lib
 daemons: lib libdaemon tools
 tools: lib libdaemon device-mapper
 po: tools daemons
 man: tools
 all_man: tools
-scripts: liblvm libdm
+scripts: libdm
 test: tools daemons
 
 lib.device-mapper: include.device-mapper
 libdm.device-mapper: include.device-mapper
-liblvm.device-mapper: include.device-mapper
 daemons.device-mapper: libdm.device-mapper
 tools.device-mapper: libdm.device-mapper
 scripts.device-mapper: include.device-mapper
@@ -79,10 +73,6 @@ po.pofile: tools.pofile daemons.pofile
 pofile: po.pofile
 endif
 
-ifeq ("@PYTHON_BINDINGS@", "yes")
-python: liblvm
-endif
-
 ifneq ("$(CFLOW_CMD)", "")
 tools.cflow: libdm.cflow lib.cflow
 daemons.cflow: tools.cflow
@@ -159,15 +149,10 @@ install_systemd_units:
 install_all_man:
 	$(MAKE) -C man install_all_man
 
-ifeq ("@PYTHON_BINDINGS@", "yes")
-install_python_bindings:
-	$(MAKE) -C liblvm/python install_python_bindings
-endif
-
 install_tmpfiles_configuration:
 	$(MAKE) -C scripts install_tmpfiles_configuration
 
-LCOV_TRACES = libdm.info lib.info liblvm.info tools.info \
+LCOV_TRACES = libdm.info lib.info tools.info \
 	libdaemon/client.info libdaemon/server.info \
 	test/unit.info \
 	daemons/clvmd.info \
aclocal.m4 +80 -11

138 lines not on this page · raw message

configure +20 -1968

2,223 lines not on this page · raw message

/Makefile"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -16258,7 +14310,6 @@ do

     "make.tmpl") CONFIG_FILES="$CONFIG_FILES make.tmpl" ;;
     "libdm/make.tmpl") CONFIG_FILES="$CONFIG_FILES libdm/make.tmpl" ;;
     "daemons/Makefile") CONFIG_FILES="$CONFIG_FILES daemons/Makefile" ;;
-    "daemons/clvmd/Makefile") CONFIG_FILES="$CONFIG_FILES daemons/clvmd/Makefile" ;;
     "daemons/cmirrord/Makefile") CONFIG_FILES="$CONFIG_FILES daemons/cmirrord/Makefile" ;;
     "daemons/dmeventd/Makefile") CONFIG_FILES="$CONFIG_FILES daemons/dmeventd/Makefile" ;;
     "daemons/dmeventd/libdevmapper-event.pc") CONFIG_FILES="$CONFIG_FILES daemons/dmeventd/libdevmapper-event.pc" ;;
@@ -16284,15 +14335,12 @@ do
     "conf/metadata_profile_template.profile") CONFIG_FILES="$CONFIG_FILES conf/metadata_profile_template.profile" ;;
     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
-    "lib/locking/Makefile") CONFIG_FILES="$CONFIG_FILES lib/locking/Makefile" ;;
     "include/lvm-version.h") CONFIG_FILES="$CONFIG_FILES include/lvm-version.h" ;;
     "libdaemon/Makefile") CONFIG_FILES="$CONFIG_FILES libdaemon/Makefile" ;;
     "libdaemon/client/Makefile") CONFIG_FILES="$CONFIG_FILES libdaemon/client/Makefile" ;;
     "libdaemon/server/Makefile") CONFIG_FILES="$CONFIG_FILES libdaemon/server/Makefile" ;;
     "libdm/Makefile") CONFIG_FILES="$CONFIG_FILES libdm/Makefile" ;;
     "libdm/libdevmapper.pc") CONFIG_FILES="$CONFIG_FILES libdm/libdevmapper.pc" ;;
-    "liblvm/Makefile") CONFIG_FILES="$CONFIG_FILES liblvm/Makefile" ;;
-    "liblvm/liblvm2app.pc") CONFIG_FILES="$CONFIG_FILES liblvm/liblvm2app.pc" ;;
     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
@@ -16300,14 +14348,10 @@ do
     "scripts/blkdeactivate.sh") CONFIG_FILES="$CONFIG_FILES scripts/blkdeactivate.sh" ;;
     "scripts/blk_availability_init_red_hat") CONFIG_FILES="$CONFIG_FILES scripts/blk_availability_init_red_hat" ;;
     "scripts/blk_availability_systemd_red_hat.service") CONFIG_FILES="$CONFIG_FILES scripts/blk_availability_systemd_red_hat.service" ;;
-    "scripts/clvmd_init_red_hat") CONFIG_FILES="$CONFIG_FILES scripts/clvmd_init_red_hat" ;;
     "scripts/cmirrord_init_red_hat") CONFIG_FILES="$CONFIG_FILES scripts/cmirrord_init_red_hat" ;;
     "scripts/com.redhat.lvmdbus1.service") CONFIG_FILES="$CONFIG_FILES scripts/com.redhat.lvmdbus1.service" ;;
     "scripts/dm_event_systemd_red_hat.service") CONFIG_FILES="$CONFIG_FILES scripts/dm_event_systemd_red_hat.service" ;;
     "scripts/dm_event_systemd_red_hat.socket") CONFIG_FILES="$CONFIG_FILES scripts/dm_event_systemd_red_hat.socket" ;;
-    "scripts/lvm2_cluster_activation_red_hat.sh") CONFIG_FILES="$CONFIG_FILES scripts/lvm2_cluster_activation_red_hat.sh" ;;
-    "scripts/lvm2_cluster_activation_systemd_red_hat.service") CONFIG_FILES="$CONFIG_FILES scripts/lvm2_cluster_activation_systemd_red_hat.service" ;;
-    "scripts/lvm2_clvmd_systemd_red_hat.service") CONFIG_FILES="$CONFIG_FILES scripts/lvm2_clvmd_systemd_red_hat.service" ;;
     "scripts/lvm2_cmirrord_systemd_red_hat.service") CONFIG_FILES="$CONFIG_FILES scripts/lvm2_cmirrord_systemd_red_hat.service" ;;
     "scripts/lvm2_lvmdbusd_systemd_red_hat.service") CONFIG_FILES="$CONFIG_FILES scripts/lvm2_lvmdbusd_systemd_red_hat.service" ;;
     "scripts/lvm2_lvmetad_init_red_hat") CONFIG_FILES="$CONFIG_FILES scripts/lvm2_lvmetad_init_red_hat" ;;
configure.ac +2 -61

100 lines not on this page · raw message

include/configure.h.in +3 -63

165 lines not on this page · raw message

liblvm/.exported_symbols deleted +0 -0
deleted file mode 100644
index e69de29..0000000
liblvm/Doxyfile deleted +0 -254

254 lines not on this page · raw message

liblvm/Makefile.in deleted +0 -81

57 lines not on this page · raw message

liblvm/liblvm2app.pc.in deleted +0 -11
deleted file mode 100644
index 7d7fd3d..0000000

Lines of this file are not shown. View the raw message.

liblvm/lvm2app.h deleted +0 -1983

1,983 lines not on this page · raw message

liblvm/lvm_base.c deleted +0 -216

216 lines not on this page · raw message

liblvm/lvm_lv.c deleted +0 -820

820 lines not on this page · raw message

liblvm/lvm_misc.c deleted +0 -168

168 lines not on this page · raw message

liblvm/lvm_misc.h deleted +0 -46

46 lines not on this page · raw message

liblvm/lvm_prop.c deleted +0 -74

74 lines not on this page · raw message

liblvm/lvm_prop.h deleted +0 -49

49 lines not on this page · raw message

liblvm/lvm_prop_fields.h deleted +0 -22
deleted file mode 100644
index 10f1290..0000000

Lines of this file are not shown. View the raw message.

liblvm/lvm_pv.c deleted +0 -474

474 lines not on this page · raw message

liblvm/lvm_vg.c deleted +0 -564

564 lines not on this page · raw message

liblvm/test/vgadd.c deleted +0 -90

90 lines not on this page · raw message

liblvm/test/vgshow.c deleted +0 -95

95 lines not on this page · raw message

test/api/Makefile.in +0 -33
index 6872095..c8d9fc0 100644

Lines of this file are not shown. View the raw message.

test/api/lvtest.c deleted +0 -64

64 lines not on this page · raw message

test/api/pe_start.c deleted +0 -47

47 lines not on this page · raw message

test/api/percent.c deleted +0 -63

63 lines not on this page · raw message

test/api/test.c deleted +0 -1110

1,110 lines not on this page · raw message

test/api/thin_percent.c deleted +0 -78

78 lines not on this page · raw message

test/api/vglist.c deleted +0 -73

73 lines not on this page · raw message

test/api/vgtest.c deleted +0 -164

164 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.