LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   svn ffmpeg: No man file?? (http://www.linuxquestions.org/questions/slackware-14/svn-ffmpeg-no-man-file-623007/)

andrew.46 02-22-2008 05:24 AM

svn ffmpeg: No man file??
 
Hi,

I have installed the latest svn ffmpeg using the slackbuilds.org script. Tell me I am not imagining that there is no man file in the source?

Andrew

Alien Bob 02-22-2008 12:48 PM

Dunno about the build at SlackBuilds.org, but my packaged version of ffmpeg SVN (20071209) has man pages for ffmpeg, ffplay and ffserver.
See http://www.slackware.com/~alien/slackbuilds/ffmpeg/ - a ffmpeg.SlackBuild script is available too.

Eric

andrew.46 02-22-2008 03:14 PM

Hi,

Thanks Bob, the script does not look quite as epic as your vlc script, but it is close :-)

Quote:

Originally Posted by Alien Bob (Post 3066395)
Dunno about the build at SlackBuilds.org, but my packaged version of ffmpeg SVN (20071209) has man pages for ffmpeg, ffplay and ffserver.
See http://www.slackware.com/~alien/slackbuilds/ffmpeg/ - a ffmpeg.SlackBuild script is available too.

Eric

I built ffmpeg from the svn of February 22nd 2008, might be a good case for downgrading.

Andrew

andrew.46 02-22-2008 04:17 PM

Hi,

Well I have just downgraded significantly to FFmpeg version SVN-r10652 and still no man pages therefore I am doing something stupid I guess. I am using the slackbuild script:

http://slackbuilds.org/slackbuilds/1...peg.SlackBuild

and I have not approached slackbuilds because to my untutored eyes the script looks fine. Mind you I have never had trouble with man pages before. Any thoughts?

Edit: Found the man pages all uninstalled: ffmpeg-doc.texi, ffplay-doc.texi etc. So I am obviously missing something to generate these files?

Andrew

Alien_Hominid 02-23-2008 01:41 AM

Do you have texinfo?

andrew.46 02-23-2008 03:25 PM

Hi,

Thanks for your reply:

Quote:

Originally Posted by Alien_Hominid (Post 3066958)
Do you have texinfo?

I do, but the ffmpeg-users have shown me what should be going on:

Code:

root@ilium/home/andrew/source/ffmpeg/ffmpeg-20080223# make -n documentation
texi2html -monolithic -number doc/ffmpeg-doc.texi
mv ffmpeg-doc.html doc/ffmpeg-doc.html
texi2html -monolithic -number doc/faq.texi
mv faq.html doc/faq.html
texi2html -monolithic -number doc/ffserver-doc.texi
mv ffserver-doc.html doc/ffserver-doc.html
texi2html -monolithic -number doc/ffplay-doc.texi
mv ffplay-doc.html doc/ffplay-doc.html
texi2html -monolithic -number doc/general.texi
mv general.html doc/general.html
texi2html -monolithic -number doc/hooks.texi
mv hooks.html doc/hooks.html
doc/texi2pod.pl doc/ffmpeg-doc.texi doc/ffmpeg.pod
pod2man --section=1 --center=" " --release=" " doc/ffmpeg.pod > doc/ffmpeg.1
doc/texi2pod.pl doc/ffplay-doc.texi doc/ffplay.pod
pod2man --section=1 --center=" " --release=" " doc/ffplay.pod > doc/ffplay.1
doc/texi2pod.pl doc/ffserver-doc.texi doc/ffserver.pod
pod2man --section=1 --center=" " --release=" " doc/ffserver.pod > doc/ffserver.1
rm doc/ffserver.pod doc/ffplay.pod doc/ffmpeg.pod

Oddly enough I have texi2html and pod2man and I can accomplish the above manually but not automatically with make.

Edit:: Wooo hooo!!! Solved!!! pod2man was on my path but texi2html was squirreled away in /usr/share/texmf/bin/texi2html and not in roots path. This halted the whole generation of html docs and man pages, without error. All fixed now.

This might explain why the html docs were not added to the slackbuilds script, as they were not generated in the first place :-)

Andrew

andrew.46 02-23-2008 06:04 PM

Hi (again) eric,

I see you have come across the 'where is texi2html?' problem before:

http://www.slackware.com/~alien/slac...emu.SlackBuild

I have appropriated this part of your script for my own ffmpeg script, with thanks!

Andrew


All times are GMT -5. The time now is 10:37 AM.