Minor enhancements to make the plugin nice (print more information, add library version, upload RHEL8 compiled version to the repository)

This commit is contained in:
2026-04-04 21:47:20 +02:00
parent c5605f5b0b
commit f8ef814ee3
5 changed files with 13 additions and 5 deletions
+9 -2
View File
@@ -169,8 +169,15 @@ extern "C" {
void plugin_open(const char *filename, int info[1024], int *error_flag) {
std::unique_lock sl(plugin_mutex);
std::cout << "Jungfraujoch XDS plugin" << std::endl;
std::cout << "Version " << jfjoch_version() << std::endl;
std::cout << "********** Jungfraujoch XDS plugin **********" << std::endl;
std::cout << "Jungfraujoch version " << jfjoch_version() << std::endl;
std::cout << "Plugin version " << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_PATCH << std::endl << std::endl;
std::cout << "Copyright (C) 2024-2026 Paul Scherrer Institute" << std::endl;
std::cout << "This program comes with ABSOLUTELY NO WARRANTY" << std::endl;
std::cout << "This is free software, and you are welcome to redistribute it" << std::endl;
std::cout << "under certain conditions (GPLv3)" << std::endl << std::endl;
std::cout << "Based on durin plugin from Diamond Light Source Ltd. with modification from the Global Phasing Ltd." << std::endl;
std::cout << "(BSD-3 license)" << std::endl << std::endl;
try {
FillInfoArray(info);