[arch-commits] Commit in texstudio/repos/community-x86_64 (6 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Mon Nov 1 01:17:45 UTC 2021
Date: Monday, November 1, 2021 @ 01:17:45
Author: svenstaro
Revision: 1035138
archrelease: copy trunk to community-x86_64
Added:
texstudio/repos/community-x86_64/PKGBUILD
(from rev 1035137, texstudio/trunk/PKGBUILD)
texstudio/repos/community-x86_64/fs54269.patch
(from rev 1035137, texstudio/trunk/fs54269.patch)
texstudio/repos/community-x86_64/fs72345.patch
(from rev 1035137, 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-01 01:17:28 UTC (rev 1035137)
+++ PKGBUILD 2021-11-01 01:17:45 UTC (rev 1035138)
@@ -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.2
-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=('a2579788cac0ddf1edc7be2040ea13bc7aece5596a91cd8361a4de8c7fafaa86c95ef34e40f4a0bdf3b5cfc52c951af737138ccd26dbf8ac730ec64f8a38cfd7'
- '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 1035137, texstudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-01 01:17:45 UTC (rev 1035138)
@@ -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.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
+}
Deleted: fs54269.patch
===================================================================
--- fs54269.patch 2021-11-01 01:17:28 UTC (rev 1035137)
+++ fs54269.patch 2021-11-01 01:17:45 UTC (rev 1035138)
@@ -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 1035137, texstudio/trunk/fs54269.patch)
===================================================================
--- fs54269.patch (rev 0)
+++ fs54269.patch 2021-11-01 01:17:45 UTC (rev 1035138)
@@ -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-01 01:17:28 UTC (rev 1035137)
+++ fs72345.patch 2021-11-01 01:17:45 UTC (rev 1035138)
@@ -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 1035137, texstudio/trunk/fs72345.patch)
===================================================================
--- fs72345.patch (rev 0)
+++ fs72345.patch 2021-11-01 01:17:45 UTC (rev 1035138)
@@ -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