Package Details: klatexformula 4.1.0-1

Git Clone URL: https://aur.archlinux.org/klatexformula.git (read-only, click to copy)
Package Base: klatexformula
Description: Provides GUI for generating images from LaTeX equations
Upstream URL: https://klatexformula.sourceforge.io/
Licenses: GPL2
Submitter: allencch
Maintainer: allencch
Last Packager: City-busz
Votes: 8
Popularity: 0.088082
First Submitted: 2015-11-05 01:43 (UTC)
Last Updated: 2020-07-09 21:40 (UTC)

Latest Comments

sandsmark commented on 2020-03-30 10:57 (UTC)

https://bugreports.qt.io/browse/QTBUG-81671

A regression in 5.14, should be fixed in 5.14.2.

tomcho commented on 2020-03-27 12:53 (UTC)

I'm getting the same error as @kirk:

WARNING: Failed write to Tooltip temp image to temporary file `/tmp/klf_tooltip_XXXXXX.png'

I've already installed it manually and via yay but have no idea what's going on.

allencch commented on 2020-01-16 02:16 (UTC)

@kirk

Just do makepkg -i is sufficient. The patch is applied as written in PKGBUILD .

kirk commented on 2020-01-15 15:56 (UTC)

@allencch Did you have to apply the patch? (klfbackend.patch) Or just installing normally from source?

Then, this would imply that this aur package has a problem? (Since I suppose you didn't install using yay/yaourt or something equivalent)

allencch commented on 2020-01-15 01:37 (UTC)

@kirk

Tested with clean installation from the source. Cannot re-produce the issues you mentioned.

kirk commented on 2020-01-14 20:35 (UTC) (edited on 2020-01-14 20:45 (UTC) by kirk)

First of all, the package throws an error, not working properly. Second of all, it requires use password for installation which is uncommon for aur packages.

Third of all, it keeps throwing as segfault

LatexFormula Version 4.0.0 by Philippe Faist (c) 2005-2017 Licensed under the terms of the GNU General Public License (GPLv2+)

Warning: libpng warning: iCCP: known incorrect sRGB profile Warning: libpng warning: iCCP: known incorrect sRGB profile Warning: libpng warning: iCCP: known incorrect sRGB profile Warning: libpng warning: iCCP: known incorrect sRGB profile libpng error: profile 'Artifex Software sRGB ICC Profile': D0FC018Ch: length does not match profile Warning: * In function KLFBackend::getLatexFormula() 14/01/2020 20:25 Can't save "final" PNG data. libpng error: profile 'Artifex Software sRGB ICC Profile': D0FC018Ch: length does not match profile libpng error: profile 'Artifex Software sRGB ICC Profile': D0FC018Ch: length does not match profile libpng error: profile 'Artifex Software sRGB ICC Profile': 8006008Ch: length does not match profile Warning: In function KLFBackend::getLatexFormula() 14/01/2020 20:25 *** Can't save "final" PNG data. libpng error: profile 'Artifex Software sRGB ICC Profile': 8006008Ch: length does not match profile libpng error: profile 'Artifex Software sRGB ICC Profile': 8006008Ch: length does not match profile Warning: WARNING: Failed write to Tooltip temp image to temporary file `/tmp/klf_tooltip_XXXXXX.png' !

Segmentation Fault :-( Segmentation Fault :-( Segmentation fault (core dumped)

The segfault is thrown in the following method fileTemplete in class QTemporaryFile

x00007ffff6a00920 in QTemporaryFile::fileTemplate() const () from /usr/lib/libQt5Core.so.

springzfx commented on 2019-11-29 04:39 (UTC)

KLatexFormula is a non-KDE application. The K in the name "KLatexFormula" is there for historical reasons. Since version 3.0, KLatexFormula is not a KDE-specific application; it is based on Qt (Qt 5 since version 4.0) and runs natively on Linux, Windows, and Mac OS X.

So kdebase-runtime should also be removed. No need for kde runtime. Thanks.

From: https://klatexformula.sourceforge.io/about

allencch commented on 2019-11-29 03:23 (UTC)

@springzfx , thanks for the suggestion. Updated.

springzfx commented on 2019-11-29 03:08 (UTC)

automoc4 should be removed and kdebase-runtime should be optional

Schwenly commented on 2018-12-30 06:57 (UTC)

I like this program so much. But I do not know why I cannot drag or paste SVG to libreoffice impress. Also when I try to drag or paste PDF or EPS to impress, the picture looks bitmap but not vector format.

Besides, I notice that indeed automoc4 and kdebase-runtime are not necessary (I am using Manjaro with kernel 4.14 and KDE). I also tried compiling with these two packages, but it does not solve the above problem.

allencch commented on 2018-09-09 05:11 (UTC)

@neel.basu

Thanks for the great help. I have update the PKGBUILD to make the compilation work.

neel.basu commented on 2018-09-08 21:00 (UTC) (edited on 2018-09-08 21:01 (UTC) by neel.basu)

before it starts Building locate the file klatexformula/src/klatexformula-4.0.0/src/klftools/klfadvancedconfigeditor.cpp and add #include <QAction>

As I am using yay it is located on $HOME/.cache/yay/klatexformula/src/klatexformula-4.0.0/src/klftools/klfadvancedconfigeditor.cpp

If you are using yaourt the path will be different.

allencch commented on 2018-09-05 08:27 (UTC)

@mazetas, I cannot compile either. May be need to use older version GCC.

mazetas commented on 2018-09-05 08:19 (UTC)

/usr/include/qt/QtCore/qobject.h:308:13: error: no type named ‘Object’ in ‘struct QtPrivate::FunctionPointer<const char*="">’ make[2]: [src/klftools/CMakeFiles/klftools.dir/build.make:503: src/klftools/CMakeFiles/klftools.dir/klfadvancedconfigeditor.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:615: src/klftools/CMakeFiles/klftools.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... Error making: klatexformula</const>

I am on Manjaro KDE 17.1.12 / 4.18.5-1

allencch commented on 2018-02-02 03:05 (UTC)

@dfk, qt5-svg dependency added.

dfk commented on 2018-02-01 16:26 (UTC)

Also needs qt5-svg to build for me.

allencch commented on 2017-04-27 06:17 (UTC)

@LukeLR, added qt5-tools as dependencies. It should fix the build.

user20159 commented on 2017-04-26 16:40 (UTC)

This package unfortunately does not work as-is, I had to install qt5-tools in order for compilation to work. Otherwise I'd get the following error: CMake Error at src/klftools/CMakeLists.txt:158 (find_package): By not providing "FindQt5Designer.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Designer", but CMake did not find one. Could not find a package configuration file provided by "Qt5Designer" with any of the following names: Qt5DesignerConfig.cmake qt5designer-config.cmake Add the installation prefix of "Qt5Designer" to CMAKE_PREFIX_PATH or set "Qt5Designer_DIR" to a directory containing one of the above files. If "Qt5Designer" provides a separate development package or SDK, be sure it has been installed. I think, this should be fixed somehow (if necessary, add qt5-tools to dependencies?)

FSMaxB commented on 2017-03-17 17:34 (UTC) (edited on 2017-03-17 17:35 (UTC) by FSMaxB)

This should install to /usr, not /usr/local, you can achieve this by passing -DCMAKE_INSTALL_PREFIX=/usr to cmake. According to the Arch Packaging Standards, packages should never be installed to /usr/local https://wiki.archlinux.org/index.php/Packaging_guidelines#Package_etiquette