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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Dec 1 20:11:46 UTC 2017


    Date: Friday, December 1, 2017 @ 20:11:44
  Author: svenstaro
Revision: 271228

archrelease: copy trunk to community-x86_64

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

---------------+
 PKGBUILD      |   88 ++++++++++++++++++++++++++++----------------------------
 fs54269.patch |   22 +++++++-------
 fs56433.patch |   36 +++++++++++++++-------
 3 files changed, 79 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-01 20:11:24 UTC (rev 271227)
+++ PKGBUILD	2017-12-01 20:11:44 UTC (rev 271228)
@@ -1,44 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Clément DEMOULINS <clement at archivel.fr>
-pkgname=texstudio
-pkgver=2.12.6
-pkgrel=4
-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')
-makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
-optdepends=('evince: pdf reader'
-            'okular: alternate pdf reader')
-replaces=('texmakerx')
-source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}"
-        fs54269.patch
-        fs56433.patch)
-sha512sums=('SKIP'
-            '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
-            '3c5df094564c0d4a2ad09ea408eb129f723bded6c274f5ceb695f0672cbcbf2dab57edf86232e4bf302bec9c0f049ca0a11845b4bf9dfb37023494ed279ff9a9')
-
-prepare() {
-    cd hg
-    patch -Np1 < "${srcdir}"/fs54269.patch
-    patch -Np1 < "${srcdir}"/fs56433.patch
-}
-
-build() {
-    cd hg
-    qmake-qt5 CONFIG-="debug" texstudio.pro
-    make
-}
-
-package() {
-    cd hg
-    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 -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 271227, texstudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-01 20:11:44 UTC (rev 271228)
@@ -0,0 +1,44 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=2.12.6
+pkgrel=5
+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')
+makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
+optdepends=('evince: pdf reader'
+            'okular: alternate pdf reader')
+replaces=('texmakerx')
+source=("hg+http://hg.code.sf.net/p/texstudio/hg#tag=${pkgver}"
+        fs54269.patch
+        fs56433.patch)
+sha512sums=('SKIP'
+            '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
+            'a098c45440077db6c137bbeeb76d266242b80d51c3721aed30987d22b3e381b2a490b685aff4897d203a17256c64a9254360e3ac6f962675ea4b9a575a29a808')
+
+prepare() {
+    cd hg
+    patch -Np1 < "${srcdir}"/fs54269.patch
+    patch -Np1 < "${srcdir}"/fs56433.patch
+}
+
+build() {
+    cd hg
+    qmake-qt5 CONFIG-="debug" texstudio.pro
+    make
+}
+
+package() {
+    cd hg
+    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 -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	2017-12-01 20:11:24 UTC (rev 271227)
+++ fs54269.patch	2017-12-01 20:11:44 UTC (rev 271228)
@@ -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 271227, texstudio/trunk/fs54269.patch)
===================================================================
--- fs54269.patch	                        (rev 0)
+++ fs54269.patch	2017-12-01 20:11:44 UTC (rev 271228)
@@ -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: fs56433.patch
===================================================================
--- fs56433.patch	2017-12-01 20:11:24 UTC (rev 271227)
+++ fs56433.patch	2017-12-01 20:11:44 UTC (rev 271228)
@@ -1,12 +0,0 @@
-diff -r 184eb474c083 grammarcheck.cpp
---- a/grammarcheck.cpp	Sun Nov 26 21:13:19 2017 +0100
-+++ b/grammarcheck.cpp	Fri Dec 01 15:23:55 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()));

Copied: texstudio/repos/community-x86_64/fs56433.patch (from rev 271227, texstudio/trunk/fs56433.patch)
===================================================================
--- fs56433.patch	                        (rev 0)
+++ fs56433.patch	2017-12-01 20:11:44 UTC (rev 271228)
@@ -0,0 +1,24 @@
+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()));



More information about the arch-commits mailing list