diff --git a/CMakeLists.txt b/CMakeLists.txt index a09d1a9..0865f27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ include(FindPackageHandleStandardArgs) # Options option(STEAM "Build for Steam" OFF) -option(DEBUG "Debug mode" ON) +option(DEBUG "Debug mode" OFF) option(NATIVE "Use native instructions(for local use only)" OFF) #x86, arm64, ia-64 option(CPU_ARCH "Enter here your target arch" "x86") diff --git a/PORTING.md b/PORTING.md index 1e5a335..395b9c4 100644 --- a/PORTING.md +++ b/PORTING.md @@ -5,7 +5,7 @@ | Windows | 100% | Играбельно | | Linux | 91% | В работе, но уже играбельно
TODO:
 \* Fix Wallpaper manager | *BSD | 15% | не в работе | -| GNU/Hurd | 90% | не в работе | +| GNU/Hurd | 0% | не в работеm не хватает библеотек | | Solaris/OpenSolaris | 1% | не в работе | | RedoxOS | 0% | Не хватает библеотек | | Android | 4% | В работе | @@ -31,7 +31,7 @@ | GNOME | 10% | | KDE | 10% | | LXQT | 0% | -| MATE | 10% | +| MATE | 100% | | Cinnamon | 10% | | Budgie | 0% | | Deepin | 10% | diff --git a/binding-mri/wallpaper-binding.cpp b/binding-mri/wallpaper-binding.cpp index 37ecc91..fd3f67a 100644 --- a/binding-mri/wallpaper-binding.cpp +++ b/binding-mri/wallpaper-binding.cpp @@ -344,11 +344,15 @@ end: GValue colorValue = G_VALUE_INIT; GPtrArray *colorArr = g_ptr_array_sized_new(4); GType colorArrType = g_type_from_name("GPtrArray_GValue_"); - if (!colorArrType) { + //TODO:fix later + //if (!colorArrType) { std::stringstream colorCommand; colorCommand << "xfconf-query -c xfce4-desktop -n -p " << optionColor << " -t uint -t uint -t uint -t uint -s " << ub << " -s " << ug << " -s " << ub << " -s " << alpha; + Debug() << "xfconf-query -c xfce4-desktop -n -p " << optionColor + << " -t uint -t uint -t uint -t uint -s " << ub + << " -s " << ug << " -s " << ub << " -s " << alpha; int colorCommandRes = system(colorCommand.str().c_str()); defColorExists = xfconf_channel_get_property(bgchannel, optionColor.c_str(), &defColor); colorArrType = g_type_from_name("GPtrArray_GValue_"); @@ -357,7 +361,7 @@ end: Debug() << "[wallpaperSet] WALLPAPER ERROR: xfconf-query call returned" << colorCommandRes; return Qnil; } - } + //} g_value_init(&colorValue, colorArrType); GValue *vr = g_new0(GValue, 1); GValue *vg = g_new0(GValue, 1);