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

diff -rup a/configure.ac b/configure.ac
--- a/configure.ac	2026-03-02 11:13:40.000000000 +0100
+++ b/configure.ac	2026-03-03 16:29:58.798867163 +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	2026-03-02 11:15:38.000000000 +0100
+++ b/configure	2026-03-03 16:29:58.802360765 +0100
@@ -20946,11 +20946,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
@@ -21109,9 +21109,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; }
@@ -21128,7 +21128,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
 
 
 
@@ -21157,7 +21157,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."
@@ -21169,7 +21169,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."
@@ -21183,11 +21183,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
@@ -21346,9 +21346,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; }
@@ -21365,7 +21365,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
 
 
 
@@ -21394,7 +21394,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."
@@ -21406,7 +21406,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."
@@ -22135,11 +22135,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
@@ -22298,9 +22298,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; }
@@ -22317,7 +22317,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
 
 
 
@@ -22346,7 +22346,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."
@@ -22358,7 +22358,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."
@@ -22372,11 +22372,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
@@ -22535,9 +22535,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; }
@@ -22554,7 +22554,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
 
 
 
@@ -22583,7 +22583,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."
@@ -22595,7 +22595,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