Re: Please review ffmpeg-snapshot

César Catrián Carreño <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Mon, 18 Dec 2006 16:00:21 +0000
Steve O'Hara-Smith <[email protected]> wrote:
>
> 	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.

It will have to be partial hardcoded by now. I've not found yet a way to put
${TAR} without problems.

>
> 	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

Are those disabling options required to build? I can build the package here
without those options.

> 	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
> ...

I am unable to reproduce it here or in the chroot.

> 	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"

The patch is added.

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

May the files/ in the multimedia/ffmpeg package are useful, please try when
you can, as I don't have the chance to try a grab.

--
César Catrián Carreño

-------------------------------------------------------------------------
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
signature.asc (application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iD8DBQFFjTbb0CA0DpFTlnERAr1cAKCrk1cLPtOMdtxuX0X4fjSgPdrciwCdFSd1
I8hgZ7zsVKHSMhcEzi6zu4I=
=4e7y
-----END PGP SIGNATURE-----
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.