Date: Monday, January 23, 2017 @ 11:10:06 Author: svenstaro Revision: 208497
upgpkg: texstudio 2.12.0-2 Try to fix latex detection Added: texstudio/trunk/fs52529.patch Modified: texstudio/trunk/PKGBUILD ---------------+ PKGBUILD | 13 ++++++++++--- fs52529.patch | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-23 11:08:54 UTC (rev 208496) +++ PKGBUILD 2017-01-23 11:10:06 UTC (rev 208497) @@ -2,7 +2,7 @@ # Contributor: Clément DEMOULINS <[email protected]> pkgname=texstudio pkgver=2.12.0 -pkgrel=1 +pkgrel=2 pkgdesc="Integrated writing environment for creating LaTeX documents" arch=('i686' 'x86_64') url="http://texstudio.sourceforge.net/" @@ -12,9 +12,16 @@ optdepends=('evince: pdf reader' 'okular: alternate pdf reader') replaces=('texmakerx') -source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}") -md5sums=('SKIP') +source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}" + "fs52529.patch") +sha512sums=('SKIP' + '562f49ddab6e39ac0a05dd67a2eb14e6ce47af44cfbc7b850edb6e4189b8c2ddebb6c4c118b4e8faeb0b49c3180d8cc24f5eb45b421f6acac996fd332a58f8d7') +prepare() { + cd hg + patch -Np1 < "$srcdir"/fs52529.patch +} + build() { cd hg qmake-qt5 CONFIG-="debug" texstudio.pro Added: fs52529.patch =================================================================== --- fs52529.patch (rev 0) +++ fs52529.patch 2017-01-23 11:10:06 UTC (rev 208497) @@ -0,0 +1,20 @@ +# HG changeset patch +# User [email protected] <[email protected]> +# Date 1484825587 -3600 +# Thu Jan 19 12:33:07 2017 +0100 +# Node ID 77c705b374b17a1d238edf89495a061442323776 +# Parent 89b651aae5cf74f66dc3a183679706841b9bc994 +fix command detection + +diff -r 89b651aae5cf -r 77c705b374b1 buildmanager.cpp +--- a/buildmanager.cpp Sat Jan 14 18:37:44 2017 +0100 ++++ b/buildmanager.cpp Thu Jan 19 12:33:07 2017 +0100 +@@ -592,7 +592,7 @@ + + QString addPathDelimeter(const QString &a) + { +- return ((a.endsWith("/") || a.endsWith("\\")) ? a : (a + "\\")); ++ return ((a.endsWith("/") || a.endsWith("\\")) ? a : (a + QDir::separator())); + } + + QString BuildManager::findFileInPath(QString fileName)
