diff --git a/srcpkgs/texstudio/patches/40-fix-struct-view.patch b/srcpkgs/texstudio/patches/40-fix-struct-view.patch deleted file mode 100644 index d65d692434..0000000000 --- a/srcpkgs/texstudio/patches/40-fix-struct-view.patch +++ /dev/null @@ -1,48 +0,0 @@ -source: https://github.com/texstudio-org/texstudio/commit/4cf5c2eb2a8a0353335c0ed6d6be4b3f19c950c3.patch - -From 4cf5c2eb2a8a0353335c0ed6d6be4b3f19c950c3 Mon Sep 17 00:00:00 2001 -From: "sunderme@gmx.de" -Date: Wed, 9 May 2018 22:41:16 +0200 -Subject: [PATCH] fix messed structureview with qt >=5.10 - ---- - src/latexdocument.cpp | 8 ++++---- - src/latexstructure.h | 1 - - 2 files changed, 4 insertions(+), 5 deletions(-) - ---- src/latexdocument.cpp -+++ src/latexdocument.cpp -@@ -358,8 +358,8 @@ void LatexDocument::patchStructureRemoval(QDocumentLineHandle *dlh) - } - } - -- //emit structureUpdated(this, newSection); -- emit setHighlightedEntry(newSection); -+ emit structureUpdated(this, newSection); -+ //emit setHighlightedEntry(newSection); - - if (bibTeXFilesNeedsUpdate) - emit updateBibTeXFiles(); -@@ -1176,8 +1176,8 @@ bool LatexDocument::patchStructure(int linenr, int count, bool recheck) - } - } - -- //emit structureUpdated(this, newSection); -- emit setHighlightedEntry(newSection); -+ emit structureUpdated(this, newSection); -+ //emit setHighlightedEntry(newSection); - } - StructureEntry *se; - foreach (se, MapOfTodo.values()) - - ---- src/latexstructure.h -+++ src/latexstructure.h -@@ -114,7 +114,6 @@ - bool getSingleDocMode(); - void moveDocs(int from, int to); - --public slots: - void setHighlightedEntry(StructureEntry *entry); - - private slots: diff --git a/srcpkgs/texstudio/template b/srcpkgs/texstudio/template index 7c4a8d8613..ec2fcb68a9 100644 --- a/srcpkgs/texstudio/template +++ b/srcpkgs/texstudio/template @@ -1,9 +1,9 @@ # Template file for 'texstudio' pkgname=texstudio -version=2.12.8 +version=2.12.10 revision=1 build_style=qmake -configure_args="NO_TESTS=true $(vopt_if phonon PHONON=true) +configure_args="$(vopt_if phonon PHONON=true) $(vopt_if poppler '' NO_POPPLER_PREVIEW=true)" hostmakedepends="pkg-config qt5-qmake" makedepends="qt5-webkit-devel qt5-svg-devel qt5-script-devel qt5-tools-devel @@ -11,10 +11,10 @@ makedepends="qt5-webkit-devel qt5-svg-devel qt5-script-devel qt5-tools-devel depends="qt5-svg" short_desc="Powerful Tex/LaTeX editor based on texmaker" maintainer="Piraty " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://texstudio.org/" distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz" -checksum=3dec30ded3f36bb0591f8ed1b78b86fa23f276f5744925bc91075715c3f58062 +checksum=92cf9cbb536e58a5929611fa40438cd9d7ea6880022cd3c5de0483fd15d3df0b build_options="phonon poppler" desc_option_phonon="build with phonon support"