[arch-commits] Commit in lyx/trunk (PKGBUILD qt58.patch)

Antonio Rojas arojas at archlinux.org
Wed May 17 07:24:18 UTC 2017


    Date: Wednesday, May 17, 2017 @ 07:24:18
  Author: arojas
Revision: 296198

Update to 2.2.3

Modified:
  lyx/trunk/PKGBUILD
Deleted:
  lyx/trunk/qt58.patch

------------+
 PKGBUILD   |   13 +++----------
 qt58.patch |   33 ---------------------------------
 2 files changed, 3 insertions(+), 43 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-17 06:12:17 UTC (rev 296197)
+++ PKGBUILD	2017-05-17 07:24:18 UTC (rev 296198)
@@ -3,8 +3,8 @@
 # Contributor: Jason Chu <jason at archlinux.org>
 
 pkgname=lyx
-pkgver=2.2.2
-pkgrel=4
+pkgver=2.2.3
+pkgrel=1
 pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
 arch=('i686' 'x86_64')
 url="http://www.lyx.org"
@@ -17,17 +17,10 @@
 backup=('etc/lyx/lyxrc.dist')
 options=('emptydirs')
 source=(ftp://ftp.lyx.org/pub/lyx/stable/2.2.x/$pkgname-$pkgver.tar.xz
-        qt58.patch
         lyxrc.dist)
-sha1sums=('30f6f24f81a8990261b1dfd9a6196dfe1459abda'
-          'df07c31590afb7004cfd47a93064f172a5bc8f42'
+sha1sums=('8c9946ab8ee762f1e21467dbf066f0adef6261d1'
           '56416642cc3da2a13b87b84e6b87c1a239f3d09a')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i ../qt58.patch
-}
-
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   export CXXFLAGS="$CXXFLAGS -fpermissive"

Deleted: qt58.patch
===================================================================
--- qt58.patch	2017-05-17 06:12:17 UTC (rev 296197)
+++ qt58.patch	2017-05-17 07:24:18 UTC (rev 296198)
@@ -1,33 +0,0 @@
-From 6d375ddeac49ac8c6340398c9797354edca3f5d1 Mon Sep 17 00:00:00 2001
-From: Guillaume Munch <gm at lyx.org>
-Date: Tue, 20 Dec 2016 00:15:58 +0100
-Subject: [PATCH] Fix compilation with Qt5.8dev
-
----
- src/frontends/qt4/GuiViewSource.cpp |    9 ++-------
- 1 files changed, 2 insertions(+), 7 deletions(-)
-
-diff --git a/src/frontends/qt4/GuiViewSource.cpp b/src/frontends/qt4/GuiViewSource.cpp
-index 9c0ea1d..fe59387 100644
---- a/src/frontends/qt4/GuiViewSource.cpp
-+++ b/src/frontends/qt4/GuiViewSource.cpp
-@@ -218,14 +218,9 @@ void ViewSourceWidget::updateView(BufferView const * bv)
- 	if (changed && !texrow_) {
- 		// 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
- 		c.setPosition(pos);
--- 
-1.7.1
-



More information about the arch-commits mailing list