On 03/27/2015 06:00 PM, Lorenzo Sutton wrote:
Hi all,
What is the best way in Fedora to handle the following situation?
- Package X depends on package Y
- Package Y is actually installed through custom compiling it (in
$HOME/bin)
- Doing:
yum install X
will want to install Y
Specifically in my case X is kdenlive and Y is ffmpeg.
I compiled ffmpeg manually to have jack audio [1] support by following
the guide on the ffmpeg website [2]. This means ffmpeg is in
~/bin/ffmpeg (also in my PATH). Before doing this I removed (with yum)
ffmpeg. Now if I try to:
yum install kdenlive
it will want to install ffmpeg.
Any suggestions, ideas, pointers are welcome.
Download the srpm for Y. Substitute your configuration/code/options for
the srpm's versions. Build a new, local version of the RPM. Use your
RPM instead of the one in the repos. Make sure that your version is
always > the versions in the repos. (ie, whenever a new version hits
the repos, update/build your version again.)
Thanks
Lorenzo.
[1]
http://www.jackaudio.org/ (ffmpeg will add jack support if it finds
the jack development files)
[2]
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
--
Kevin J. Cummings
kjchome(a)verizon.net
cummings(a)kjchome.homeip.net
cummings(a)kjc386.framingham.ma.us
Registered Linux User #1232 (
http://www.linuxcounter.net/)