removed community/texstudio

This commit is contained in:
Kevin Mihelich 2020-08-26 01:54:45 +00:00
parent 92baab01d5
commit 51fbbadfc6
4 changed files with 0 additions and 123 deletions

View file

@ -1,52 +0,0 @@
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Clément DEMOULINS <clement@archivel.fr>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - ARM patch, use NO_CRASH_HANDLER=1 for AArch64
pkgname=texstudio
pkgver=2.12.22
pkgrel=1
pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('x86_64')
url="http://texstudio.sourceforge.net/"
license=('GPL')
depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip' 'desktop-file-utils')
makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
optdepends=('evince: pdf reader'
'okular: alternate pdf reader')
replaces=('texmakerx')
source=("https://github.com/texstudio-org/texstudio/archive/${pkgver}.tar.gz"
fs54269.patch
fs56433.patch
texstudio-debughelper-arm-fix.patch)
sha512sums=('c589285d1fba00812583a3d58602a99e044eb4bcf6a84b939d00ad7fe4ba8f15788031361fc9b4cb8df19f8098911c437d1de5459c1736fa40888b88d13b10d1'
'247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
'a098c45440077db6c137bbeeb76d266242b80d51c3721aed30987d22b3e381b2a490b685aff4897d203a17256c64a9254360e3ac6f962675ea4b9a575a29a808'
'c8a915846d355593c2ebd0c9ebd5dfa908c456a4a51c4d63f1f685efdf2ff763e68fdaa34ddfe602890f363486ed0b9be55e09112904f60fbd0de40a418947d3')
prepare() {
cd texstudio-${pkgver}/src
patch -Np1 < "${srcdir}"/fs54269.patch
patch -Np1 < "${srcdir}"/fs56433.patch
patch -Np2 < "${srcdir}"/texstudio-debughelper-arm-fix.patch
}
build() {
cd texstudio-${pkgver}
[[ $CARCH == "aarch64" ]] && EXTRA="NO_CRASH_HANDLER=1"
qmake-qt5 CONFIG-="debug" $EXTRA USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 texstudio.pro
make
}
package() {
cd texstudio-${pkgver}
make INSTALL_ROOT="${pkgdir}" install
for res in $(/bin/ls /usr/share/icons/hicolor | grep '[0-9]\+x[0-9]\+'); do
mkdir -p "${pkgdir}"/usr/share/icons/hicolor/${res}/apps
convert +set date:create +set date:modify -background none -density 1200 -resize ${res} \
"${pkgdir}"/usr/share/icons/hicolor/scalable/apps/texstudio.svg \
"${pkgdir}"/usr/share/icons/hicolor/${res}/apps/texstudio.png
done
}

View file

@ -1,11 +0,0 @@
diff -r c61879e1dfa9 minisplitter.cpp
--- a/minisplitter.cpp Sun Aug 06 17:32:28 2017 +0200
+++ b/minisplitter.cpp Tue Aug 08 15:33:21 2017 +0200
@@ -72,7 +72,6 @@
else
setContentsMargins(0, 2, 0, 2);
setMask(QRegion(contentsRect()));
- QSplitterHandle::resizeEvent(event);
}
void MiniSplitterHandle::paintEvent(QPaintEvent *event)

View file

@ -1,24 +0,0 @@
diff -r 184eb474c083 configmanager.cpp
--- a/configmanager.cpp Sun Nov 26 21:13:19 2017 +0100
+++ b/configmanager.cpp Fri Dec 01 21:07:57 2017 +0100
@@ -603,7 +603,7 @@
#else
registerOption("Grammar/Language Tool URL", &grammarCheckerConfig->languageToolURL, "http://localhost:8081/", &pseudoDialog->lineEditGrammarLTUrl);
#endif
- registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "", &pseudoDialog->lineEditGrammarLTPath);
+ registerOption("Grammar/Language Tool Path", &grammarCheckerConfig->languageToolPath, "/usr/share/languagetool:/usr/share/java/languagetool/*", &pseudoDialog->lineEditGrammarLTPath);
registerOption("Grammar/Language Tool Arguments", &grammarCheckerConfig->languageToolArguments, "org.languagetool.server.HTTPServer -p 8081", &pseudoDialog->lineEditGrammarLTArguments);
registerOption("Grammar/Language Tool Java Path", &grammarCheckerConfig->languageToolJavaPath, "java", &pseudoDialog->lineEditGrammarLTJava);
registerOption("Grammar/Language Tool Autorun", &grammarCheckerConfig->languageToolAutorun, true, &pseudoDialog->checkBoxGrammarLTAutorun);
diff -r 184eb474c083 grammarcheck.cpp
--- a/grammarcheck.cpp Sun Nov 26 21:13:19 2017 +0100
+++ b/grammarcheck.cpp Fri Dec 01 21:07:57 2017 +0100
@@ -898,7 +898,7 @@
}
triedToStart = true;
startTime = 0;
- if (ltPath == "" || !QFileInfo(ltPath).exists()) return;
+ if (ltPath == "") return;
javaProcess = new QProcess();
connect(javaProcess, SIGNAL(finished(int)), javaProcess, SLOT(deleteLater()));
connect(this, SIGNAL(destroyed()), javaProcess, SLOT(deleteLater()));

View file

@ -1,36 +0,0 @@
From b0cf44fde92b66fbaefceb643b6124bc5bf0b087 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sun, 11 Feb 2018 07:39:00 +0100
Subject: [PATCH 2/2] armfix
---
src/debughelper.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/debug/debughelper.cpp b/src/debug/debughelper.cpp
index 2918b43..74b94bc 100644
--- a/src/debug/debughelper.cpp
+++ b/src/debug/debughelper.cpp
@@ -517,16 +517,12 @@ QString print_backtrace(const QString &message)
#define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.gp_regs[31] //not always used
#define RETURNTO_FROM_UCONTEXT(context) (context)->uc_mcontext.gp_regs[34]
#elif defined(CPU_IS_ARM)
-/*
+
#define PC_FROM_UCONTEXT(context) (context)->uc_mcontext.arm_pc
#define STACK_FROM_UCONTEXT(context) (context)->uc_mcontext.arm_sp
#define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.arm_fp
#define RETURNTO_FROM_UCONTEXT(context) (context)->uc_mcontext.arm_lr
-*/
-#define PC_FROM_UCONTEXT(context) (context)->uc_mcontext.__gregs[_REG_R15]
-#define STACK_FROM_UCONTEXT(context) (context)->uc_mcontext.__gregs[_REG_R13]
-#define FRAME_FROM_UCONTEXT(context) (context)->uc_mcontext.__gregs[_REG_R11]
-#define RETURNTO_FROM_UCONTEXT(context) (context)->uc_mcontext.__gregs[_REG_R14]
+
#elif defined(CPU_IS_IA64)
#define PC_FROM_UCONTEXT(context) (context)->_u._mc.sc_ip
#define STACK_FROM_UCONTEXT(context) (context)->_u._mc.sc_gr[12] //is that register 12?
--
2.17.1