Date: Wednesday, October 4, 2017 @ 23:13:56 Author: foutrelis Revision: 261593
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: texstudio/repos/community-staging-i686/ texstudio/repos/community-staging-i686/PKGBUILD (from rev 261592, texstudio/trunk/PKGBUILD) texstudio/repos/community-staging-i686/fs54269.patch (from rev 261592, texstudio/trunk/fs54269.patch) texstudio/repos/community-staging-x86_64/ texstudio/repos/community-staging-x86_64/PKGBUILD (from rev 261592, texstudio/trunk/PKGBUILD) texstudio/repos/community-staging-x86_64/fs54269.patch (from rev 261592, texstudio/trunk/fs54269.patch) ----------------------------------------+ community-staging-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++ community-staging-i686/fs54269.patch | 11 ++++++++ community-staging-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++ community-staging-x86_64/fs54269.patch | 11 ++++++++ 4 files changed, 104 insertions(+) Copied: texstudio/repos/community-staging-i686/PKGBUILD (from rev 261592, texstudio/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-10-04 23:13:56 UTC (rev 261593) @@ -0,0 +1,41 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Clément DEMOULINS <clem...@archivel.fr> +pkgname=texstudio +pkgver=2.12.6 +pkgrel=3 +pkgdesc="Integrated writing environment for creating LaTeX documents" +arch=('i686' '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) +sha512sums=('SKIP' + '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68') + +prepare() { + cd hg + patch -Np1 < "${srcdir}"/fs54269.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-staging-i686/fs54269.patch (from rev 261592, texstudio/trunk/fs54269.patch) =================================================================== --- community-staging-i686/fs54269.patch (rev 0) +++ community-staging-i686/fs54269.patch 2017-10-04 23:13:56 UTC (rev 261593) @@ -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/PKGBUILD (from rev 261592, texstudio/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-10-04 23:13:56 UTC (rev 261593) @@ -0,0 +1,41 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Clément DEMOULINS <clem...@archivel.fr> +pkgname=texstudio +pkgver=2.12.6 +pkgrel=3 +pkgdesc="Integrated writing environment for creating LaTeX documents" +arch=('i686' '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) +sha512sums=('SKIP' + '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68') + +prepare() { + cd hg + patch -Np1 < "${srcdir}"/fs54269.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-staging-x86_64/fs54269.patch (from rev 261592, texstudio/trunk/fs54269.patch) =================================================================== --- community-staging-x86_64/fs54269.patch (rev 0) +++ community-staging-x86_64/fs54269.patch 2017-10-04 23:13:56 UTC (rev 261593) @@ -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)