delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/26/09:13:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 26 Mar 2004 09:12:51 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: How can I list all the software that have been insatlled to cygwin?
In-Reply-To: <20040326043337.GA14028@redhat.com>
Message-ID: <Pine.GSO.4.56.0403260906130.20922@slinky.cs.nyu.edu>
References: <034401c41092$0a6a1310$1fc4c2ca AT hhw100> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040322235142 DOT 0288ac20 AT 127 DOT 0 DOT 0 DOT 1> <Pine DOT GSO DOT 4 DOT 56 DOT 0403230922570 DOT 6127 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT GSO DOT 4 DOT 56 DOT 0403230926320 DOT 6127 AT slinky DOT cs DOT nyu DOT edu> <005201c41153$d33fad60$1fc4c2ca AT hhw100> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040323225851 DOT 03c809c0 AT 127 DOT 0 DOT 0 DOT 1> <009801c4115c$522f46f0$1fc4c2ca AT hhw100> <20040324050427 DOT GA4871 AT redhat DOT com> <4063B039 DOT 8020301 AT x-ray DOT at> <20040326043337 DOT GA14028 AT redhat DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 25 Mar 2004, Christopher Faylor wrote:

> On Fri, Mar 26, 2004 at 05:23:21AM +0100, Reini Urban wrote:
> >Christopher Faylor schrieb:
> >>On Wed, Mar 24, 2004 at 12:56:01PM +0800, hhw wrote:
> >>>When I do "make install ",cygwin does not record something about my
> >>>install infomation like windows's register?
> >>
> >>Correct.  It doesn't work that way.
> >
> >Unless someone provides a patch to make which records the current
> >dirname in a secret registry key or logfile, whenever ever the target
> >"install" is called. :)
>
> If someone supplied a patch like that it would be rejected.  It really is
> not something that should be handled by make.
> --
> Christopher Faylor

Since we're throwing wild ideas into the air, how about this one: once
libsetup is available (the extract of setup's essential functionality
minus the GUI), one could come up with a "register-program-with-setup"
command-line utility that could be called from the "make install" rule.
Of course, this would require the modification of the original sources,
and is completely alien to the way Linux does things, but it could be
borderline useful for some select applications (e.g., Cygwin projects
distributed separately, like KDE or CyGnome).

I suspect setup's functionality might need to be modified to also invoke a
specified uninstall program, although preremove scripts *could*
concievably be used for this (but *very* carefully, since they're run at a
brittle point in the uninstall process).  Alternatively, the preremove
functionality could be revamped to run preremove scripts in reverse
dependency order before actually removing any files (this one's just for
the archives).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019