From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: Software/HD ecology Date: 21 Dec 2002 09:13:52 +0900 Organization: Global Online Japan Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87wum4w7nj.fsf@tc-1-100.kawasaki.gol.ne.jp> References: <041220020952400758%ajanta@no.spam> <071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu> <091220021652087216%ajanta@no.spam> <111220021101520860%ajanta@no.spam> <111220021253524057%ajanta@no.spam> <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam> <87u1hjdwta.fsf@hurd.crasseux.com> <121220021324043990%ajanta@no.spam> <171220021132381961%ajanta@no.spam> <3DFFA457.1020103@rcn.com> <844r9b3exh.fsf@lucy.cs.uni-dortmund.de> <87y96m3xhg.fsf@tc-1-100.kawasaki.gol.ne.jp> <1mr8ceoypu.fsf@Tempo.Update.UU.SE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040429756 8996 80.91.224.249 (21 Dec 2002 00:15:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Dec 2002 00:15:56 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18PXJ4-0002Kk-00 for ; Sat, 21 Dec 2002 01:15:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18PXIj-00050B-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 20 Dec 2002 19:15:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!newsfeed1.dti.ad.jp!jpix!newsfeed.gol.com!203.216.70.8.MISMATCH!not-for-mail Original-Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: tc-2-212.kawasaki.gol.ne.jp Original-X-Trace: nnrp.gol.com 1040429636 16582 203.216.25.212 (21 Dec 2002 00:13:56 GMT) Original-X-Complaints-To: abuse@gol.com Original-NNTP-Posting-Date: Sat, 21 Dec 2002 00:13:56 +0000 (UTC) System-Type: i686-pc-linux-gnu Original-Xref: shelby.stanford.edu comp.sys.mac.apps:349433 gnu.emacs.help:108384 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4913 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4913 Fredrik Staxeng writes: > >Those seem like pretty reasonable ideas; in more concrete form, perhaps > >they could be added to the GNU programming standards or something. > > I think that right thing is a gnu-install program. This would be > called from install targets in the makefiles. It would log the > files installed, and then you could do gnu-uninstall emacs. The GNU coding standards in general do not presume any external non-standard dependencies -- that is, everything they say can theoretically be accomplished given only the package in question -- and specify _what_ you should do rather than the mechanism by which you should do it. So certain package might want to use a `gnu-install' program that does the book-keeping for them to meet the coding standards, but they'd have to have their own copy of that program in their distribution (though they needn't actually use it if their configure script detects a native version). Other packages may choose to simply do it another way. It might be useful for users to have a `gnu-uninstall' program, but such a thing should be an optional additional package that uses the basic information provided by each package, as specified by coding standards. > I think that undo logic has to be derived automatically. Manually > writing things like that too error-prone, especially if they need > ongoing maintenance. That's true, and maybe this would mean that most packages would end up using a standard `gnu-install' program/script -- but it should be up to the package to decide. -Miles -- `...the Soviet Union was sliding in to an economic collapse so comprehensive that in the end its factories produced not goods but bads: finished products less valuable than the raw materials they were made from.' [The Economist]