Re: Please review ffmpeg-snapshot

Steve O'Hara-Smith <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Wed, 13 Dec 2006 17:53:54 -0300
César Catrián Carreño <[email protected]> wrote:

> Hi,
> 
> I've just commited ffmpeg-snapshot, this package is a nightly build from
> the SVN repository.

	I tried it on my DragonFly box, and found I had to make a few
changes to get it to build:

	Firstly in the DISTDATE calculation in the Makefile I had to use
gtar ytf instead of tar ztf to handle the bzip2 compressed distfile. I
doubt that this is appropriate everywhere though and I'm not sure what
would be a good way to handle it.

	In options.mk I added two options v4l and bktr with these clauses

.if empty(PKG_OPTIONS:Mv4l)
CONFIGURE_ARGS+=  --disable-v4l
.endif

.if empty(PKG_OPTIONS:Mbktr)
CONFIGURE_ARGS+=  --disable-bktr
.endif

	I get an error in POST_INSTALL phase:

=> Running POST-INSTALL script actions
./+FILES: cannot create
/var/db/pkg.refcount/files/usr/pkg/etc/ffserver.conf/: is a
directory
=> Registering installation for ffmpeg-snapshot-20061218/ ***
Signal 11

Stop.
bmake: stopped in /usr/pkgsrc/wip/ffmpeg-snapshot
*** Error code 1
...

	Finally I added this patch (in my local patches area because I
couldn't get makepatchsum to work) to enable bktr for DragonFly.
$NetBSD$

--- configure.orig      2006-12-18 13:43:53.000000000 +0000
+++ configure
@@ -732,6 +732,16 @@ audio_oss="yes"
 dv1394="no"
 add_cflags "-pthread"
 ;;
+DragonFly)
+v4l="no"
+bktr="yes"
+audio_oss="yes"
+dv1394="no"
+make="gmake"
+CFLAGS="-pthread"
+LDFLAGS="$LDFLAGS -export-dynamic -pthread"
+LIBSUF=".a"
+;;
 BSD/OS)
 video4linux="no"
 video4linux2="no"

	Transcoding works but capture core dumps - I haven't had time to
dig into why yet - probably something has broken the grab_bktr code :(

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pkgsrc-wip-review mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.