Package Details: klatexformula 4.0.0-5

Git Clone URL: https://aur.archlinux.org/klatexformula.git (read-only)
Package Base: klatexformula
Description: Provides GUI for generating images from LaTeX equations
Upstream URL: http://klatexformula.sourceforge.net
Licenses: GPL2
Submitter: allencch
Maintainer: allencch
Last Packager: allencch
Votes: 3
Popularity: 0.000023
First Submitted: 2015-11-05 01:43
Last Updated: 2018-09-09 05:10

Latest Comments

allencch commented on 2018-09-09 05:11

@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

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

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

mazetas commented on 2018-09-05 08:19

/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

@dfk, qt5-svg dependency added.

dfk commented on 2018-02-01 16:26

Also needs qt5-svg to build for me.

allencch commented on 2017-04-27 06:17

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

LukeLR commented on 2017-04-26 16:40

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

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