X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fenvironment_info.cc;h=31279acfbf539b1be227542d9194af3ebd4a0ab2;hb=1bfc60e40f533c6d931a915deabd97899719eb4b;hp=462e8f11fc532b90d3ca2c43bbc756a1a90ab22e;hpb=32911ed3ec57ef9680bfd255fbbe78e8df926f7d;p=dcpomatic.git diff --git a/src/lib/environment_info.cc b/src/lib/environment_info.cc index 462e8f11f..31279acfb 100644 --- a/src/lib/environment_info.cc +++ b/src/lib/environment_info.cc @@ -24,24 +24,10 @@ #include "cross.h" #include #include -#ifdef DCPOMATIC_IMAGE_MAGICK -/* ImageMagick */ -#ifdef DCPOMATIC_MAGICKCORE_MAGICK -#include -#include -#else -#include -#include -#endif -#else -/* GraphicsMagick */ -#include -#include -#include -#endif extern "C" { #include #include +#include #include #include } @@ -49,9 +35,6 @@ extern "C" { #include "i18n.h" -#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), LogEntry::TYPE_GENERAL); -#define LOG_GENERAL_NC(...) log->log (__VA_ARGS__, LogEntry::TYPE_GENERAL); - using std::string; using std::list; using std::pair; @@ -76,13 +59,12 @@ dependency_version_summary () { char buffer[512]; snprintf ( - buffer, sizeof(buffer), "libavcodec %s, libavfilter %s, libavformat %s, libavutil %s, libswscale %s, %s, libssh %s, libdcp %s git %s", + buffer, sizeof(buffer), "libavcodec %s, libavfilter %s, libavformat %s, libavutil %s, libswscale %s, libssh %s, libdcp %s git %s", ffmpeg_version_to_string(avcodec_version()).c_str(), ffmpeg_version_to_string(avfilter_version()).c_str(), ffmpeg_version_to_string(avformat_version()).c_str(), ffmpeg_version_to_string(avutil_version()).c_str(), ffmpeg_version_to_string(swscale_version()).c_str(), - MagickVersion, ssh_version(0), dcp::version, dcp::git_commit );