This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Craft] About building Kdenlive

Tags: None
(comma "," separated)
hirasawayositaka
Registered Member
Posts
15
Karma
0

[Craft] About building Kdenlive

Fri Oct 22, 2021 8:11 am
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.
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: [Craft] About building Kdenlive

Sun Oct 24, 2021 7:56 pm
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)
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: [Craft] About building Kdenlive

Sun Oct 24, 2021 7:59 pm
Note: craft will clone kdenlive git repo into [CraftRoot]/download/git/kde/kdemultimedia/kdenlive
you can apply your patches there...
hirasawayositaka
Registered Member
Posts
15
Karma
0

Re: [Craft] About building Kdenlive

Mon Oct 25, 2021 3:08 am
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?
vpinon
KDE Developer
Posts
708
Karma
6
OS

Re: [Craft] About building Kdenlive

Tue Oct 26, 2021 4:11 pm
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
hirasawayositaka
Registered Member
Posts
15
Karma
0

Re: [Craft] About building Kdenlive

Wed Oct 27, 2021 8:56 am
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?
Merlimau
Registered Member
Posts
986
Karma
8

Re: [Craft] About building Kdenlive

Wed Oct 27, 2021 3:15 pm
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.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]