Hello community,
here is the log from the commit of package LibVNCServer for openSUSE:Factory checked in at 2012-12-31 14:25:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/LibVNCServer (Old)
and /work/SRC/openSUSE:Factory/.LibVNCServer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "LibVNCServer", Maintainer is "orphaned@suse.de"
Changes:
--------
--- /work/SRC/openSUSE:Factory/LibVNCServer/LibVNCServer.changes 2012-10-26 17:13:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.LibVNCServer.new/LibVNCServer.changes 2012-12-31 14:26:03.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Dec 30 22:02:37 UTC 2012 - crrodriguez@opensuse.org
+
+- libvncserver-byteswap.patch : USe OS byteswapping macros
+ which are optimized for the target arch.
+
+- BuildRequire libpng-Devel
+
+-------------------------------------------------------------------
New:
----
libvncserver-byteswap.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ LibVNCServer.spec ++++++
--- /var/tmp/diff_new_pack.3Qstx2/_old 2012-12-31 14:26:04.000000000 +0100
+++ /var/tmp/diff_new_pack.3Qstx2/_new 2012-12-31 14:26:04.000000000 +0100
@@ -17,12 +17,12 @@
Name: LibVNCServer
-BuildRequires: autoconf
-BuildRequires: automake
BuildRequires: gnutls-devel
BuildRequires: libavahi-devel
BuildRequires: libgcrypt-devel
BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libtool
BuildRequires: lzo-devel
BuildRequires: slang-devel
BuildRequires: xorg-x11-devel
@@ -41,6 +41,8 @@
Patch7: redef-keysym.patch
#PATCH-FIX-OPENSUSE: disable x11vnc build
Patch10: LibVNCServer-0.9.9-no_x11vnc.patch
+#PATCH_FIX-OPENSUSE: Use system fast byteswap routines.
+Patch11: libvncserver-byteswap.patch
%description
VNC is a set of programs using the RFB (Remote Frame Buffer) protocol.
@@ -84,7 +86,7 @@
# aclocal; autoheader; automake --add-missing --copy; autoconf
# ./configure --enable-maintainer-mode
# sh ./autogen.sh
-
+%patch11
# fix encoding
for file in AUTHORS ChangeLog ; do
mv ${file} ${file}.OLD && \
@@ -99,12 +101,10 @@
#autoreconf
%build
-CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT" \
+CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_REENTRANT" \
# Plase note that tightvn cause a problem; need to be fix
%configure --disable-static --with-pic --enable-shared --with-gnu-ld --prefix=%{_prefix} --without-tightvnc-filetransfer
-# hack to omit unused-direct-shlib-dependencies
-sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags}
++++++ libvncserver-byteswap.patch ++++++
--- rfb/rfb.h.orig
+++ rfb/rfb.h
@@ -711,19 +711,18 @@ typedef struct _rfbClientRec {
((cl)->enableCursorPosUpdates && (cl)->cursorWasMoved) || \
!sraRgnEmpty((cl)->copyRegion) || !sraRgnEmpty((cl)->modifiedRegion))
+#include