Package Details: glaxnimate 0.5.4-6

Git Clone URL: https://aur.archlinux.org/glaxnimate.git (read-only, click to copy)
Package Base: glaxnimate
Description: Simple vector animation program
Upstream URL: https://glaxnimate.mattbas.org/
Licenses: GPL-3.0-or-later
Submitter: mattbas
Maintainer: mattbas (xiota)
Last Packager: xiota
Votes: 11
Popularity: 0.83
First Submitted: 2021-09-18 20:18 (UTC)
Last Updated: 2024-07-10 12:56 (UTC)

Latest Comments

1 2 3 Next › Last »

lu9dce commented on 2024-07-10 14:43 (UTC)

I confirm that with the changes to force qt6 I compile perfectly

lu9dce commented on 2024-07-10 14:32 (UTC)

perfect thanks for your effort

xiota commented on 2024-07-10 12:55 (UTC)

@lu9dce I see the problem now. Qt5 is past EOL, so I'm updating to force Qt6.

lu9dce commented on 2024-07-10 12:06 (UTC)

compiling using yay I use qt5 data that I found everything to compile on qt5

Glaxnimate: 0.5.4 Sistema: Arch Linux Kernel: linux 6.6.37-1-lts CPU: x86_64 Qt de la Aplicación: 5.15.14 Qt del Sistema: 5.15.14 Zlib: 1.3.1 Potrace: potracelib 1.16 Libav: Lavu59.8.100, Lavf61.1.100, Lavc61.3.100, SwS8.1.100 libarchive: 3.7.4

lu9dce commented on 2024-07-10 11:47 (UTC)

It is fine to compile with qt6 but as long as it does not find qt5 otherwise it will try to compile over qt5 As I explained in my comments, priority is given to qt5 over qt6 The recommendation is that it be compiled on qt5 What I'm telling you is nothing more than a suggestion or comment, you can easily compile it directly from git The problem occurs when you have qt6 and qt5 without all the dependencies then you will find qt5 but not the libraries to compile then you will need to create a patch removing the qt5 check on line 108 of cmakelist.txt

find_package(QT NAMES Qt5 Qt6 COMPONENTS Core QUIET)

and put it like this

find_package(QT NAMES Qt6 COMPONENTS Core QUIET)

this way it will only search for qt6

xiota commented on 2024-07-10 02:57 (UTC) (edited on 2024-07-10 02:59 (UTC) by xiota)

@lu9dce I have successful build in clean chroot from 2024-07-08 with Qt6. Please specify what errors. Use a pastebin if it requires more than a few lines. A full log may be helpful.

Note: The previous error you reported, related to FFMPEG, has already been addressed.

lu9dce commented on 2024-07-09 13:58 (UTC)

It is necessary to leave the qt5 dependencies since the cmake prioritizes qt5 over qt6 That is, if you don't find qt5, try qt6. on qt5 it compiles fine, on qt6 there are some errors

https://gitlab.com/mattbas/glaxnimate/-/blob/master/CMakeLists.txt?ref_type=heads

Qt major version that is prioritized is version 5, because of the line set(QT_VERSION_MAJOR 5). Here's the breakdown:

set(QT_VERSION_MAJOR 5): This line sets the QT_VERSION_MAJOR variable to 5. find_package(QT NAMES Qt5 Qt6 COMPONENTS Core QUIET): This line searches for both Qt5 and Qt6, but does not specify a priority. However, the next line will use the value of QT_VERSION_MAJOR to determine which one to find and use. find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Widgets Xml UiTools Concurrent Network Svg REQUIRED): This line uses the QT_VERSION_MAJOR variable set above (which is 5) to find and include the required Qt5 components.

Finally, the message message(STATUS "Using Qt ${QT_VERSION_MAJOR}") will confirm that Qt5 is being used, due to the value of QT_VERSION_MAJOR.

Therefore, this script prioritizes Qt version 5.

lu9dce commented on 2024-07-04 18:38 (UTC) (edited on 2024-07-04 18:39 (UTC) by lu9dce)

I'm having this error.

 53%] Building CXX object bin/core/CMakeFiles/glaxnimate_core.dir/utils/tar.cpp.o
/home/eduardo/tmp/glaxnimate/src/core/io/video/video_format.cpp: In constructor ‘glaxnimate::av::DeviceIo::DeviceIo(QIODevice*, int)’:
/home/eduardo/tmp/glaxnimate/src/core/io/video/video_format.cpp:632:13: error: invalid conversion from ‘int (*)(void*, uint8_t*, int)’ {aka ‘int (*)(void*, unsigned char*, int)’} to ‘int (*)(void*, const uint8_t*, int)’ {aka ‘int (*)(void*, const unsigned char*, int)’} [-fpermissive]
  632 |             &DeviceIo::write_packet,
      |             ^~~~~~~~~~~~~~~~~~~~~~~
      |             |
      |             int (*)(void*, uint8_t*, int) {aka int (*)(void*, unsigned char*, int)}
En el fichero incluido desde /usr/include/libavformat/avformat.h:319,
                 desde /home/eduardo/tmp/glaxnimate/src/core/io/video/video_format.cpp:16:
/usr/include/libavformat/avio.h:404:25: nota:   argumento de inicialización 6 de ‘AVIOContext* avio_alloc_context(unsigned char*, int, int, void*, int (*)(void*, uint8_t*, int), int (*)(void*, const uint8_t*, int), int64_t (*)(void*, int64_t, int))’
  404 |                   int (*write_packet)(void *opaque, const uint8_t *buf, int buf_size),
      |                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [bin/core/CMakeFiles/glaxnimate_core.dir/build.make:1469: bin/core/CMakeFiles/glaxnimate_core.dir/io/video/video_format.cpp.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[1]: *** [CMakeFiles/Makefile2:802: bin/core/CMakeFiles/glaxnimate_core.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

xiota commented on 2024-04-23 20:11 (UTC) (edited on 2024-07-10 02:58 (UTC) by xiota)

This package uses Qt6, and I have confirmed that it builds without qt5-tools installed. If you have problems, try building in a clean chroot, or provide more details about the specific issue you're having.

yukijoou commented on 2024-04-23 16:08 (UTC)

I had to install extra/qt5-tools for this to build correctly for me. Could this be added as a dependency?