Skip to content

Commit

Permalink
Print plugin version on setup
Browse files Browse the repository at this point in the history
Closes #64
  • Loading branch information
pabloyoyoista committed Oct 3, 2023
1 parent fbcda9a commit 10b7cb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ project(
gnome_software_dep = dependency('gnome-software', version: '>=44.0')
plugin_install_dir = gnome_software_dep.get_variable('plugindir')

cargs = ['-DG_LOG_DOMAIN="GsPluginApk"', '-DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE']
cargs = [
'-DG_LOG_DOMAIN="GsPluginApk"',
'-DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE',
'-DGS_PLUGIN_APK_VERSION="@0@"'.format(meson.project_version()),
]

apk_dep = dependency('apk-polkit-client-2')
glib_dep = dependency('glib-2.0', version: '>=2.60')
Expand Down
2 changes: 1 addition & 1 deletion src/gs-plugin-apk/gs-plugin-apk.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ gs_plugin_apk_setup_async (GsPlugin *plugin,
task = g_task_new (plugin, cancellable, callback, user_data);
g_task_set_source_tag (task, gs_plugin_apk_setup_async);

g_debug ("Initializing plugin");
g_debug ("APK plugin version: %s", GS_PLUGIN_APK_VERSION);

apk_polkit2_proxy_new (gs_plugin_get_system_bus_connection (plugin),
G_DBUS_PROXY_FLAGS_NONE,
Expand Down

0 comments on commit 10b7cb4

Please sign in to comment.