From 6011f96cdc5b8f68a864d7f6294d9a45030b3533 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand=20=28astrand=29?= Date: Wed, 29 Nov 2017 09:11:29 +0100 Subject: [PATCH] Rename README.txt to README.rst and convert to reStructuredText --- README.txt => README.rst | 16 ++++++++-------- cmake/BuildPackages.cmake | 2 +- contrib/packages/rpm/el5/SPECS/tigervnc.spec | 2 +- contrib/packages/rpm/el6/SPECS/tigervnc.spec | 2 +- contrib/packages/rpm/el7/SPECS/tigervnc.spec | 2 +- java/com/tigervnc/vncviewer/VncViewer.java | 2 +- po/CMakeLists.txt | 2 +- po/tigervnc.pot | 4 ++-- release/makemacapp.in | 2 +- release/tigervnc.iss.in | 4 ++-- unix/xserver/hw/vnc/xvnc.c | 2 +- vncviewer/vncviewer.cxx | 2 +- vncviewer/vncviewer.rc.in | 2 +- win/vncconfig/vncconfig.rc | 2 +- win/winvnc/winvnc.rc.in | 2 +- 15 files changed, 24 insertions(+), 24 deletions(-) rename README.txt => README.rst (93%) diff --git a/README.txt b/README.rst similarity index 93% rename from README.txt rename to README.rst index d7db7d8d..363a5b62 100644 --- a/README.txt +++ b/README.rst @@ -19,7 +19,7 @@ JPEG codec. Legal ===== -Incomplete and generally out of date copyright list: +Incomplete and generally out of date copyright list:: Copyright (C) 1999 AT&T Laboratories Cambridge Copyright (C) 2002-2005 RealVNC Ltd. @@ -50,7 +50,7 @@ All Platforms All versions of TigerVNC contain the following programs: - vncviewer - the cross-platform TigerVNC Viewer, written using FLTK. +* vncviewer - the cross-platform TigerVNC Viewer, written using FLTK. vncviewer connects to a VNC server and allows you to interact with the remote desktop being displayed by the VNC server. The VNC server can be running on a Windows or a Unix/Linux machine. @@ -61,7 +61,7 @@ Windows-Specific The Windows version of TigerVNC contains the following programs: - winvnc - the TigerVNC Server for Windows. winvnc allows a Windows desktop to +* winvnc - the TigerVNC Server for Windows. winvnc allows a Windows desktop to be accessed remotely using a VNC viewer. winvnc may not work if the Fast User Switching or Remote Desktop features are @@ -73,23 +73,23 @@ Unix/Linux-Specific (not Mac) The Unix/Linux version of TigerVNC contains the following programs: - Xvnc - the TigerVNC Server for Unix. Xvnc is both a VNC server and an X +* Xvnc - the TigerVNC Server for Unix. Xvnc is both a VNC server and an X server with a "virtual" framebuffer. You should normally use the vncserver script to start Xvnc. - vncserver - a wrapper script which makes starting Xvnc more convenient. +* vncserver - a wrapper script which makes starting Xvnc more convenient. vncserver requires Perl. - vncpasswd - a program which allows you to change the VNC password used to +* vncpasswd - a program which allows you to change the VNC password used to access your VNC server sessions (assuming that VNC authentication is being used.) The vncserver script will automatically launch this program if it detects that VNC authentication is in use and a VNC password has not yet been configured. - vncconfig - a program which is used to configure and control a running +* vncconfig - a program which is used to configure and control a running instance of Xvnc. - x0vncserver - an inefficient VNC server which continuously polls any X +* x0vncserver - an inefficient VNC server which continuously polls any X display, allowing it to be controlled via VNC. It is intended mainly as a demonstration of a simple VNC server. diff --git a/cmake/BuildPackages.cmake b/cmake/BuildPackages.cmake index 8b3527ae..ec96318d 100644 --- a/cmake/BuildPackages.cmake +++ b/cmake/BuildPackages.cmake @@ -87,4 +87,4 @@ endif() #UNIX # install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION ${DOC_DIR}) -install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${DOC_DIR}) +install(FILES ${CMAKE_SOURCE_DIR}/README.rst DESTINATION ${DOC_DIR}) diff --git a/contrib/packages/rpm/el5/SPECS/tigervnc.spec b/contrib/packages/rpm/el5/SPECS/tigervnc.spec index 08fff0bb..51388afd 100644 --- a/contrib/packages/rpm/el5/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/el5/SPECS/tigervnc.spec @@ -1000,7 +1000,7 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) -%doc README.txt +%doc README.rst %{_bindir}/vncviewer %{_datadir}/applications/* %{_mandir}/man1/vncviewer.1* diff --git a/contrib/packages/rpm/el6/SPECS/tigervnc.spec b/contrib/packages/rpm/el6/SPECS/tigervnc.spec index fce7d2d6..eb54a3ba 100644 --- a/contrib/packages/rpm/el6/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/el6/SPECS/tigervnc.spec @@ -408,7 +408,7 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) -%doc README.txt +%doc README.rst %{_bindir}/vncviewer %{_datadir}/applications/* %{_mandir}/man1/vncviewer.1* diff --git a/contrib/packages/rpm/el7/SPECS/tigervnc.spec b/contrib/packages/rpm/el7/SPECS/tigervnc.spec index d91c174f..f0fdd11e 100644 --- a/contrib/packages/rpm/el7/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/el7/SPECS/tigervnc.spec @@ -340,7 +340,7 @@ fi %files -f %{name}.lang %defattr(-,root,root,-) -%doc %{_docdir}/%{name}-%{version}/README.txt +%doc %{_docdir}/%{name}-%{version}/README.rst %{_bindir}/vncviewer %{_datadir}/applications/* %{_mandir}/man1/vncviewer.1* diff --git a/java/com/tigervnc/vncviewer/VncViewer.java b/java/com/tigervnc/vncviewer/VncViewer.java index 74f2ca37..a2965782 100644 --- a/java/com/tigervnc/vncviewer/VncViewer.java +++ b/java/com/tigervnc/vncviewer/VncViewer.java @@ -65,7 +65,7 @@ public class VncViewer extends javax.swing.JApplet public static final String aboutText = new String("TigerVNC Java Viewer v%s (%s)%n"+ "Built on %s at %s%n"+ - "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)%n"+ + "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.rst)%n"+ "See http://www.tigervnc.org for information on TigerVNC."); public static String version = null; diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index ddc43de8..9c8ddef3 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -24,7 +24,7 @@ if (GETTEXT_XGETTEXT_EXECUTABLE) --keyword=_ --keyword=p_:1c,2 --keyword=N_ - "--copyright-holder=TigerVNC Team and many others \(see README.txt\)" + "--copyright-holder=TigerVNC Team and many others \(see README.rst\)" --msgid-bugs-address=tigervnc-devel@googlegroups.com --sort-by-file --add-location diff --git a/po/tigervnc.pot b/po/tigervnc.pot index 70656bc5..f1b3a737 100644 --- a/po/tigervnc.pot +++ b/po/tigervnc.pot @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR TigerVNC Team and many others (see README.txt) +# Copyright (C) YEAR TigerVNC Team and many others (see README.rst) # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # @@ -560,7 +560,7 @@ msgstr "" msgid "" "TigerVNC Viewer %d-bit v%s\n" "Built on: %s\n" -"Copyright (C) 1999-%d TigerVNC Team and many others (see README.txt)\n" +"Copyright (C) 1999-%d TigerVNC Team and many others (see README.rst)\n" "See http://www.tigervnc.org for information on TigerVNC." msgstr "" diff --git a/release/makemacapp.in b/release/makemacapp.in index 66a7f66e..7aca33cc 100644 --- a/release/makemacapp.in +++ b/release/makemacapp.in @@ -65,7 +65,7 @@ install -m 644 $SRCDIR/release/tigervnc.icns "$APPROOT/Contents/Resources/" install -m 644 release/Info.plist "$APPROOT/Contents/" install -m 644 $SRCDIR/LICENCE.TXT $TMPDIR/dmg/ -install -m 644 $SRCDIR/README.txt $TMPDIR/dmg/ +install -m 644 $SRCDIR/README.rst $TMPDIR/dmg/ hdiutil create -fs HFS+ -volname $PACKAGE_NAME-$VERSION \ -srcfolder "$TMPDIR/dmg" \ diff --git a/release/tigervnc.iss.in b/release/tigervnc.iss.in index b78b4e57..092345a5 100644 --- a/release/tigervnc.iss.in +++ b/release/tigervnc.iss.in @@ -30,7 +30,7 @@ Source: "@CMAKE_CURRENT_BINARY_DIR@\win\wm_hooks\wm_hooks.dll"; DestDir: "{app}" Source: "@CMAKE_CURRENT_BINARY_DIR@\win\vncconfig\vncconfig.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; #endif Source: "@CMAKE_CURRENT_BINARY_DIR@\vncviewer\vncviewer.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; -Source: "@CMAKE_SOURCE_DIR@\README.txt"; DestDir: "{app}"; Flags: ignoreversion +Source: "@CMAKE_SOURCE_DIR@\README.rst"; DestDir: "{app}"; Flags: ignoreversion Source: "@CMAKE_SOURCE_DIR@\LICENCE.TXT"; DestDir: "{app}"; Flags: ignoreversion @@ -49,7 +49,7 @@ Name: "{group}\VNC Server (Service-Mode)\Start VNC Service"; FileName: "{app}\wi Name: "{group}\VNC Server (Service-Mode)\Stop VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -stop"; #endif Name: "{group}\License"; FileName: "write.exe"; Parameters: "LICENCE.TXT"; WorkingDir: "{app}"; Flags: "useapppaths" -Name: "{group}\Read Me"; FileName: "write.exe"; Parameters: "README.txt"; WorkingDir: "{app}"; Flags: "useapppaths" +Name: "{group}\Read Me"; FileName: "write.exe"; Parameters: "README.rst"; WorkingDir: "{app}"; Flags: "useapppaths" Name: "{group}\Uninstall TigerVNC"; FileName: "{uninstallexe}"; WorkingDir: "{app}"; #ifdef BUILD_WINVNC diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c index b80863ab..fa94aeb0 100644 --- a/unix/xserver/hw/vnc/xvnc.c +++ b/unix/xserver/hw/vnc/xvnc.c @@ -86,7 +86,7 @@ from the X Consortium. #include "site.h" #define XVNCVERSION "TigerVNC 1.8.80" -#define XVNCCOPYRIGHT ("Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)\n" \ +#define XVNCCOPYRIGHT ("Copyright (C) 1999-2017 TigerVNC Team and many others (see README.rst)\n" \ "See http://www.tigervnc.org for information on TigerVNC.\n") #define VFB_DEFAULT_WIDTH 1024 diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index bd3a562d..d15a804a 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -99,7 +99,7 @@ static const char *about_text() snprintf(buffer, sizeof(buffer), _("TigerVNC Viewer %d-bit v%s\n" "Built on: %s\n" - "Copyright (C) 1999-%d TigerVNC Team and many others (see README.txt)\n" + "Copyright (C) 1999-%d TigerVNC Team and many others (see README.rst)\n" "See http://www.tigervnc.org for information on TigerVNC."), (int)sizeof(size_t)*8, PACKAGE_VERSION, BUILD_TIMESTAMP, 2017); diff --git a/vncviewer/vncviewer.rc.in b/vncviewer/vncviewer.rc.in index 0e082901..e32bf92e 100644 --- a/vncviewer/vncviewer.rc.in +++ b/vncviewer/vncviewer.rc.in @@ -52,7 +52,7 @@ BEGIN #endif VALUE "FileVersion", "@RCVERSION@\0" VALUE "InternalName", "vncviewer\0" - VALUE "LegalCopyright", "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)\0" + VALUE "LegalCopyright", "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.rst)\0" VALUE "LegalTrademarks", "TigerVNC\0" VALUE "OriginalFilename", "vncviewer.exe\0" VALUE "PrivateBuild", "\0" diff --git a/win/vncconfig/vncconfig.rc b/win/vncconfig/vncconfig.rc index f23bbdb4..78fa7f20 100644 --- a/win/vncconfig/vncconfig.rc +++ b/win/vncconfig/vncconfig.rc @@ -472,7 +472,7 @@ BEGIN #endif VALUE "FileVersion", __RCVERSIONSTR VALUE "InternalName", "vncconfig\0" - VALUE "LegalCopyright", "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)\0" + VALUE "LegalCopyright", "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.rst)\0" VALUE "LegalTrademarks", "TigerVNC\0" VALUE "OriginalFilename", "vncconfig.exe\0" VALUE "PrivateBuild", "\0" diff --git a/win/winvnc/winvnc.rc.in b/win/winvnc/winvnc.rc.in index 4c071f92..f4ce802e 100644 --- a/win/winvnc/winvnc.rc.in +++ b/win/winvnc/winvnc.rc.in @@ -86,7 +86,7 @@ BEGIN #endif VALUE "FileVersion", __RCVERSIONSTR VALUE "InternalName", "winvnc\0" - VALUE "LegalCopyright", "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)\0" + VALUE "LegalCopyright", "Copyright (C) 1999-2017 TigerVNC Team and many others (see README.rst)\0" VALUE "LegalTrademarks", "TigerVNC\0" VALUE "OriginalFilename", "winvnc4.exe\0" VALUE "PrivateBuild", "\0" -- 2.39.5