Package Details: texstudio-git 4.6.0alpha1.r20.g7fee3f4b7-1

Git Clone URL: https://aur.archlinux.org/texstudio-git.git (read-only, click to copy)
Package Base: texstudio-git
Description: Integrated writing environment for creating LaTeX documents
Upstream URL: https://github.com/texstudio-org/texstudio
Licenses: GPL
Conflicts: texstudio
Replaces: texmakerx
Submitter: coldBug
Maintainer: coldBug
Last Packager: coldBug
Votes: 6
Popularity: 0.000168
First Submitted: 2020-06-18 15:58 (UTC)
Last Updated: 2023-06-01 13:03 (UTC)

Latest Comments

otula commented on 2023-05-28 08:50 (UTC)

The two patches are from the standard distribution:

pkgname=texstudio-git
pkgver=4.6.0alpha1.r9.g0d4732275
pkgrel=1
pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('x86_64')
url="https://github.com/texstudio-org/texstudio"
license=('GPL')
depends=('poppler-qt6' 'qt6-svg' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip-qt6'        'desktop-file-utils' 'qt6-declarative' 'qt6-5compat')
makedepends=('git' 'qt6-tools' 'imagemagick' 'librsvg')
optdepends=('evince: pdf reader'
            'okular: alternate pdf reader')
replaces=('texmakerx')
conflicts=('texstudio')
source=("git+https://github.com/texstudio-org/texstudio.git"
        fs54269.patch
        fs72345.patch)
sha512sums=('SKIP'
            '247e85f668b06c8a2def4e7456f0ddc8d35c7990484c1c037f7cf43fdee91419b5df66e968ef1e0c637fe685722bbad9171bdd79fad7a10912ae329aff088b68'
            '6975eebd43b32fb7aa04f973562e66f6a83df0fb6a0b4d8221e124c9cc6959df11ec517e4c862921619c8b1c55800257017e26001c03186b84c567fc19c98726')

pkgver() {
    cd texstudio
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


prepare() {
    cd texstudio/src
    patch -Np1 -i "${srcdir}"/fs54269.patch
    patch -Np1 -i "${srcdir}"/fs72345.patch
}


build() {
    cmake -B build -S texstudio \
        -GNinja \
        -DCMAKE_BUILD_TYPE=None \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -Wno-dev

    ninja -C build
}


package() {
    DESTDIR="${pkgdir}" ninja -C build 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
}

otula commented on 2022-02-17 13:00 (UTC)

Hello, correct the path in the PKGBUILD (in the build section):

QUAZIP_INCLUDE="/usr/include/QuaZip-Qt5-1.2/quazip"

OR you can use a Qt6:

qmake6 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 QUAZIP_LIB=-lquazip1-qt6 QUAZIP_INCLUDE="/usr/include/QuaZip-Qt6-1.2/quazip" texstudio.pro

Daedalus24 commented on 2021-11-15 10:27 (UTC)

Hello,

I am encounting an error while trying to update the package, that was also signalled in Oct. 2020

src/spellerutility.cpp:14:10: fatal error: JlCompress.h: No such file or directory 14 | #include "JlCompress.h" | ^~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:9055: .obj/spellerutility.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'texstudio-git-3.0.1.r45.g9b0ac947-1':

ThisIsMyName commented on 2021-06-12 23:45 (UTC) (edited on 2021-06-12 23:48 (UTC) by ThisIsMyName)

Fatal error during installation. Is this expected?

Ran trizen -S texstudio-git --noconfirm which errored at the makepkg step.


==> Starting build()...
Info: creating stash file /tmp/trizen-anthony/texstudio-git/src/texstudio/.qmake.stash
Project MESSAGE: Building with Qt 5.15.2
Project MESSAGE: System hunspell
Project MESSAGE: System quazip5
Project MESSAGE: Creating release version
Project MESSAGE: tests are disabled
Project MESSAGE: GIT
Project ERROR: Unknown module(s) in QT: qml

otula commented on 2020-10-14 10:57 (UTC)

@coldBug: Thanks a lot!

coldBug commented on 2020-10-14 09:10 (UTC)

Should work again, now!

otula commented on 2020-10-11 13:34 (UTC)

Compilation fatal error

src/spellerutility.cpp:14:10: fatal error: JlCompress.h: Directory or file doesn't exist
   14 | #include "JlCompress.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:6251: .obj/spellerutility.o] Chyba 1
==> ERROR: Došlo k chybě v build().
    Rušení...