From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 26 17:39:10 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 20A9B16A40A for ; Mon, 26 Feb 2007 17:39:10 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 6855513C4C2 for ; Mon, 26 Feb 2007 17:39:08 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1573972nfc for ; Mon, 26 Feb 2007 09:39:00 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=euf89HQktmJSro2FpwaUlMk+Pchg1OXzwL0lYnJlE54d+vymNEL9FkMQTI6pVwmTmFcNlCq15BsBq56k6lR7DRI1HqQHueFgqcbOcPyURNISId46XOPJyRPqA0fLB76uz8tyQ6bAn1MYTq7N5O1IidPuGRZR62/Rxyc8/GFVqlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=MJ/zJXgE/urCsFL6Q//PI3qmJK7XzuL1R20oYr/c5/z1Omu5+XI8+krsk3yNogL7TsS4jjkgvrFBep9v4P7Gw4KzVOwH3DqFv2+ai8li+AzVQbCpbCI+ueNFXW5X4t24lhocnVOJuzUzRPrXNWZ2HQDOsi2q7VivTa98r8xFtDk= Received: by 10.82.114.3 with SMTP id m3mr1857657buc.1172511540524; Mon, 26 Feb 2007 09:39:00 -0800 (PST) Received: by 10.82.112.15 with HTTP; Mon, 26 Feb 2007 09:39:00 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2007 12:39:00 -0500 From: "Michael Johnson" Sender: buhnux@gmail.com To: "Mikhail Teterin" In-Reply-To: <200702261157.27266@aldan> MIME-Version: 1.0 References: <200702260942.27062@aldan> <200702261157.27266@aldan> X-Google-Sender-Auth: beb3a4b110579618 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: multimedia@freebsd.org, mezz@freebsd.org Subject: Re: improving vlc-devel 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, 26 Feb 2007 17:39:10 -0000 On 2/26/07, Mikhail Teterin wrote: > > On Monday 26 February 2007 11:13, Michael Johnson wrote: > = That's not the reason we use LibName.LibVersion in VLC. VLC and many > other > = programs hard link to LibName.LibVersion, we keep the LibVersion in > there so > = it reduces the amount of bug reports we get. > = > = Here is an example if libx264.so.50 changes to libx264.so.99 (I chose > x264 > = since we patch it to control the LibVersion number to reduce the number > of > = rebuilds on VLC and mplayer) > > [...] > > = I'm open to a patch that makes VLC link to LibName.so instead of > = LibName.so.LibVersion. > > Michael, you are not even wrong... FreeBSD's run-time linker's behaviour > and > port's dependencies are different domains and have little to do with each > other. I know they are different, but here is an example in why I like using .LibVersion with the Makefile. - User-X has x264-20061010 installed with libx264.so.1 - I update x264 to 20070202 which bumps the LibVersion, with libx264.so.2 - I bump PORTREVISION in vlc, mplayer, etc to chase LibVersion bump in the Makefile and in the actual program. - User-X updates his ports tree but doesn't run portupgrade and wants to install vlc This way there will be an error saying "hey we can't find libx264.so.2, update" Why is this important? - When User-X decides to run portupgrade he won't have any surprises like missing libraries after the upgrade (ie: libx264.so.1). This assumes you don't use the library backup feature in portupgrade, which isn't found in programs like portmaster (AFAIK) - This helps enforce people are using the latest "Supported" version of a port. This is especially important when you're dealing with a port with so many depends. Michael If you don't have an actual example of breakage from the changes I propose, > please, just take my word for it... -mi >