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
This commit is contained in:
Ron Lee
2004-03-05 17:40:38 +00:00
parent a0af0d98b5
commit b63b07a809
46 changed files with 1351 additions and 1173 deletions

53
debian/wx-config.1 vendored
View File

@@ -1,6 +1,6 @@
.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows"
.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
.SH NAME
wx-config \- generate compile time info for wxWindows
wx-config \- generate compile time requirements for wxWidgets applications
.SH SYNOPSIS
.nh
.B wxbase\-config
@@ -8,11 +8,11 @@ wx-config \- generate compile time info for wxWindows
.B wxgtk\-config
.HP
.B wx\-config
[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
[\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename]
.SH DESCRIPTION
\fIwx\-config\fP is a tool to determine the compiler and linker
flags required for applications using the \fIwxWindows\fP toolkit(s).
flags required for applications using the \fIwxWidgets\fP toolkit(s).
.PP
\fIwx\-config\fP is normally a symlink to one of the port\-specific
versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
@@ -26,31 +26,32 @@ mechanism.
.SH OPTIONS
.l
\fIwx\-config\fP accepts the following options:
.TP 8
.TP 15
.B \-\-version
What to
.B ALWAYS
include in a bug report.
.br
( But of course you already knew that ... )
.TP 8
.B \-\-libs
Generate linker flags for a \fIwxWindows\fP program.
.TP 8
.TP 15
.B \-\-libs[=LIBS]
Generate linker flags for a \fIwxWidgets\fP program.
The optional argument is a comma separated list of the wxWidgets libraries
to link with. You may include contrib libs here too. If no argument is
given it will assume you wish to link all 'core' libraries.
.TP 15
.B \-\-cflags
Generate compiler flags for the same.
.TP 8
.TP 15
.B \-\-cc
Output the name of the C compiler \fB$(CC)\fP.
.TP 8
.TP 15
.B \-\-cxx
Output the name of the C++ compiler \fB$(CXX)\fP.
.TP 8
.TP 15
.B \-\-ld
Output the Linker command \fB$(LD)\fP.
.TP 8
.TP 15
.B \-\-prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
was built with when computing the output for the \-\-cflags and
\-\-libs options. This option is also used for the exec prefix
if \-\-exec\-prefix was not specified. This option must be specified
@@ -58,27 +59,33 @@ before any \-\-libs or \-\-cflags options.
.br
.nh
.HP
(Translation: this is the root path to the \fIwxWindows\fP headers \-\- [Ron])
(Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
.hy
.TP 8
.TP 15
.B \-\-exec\-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that
\fIwxWindows\fP was built with when computing the output for the \-\-cflags
\fIwxWidgets\fP was built with when computing the output for the \-\-cflags
and \-\-libs options. This option must be specified before any
\-\-libs or \-\-cflags options.
.br
.nh
.HP
(Translation: this is the root path to the \fIwxWindows\fP library \-\- [Ron])
(Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
.hy
.TP 15
.B \-\-release
Output the wxWidgets release number.
.TP 15
.B \-\-basename
Output the base name of the wxWidgets libraries.
.SH SEE ALSO
.BR gtk\-config (1),
.BR update\-alternatives (8)
.SH COPYRIGHT
This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
wxGTK. It was then updated to include new options and otherwise bastardised
generally by Ron Lee <ron@debian.org>
wxGTK. It was subsequently updated to include new options and otherwise
bastardised generally by Ron Lee <ron@debian.org>
The original gtk\-config manpage copyright: