]> git.saurik.com Git - wxWidgets.git/commit - samples/printing/Makefile.in
wx-config2.6
authorRon Lee <ron@debian.org>
Tue, 21 Sep 2004 17:16:29 +0000 (17:16 +0000)
committerRon Lee <ron@debian.org>
Tue, 21 Sep 2004 17:16:29 +0000 (17:16 +0000)
commitceec2216bd3c65103e51a4ed9927f90fc1291d9c
treeb62fc05d765fbac950864b0e8cd849afac56460b
parent6d06e061dc11140151be2914c30c759ee15e3fe7
wx-config2.6

Designed to be resiliant against future cut and paste coders.  Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble.  In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs.  Functions now all have api
descriptions.  If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.

Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer.  Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future.  In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied.  If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested.  At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.

Removed references to --gl-libs in --help.  It still exists, but if
its deprecated, no need to fill space in a compact help summary.  It
will remain documented (as deprecated) in the man page.

Removed references to arcane order rules for arguments.  Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.

Removed references to --inplace, it doesn't need to be in the summary
help either.  It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly.  When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case).  If you do type it when you don't need it, bad things will
probably happen just like they always would have.

Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging.  If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.

Command line input is now controlled by a small generic parser.  You
define what options you want and what groups you want them in by
initialising them as lists.  It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.

Added a validator for it to check yes/no options.

Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.

Made --list more user friendly.  It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix.  Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called.  We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.

Delegation.  Too big a topic to remark on in depth here, see the code
for a fuller description.  With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified.  This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.

Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.

Added the inplace-config tweak for use in the build tree.  This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed.  It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with.  In that event, it will try to delegate as per the
normal rules.

The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs.  It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)

Enabled full support for static builds again, promoted --static to a
full feature option.  Fixed --ld to return something for them too.

Added --flavour, similar to the existing --vendor, but for autoconf
builds.  These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.

Fix bit rot in make-dist due to new/deleted files.

Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution.  Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about.  Remove extra files and symlinks added for the two
part wx-config version.

Removed the debian -contrib packages.  We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required.  This means the retained contribs will
now get __WXDEBUG__ versions packaged too.

Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.

Added support for flavoured debs as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
183 files changed:
Makefile.in
autoconf_inc.m4
build/bakefiles/common.bkl
build/bakefiles/common_contrib.bkl
build/bakefiles/config.bkl
build/bakefiles/expat.bkl
build/bakefiles/jpeg.bkl
build/bakefiles/make_dist.mk
build/bakefiles/png.bkl
build/bakefiles/regex.bkl
build/bakefiles/tiff.bkl
build/bakefiles/wx.bkl
build/bakefiles/zlib.bkl
configure
configure.in
contrib/samples/animate/Makefile.in
contrib/samples/deprecated/proplist/Makefile.in
contrib/samples/deprecated/resource/Makefile.in
contrib/samples/deprecated/treelay/Makefile.in
contrib/samples/fl/Makefile.in
contrib/samples/foldbar/foldpanelbar/Makefile.in
contrib/samples/gizmos/dynsash/Makefile.in
contrib/samples/gizmos/dynsash_switch/Makefile.in
contrib/samples/gizmos/editlbox/Makefile.in
contrib/samples/gizmos/led/Makefile.in
contrib/samples/gizmos/multicell/Makefile.in
contrib/samples/gizmos/splittree/Makefile.in
contrib/samples/mmedia/Makefile.in
contrib/samples/ogl/ogledit/Makefile.in
contrib/samples/ogl/studio/Makefile.in
contrib/samples/plot/Makefile.in
contrib/samples/stc/Makefile.in
contrib/samples/svg/Makefile.in
contrib/samples/xrc/Makefile.in
contrib/src/animate/Makefile.in
contrib/src/deprecated/Makefile.in
contrib/src/fl/Makefile.in
contrib/src/foldbar/Makefile.in
contrib/src/gizmos/Makefile.in
contrib/src/mmedia/Makefile.in
contrib/src/net/Makefile.in
contrib/src/ogl/Makefile.in
contrib/src/plot/Makefile.in
contrib/src/stc/Makefile.in
contrib/src/svg/Makefile.in
contrib/src/xrc/Makefile.in
contrib/utils/convertrc/Makefile.in
contrib/utils/wxrc/Makefile.in
contrib/utils/wxrcedit/Makefile.in
debian/README.Debian
debian/changelog
debian/control.in
debian/libwxgtk-contrib-dev.menu [deleted file]
debian/libwxgtk-dbg.links [deleted file]
debian/libwxgtk-dbg.postinst
debian/libwxgtk-dbg.prerm
debian/libwxgtk-dev.links [deleted file]
debian/libwxgtk-dev.menu [new file with mode: 0644]
debian/libwxgtk-dev.postinst
debian/libwxgtk-dev.prerm
debian/libwxgtk-python.postinst
debian/libwxgtk-python.prerm
debian/libwxmsw-dbg.dirs [deleted file]
debian/libwxmsw-dbg.links [deleted file]
debian/libwxmsw-dbg.postinst
debian/libwxmsw-dbg.prerm
debian/libwxmsw-dev.dirs [deleted file]
debian/libwxmsw-dev.links [deleted file]
debian/libwxmsw-dev.postinst
debian/libwxmsw-dev.prerm
debian/lintian-override [deleted file]
debian/lintian-override.in [new file with mode: 0644]
debian/rules
debian/wx-doc.doc-base
debian/wx-headers-msw.dirs [deleted file]
demos/bombs/Makefile.in
demos/dbbrowse/Makefile.in
demos/forty/Makefile.in
demos/fractal/Makefile.in
demos/life/Makefile.in
demos/poem/Makefile.in
make-deb
samples/access/Makefile.in
samples/artprov/Makefile.in
samples/calendar/Makefile.in
samples/caret/Makefile.in
samples/checklst/Makefile.in
samples/config/Makefile.in
samples/console/Makefile.in
samples/controls/Makefile.in
samples/db/Makefile.in
samples/dialogs/Makefile.in
samples/dialup/Makefile.in
samples/display/Makefile.in
samples/dnd/Makefile.in
samples/docview/Makefile.in
samples/docvwmdi/Makefile.in
samples/dragimag/Makefile.in
samples/drawing/Makefile.in
samples/dynamic/Makefile.in
samples/erase/Makefile.in
samples/event/Makefile.in
samples/except/Makefile.in
samples/exec/Makefile.in
samples/font/Makefile.in
samples/grid/Makefile.in
samples/help/Makefile.in
samples/htlbox/Makefile.in
samples/html/about/Makefile.in
samples/html/help/Makefile.in
samples/html/helpview/Makefile.in
samples/html/htmlctrl/Makefile.in
samples/html/printing/Makefile.in
samples/html/test/Makefile.in
samples/html/virtual/Makefile.in
samples/html/widget/Makefile.in
samples/html/zip/Makefile.in
samples/image/Makefile.in
samples/internat/Makefile.in
samples/ipc/Makefile.in
samples/joytest/Makefile.in
samples/keyboard/Makefile.in
samples/layout/Makefile.in
samples/listbox/Makefile.in
samples/listctrl/Makefile.in
samples/mdi/Makefile.in
samples/memcheck/Makefile.in
samples/menu/Makefile.in
samples/mfc/Makefile.in
samples/minifram/Makefile.in
samples/minimal/Makefile.in
samples/mobile/styles/Makefile.in
samples/mobile/wxedit/Makefile.in
samples/multimon/Makefile.in
samples/nativdlg/Makefile.in
samples/notebook/Makefile.in
samples/oleauto/Makefile.in
samples/opengl/cube/Makefile.in
samples/opengl/isosurf/Makefile.in
samples/opengl/penguin/Makefile.in
samples/ownerdrw/Makefile.in
samples/png/Makefile.in
samples/printing/Makefile.in
samples/propsize/Makefile.in
samples/regtest/Makefile.in
samples/render/Makefile.in
samples/richedit/Makefile.in
samples/rotate/Makefile.in
samples/sashtest/Makefile.in
samples/scroll/Makefile.in
samples/scrollsub/Makefile.in
samples/shaped/Makefile.in
samples/sockets/Makefile.in
samples/sound/Makefile.in
samples/splash/Makefile.in
samples/splitter/Makefile.in
samples/statbar/Makefile.in
samples/stc/Makefile.in
samples/svg/Makefile.in
samples/tab/Makefile.in
samples/taskbar/Makefile.in
samples/text/Makefile.in
samples/thread/Makefile.in
samples/toolbar/Makefile.in
samples/treectrl/Makefile.in
samples/typetest/Makefile.in
samples/validate/Makefile.in
samples/vscroll/Makefile.in
samples/widgets/Makefile.in
samples/wizard/Makefile.in
samples/xrc/Makefile.in
src/stc/Makefile.in
tests/Makefile.in
utils/HelpGen/src/Makefile.in
utils/configtool/src/Makefile.in
utils/emulator/src/Makefile.in
utils/helpview/src/Makefile.in
utils/hhp2cached/Makefile.in
utils/tex2rtf/src/Makefile.in
utils/wxrc/Makefile.in
wx-config-inplace.in [new file with mode: 0644]
wx-config-wrapper.in [deleted file]
wx-config.in