Commit Graph

903 Commits

Author SHA1 Message Date
Mattia Barbon
4ae1af0588 Check for Pango XFT presence (for wxX11).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:13:37 +00:00
Robert Roebling
3314e67b6a Remove linking to libgnomeprint since we
load it at runtime now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:57:43 +00:00
Stefan Neis
5bef7b5828 Separated MinGW and OS/2 specific tests for -DNO_GCC_PRAGMA since conditions
are slightly different.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 19:38:11 +00:00
Stefan Neis
937e42a324 Reuse workaround for MinGW's problems with pragma interface/implementation
and STL support on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 18:42:15 +00:00
Václav Slavík
9755e73bd9 applied modified patch with native GTK wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Václav Slavík
ffa762ff49 fixed libgnomeprint check to fail if libgnomeprint is too old
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 21:09:54 +00:00
Vadim Zeitlin
5886b072a8 fixed va_copy test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 13:46:33 +00:00
Ryan Norton
fa9ad408a1 generate mediaplayer sample in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:43:32 +00:00
David Elliott
031e91607b Added Mac OS support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 06:47:58 +00:00
Ron Lee
0210f37397 Tagged DEBIAN_2_5_3_2 for release testing. Bumped subversion to 2.5.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 13:09:09 +00:00
Ron Lee
e653e18150 Bump WX_CURRENT back to 3, this must stay the same as
wx_release_number until bakefile is fixed to unlink the
the soversion from it.  Ideally of course it should track
binary incompatible releases instead.

Update the Debian scripts to suit the new site-packages
location for wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 11:39:03 +00:00
Ron Lee
d51253e844 Patch from MJW for ssize_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:06:44 +00:00
Robin Dunn
369b9aad15 Not sure how you can print audio, so I expect that this was a typo. ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 01:16:14 +00:00
Ryan Norton
7e4a1c28d5 correctly generate wxUSE_MEDIACTRL define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 14:43:50 +00:00
Ron Lee
a98bf0c0df I really don't have to point out what went wrong here, do I?
Ryan, please fix this problem at the source, this is not funny
anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 07:16:28 +00:00
Ryan Norton
35b5814155 directshow checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 06:17:14 +00:00
Ryan Norton
103e759554 configure changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 05:44:57 +00:00
Robin Dunn
2cbbc68d20 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:28:29 +00:00
Vadim Zeitlin
db1d019338 better (more precise) values for wxGetOsDescription() (patch 1047539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 22:08:37 +00:00
Vadim Zeitlin
abb9aae7ac use wx_release_number instead of WX_CURRENT in Mac .r and .rsrc file names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 17:17:04 +00:00
Robert Roebling
45fb81e556 define EXTRALIBS_GNOMEPRINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 19:02:11 +00:00
Robert Roebling
7c72311fe1 Added --with-gnomeprint and its wxUSE_LIBGNOMEPRINT
Removed the now obsolete test for FT2 (FreeType)
    which was used by the Pango based printing which
    I removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 18:40:51 +00:00
Ron Lee
ffa0583fbf Update for rpath with uninstalled builds and utility search.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 06:25:12 +00:00
Vadim Zeitlin
78a9e10da1 updated version to 2.5.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-23 14:56:35 +00:00
Vadim Zeitlin
68e24a7b28 replace post-linking commands with true, not #, for the platforms for which they don't make sense: this allows to use things like wx-config --rezflags directly in makefiles and not only with autoconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 11:45:06 +00:00
David Elliott
f1d9e1ec6b wxCocoa: Added wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 22:52:28 +00:00
Václav Slavík
6537ccf8cd don't create makefiles for nonexistent utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 16:27:15 +00:00
Ryan Norton
f7e98dee7e cocoa doesn't need system framework - string conversion for cocoa - focus for cocoa - a bit of change for string unit tests for new functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 02:02:30 +00:00
Ryan Norton
207bc66c38 remove blatant hack from configure and do proper checking for stuff wxCocoa does not support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 17:22:56 +00:00
Ryan Norton
c228d3a4c2 cache mac and cocoa builds - so if you pick cocoa one time and don't specify it the next it will properly go back to cocoa, not default to mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 01:59:46 +00:00
Ryan Norton
2619179042 cocoa tooltips. Remove runtime warning from 10.2 (dave - I was too lazy to change this from my local copy, feel free to commit over this if you want)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:09:47 +00:00
Vadim Zeitlin
ba3d13e1c8 use AC_LINK to check for va_copy, not AC_COMPILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 20:31:34 +00:00
Vadim Zeitlin
8fa53e0eee added tests for va_copy and va_list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:33:34 +00:00
Ron Lee
7714864e2f Update the wx-config man page.
Remove some cruft from the docs package.
Bump version in configure.
Update aclocal.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:07:08 +00:00
Julian Smart
927330abae Incremented version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 07:48:17 +00:00
Vadim Zeitlin
4ebb542f72 added HAVE_REINTERPRET_CAST detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:46:05 +00:00
Ryan Norton
5dcf30a03f IOKit framework now req. under darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 13:07:39 +00:00
Ron Lee
dd21ced8dc Restore WXBASEPORT for carbon. This is more than just a flavour
in all the ways mac is typically more than, so it can stay a mac'ism
until the easier platforms shake out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 06:39:37 +00:00
Ron Lee
0506bbbfdf Undo the link creation in builddir. contrib is still going to be
here for a while so there isn't much paydirt in working around the
problems on platforms with limited filesystems at this stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 11:56:48 +00:00
Ron Lee
ecd16d74ce Get rid of the symlink farm in $builddir too, contrib is here
to stay for a while.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 16:00:21 +00:00
Václav Slavík
d2ebf0b730 XRC needs wxXML, check it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 09:14:07 +00:00
Ron Lee
9103d280f9 Install the config files for cross debs under /usr/$(host), but link them
to the default system location under /usr.  This way the commands:
wx-config --prefix=/usr/$(host) and wx-config --prefix=/usr --host=$(host)
are much more congruent in their action.

Another nail in the coffin for inplace hacks.  Link $srcdir/include to
the build dir so that --prefix=$build_dir really does point to a
realistic looking installed development environment.  I don't know why
I didn't do this instead of (ab)using --exec-prefix to 'fix' this
simple omission for so long.  Probably because it is much more obvious
if contrib is out of the picture.  That makes it a little more work
right now, but long term this is a very clean and correct thing to do.
It completely absolves us of the two independent variables problem,
and of the tree becoming bogus without actually being stale.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 20:29:51 +00:00
Ron Lee
fdec35499d Add xrc to the dist target.
Bump subrelease to 2.5.2.9.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 21:54:57 +00:00
Ron Lee
ceec2216bd 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
2004-09-21 17:16:29 +00:00
Václav Slavík
9a8f051375 moving XRC to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 19:30:20 +00:00
Włodzimierz Skiba
92bbdbcdb8 wxChoicebook generic implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 15:13:52 +00:00
Vadim Zeitlin
4d4ff94c65 output "GTK+ 2" toolkit for gtk2 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 15:33:07 +00:00
Stefan Neis
6944b203c4 Untabified (TABs seem to cause strange problems with autoconf-2.59, at least
on OS/2.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 20:09:09 +00:00
Václav Slavík
44309ea126 autoconf >= 2.58 is needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 17:27:16 +00:00
Stefan Neis
97e54bdb9b Check for socklen_t type using C++ mode (since gsocket.cpp is now C++ code).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 17:15:04 +00:00