Registered Member
|
We become indebted to.
I would like to ask you about building Kdenlive using Craft. I want to build Kdenlive downloaded from Git with improved source code. Is Kdenlive build using Craft targeted for Kdenlive on the net? Wouldn't it make sense to download the Kdenlive file from Git? If you are building files from the net, what if you are building local files? Please give us useful information. ・Git site downloading Craft https://github.com/KDE/craft ・Git site downloading Kdenlive https://github.com/KDE/kdenlive ・Reference URL for installing Craft and building Kdenlive https://community.kde.org/Guidelines_an ... ce/Windows https://community.kde.org/Kdenlive/Deve ... _using_MXE MinGW is used as the compiler. |
KDE Developer
|
Hello,
To get help with craft you may join the craft chat room on IRC/Matrix/Telegram (any of the 3 protocols, they are bridged). To build git version, once in craft environment, run "craft --target=master kdenlive" (without target argument, it builds latest release) |
KDE Developer
|
Note: craft will clone kdenlive git repo into [CraftRoot]/download/git/kde/kdemultimedia/kdenlive
you can apply your patches there... |
Registered Member
|
What I want to go about is customizing Kdenlive.
1) Download the Kdenlive files locally from Git. 2) Rewrite the locally downloaded file (source code). 3) Build the rewritten source code. 4) Use the newly built Kdenlive. These are the things we want to do. Is it possible for Craft to build a locally downloaded file? |
KDE Developer
|
Yes that's what I said:
1) craft --fetch --target=master kdenlive 2) edit code in [CraftRoot]/download/git/kde/kdemultimedia/kdenlive 3) craft --target=master kdenlive 4) [CraftRoot]/bin/kdenlive and if you want to distribute the build: craft --package --target=master kdenlive (the resulting package ends in [CraftRoot]/tmp |
Registered Member
|
Thank you for your help.
Up to (1), it worked. C:\CraftRoot\download\git\kde\kdemultimedia\kdenlive The above directory and files are now created. I rewrote the CPP file and did the command in 3). I got an error. <error> PS C:\CraftRoot> craft --target = master kdenlive Craft : C:\CraftRoot Version : master ABI : windows-mingw_64-gcc Download directory : C:\CraftRoot\download Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out/build/x64-Debug/CMakeFiles/3.20.21032501-MSVC_2/CompilerIdC You might wan't to run "git clean -xdf" in that directry. Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out/build/x64-Debug/CMakeFiles/3.20.21032501-MSVC_2/CompilerIdCXX You might wan't to run "git clean -xdf" in that directry. Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out/build/x64-Debug/CMakeFiles/3.20.21032501-MSVC_2 You might wan't to run "git clean -xdf" in that directry. Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out/build/x64-Debug/CMakeFiles You might wan't to run "git clean -xdf" in that directry. Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out/build/x64-Debug You might wan't to run "git clean -xdf" in that directry. Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out/build You might wan't to run "git clean -xdf" in that directry. Found an dead branch in C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde/libs/libcurl/out You might wan't to run "git clean -xdf" in that directry. Failed to find master: Updating search cache: 100% ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ Craft was unable to find master Did I do something wrong? |
Registered Member
|
Here some general hints about craft.
You have to setup craft and choose MinGW as compiler (MSVC doesn't work for build Kdenlive). You have to build first Kdenlive with: craft -i kdenlive, then build the master: craft -i --target=master kdenlive. Settings "-i" makes sure all dependencies are updated as well. Make your code changes. Build Kdenlive again with: craft --target=master kdenlive. Or: cb Kdenlive, craft --target=master --fetch Kdenlive, ninja, craft --target=master --install --post-install --qmerge kdenlive. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]