This is the mail archive of the cygwin-apps 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: [PATCH 1/4] setup.exe


Christopher Faylor writes:
> Actually, it needs to detect when a DLL is being installed.  AFAIK,
> that's it.

The first part (detecting when a file of a certain type or in a certain
location gets installed) was never in question.  But you also need to
ensure that the package that contains the autorun script is actually
installed at the most recent version.  At least that is the behaviour
that autodep+upset does produce and my assumption is that any
integration into setup.exe needs to keep it that way.

>  I don't think detecting when a package is being deleted
> really matters.

I don't think I talked about deinstallation.  In any case it wouldn't
matter for autodep; at least not if it continues to work like it already
does.

> You can certainly parse regex's in c++ without relying on std::regex.

Sure, but do you have a suggestion on exactly how?  Whatever library
gets chosen it would need to be linked into the executable.

> Huh?  That would not help with the very case that we're talking about -
> dlls.

Autodep is used three times (if I counted correctly) in the current
distribution.  One is for cygwin, which we don't really need it since it
is already taken care of in a different way in setup.exe.  The other two
are for _autorebase and _update_info.  Of these, one regex matches on
files having certain extensions and the other matches on files installed
into directories having certain path prefixes.  So having a way to
specify these two cases without using a regex would satisfy the current
uses of autodep â or am I missing something?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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