From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 3 04:16:13 2007 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24D1516A417 for ; Mon, 3 Dec 2007 04:16:13 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id BD3DB13C442 for ; Mon, 3 Dec 2007 04:16:12 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071203041612.WCPC5378.eastrmmtao101.cox.net@eastrmimpo01.cox.net>; Sun, 2 Dec 2007 23:16:12 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id L4Fe1Y00B4iy4EG0000000; Sun, 02 Dec 2007 23:15:39 -0500 Date: Sun, 02 Dec 2007 22:21:07 -0600 To: "Jona Joachim" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20071203015449.207c1f33@hcl-club.lu> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20071203015449.207c1f33@hcl-club.lu> User-Agent: Opera Mail/9.24 (Linux) Cc: multimedia@freebsd.org Subject: Re: HandBrake post-0.7.1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 04:16:13 -0000 On Sun, 02 Dec 2007 18:54:49 -0600, Jona Joachim wrote: > Hi! > > The version of HandBrake in the ports is 0.7.1. This version doesn't > build anymore because it is incompatible with the recent versions of > ffmpeg and mpeg4ip. Yep, it's too bad. > I tried porting handbrake 0.9.1 but I encountered several difficulties: > Handbrake doesn't rely on libraries installed on the system when it > builds. Instead it will download the source code for all necessary > libraries, build them and then statically link the whole stuff into a > big handbrake binary. > > The patches of the multimedia/handbrake port heavily modify the > handbrake Makefile to actually use system libraries instead of > downloading everything. Correct, it's why I am not going to work on multimedia/handbrake anymore like I did in past. > I was told on IRC that this is *strongly* disencouraged. It shouldn't be > done with 0.7.1 and it is actually impossible with versions after 0.7.1 > because they apply a lot of handbrake specific patches to the different > libraries before building them. With the 0.7.1, it used works great. I have taken a look at 0.9x in past. I knew that I can't do same thing what ahze and I did with 0.7x, because of too much specific patches in 0.9x. > While that method works well on Linux, we as FreeBSD people have a > problem in that these multimedia libraries (ffmpeg, ogg/vorbis, > matroska, ...) need FreeBSD specific patches to build. The handbrake > port would have to include all those patches for the different > libraries. I tried to make it work but it was very frustrating. I believe that it can be done by tweak in Makefile to fetch these tarballs on our own rather than use HandBrake's script. Also copy all of patches from other ports to patch in these different libraries then build these stuff. But it's too much of work and I have no interest in HandBrake anymore. > However there is one advantage to the statical linking: the resulting > binary can run standalone without any dependency/library problems. > That's why I would recommend the creation of a linux-handbrake port. > The Linux binary that you can download from their site works under > Linux compatibility without any problem on FreeBSD. > > What's your point of view on this? Create a linux-handbrake port is a great idea. You should create linux-handbrake and submit it to PR. BTW: I am planning to add DEPRECATED/EXPIRATION_DATE in multimedia/handbrake for maybe two months before remove from our ports tree. Cheers, Mezz > Best regards, > Jona -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org