[arch-commits] Commit in texstudio/repos/community-x86_64 (6 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Fri Jan 28 14:27:02 UTC 2022
Date: Friday, January 28, 2022 @ 14:27:02
Author: svenstaro
Revision: 1118316
archrelease: copy trunk to community-x86_64
Added:
texstudio/repos/community-x86_64/PKGBUILD
(from rev 1118315, texstudio/trunk/PKGBUILD)
texstudio/repos/community-x86_64/fs54269.patch
(from rev 1118315, texstudio/trunk/fs54269.patch)
texstudio/repos/community-x86_64/fs72345.patch
(from rev 1118315, 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 2022-01-28 14:26:48 UTC (rev 1118315)
+++ PKGBUILD 2022-01-28 14:27:02 UTC (rev 1118316)
@@ -1,45 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
-# Contributor: Clément DEMOULINS <clement at archivel.fr>
-pkgname=texstudio
-pkgver=4.2.0
-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=('aff5ae645a3b3c362e0456270576770c5b39212902a37633b7279476cf6278ee292ef93c4a0c917b1d4d513aaf597d634f4cf7a469fd4e918f35ddbbe5cb1700'
- '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.2/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 1118315, texstudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-28 14:27:02 UTC (rev 1118316)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+pkgname=texstudio
+pkgver=4.2.1
+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=('2a3e435b7ac0ae2ce317b0de31f525c02bea39917b4ec5740f293109e09325008dfc174da41412c491376226f4cf458bd91e2d92f8b15cf4f3e41d82bc205bb4'
+ '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.2/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 2022-01-28 14:26:48 UTC (rev 1118315)
+++ fs54269.patch 2022-01-28 14:27:02 UTC (rev 1118316)
@@ -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 1118315, texstudio/trunk/fs54269.patch)
===================================================================
--- fs54269.patch (rev 0)
+++ fs54269.patch 2022-01-28 14:27:02 UTC (rev 1118316)
@@ -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 2022-01-28 14:26:48 UTC (rev 1118315)
+++ fs72345.patch 2022-01-28 14:27:02 UTC (rev 1118316)
@@ -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 1118315, texstudio/trunk/fs72345.patch)
===================================================================
--- fs72345.patch (rev 0)
+++ fs72345.patch 2022-01-28 14:27:02 UTC (rev 1118316)
@@ -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