[arch-commits] Commit in texstudio/repos/community-x86_64 (6 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Mon Nov 8 02:54:23 UTC 2021


    Date: Monday, November 8, 2021 @ 02:54:23
  Author: svenstaro
Revision: 1038769

archrelease: copy trunk to community-x86_64

Added:
  texstudio/repos/community-x86_64/PKGBUILD
    (from rev 1038768, texstudio/trunk/PKGBUILD)
  texstudio/repos/community-x86_64/fs54269.patch
    (from rev 1038768, texstudio/trunk/fs54269.patch)
  texstudio/repos/community-x86_64/fs72345.patch
    (from rev 1038768, texstudio/trunk/fs72345.patch)
Deleted:
  texstudio/repos/community-x86_64/PKGBUILD
  texstudio/repos/community-x86_64/fs54269.patch
  texstudio/repos/community-x86_64/fs72345.patch

---------------+
 PKGBUILD      |   90 ++++++++++++++++++++++++++++----------------------------
 fs54269.patch |   22 ++++++-------
 fs72345.patch |   50 +++++++++++++++----------------
 3 files changed, 81 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-08 02:54:06 UTC (rev 1038768)
+++ PKGBUILD	2021-11-08 02:54:23 UTC (rev 1038769)
@@ -1,45 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Clément DEMOULINS <clement at archivel.fr>
-pkgname=texstudio
-pkgver=4.0.3
-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' 'qt5-declarative')
-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
-        fs72345.patch)
-sha512sums=('e0be8e928028d2ac399e347f3dd09eb8904617f573208daf155dc941f8bc7d158dc0921a9b26a63d47a7052c7e805760ca2938c65ea658689d140dd101511f57'
-            '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
-            '6975eebd43b32fb7aa04f973562e66f6a83df0fb6a0b4d8221e124c9cc6959df11ec517e4c862921619c8b1c55800257017e26001c03186b84c567fc19c98726')
-
-prepare() {
-    cd texstudio-${pkgver}/src
-    patch -Np1 -i "${srcdir}"/fs54269.patch
-    patch -Np1 -i "${srcdir}"/fs72345.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.1/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-x86_64/PKGBUILD (from rev 1038768, texstudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-08 02:54:23 UTC (rev 1038769)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=4.0.4
+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' 'qt5-declarative')
+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
+        fs72345.patch)
+sha512sums=('1b31e05058a3ec4f82745dbd74f130ab8a40bca3740a845c0a3f06dc97467b25e08330cffb16e914ad9c7a2b97a744d8c63e552287b469a07bbe995dcd75eb82'
+            '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
+            '6975eebd43b32fb7aa04f973562e66f6a83df0fb6a0b4d8221e124c9cc6959df11ec517e4c862921619c8b1c55800257017e26001c03186b84c567fc19c98726')
+
+prepare() {
+    cd texstudio-${pkgver}/src
+    patch -Np1 -i "${srcdir}"/fs54269.patch
+    patch -Np1 -i "${srcdir}"/fs72345.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.1/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
+}

Deleted: fs54269.patch
===================================================================
--- fs54269.patch	2021-11-08 02:54:06 UTC (rev 1038768)
+++ fs54269.patch	2021-11-08 02:54:23 UTC (rev 1038769)
@@ -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)

Copied: texstudio/repos/community-x86_64/fs54269.patch (from rev 1038768, texstudio/trunk/fs54269.patch)
===================================================================
--- fs54269.patch	                        (rev 0)
+++ fs54269.patch	2021-11-08 02:54:23 UTC (rev 1038769)
@@ -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)

Deleted: fs72345.patch
===================================================================
--- fs72345.patch	2021-11-08 02:54:06 UTC (rev 1038768)
+++ fs72345.patch	2021-11-08 02:54:23 UTC (rev 1038769)
@@ -1,25 +0,0 @@
---- a/configmanager.cpp
-+++ b/configmanager.cpp
-@@ -631,7 +631,7 @@ ConfigManager::ConfigManager(QObject *pa
- #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);
---- a/grammarcheck.cpp
-+++ b/grammarcheck.cpp
-@@ -639,11 +639,6 @@ void GrammarCheckLanguageToolJSON::tryTo
-     startTime = 0;
-     if (ltPath == "")
-         return;
--    if(!QFileInfo::exists(ltPath)){
--        errorText=QString("LT path \" %1 \" not found !").arg(ltPath);
--        emit errorMessage(errorText);
--        return;
--    }
-     javaProcess = new QProcess();
-     connect(javaProcess, SIGNAL(finished(int,QProcess::ExitStatus)), javaProcess, SLOT(deleteLater()));
-     connect(this, SIGNAL(destroyed()), javaProcess, SLOT(deleteLater()));

Copied: texstudio/repos/community-x86_64/fs72345.patch (from rev 1038768, texstudio/trunk/fs72345.patch)
===================================================================
--- fs72345.patch	                        (rev 0)
+++ fs72345.patch	2021-11-08 02:54:23 UTC (rev 1038769)
@@ -0,0 +1,25 @@
+--- a/configmanager.cpp
++++ b/configmanager.cpp
+@@ -631,7 +631,7 @@ ConfigManager::ConfigManager(QObject *pa
+ #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);
+--- a/grammarcheck.cpp
++++ b/grammarcheck.cpp
+@@ -639,11 +639,6 @@ void GrammarCheckLanguageToolJSON::tryTo
+     startTime = 0;
+     if (ltPath == "")
+         return;
+-    if(!QFileInfo::exists(ltPath)){
+-        errorText=QString("LT path \" %1 \" not found !").arg(ltPath);
+-        emit errorMessage(errorText);
+-        return;
+-    }
+     javaProcess = new QProcess();
+     connect(javaProcess, SIGNAL(finished(int,QProcess::ExitStatus)), javaProcess, SLOT(deleteLater()));
+     connect(this, SIGNAL(destroyed()), javaProcess, SLOT(deleteLater()));



More information about the arch-commits mailing list