CompilingPrograms > drawpile

Pages about drawpile and its uses

https://drawpile.net/

https://drawpile.net/download/#Source

https://docs.drawpile.net/help/development/buildingfromsource

https://github.com/drawpile/Drawpile


https://aur.archlinux.org/packages/drawpile


https://doc.ubuntu-fr.org/drawpile
https://community.linuxmint.com/software/view/drawpile

no package for debian o_O?!

drawpile in Mageia Cauldron currently as of 2025-05-16 it's drawpile 2.1.20. I opened a request #34298 to take into account drawpile 2.2.2 in Mageia Cauldron

Objectives to compile drawpile


What has been seen




around 1,2 GB to compile drawpile which takes ~10 min => 3 GB for compilation
DEBUT sam. 24 mai 2025 15:51:10 CEST
FIN à sam. 24 mai 2025 16:06:47 CEST
%build
%cmake_qt6 -DSERVER=ON            -DSERVERGUI=ON            -DINSTALL_DOC=ON            -DDISABLE_UPDATE_CHECK_DEFAULT=ON           -DCMAKE_INSTALL_MANDIR=%{_mandir}/man1
%cmake_build


updating a .spec for drawpile


dependances for Debian: apt install build-essential cmake git libqt6svg6 qt6-base-dev qt6-l10n-tools qt6-multimedia-dev qt6-tools-dev qt6-websockets-dev libxkbcommon-dev libzip-dev zipcmp zipmerge ziptool libmicrohttpd-dev libsodium-dev libsystemd-dev qtkeychain-qt6-dev libwebp-dev


[baud@localhost SRPMS]$ rpm -ivh drawpile-2.1.20-2.mga10.src.rpm
Mise à jour / installation...
1:drawpile-2.1.20-2.mga10 # [100%]

cd ../SPECS/

[baud@localhost SPECS]$ rpmbuild -ba drawpile.spec
erreur : Dépendances de construction manquantes :
cmake(ECM) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
cmake(KF5Archive) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
cmake(KF5DNSSD) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
cmake(Qt5Keychain) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
giflib-devel est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
pkgconfig(Qt5Concurrent) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
pkgconfig(Qt5Multimedia) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
pkgconfig(Qt5Svg) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
pkgconfig(libmicrohttpd) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
pkgconfig(libsodium) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64
pkgconfig(miniupnpc) est nécessaire pour drawpile-2.1.20-2.mga10.x86_64



cf. initial build below

updating build of 2.2.2 to qt6



urpmi lib64qt6keychain-devel lib64qt6svg-devel lib64qt6widgets-devel


rpmbuild -ba drawpile.spec
erreur : Dépendances de construction manquantes :
pkgconfig(Qt6Help) est nécessaire pour drawpile-2.2.2-2.mga10.x86_64
pkgconfig(Qt6Xml) est nécessaire pour drawpile-2.2.2-2.mga10.x86_64

urpmi lib64qt6help-devel
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
lib64qt6-database-plugin-mysql 6.8.3 4.mga10 x86_64
lib64qt6-database-plugin-odbc 6.8.3 4.mga10 x86_64
lib64qt6-database-plugin-pgsql 6.8.3 4.mga10 x86_64
lib64qt6help-devel 6.8.3 4.mga10 x86_64
lib64qt6sql-devel 6.8.3 4.mga10 x86_64
qttools6 6.8.3 4.mga10 x86_64
un espace additionnel de 7.2Mo sera utilisé.
2Mo de paquets seront récupérés.

urpmi lib64qt6xml-devel

rpmbuild -ba drawpile.spec
CMake Warning at cmake/Cargo.cmake:9 (message):
  Did not find cargo, Rust-dependent features unavailable

The following features have been disabled:

 * .ts regeneration (slow!) (UPDATE_TRANSLATIONS)
 * Drawpile server (SERVER)
 * Server GUI (SERVERGUI)
 * Command-line tools, requires Rust (TOOLS)
 * Unit tests (TESTS)
 * Benchmarks (BENCHMARKS)
 * Install documentation (INSTALL_DOC)
 * Strict aliasing (USE_STRICT_ALIASING)
 * Non-portable optimizations (ENABLE_ARCH_NATIVE)
 * Distribution build (DIST_BUILD)
 * Update checking disabled by default (DISABLE_UPDATE_CHECK_DEFAULT)
 * Use proxy style to fix dark theme contrasts - only needed if not patching Qt, breaks on some non-English Windows versions (PROXY_STYLE)
 * Unity build (CMAKE_UNITY_BUILD)
 * Interprocedural optimization (CMAKE_INTERPROCEDURAL_OPTIMIZATION)
 * Clang-Tidy (CLANG_TIDY)
 * AddressSanitizer (ADDRESS_SANITIZER)
 * LeakSanitizer (LEAK_SANITIZER)
 * MemorySanitizer (MEMORY_SANITIZER)
 * ThreadSanitizer (THREAD_SANITIZER)
 * UndefinedBehaviorSanitizer (UNDEFINED_SANITIZER)
 * Sign executables
 * WebSocket support
 * Image scaling via libav
 * Video export via libav
 * External QtColorWidgets


urpmi lib64qt6base6-devel # to update from qt5 to qt6


urpmi lib64kf6dnssd-devel # missing dependancy when changing to BuildRequires: cmake(KF6Archive) & BuildRequires: cmake(KF6DNSSD)

remaining work on 2.2.2-1 version on 2025-05-24

DEBUT sam. 24 mai 2025 15:51:10 CEST
FIN : sam. 24 mai 2025 16:06:47 CEST
%build
%cmake_qt6 -DSERVER=ON            -DSERVERGUI=ON            -DINSTALL_DOC=ON            -DDISABLE_UPDATE_CHECK_DEFAULT=ON           -DCMAKE_INSTALL_MANDIR=%{_mandir}/man1
%cmake_build


DEBUT sam. 24 mai 2025 17:05:57 CEST
FIN : sam. 24 mai 2025 17:31:00 CEST

* Drawpile client (CLIENT)
* TCP socket support
* Drawpile server (SERVER)
* Builtin server (BUILTINSERVER)
* Server GUI (SERVERGUI)
* Install documentation (INSTALL_DOC)
* Code generation (USE_GENERATORS)
* Update checking disabled by default (DISABLE_UPDATE_CHECK_DEFAULT)
* Use assets from source directory (SOURCE_ASSETS)
* Translations
* Ext-auth support
* Image library implementation (IMAGE_IMPL), QT
* File I/O implementation (FILE_IO_IMPL), QT
* ZIP implementation (ZIP_IMPL), KARCHIVE
* Image scaling via libav
* Video export via libav
* Client password manager
* Server web-admin support

-- The following features have been disabled:

* .ts regeneration (slow!) (UPDATE_TRANSLATIONS)
* Command-line tools, requires Rust (TOOLS) add?
* Unit tests (TESTS) add?
* Benchmarks (BENCHMARKS) add?
* Strict aliasing (USE_STRICT_ALIASING)
* Non-portable optimizations (ENABLE_ARCH_NATIVE)
* Distribution build (DIST_BUILD)
* Use proxy style to fix dark theme contrasts - only needed if not patching Qt, breaks on some non-English Windows versions (PROXY_STYLE)
* Unity build (CMAKE_UNITY_BUILD) use?
* Interprocedural optimization (CMAKE_INTERPROCEDURAL_OPTIMIZATION)
* Clang-Tidy (CLANG_TIDY)
* AddressSanitizer (ADDRESS_SANITIZER)
* LeakSanitizer (LEAK_SANITIZER)
* MemorySanitizer (MEMORY_SANITIZER)
* ThreadSanitizer (THREAD_SANITIZER)
* UndefinedBehaviorSanitizer (UNDEFINED_SANITIZER)
* Sign executables
* WebSocket support add?
* External QtColorWidgets add?
* Server init system integration (INITSYS) add?




some errors when building 2.2.2 version
[410/579] /usr/bin/g++ -DDP_BYTE_ORDER=1 -DDP_HAVE_BUILTIN_SERVER=1 -DDP_NO_STRICT_ALIASING -DDP_PERF_REALM=drawpile -DDP_PROJECT_DIR_LENGTH=62 -DDP_QT_IO -DDP_QT_IO_KARCHIVE -DHAVE_COMPATIBILITY_MODE=1 -DHAVE_LIBSODIUM -DHAVE_QTKEYCHAIN -DHAVE_RUN_IN_NEW_PROCESS=1 -DHAVE_TCPSOCKETS -DHAVE_VIDEO_EXPORT=1 -DNOMINMAX -DQTCOLORWIDGETS_STATICALLY_LINKED -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSODIUM_STATIC -DWIN32_LEAN_AND_MEAN -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/desktop/drawpile_autogen/include -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/cmake-config/cmake-config -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libcommon -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libimpex -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/libmypaint -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/uthash -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/qgrayraster -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/parson -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -isystem /usr/include/webp -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/psd_sdk -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtDBus -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/bundled/QtColorWidgets/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c++17 -Wall -Wextra -Wpedantic -Wcast-align -Wformat-nonliteral -Wshadow -Wunused -Wunused-parameter -Wunused-macros -Wcast-qual -Wextra-semi -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wzero-as-null-pointer-constant -fno-exceptions -Wimplicit-fallthrough -fno-strict-aliasing -Wmismatched-tags -Walloc-zero -Warray-bounds=2 -Wdeprecated -Wduplicated-branches -Wduplicated-cond -Wformat-security -Wlogical-op -fPIC -MD -MT src/desktop/CMakeFiles/drawpile.dir/mainwindow.cpp.o -MF src/desktop/CMakeFiles/drawpile.dir/mainwindow.cpp.o.d -o src/desktop/CMakeFiles/drawpile.dir/mainwindow.cpp.o -c /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp: In member function 'void MainWindow::setupActions()':
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5092:76: warning: bitwise operation between different enumeration types 'const Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5092 |                                                         .shortcut(CTRL_KEY | Qt::Key_J);
	  |                                                                   ~~~~~~~~~^~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5095:78: warning: bitwise operation between different enumeration types 'const Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5095 |                                                           .shortcut(CTRL_KEY | Qt::Key_K);
	  |                                                                     ~~~~~~~~~^~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5098:78: warning: bitwise operation between different enumeration types 'const Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5098 |                                                           .shortcut(CTRL_KEY | Qt::Key_H);
	  |                                                                     ~~~~~~~~~^~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5101:79: warning: bitwise operation between different enumeration types 'const Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5101 |                                                            .shortcut(CTRL_KEY | Qt::Key_L);
	  |                                                                      ~~~~~~~~~^~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5605:45: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5605 |                         .shortcut(Qt::SHIFT | Qt::Key_B)
	  |                                   ~~~~~~~~~~^~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5609:45: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5609 |                         .shortcut(Qt::SHIFT | Qt::Key_L)
	  |                                   ~~~~~~~~~~^~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5617:78: warning: bitwise operation between different enumeration types 'const Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5617 |                                                           .shortcut(CTRL_KEY | Qt::Key_Comma);
	  |                                                                     ~~~~~~~~~^~~~~~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:5622:45: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 5622 |                         .shortcut(Qt::SHIFT | Qt::Key_Delete);
	  |                                   ~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop/mainwindow.cpp:6275:96: warning: bitwise operation between different enumeration types 'const Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
 6275 |         QAction *focusCanvas = makeAction("focuscanvas", tr("Focus canvas")).shortcut(CTRL_KEY | Qt::Key_Tab);
	  |                                                                                       ~~~~~~~~~^~~~~~~~~~~~~



other warnings

[42/628] /usr/bin/gcc -DDP_NO_STRICT_ALIASING -DDP_PROJECT_DIR_LENGTH=62 -DHAVE_LIBSODIUM -DHAVE_TCPSOCKETS -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_XOPEN_SOURCE=600 -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/bundled/mypaint_autogen/include -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/libmypaint -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c11 -Wall -Wextra -Wpedantic -Wcast-align -Wformat-nonliteral -Wshadow -Wunused -Wunused-parameter -Wunused-macros -Wimplicit-fallthrough -fno-strict-aliasing -Walloc-zero -Warray-bounds=2 -Wdeprecated -Wduplicated-branches -Wduplicated-cond -Wformat-security -Wlogical-op -Wmissing-include-dirs -Wconversion -Wstrict-prototypes -Wno-all -Wno-extra -Wno-pedantic -Wno-cast-align -Wno-format-nonliteral -Wno-shadow -Wno-unused -Wno-unused-parameter -Wno-unused-macros -Wno-implicit-fallthrough -Wno-alloc-zero -Wno-array-bounds -Wno-deprecated -Wno-duplicated-branches -Wno-duplicated-cond -Wno-format-security -Wno-logical-op -Wno-missing-include-dirs -Wno-conversion -Wno-strict-prototypes -MD -MT src/drawdance/bundled/CMakeFiles/mypaint.dir/libmypaint/mypaint-brush.c.o -MF src/drawdance/bundled/CMakeFiles/mypaint.dir/libmypaint/mypaint-brush.c.o.d -o src/drawdance/bundled/CMakeFiles/mypaint.dir/libmypaint/mypaint-brush.c.o -c /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/libmypaint/mypaint-brush.c
[43/628] /usr/bin/gcc -DDP_BYTE_ORDER=1 -DDP_NO_STRICT_ALIASING -DDP_PERF_REALM=dpmsg -DDP_PROJECT_DIR_LENGTH=62 -DDP_QT_IO -DDP_QT_IO_KARCHIVE -DHAVE_LIBSODIUM -DHAVE_TCPSOCKETS -DNOMINMAX -DQT_CORE_LIB -DQT_NO_DEBUG -DWIN32_LEAN_AND_MEAN -D_XOPEN_SOURCE=600 -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/libmsg/dpmsg_autogen/include -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libcommon -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5 -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/uthash -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/parson -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c11 -Wall -Wextra -Wpedantic -Wcast-align -Wformat-nonliteral -Wshadow -Wunused -Wunused-parameter -Wunused-macros -Wimplicit-fallthrough -fno-strict-aliasing -Walloc-zero -Warray-bounds=2 -Wdeprecated -Wduplicated-branches -Wduplicated-cond -Wformat-security -Wlogical-op -Wmissing-include-dirs -Wconversion -Wstrict-prototypes -fPIC -MD -MT src/drawdance/libmsg/CMakeFiles/dpmsg.dir/dpmsg/message.c.o -MF src/drawdance/libmsg/CMakeFiles/dpmsg.dir/dpmsg/message.c.o.d -o src/drawdance/libmsg/CMakeFiles/dpmsg.dir/dpmsg/message.c.o -c /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/message.c
In file included from /usr/include/string.h:548,
				 from /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libcommon/dpcommon/common.h:32,
				 from /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/messages.h:24,
				 from /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/message.h:24,
				 from /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/message.c:22:
In function 'memcpy',
	inlined from 'opaque_serialize_payload' at /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/message.c:84:9:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' offset 40 from the object at 'msg' is out of the bounds of referenced subobject 'body' with type 'unsigned char[]' at offset 40 [-Warray-bounds=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
	  |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
	  |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/message.c: In function 'opaque_serialize_payload':
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg/dpmsg/message.c:70:19: note: subobject 'body' declared here
   70 |     unsigned char body[];
	  |                   ^~~~




hmmm qt5 still appears

 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql 



some remaining errors, seems KF5 is still used instead of KF6...

[416/628] /usr/bin/gcc -DDP_BYTE_ORDER=1 -DDP_LIBSWSCALE=1 -DDP_NO_STRICT_ALIASING -DDP_PERF_REALM=bench_multidab -DDP_PROJECT_DIR_LENGTH=62 -DDP_QT_IO -DDP_QT_IO_KARCHIVE -DHAVE_LIBSODIUM -DHAVE_TCPSOCKETS -DNOMINMAX -DQT_CORE_LIB -DQT_NO_DEBUG -DWIN32_LEAN_AND_MEAN -D_XOPEN_SOURCE=600 -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/libengine/bench_multidab_autogen/include -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libcommon -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/libmypaint -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/uthash -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/qgrayraster -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/parson -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c11 -Wall -Wextra -Wpedantic -Wcast-align -Wformat-nonliteral -Wshadow -Wunused -Wunused-parameter -Wunused-macros -Wimplicit-fallthrough -fno-strict-aliasing -Walloc-zero -Warray-bounds=2 -Wdeprecated -Wduplicated-branches -Wduplicated-cond -Wformat-security -Wlogical-op -Wmissing-include-dirs -Wconversion -Wstrict-prototypes -fPIC -MD -MT src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o -MF src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o.d -o src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o -c /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine/bench/bench_multidab.c
FAILED: src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o 
/usr/bin/gcc -DDP_BYTE_ORDER=1 -DDP_LIBSWSCALE=1 -DDP_NO_STRICT_ALIASING -DDP_PERF_REALM=bench_multidab -DDP_PROJECT_DIR_LENGTH=62 -DDP_QT_IO -DDP_QT_IO_KARCHIVE -DHAVE_LIBSODIUM -DHAVE_TCPSOCKETS -DNOMINMAX -DQT_CORE_LIB -DQT_NO_DEBUG -DWIN32_LEAN_AND_MEAN -D_XOPEN_SOURCE=600 -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/libengine/bench_multidab_autogen/include -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libmsg -I/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libcommon -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/libmypaint -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/uthash -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/qgrayraster -isystem /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled/parson -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -std=c11 -Wall -Wextra -Wpedantic -Wcast-align -Wformat-nonliteral -Wshadow -Wunused -Wunused-parameter -Wunused-macros -Wimplicit-fallthrough -fno-strict-aliasing -Walloc-zero -Warray-bounds=2 -Wdeprecated -Wduplicated-branches -Wduplicated-cond -Wformat-security -Wlogical-op -Wmissing-include-dirs -Wconversion -Wstrict-prototypes -fPIC -MD -MT src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o -MF src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o.d -o src/drawdance/libengine/CMakeFiles/bench_multidab.dir/bench/bench_multidab.c.o -c /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine/bench/bench_multidab.c
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine/bench/bench_multidab.c: In function 'save_image':
/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/libengine/bench/bench_multidab.c:391:15: error: implicit declaration of function 'DP_image_write_png' [-Wimplicit-function-declaration]
  391 |     bool ok = DP_image_write_png(img, output);
	  |               ^~~~~~~~~~~~~~~~~~
[417/628] : && /usr/bin/g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld    -Wl,--dependency-file=src/drawdance/generators/CMakeFiles/qt_premul_factors.dir/link.d src/drawdance/generators/CMakeFiles/qt_premul_factors.dir/qt_premul_factors_autogen/mocs_compilation.cpp.o src/drawdance/generators/CMakeFiles/qt_premul_factors.dir/qt_premul_factors.cpp.o -o bin/qt_premul_factors  /usr/lib64/libQt5Gui.so.5.15.16  /usr/lib64/libQt5Core.so.5.15.16 && :
[418/628] : && /usr/bin/cmake -E rm -f src/thinsrv/libdrawpile-srvlib.a && /usr/bin/ar qc src/thinsrv/libdrawpile-srvlib.a  src/thinsrv/CMakeFiles/drawpile-srvlib.dir/drawpile-srvlib_autogen/mocs_compilation.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/database.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/dblog.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/extbans.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/multiserver.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/templatefiles.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/headless/configfile.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/headless/headless.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/headless/unixsignals.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/accountlistmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/accountlistpage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/authdialog.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/banlistmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/banlistpage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/gui.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/jsonlistmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/localserver.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/mainwindow.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/remoteserver.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/server.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/serverlogmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/serverlogpage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/serversummarypage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/sessionlistmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/sessionlistpage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/sessionpage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/sidebaritemdelegate.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/sidebarmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/singleinstance.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/subheaderwidget.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/trayicon.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/userlistmodel.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/gui/userlistpage.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/initsys_dummy.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/webadmin/qmhttp.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/webadmin/webadmin.cpp.o src/thinsrv/CMakeFiles/drawpile-srvlib.dir/drawpile-srvlib_autogen/RS7P5XZLI2/qrc_resources.cpp.o && /usr/bin/ranlib src/thinsrv/libdrawpile-srvlib.a && :
[419/628] cd /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/desktop && /usr/bin/cmake -E cmake_autogen /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/desktop/CMakeFiles/drawpile_autogen.dir/AutogenInfo.json RelWithDebInfo && /usr/bin/cmake -E touch /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/desktop/drawpile_autogen/timestamp && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2 /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/desktop /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/desktop /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/desktop/drawpile_autogen/deps /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/CMakeFiles/d/3d08e91b2f80e22c8ed72cd1c31760e5cd71bc05172a71ec5fc890025cf12aa6.d
ninja: build stopped: subcommand failed.

erreur : Mauvais statut de sortie pour /home/baud/rpmbuild/tmp/rpm-tmp.6k2tvY (%build)

Avertissements de construction RPM :
	Macro développée dans le commentaire à la ligne 73 : %{_docdir}/%{name}/

	Macro développée dans le commentaire à la ligne 78 : %{_datadir}/mime/packages/x-drawpile.xml

	Macro développée dans le commentaire à la ligne 83 : %{_mandir}/man1/drawpile*.1*


Erreurs de compilation RPM :
	Mauvais statut de sortie pour /home/baud/rpmbuild/tmp/rpm-tmp.6k2tvY (%build)




compile outside rpmbuild -ba process, following instructions at https://docs.drawpile.net/help/development/buildingfromsource

[baud@localhost drawpile-2.2.2]$ cmake --preset linux-debug-qt6-all-make
Preset CMake variables:

  BUILTINSERVER="ON"
  CLANG_TIDY="OFF"
  CLIENT="ON"
  CMAKE_BUILD_TYPE="Debug"
  CMAKE_EXPORT_COMPILE_COMMANDS="ON"
  QT_VERSION="6"
  SERVER="ON"
  SERVERGUI="ON"
  TESTS="ON"
  TOOLS="ON"
  UPDATE_TRANSLATIONS="OFF"
  USE_GENERATORS="OFF"

-- Found Git: /usr/bin/git (found version "2.49.0")
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found cargo: /usr/bin/cargo
-- Project version: 2.2.2
-- Protocol version: 4.24.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Using Qt version 6
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Performing Test CXX_HAS_ARRAY_BOUNDS_POINTER_ARITHMETIC
-- Performing Test CXX_HAS_ARRAY_BOUNDS_POINTER_ARITHMETIC - Failed
-- Performing Test CXX_HAS_ALLOC_ZERO
-- Performing Test CXX_HAS_ALLOC_ZERO - Success
-- Performing Test CXX_HAS_ARRAY_BOUNDS_2
-- Performing Test CXX_HAS_ARRAY_BOUNDS_2 - Success
-- Performing Test CXX_HAS_DEPRECATED
-- Performing Test CXX_HAS_DEPRECATED - Success
-- Performing Test CXX_HAS_DUPLICATED_BRANCHES
-- Performing Test CXX_HAS_DUPLICATED_BRANCHES - Success
-- Performing Test CXX_HAS_DUPLICATED_COND
-- Performing Test CXX_HAS_DUPLICATED_COND - Success
-- Performing Test CXX_HAS_FORMAT_PEDANTIC
-- Performing Test CXX_HAS_FORMAT_PEDANTIC - Failed
-- Performing Test CXX_HAS_FORMAT_SECURITY
-- Performing Test CXX_HAS_FORMAT_SECURITY - Success
-- Performing Test CXX_HAS_LOGICAL_OP
-- Performing Test CXX_HAS_LOGICAL_OP - Success
-- Performing Test CXX_HAS_LOGICAL_OP_PARENTHESES
-- Performing Test CXX_HAS_LOGICAL_OP_PARENTHESES - Failed
-- Performing Test CXX_HAS_SUGGEST_DESTRUCTOR_OVERRIDE
-- Performing Test CXX_HAS_SUGGEST_DESTRUCTOR_OVERRIDE - Failed
-- Performing Test CXX_HAS_SUGGEST_FINAL_METHODS
-- Performing Test CXX_HAS_SUGGEST_FINAL_METHODS - Failed
-- Performing Test CXX_HAS_SUGGEST_FINAL_TYPES
-- Performing Test CXX_HAS_SUGGEST_FINAL_TYPES - Failed
-- Performing Test CXX_HAS_SUGGEST_OVERRIDE
-- Performing Test CXX_HAS_SUGGEST_OVERRIDE - Failed
-- Performing Test CXX_HAS_UNUSED_MEMBER_FUNCTION
-- Performing Test CXX_HAS_UNUSED_MEMBER_FUNCTION - Failed
-- Performing Test CXX_HAS_UNUSED_TEMPLATE
-- Performing Test CXX_HAS_UNUSED_TEMPLATE - Failed
-- Performing Test CXX_HAS_USELESS_CAST
-- Performing Test CXX_HAS_USELESS_CAST - Failed
-- Performing Test CXX_HAS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS
-- Performing Test CXX_HAS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS - Failed
-- Generating config.h
CMake Warning (dev) at cmake/GitVersion.cmake:5 (cmake_parse_arguments):
  The BUILD_LABEL keyword was followed by an empty string or no value at all.
  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  ARG_BUILD_LABEL variable rather than setting it to an empty string.
Call Stack (most recent call first):
  src/cmake-config/CMakeLists.txt:32 (git_version_configure_file)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Adding drawdance
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- Checking for module 'libswscale'
--   Package 'libswscale' not found
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.9.1", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Checking for module 'libzip'
--   Package 'libzip' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:645 (message):
  The following required packages were not found:

   - libzip

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:873 (_pkg_check_modules_internal)
  cmake/DrawdanceDependencies.cmake:80 (pkg_check_modules)
  src/drawdance/CMakeLists.txt:11 (include)


-- Configuring incomplete, errors occurred!



urpmi lib64zip-devel
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
lib64zip-devel 1.11.3 1.mga10 x86_64
libzip 1.11.3 1.mga10 x86_64
un espace additionnel de 385Ko sera utilisé.
249Ko de paquets seront récupérés.


urpmq --whatprovides "pkgconfig(libswscale)"
lib64ffmpeg-devel|lib64ffmpeg-devel


urpmi lib64ffmpeg-devel


initial build from drawpile 2.1.20
[root@localhost SRPMS]# urpmi --buildrequires drawpile-2.1.20-2.mga10.src.rpm
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
extra-cmake-modules 6.13.0 1.mga10 noarch
gnutls 3.8.9 2.mga10 x86_64
lib64gif-devel 5.2.2 2.mga10 x86_64
lib64gnutls-dane0 3.8.9 2.mga10 x86_64
lib64gnutls-devel 3.8.9 2.mga10 x86_64
lib64gnutlsxx30 3.8.9 2.mga10 x86_64
lib64hiredis-devel 1.2.0 1.mga10 x86_64
lib64hiredis-ssl1.1.0 1.2.0 1.mga10 x86_64
lib64kf5archive-devel 5.116.0 1.mga10 x86_64
lib64kf5dnssd-devel 5.116.0 1.mga10 x86_64
lib64leancrypto-devel 1.3.0 2.mga10 x86_64
lib64microhttpd-devel 1.0.1 1.mga10 x86_64
lib64miniupnpc-devel 2.3.2 1.mga10 x86_64
lib64mnl-devel 1.0.5 2.mga10 x86_64
lib64nettle-devel 3.10.1 1.mga10 x86_64
lib64p11-kit-devel 0.25.5 1.mga10 x86_64
lib64protobuf-c-devel 1.5.1 1.mga10 x86_64
lib64protoc30.0 6.30.0 2.mga10 x86_64
lib64qt5concurrent-devel 5.15.16 1.mga10 x86_64
lib64qt5keychain-devel 0.14.3 1.mga10 x86_64
lib64qt5multimedia-devel 5.15.16 1.mga10 x86_64
lib64qt5svg-devel 5.15.16 1.mga10 x86_64
lib64sodium-devel 1.0.20 1.mga10 x86_64
lib64tasn1-devel 4.20.0 1.mga10 x86_64
lib64unbound-devel 1.22.0 2.mga10 x86_64
lib64unbound8 1.22.0 2.mga10 x86_64
libtasn1-tools 4.20.0 1.mga10 x86_64
mercurial 7.0.1 1.mga10 x86_64 (recommandé)
protobuf-c 1.5.1 1.mga10 x86_64
python3-binaryornot 0.4.4 10.mga10 noarch
python3-boolean-py 4.0 5.mga10 noarch
python3-click 8.1.8 1.mga10 noarch
python3-debian 0.1.51 2.mga10 noarch
python3-license-expression 30.4.1 2.mga10 noarch
python3-tomlkit 0.13.2 1.mga10 noarch
reuse 5.0.2 2.mga10 noarch


[baud@localhost SPECS]$ rpmbuild -ba drawpile.spec # around 10 min to compile....



upgrade to 2.2.2

at first, keep dependances on qt5

seems to compile (move directory to drawpile-2.2.2 instead of Drawpile-2.2.2 in tar.gz) although there are some errors at the end

+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: ./usr/src/debug/drawpile-2.2.2-1.mga10.x86_64/src/libclient/parentalcontrols/parentalcontrols_dummy.cpp is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/drawpile-2.2.2-1.mga10.x86_64/src/libclient/parentalcontrols/parentalcontrols.h is executable but has no shebang, removing executable bit
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/SPECPARTS/rpm-debuginfo.specpart
Traitement des fichiers : drawpile-2.2.2-1.mga10.x86_64
erreur : Répertoire introuvable : /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/BUILDROOT/usr/share/doc/drawpile
erreur : Fichier non trouvé : /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/BUILDROOT/usr/share/mime/packages/x-drawpile.xml
erreur : Fichier non trouvé : /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/BUILDROOT/usr/share/man/man1/drawpile*.1*

Erreurs de compilation RPM :
	Répertoire introuvable : /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/BUILDROOT/usr/share/doc/drawpile
	Fichier non trouvé : /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/BUILDROOT/usr/share/mime/packages/x-drawpile.xml
	Fichier non trouvé : /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/BUILDROOT/usr/share/man/man1/drawpile*.1*
[baud@localhost SPECS]$ 


initial logs rpmbuild -ba drawpile.spec


rpmbuild -ba drawpile.spec 
attention : Macro développée dans le commentaire à la ligne 65 : %{_docdir}/%{name}/

attention : Macro développée dans le commentaire à la ligne 70 : %{_datadir}/mime/packages/x-drawpile.xml

attention : Macro développée dans le commentaire à la ligne 75 : %{_mandir}/man1/drawpile*.1*

Exécution_de(%mkbuilddir) : /bin/sh -e /home/baud/rpmbuild/tmp/rpm-tmp.8xQlBj
Exécution_de(%prep) : /bin/sh -e /home/baud/rpmbuild/tmp/rpm-tmp.PywvFy
+ umask 022
+ cd /home/baud/rpmbuild//BUILD/drawpile-2.2.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build
+ rm -rf drawpile-2.2.2
+ /usr/lib/rpm/rpmuncompress -x /home/baud/rpmbuild/SOURCES/drawpile-2.2.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd drawpile-2.2.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Exécution_de(%build) : /bin/sh -e /home/baud/rpmbuild/tmp/rpm-tmp.xrGunm
+ umask 022
+ cd /home/baud/rpmbuild//BUILD/drawpile-2.2.2-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd drawpile-2.2.2
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ QTDIR=/usr/lib64/qt6
+ export QTDIR
+ PATH=/usr/lib64/qt6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt5/bin:/usr/lib64/qt6/bin:/home/baud/.local/bin:/home/baud/bin
+ export PATH
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_ARCHDATADIR=/usr/lib64/qt6 -DINSTALL_BINDIR=/usr/lib64/qt6/bin -DINSTALL_LIBDIR=/usr/lib64 -DINSTALL_LIBEXECDIR=/usr/lib64/qt6/libexec -DINSTALL_DATADIR=/usr/share/qt6 -DINSTALL_DOCDIR=/usr/share/doc/qt6 -DINSTALL_INCLUDEDIR=/usr/include/qt6 -DINSTALL_EXAMPLESDIR=/usr/lib64/qt6/examples -DINSTALL_MKSPECSDIR=/usr/lib64/qt6/mkspecs -DINSTALL_PLUGINSDIR=/usr/lib64/qt6/plugins -DINSTALL_QMLDIR=/usr/lib64/qt6/qml -DINSTALL_SYSCONFDIR=/etc/xdg -DINSTALL_TRANSLATIONSDIR=/usr/share/qt6/translations -DQT_DISABLE_RPATH=TRUE -DDBUS_SERVICES_DIR=/usr/share/dbus-1/services -DDBUS_INTERFACES_DIR=/usr/share/dbus-1/interfaces
CMake Warning at CMakeLists.txt:20 (message):
  Ignoring nonsensical 'BUILD_SHARED_LIBS' argument


CMake Warning at CMakeLists.txt:20 (message):
  Ignoring nonsensical 'BUILD_STATIC_LIBS' argument



-- Found Git: /usr/bin/git (found version "2.49.0")
-- The C compiler identification is GNU 15.1.0
-- The CXX compiler identification is GNU 15.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found cargo: /usr/bin/cargo
-- Project version: 2.2.2
-- Protocol version: 4.24.0
-- Using Qt version 5
-- Performing Test CXX_HAS_ARRAY_BOUNDS_POINTER_ARITHMETIC
-- Performing Test CXX_HAS_ARRAY_BOUNDS_POINTER_ARITHMETIC - Failed
-- Performing Test CXX_HAS_ALLOC_ZERO
-- Performing Test CXX_HAS_ALLOC_ZERO - Success
-- Performing Test CXX_HAS_ARRAY_BOUNDS_2
-- Performing Test CXX_HAS_ARRAY_BOUNDS_2 - Success
-- Performing Test CXX_HAS_DEPRECATED
-- Performing Test CXX_HAS_DEPRECATED - Success
-- Performing Test CXX_HAS_DUPLICATED_BRANCHES
-- Performing Test CXX_HAS_DUPLICATED_BRANCHES - Success
-- Performing Test CXX_HAS_DUPLICATED_COND
-- Performing Test CXX_HAS_DUPLICATED_COND - Success
-- Performing Test CXX_HAS_FORMAT_PEDANTIC
-- Performing Test CXX_HAS_FORMAT_PEDANTIC - Failed
-- Performing Test CXX_HAS_FORMAT_SECURITY
-- Performing Test CXX_HAS_FORMAT_SECURITY - Success
-- Performing Test CXX_HAS_LOGICAL_OP
-- Performing Test CXX_HAS_LOGICAL_OP - Success
-- Performing Test CXX_HAS_LOGICAL_OP_PARENTHESES
-- Performing Test CXX_HAS_LOGICAL_OP_PARENTHESES - Failed
-- Performing Test CXX_HAS_SUGGEST_DESTRUCTOR_OVERRIDE
-- Performing Test CXX_HAS_SUGGEST_DESTRUCTOR_OVERRIDE - Failed
-- Performing Test CXX_HAS_SUGGEST_FINAL_METHODS
-- Performing Test CXX_HAS_SUGGEST_FINAL_METHODS - Failed
-- Performing Test CXX_HAS_SUGGEST_FINAL_TYPES
-- Performing Test CXX_HAS_SUGGEST_FINAL_TYPES - Failed
-- Performing Test CXX_HAS_SUGGEST_OVERRIDE
-- Performing Test CXX_HAS_SUGGEST_OVERRIDE - Failed
-- Performing Test CXX_HAS_UNUSED_MEMBER_FUNCTION
-- Performing Test CXX_HAS_UNUSED_MEMBER_FUNCTION - Failed
-- Performing Test CXX_HAS_UNUSED_TEMPLATE
-- Performing Test CXX_HAS_UNUSED_TEMPLATE - Failed
-- Performing Test CXX_HAS_USELESS_CAST
-- Performing Test CXX_HAS_USELESS_CAST - Failed
-- Performing Test CXX_HAS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS
-- Performing Test CXX_HAS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS - Failed
-- Generating config.h
-- Adding drawdance
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'libswscale'
--   Package 'libswscale' not found
-- Adding libshared
-- Adding libclient
-- Adding desktop
CMake Warning at cmake/DrawpileTranslations.cmake:199 (message):
  Could not find Qt translation /usr/share/qt5/translations/qtbase_pt.qm
Call Stack (most recent call first):
  cmake/DrawpileTranslations.cmake:158 (_get_qt_translation_file)
  src/desktop/CMakeLists.txt:1061 (bundle_translations)


CMake Warning at cmake/DrawpileTranslations.cmake:199 (message):
  Could not find Qt translation
  /usr/share/qt5/translations/qtmultimedia_pt.qm
Call Stack (most recent call first):
  cmake/DrawpileTranslations.cmake:158 (_get_qt_translation_file)
  src/desktop/CMakeLists.txt:1061 (bundle_translations)


CMake Warning at cmake/DrawpileTranslations.cmake:199 (message):
  Could not find Qt translation /usr/share/qt5/translations/qtbase_th.qm
Call Stack (most recent call first):
  cmake/DrawpileTranslations.cmake:158 (_get_qt_translation_file)
  src/desktop/CMakeLists.txt:1061 (bundle_translations)


CMake Warning at cmake/DrawpileTranslations.cmake:199 (message):
  Could not find Qt translation
  /usr/share/qt5/translations/qtmultimedia_th.qm
Call Stack (most recent call first):
  cmake/DrawpileTranslations.cmake:158 (_get_qt_translation_file)
  src/desktop/CMakeLists.txt:1061 (bundle_translations)


-- Adding libserver
-- The following features have been enabled:

 * Drawpile client (CLIENT)
 * TCP socket support
 * Builtin server (BUILTINSERVER)
 * Code generation (USE_GENERATORS)
 * Use assets from source directory (SOURCE_ASSETS)
 * Translations
 * Ext-auth support
 * Image library implementation (IMAGE_IMPL), QT
 * File I/O implementation (FILE_IO_IMPL), QT
 * ZIP implementation (ZIP_IMPL), KARCHIVE
 * Client password manager

-- The following features have been disabled:

 * .ts regeneration (slow!) (UPDATE_TRANSLATIONS)
 * Drawpile server (SERVER)
 * Server GUI (SERVERGUI)
 * Command-line tools, requires Rust (TOOLS)
 * Unit tests (TESTS)
 * Benchmarks (BENCHMARKS)
 * Install documentation (INSTALL_DOC)
 * Strict aliasing (USE_STRICT_ALIASING)
 * Non-portable optimizations (ENABLE_ARCH_NATIVE)
 * Distribution build (DIST_BUILD)
 * Update checking disabled by default (DISABLE_UPDATE_CHECK_DEFAULT)
 * Use proxy style to fix dark theme contrasts - only needed if not patching Qt, breaks on some non-English Windows versions (PROXY_STYLE)
 * Unity build (CMAKE_UNITY_BUILD)
 * Interprocedural optimization (CMAKE_INTERPROCEDURAL_OPTIMIZATION)
 * Clang-Tidy (CLANG_TIDY)
 * AddressSanitizer (ADDRESS_SANITIZER)
 * LeakSanitizer (LEAK_SANITIZER)
 * MemorySanitizer (MEMORY_SANITIZER)
 * ThreadSanitizer (THREAD_SANITIZER)
 * UndefinedBehaviorSanitizer (UNDEFINED_SANITIZER)
 * Sign executables
 * WebSocket support
 * Image scaling via libav
 * Video export via libav
 * External QtColorWidgets

++ To build, run: `/usr/bin/cmake --build /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build`
-- Configuring done (3.4s)
-- Generating done (0.5s)
CMake Warning:
  Manually-specified variables were not used by the project:

	CMAKE_CXX_FLAGS_RELEASE
	CMAKE_C_FLAGS_RELEASE
	CMAKE_INSTALL_DO_STRIP
	CMAKE_VERBOSE_MAKEFILE
	DBUS_INTERFACES_DIR
	DBUS_SERVICES_DIR
	INCLUDE_INSTALL_DIR
	INSTALL_ARCHDATADIR
	INSTALL_BINDIR
	INSTALL_DATADIR
	INSTALL_DOCDIR
	INSTALL_EXAMPLESDIR
	INSTALL_INCLUDEDIR
	INSTALL_LIBDIR
	INSTALL_LIBEXECDIR
	INSTALL_MKSPECSDIR
	INSTALL_PLUGINSDIR
	INSTALL_QMLDIR
	INSTALL_SYSCONFDIR
	INSTALL_TRANSLATIONSDIR
	LIB_INSTALL_DIR
	LIB_SUFFIX
	QT_DISABLE_RPATH
	SHARE_INSTALL_PREFIX
	SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build
+ /usr/bin/cmake --build build -j4 --verbose
Change Dir: '/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build'

Run Build Command(s): /usr/bin/ninja -v -j 4
[1/579] cd /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2 && /usr/bin/cmake -DGIT_EXECUTABLE=/usr/bin/git -DGIT_VERSION_IN_FILE=/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/cmake-config/config.cpp.in -DGIT_VERSION_OUT_FILE=/home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/cmake-config/cmake-config/cmake-config/config.cpp -DGIT_VERSION_BUILD_LABEL= -DGIT_VERSION_VAR=GIT_VERSION -DGIT_VERSION_FALLBACK=2.2.2 -P /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/cmake/GitVersion.cmake
CMake Warning at cmake/GitVersion.cmake:93 (message):
  Couldn't determine git version; falling back to static versioning


[2/579] cd /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/bundled && /usr/bin/cmake -E cmake_autogen /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/bundled/CMakeFiles/parson_autogen.dir/AutogenInfo.json RelWithDebInfo && /usr/bin/cmake -E touch /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/bundled/parson_autogen/timestamp && /usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2 /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/src/drawdance/bundled /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/bundled /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/src/drawdance/bundled/parson_autogen/deps /home/baud/rpmbuild/BUILD/drawpile-2.2.2-build/drawpile-2.2.2/build/CMakeFiles/d/ee6bb6ff629407a94883f4dfe4a33fd4c55bc8f99cc575c6201c687b1c9567de.d




included in Mageia cauldron


urpmq -i --changelog drawpile
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/media_info/20250516-045134-info.xml.lzma
Name : drawpile
Version : 2.1.20
Release : 2.mga10
Group : Graphics/Editors and Converters
Size : 8121413 Architecture: x86_64
Source RPM : drawpile-2.1.20-2.mga10.src.rpm
URL : https://drawpile.net/
Summary : A collaborative drawing program
Description :
DrawPile is a sketching oriented drawing program with a twist:
you can share your drawing live with other users.
There are no restrictions on who may draw where; every user has full access
to the whole picture simultaneously.

Feature highlights:
* Antialiased drawing and multiple blending modes
* Layers
* Text annotations
* Tablet pressure sensitivity
* Image may be rotated freely while drawing
* Built-in server for hosting shared sessions
* Chat


* Sun May 4 2025 daviddavid <daviddavid> 2.1.20-2.mga10
+ Revision: 2180797
- rebuild for new miniupnpc 2.3.2

* Tue Sep 3 2024 daviddavid <daviddavid> 2.1.20-1.mga10
+ Revision: 2092953
- new version: 2.1.20
- add patch to fix build with miniupnpc 2.2.8
- rebuild for miniupnpc 2.2.8


[root@localhost lib]# urpmi drawpile
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
Paquetage Version Révision Arch
(média « Core Release »)
drawpile 2.1.20 2.mga10 x86_64
kf5-kdnssd 5.116.0 1.mga10 x86_64
lib64kf5dnssd5 5.116.0 1.mga10 x86_64
lib64qt5keychain1 0.14.3 1.mga10 x86_64
lib64sodium26 1.0.20 1.mga10 x86_64
un espace additionnel de 8.5Mo sera utilisé.
2.4Mo de paquets seront récupérés.



searching for dependances


not exact (quite approximate) : urpmf /libswscale.so


urpmq --whatprovides "pkgconfig(libswscale)" # pour trouver quel paquet le fournit
lib64ffmpeg-devel|lib64ffmpeg-devel

et urpmq -q --provides lib64ffmpeg-devel
lib64ffmpeg-devel: devel(libavcodec(64bit))
lib64ffmpeg-devel: devel(libavdevice(64bit))
lib64ffmpeg-devel: devel(libavfilter(64bit))
lib64ffmpeg-devel: devel(libavformat(64bit))
lib64ffmpeg-devel: devel(libavutil(64bit))
lib64ffmpeg-devel: devel(libpostproc(64bit))
lib64ffmpeg-devel: devel(libswresample(64bit))
lib64ffmpeg-devel: devel(libswscale(64bit))
lib64ffmpeg-devel: ffmpeg-devel[== 7.1.1-3.mga10]
lib64ffmpeg-devel: lib64ffmpeg-devel[== 7.1.1-3.mga10]
lib64ffmpeg-devel: lib64ffmpeg-devel(x86-64)[== 7.1.1-3.mga10]
lib64ffmpeg-devel: libffmpeg-devel[== 7.1.1-3.mga10]
lib64ffmpeg-devel: pkgconfig(libavcodec)[== 61.19.101]
lib64ffmpeg-devel: pkgconfig(libavdevice)[== 61.3.100]
lib64ffmpeg-devel: pkgconfig(libavfilter)[== 10.4.100]
lib64ffmpeg-devel: pkgconfig(libavformat)[== 61.7.100]
lib64ffmpeg-devel: pkgconfig(libavutil)[== 59.39.100]
lib64ffmpeg-devel: pkgconfig(libpostproc)[== 58.3.100]
lib64ffmpeg-devel: pkgconfig(libswresample)[== 5.3.100]
lib64ffmpeg-devel: pkgconfig(libswscale)[== 8.3.100]
lib64ffmpeg-devel: devel(libavcodec(64bit))
lib64ffmpeg-devel: devel(libavdevice(64bit))
lib64ffmpeg-devel: devel(libavfilter(64bit))
lib64ffmpeg-devel: devel(libavformat(64bit))
lib64ffmpeg-devel: devel(libavutil(64bit))
lib64ffmpeg-devel: devel(libpostproc(64bit))
lib64ffmpeg-devel: devel(libswresample(64bit))
lib64ffmpeg-devel: devel(libswscale(64bit))
lib64ffmpeg-devel: ffmpeg-devel[== 7.1.1-3.mga10.tainted]
lib64ffmpeg-devel: lib64ffmpeg-devel[== 7.1.1-3.mga10.tainted]
lib64ffmpeg-devel: lib64ffmpeg-devel(x86-64)[== 7.1.1-3.mga10.tainted]
lib64ffmpeg-devel: libffmpeg-devel[== 7.1.1-3.mga10.tainted]
lib64ffmpeg-devel: pkgconfig(libavcodec)[== 61.19.101]
lib64ffmpeg-devel: pkgconfig(libavdevice)[== 61.3.100]
lib64ffmpeg-devel: pkgconfig(libavfilter)[== 10.4.100]
lib64ffmpeg-devel: pkgconfig(libavformat)[== 61.7.100]
lib64ffmpeg-devel: pkgconfig(libavutil)[== 59.39.100]
lib64ffmpeg-devel: pkgconfig(libpostproc)[== 58.3.100]
lib64ffmpeg-devel: pkgconfig(libswresample)[== 5.3.100]
lib64ffmpeg-devel: pkgconfig(libswscale)[== 8.3.100]



xournalpp


-- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) 
-- Found Lua: FALSE
-- Disable Xournal++ Plugins
Configuration:
	Compiler:                   /usr/bin/g++
	X11 support enabled:        TRUE
	GTEST enabled:              OFF
	GCOV enabled:               OFF
	Filesystem library:         std::filesystem
	Profiling enabled:          OFF


urpmi lib64lua5.1-devel


-- Found Lua: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so (found version "5.1.5")
-- Found Lua: TRUE
-- Enable Xournal++ Plugins


$ diff -Naur xournalpp.spec.1.2.6 xournalpp.spec
--- xournalpp.spec.1.2.6	2025-06-04 05:54:18.830441890 +0200
+++ xournalpp.spec	2025-06-04 07:02:57.663256047 +0200
@@ -1,5 +1,5 @@
 Name:           xournalpp
-Version:        1.2.6
+Version:        1.2.7
 Release:        %mkrel 1
 Summary:        Note taking software designed around a tablet
 License:        GPLv2+
@@ -13,6 +13,7 @@
 BuildRequires:  pkgconfig(gthread-2.0)
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(gtksourceview-4)
+BuildRequires:  pkgconfig(liblua)
 BuildRequires:  pkgconfig(librsvg-2.0)
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(libzip)



There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki