Accepting request 495509 from Publishing

2.2.3, now with new source tarballs

OBS-URL: https://build.opensuse.org/request/show/495509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lyx?expand=0&rev=84
This commit is contained in:
Dominique Leuenberger 2017-05-17 15:18:54 +00:00 committed by Git OBS Bridge
commit 7139d0d16c
7 changed files with 13 additions and 26 deletions

View File

@ -1,19 +0,0 @@
Index: src/frontends/qt4/GuiViewSource.cpp
===================================================================
--- src/frontends/qt4/GuiViewSource.cpp (revision adb00dbcf803298651609c0afac02bc4cb3db003)
+++ src/frontends/qt4/GuiViewSource.cpp (revision 9f2fcf20a51af2b63161a3290cf5fb02474b42b9)
@@ -224,12 +224,7 @@
// position-to-row is unavailable
// we jump to the first modification
- const QChar * oc = old.constData();
- const QChar * nc = qcontent.constData();
+ int length = min(old.length(), qcontent.length());
int pos = 0;
- while (*oc != '\0' && *nc != '\0' && *oc == *nc) {
- ++oc;
- ++nc;
- ++pos;
- }
+ for (; pos < length && old.at(pos) == qcontent.at(pos); ++pos) {}
QTextCursor c = QTextCursor(viewSourceTV->document());
//get some space below the cursor

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a85c3d7412c4069f8a1f5af4eb172948ae9a50394602f6318ab5c8e990aa5568
size 15490148

Binary file not shown.

3
lyx-2.2.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fcaeb7c202472d9ea21bf826fb30541015fef33e7217eda2be2b5d589c82b57
size 15501856

BIN
lyx-2.2.3.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun May 7 19:54:11 UTC 2017 - cornelis@solcon.nl
- Update to 2.2.3:
* Bugfix release
* For details see http://www.lyx.org/announce/2_2_3.txt (also
included as ANNOUNCE file)
- Dropped Qt58.patch
-------------------------------------------------------------------
Wed Mar 1 22:22:17 UTC 2017 - cornelis@solcon.nl

View File

@ -17,7 +17,7 @@
Name: lyx
Version: 2.2.2
Version: 2.2.3
Release: 0
Summary: WYSIWYM (What You See Is What You Mean) document processor
License: GPL-2.0+
@ -27,8 +27,6 @@ Source: ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-%{version}.tar.xz
Source1: lyxrc.dist
Source2: lyx.keyring
Source3: ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/lyx-%{version}.tar.xz.sig
# PATCH-FIX-UPSTREAM: fix for build with Qt 5.8
Patch0: Qt58.patch
#!BuildIgnore: lyx
BuildRequires: autoconf
BuildRequires: automake
@ -130,7 +128,6 @@ document under "Help" on the menubar.
%prep
%setup -q
%patch0
%build
#./autogen.sh