How to build Debian Experimental source on Trisquel?
- Inicie sesión o regístrese para enviar comentarios
We mentioned HandBrake in another thread and the fact that it includes some non-free code for AAC encoding.
A fully free (as far as I can tell) version of HandBrake exists in Debian Experimental. I tried to install the .deb package in Brigantia but couldn't because of unfulfilled (libavcodec) dependencies. So then I downloaded the source code and tried to figure out how to build it... and failed miserably T that :).
There are actually two downloads on the Debian HandBrake page :
1. The source code : http://ftp.de.debian.org/debian/pool/main/h/handbrake/handbrake_0.9.8+dfsg1.orig.tar.bz2
2. The Debian patches (which for instance remove the non-free AAC encoder) : http://ftp.de.debian.org/debian/pool/main/h/handbrake/handbrake_0.9.8+dfsg1-2.debian.tar.gz
So now I have a ~/handbrake directory, containing two directories: debian and handbrake_0.9.8+dfsg1.
My knowledge of building source code is limited to ./configure, sudo make install / sudo checkinstall, and that didn't help me build that code... Can anyone point me to some step-by-step procedure that will let me generate a local .deb package on my machine from that source code, including of course the Debian patches for that package? Or is there some magic call that does it all in one step?
Thanks.
Have you looked into debootstrap? It allows you to build a complete GNU/Linux system inside of another. I also dont think you use ./configure in this case directly, I could be wrong though. Debian/Ubuntu is supposed to have tools that detect which packages are needed for building. they are contained in the build-essential package.
This page might help:
http://www.debian.org/doc/manuals/maint-guide/build.en.html
and here:
http://wiki.debian.org/HowToPackageForDebian#Building_Debian_packages
Le 2012-12-23 15:31, name at domain a écrit :
> Have you looked into debootstrap? It allows you to build a complete
> GNU/Linux system inside of another. I also dont think you use
> ./configure in this case directly, I could be wrong though.
> Debian/Ubuntu is supposed to have tools that detect which packages are
> needed for building. they are contained in the build-essential package.
>
> This page might help:
> http://www.debian.org/doc/manuals/maint-guide/build.en.html
> and here:
> http://wiki.debian.org/HowToPackageForDebian#Building_Debian_packages
Not sure debootstrap is needed, but the two links you posted seem to be
just what I need. Will look into them. Thank you very much!
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I use this ppa
https://launchpad.net/~stebbins/+archive/handbrake-releases without
any problem to convert my DVD´s to MKV and work like a charm.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBAgAGBQJQ13/0AAoJEDAtO92k6pOV2WEH/1nP7oaY7WQGvMdblCGb8GzQ
I6XLeJh0lVtbD7N1IP6QPmkMXBEkQanqGVH2dGfXqhcIA1yYcXCeLSCRvZYoN5O7
WBSGOZh1WjU4YUdVAcDQWuopqaV7rzJ7YwscyfVCBkglwzQFcVZEiqEzIn66qaFR
YA9KkoRzN9n2wddoB4go59tGYCL/lRwXgldCalkdvd/25MGyvBHAvQehHq0Ces0M
m/7Gp+/veb8AqDkwwAQMHjTcS4yQwQtz1ndE68c0U0IChFoafIk9/OlpeYvC5+Xo
o/LT7lwZhwt2Anj5qVTZRSXa8bcggZYJVMLvEBNIswg3+BiNrt1CwLF1nbaKz1w=
=X+2Y
-----END PGP SIGNATURE-----
Le 2012-12-23 17:04, Roberto Rodríguez a écrit :
> I use this ppa
> https://launchpad.net/~stebbins/+archive/handbrake-releases without
> any problem to convert my DVD´s to MKV and work like a charm.
Me too - but the version of Handbrake in this ppa seems to contain
non-free code (faac encoder). It's a fantastic program and I am
currently using it with the AAC (ffpmpeg) encoder, which has no
code-freedom issues. The version of HandBrake in Debian Experimental is
patched in order to remove all non-free dependencies, hence my question.
- Inicie sesión o regístrese para enviar comentarios