File 0002-relax-x11-version.patch of Package xfce4-session

diff -rup a/configure.ac b/configure.ac
--- a/configure.ac	2025-03-23 09:09:17.000000000 +0100
+++ b/configure.ac	2025-03-23 11:43:49.616995147 +0100
@@ -19,8 +19,8 @@ m4_define([libxfce4windowing_min_version
 
 m4_define([libx11_min_version], [1.6.7])
 m4_define([libwnck_min_version], [3.10.0])
-m4_define([libice_min_version], [1.0.10])
-m4_define([libsm_min_version], [1.2.3])
+m4_define([libice_min_version], [1.0.9])
+m4_define([libsm_min_version], [1.2.2])
 
 m4_define([gtk_layer_shell_min_version], [0.7.0])
 
diff -rup a/configure b/configure
--- a/configure	2025-03-23 09:11:01.000000000 +0100
+++ b/configure	2025-03-23 11:44:06.375181485 +0100
@@ -20785,11 +20785,11 @@ printf "%s\n" "not found" >&6; }
 
 
   if test x"$xdt_feature_deps_check_only" = x"yes"; then
-    if ! $PKG_CONFIG --exists "ice >= 1.0.10" >/dev/null 2>&1; then
+    if ! $PKG_CONFIG --exists "ice >= 1.0.9" >/dev/null 2>&1; then
       if test x"$xdt_feature_deps_missing" = x""; then
-        xdt_feature_deps_missing="ice >= 1.0.10"
+        xdt_feature_deps_missing="ice >= 1.0.9"
       else
-        xdt_feature_deps_missing="$xdt_feature_deps_missing, ice >= 1.0.10"
+        xdt_feature_deps_missing="$xdt_feature_deps_missing, ice >= 1.0.9"
       fi
     fi
   else
@@ -20948,9 +20948,9 @@ fi
 
 
 
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ice >= 1.0.10" >&5
-printf %s "checking for ice >= 1.0.10... " >&6; }
-  if $PKG_CONFIG "--atleast-version=1.0.10" "ice" >/dev/null 2>&1; then
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ice >= 1.0.9" >&5
+printf %s "checking for ice >= 1.0.9... " >&6; }
+  if $PKG_CONFIG "--atleast-version=1.0.9" "ice" >/dev/null 2>&1; then
     LIBICE_VERSION=`$PKG_CONFIG --modversion "ice"`
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_VERSION" >&5
 printf "%s\n" "$LIBICE_VERSION" >&6; }
@@ -20967,7 +20967,7 @@ printf %s "checking LIBICE_LIBS... " >&6
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_LIBS" >&5
 printf "%s\n" "$LIBICE_LIBS" >&6; }
 
-    LIBICE_REQUIRED_VERSION=1.0.10
+    LIBICE_REQUIRED_VERSION=1.0.9
 
 
 
@@ -20996,7 +20996,7 @@ printf "%s\n" "found, but $xdt_cv_versio
 
       echo "*** The required package ice was found on your system,"
       echo "*** but the installed version ($xdt_cv_version) is too old."
-      echo "*** Please upgrade ice to atleast version 1.0.10, or adjust"
+      echo "*** Please upgrade ice to atleast version 1.0.9, or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you installed"
       echo "*** the new version of the package in a nonstandard prefix so"
       echo "*** pkg-config is able to find it."
@@ -21008,7 +21008,7 @@ printf "%s\n" "not found" >&6; }
 
 
       echo "*** The required package ice was not found on your system."
-      echo "*** Please install ice (atleast version 1.0.10) or adjust"
+      echo "*** Please install ice (atleast version 1.0.9) or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you"
       echo "*** installed the package in a nonstandard prefix so that"
       echo "*** pkg-config is able to find it."
@@ -21022,11 +21022,11 @@ printf "%s\n" "not found" >&6; }
 
 
   if test x"$xdt_feature_deps_check_only" = x"yes"; then
-    if ! $PKG_CONFIG --exists "sm >= 1.2.3" >/dev/null 2>&1; then
+    if ! $PKG_CONFIG --exists "sm >= 1.2.2" >/dev/null 2>&1; then
       if test x"$xdt_feature_deps_missing" = x""; then
-        xdt_feature_deps_missing="sm >= 1.2.3"
+        xdt_feature_deps_missing="sm >= 1.2.2"
       else
-        xdt_feature_deps_missing="$xdt_feature_deps_missing, sm >= 1.2.3"
+        xdt_feature_deps_missing="$xdt_feature_deps_missing, sm >= 1.2.2"
       fi
     fi
   else
@@ -21185,9 +21185,9 @@ fi
 
 
 
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sm >= 1.2.3" >&5
-printf %s "checking for sm >= 1.2.3... " >&6; }
-  if $PKG_CONFIG "--atleast-version=1.2.3" "sm" >/dev/null 2>&1; then
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sm >= 1.2.2" >&5
+printf %s "checking for sm >= 1.2.2... " >&6; }
+  if $PKG_CONFIG "--atleast-version=1.2.2" "sm" >/dev/null 2>&1; then
     LIBSM_VERSION=`$PKG_CONFIG --modversion "sm"`
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_VERSION" >&5
 printf "%s\n" "$LIBSM_VERSION" >&6; }
@@ -21204,7 +21204,7 @@ printf %s "checking LIBSM_LIBS... " >&6;
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_LIBS" >&5
 printf "%s\n" "$LIBSM_LIBS" >&6; }
 
-    LIBSM_REQUIRED_VERSION=1.2.3
+    LIBSM_REQUIRED_VERSION=1.2.2
 
 
 
@@ -21233,7 +21233,7 @@ printf "%s\n" "found, but $xdt_cv_versio
 
       echo "*** The required package sm was found on your system,"
       echo "*** but the installed version ($xdt_cv_version) is too old."
-      echo "*** Please upgrade sm to atleast version 1.2.3, or adjust"
+      echo "*** Please upgrade sm to atleast version 1.2.2, or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you installed"
       echo "*** the new version of the package in a nonstandard prefix so"
       echo "*** pkg-config is able to find it."
@@ -21245,7 +21245,7 @@ printf "%s\n" "not found" >&6; }
 
 
       echo "*** The required package sm was not found on your system."
-      echo "*** Please install sm (atleast version 1.2.3) or adjust"
+      echo "*** Please install sm (atleast version 1.2.2) or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you"
       echo "*** installed the package in a nonstandard prefix so that"
       echo "*** pkg-config is able to find it."
@@ -21974,11 +21974,11 @@ printf "%s\n" "not found" >&6; }
 
 
   if test x"$xdt_feature_deps_check_only" = x"yes"; then
-    if ! $PKG_CONFIG --exists "ice >= 1.0.10" >/dev/null 2>&1; then
+    if ! $PKG_CONFIG --exists "ice >= 1.0.9" >/dev/null 2>&1; then
       if test x"$xdt_feature_deps_missing" = x""; then
-        xdt_feature_deps_missing="ice >= 1.0.10"
+        xdt_feature_deps_missing="ice >= 1.0.9"
       else
-        xdt_feature_deps_missing="$xdt_feature_deps_missing, ice >= 1.0.10"
+        xdt_feature_deps_missing="$xdt_feature_deps_missing, ice >= 1.0.9"
       fi
     fi
   else
@@ -22137,9 +22137,9 @@ fi
 
 
 
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ice >= 1.0.10" >&5
-printf %s "checking for ice >= 1.0.10... " >&6; }
-  if $PKG_CONFIG "--atleast-version=1.0.10" "ice" >/dev/null 2>&1; then
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ice >= 1.0.9" >&5
+printf %s "checking for ice >= 1.0.9... " >&6; }
+  if $PKG_CONFIG "--atleast-version=1.0.9" "ice" >/dev/null 2>&1; then
     LIBICE_VERSION=`$PKG_CONFIG --modversion "ice"`
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_VERSION" >&5
 printf "%s\n" "$LIBICE_VERSION" >&6; }
@@ -22156,7 +22156,7 @@ printf %s "checking LIBICE_LIBS... " >&6
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICE_LIBS" >&5
 printf "%s\n" "$LIBICE_LIBS" >&6; }
 
-    LIBICE_REQUIRED_VERSION=1.0.10
+    LIBICE_REQUIRED_VERSION=1.0.9
 
 
 
@@ -22185,7 +22185,7 @@ printf "%s\n" "found, but $xdt_cv_versio
 
       echo "*** The required package ice was found on your system,"
       echo "*** but the installed version ($xdt_cv_version) is too old."
-      echo "*** Please upgrade ice to atleast version 1.0.10, or adjust"
+      echo "*** Please upgrade ice to atleast version 1.0.9, or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you installed"
       echo "*** the new version of the package in a nonstandard prefix so"
       echo "*** pkg-config is able to find it."
@@ -22197,7 +22197,7 @@ printf "%s\n" "not found" >&6; }
 
 
       echo "*** The required package ice was not found on your system."
-      echo "*** Please install ice (atleast version 1.0.10) or adjust"
+      echo "*** Please install ice (atleast version 1.0.9) or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you"
       echo "*** installed the package in a nonstandard prefix so that"
       echo "*** pkg-config is able to find it."
@@ -22211,11 +22211,11 @@ printf "%s\n" "not found" >&6; }
 
 
   if test x"$xdt_feature_deps_check_only" = x"yes"; then
-    if ! $PKG_CONFIG --exists "sm >= 1.2.3" >/dev/null 2>&1; then
+    if ! $PKG_CONFIG --exists "sm >= 1.2.2" >/dev/null 2>&1; then
       if test x"$xdt_feature_deps_missing" = x""; then
-        xdt_feature_deps_missing="sm >= 1.2.3"
+        xdt_feature_deps_missing="sm >= 1.2.2"
       else
-        xdt_feature_deps_missing="$xdt_feature_deps_missing, sm >= 1.2.3"
+        xdt_feature_deps_missing="$xdt_feature_deps_missing, sm >= 1.2.2"
       fi
     fi
   else
@@ -22374,9 +22374,9 @@ fi
 
 
 
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sm >= 1.2.3" >&5
-printf %s "checking for sm >= 1.2.3... " >&6; }
-  if $PKG_CONFIG "--atleast-version=1.2.3" "sm" >/dev/null 2>&1; then
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sm >= 1.2.2" >&5
+printf %s "checking for sm >= 1.2.2... " >&6; }
+  if $PKG_CONFIG "--atleast-version=1.2.2" "sm" >/dev/null 2>&1; then
     LIBSM_VERSION=`$PKG_CONFIG --modversion "sm"`
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_VERSION" >&5
 printf "%s\n" "$LIBSM_VERSION" >&6; }
@@ -22393,7 +22393,7 @@ printf %s "checking LIBSM_LIBS... " >&6;
     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBSM_LIBS" >&5
 printf "%s\n" "$LIBSM_LIBS" >&6; }
 
-    LIBSM_REQUIRED_VERSION=1.2.3
+    LIBSM_REQUIRED_VERSION=1.2.2
 
 
 
@@ -22422,7 +22422,7 @@ printf "%s\n" "found, but $xdt_cv_versio
 
       echo "*** The required package sm was found on your system,"
       echo "*** but the installed version ($xdt_cv_version) is too old."
-      echo "*** Please upgrade sm to atleast version 1.2.3, or adjust"
+      echo "*** Please upgrade sm to atleast version 1.2.2, or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you installed"
       echo "*** the new version of the package in a nonstandard prefix so"
       echo "*** pkg-config is able to find it."
@@ -22434,7 +22434,7 @@ printf "%s\n" "not found" >&6; }
 
 
       echo "*** The required package sm was not found on your system."
-      echo "*** Please install sm (atleast version 1.2.3) or adjust"
+      echo "*** Please install sm (atleast version 1.2.2) or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you"
       echo "*** installed the package in a nonstandard prefix so that"
       echo "*** pkg-config is able to find it."
openSUSE Build Service is sponsored by