public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Miroslav Rezanina <mrezanin@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/open-vm-tools] eln: Rebase to 13.1.0 using rawhide spec with minimal ELN adjustments
Date: Wed, 30 Sep 2026 11:35:05 GMT	[thread overview]
Message-ID: <179076810560.1.3810448598730829004.rpms-open-vm-tools-b458b6e8288c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/open-vm-tools
            Branch : eln
            Commit : b458b6e8288c86134f5b0fe511922ac80d49f9d4
            Author : Miroslav Rezanina <mrezanin@redhat.com>
            Date   : 2026-09-30T13:33:10+02:00
            Stats  : +523/-295 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/open-vm-tools/c/b458b6e8288c86134f5b0fe511922ac80d49f9d4?branch=eln

            Log:
            Rebase to 13.1.0 using rawhide spec with minimal ELN adjustments

Replace ELN spec with rawhide spec (13.1.0, GTK4, -p1 patches).
Minimal ELN-required changes:
- %autorelease → manual release, %autochangelog → manual changelog
- ExclusiveArch conditional to drop i686 on RHEL
Add rawhide patches: gcc16, sigc++3, openssl4.
Drop bundled gtkmm3 stack and associated SRPMs from sources.

---
diff --git a/.gitignore b/.gitignore
index 84881fb..f6c5da5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,3 +42,4 @@
 /open-vm-tools-13.0.0-24696409.tar.gz
 /open-vm-tools-13.0.5-24915695.tar.gz
 /open-vm-tools-13.0.10-25056151.tar.gz
+/open-vm-tools-13.1.0-25218885.tar.gz

diff --git a/open-vm-tools-gcc16.patch b/open-vm-tools-gcc16.patch
new file mode 100644
index 0000000..c97d1be
--- /dev/null
+++ b/open-vm-tools-gcc16.patch
@@ -0,0 +1,119 @@
+diff -Naur open-vm-tools-13.1.0-25218885.old/lib/hgfs/hgfsEscape.c open-vm-tools-13.1.0-25218885/lib/hgfs/hgfsEscape.c
+--- open-vm-tools-13.1.0-25218885.old/lib/hgfs/hgfsEscape.c	2026-05-20 09:29:22.785922590 +0200
++++ open-vm-tools-13.1.0-25218885/lib/hgfs/hgfsEscape.c	2026-05-20 09:29:29.882931070 +0200
+@@ -198,7 +198,7 @@
+       if (outputSpace < 2) {
+          return FALSE;
+       }
+-      illegal = strchr(HGFS_ILLEGAL_CHARS, bufIn[escapeContext->processedOffset]);
++      illegal = (char *)strchr(HGFS_ILLEGAL_CHARS, bufIn[escapeContext->processedOffset]);
+       escapeContext->processedOffset++;  // Skip illegal input character
+       ASSERT(illegal != NULL);
+       escapeContext->outputBuffer[escapeContext->outputOffset] =
+@@ -583,12 +583,12 @@
+          if (bufIn[offset - 2] == HGFS_ESCAPE_SUBSTITUE_CHAR) {
+             return TRUE;
+          }
+-         substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 2]);
++         substitute = (char *)strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 2]);
+          if (substitute != NULL) {
+             return TRUE;
+          }
+       }
+-      substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]);
++      substitute = (char *)strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]);
+       if (substitute != NULL) {
+          return TRUE;
+       }
+@@ -887,7 +887,7 @@
+       size_t offset = escapePointer - bufIn;
+ 
+       if (HgfsIsEscapeSequence(bufIn, offset, sizeIn)) {
+-         char* substitute = strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]);
++         char* substitute = (char *)strchr(HGFS_SUBSTITUTE_CHARS, bufIn[offset - 1]);
+          if (substitute != NULL) {
+             bufIn[offset - 1] = HGFS_ILLEGAL_CHARS[substitute - HGFS_SUBSTITUTE_CHARS];
+          } else if (bufIn[offset - 1] == HGFS_ESCAPE_SUBSTITUE_CHAR) {
+diff -Naur open-vm-tools-13.1.0-25218885.old/lib/hgfsServer/hgfsServerLinux.c open-vm-tools-13.1.0-25218885/lib/hgfsServer/hgfsServerLinux.c
+--- open-vm-tools-13.1.0-25218885.old/lib/hgfsServer/hgfsServerLinux.c	2026-05-20 09:29:22.786213938 +0200
++++ open-vm-tools-13.1.0-25218885/lib/hgfsServer/hgfsServerLinux.c	2026-05-20 09:29:29.883560326 +0200
+@@ -1369,7 +1369,7 @@
+    ASSERT(fileName);
+    ASSERT(attr);
+ 
+-   baseName = strrchr(fileName, DIRSEPC);
++   baseName = (char *)strrchr(fileName, DIRSEPC);
+ 
+    if ((baseName != NULL) &&
+        (baseName[1] == '.') &&
+diff -Naur open-vm-tools-13.1.0-25218885.old/lib/misc/strutil.c open-vm-tools-13.1.0-25218885/lib/misc/strutil.c
+--- open-vm-tools-13.1.0-25218885.old/lib/misc/strutil.c	2026-05-20 09:29:22.787198213 +0200
++++ open-vm-tools-13.1.0-25218885/lib/misc/strutil.c	2026-05-20 09:29:29.884475230 +0200
+@@ -1467,7 +1467,7 @@
+     lenWith = strlen(with);
+ 
+     current = orig;
+-    while ((tmp = strstr(current, what)) != NULL) {
++    while ((tmp = (char *)strstr(current, what)) != NULL) {
+        current = tmp + lenWhat;
+        ++occurrences;
+     }
+@@ -1705,7 +1705,7 @@
+    do {
+       int tokenLen;
+ 
+-      foundDelim = strchr(list, delim);
++      foundDelim = (char *)strchr(list, delim);
+       if (foundDelim == NULL) { // either single or last element
+          tokenLen = strlen(list);
+       } else { // ! last element
+diff -Naur open-vm-tools-13.1.0-25218885.old/lib/nicInfo/nicInfoPosix.c open-vm-tools-13.1.0-25218885/lib/nicInfo/nicInfoPosix.c
+--- open-vm-tools-13.1.0-25218885.old/lib/nicInfo/nicInfoPosix.c	2026-05-20 09:29:22.789626138 +0200
++++ open-vm-tools-13.1.0-25218885/lib/nicInfo/nicInfoPosix.c	2026-05-20 09:29:29.884883278 +0200
+@@ -266,7 +266,7 @@
+    char *p;
+    size_t n;
+ 
+-   if ((p = strchr(label, ':')) != NULL) {
++   if ((p = (char *)strchr(label, ':')) != NULL) {
+       n = p - label;
+    } else {
+       n = strlen(label);
+diff -Naur open-vm-tools-13.1.0-25218885.old/lib/rpcChannel/glib_stubs.c open-vm-tools-13.1.0-25218885/lib/rpcChannel/glib_stubs.c
+--- open-vm-tools-13.1.0-25218885.old/lib/rpcChannel/glib_stubs.c	2026-05-20 09:29:22.782975617 +0200
++++ open-vm-tools-13.1.0-25218885/lib/rpcChannel/glib_stubs.c	2026-05-20 09:29:29.885301226 +0200
+@@ -33,6 +33,10 @@
+ #error "This file should be compiled for RPCI-only channel!"
+ #endif
+ 
++#undef g_malloc0
++#undef g_malloc0_n
++#undef g_free
++
+ void *g_malloc0(size_t s) { return Util_SafeCalloc(1, s); }
+ void *g_malloc0_n(size_t n, size_t s) { return Util_SafeCalloc(n, s); }
+ void g_free(void *p) { free(p); }
+diff -Naur open-vm-tools-13.1.0-25218885.old/libvmtools/i18n.c open-vm-tools-13.1.0-25218885/libvmtools/i18n.c
+--- open-vm-tools-13.1.0-25218885.old/libvmtools/i18n.c	2026-05-20 09:29:22.805164016 +0200
++++ open-vm-tools-13.1.0-25218885/libvmtools/i18n.c	2026-05-20 09:29:29.885430219 +0200
+@@ -711,7 +711,7 @@
+        * If we couldn't find the catalog file for the user's language, see if
+        * we can find a more generic language (e.g., for "en_US", also try "en").
+        */
+-      char *sep = Str_Strrchr(lang, '_');
++      char *sep = (char *)Str_Strrchr(lang, '_');
+       if (sep != NULL) {
+          if (usrlang == NULL) {
+             usrlang = Util_SafeStrdup(lang);
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/vix/vixTools.c open-vm-tools-13.1.0-25218885/services/plugins/vix/vixTools.c
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/vix/vixTools.c	2026-05-20 09:29:22.802952859 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/vix/vixTools.c	2026-05-20 09:29:29.885903651 +0200
+@@ -928,7 +928,7 @@
+       char *whereToSplit;
+       size_t nameLen;
+ 
+-      whereToSplit = strchr(*envp, '=');
++      whereToSplit = (char *)strchr(*envp, '=');
+       if (NULL == whereToSplit) {
+          /* Our code generated this list, so this shouldn't happen. */
+          ASSERT(0);

diff --git a/open-vm-tools-openssl4.patch b/open-vm-tools-openssl4.patch
new file mode 100644
index 0000000..4574fea
--- /dev/null
+++ b/open-vm-tools-openssl4.patch
@@ -0,0 +1,39 @@
+diff --git a/vgauth/common/certverify.c b/vgauth/common/certverify.c
+index 845f59b..ec5faf7 100644
+--- a/vgauth/common/certverify.c
++++ b/vgauth/common/certverify.c
+@@ -793,7 +793,7 @@ CertVerify_CheckSignatureUsingCert(VGAuthHashAlg hash,
+ {
+    VGAuthError err;
+    X509 *cert;
+-   X509_PUBKEY *x509PubKey;
++   const X509_PUBKEY *x509PubKey;
+    EVP_PKEY *publicKey;
+ 
+    cert = CertStringToX509(pemCert);
+@@ -924,12 +924,12 @@ done:
+ 
+ static X509 *
+ FindCert(GList *cList,
+-         X509_NAME *val,
++         const X509_NAME *val,
+          int checkSubj)
+ {
+    GList *l;
+    X509 *c;
+-   X509_NAME *v;
++   const X509_NAME *v;
+ 
+    l = cList;
+    while (l != NULL) {
+@@ -974,8 +974,8 @@ CertVerify_CheckForUnrelatedCerts(int numCerts,
+    GList *rawList = NULL;
+    X509 *baseCert;
+    X509 *curCert;
+-   X509_NAME *subject;
+-   X509_NAME *issuer;
++   const X509_NAME *subject;
++   const X509_NAME *issuer;
+ 
+    /* common single cert case; nothing to do */
+    if (numCerts == 1) {

diff --git a/open-vm-tools-sigc++3.patch b/open-vm-tools-sigc++3.patch
new file mode 100644
index 0000000..55ca8cf
--- /dev/null
+++ b/open-vm-tools-sigc++3.patch
@@ -0,0 +1,329 @@
+diff -Naur open-vm-tools-13.1.0-25218885.old/lib/include/sigc++2to3.h open-vm-tools-13.1.0-25218885/lib/include/sigc++2to3.h
+--- open-vm-tools-13.1.0-25218885.old/lib/include/sigc++2to3.h	2026-05-20 09:29:22.776385646 +0200
++++ open-vm-tools-13.1.0-25218885/lib/include/sigc++2to3.h	2026-05-20 09:43:29.750369887 +0200
+@@ -36,85 +36,6 @@
+ namespace sigc {
+ 
+ 
+-// Bridge slot syntax change
+-template <typename T_ret, typename... T_args>
+-class slot : public slot<T_ret(T_args...)> {
+-private:
+-   using _true_slot = slot<T_ret(T_args...)>;
+-public:
+-   inline slot() = default;
+-   inline slot(const _true_slot& src) : _true_slot(src) {}
+-   template<typename T_functor>
+-   inline slot(const T_functor& func) : _true_slot(func) {}
+-};
+-
+-template <typename T_ret>
+-using slot0 = slot<T_ret()>;
+-template <typename T_ret, typename T_arg1>
+-using slot1 = slot<T_ret(T_arg1)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2>
+-using slot2 = slot<T_ret(T_arg1, T_arg2)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3>
+-using slot3 = slot<T_ret(T_arg1, T_arg2, T_arg3)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4>
+-using slot4 = slot<T_ret(T_arg1, T_arg2, T_arg3, T_arg4)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5>
+-using slot5 = slot<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5, typename T_arg6>
+-using slot6 = slot<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5, typename T_arg6, typename T_arg7>
+-using slot7 = slot<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)>;
+-
+-
+-// Bridge signal syntax change
+-template <typename T_ret, typename... T_args>
+-class signal : public signal<T_ret(T_args...)>, public trackable {
+-public:
+-   signal() = default;
+-
+-   decltype(auto) make_slot() const {
+-      return mem_fun(*this, &signal::emit);
+-   }
+-};
+-
+-template <typename T_ret>
+-using signal0 = signal<T_ret()>;
+-template <typename T_ret, typename T_arg1>
+-using signal1 = signal<T_ret(T_arg1)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2>
+-using signal2 = signal<T_ret(T_arg1, T_arg2)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3>
+-using signal3 = signal<T_ret(T_arg1, T_arg2, T_arg3)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4>
+-using signal4 = signal<T_ret(T_arg1, T_arg2, T_arg3, T_arg4)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5>
+-using signal5 = signal<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5, typename T_arg6>
+-using signal6 = signal<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6)>;
+-template <typename T_ret, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5, typename T_arg6, typename T_arg7>
+-using signal7 = signal<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)>;
+-
+-
+-//Bridge bound_mem_functor
+-template <typename T_ret, typename T_obj>
+-using bound_mem_functor0 = bound_mem_functor<T_ret (T_obj::*)()>;
+-template <typename T_ret, typename T_obj, typename T_arg1>
+-using bound_mem_functor1 = bound_mem_functor<T_ret (T_obj::*)(T_arg1), T_arg1>;
+-template <typename T_ret, typename T_obj, typename T_arg1, typename T_arg2>
+-using bound_mem_functor2 = bound_mem_functor<T_ret (T_obj::*)(T_arg1, T_arg2), T_arg1, T_arg2>;
+-template <typename T_ret, typename T_obj, typename T_arg1, typename T_arg2, typename T_arg3>
+-using bound_mem_functor3 = bound_mem_functor<T_ret (T_obj::*)(T_arg1, T_arg2, T_arg3), T_arg1, T_arg2, T_arg3>;
+-template <typename T_ret, typename T_obj, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4>
+-using bound_mem_functor4 = bound_mem_functor<T_ret (T_obj::*)(T_arg1, T_arg2, T_arg3, T_arg4), T_arg1, T_arg2, T_arg3, T_arg4>;
+-template <typename T_ret, typename T_obj, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5>
+-using bound_mem_functor5 = bound_mem_functor<T_ret (T_obj::*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5), T_arg1, T_arg2, T_arg3, T_arg4, T_arg5>;
+-template <typename T_ret, typename T_obj, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5, typename T_arg6>
+-using bound_mem_functor6 = bound_mem_functor<T_ret (T_obj::*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6), T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6>;
+-template <typename T_ret, typename T_obj, typename T_arg1, typename T_arg2, typename T_arg3, typename T_arg4, typename T_arg5, typename T_arg6, typename T_arg7>
+-using bound_mem_functor7 = bound_mem_functor<T_ret (T_obj::*)(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7), T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7>;
+-
+-
+-
+ // Add old mem_fun API for pointer
+ template<typename T_return, typename T_obj, typename... T_arg>
+ inline decltype(auto)
+@@ -131,13 +52,6 @@
+ }
+ 
+ 
+-// Stub sigc::ref impl
+-template <typename T>
+-inline decltype(auto) ref(T& t) { return std::ref(t); }
+-template <typename T>
+-inline decltype(auto) ref(const T& t) { return std::cref(t); }
+-
+-
+ } //namespace sigc
+ 
+ #endif // SIGCXX_MAJOR_VERSION >= 3
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dnd/copyPasteRpc.hh open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dnd/copyPasteRpc.hh
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dnd/copyPasteRpc.hh	2026-05-20 09:29:22.798851742 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dnd/copyPasteRpc.hh	2026-05-20 09:43:45.076288192 +0200
+@@ -39,18 +39,18 @@
+    virtual ~CopyPasteRpc(void) {};
+ 
+    /* sigc signals for CopyPaste source callback. */
+-   sigc::signal<void, uint32, bool, const CPClipboard*> srcRecvClipChanged;
+-   sigc::signal<void, uint32, const uint8 *, uint32> requestFilesChanged;
+-   sigc::signal<void, uint32, bool, const uint8 *, uint32> getFilesDoneChanged;
++   sigc::signal<void(uint32, bool, const CPClipboard*)> srcRecvClipChanged;
++   sigc::signal<void(uint32, const uint8 *, uint32)> requestFilesChanged;
++   sigc::signal<void(uint32, bool, const uint8 *, uint32)> getFilesDoneChanged;
+ 
+    /* sigc signal for CopyPaste destination callback. */
+-   sigc::signal<void, uint32, bool> destRequestClipChanged;
++   sigc::signal<void(uint32, bool)> destRequestClipChanged;
+ 
+    /* sigc signal for ping reply callback. */
+-   sigc::signal<void, uint32> pingReplyChanged;
++   sigc::signal<void(uint32)> pingReplyChanged;
+ 
+    /* sigc signal for rpc command reply received. */
+-   sigc::signal<void, uint32, uint32> cmdReplyChanged;
++   sigc::signal<void(uint32, uint32)> cmdReplyChanged;
+ 
+    virtual void Init(void) = 0;
+    virtual void SendPing(uint32 caps) = 0;
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dnd/dndRpc.hh open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dnd/dndRpc.hh
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dnd/dndRpc.hh	2026-05-20 09:29:22.798851742 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dnd/dndRpc.hh	2026-05-20 09:43:45.076633914 +0200
+@@ -40,30 +40,30 @@
+    virtual ~DnDRpc(void) {};
+ 
+    /* sigc signals for DnD source callback. */
+-   sigc::signal<void, uint32, const CPClipboard *> srcDragBeginChanged;
+-   sigc::signal<void, uint32> srcCancelChanged;
+-   sigc::signal<void, uint32, uint32, uint32> srcDropChanged;
++   sigc::signal<void(uint32, const CPClipboard *)> srcDragBeginChanged;
++   sigc::signal<void(uint32)> srcCancelChanged;
++   sigc::signal<void(uint32, uint32, uint32)> srcDropChanged;
+ 
+    /* sigc signals for DnD destination callback. */
+-   sigc::signal<void, uint32, int32> destDragEnterReplyChanged;
+-   sigc::signal<void, uint32> destPrivDragEnterChanged;
+-   sigc::signal<void, uint32, int32, int32> destPrivDragLeaveChanged;
+-   sigc::signal<void, uint32, int32, int32> destPrivDropChanged;
+-   sigc::signal<void, uint32, int32, int32> destDropChanged;
+-   sigc::signal<void, uint32> destCancelChanged;
+-
+-   sigc::signal<void, uint32, int32, int32> moveMouseChanged;
+-   sigc::signal<void, uint32, uint32> updateFeedbackChanged;
+-   sigc::signal<void, uint32, int32, int32> queryExitingChanged;
+-   sigc::signal<void, uint32> dragNotPendingChanged;
+-   sigc::signal<void, uint32, const uint8 *, uint32> requestFileChanged;
+-   sigc::signal<void, uint32, bool, const uint8 *, uint32> getFilesDoneChanged;
++   sigc::signal<void(uint32, int32)> destDragEnterReplyChanged;
++   sigc::signal<void(uint32)> destPrivDragEnterChanged;
++   sigc::signal<void(uint32, int32, int32)> destPrivDragLeaveChanged;
++   sigc::signal<void(uint32, int32, int32)> destPrivDropChanged;
++   sigc::signal<void(uint32, int32, int32)> destDropChanged;
++   sigc::signal<void(uint32)> destCancelChanged;
++
++   sigc::signal<void(uint32, int32, int32)> moveMouseChanged;
++   sigc::signal<void(uint32, uint32)> updateFeedbackChanged;
++   sigc::signal<void(uint32, int32, int32)> queryExitingChanged;
++   sigc::signal<void(uint32)> dragNotPendingChanged;
++   sigc::signal<void(uint32, const uint8 *, uint32)> requestFileChanged;
++   sigc::signal<void(uint32, bool, const uint8 *, uint32)> getFilesDoneChanged;
+ 
+    /* sigc signal for responding to ping reply */
+-   sigc::signal<void, uint32> pingReplyChanged;
++   sigc::signal<void(uint32)> pingReplyChanged;
+ 
+    /* sigc signal for rpc cmd reply received. */
+-   sigc::signal<void, uint32, uint32> cmdReplyChanged;
++   sigc::signal<void(uint32, uint32)> cmdReplyChanged;
+ 
+    /* DnD source. */
+    virtual bool SrcDragBeginDone(uint32 sessionId) = 0;
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dnd/fileTransferRpc.hh open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dnd/fileTransferRpc.hh
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dnd/fileTransferRpc.hh	2026-05-20 09:29:22.798851742 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dnd/fileTransferRpc.hh	2026-05-20 09:43:45.076405233 +0200
+@@ -38,8 +38,8 @@
+ public:
+    virtual ~FileTransferRpc(void) {};
+ 
+-   sigc::signal<void, uint32, const uint8 *, size_t> HgfsPacketReceived;
+-   sigc::signal<void, uint32, const uint8 *, size_t> HgfsReplyReceived;
++   sigc::signal<void(uint32, const uint8 *, size_t)> HgfsPacketReceived;
++   sigc::signal<void(uint32, const uint8 *, size_t)> HgfsReplyReceived;
+ 
+    virtual void Init(void) = 0;
+    virtual bool SendHgfsPacket(uint32 sessionId,
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dndGuestBase/guestCopyPaste.hh open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dndGuestBase/guestCopyPaste.hh
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dndGuestBase/guestCopyPaste.hh	2026-05-20 09:29:22.799454507 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dndGuestBase/guestCopyPaste.hh	2026-05-20 09:43:45.076349949 +0200
+@@ -48,9 +48,9 @@
+    GuestCopyPasteMgr(DnDCPTransport *transport);
+    ~GuestCopyPasteMgr(void);
+ 
+-   sigc::signal<void, const CPClipboard*> srcRecvClipChanged;
+-   sigc::signal<void> destRequestClipChanged;
+-   sigc::signal<void, bool> getFilesDoneChanged;
++   sigc::signal<void(const CPClipboard*)> srcRecvClipChanged;
++   sigc::signal<void()> destRequestClipChanged;
++   sigc::signal<void(bool)> getFilesDoneChanged;
+ 
+    GUEST_CP_STATE GetState(void) { return mCPState; }
+    void SetState(GUEST_CP_STATE state);
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dndGuestBase/guestDnD.hh open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dndGuestBase/guestDnD.hh
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/dndGuestBase/guestDnD.hh	2026-05-20 09:29:22.799454507 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/dndGuestBase/guestDnD.hh	2026-05-20 09:43:45.076109786 +0200
+@@ -73,18 +73,18 @@
+                ToolsAppCtx *ctx);
+    virtual ~GuestDnDMgr(void);
+ 
+-   sigc::signal<void, int, int> moveMouseChanged;
+-   sigc::signal<void, bool, int, int> updateDetWndChanged;
+-   sigc::signal<void, GUEST_DND_STATE> stateChanged;
++   sigc::signal<void(int, int)> moveMouseChanged;
++   sigc::signal<void(bool, int, int)> updateDetWndChanged;
++   sigc::signal<void(GUEST_DND_STATE)> stateChanged;
+ 
+-   sigc::signal<void, const CPClipboard*, std::string> srcDragBeginChanged;
+-   sigc::signal<void> srcDropChanged;
+-   sigc::signal<void> srcCancelChanged;
+-   sigc::signal<void, bool> getFilesDoneChanged;
++   sigc::signal<void(const CPClipboard*, std::string)> srcDragBeginChanged;
++   sigc::signal<void()> srcDropChanged;
++   sigc::signal<void()> srcCancelChanged;
++   sigc::signal<void(bool)> getFilesDoneChanged;
+ 
+-   sigc::signal<void> destCancelChanged;
+-   sigc::signal<void, int32, int32> privDropChanged;
+-   sigc::signal<void> destMoveDetWndToMousePosChanged;
++   sigc::signal<void()> destCancelChanged;
++   sigc::signal<void(int32, int32)> privDropChanged;
++   sigc::signal<void()> destMoveDetWndToMousePosChanged;
+ 
+    GuestDnDSrc *GetDnDSrc(void) { return mSrc; }
+    GuestDnDDest *GetDnDDest(void) { return mDest; }
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/xutils/xutils.cc open-vm-tools-13.1.0-25218885/services/plugins/dndcp/xutils/xutils.cc
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/xutils/xutils.cc	2026-05-20 09:29:22.800725292 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/xutils/xutils.cc	2026-05-20 09:43:45.076835564 +0200
+@@ -42,14 +42,14 @@
+ 
+ 
+ /* Actual definitions of the signals in this class. */
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > currentDesktopChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > desktopLayoutChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > desktopGeometryChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > desktopViewportChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > windowStackChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > windowManagerChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > activeWindowChanged;
+-sigc::signal<void, Glib::RefPtr<Gdk::Screen> > workAreaChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> currentDesktopChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> desktopLayoutChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> desktopGeometryChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> desktopViewportChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> windowStackChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> windowManagerChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> activeWindowChanged;
++sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> workAreaChanged;
+ 
+ /* Necessary for calculating per-monitor _NET_WORKAREA in GetMonitorWorkArea() */
+ struct NETWMStrutPartial {
+diff -Naur open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/xutils/xutils.hh open-vm-tools-13.1.0-25218885/services/plugins/dndcp/xutils/xutils.hh
+--- open-vm-tools-13.1.0-25218885.old/services/plugins/dndcp/xutils/xutils.hh	2026-05-20 09:29:22.800725292 +0200
++++ open-vm-tools-13.1.0-25218885/services/plugins/dndcp/xutils/xutils.hh	2026-05-20 09:43:45.076492938 +0200
+@@ -65,22 +65,22 @@
+ 
+ uint32 GetNumDesktops(Glib::RefPtr<Gdk::Screen> screen);
+ uint32 GetCurrentDesktop(Glib::RefPtr<Gdk::Screen> screen);
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > currentDesktopChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> currentDesktopChanged;
+ 
+ bool GetDesktopLayout(Glib::RefPtr<Gdk::Screen> screen,
+                       uint32& rows, uint32& columns, Gtk::CornerType& corner,
+                       Gtk::Orientation& orientation);
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > desktopLayoutChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> desktopLayoutChanged;
+ 
+ bool GetDesktopGeometry(Glib::RefPtr<Gdk::Screen> screen,
+                         uint32& width, uint32& height);
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > desktopGeometryChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> desktopGeometryChanged;
+ 
+ bool GetDesktopViewport(Glib::RefPtr<Gdk::Screen> screen,
+                         uint32 desktopIndex, VMPoint& viewport);
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > desktopViewportChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> desktopViewportChanged;
+ 
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > activeWindowChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> activeWindowChanged;
+ 
+ /* Window stacking */
+ void RaiseWindow(Glib::RefPtr<Gdk::Window> window,
+@@ -88,7 +88,7 @@
+                     Glib::RefPtr<Gdk::Window>(),
+                  guint32 timestamp = 0);
+ HostWindowList GetHostWindowStack();
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > windowStackChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> windowStackChanged;
+ 
+ 
+ /* Multi-head */
+@@ -96,7 +96,7 @@
+                         int monitor, Gdk::Rectangle& rect);
+ 
+ utf::string GetWindowManagerName(Glib::RefPtr<Gdk::Screen> screen);
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > windowManagerChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> windowManagerChanged;
+ 
+ void SetFullscreenMonitorsHint(Glib::RefPtr<Gdk::Window> window,
+                                std::vector<long> topology);
+@@ -109,7 +109,7 @@
+                         int& x, int& y, Gdk::ModifierType& mask);
+ 
+ 
+-extern sigc::signal<void, Glib::RefPtr<Gdk::Screen> > workAreaChanged;
++extern sigc::signal<void(Glib::RefPtr<Gdk::Screen>)> workAreaChanged;
+ 
+ bool GetXWindowSize(const Glib::RefPtr<Gdk::Window>& window, int& width,
+                     int& height);

diff --git a/open-vm-tools.spec b/open-vm-tools.spec
index fab4426..9a1c53f 100644
--- a/open-vm-tools.spec
+++ b/open-vm-tools.spec
@@ -1,49 +1,12 @@
-################################################################################
-### Copyright 2013-2023 VMware, Inc.  All rights reserved.
-###
-### RPM SPEC file for building open-vm-tools packages.
-###
-###
-### This program is free software; you can redistribute it and/or modify
-### it under the terms of version 2 of the GNU General Public License as
-### published by the Free Software Foundation.
-###
-### This program is distributed in the hope that it will be useful,
-### but WITHOUT ANY WARRANTY; without even the implied warranty of
-### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-### GNU General Public License for more details.
-###
-### You should have received a copy of the GNU General Public License
-### along with this program; if not, write to the Free Software
-### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-################################################################################
-
-%global majorversion    13.0
-%global minorversion    10
-%global toolsbuild      25056151
-%global toolsversion    %{majorversion}.%{minorversion}
+%global toolsbuild      25218885
 %global toolsdaemon     vmtoolsd
 %global vgauthdaemon    vgauthd
 
-# gtkmm3 is removed from RHEL 10, bundle it until the project is ported
-# GTK 4, see RHEL-35537
-%global bundle_gtkmm3   1
-
 Name:             open-vm-tools
-Version:          %{toolsversion}
+Version:          13.1.0
 Release:          1%{?dist}
 Summary:          Open Virtual Machine Tools for virtual machines hosted on VMware
-%if 0%{?bundle_gtkmm3}
-# atkmm: LGPL-2.1-or-later
-# cairomm: LGPL-2.0-or-later
-# glibmm2.4: LGPL-2.1-or-later AND GPL-2.0-or-later
-# gtkmm3.0: LGPL-2.1-or-later AND GPL-2.0-or-later
-# libsigc++20: LGPL-2.1-or-later
-# pangomm: LGPL-2.1-or-later AND GPL-2.0-only
-License:          GPL-2.0-only AND W3C AND LGPL-2.1-only AND ICU AND ISC AND MIT AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND GPL-2.0-or-later
-%else
 License:          GPL-2.0-only AND W3C AND LGPL-2.1-only AND ICU AND ISC AND MIT
-%endif
 URL:              https://github.com/vmware/%{name}
 
 Source0:          https://github.com/vmware/%{name}/releases/download/stable-%{version}/%{name}-%{version}-%{toolsbuild}.tar.gz
@@ -53,22 +16,9 @@ Source3:          run-vmblock\x2dfuse.mount
 Source4:          open-vm-tools.conf
 Source5:          vmtoolsd.pam
 
-%if 0%{?bundle_gtkmm3}
-%global bundled_install_path %{_libdir}/%{name}
-
-%global __provides_exclude_from ^%{bundled_install_path}
-%global __requires_exclude ^(libatkmm|libcairomm|libgdkmm|libgiomm|libglibmm|libgtkmm|libpangomm|libsigc).*$
-
-# Generally use the content that was already part of RHEL 10 apart from libsigc++20
-# as it was modified to not build documentation because of docbook5, see i.e. RHEL-45565
-# In order of use:
-Source101:        libsigc++20-2.12.1-4.el9.src.rpm
-Source102:        https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/glibmm2.4/2.66.6/5.el10/src/glibmm2.4-2.66.6-5.el10.src.rpm
-Source103:        https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/atkmm/2.28.4/2.el10/src/atkmm-2.28.4-2.el10.src.rpm
-Source104:        https://kojihub.stream.rdu2.redhat.com/kojifiles/vol/koji02/packages/cairomm/1.14.5/5.el10/src/cairomm-1.14.5-5.el10.src.rpm
-Source105:        https://kojihub.stream.rdu2.redhat.com/kojifiles/vol/koji02/packages/pangomm/2.46.4/2.el10/src/pangomm-2.46.4-2.el10.src.rpm
-Source106:        https://kojihub.stream.rdu2.redhat.com/kojifiles/vol/koji02/packages/gtkmm3.0/3.24.8/6.el10/src/gtkmm3.0-3.24.8-6.el10.src.rpm
-%endif
+Patch0:           open-vm-tools-gcc16.patch
+Patch1:           open-vm-tools-sigc++3.patch
+Patch2:           open-vm-tools-openssl4.patch
 
 %if 0%{?rhel} >= 7
 ExclusiveArch:    x86_64 aarch64
@@ -76,28 +26,13 @@ ExclusiveArch:    x86_64 aarch64
 ExclusiveArch:    %{ix86} x86_64 aarch64
 %endif
 
-# Patches
-#Patch0:           <patch-name0>.patch
-Patch2: 0001-Fix-discarded-qualifiers-warning-error.patch
-
 BuildRequires:    autoconf
 BuildRequires:    automake
 BuildRequires:    libtool
 BuildRequires:    make
 BuildRequires:    gcc-c++
 BuildRequires:    doxygen
-# Fuse is optional and enables vmblock-fuse
-# Switching Fedora to use fuse3.   Red Hat to switch on their own schedule.
-%if 0%{?fedora} || 0%{?rhel} > 8
-BuildRequires:    fuse3-devel
-%else
-BuildRequires:    fuse-devel
-%endif
-BuildRequires:    glib2-devel >= 2.14.0
-BuildRequires:    libicu-devel
-BuildRequires:    libmspack-devel
-# Unfortunately, xmlsec1-openssl does not add libtool-ltdl dependency, so we
-# need to add it ourselves.
+BuildRequires:    fuse3-devel >= 3.10.0
 BuildRequires:    libtool-ltdl-devel
 BuildRequires:    libX11-devel
 BuildRequires:    libXext-devel
@@ -106,56 +41,37 @@ BuildRequires:    libXinerama-devel
 BuildRequires:    libXrandr-devel
 BuildRequires:    libXrender-devel
 BuildRequires:    libXtst-devel
-BuildRequires:    openssl-devel
 BuildRequires:    pam-devel
+BuildRequires:    pkgconfig(glib-2.0) >= 2.34.0
+BuildRequires:    pkgconfig(gmodule-2.0) >= 2.34.0
+BuildRequires:    pkgconfig(gobject-2.0) >= 2.34.0
+BuildRequires:    pkgconfig(gthread-2.0) >= 2.34.0
+BuildRequires:    pkgconfig(gtk4) >= 4.0.0
+BuildRequires:    pkgconfig(gtkmm-4.0) >= 4.0.0
+BuildRequires:    pkgconfig(icu-i18n)
 BuildRequires:    pkgconfig(libdrm)
+BuildRequires:    pkgconfig(libmspack) >= 0.0.20040308alpha
 BuildRequires:    pkgconfig(libudev)
+BuildRequires:    pkgconfig(libtirpc)
+BuildRequires:    pkgconfig(openssl)
+BuildRequires:    pkgconfig(protobuf) >= 3.0.0
 BuildRequires:    procps-devel
-BuildRequires:    xmlsec1-openssl-devel
-
-%if 0%{?fedora} || 0%{?rhel} >= 8
-BuildRequires:    gtk3-devel >= 3.10.0
-%if 0%{?bundle_gtkmm3}
-BuildRequires:    atk-devel
-# For cairomm tests, could be dropped
-BuildRequires:    boost-devel
-BuildRequires:    libxslt
-BuildRequires:    m4
-BuildRequires:    meson
-BuildRequires:    mm-common
-BuildRequires:    perl-generators
-BuildRequires:    perl-interpreter
-BuildRequires:    perl(Getopt::Long)
-%else
-BuildRequires:    gtkmm30-devel >= 3.10.0
-%endif
-BuildRequires:    libtirpc-devel
 BuildRequires:    rpcgen
+# Required otherwise udev rules are not built:
 BuildRequires:    systemd-udev
-%else
-BuildRequires:    gtk2-devel >= 2.4.0
-BuildRequires:    gtkmm24-devel
-BuildRequires:    systemd
-%endif
+BuildRequires:    xmlsec1-openssl-devel
 
 Requires:         coreutils
-%if 0%{?fedora} || 0%{?rhel} > 8
 Requires:         fuse3
-%else
-Requires:         fuse
-%endif
-Requires:         iproute
 Requires:         grep
+Requires:         iproute
 Requires:         pciutils
 Requires:         sed
-Requires:         systemd
 Requires:         tar
 Requires:         util-linux
 Requires:         which
 # xmlsec1-openssl needs to be added explicitly
 Requires:         xmlsec1-openssl
-# DeployPkg pluggin require dbus-uuidgen
-Requires:         dbus-tools
 
 # open-vm-tools >= 10.0.0 do not require open-vm-tools-deploypkg provided by
 # VMware. That functionality is now available as part of open-vm-tools package
@@ -195,7 +111,6 @@ virtual machines by vRealize Operations Service Discovery Management Pack.
 
 %package          salt-minion
 Summary:          Script file to install/uninstall salt-minion
-Group:            System Environment/Libraries
 Requires:         %{name}%{?_isa} = %{version}-%{release}, systemd, curl, coreutils, gawk, grep
 ExclusiveArch:    x86_64
 
@@ -221,188 +136,29 @@ useful for verifying the functioning of %{name} in VMware virtual
 machines.
 
 %prep
-%autosetup -p2 -n %{name}-%{version}-%{toolsbuild}
+%autosetup -p1 -n %{name}-%{version}-%{toolsbuild}
 
 %build
-%if 0%{?bundle_gtkmm3}
-export PATH="%{_buildrootdir}/bin:$PATH"
-
-function install_rpms_to_current_dir() {
-    PACKAGE_RPM=$(eval echo $1)
-    PACKAGE_DIR=%{_rpmdir}
-
-    echo "install_rpms_to_current_dir() for $PACKAGE_DIR/$PACKAGE_RPM"
-    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
-        # Hack for tps tests
-        ARCH_STR=%{_arch}
-        %ifarch %{ix86}
-            ARCH_STR="i?86"
-        %endif
-        PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
-     fi
-
-     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
-     do
-         echo "$package"
-         rpm2cpio "$package" | cpio -ivdu
-     done
-}
-
-rpmbuild_bundled() {
-    rpmbuild --nodeps \
-             --define '_prefix %{bundled_install_path}' \
-             --define '__perl /usr/bin/perl' \
-             $@
-}
-
-export LDFLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
-export LDFLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $LDFLAGS"
-export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
-export PKG_CONFIG_PATH=%{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig
-export PATH="%{_buildrootdir}%{bundled_install_path}/bin:$PATH"
-
-# libsigc++20
-rpm -ivh %{SOURCE101}
-rpmbuild_bundled -ba %{_specdir}/libsigc++20.spec
-pushd %{_buildrootdir}
-install_rpms_to_current_dir libsigc++20*.rpm
-popd
-
-sed -i 's@prefix=%{bundled_install_path}@prefix=%{_buildrootdir}%{bundled_install_path}@g' \
-  %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/*.pc
-
-# glibmm2.4
-rpm -ivh %{SOURCE102}
-rpmbuild_bundled -ba %{_specdir}/glibmm2.4.spec
-pushd %{_buildrootdir}
-install_rpms_to_current_dir glibmm2.4*.rpm
-popd
-
-sed -i 's@prefix=%{bundled_install_path}@prefix=%{_buildrootdir}%{bundled_install_path}@g' \
-  %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/*.pc
-
-# atkmm
-rpm -ivh %{SOURCE103}
-rpmbuild_bundled -ba %{_specdir}/atkmm.spec
-pushd %{_buildrootdir}
-install_rpms_to_current_dir atkmm*.rpm
-popd
-
-sed -i 's@prefix=%{bundled_install_path}@prefix=%{_buildrootdir}%{bundled_install_path}@g' \
-  %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/*.pc
-
-# cairomm
-rpm -ivh %{SOURCE104}
-rpmbuild_bundled --without=doc_pdf -ba %{_specdir}/cairomm.spec
-pushd %{_buildrootdir}
-install_rpms_to_current_dir cairomm*.rpm
-popd
-
-sed -i 's@prefix=%{bundled_install_path}@prefix=%{_buildrootdir}%{bundled_install_path}@g' \
-  %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/*.pc
-
-# pangomm
-rpm -ivh %{SOURCE105}
-rpmbuild_bundled -ba %{_specdir}/pangomm.spec
-pushd %{_buildrootdir}
-install_rpms_to_current_dir pangomm*.rpm
-popd
-
-sed -i 's@prefix=%{bundled_install_path}@prefix=%{_buildrootdir}%{bundled_install_path}@g' \
-  %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/*.pc
-
-# gtkmm3.0
-rpm -ivh %{SOURCE106}
-rpmbuild_bundled -ba %{_specdir}/gtkmm3.0.spec
-pushd %{_buildrootdir}
-install_rpms_to_current_dir gtkmm*.rpm
-popd
-
-sed -i 's@prefix=%{bundled_install_path}@prefix=%{_buildrootdir}%{bundled_install_path}@g' \
-  %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/*.pc
-
-# Remove the doc subpackages as we don't need them
-find %{_rpmdir} -name "*doc*.rpm" -delete
-%endif
-
 autoreconf -vif
 
 %configure \
-    --without-kernel-modules \
-    --enable-xmlsec1 \
+    --disable-static \
     --enable-resolutionkms \
-    --enable-servicediscovery \
 %ifarch x86_64
     --enable-salt-minion \
 %endif
-%if 0%{?fedora} || 0%{?rhel} >= 8
+    --enable-servicediscovery \
+    --enable-vmwgfxctrl \
+    --with-fuse \
+    --with-gtk4 \
     --with-tirpc \
-    --without-gtk2 \
-    --without-gtkmm \
-%if 0%{?bundle_gtk3mm}
-    --without-gtkmm3 \
-%endif
-%else
-    --without-tirpc \
-    --without-gtk3 \
-    --without-gtkmm3 \
-%endif
-    --disable-static
+    --with-xmlsec1 \
+    --without-kernel-modules
 
 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
 %make_build
 
 %install
-export DONT_STRIP=1
-
-%if 0%{?bundle_gtkmm3}
-set -e
-function install_rpms_to_current_dir() {
-    PACKAGE_RPM=$(eval echo $1)
-    PACKAGE_DIR=%{_rpmdir}
-
-    echo "install_rpms_to_current_dir() for $PACKAGE_DIR/$PACKAGE_RPM"
-    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
-        # Hack for tps tests
-        ARCH_STR=%{_arch}
-        %ifarch %{ix86}
-            ARCH_STR="i?86"
-        %endif
-        PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
-     fi
-
-     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
-     do
-         echo "$package"
-         rpm2cpio "$package" | cpio -ivdu
-     done
-}
-
-pushd %{buildroot}
-# Install only what we need in runtime
-install_rpms_to_current_dir atkmm-2.28.4-*.rpm
-install_rpms_to_current_dir cairomm-1.14.5-*.rpm
-install_rpms_to_current_dir glibmm2.4-2.66*.rpm
-install_rpms_to_current_dir gtkmm3.0-3.24.8*.rpm
-install_rpms_to_current_dir libsigc++20-2.12.1*.rpm
-install_rpms_to_current_dir pangomm-2.46.4*.rpm
-popd
-
-# clean the created bundled rpms if there are any
-rm -rf %{_srcrpmdir}/libsigc++20*.src.rpm
-find %{_rpmdir} -name "libsigc++20*.rpm" -delete
-rm -rf %{_srcrpmdir}/glibmm2.4*.src.rpm
-find %{_rpmdir} -name "glibmm2.4*.rpm" -delete
-rm -rf %{_srcrpmdir}/atkmm*.src.rpm
-find %{_rpmdir} -name "atkmm*.rpm" -delete
-rm -rf %{_srcrpmdir}/cairomm*.src.rpm
-find %{_rpmdir} -name "cairomm*.rpm" -delete
-rm -rf %{_srcrpmdir}/pangomm*.src.rpm
-find %{_rpmdir} -name "pangomm*.rpm" -delete
-rm -rf %{_srcrpmdir}/gtkmm*.src.rpm
-find %{_rpmdir} -name "gtkmm*.rpm" -delete
-%endif
-
 %make_install
 
 # Remove exec bit from config files
@@ -435,7 +191,6 @@ install -p -m 644 -D %{SOURCE5} %{buildroot}%{_sysconfdir}/pam.d/vmtoolsd
 # file. We can add %%check secion once 'make check' is fixed upstream.
 
 %post
-%?ldconfig
 # Setup mount point for Shared Folders
 # NOTE: Use systemd-detect-virt to detect VMware platform because
 #       vmware-checkvm might misbehave on non-VMware platforms.
@@ -481,7 +236,6 @@ if %{_bindir}/systemctl is-active %{toolsdaemon}.service &> /dev/null; then
 fi
 
 %preun
-%?ldconfig
 %systemd_preun %{toolsdaemon}.service %{vgauthdaemon}.service
 
 if [ "$1" = "0" -a                                       \
@@ -506,7 +260,6 @@ fi
 %systemd_preun run-vmblock\\x2dfuse.mount
 
 %postun
-%?ldconfig
 %systemd_postun_with_restart %{toolsdaemon}.service %{vgauthdaemon}.service
 
 %postun desktop
@@ -583,19 +336,6 @@ fi
 %{_libdir}/%{name}/plugins/vmusr/
 %{_unitdir}/run-vmblock\x2dfuse.mount
 
-%if 0%{?bundle_gtkmm3}
-%{bundled_install_path}/share/doc/
-%{bundled_install_path}/share/licenses/
-%{bundled_install_path}/%{_lib}/libatkmm*
-%{bundled_install_path}/%{_lib}/libcairomm*
-%{bundled_install_path}/%{_lib}/libgdkmm*
-%{bundled_install_path}/%{_lib}/libgiomm*
-%{bundled_install_path}/%{_lib}/libglibmm*
-%{bundled_install_path}/%{_lib}/libgtkmm*
-%{bundled_install_path}/%{_lib}/libpangomm*
-%{bundled_install_path}/%{_lib}/libsigc*
-%endif
-
 %files sdmp
 %{_libdir}/%{name}/plugins/vmsvc/libserviceDiscovery.so
 %{_libdir}/%{name}/serviceDiscovery
@@ -623,6 +363,12 @@ fi
 %{_bindir}/vmware-vgauth-smoketest
 
 %changelog
+* Mon Aug 03 2026 Evgenii Kolesnikov <ekolesni@redhat.com> - 13.1.0-1
+- Rebase to 13.1.0 [RHEL-180878]
+- Switch to GTK4
+- Resolves: RHEL-180878
+  ([ESXi][RHEL10] open-vm-tools version 13.1.0 has been released - please rebase)
+
 * Mon Feb 16 2026 Bo Yang <boyang@redhat.com> - 13.0.10-1
 - Rebase to 13.0.10 [RHEL-144577]
 - Resolves: RHEL-144577

diff --git a/sources b/sources
index ef725cf..0385c6f 100644
--- a/sources
+++ b/sources
@@ -1,7 +1 @@
-SHA512 (open-vm-tools-13.0.10-25056151.tar.gz) = c332fd2efb3bc16f2fbb77b7b0d0f4a5bb251b5b4828260bb6cbd96903a38d492f90727dad54ef95e442cf3dcc043032e5581e64e3aee4afb55b9db568a29259
-SHA512 (atkmm-2.28.4-2.el10.src.rpm) = 55953c3221c228433e720b28517c1d23faba1091eb5d81be6522c096b7cf42828eaefe1c330aa2ca0b058188cf4ddd8549463d5817949a5a31efead72097d04e
-SHA512 (cairomm-1.14.5-5.el10.src.rpm) = 2d036e83c63dd29a1933542de2274d74b4e63100d90dfd559eabdd00333ac4dd1ca25d810f5180c1c1afd71cd985376e7700beaff4f385132200c75633bfc980
-SHA512 (glibmm2.4-2.66.6-5.el10.src.rpm) = 78cd5d54f1ef9faf2be75f22550b5ec60b55f6c4345df91db95889762f606a0649905077934527b98ba325212bb460a19deadef9eea15bb0c50915e560621d4c
-SHA512 (gtkmm3.0-3.24.8-6.el10.src.rpm) = e0e4c3c57cf384928c39b22ae81276ff9f2f34e7aa6914f7d9a3ce65b5e170d7d2edaa61678b8f2ac2e5b16072d796af74ca51ad560b6fc539c7796f318fa6eb
-SHA512 (libsigc++20-2.12.1-4.el9.src.rpm) = cdb1800b2413794e83623871b2ca2cade0b444e0a90f6948e1f3f449cd92e10beb3dd76471023f95e4f795693b3ded09bc83f551a54dab065fdee5dbf67e9a40
-SHA512 (pangomm-2.46.4-2.el10.src.rpm) = ab9a723b4a90504101d544335333d9a2ec3c7558101c7005cc69aa05c115f4639d7e4110fb5a856f48e35ea062a5450adddca05f6866263fa8f20b8cecd12e6e
+SHA512 (open-vm-tools-13.1.0-25218885.tar.gz) = 07086e2403bc4ab9727822ccfb7152e479f326a1d33c533bdcfb38b5ade8aa2ed3bc244130ab794ad5b99d9a0b3c3caecf0f37e2e1695bd97213f2236490bbb4

                 reply	other threads:[~2026-09-30 11:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179076810560.1.3810448598730829004.rpms-open-vm-tools-b458b6e8288c@fedoraproject.org \
    --to=mrezanin@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox