From 9ac53e28b1a1b205b6f753ac10b87a1b9e739e40 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Mon, 24 Jul 2017 15:27:20 -0500 Subject: [PATCH] Add information about compile-time dependency versions Since the codebase looks at these versions for turning on and off functionality it will be useful to use this for debugging --- src/fu-util.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/fu-util.c b/src/fu-util.c index add03c990..fcf03b49b 100644 --- a/src/fu-util.c +++ b/src/fu-util.c @@ -1801,6 +1801,15 @@ main (int argc, char *argv[]) #ifdef FWUPD_GIT_DESCRIBE g_print ("checkout info:\t%s\n", FWUPD_GIT_DESCRIBE); #endif + g_print ("compile-time dependency versions\n"); + g_print ("\tappstream-glib:\t%d.%d.%d\n", + AS_MAJOR_VERSION, + AS_MINOR_VERSION, + AS_MICRO_VERSION); + g_print ("\tgusb:\t%d.%d.%d\n", + G_USB_MAJOR_VERSION, + G_USB_MINOR_VERSION, + G_USB_MICRO_VERSION); return EXIT_SUCCESS; }