[aur-general] CinelerraCV patch
Hubert Korpulski
agaihubert at interia.pl
Mon Jun 23 07:39:53 EDT 2008
Hello,
I've tried compile the newest revision of CinelerraCV (rev.1058) but it stops
with numerous errors.
Firstly, cinelerra-cv-swscaler.patch it's not needed yet because it's added to
official tree.
Here's error that I've received during compilation:
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
Same error is here http://bugs.gentoo.org/show_bug.cgi?id=227299
So I've made a patch:
--- hvirtual-build/libmpeg3/video/Makefile
+++hvirtual-build/libmpeg3/video /Makefile
@@ -172,6 +172,6 @@ LIBX264_LIBS = -lx264
LIPO =
LN_S = ln -s
-LTCXX_FLAGS =
-LTC_FLAGS =
+LTCXX_FLAGS = --tag=CXX
+LTC_FLAGS = --tag=CC
LTLIBICONV = -liconv
LTLIBINTL =
--- hvirtual-build/mpeg2enc/Makefile
+++hvirtual-build/mpeg2enc/Makefile
@@ -174,6 +174,6 @@ LIBX264_LIBS = -lx264
LIPO =
LN_S = ln -s
-LTCXX_FLAGS =
-LTC_FLAGS =
+LTCXX_FLAGS = --tag=CXX
+LTC_FLAGS = --tag=CC
LTLIBICONV = -liconv
LTLIBINTL =
Changes in PKGBUILD:
...
msg "SVN checkout done or server timeout"
cp -r $_svnmod $_svnmod-build
cp -r makefilepatch.patch $_svnmod-build
cd $_svnmod-build
./autogen.sh -i
if [ "$CARCH" = "x86_64" ]; then
./configure --prefix=/usr --with-buildinfo=svn/recompile --with-external-ffmpeg --disable-mmx
else
./configure --prefix=/usr --with-buildinfo=svn/recompile --with-external-ffmpeg --enable-mmx
fi
# here I insert patch
patch -Np1 -i $startdir/src/$_svnmod-build/makefilepatch.patch || return 1
make || return 1
...
I'm not a programmer so that's why it looks so but it works.
ArchHK
----------------------------------------------------------------------
Gdzie warto jechac na urlop? Sprawdz!
kliknij >>> http://link.interia.pl/f1e32
More information about the aur-general
mailing list