rpms/vnc/devel vnc-vsnprintf.patch,NONE,1.1 vnc.spec,1.167,1.168
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Feb 26 12:48:13 UTC 2007
Author: atkac
Update of /cvs/dist/rpms/vnc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24336/vnc/devel
Modified Files:
vnc.spec
Added Files:
vnc-vsnprintf.patch
Log Message:
fixed crashes on 64bit
specfile has been standardized
vnc-vsnprintf.patch:
Logger.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE vnc-vsnprintf.patch ---
--- vnc-4_1_2-unixsrc/common/rfb/Logger.cxx.vsnprintf 2007-02-26 12:29:25.000000000 +0100
+++ vnc-4_1_2-unixsrc/common/rfb/Logger.cxx 2007-02-26 12:30:03.000000000 +0100
@@ -34,7 +34,7 @@
using namespace rfb;
-#ifndef HAVE_VSNPRINTF
+/*#ifndef HAVE_VSNPRINTF
#ifdef __RFB_THREADING_IMPL
static Mutex fpLock;
#endif
@@ -63,7 +63,7 @@
return len;
}
#endif
-
+*/
Logger* Logger::loggers = 0;
Index: vnc.spec
===================================================================
RCS file: /cvs/dist/rpms/vnc/devel/vnc.spec,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- vnc.spec 23 Feb 2007 16:46:48 -0000 1.167
+++ vnc.spec 26 Feb 2007 12:48:07 -0000 1.168
@@ -2,10 +2,10 @@
%define vnc_version 4_1_2
%define java_vnc_version 4_1
-Summary: A remote display system.
+Summary: A remote display system
Name: vnc
Version: 4.1.2
-Release: 12%{?dist}
+Release: 13%{?dist}
URL: http://www.realvnc.com
Source0: http://www.realvnc.com/dist/vnc-%{vnc_version}-unixsrc.tar.gz
Source1: http://www.realvnc.com/dist/vnc-%{java_vnc_version}-javasrc.tar.gz
@@ -45,6 +45,7 @@
Patch31: vnc-autotools.patch
Patch32: vnc-autotools-compile.patch
Patch33: vnc-always_use_fb.patch
+Patch34: vnc-vsnprintf.patch
License: GPL
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -82,7 +83,7 @@
server.
%package server
-Summary: A VNC server.
+Summary: A VNC server
Requires: bash >= 2.0, util-linux, xorg-x11-fonts-base, xorg-x11-xauth, chkconfig
Requires: vnc-libs
Group: User Interface/X
@@ -137,6 +138,7 @@
%patch31 -p1 -b .autotools
%patch32 -p1 -b .autotools-compile
%patch33 -p1 -b .always_use_fb
+%patch34 -p1 -b .vsnprintf
cp -a unix/xc/programs/Xserver/vnc/Xvnc/xvnc.cc \
unix/xc/programs/Xserver/Xvnc.man \
@@ -254,7 +256,7 @@
[Desktop Entry]
Encoding=UTF-8
Name=VNC Viewer
-Comment=VNC client application
+Comment=Connect to VNC server and display remote desktop
Exec=/usr/bin/vncviewer
Icon=vnc.png
Terminal=false
@@ -273,6 +275,7 @@
# removing unwanted files
rm -f $RPM_BUILD_ROOT%{_libdir}/librfb.a
rm -f $RPM_BUILD_ROOT%{_libdir}/librfb.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/librfb.so
rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libvnc.la
%clean
@@ -301,6 +304,12 @@
/sbin/chkconfig --del vncserver
fi
+%post libs
+/sbin/ldconfig
+
+%postun libs
+/sbin/ldconfig
+
%files
%defattr(-,root,root)
%doc LICENCE.txt README
@@ -328,9 +337,15 @@
%files libs
%defattr(-,root,root)
-%{_libdir}/librfb.so*
+%{_libdir}/librfb.so.*
%changelog
+* Mon Feb 26 2007 Adam Tkac <atkac redhat com> 4.1.2-13.fc7
+- remove wild implementation of vsnprintf (this caused sigfaults on 64bits) (#229702)
+- added post & postun sections to vnc-libs
+- menu tooltip is HIG compliant (#229941)
+- specfile has been standardized (checked by rpmlint)
+
* Fri Feb 23 2007 Adam Tkac <atkac redhat com> 4.1.2-12.fc7
- new colormap policy in Xvnc
- Xvnc now always use framebuffer (like Xvfb)
More information about the fedora-cvs-commits
mailing list