obgr_seneca wrote:About adding handbrake to the repos: It's a nogo at the moment, iirc, because it is tainted and contains nonfree software.
# make
/bin/mkdir -p libhb/
/usr/bin/m4 -Iproject ../libhb/project.h.m4 > libhb/project.h
/bin/cp ../libhb/eedi2.h libhb/eedi2.h
/bin/cp ../libhb/hbffmpeg.h libhb/hbffmpeg.h
/bin/cp ../libhb/hb_dict.h libhb/hb_dict.h
/bin/cp ../libhb/downmix.h libhb/downmix.h
/bin/cp ../libhb/ports.h libhb/ports.h
/bin/cp ../libhb/bits.h libhb/bits.h
/bin/cp ../libhb/taskset.h libhb/taskset.h
/bin/cp ../libhb/dvd.h libhb/dvd.h
/bin/cp ../libhb/lang.h libhb/lang.h
/bin/cp ../libhb/common.h libhb/common.h
/bin/cp ../libhb/internal.h libhb/internal.h
/bin/cp ../libhb/deccc608sub.h libhb/deccc608sub.h
/bin/cp ../libhb/encx264.h libhb/encx264.h
/bin/cp ../libhb/mcdeint.h libhb/mcdeint.h
/bin/cp ../libhb/hb.h libhb/hb.h
/bin/mkdir -p ../download/
/usr/bin/wget -O ../download/a52dec-0.7.4.tar.gz http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz
--2012-06-05 19:19:34-- http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz
Преобразувам download.handbrake.fr (download.handbrake.fr)... 88.190.242.142
Connecting to download.handbrake.fr (download.handbrake.fr)|88.190.242.142|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 200 OK
Дължина: 242978 (237K) [text/plain]
Saving to: `../download/a52dec-0.7.4.tar.gz'
100%[==================================>] 242.978 618K/s in 0,4s
2012-06-05 19:19:35 (618 KB/s) - `../download/a52dec-0.7.4.tar.gz' saved [242978/242978]
/bin/mkdir -p contrib/a52dec/
/bin/rm -fr ./contrib/a52dec/a52dec/
/bin/gtar xfC ../download/a52dec-0.7.4.tar.gz ./contrib/a52dec/
touch contrib/a52dec/.stamp.extract
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A00-dpl2.patch
patching file include/a52.h
patching file liba52/a52_internal.h
patching file liba52/downmix.c
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A02-imdct-shutup.patch
patching file liba52/imdct.c
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A01-thread-safe.patch
patching file liba52/a52_internal.h
patching file liba52/imdct.c
patching file liba52/parse.c
touch contrib/a52dec/.stamp.patch
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/usr/local/src/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/usr/local/src/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
/bin/sh: autoreconf: command not found
make: *** [contrib/a52dec/.stamp.configure] Error 127
urpmi autoconf
# make
/usr/bin/m4 -Iproject ../libhb/project.h.m4 > libhb/project.h
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/usr/local/src/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/usr/local/src/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
Can't exec "aclocal": Няма такъв файл или директория at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
make: *** [contrib/a52dec/.stamp.configure] Error 1
urpmi automake
# make
/usr/bin/m4 -Iproject ../libhb/project.h.m4 > libhb/project.h
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/usr/local/src/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/usr/local/src/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
make: *** [contrib/a52dec/.stamp.configure] Error 1
make clean
# make clean
/bin/rm -f ./libhb/project.h ./libhb/denoise.o ./libhb/common.o ./libhb/taskset.o ./libhb/bd.o ./libhb/vfr.o ./libhb/downmix.o ./libhb/decmpeg2.o ./libhb/declpcm.o ./libhb/encvorbis.o ./libhb/deblock.o ./libhb/hb_dict.o ./libhb/hb.o ./libhb/dectx3gsub.o ./libhb/encavcodecaudio.o ./libhb/deca52.o ./libhb/decsrtsub.o ./libhb/ports.o ./libhb/decssasub.o ./libhb/dvd.o ./libhb/rendersub.o ./libhb/demuxmpeg.o ./libhb/decavcodec.o ./libhb/batch.o ./libhb/enclame.o ./libhb/decpgssub.o ./libhb/sync.o ./libhb/decvobsub.o ./libhb/rotate.o ./libhb/muxmp4.o ./libhb/muxmkv.o ./libhb/fifo.o ./libhb/scan.o ./libhb/decomb.o ./libhb/cropscale.o ./libhb/lang.o ./libhb/update.o ./libhb/decmetadata.o ./libhb/encavcodec.o ./libhb/mcdeint.o ./libhb/decutf8sub.o ./libhb/dvdnav.o ./libhb/muxcommon.o ./libhb/stream.o ./libhb/encfaac.o ./libhb/eedi2.o ./libhb/deccc608sub.o ./libhb/enctheora.o ./libhb/decdca.o ./libhb/work.o ./libhb/detelecine.o ./libhb/encvobsub.o ./libhb/deinterlace.o ./libhb/encx264.o ./libhb/reader.o ./libhb/eedi2.h ./libhb/hbffmpeg.h ./libhb/hb_dict.h ./libhb/downmix.h ./libhb/ports.h ./libhb/bits.h ./libhb/taskset.h ./libhb/dvd.h ./libhb/lang.h ./libhb/common.h ./libhb/internal.h ./libhb/deccc608sub.h ./libhb/encx264.h ./libhb/mcdeint.h ./libhb/hb.h ./libhb/libhb.a
/bin/rm -f ./test/test.o ./test/parsecsv.o ./HandBrakeCLI
make -C ./gtk/ clean
make: *** gtk/: No such file or directory. Stop.
make: *** [gtk.clean] Error 2
urpmi lib64gtk+2.0-devel
urpmi task-c-devel task-c++-devel
# Building Handbrake From Source For Mageia 2 x86_64
# Updated June 6, 2012 to include bug fixes
#
# Internet connection required
#
# Run as root on command line of your Mageia 2 x86_64 machine:
# OPTIONAL - update Mageia 2 x86_64 installation media and packages:
#
# urpmi.removemedia -a
# urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.2.x86_64.list'
# urpmi --auto-update
# REQUIRED - install required Mageia 2 x86_64 packages for building Handbrake:
urpmi --auto task-c-devel task-c++-devel gcc python curl \
m4 make patch tar wget subversion yasm lib64zlib-devel \
lib64bzip2-devel lib64fribidi-devel ndesk-dbus-glib-devel \
lib64gudev1.0-devel lib64webkitgtk1.0-devel \
lib64webkitgtk3.0-devel libnotify-devel lib64gstreamer0.10-devel \
lib64gstreamer-plugins-base0.10-devel intltool gettext-devel \
gettext-base autoconf automake lib64gtk+2.0-devel
# Get latest Handbrake trunk code :
cd /usr/local/src
svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunk
# Start build (Option A or B):
## Option A - read advanced build instructions first:
#
# cd hb-trunk/doc/
# more BUILD-Linux
## Option B - begin Mageia 2 x86_64 Handbrake build right away:
cd hb-trunk
./configure
# Run make but *** DO NOT *** use make -j4 or other parallel
# build options! Handbrake warns that corruption would probably
# occur and it does!
make
make install
# Verify that the new Handbrake binaries exist:
cd /usr/local/bin
ls -l|egrep "ghb|HandBrakeCLI"
# Put that cocktail down, it is time to test your new Handbrake
# installation! The new "ghb" binary is the GUI version of Handbrake
# so you can create menu items, icons as needed. The new
# "HandBrakeCLI" binary is the command line version of Handbrake,
# which is great for putting into shell scripts
# OPTIONAL - Delete the build directory since it is no longer needed:
rm -rf /usr/local/src/hg-trunk
urpmi --buildrequires ./handbrake-0.9.6-1mga1.tainted.src.rpm
urpmi rpm-build
rpmbuild --rebuild handbrake-0.9.6-1mga1.tainted.src.rpm
richard58 wrote:About adding hand brake to the repos: It's a no-go at the moment, circ, because it is tainted and has non free software.
HandBrake 0.9.8 Released!
Wednesday, July 18, 2012
Return to The magician suggests...
Users browsing this forum: No registered users and 1 guest