Commit Graph

68 Commits

Author SHA1 Message Date
Kevin Ollivier
29d61827e1 For the wxPython headers, we need to copy SWIG files like the other platforms do so that wxPython extensions can be built.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 17:11:30 +00:00
Robin Dunn
8bf4f38300 first stab at forward porting deb build changes. There is probably more still to do...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 23:05:55 +00:00
Robin Dunn
30e24d9dd5 fix building/running of tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 20:40:50 +00:00
Vadim Zeitlin
b87c345b32 --with-gnomeprint not needed any longer, it's the default now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 22:41:46 +00:00
Robin Dunn
b4eecebd42 Another package name fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 15:55:57 +00:00
Robin Dunn
97e716f808 revert part of my recent change, fixing the libwxbase and libwxgtk
package names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 00:22:18 +00:00
Vadim Zeitlin
6a7d17a272 avoid unneeded use of cat in the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 09:32:24 +00:00
Robin Dunn
63044ee7fe Get the version numbers from configure.in, which should always be correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:56:55 +00:00
Robin Dunn
71064d3871 If there is already a set of HTML docs built in the tarball, there is
no need to build them again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:52:37 +00:00
Robin Dunn
bdf784d93b Split the Python wxaddons package into its own package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:48:59 +00:00
Vadim Zeitlin
f2b5c15796 add paths to wxBase libs to dh_shlibdeps invocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 14:30:35 +00:00
Vadim Zeitlin
9998504e53 added missing unicode_suffix's to more packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 13:50:36 +00:00
Vadim Zeitlin
0ee8fbacae include bakefile presets in wx-common
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 23:15:38 +00:00
Vadim Zeitlin
24cdcc884e added compatible_release variable which is just major.minor for stable releases and major.minor.micro for the development ones; use it for wxpydir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 16:07:47 +00:00
Vadim Zeitlin
9c65b7a588 binary-gtk targets now also make base packages they depend on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 14:03:17 +00:00
Vadim Zeitlin
6890c56e85 --enable-debug shouldn't be in COMMON_CONFIGURE_OPTIONS, it's used for dbg packages only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:35:33 +00:00
Vadim Zeitlin
6b2c5736c9 added support for building non-Unicode packages which can be installed in parallel with the (official) Unicode ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:33:52 +00:00
Robin Dunn
8e05125981 enable sound and mediactrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:37:08 +00:00
Vadim Zeitlin
b945df0092 added WX_UNICODE and WX_OPENGL options which can be used to build packages without Unicode/OpenGL; as a side benefit all configure arguments are now centralized in one place instead of being repeated many times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 18:06:44 +00:00
Robin Dunn
6de5430bc6 Updated debian-dist and debian package scripts from 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 22:22:02 +00:00
Vadim Zeitlin
9372855d19 fixed python-related files names after they had been apparently renamed in the cvs 4 months ago; fixed broken sed command syntax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 12:12:01 +00:00
Ron Lee
109898eaad Update standards version. Rip out wxrcedit cruft. Fix wxpyver dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-23 07:55:23 +00:00
Ron Lee
910cdf92e3 oops, 'ze hand is quicker zan vi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-23 03:41:07 +00:00
Ron Lee
d103642201 Restore the no longer default, sensible defaults.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-23 00:44:25 +00:00
Ron Lee
eedbe99970 Remove static libs from package build.
Trim configure options to reflect new defaults.
Make i18n package conflict/replace.  Not my first choice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 13:30:06 +00:00
Ron Lee
c7ff293b42 Enable gnomeprint support for the .debs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 12:38:16 +00:00
Ron Lee
8ec45325ea Add extra^2 debug mode to wx-config for brute force one pass debugging
of new platforms.

Import $EGREP from configure, posix `grep -E` is not endemic yet.

Clean up debian/rules for removed afm files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 08:53:36 +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
3b57de8b1f Fixes for wxPython site-packages location.
Fixed and baked unchecked mediaplayer.bkl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 07:00:51 +00:00
Ron Lee
41d8b0c9ca gtk2 is the default now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-09 17:52:09 +00:00
Ron Lee
46ec284e56 Add man page link for pywxrc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-09 17:37:12 +00:00
Ron Lee
fdefae196a Clean up the soversion/flavour labelling of binary runtime packages.
Split out a common wxPython package so the runtime support for it
doesn't need to conflict any more either.

Makefile.in was apparently committed from out of date bakefiles
so it is included here again too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 05:14:55 +00:00
Ron Lee
a13a7f891a Add support for legacy 2.4 installs to wx-config.
Add /utils/wxrc to the dist target and fix some things that still
think it is in contrib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 13:28:25 +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
Ron Lee
148e141b23 Enable concurrent installs of runtime packages after a soname change.
Add a common package for afm metrics, and other 'static' data and utilities.
Remove the version/flavour from afm installs on unix as discussed with Vaclav,
these files really do never change.
Mention --static along with other selection options in --help.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 14:47:08 +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
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
Ron Lee
6181913e8e Ported forward improvements from the 2.4.2.6 release.
This still won't build new 2.5 packages yet, but it is changes
that will happen anyway so I'm checkpointing the diff here.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-06 04:51:11 +00:00
Ron Lee
5259a4179c Remove demos from the Debian -examples package.
Replace html lib in tex2rtf build, it is needed for any platform
where wxHelpController == wxHtmlHelpController.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 09:45:10 +00:00
Ron Lee
b63b07a809 More updates to the Debian packaging for wxPython, unicode and
the project name change.

Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.

Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.

Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.

Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.

Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.

Added missing newline at the end of fontdlg.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Ron Lee
e1293dcf96 Updates for debian build scripts to suit new library and tool status.
Updated config.{sub,guess} for new platform support.
Incorporated fixes to GNU/Hurd support and added GNU/K*BSD support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 07:10:36 +00:00
Ron Lee
8ddf18dd0d Updates to packaging from the 2.4.0.2 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:20:13 +00:00
Ron Lee
094e328c21 Changes resulting from the 2.4.0 release run.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 03:50:44 +00:00
Ron Lee
0ecfbbea12 Incorporate changes from 2.4 release.
Bump standards version.
Update overrides for 2.5
Disable generation of gtk-univ package.
Update wx-config manpage.
Add wxPython-tools manpage(s).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 22:51:42 +00:00
Ron Lee
8155b6405f Update packaging for 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:16:10 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Ron Lee
fdb599058d Updates for 2.3.3 debs.
Typo fix for start of local event id's.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:33:12 +00:00
Ron Lee
0d7b3f0a80 updated for changes to wxPython and contrib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 20:19:55 +00:00
Ron Lee
7631414188 Added WX_DEFINE_*_USER_EXPORTED_ARRAY macros for external dlls.
updated debian scripts to build with python2.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 11:33:50 +00:00
Ron Lee
f1687ed8ad add lintian override for -univ hybrid package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 02:31:40 +00:00