Added patch to fix command detection
This commit is contained in:
parent
28996e68e6
commit
352621b470
12
texstudio-2.12.0_fix_command_detection.patch
Normal file
12
texstudio-2.12.0_fix_command_detection.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur texstudio2.12.0/buildmanager.cpp texstudio2.12.0.new/buildmanager.cpp
|
||||||
|
--- texstudio2.12.0/buildmanager.cpp 2017-01-06 21:32:26.000000000 +0100
|
||||||
|
+++ texstudio2.12.0.new/buildmanager.cpp 2017-01-20 10:00:32.103909199 +0100
|
||||||
|
@@ -599,7 +599,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)
|
@ -1,6 +1,6 @@
|
|||||||
Name: texstudio
|
Name: texstudio
|
||||||
Version: 2.12.0
|
Version: 2.12.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
Summary: A feature-rich editor for LaTeX documents
|
Summary: A feature-rich editor for LaTeX documents
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
@ -16,6 +16,8 @@ Patch2: texstudio-debughelper-arm-fix.patch
|
|||||||
Patch3: texstudio-disable-update-check.patch
|
Patch3: texstudio-disable-update-check.patch
|
||||||
# don't muck with default build flags
|
# don't muck with default build flags
|
||||||
Patch4: texstudio-wtf_flags.patch
|
Patch4: texstudio-wtf_flags.patch
|
||||||
|
# Fix for https://sourceforge.net/p/texstudio/bugs/2037/
|
||||||
|
Patch5: texstudio-2.12.0_fix_command_detection.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
@ -54,6 +56,7 @@ so it keeps it look&feel.
|
|||||||
%patch2 -p1 -b .arm
|
%patch2 -p1 -b .arm
|
||||||
%patch3 -p1 -b .update_check
|
%patch3 -p1 -b .update_check
|
||||||
%patch4 -p1 -b .wtf_flags
|
%patch4 -p1 -b .wtf_flags
|
||||||
|
%patch5 -p1 -b .command_detection
|
||||||
|
|
||||||
rm -rf {hunspell,qtsingleapplication,quazip}
|
rm -rf {hunspell,qtsingleapplication,quazip}
|
||||||
|
|
||||||
@ -139,6 +142,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
|
|||||||
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
|
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 20 2017 Christian Dersch <lupinix@mailbox.org> - 2.12.0-2
|
||||||
|
- Added patch to fix command detection
|
||||||
|
|
||||||
* Sat Jan 07 2017 Johannes Lips <hannes@fedoraproject.org> 2.12.0-1
|
* Sat Jan 07 2017 Johannes Lips <hannes@fedoraproject.org> 2.12.0-1
|
||||||
- Update to latest upstream bugfix release 2.12.0
|
- Update to latest upstream bugfix release 2.12.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user