public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [PATCH setup 0/3] Setup replacement for incver_ifdep
@ 2015-09-22 15:53 Jon Turney
  2015-09-22 15:53 ` [PATCH setup 2/3] Remove unfinished, unused support for 'autodep:' lines in setup.ini Jon Turney
                   ` (4 more replies)
  0 siblings, 5 replies; 38+ messages in thread
From: Jon Turney @ 2015-09-22 15:53 UTC (permalink / raw)
  To: cygwin-apps; +Cc: Jon Turney

This is an attempt at a setup feature which will allow the removal of the final 
use of 'incver_ifdep' in setup.hint, by _update-info-dir package.

See the discussions starting at around [1],[2] and following, although this 
takes a slightly different approach.

To be clear: IMHO, this functionality doesn't belong in upset or setup.

Since we now have scripts which run on every setup run, a package which requires 
another package to do some work after it is installed or uninstalled can create 
a file to act as a trigger for that to happen.

Unfortunately, it's not very practical to change to doing that for the all 
packages which contain info files, so I am suggesting this approach.

(Further note: autodep is broken in upset.  Many package which should have a 
dependency on _update-info-dir do not have one, and only 19 packages do, so this 
is not working as intended at the moment.

Yes, this means that the autodep on the cygwin package isn't working correctly, 
either.)

[1] https://www.cygwin.com/ml/cygwin-apps/2013-02/msg00152.html
[2] https://www.cygwin.com/ml/cygwin-apps/2015-06/msg00067.html

Jon Turney (3):
  Remove unused regex code
  Remove unfinished, unused support for 'autodep:' lines in setup.ini
  Add support for 'trigger:' lines in setup.ini

 ChangeLog              |   38 +
 IniDBBuilder.h         |    2 +-
 IniDBBuilderPackage.cc |    5 +-
 IniDBBuilderPackage.h  |    2 +-
 Makefile.am            |    7 +-
 cygpackage.cc          |    6 -
 cygpackage.h           |    2 -
 inilex.ll              |    2 +-
 iniparse.yy            |    5 +-
 install.cc             |    4 +
 package_meta.cc        |    3 +
 package_version.cc     |    7 -
 package_version.h      |    2 -
 regex/config.h         |  188 ---
 regex/re_comp.h        |   26 -
 regex/regcomp.c        | 3801 ------------------------------------------
 regex/regex.c          |   74 -
 regex/regex.h          |  575 -------
 regex/regex_internal.c | 1719 -------------------
 regex/regex_internal.h |  770 ---------
 regex/regexec.c        | 4339 ------------------------------------------------
 trigger.cc             |   69 +
 trigger.h              |   42 +
 23 files changed, 169 insertions(+), 11519 deletions(-)
 delete mode 100644 regex/config.h
 delete mode 100644 regex/re_comp.h
 delete mode 100644 regex/regcomp.c
 delete mode 100644 regex/regex.c
 delete mode 100644 regex/regex.h
 delete mode 100644 regex/regex_internal.c
 delete mode 100644 regex/regex_internal.h
 delete mode 100644 regex/regexec.c
 create mode 100644 trigger.cc
 create mode 100644 trigger.h

-- 
2.5.3

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2016-02-06 15:52 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-22 15:53 [PATCH setup 0/3] Setup replacement for incver_ifdep Jon Turney
2015-09-22 15:53 ` [PATCH setup 2/3] Remove unfinished, unused support for 'autodep:' lines in setup.ini Jon Turney
2015-09-22 15:53 ` [PATCH setup 3/3] Add support for 'trigger:' " Jon Turney
2015-09-22 15:54 ` [PATCH setup 1/3] Remove unused regex code Jon Turney
2015-09-22 17:33 ` [PATCH setup 0/3] Setup replacement for incver_ifdep Achim Gratz
2015-09-23 17:17   ` Jon Turney
2015-09-23 18:09     ` Achim Gratz
2015-10-12 13:16 ` Jon Turney
2015-10-12 17:38   ` Achim Gratz
2015-10-15 13:18     ` Jon Turney
2015-10-15 18:01       ` Achim Gratz
2015-10-19 15:41         ` Corinna Vinschen
2015-10-19 17:21           ` Achim Gratz
2015-10-20 10:21             ` Corinna Vinschen
2015-11-23 15:14               ` Jon Turney
2015-11-23 18:54                 ` Achim Gratz
2015-11-24 16:59                   ` Jon Turney
2015-11-24 18:44                     ` Achim Gratz
2015-11-26 10:11                       ` Corinna Vinschen
2015-11-26 18:12                         ` Achim Gratz
2016-01-28 17:33                         ` Jon Turney
2016-01-28 18:06                           ` Achim Gratz
2016-01-28 18:41                             ` [GOLDSTAR] " Corinna Vinschen
2016-01-29 16:37                               ` Andrew Schulman
2016-01-28 18:42                           ` Ken Brown
2016-01-28 20:06                             ` Eric Blake
2016-01-28 20:17                               ` Ken Brown
2016-01-28 20:22                                 ` Eric Blake
2016-01-29 14:22                                   ` Jon Turney
2016-01-29 14:53                                     ` Ken Brown
2016-01-29 19:17                                       ` Achim Gratz
2016-01-29 21:34                                         ` Ken Brown
2016-02-06 14:29                                       ` Ken Brown
2016-02-06 15:31                                         ` Jon Turney
2016-02-06 15:52                                           ` Jon Turney
2015-11-23 15:14         ` Jon Turney
2015-10-19 15:33   ` [GOLDSTAR] " Corinna Vinschen
2015-10-19 21:06     ` Andrew Schulman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).