From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 21 20:17:13 2007 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20B0416A86C for ; Wed, 21 Feb 2007 20:17: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 D292513C4A7 for ; Wed, 21 Feb 2007 20:17:12 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao101.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070221201711.FQAN2563.eastrmmtao101.cox.net@eastrmimpo01.cox.net>; Wed, 21 Feb 2007 15:17:11 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id SLHB1W00N4iy4EG0000000; Wed, 21 Feb 2007 15:17:11 -0500 Date: Wed, 21 Feb 2007 14:19:20 -0600 To: "Luigi Rizzo" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20070221073447.A89386@xorpc.icir.org> <20070221095911.D90766@xorpc.icir.org> <20070221112414.E91427@xorpc.icir.org> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20070221112414.E91427@xorpc.icir.org> User-Agent: Opera Mail/9.10 (Linux) Cc: multimedia@freebsd.org Subject: Re: speex upgrade to 1.1.12 ? 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: Wed, 21 Feb 2007 20:17:13 -0000 On Wed, 21 Feb 2007 13:24:14 -0600, Luigi Rizzo wrote: > On Wed, Feb 21, 2007 at 01:00:56PM -0600, Jeremy Messenger wrote: >> On Wed, 21 Feb 2007 11:59:11 -0600, Luigi Rizzo wrot= e: >> >> > On Wed, Feb 21, 2007 at 11:56:34AM -0600, Jeremy Messenger wrote: >> >> On Wed, 21 Feb 2007 09:34:47 -0600, Luigi Rizzo = >> wrote: > ... >> >> > Some packages start checking for recent (1.1.x) version of speex= , >> >> After checking, which port are you talking about? I only see one >> (net/opal) and it is not depend on speex-devel by default. Unless, my= = >> grep >> is incorrect? > > linphone originally depends on speex.1.1.12, and there is a patch > in the port to change the test and look for 1.0.5 (which may work, > but while 1.1.x is backward compatible, it is not clear that code > written to use 1.1.12 will be happy to use an older version.) > > ./net/asterisk-bristuff also has a patch to change the path > for the old speex location. So far, that's all. It looks like the net/asterisk-bristuff supports stable and unstable = version by default in its source code when I took a look at = asterisk-bristuff/files/patch-codecs::Makefile? -ULI_SPEEX=3D$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/speex.= h) -ULIS_SPEEX=3D$(wildcard = $(CROSS_COMPILE_TARGET)/usr/local/include/speex/speex.h) +ULI_SPEEX=3D$(wildcard $(CROSS_COMPILE_TARGET)$(LOCALBASE)/include/spee= x.h) +ULIS_SPEEX=3D$(wildcard = $(CROSS_COMPILE_TARGET)$(LOCALBASE)/include/speex/speex.h It only change from /usr/local to LOCALBASE and it looks for stable = version first and unstable second. BTW: I didn't check complete in the tarball, only in files/*. >> >> Get them to depend on speex-devel then. >> > >> > speex and speex-devel are conflicting. >> >> Since, the development version is backwards compatible then you can >> uninstall speex and install speex-devel. All the ports will be still >> thinking that you have speex when you try to install them. Also, we h= ave >> pkgdb/portupgrade and portmaster that are smart enough to take care o= f = >> it >> when you update ports. >> >> You can add a check in Makefile for if speex exists, then mark it as >> IGNORE and tell users to uninstall speex and install speex-devel. > > can it be automated or it requires manually doing things ? Manual. >> > http://downloads.us.xiph.org/releases/speex/ >> > >> > speex-devel is now the 1.2 branch >> > Am i missing something ? >> >> Yes, it is wrong place to check. Why don't you check its website inst= ead >> of that ftp or list of distfiles? > > got it... looks like we should bump speex-devel to 1.2 :) Yep. ;-) If I am going to update it, then will you test it for me? Becau= se = I am deaf. Unless, anyone want to take care of it? >> Anyway, I will be check in several of Linux distros to see what they = = >> have. >> If most of them have 1.1.x, then I guess I will be happy to do the >> speex-devel -> speex. > > doing that check would be great - thanks I haven't check yet, but I will later in the evening or tomorrow depend = on = how much I finish w/ the homeworks/study. To me, it looks like it is not complete backwards compatible if some por= ts = have the hardcore path of header? Because of speex and speex-devel have = a = bit different headers path (see net/asterisk-bristuff for example). If a= ll = of them are using pkg-config then it should be no problem. It might need= = someone to do the build test on all ports with speex-devel. I can ask = portmgr if it's ok for us to do the speex-devel -> speex and let pointyh= at = to find out the build failure then we can take care of breaks while we a= re = there. Or they prefer us to submit PR and let them to run patch in the = experimental build. BTW: I do not know much about speex, so correct me if I am wrong. Cheers, Mezz > luigi -- = 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