From owner-freebsd-emulation@FreeBSD.ORG Wed Jan 11 15:53:14 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40A4116A41F for ; Wed, 11 Jan 2006 15:53:14 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D7CE43D45 for ; Wed, 11 Jan 2006 15:53:12 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FD58.dip.t-dialin.net [84.165.253.88]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k0BFlmMm068470; Wed, 11 Jan 2006 16:47:49 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0BFr7Hh035478; Wed, 11 Jan 2006 16:53:07 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 11 Jan 2006 16:53:07 +0100 Message-ID: <20060111165307.lz00xrvhw8w8okok@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 11 Jan 2006 16:53:07 +0100 From: Alexander Leidinger To: Boris Samorodov References: <20060110202542.7e049c4c@Magellan.Leidinger.net> <20060111095954.c710azp5c0wwwkcg@netchild.homeip.net> <71140889@srv.sem.ipt.ru> In-Reply-To: <71140889@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org, paul beard Subject: Re: having some trouble with linux-pango X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 15:53:14 -0000 Boris Samorodov wrote: > Yes, there is a PR on the matter: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/85254 > > Pay attention to followups. The linux X11 port was modifying a file which belongs to the linux_base port. The value it added was fixed (the path to the linux X11 lib directory) and doesn't result in any breakage when added in the linux_base port. Modifying the contents of a file which does belong to another port results in warnings because of a changed MD5 sum when the file is deinstalled without the removal of the corresponding line by the port which added the line. Files from other ports shouldn't be touched if not absolutely necessary. Additionally the linux X11 port not only added one directory, it generated the file completely at install time (so it was possible to add a directory, the user may not wanted to add), but didn't resurrected the original file at deinstall time. In this case it isn't necessary to touch the file if the directory is included in the file at installation time of the linux_base port. Adding the entry to the file in the linux_base port was easy and solved 2 problems (adding and removing the entry to/from the file). It would have been possible to write code which does it correctly, but you have to consider all possible cases. This wouldn't have been as easy as the current solution, and you don't have to fear to have missed a case. It also solved an "distraction" (the warning of a changed file on upgrade). Summary: doing it the way it is is better than to do it the way it was before. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Are we THERE yet? My MIND is a SUBMARINE!!