[arch-commits] Commit in texstudio/repos (4 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 6 07:06:56 UTC 2020


    Date: Tuesday, October 6, 2020 @ 07:06:56
  Author: arojas
Revision: 719235

archrelease: copy trunk to community-staging-x86_64

Added:
  texstudio/repos/community-staging-x86_64/
  texstudio/repos/community-staging-x86_64/PKGBUILD
    (from rev 719234, texstudio/trunk/PKGBUILD)
  texstudio/repos/community-staging-x86_64/fs54269.patch
    (from rev 719234, texstudio/trunk/fs54269.patch)
  texstudio/repos/community-staging-x86_64/fs56433.patch
    (from rev 719234, texstudio/trunk/fs56433.patch)

---------------+
 PKGBUILD      |   45 +++++++++++++++++++++++++++++++++++++++++++++
 fs54269.patch |   11 +++++++++++
 fs56433.patch |   12 ++++++++++++
 3 files changed, 68 insertions(+)

Copied: texstudio/repos/community-staging-x86_64/PKGBUILD (from rev 719234, texstudio/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-10-06 07:06:56 UTC (rev 719235)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=3.0.1
+pkgrel=2
+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=("$pkgname-$pkgver.tar.gz::https://github.com/texstudio-org/texstudio/archive/${pkgver}.tar.gz"
+        fs54269.patch
+        fs56433.patch)
+sha512sums=('aba57d9f45af259131d3ab47463a30bec24d8fa5b30a9c574308b8a7d6c1117acb1553df20ebe5855281510f82c4d55700a0db0dffeee1b69f2afec234e18b93'
+            '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
+            '1b7e67e42c9d95f4c89aa8e8f7406df7ad94124415c34ad526d5095c9ad76368357ea3d0df83b356b3bdb86949544d3fcc15845bc2106883800985d36b56d23c')
+
+prepare() {
+    cd texstudio-${pkgver}/src
+    patch -Np1 < "${srcdir}"/fs54269.patch
+    patch -Np1 < "${srcdir}"/fs56433.patch
+}
+
+build() {
+    cd texstudio-${pkgver}
+    qmake-qt5 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 QUAZIP_LIB=-lquazip1-qt5 \
+        QUAZIP_INCLUDE="/usr/include/QuaZip-Qt5-1.0/quazip" 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
+}

Copied: texstudio/repos/community-staging-x86_64/fs54269.patch (from rev 719234, texstudio/trunk/fs54269.patch)
===================================================================
--- community-staging-x86_64/fs54269.patch	                        (rev 0)
+++ community-staging-x86_64/fs54269.patch	2020-10-06 07:06:56 UTC (rev 719235)
@@ -0,0 +1,11 @@
+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)

Copied: texstudio/repos/community-staging-x86_64/fs56433.patch (from rev 719234, texstudio/trunk/fs56433.patch)
===================================================================
--- community-staging-x86_64/fs56433.patch	                        (rev 0)
+++ community-staging-x86_64/fs56433.patch	2020-10-06 07:06:56 UTC (rev 719235)
@@ -0,0 +1,12 @@
+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);



More information about the arch-commits mailing list