File: 0001-patch-README.md-instructions.patch

package info (click to toggle)
qevercloud 3.0.3+ds-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 916 kB
  • sloc: cpp: 4,690; yacc: 486; makefile: 38
file content (86 lines) | stat: -rw-r--r-- 4,900 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
From: Boyuan Yang <073plan@gmail.com>
Date: Sun, 18 Sep 2016 18:39:22 +0800
Subject: README.md: patch and remove build/install instructions.
Forwarded: not-needed

The README file provided by upstream is useful and will be shipped
together with the library development package. Since packages are
provided by Debian, the instructions about building and installing
should be removed here.

---
--- a/README.md
+++ b/README.md
@@ -14,60 +14,7 @@
 is implemented and ready to use. In particular OAuth authentication is implemented.
 
 Read doxygen generated [documentation](http://d1vanov.github.io/QEverCloud) for detailed info.
-
-The documentation can also be generated in the form of a .qch file which you can register with
-your copy of Qt Creator to have context-sensitive help. See below for more details.
-
-## How to build
-
-The project can be built and shipped as either static library or shared library. Dll export/import symbols necessary for Windows platform are supported.
-
-Dependencies include the following Qt components:
- * For Qt4: QtCore, QtGui, QtNetwork, QtWebKit
- * For Qt5: Qt5Core, Qt5Widgets, Qt5Network and either:
-   * Qt5WebKit and Qt5WebKitWidgets - for Qt < 5.4
-   * Qt5WebEngine and Qt5WebEngineWidgets - for Qt < 5.6
-   * Qt5WebEngineCore and Qt5WebEngineWidgets - for Qt >= 5.6
-
-Since QEverCloud 3.0.2 it is also possible to choose Qt5WebKit over Qt5WebEngine using CMake option `USE_QT5_WEBKIT`.
-
-Also, if Qt4's QtTest or Qt5's Qt5Test modules are found during the pre-build configuration, the unit tests are enabled and can be run with `make test` command.
-
-The project uses CMake build system which can be used as simply as follows (on Unix platforms):
-```
-mkdir build
-cd build
-cmake -DCMAKE_INSTALL_PREFIX=<...> ../
-make
-make install
-```
-
-Please note that installing the library somewhere is mandatory because it puts the library's headers into the subfolder dependent on used Qt version: either *qt4qevercloud* or *qt5qevercloud*. The intended use of library's headers is something like this:
-```
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-#include <qt4qevercloud/QEverCloud.h>
-#else
-#include <qt5qevercloud/QEverCloud.h>
-#endif
-```
-
-If you just need to use the only one Qt version, you can skip the check and just include the header file you need.
-
-More CMake configurations options available:
-
-*BUILD_DOCUMENTATION* - when *ON*, attempts to find Doxygen and in case of success adds *doc* target so the documentation can be built using `make doc` command after the `cmake ../` step. By default this option is on.
-
-*BUILD_QCH_DOCUMENTATION* - when *ON*, passes instructions on to Doxygen to build the documentation in *qch* format. This option only has any meaning if *BUILD_DOCUMENTATION* option is on. By default this option is off.
-
-*BUILD_SHARED* - when *ON*, CMake configures the build for the shared library. By default this option is on.
-
-If *BUILD_SHARED* is *ON*, `make install` would install the CMake module necessary for applications using CMake's `find_package` command to find the installation of the library.
-
-## Compatibility
-
-The previous versions the library used **qmake** build system and only allowed building as a static library. The latest version of the library uses **CMake** build system which allows building either shared or static library. For compatibility the project file for qmake build system was left within the project's source tree, however, it still only allows to build a static library. Plus, the deprecation warning is displayed when one tries to use the project file for qmake build system.
-
-The library can be built with both Qt4 and Qt5 versions of the framework. By default Qt4 is used, if found. If you'd like to force finding the Qt5 version no matter whether Qt4 is found, pass `-DUSE_QT5=1` option to CMake.
+The documentation is also provided by the [qevercloud-doc](https://tracker.debian.org/pkg/qevercloud-doc) package in Debian.
 
 ### API breaks from 2.x to 3.0
 
@@ -84,10 +31,6 @@
 #endif
 ```
 
-### QtWebKit vs QWebEngine
-
-The library uses Qt's web facilities for OAuth authentication. These can be based on either QtWebKit (for Qt4 and older versions of Qt5) or QWebEngine (for more recent versions of Qt5). With CMake build system the choice happens automatically during the pre-build configuration based on the used version of Qt. With qmake build system QtWebKit is used by default but that can be altered via qmake option `CONFIG+=use_qwebengine`.
-
 ### C++11/14/17 features
 
 The library does not use any C++11/14/17 features directly but only through macros like `Q_DECL_OVERRIDE`, `Q_STATIC_ASSERT_X`, `QStringLiteral` and others. Some of these macros are also "backported" to Qt4 version of the library i.e. they are defined by the library itself for Qt4 version. So the library should be buildable even with not C++11/14/17-compliant compiler.