Commit Graph

13 Commits

Author SHA1 Message Date
Fabrice Fontaine
88007f9acc package/cutelyst: fix linking with -latomic
Build is broken since commit 7333207eaf
because upstream overrides CMAKE_EXE_LINKER_FLAGS when building with
jemalloc:
7d73eba273

Fixes:
 - http://autobuild.buildroot.org/results/ba9bccaae2cad487a66b6eb9851fc206c32d7c82

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-18 14:07:34 +02:00
Gleb Mazovetskiy
7333207eaf Fix -latomic for CMake packages
The poppler package failed to build for me with errors such as this one:

    host/aarch64-buildroot-linux-gnu/include/c++/10.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
       75 | #include_next <stdlib.h>
          |               ^~~~~~~~~~

Changing the CMake option to a link-specific one fixes the issue.

Also change other packages with the same issue: cutelyst, gerbera,
kf5-modemmanager-qt, kodi and wampcc.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-05-01 15:00:18 +02:00
Sergio Prado
12fa98b34f package/cutelyst: bump version to 2.11.0
Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-11 15:27:51 +02:00
Peter Korsgaard
ce0eaca1ea package/cutelyst: drop QT5_VERSION_LATEST logic
Now that the version selection has been removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-02-27 23:55:21 +01:00
Fabrice Fontaine
8285550610 package/cutelyst: bump to version 2.9.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-10 22:53:24 +02:00
Fabrice Fontaine
d059acad12 package/cutelyst: bump to version 2.7.0
Commit c110e48cec disabled openssl support
on QT 5.6, this has the side-effect of breaking the build of cutelyst
because cutelyst does not manage build with QT_NO_SSL, see:
https://github.com/cutelyst/cutelyst/issues/159

This bump fixes the issue by bumping cutelyst to version 2.7.0 and by
removing the uneeded select on BR2_PACKAGE_OPENSSL

Fixes:
 - http://autobuild.buildroot.org/results/4299221429713ace25fc234abeb81697bc410647

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-03-04 21:35:03 +01:00
Peter Korsgaard
07613c8890 cutelyst: fix kconfig syntax
Commit cb3c56e35 (cutelyst: Add dependency on Kernel headers >= 3.3) used
invalid kconfig syntax, breaking menuconfig:

make menuconfig
package/cutelyst/Config.in:19: syntax error
package/cutelyst/Config.in:18: invalid option
Makefile:900: recipe for target 'menuconfig' failed

Fix it by using 'depends ON' instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-09-06 22:03:33 +02:00
Daniel Nicoletti
cb3c56e355 cutelyst: Add dependency on Kernel headers >= 3.3
Cutelyst-WSGI module uses SO_REUSEPORT

Fixes:

http://autobuild.buildroot.net/results/d38411eda9edf16e2c40d8931bcfc889faae43dc/

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-09-06 21:17:09 +02:00
Fabrice Fontaine
37e8a054f2 cutelyst: link with libatomic when needed
On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often for example the case on sparcv8 32 bit.

This atomic dependency is due to Qt >= 5.8, pkconfig can't be used as
Qt5 pc files does not mention this dependency

Fixes:
 - http://autobuild.buildroot.net/results/9e307ab9c7067b26d7b33a572204394808e25772

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-08-28 23:08:49 +02:00
Fabrice Fontaine
68fe6d7d00 cutelyst: depends on C++11
thread-local storage is a C++11 feature available since gcc 4.8:
https://gcc.gnu.org/projects/cxx-status.html#cxx11

Fixes:
 - http://autobuild.buildroot.net/results/2963bd55cd7c33ded3e5a75fc86079acfae844c1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-08-28 00:01:00 +02:00
Daniel Nicoletti
1eef94f12b package/cutelyst: bump version to fix build issues
Fixes:

  http://autobuild.buildroot.net/results/fd78e54eca9e95ae5c7a27e6afa1891a0bf65994/

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-08-05 14:12:46 +02:00
Daniel Nicoletti
36514a415d package/cutelyst: fix build dependencies
This commit adds missing optional dependencies on libpwquality and
jemalloc.

The optional dependency on grantlee is removed, because it fails to
build, so we explicitly disable grantlee support.

  http://autobuild.buildroot.net/results/ecbe25728a81f13e35a4315b64aacb8e592f5867/ (jemalloc)
  http://autobuild.buildroot.net/results/84c29fc0d6212f33ff1efdf8495cbb84e4eeed65/ (grantlee)

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: explicitly disable grantlee support.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-08-01 14:17:11 +02:00
Daniel Nicoletti
d5eed34f44 cutelyst: new package
A C++ Web Framework built on top of Qt, using
the simple approach of Catalyst (Perl) framework.

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: add entry in DEVELOPERS file, move cmake-package invocation
to the end of .mk file, select BR2_PACKAGE_OPENSSL.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-18 12:55:41 +02:00