LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-06-2024, 06:34 PM   #1
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Rep: Reputation: 2
Question How to rebuild Kdenlive on -current?


Hi, the official package for Kdenlive on current misses several options (export aac, tracking plugin, etc). Right now I'm using the AppImage as it seems to correctly detects my recompiled ffmpeg with proprietary codecs and opencv (or maybe use its own), but I would like to rebuild the official package to keep the system clean. The problem is, I don't quite get how to use the slackbuild in source tree since it seems to want to recompile every single component of KDE. Is there a way to just download and recompile kdenlive? How do I set the configure parameters then?
 
Old 04-06-2024, 07:54 PM   #2
bigbadaboum
Member
 
Registered: Apr 2023
Posts: 143

Rep: Reputation: 55
Hello rinza,

Quote:
I don't quite get how to use the slackbuild in source tree since it seems to want to recompile every single component of KDE. Is there a way to just download and recompile kdenlive? How do I set the configure parameters then?
You can edit Package-Blacklist https://mirror.slackbuilds.org/slack...kage-blacklist while only keeping the packages necessary for Kdenlive.

The packages required for Kdenlive:
attica,extra-cmake-modules,karchive,kauth,kbookmarks,kcodecs,kcompletion,kconfig,kconfigwidgets,kcoreaddons,kcrash,kdbu saddons,kdeclarative,kdenlive,kdoctools,kglobalaccel,kguiaddons,ki18n,kiconthemes,kio,kitemviews,kjo bwidgets,knewstuff,knotifications,knotifyconfig,kpackage,kservice,ktextwidgets,kwidgetsaddons,kwindo wsystem,kxmlgui,mlt,purpose,solid,sonnet.

*It can also be used to install Kdenlive with XFCE.
 
Old 04-06-2024, 08:13 PM   #3
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
in slackware64-current/source/kde/kde/
in a root konsole

./kde.SlackBuild applications:kdenlive
 
1 members found this post helpful.
Old 04-06-2024, 08:17 PM   #4
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Thanks! Very cumbersome still, I will try to blacklist everything except kdenlive itself, since everything is already installed. I wonder if someone has ever created a more modular approach to building kde-stuff
 
Old 04-06-2024, 08:19 PM   #5
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by gmgf View Post
in slackware64-current/source/kde/kde/
in a root konsole

./kde.SlackBuild applications:kdenlive
Ah nice, thanks, I will let lftp mirror with --exclude src/ to prevent downloading everything and try this!
 
Old 04-06-2024, 08:48 PM   #6
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by gmgf View Post
in slackware64-current/source/kde/kde/
in a root konsole

./kde.SlackBuild applications:kdenlive
Unfortunately this method requires you to download the full src directory (I've tried with only the kdenlive*.* files), which is very large.

The script do have PRECHECK and CHECKOUT variables which I suppose would skip the source checking and downloading, but it appears to not prevent running find on the source files and quitting the script as it detect those files are missing (error goes like this for every various KDE components:

Quote:
find: ‘/tmp/kde/src/’: No such file or directory
** Did not find 'kio-admin' in src

Last edited by rinza; 04-06-2024 at 08:54 PM.
 
Old 04-06-2024, 09:13 PM   #7
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
http://slackware.osuosl.org/slackwar...23.08.5.tar.xz

but normally just it need kdenlive source
 
Old 04-06-2024, 10:38 PM   #8
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by gmgf View Post
http://slackware.osuosl.org/slackwar...23.08.5.tar.xz

but normally just it need kdenlive source
I abbreviated the output, the error message repeats for the hundreds of packages needed for KDE full installation before quitting the script.
 
Old 04-07-2024, 12:25 AM   #9
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
to rinza, you could look here for a complete modular kde build : https://raw.githubusercontent.com/no.../kde/build_kde
 
Old 04-07-2024, 01:03 AM   #10
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
if kde isn't installed it need de deps are installed
 
Old 04-07-2024, 01:50 AM   #11
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by gmgf View Post
if kde isn't installed it need de deps are installed
All KDE packages are installed and functioning perfectly, the problem is I want to rebuild just kdenlive without downloading and rebuilding everything that is already installed and working.
 
Old 04-07-2024, 01:51 AM   #12
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by nobodino View Post
to rinza, you could look here for a complete modular kde build : https://raw.githubusercontent.com/no.../kde/build_kde
Thanks, I will study the script to see how it works and try it tomorrow! Unfortunately, this won't do. It just automate the same ./kde.SlackBuild applications:kdenlive, iterating through all KDE packages, so it fails the same without all sources downloaded.

Last edited by rinza; 04-07-2024 at 02:00 AM.
 
Old 04-07-2024, 02:30 AM   #13
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by rinza View Post
All KDE packages are installed and functioning perfectly, the problem is I want to rebuild just kdenlive without downloading and rebuilding everything that is already installed and working.
It works here without problem, check that everything is present in /source/kde/kde/, directories and files.
 
1 members found this post helpful.
Old 04-07-2024, 02:42 AM   #14
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by gmgf View Post
It works here without problem, check that everything is present in /source/kde/kde/, directories and files.
I have downloaded all files except src/, then I manually created src/applications and placed the 2 kdenlive source files. Given the output error of the script, it fails by try running find in that folder looking for all other sources.

Maybe lftp missed downloading something with the "--exclude" option? I will try to redownload using wget or other method and see if it works this time, but it still appears to me that the script is running past the environment variables which ask to skip prechecking all the sources.

Last edited by rinza; 04-07-2024 at 02:52 AM.
 
Old 04-07-2024, 03:06 AM   #15
rinza
Member
 
Registered: Feb 2021
Distribution: Slackware64-current / Plasma
Posts: 32

Original Poster
Rep: Reputation: 2
Unhappy

Yes, something was missing with lftp mirroring process. Now ./kde.SlackBuild applications:kdenlive builds the kdenlive application successfully. Strangely though, it still does not detect aac as available (my ffmpeg is recompiled with several different options, including restricted codecs, and it works normally) and the tracking plugin is missing also. Maybe I should check the configure flags for kdenlive? But where is it stored?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kdenlive (Current) x264 and x265 rendering ReFracture Slackware 3 02-07-2022 02:24 AM
[SOLVED] How to rebuild the corrupted rebuild RPM database pantdk Linux - Server 3 02-19-2015 01:01 AM
Slackware64-current, subpixel patch to rebuild Freetype must be edited gordydawg Slackware 1 08-28-2014 11:50 AM
[BUG] slackware-current, xfce4-terminal needs rebuild with libxcb-util.so.1 bormant Slackware 17 09-14-2013 12:27 PM
tightvnc needs a rebuild in current gapan Slackware 7 06-16-2010 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration