configure changes, for wxBase and wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
2
debian/libwxbase-dev.files
vendored
2
debian/libwxbase-dev.files
vendored
@@ -1,4 +1,4 @@
|
||||
usr/bin/wxbase-config
|
||||
usr/lib/wx/include/wx/setup.h
|
||||
usr/lib/wx/include/wx/base/setup.h
|
||||
usr/lib/libwxbase*.so
|
||||
usr/lib/libwxbase*.a
|
||||
|
7
debian/libwxbase-dev.postinst
vendored
Normal file
7
debian/libwxbase-dev.postinst
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxbase-config 50
|
||||
|
||||
#DEBHELPER#
|
||||
|
7
debian/libwxbase-dev.prerm
vendored
Normal file
7
debian/libwxbase-dev.prerm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
update-alternatives --remove wx-config /usr/bin/wxbase-config
|
||||
|
||||
#DEBHELPER#
|
||||
|
2
debian/libwxgtk-dev.files
vendored
2
debian/libwxgtk-dev.files
vendored
@@ -1,4 +1,4 @@
|
||||
usr/bin/wx-config
|
||||
usr/bin/wxgtk-config
|
||||
usr/include/wx/
|
||||
usr/lib/wx/include/wx/gtk/setup.h
|
||||
usr/lib/libwx_gtk*.so
|
||||
|
1
debian/libwxgtk-dev.links
vendored
Normal file
1
debian/libwxgtk-dev.links
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/share/man/man1/wx-config.1.gz usr/share/man/man1/wxgtk-config.1.gz
|
7
debian/libwxgtk-dev.postinst
vendored
Normal file
7
debian/libwxgtk-dev.postinst
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
update-alternatives --install /usr/bin/wx-config wx-config /usr/bin/wxgtk-config 50
|
||||
|
||||
#DEBHELPER#
|
||||
|
7
debian/libwxgtk-dev.prerm
vendored
Normal file
7
debian/libwxgtk-dev.prerm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
update-alternatives --remove wx-config /usr/bin/wxgtk-config
|
||||
|
||||
#DEBHELPER#
|
||||
|
7
debian/rules
vendored
7
debian/rules
vendored
@@ -152,7 +152,7 @@ install: build
|
||||
echo "generating control file $(package_wxbase_lib).$$f"; \
|
||||
cp debian/libwxbase.$$f debian/$(package_wxbase_lib).$$f; \
|
||||
done;
|
||||
@for f in dirs docs files links; do \
|
||||
@for f in dirs docs files links postinst prerm; do \
|
||||
echo "generating control file $(package_wxbase_dev).$$f"; \
|
||||
cp debian/libwxbase-dev.$$f debian/$(package_wxbase_dev).$$f; \
|
||||
done;
|
||||
@@ -160,7 +160,7 @@ install: build
|
||||
echo "generating control file $(package_gtk_lib).$$f"; \
|
||||
cp debian/libwxgtk.$$f debian/$(package_gtk_lib).$$f; \
|
||||
done;
|
||||
@for f in dirs docs files; do \
|
||||
@for f in dirs docs files links postinst prerm; do \
|
||||
echo "generating control file $(package_gtk_dev).$$f"; \
|
||||
cp debian/libwxgtk-dev.$$f debian/$(package_gtk_dev).$$f; \
|
||||
done;
|
||||
@@ -180,9 +180,10 @@ install: build
|
||||
dh_installdirs
|
||||
cd $(objdir_gtk_shared) \
|
||||
&& $(MAKE) install prefix=`pwd`/../debian/tmp/usr
|
||||
rm -f debian/tmp/usr/bin/wx-config
|
||||
cp $(objdir_gtk_static)/lib/*.a debian/tmp/usr/lib
|
||||
cp -a $(objdir_wxbase_shared)/lib/* debian/tmp/usr/lib
|
||||
cp $(objdir_wxbase_shared)/wx-config debian/tmp/usr/bin/wxbase-config
|
||||
cp $(objdir_wxbase_shared)/wxbase-config debian/tmp/usr/bin/
|
||||
cp $(objdir_wxbase_static)/lib/*.a debian/tmp/usr/lib
|
||||
cd utils/wxPython/src \
|
||||
&& ../distrib/build.py -i \
|
||||
|
52
debian/wx-config.1
vendored
52
debian/wx-config.1
vendored
@@ -1,31 +1,44 @@
|
||||
.TH wxWindows 1 "15 Feb 2000" "wxGTK 2.2"
|
||||
.TH wx-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows 2.2"
|
||||
.SH NAME
|
||||
wx-config - script to get information about the installed version of wxGTK
|
||||
wx-config - generate compile time info for wxWindows
|
||||
.SH SYNOPSIS
|
||||
.nh
|
||||
.B wxbase-config
|
||||
.br
|
||||
.B wxgtk-config
|
||||
.HP
|
||||
.B wx-config
|
||||
[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
|
||||
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
|
||||
.hy
|
||||
.SH DESCRIPTION
|
||||
\fIwx-config\fP is a tool to determine the compiler and linker
|
||||
flags required for applications using the \fIwxWindows\fP toolkit(s).
|
||||
.PP
|
||||
\fIwx-config\fP is a tool used to determine the compiler and
|
||||
linker flags that should be used to compile and link programs
|
||||
that use \fIwxGTK\fP.
|
||||
.
|
||||
\fIwx-config\fP is normally a symlink to one of the port-specific
|
||||
versions like \fIwxbase-config\fP or \fIwxgtk-config\fP which
|
||||
designates the default port to compile applications with.
|
||||
You can override this default either by using one of the specific
|
||||
versions directly, or by changing which version the symlink points to.
|
||||
On Debian systems this can be done using the
|
||||
.BR update-alternatives (8)
|
||||
mechanism.
|
||||
.hy
|
||||
.SH OPTIONS
|
||||
.l
|
||||
\fIwx-config\fP accepts the following options:
|
||||
.TP 8
|
||||
.B \-\-version
|
||||
Report the currently installed version of \fIwxGTK\fP.
|
||||
What to
|
||||
.B ALWAYS
|
||||
include in a bug report.
|
||||
.br
|
||||
( But of course you already knew that ... )
|
||||
.TP 8
|
||||
.B \-\-libs
|
||||
Output the linker flags necessary to link a \fIwxGTK\fP program.
|
||||
Generate linker flags for a \fIwxWindows\fP program.
|
||||
.TP 8
|
||||
.B \-\-cflags
|
||||
Output the compiler flags necessary to compile a \fIwxGTK\fP program.
|
||||
Generate compiler flags for the same.
|
||||
.TP 8
|
||||
.B \-\-cc
|
||||
Output the name of the C compiler \fB$(CC)\fP.
|
||||
@@ -37,27 +50,34 @@ Output the name of the C++ compiler \fB$(CXX)\fP.
|
||||
Output the Linker command \fB$(LD)\fP.
|
||||
.TP 8
|
||||
.B \-\-prefix=PREFIX
|
||||
If specified, use PREFIX instead of the installation prefix that \fIwxGTK\fP
|
||||
If specified, use PREFIX instead of the installation prefix that \fIwxWindows\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
|
||||
before any \-\-libs or \-\-cflags options.
|
||||
.br
|
||||
(Translation: this is the root path to the \fIwxGTK\fP headers -- [Ron])
|
||||
.nh
|
||||
.HP
|
||||
(Translation: this is the root path to the \fIwxWindows\fP headers -- [Ron])
|
||||
.hy
|
||||
.TP 8
|
||||
.B \-\-exec\-prefix=PREFIX
|
||||
If specified, use PREFIX instead of the installation exec prefix that
|
||||
\fIwxGTK\fP was built with when computing the output for the \-\-cflags
|
||||
\fIwxWindows\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
|
||||
(Translation: this is the root path to the \fIwxGTK\fP library -- [Ron])
|
||||
.nh
|
||||
.HP
|
||||
(Translation: this is the root path to the \fIwxWindows\fP library -- [Ron])
|
||||
.hy
|
||||
.SH SEE ALSO
|
||||
.BR gtk-config (1)
|
||||
.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 kicked about
|
||||
wxGTK. It was then updated to include new options and otherwise bastardised
|
||||
generally by Ron Lee <ron@debian.org>
|
||||
|
||||
The original gtk-config manpage copyright:
|
||||
|
Reference in New Issue
Block a user