From Mailing list: On 26/10/04 18:54 -0700, Jacob Meuser wrote I am proud to announce the release of transcode-0.6.13! The release tarball can be found here: http://www.jakemsr.com/transcode-0.6.13.tar.gz The message-digest fingerprints for the tarball are: MD5 (transcode-0.6.13.tar.gz) = 1efb0ab1bf1a244c8db78d63bd652263 RMD160 (transcode-0.6.13.tar.gz) = 8bc679ee982e16f6ff161443ed27995ef779fe10 SHA1 (transcode-0.6.13.tar.gz) = d8e47b2e68b2c7c67c8dfa202a45ed19cbe89fc7 Below is a sample Ebuild. Seems like it now works with -mfpmath=sse as I compiled and installed sucueddfully with it. I added a few flags to the myconf that should be acceptable to enable since they are dependencies in the ebuild OggVorbis flags should be added but I don't have those libs installed on this computer Subrip is now a seperate package completely so I took that part out as it is no longer distributed as a contrib The only other thing that might need more work is that on compile time it reports the configure as *snip* avifile API support no *snip* even though my use flags has avi enabled So without any further babling here is the ebuild I hacked from the earlier 0.6.12 ebuild Please be nice its my first ever Ebuild # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.12.ebuild,v 1.6 2004/06/25 00:51:14 agriffis Exp $ inherit libtool flag-o-matic eutils MY_P="${P/_pre/.}" S=${WORKDIR}/${MY_P} DESCRIPTION="video stream processing tool" HOMEPAGE="http://zebra.fh-weingarten.de/~transcode/" SRC_URI="http://vtel.rgv.net/~ahze/dist/${MY_P}.tar.gz http://www.jakemsr.com/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc amd64" IUSE="sdl mmx mpeg sse 3dnow encode X quicktime avi altivec" DEPEND=">=media-libs/a52dec-0.7.4 =sys-devel/gcc-3* >=media-libs/libdv-0.99 x86? ( >=dev-lang/nasm-0.98.36 ) >=media-libs/libdvdread-0.9.0 >=media-video/ffmpeg-0.4.6 >=media-libs/xvid-0.9.1 >=media-video/mjpegtools-1.6.0 >=dev-libs/lzo-1.08 >=media-libs/libfame-0.9.0 >=media-gfx/imagemagick-5.5.6.0 media-libs/netpbm X? ( virtual/x11 ) avi? ( >=media-video/avifile-0.7.38 ) avi? ( x86? ( >=media-libs/divx4linux-20030428 ) ) mpeg? ( media-libs/libmpeg3 ) ncode? ( >=media-sound/lame-3.93 ) sdl? ( media-libs/libsdl ) quicktime? ( virtual/quicktime )" src_unpack() { unpack ${A} cd ${S} if has_version '>=media-libs/netpbm-9.13' then einfo "New netbpm (>9.12)..." sed -i 's:-lppm:-lnetpbm:' \ contrib/subrip/Makefile else einfo "Old netbpm (<=9.12)..." fi } src_compile() { filter-flags -maltivec -mabi=altivec local myconf="--with-dvdread --enable-mjpegtools --with-mjpegtools --enable-imagemagick" # fix invalid paths in .la files of plugins elibtoolize if use quicktime; then has_version 'media-libs/openquicktime' \ && myconf="${myconf} --with-openqt --without-qt" \ || myconf="${myconf} --without-openqt --with-qt" fi # Use the MPlayer libpostproc if present [ -f ${ROOT}/usr/lib/libpostproc.a ] && \ [ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \ myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/lib" econf \ CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1" \ `use_enable mmx` \ `use_enable sse` \ `use_enable 3dnow` \ `use_enable altivec` \ `use_with avi avifile-mods` \ `use_enable avi avifile6` \ `use_enable encode lame` \ `use_enable mpeg libmpeg3` \ `use_enable X x` \ ${myconf} \ || die # workaround for including avifile haders, which are expected # in an directory named "avifile" use avi \ && avi_inc=$(avifile-config --cflags | sed -e "s|^-I||") \ && [ -d "$avi_inc" ] \ && [ "$(basename "$avi_inc")" != "avifile" ] \ && ln -s "$avi_inc" avifile emake -j1 all || die } src_install () { make \ DESTDIR=${D} \ install || die dodoc AUTHORS COPYING ChangeLog README TODO } Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: >>> media-video/transcode-0.6.13 merged. Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r2, 2.6.8.1-ck9) ================================================================= System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) MP 2000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -mmmx -msse -m3dnow -mfpmath=sse -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -funroll-loops -mmmx -msse -m3dnow -mfpmath=sse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups divx4linux dvd dvdr dvdread encode f77 foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad matrox mikmod mmx motif mpeg ncurses network nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xprint xv xvid zlib"
Blah well after more work looks like I have solved my own problems. Seems like avifile support is now pretty easy. and none of the hack stuff left in there was actually doing anything for 0.6.13 Cool and I had left in a remenent of the subrip stuff. Not fatal but ugly none the less. So here is the current ebuild I'm using and it seems to be good though all I have two boxes set up VERY similar so testing is kinda limited. I'm also going to add it as an attachment # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.12.ebuild,v 1.6 2004/06/25 00:51:14 agriffis Exp $ inherit libtool flag-o-matic eutils MY_P="${P/_pre/.}" S=${WORKDIR}/${MY_P} DESCRIPTION="video stream processing tool" HOMEPAGE="http://zebra.fh-weingarten.de/~transcode/" SRC_URI="http://vtel.rgv.net/~ahze/dist/${MY_P}.tar.gz http://www.jakemsr.com/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc amd64" IUSE="sdl mmx mpeg sse 3dnow encode X quicktime avi altivec" DEPEND=">=media-libs/a52dec-0.7.4 =sys-devel/gcc-3* >=media-libs/libdv-0.99 x86? ( >=dev-lang/nasm-0.98.36 ) >=media-libs/libdvdread-0.9.0 >=media-video/ffmpeg-0.4.6 >=media-libs/xvid-0.9.1 >=media-video/mjpegtools-1.6.0 >=dev-libs/lzo-1.08 >=media-libs/libfame-0.9.0 >=media-gfx/imagemagick-5.5.6.0 media-libs/netpbm X? ( virtual/x11 ) avi? ( >=media-video/avifile-0.7.38 ) avi? ( x86? ( >=media-libs/divx4linux-20030428 ) ) mpeg? ( media-libs/libmpeg3 ) ncode? ( >=media-sound/lame-3.93 ) sdl? ( media-libs/libsdl ) quicktime? ( virtual/quicktime )" src_unpack() { unpack ${A} cd ${S} } src_compile() { filter-flags -maltivec -mabi=altivec local myconf="--with-dvdread --enable-mjpegtools --with-mjpegtools --enable-imagemagick" # fix invalid paths in .la files of plugins elibtoolize if use quicktime; then has_version 'media-libs/openquicktime' \ && myconf="${myconf} --with-openqt --without-qt" \ || myconf="${myconf} --without-openqt --with-qt" fi if use quicktime; then myconf="${myconf} --enable-avifile --with-avifile" fi # Use the MPlayer libpostproc if present [ -f ${ROOT}/usr/lib/libpostproc.a ] && \ [ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \ myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/lib" econf \ CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1" \ `use_enable mmx` \ `use_enable sse` \ `use_enable 3dnow` \ `use_enable altivec` \ `use_enable encode lame` \ `use_enable mpeg libmpeg3` \ `use_enable X x` \ ${myconf} \ || die emake -j1 all || die } src_install () { make \ DESTDIR=${D} \ install || die dodoc AUTHORS COPYING ChangeLog README TODO }
Created attachment 42669 [details] The second version of the ebuild. Much better with actual avifile support The second version of the ebuild. Much better with actual avifile support
Well I found a TON more bugs in my ebuild above. I am working on making the ebuild work. Right now all that is left is mplayer import module
Never mind actually read the transcode ebuild that is in portage 0.6.13 in protage works for me
Transcode 0.6.14 has been released a couple of days ago and the ebuild for 0.6.13-r1 seemed to work fine with it without the bitstream patch. However, there are still few issues I'm having problems with in transcode 0.6.13+. As I outlined in bug 71992 (http://bugs.gentoo.org/show_bug.cgi?id=71992) we need some more use flags (or maybe enable those as they were in <=0.6.12 ?) for other applications, such as gv4l.
Maybe include --enable-v4l --enable-gtk --enable-sdl when X we got use flag? Just a thought...
Transcode-0.6.14 is in portage, including (hopefully all) the mentioned changes. Please test and open new bugs if needed. Cheers, Marc.