This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I list all the software that have been insatlled to cygwin?

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).
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]