Hi,
I'm normally a heavy user of transcode under Linux and tried to compile
transcode for fink on Snow Leopard x86_64. The standard info file didn't
work anymore, because some dependencies can not longer be fullfilled. I
changed the info-file locally and at least transcode compiled without
any problems. I just used some small applications to test transcode and
it worked fine, but a more generalized test is necessary. The changed
info-file is attached to the mail and I hope this file can be inserted
in the main fink repository.
Cheers,
Oliver
--
(O> (0- _o) -O)
//\ //\ /\\ /\\
V_/_ V_/_ _\_V _\_V
Dr. Oliver-M. Cordes E-Mail: [email protected]
WWW-URL: http://www.astro.uni-bonn.de/~ocordes/
Argelander Institut fuer Astronomie
Universitaet Bonn Phone: (49) 228 / 73-5656
Auf dem Huegel 71 Mobile: (49) 177 / 7995768
D - 53121 Bonn Germany Fax: (49) 228 / 73-3672
Private address: Zukunftsweg 10 , D - 53343 Wachtberg-Villiprott
Private phone: (49) 228 / 7482582
Package: transcode
Version: 1.1.0
Revision: 1
Depends: <<
a52dec-shlibs,
amrnb-shlibs,
bzip2-shlibs,
faac-shlibs,
freetype219-shlibs (>= 2.3.8-2),
imagemagick2-shlibs,
lame-shlibs,
libavcodec51-shlibs,
libavformat52-shlibs,
libavutil49-shlibs,
libdv4-shlibs,
libdvdread.3-shlibs,
libfaad1-shlibs,
libiconv,
libjpeg-shlibs,
libogg-shlibs,
libpostproc51-shlibs,
libquicktime1-shlibs,
libtheora0-shlibs,
libvorbis0-shlibs,
libx264-57-shlibs,
libxml2-shlibs,
lzo2-shlibs,
mpeg2dec-shlibs,
sdl-shlibs (>= 1.2.9-1001),
x11-shlibs,
xvidcore-shlibs
<<
#BDep:d-b-f avoids IBD from imagemagick and similar messes
BuildDepends: <<
a52dec-dev,
amrnb-dev,
faac-dev,
dpkg-base-files,
fink (>= 0.24.12),
freetype219 (>= 2.3.8-2),
imagemagick2-dev,
lame-dev,
libavcodec-dev,
libavformat-dev,
libavutil-dev,
libdv4,
libdvdread.3,
libfaad1-dev,
libiconv-dev,
libjpeg,
libogg,
libpostproc-dev,
libquicktime1,
libtheora0,
libvorbis0,
libx264-dev,
libxml2,
lzo,
mpeg2dec,
mpeg2dec-dev,
pkgconfig,
sdl (>= 1.2.9-1001),
x11-dev,
xvidcore
<<
#Source: http://www.jakemsr.com/transcode/transcode-%v.tar.gz
Source: http://download.berlios.de/tcforge/%n-%v.tar.bz2
Source-MD5: 5ca205e32b546402a48ea8004a7b3232
PatchScript: <<
#!/bin/sh -ev
%{default_script}
sed -i.bak -e '/^have_sdl\=\"no\"/,/confdefs/s,^if test
x\"\$have,have_sdl=yes\
&,' configure
perl -pi -e 's,have_x86cpu=true,have_x86cpu=false,; s,#define ARCH_X86
1,#undef ARCH_X86,' configure
perl -pi -e 's,libpostproc/postprocess.h,postproc/postprocess.h,g'
configure filter/filter_pp.c
# fink's current pkgs consolidate headers in ffmpeg/ but pkg
# here wants each in separate...easier to make compatbility
# links than to patch all the source files.
mkdir libavcodec
ln -s %p/include/ffmpeg/avcodec.h libavcodec
mkdir libavformat
ln -s %p/include/ffmpeg/avformat.h libavformat
mkdir libavutil
ln -s %p/include/ffmpeg/avutil.h libavutil
# ... but do need to patch configure detection itself since
# that does not pass any local -I
perl -pi -e 's,libavformat/avformat.h,ffmpeg/avformat.h,g' configure
perl -pi -e 's,libavcodec/avcodec.h,ffmpeg/avcodec.h,g' configure
perl -pi -e 's,-lXv,-L/usr/X11R6/lib -lXv,' filter/preview/Makefile.in
<<
SetCFLAGS: -O3 -fstrict-aliasing
SetCXXFLAGS: -O3 -fstrict-aliasing
ConfigureParams: <<
--mandir=%p/share/man \
--enable-libavcodec \
--with-libavcodec-prefix=%p \
--enable-libavformat \
--enable-libmpeg2 \
--with-libmpeg2-prefix=%p \
--enable-libpostproc \
--with-libpostproc-prefix=%p \
--enable-freetype2 \
--with-freetype2-prefix=%p \
\
--with-lame-prefix=%p \
--enable-ogg \
--enable-vorbis \
--enable-theora \
\
--with-libdvdread-prefix=%p \
--enable-libdv \
--enable-libquicktime \
--enable-lzo \
--with-lzo-prefix=%p \
--enable-a52 \
--with-a52-prefix=%p \
--enable-faac \
--with-faac-prefix=%p \
--enable-libxml2 \
--disable-mjpegtools \
--enable-sdl \
--enable-imagemagick \
\
--with-libjpeg-prefix=%p \
\
--with-iconv-prefix=%p \
--enable-xio
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: AUTHORS COPYING ChangeLog README STYLE TODO
#
Description: Video Stream Processing Tool
DescDetail: <<
Transcode is a suite of tools, all of which are command line utilities,
for transcoding various video, audio, and container formats, running on
a platform that supports shared libraries and threads. Decoding and
encoding is done by loaded modules that are responsible for feeding
transcode with raw video/audio streams (import modules) and encoding the
frames (export modules). It includes a variety of video and audio filters,
including (but not limited to) video de-interlacing, audio resampling,
framerate conversion, different video resizing algorithms, smoothing,
sharpening, denoisifying, and cutting.
<<
DescPackaging: <<
- the "enable-sdl" needs the last item in the PatchScript.
- oss can't be enabled: is broken on Tiger ("conficting types" in soundcard.h).
- similarly for libdivxdecore ( by adding "-I/sw/include/divx" to the CPPFLAGS).
- most of the prefixes in the Configureparams are there just by precaution,
since configure inserts otherwise a default "/usr", resulting in a number
of flags -I/usr/include or -L/usr/lib in the build, which might ("random
order..")
create somewhere an undesired effect (eg linking one of the items with
libiconv
in /usr instead of in %p).
Formerly maintained by Christian Schroeder
Fink's libpostproc headers are in %p/include/postproc, not
%p/include/libpostproc as transcode is expecting. Not sure if
expecting or require newer libpostproc version than fink has.
Doesn't build with current mjpegtools in fink (needs newer
one?)
Hardcodes -lXv in a makefile, ignoring some related autoconf
detection, so need to hardcode -L for it there too.
<<
License: GPL
Maintainer: None <[email protected]>
Homepage: http://www.transcoding.org/
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel