Hello community,

here is the log from the commit of package open-vm-tools for openSUSE:Factory 
checked in at 2016-07-01 09:59:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-vm-tools (Old)
 and      /work/SRC/openSUSE:Factory/.open-vm-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "open-vm-tools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/open-vm-tools/open-vm-tools.changes      
2016-05-02 10:44:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.open-vm-tools.new/open-vm-tools.changes 
2016-07-01 09:59:11.000000000 +0200
@@ -1,0 +2,21 @@
+Thu Jun 16 17:45:54 UTC 2016 - [email protected]
+
+- Added patches for GCC 6 build failure (boo#985110)
+  + vmw-bitmask-gcc6.patch
+  + no-unused-const.patch
+
+-------------------------------------------------------------------
+Wed Jun  8 23:30:34 UTC 2016 - [email protected]
+
+- Update to 10.0.7-gtk3 stable branch
+  + add support for gtk3, needed by the dndcp and resolutionset
+    plugins
+  + remove files generated by autoreconf
+  + a few minor build fixes
+- Update fixes copy-n-paste and drag-n-drop regressions (bsc#978424)
+- Added new vmblock-fuse.service
+- Drop upstream patches included (or not necessary) in 10.0.7-gtk3:
+  + open-vm-tools-posixly.patch
+  + open-vm-tools-buildsystem-fixup.patch
+
+-------------------------------------------------------------------
@@ -187,0 +209 @@
+- This update also addresses a suspend with systemd issue (bsc#913727)

Old:
----
  open-vm-tools-buildsystem-fixup.patch
  open-vm-tools-posixly.patch
  open-vm-tools-stable-10.0.7.tar.gz

New:
----
  no-unused-const.patch
  open-vm-tools-stable-10.0.7-gtk3.tar.gz
  vmblock-fuse.service
  vmw-bitmask-gcc6.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ open-vm-tools.spec ++++++
--- /var/tmp/diff_new_pack.PloQZW/_old  2016-07-01 09:59:12.000000000 +0200
+++ /var/tmp/diff_new_pack.PloQZW/_new  2016-07-01 09:59:12.000000000 +0200
@@ -39,6 +39,33 @@
 %endif
 %endif
 
+# vmblock-fuse.service requires systemd >= 228 which is in openSUSE Factory, 
SLES12SP2 and Leap 42.2 (see bsc#985773)
+%if 0%{?is_opensuse}
+%if 0%{?suse_version} >= 1315
+%if 0%{?suse_version} != 1320
+%if 0%{?sle_version} != 120100
+%bcond_without vmblockfuseservice
+%else
+%bcond_with vmblockfuseservice
+%endif
+%else
+%bcond_with vmblockfuseservice
+%endif
+%else
+%bcond_with vmblockfuseservice
+%endif
+%else # !opensuse
+%if 0%{?suse_version} >= 1315
+%if 0%{?sle_version} > 120100
+%bcond_without vmblockfuseservice
+%else
+%bcond_with vmblockfuseservice
+%endif
+%else
+%bcond_with vmblockfuseservice
+%endif
+%endif
+
 # exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554]
 %define __find_supplements sh -c '/usr/lib/rpm/find-supplements %{name} | grep 
-v pci:v00001022d00002000'
 
@@ -76,7 +103,7 @@
 License:        BSD-3-Clause and GPL-2.0 and LGPL-2.1
 Group:          System/Emulators/PC
 Url:            https://github.com/vmware/open-vm-tools
-Source:         
https://github.com/vmware/open-vm-tools/archive/stable-%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
+Source:         %{tarname}-%{version}-gtk3.tar.gz
 Source1:        vmtoolsd
 Source2:        vmtoolsd.service
 Source3:        vmware-user-autostart.desktop
@@ -84,12 +111,18 @@
 Source6:        open-vm-tools-modprobe.conf
 Source7:        tools.conf
 Source8:        vgauthd.service
+Source9:        vmblock-fuse.service
 Source98:       preamble
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 # don't use pkgconfig(gtk+-2.0) so we can build on SLE
+%if 0%{?suse_version} >= 1310
+BuildRequires:  gtk3-devel
+BuildRequires:  gtkmm3-devel
+%else
 BuildRequires:  gtk2-devel
 BuildRequires:  gtkmm2-devel
+%endif
 # Only require kernel packages if kernel modules are being built
 %if %{KMP}
 BuildRequires:  kernel-source
@@ -137,8 +170,8 @@
 Requires(pre):  %insserv_prereq
 ExclusiveArch:  %ix86 x86_64
 Patch0:         enable-gcc46+.patch
-Patch1:         open-vm-tools-posixly.patch
-Patch2:         open-vm-tools-buildsystem-fixup.patch
+Patch1:         vmw-bitmask-gcc6.patch
+Patch2:         no-unused-const.patch
 
 %if %{KMP}
 %suse_kernel_module_package -n vmware-guest -p %{SOURCE98} xen um
@@ -235,11 +268,11 @@
 if you intend to create own plugins for vmtoolsd.
 
 %prep
-%setup -q -n %{tarname}-%{version}/%{subname}
+%setup -q -n %{tarname}-%{version}-gtk3/%{subname}
 # fix for an rpmlint warning regarding wrong line feeds
 sed -i -e "s/\r//" README
 %patch0 -p1
-%patch1 -p2
+%patch1 -p1
 %patch2 -p1
 
 %build
@@ -280,8 +313,8 @@
     --without-x \
 %endif
     --disable-dependency-tracking \
-%if ! 0%{?is_opensuse} && 0%{?suse_version} == 1315
-    --without-gtkmm \
+%if 0%{?suse_version} >= 1310
+    --with-gtk3 \
 %endif
 %if ! %{with vgauth}
     --without-xmlsecurity \
@@ -356,6 +389,10 @@
 %if %{with systemd}
 install -p -m 644 -D %{SOURCE2} %{buildroot}%{_unitdir}/vmtoolsd.service
 ln -sf service %{buildroot}%{_sbindir}/rcvmtoolsd
+%if %{with vmblockfuseservice}
+install -p -m 644 -D %{SOURCE9} %{buildroot}%{_unitdir}/vmblock-fuse.service
+ln -sf service %{buildroot}%{_sbindir}/rcvmblock-fuse
+%endif
 %if %{with vgauth}
 install -p -m 644 -D %{SOURCE8} %{buildroot}%{_unitdir}/vgauthd.service
 ln -sf service %{buildroot}%{_sbindir}/rcvgauthd
@@ -425,12 +462,32 @@
 %verifyscript desktop
 %verify_permissions -e /usr/bin/vmware-user-suid-wrapper
 
+%if %{with vmblockfuseservice}
+%pre desktop
+%service_add_pre vmblock-fuse.service
+%endif
+
 %post desktop
 %if 0%{?suse_version} <= 1130
 %run_permissions
 %else
 %set_permissions /usr/bin/vmware-user-suid-wrapper
 %endif
+%if %{with vmblockfuseservice}
+%service_add_post vmblock-fuse.service
+%endif
+/sbin/ldconfig
+
+%preun desktop
+%if %{with vmblockfuseservice}
+%service_del_preun vmblock-fuse.service
+%endif
+
+%postun desktop
+%if %{with vmblockfuseservice}
+%service_del_postun vmblock-fuse.service
+%endif
+/sbin/ldconfig
 
 %endif
 
@@ -554,6 +611,11 @@
 %{_libdir}/%{name}/plugins/vmusr/
 %{_bindir}/vmware-user-autostart-wrapper
 %{_bindir}/vmware-vmblock-fuse
+%if %{with vmblockfuseservice}
+%{_unitdir}/vmblock-fuse.service
+%{_sbindir}/rcvmblock-fuse
+%endif
+
 %endif
 
 %files -n libvmtools0

++++++ no-unused-const.patch ++++++
Index: open-vm-tools/configure.ac
===================================================================
--- open-vm-tools.orig/configure.ac
+++ open-vm-tools/configure.ac
@@ -988,7 +988,8 @@ CFLAGS="$CFLAGS -Werror"
 # Glib2 keep changing mutex APIs so we also need to disable 'deprecated'
 # warnings for now (-Wno-deprecated-declarations).
 for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \
-    -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations; do
+    -Wno-unknown-pragmas -Wno-uninitialized -Wno-deprecated-declarations \
+    -Wno-unused-const-variable; do
     AC_MSG_CHECKING([for GCC flag $TEST_CFLAG])
     ORIGINAL_CFLAGS="$CFLAGS"
     CFLAGS="$CFLAGS $TEST_CFLAG"
++++++ vgauthd.service ++++++
--- /var/tmp/diff_new_pack.PloQZW/_old  2016-07-01 09:59:12.000000000 +0200
+++ /var/tmp/diff_new_pack.PloQZW/_new  2016-07-01 09:59:12.000000000 +0200
@@ -1,5 +1,5 @@
 [Unit]
-Description=VGAuth Service for open-vm-tools
+Description=open-vm-tools: vgauth service for virtual machines hosted on VMware
 Documentation=http://github.com/vmware/open-vm-tools
 ConditionVirtualization=vmware
 PartOf=vmtoolsd.service

++++++ vmblock-fuse.service ++++++
[Unit]
Description=open-vm-tools: vmblock-fuse service for virtual machines hosted on 
VMware
Documentation=https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/vmblock-fuse/design.txt
ConditionVirtualization=vmware
Before=vmtoolsd.service

[Service]
Type=forking
RuntimeDirectory=vmblock-fuse
RuntimeDirectoryMode=755
ExecStart=/usr/bin/vmware-vmblock-fuse -o 
subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse

[Install]
WantedBy=multi-user.target
++++++ vmtoolsd.service ++++++
--- /var/tmp/diff_new_pack.PloQZW/_old  2016-07-01 09:59:12.000000000 +0200
+++ /var/tmp/diff_new_pack.PloQZW/_new  2016-07-01 09:59:12.000000000 +0200
@@ -1,12 +1,14 @@
 [Unit]
-Description=Service for virtual machines hosted on VMware
+Description=open-vm-tools: vmtoolsd service for virtual machines hosted on 
VMware
 Documentation=http://github.com/vmware/open-vm-tools
 ConditionVirtualization=vmware
 Requires=vgauthd.service
 After=vgauthd.service
 
 [Service]
-ExecStart=/usr/bin/vmtoolsd
+Type=forking
+PIDFile=/var/run/vmtoolsd.pid
+ExecStart=/usr/bin/vmtoolsd --background /var/run/vmtoolsd.pid
 TimeoutStopSec=5
 
 [Install]

++++++ vmw-bitmask-gcc6.patch ++++++
Index: open-vm-tools/lib/include/x86cpuid.h
===================================================================
--- open-vm-tools.orig/lib/include/x86cpuid.h
+++ open-vm-tools/lib/include/x86cpuid.h
@@ -905,11 +905,8 @@ FIELD(81E,  0, ECX,  8,  3, NODES_PER_PK
  *
  * e.g. - CPUID_VIRT_BITS_MASK  = 0xff00
  *      - CPUID_VIRT_BITS_SHIFT = 8
- *
- * Note: The MASK definitions must use some gymnastics to get
- * around a warning when shifting left by 32.
  */
-#define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)
+#define VMW_BIT_MASK(shift)  (0xffffffffu >> (32 - shift))
 
 #define FIELD(lvl, ecxIn, reg, bitpos, size, name, s, c3)      \
    CPUID_##name##_SHIFT        = bitpos,                       \

Reply via email to