update code

This commit is contained in:
zhuchunyi 2019-11-06 19:54:15 +08:00
parent 69a765df29
commit 41d48018a9
2 changed files with 44 additions and 65 deletions

View File

@ -1,6 +1,6 @@
diff -up xserver/configure.ac.xserver116-rebased xserver/configure.ac diff -up a/unix/xserver/configure.ac.xserver116-rebased a/unix/xserver/configure.ac
--- xserver/configure.ac.xserver116-rebased 2016-09-29 13:14:45.595441590 +0200 --- a/unix/xserver/configure.ac.xserver116-rebased 2016-09-29 13:14:45.595441590 +0200
+++ xserver/configure.ac 2016-09-29 13:14:45.631442006 +0200 +++ a/unix/xserver/configure.ac 2016-09-29 13:14:45.631442006 +0200
@@ -74,6 +74,7 @@ dnl forcing an entire recompile.x @@ -74,6 +74,7 @@ dnl forcing an entire recompile.x
AC_CONFIG_HEADERS(include/version-config.h) AC_CONFIG_HEADERS(include/version-config.h)
@ -45,9 +45,9 @@ diff -up xserver/configure.ac.xserver116-rebased xserver/configure.ac
hw/xnest/Makefile hw/xnest/Makefile
hw/xnest/man/Makefile hw/xnest/man/Makefile
hw/xwin/Makefile hw/xwin/Makefile
diff -up xserver/hw/Makefile.am.xserver116-rebased xserver/hw/Makefile.am diff -up a/unix/xserver/hw/Makefile.am.xserver116-rebased a/unix/xserver/hw/Makefile.am
--- xserver/hw/Makefile.am.xserver116-rebased 2016-09-29 13:14:45.601441659 +0200 --- a/unix/xserver/hw/Makefile.am.xserver116-rebased 2016-09-29 13:14:45.601441659 +0200
+++ xserver/hw/Makefile.am 2016-09-29 13:14:45.631442006 +0200 +++ a/unix/xserver/hw/Makefile.am 2016-09-29 13:14:45.631442006 +0200
@@ -38,7 +38,8 @@ SUBDIRS = \ @@ -38,7 +38,8 @@ SUBDIRS = \
$(DMX_SUBDIRS) \ $(DMX_SUBDIRS) \
$(KDRIVE_SUBDIRS) \ $(KDRIVE_SUBDIRS) \
@ -58,10 +58,10 @@ diff -up xserver/hw/Makefile.am.xserver116-rebased xserver/hw/Makefile.am
DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive xwayland DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive xwayland
diff --git xserver/mi/miinitext.c xserver/mi/miinitext.c diff --git a/unix/xserver/mi/miinitext.c a/unix/xserver/mi/miinitext.c
index 5596e21..003fc3c 100644 index 5596e21..003fc3c 100644
--- xserver/mi/miinitext.c --- a/unix/xserver/mi/miinitext.c
+++ xserver/mi/miinitext.c +++ a/unix/xserver/mi/miinitext.c
@@ -107,8 +107,15 @@ SOFTWARE. @@ -107,8 +107,15 @@ SOFTWARE.
#include "os.h" #include "os.h"
#include "globals.h" #include "globals.h"
@ -78,8 +78,8 @@ index 5596e21..003fc3c 100644
{GEExtensionInit, "Generic Event Extension", &noGEExtension}, {GEExtensionInit, "Generic Event Extension", &noGEExtension},
{ShapeExtensionInit, "SHAPE", NULL}, {ShapeExtensionInit, "SHAPE", NULL},
#ifdef MITSHM #ifdef MITSHM
--- xserver/include/os.h~ 2016-10-03 09:07:29.000000000 +0200 --- a/unix/xserver/include/os.h~ 2016-10-03 09:07:29.000000000 +0200
+++ xserver/include/os.h 2016-10-03 14:13:00.013654506 +0200 +++ a/unix/xserver/include/os.h 2016-10-03 14:13:00.013654506 +0200
@@ -621,7 +621,7 @@ @@ -621,7 +621,7 @@
extern _X_EXPORT void extern _X_EXPORT void
LogClose(enum ExitCode error); LogClose(enum ExitCode error);

View File

@ -2,7 +2,7 @@
Name: tigervnc Name: tigervnc
Version: 1.9.0 Version: 1.9.0
Release: 3 Release: 4
Summary: A TigerVNC remote display system Summary: A TigerVNC remote display system
License: GPLv2+ License: GPLv2+
@ -34,34 +34,26 @@ BuildRequires: openssl-devel mesa-libGL-devel freetype-devel desktop-file-utils
Requires(post): coreutils Requires(post): coreutils
Requires(postun):coreutils Requires(postun):coreutils
Requires: hicolor-icon-theme Requires: hicolor-icon-theme %{name}-help
Requires: tigervnc-license
Requires: tigervnc-icons Provides: license icons
Obsoletes: license icons
%description %description
Virtual Network Computing (VNC) is a remote display system which This package provides client for Virtual Network Computing (VNC), with which
allows you to view a computing 'desktop' environment not only on the you can access any other desktops running a VNC server.
machine where it is running, but from anywhere on the Internet and
from a wide variety of machine architectures. This package contains a
client which will allow you to connect to other desktops running a VNC
server.
%package server %package server
Summary: A TigerVNC server Summary: A TigerVNC server
Requires: perl-interpreter Requires: perl-interpreter tigervnc-server-minimal xorg-x11-xauth xorg-x11-xinit %{name}-help
Requires: tigervnc-server-minimal
Requires: xorg-x11-xauth
Requires: xorg-x11-xinit
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Requires(post): systemd Requires(post): systemd
%description server %description server
The VNC system allows you to access the same desktop from a wide This package provides full installaion of TigerCNC and utilities that
variety of platforms. This package includes set of utilities make access more convenient. For example, you can export your active
which make usage of TigerVNC server more user friendly. It also
contains x0vncserver program which can export your active
X session. X session.
%package server-minimal %package server-minimal
@ -71,19 +63,15 @@ Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Requires(post): systemd Requires(post): systemd
Requires: mesa-dri-drivers, xkeyboard-config, xorg-x11-xkb-utils Requires: mesa-dri-drivers, xkeyboard-config, xorg-x11-xkb-utils %{name} %{name}-help
Requires: tigervnc-license
%description server-minimal %description server-minimal
The VNC system allows you to access the same desktop from a wide This package provides minimal installation of TigerVNC, with which
variety of platforms. This package contains minimal installation other people can access your desktop on your machine.
of TigerVNC server, allowing others to access the desktop on your
machine.
%package server-module %package server-module
Summary: TigerVNC module to Xorg Summary: TigerVNC module to Xorg
Requires: xorg-x11-server-Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires videodrv) Requires: xorg-x11-server-Xorg %(xserver-sdk-abi-requires ansic) %(xserver-sdk-abi-requires videodrv) %{name}
Requires: tigervnc-license
%description server-module %description server-module
This package contains libvnc.so module to X server, allowing others This package contains libvnc.so module to X server, allowing others
@ -91,26 +79,18 @@ to access the desktop on your machine.
%package server-applet %package server-applet
Summary: Java TigerVNC viewer applet for TigerVNC server Summary: Java TigerVNC viewer applet for TigerVNC server
Requires: tigervnc-server, java, jpackage-utils Requires: tigervnc-server, java, jpackage-utils, %{name}-help
BuildArch: noarch BuildArch: noarch
%description server-applet %description server-applet
The Java TigerVNC viewer applet for web browsers. Install this package to allow If you want to use web browser in clients, please install this package.
clients to use web browser when connect to the TigerVNC server.
%package license %package help
Summary: License of TigerVNC suite Summary: Documents for TigerVNC
BuildArch: noarch BuildArch: noarch
%description license %description help
This package contains license of the TigerVNC suite This package provide manual for %{name}, server and server-minimal packages.
%package icons
Summary: Icons for TigerVNC viewer
BuildArch: noarch
%description icons
This package contains icons for TigerVNC viewer
%prep %prep
%setup -q %setup -q
@ -120,9 +100,9 @@ pushd unix/xserver
for all in `find . -type f -perm -001`; do for all in `find . -type f -perm -001`; do
chmod -x "$all" chmod -x "$all"
done done
%patch100 -p1 -b .xserver120-rebased
popd popd
%patch100 -p1 -b .xserver120-rebased
# Synchronise manpages and --help output (bug #980870). # Synchronise manpages and --help output (bug #980870).
%patch1 -p1 -b .manpages %patch1 -p1 -b .manpages
@ -232,7 +212,9 @@ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.c
%doc README.rst %doc README.rst
%{_bindir}/vncviewer %{_bindir}/vncviewer
%{_datadir}/applications/* %{_datadir}/applications/*
%{_mandir}/man1/vncviewer.1* %license LICENCE.TXT
%{_datadir}/icons/hicolor/*/apps/*
%files server %files server
%config(noreplace) %{_sysconfdir}/sysconfig/vncservers %config(noreplace) %{_sysconfdir}/sysconfig/vncservers
@ -241,30 +223,27 @@ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.c
%{_unitdir}/xvnc.socket %{_unitdir}/xvnc.socket
%{_bindir}/x0vncserver %{_bindir}/x0vncserver
%{_bindir}/vncserver %{_bindir}/vncserver
%{_mandir}/man1/vncserver.1*
%{_mandir}/man1/x0vncserver.1*
%files server-minimal %files server-minimal
%{_bindir}/vncconfig %{_bindir}/vncconfig
%{_bindir}/vncpasswd %{_bindir}/vncpasswd
%{_bindir}/Xvnc %{_bindir}/Xvnc
%{_mandir}/man1/Xvnc.1*
%{_mandir}/man1/vncpasswd.1*
%{_mandir}/man1/vncconfig.1*
%files server-module %files server-module
%{_libdir}/xorg/modules/extensions/libvnc.so %{_libdir}/xorg/modules/extensions/libvnc.so
%config %{_sysconfdir}/X11/xorg.conf.d/10-libvnc.conf %config %{_sysconfdir}/X11/xorg.conf.d/10-libvnc.conf
%files server-applet %files server-applet
%doc java/com/tigervnc/vncviewer/README
%{_datadir}/vnc/classes/* %{_datadir}/vnc/classes/*
%files license %files help
%license LICENCE.TXT %{_mandir}/man1/vncviewer.1*
%{_mandir}/man1/vncserver.1*
%files icons %{_mandir}/man1/x0vncserver.1*
%{_datadir}/icons/hicolor/*/apps/* %{_mandir}/man1/Xvnc.1*
%{_mandir}/man1/vncpasswd.1*
%{_mandir}/man1/vncconfig.1*
%doc java/com/tigervnc/vncviewer/README
%changelog %changelog
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 1.9.0-4 * Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 1.9.0-4