monodll_choicece.o \
monodll_crt.o \
monodll_filedlgwce.o \
+ monodll_filefnwce.o \
monodll_helpwce.o \
monodll_menuce.o \
monodll_tbarwce.o \
monolib_choicece.o \
monolib_crt.o \
monolib_filedlgwce.o \
+ monolib_filefnwce.o \
monolib_helpwce.o \
monolib_menuce.o \
monolib_tbarwce.o \
coredll_choicece.o \
coredll_crt.o \
coredll_filedlgwce.o \
+ coredll_filefnwce.o \
coredll_helpwce.o \
coredll_menuce.o \
coredll_tbarwce.o \
corelib_choicece.o \
corelib_crt.o \
corelib_filedlgwce.o \
+ corelib_filefnwce.o \
corelib_helpwce.o \
corelib_menuce.o \
corelib_tbarwce.o \
(cd samples && $(MAKE) all)
@COND_USE_GUI_1@install-afm:
-@COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(datadir)/wx/$(WX_RELEASE)$(WX_FLAVOUR)/afm
-@COND_USE_GUI_1@ (cd $(srcdir) ; $(INSTALL_DATA) misc/afm/*.afm $(DESTDIR)$(datadir)/wx/$(WX_RELEASE)$(WX_FLAVOUR)/afm)
+@COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(datadir)/wx/afm
+@COND_USE_GUI_1@ (cd $(srcdir) ; $(INSTALL_DATA) misc/afm/*.afm $(DESTDIR)$(datadir)/wx/afm)
@COND_USE_GUI_1@install-gsafm:
-@COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(datadir)/wx/$(WX_RELEASE)$(WX_FLAVOUR)/gs_afm
-@COND_USE_GUI_1@ (cd $(srcdir) ; $(INSTALL_DATA) misc/gs_afm/*.afm $(DESTDIR)$(datadir)/wx/$(WX_RELEASE)$(WX_FLAVOUR)/gs_afm)
+@COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(datadir)/wx/gs_afm
+@COND_USE_GUI_1@ (cd $(srcdir) ; $(INSTALL_DATA) misc/gs_afm/*.afm $(DESTDIR)$(datadir)/wx/gs_afm)
install-wxconfig:
$(INSTALL_DIR) $(DESTDIR)$(bindir)
monodll_filedlgwce.o: $(srcdir)/src/msw/wince/filedlgwce.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
+monodll_filefnwce.o: $(srcdir)/src/msw/wince/filefnwce.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
+
monodll_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monolib_filedlgwce.o: $(srcdir)/src/msw/wince/filedlgwce.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
+monolib_filefnwce.o: $(srcdir)/src/msw/wince/filefnwce.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
+
monolib_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
coredll_filedlgwce.o: $(srcdir)/src/msw/wince/filedlgwce.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
+coredll_filefnwce.o: $(srcdir)/src/msw/wince/filefnwce.cpp $(COREDLL_ODEP)
+ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
+
coredll_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
corelib_filedlgwce.o: $(srcdir)/src/msw/wince/filedlgwce.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
+corelib_filefnwce.o: $(srcdir)/src/msw/wince/filefnwce.cpp $(CORELIB_ODEP)
+ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
+
corelib_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
<data-files-tg id="install-afm" cond="USE_GUI=='1'">
<files>misc/afm/*.afm</files>
- <install-to>$(DATADIR)/wx/$(WX_RELEASE)$(WX_FLAVOUR)/afm</install-to>
+ <install-to>$(DATADIR)/wx/afm</install-to>
</data-files-tg>
<data-files-tg id="install-gsafm" cond="USE_GUI=='1'">
<files>misc/gs_afm/*.afm</files>
- <install-to>$(DATADIR)/wx/$(WX_RELEASE)$(WX_FLAVOUR)/gs_afm</install-to>
+ <install-to>$(DATADIR)/wx/gs_afm</install-to>
</data-files-tg>
<action id="install-wxconfig">
Maintainer: Ron Lee <ron@debian.org>
Standards-Version: 3.6.1.1
-Package: libwxgtk=V
+Package: libwxgtk=V.=SO
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
-Replaces: wxgtk2.1
Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)
wxWidgets (formerly known as wxWindows) is a class library for C++ providing
GUI components and other facilities on several popular platforms (and some
Package: libwxgtk=V-dev
Architecture: any
Section: libdevel
-Depends: wx=V-headers (= ${Source-Version}), libwxgtk=V (= ${Source-Version}), libc6-dev
-Suggests: wxwin=V-doc, libstdc++-dev, gettext, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev
+Depends: wx=V-headers (= ${Source-Version}), libwxgtk=V.=SO (= ${Source-Version}), libc6-dev
+Suggests: wx=V-common | wx-common, wx=V-doc, libstdc++-dev, gettext, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev
Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
wxWidgets (formerly known as wxWindows) is a class library for C++ providing
GUI components and other facilities on several popular platforms (and some
provides many internal checks by wxWidgets itself that are not performed on
apps compiled with the 'release version' libs in the -dev package.
-Package: libwxgtk=V-python
+Package: libwxgtk=V.=SO-python
Architecture: any
Section: python
Depends: =PY, ${shlibs:Depends}
Suggests: wx=V-doc, wx=V-examples, =PY-xml
-Conflicts: libwxgtk-python, libwxgtk=V-dbg-python, python-wxwin, libwxgtk2.2-python-contrib, libwxgtk2.2-python, libwxgtk2.3-python
-Replaces: libwxgtk-python, libwxgtk=V-dbg-python, python-wxwin, libwxgtk2.2-python-contrib, libwxgtk2.2-python, libwxgtk2.3-python
+Conflicts: libwxgtk-python
+Replaces: libwxgtk-python
Provides: libwxgtk-python
Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding)
wxWidgets (formerly known as wxWindows) is a class library for C++ providing
contrib libs. If you wish to use xrced you'll also need the python-xml
package installed.
+Package: wx=V-common
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Conflicts: wx-common
+Replaces: wx-common
+Provides: wx-common
+Description: wxWidgets Cross-platform C++ GUI toolkit (common support files)
+ wxWidgets (formerly known as wxWindows) is a class library for C++ providing
+ GUI components and other facilities on several popular platforms (and some
+ unpopular ones as well). For more information see http://wxwidgets.org
+ .
+ This package provides common support files not bound to any
+ particular wxWidgets release, such as font metrics required by some
+ ports, and miscellaneous developer aids and binary utilities.
+
Package: wx=V-headers
Architecture: any
Section: devel
This package contains examples of using the wxWidgets toolkit in
C++ and with the wxPython language binding.
-Package: libwxgtk=V-dbg-python
+Package: libwxgtk=V.=SO-dbg-python
Architecture: any
Section: python
Depends: =PY, ${shlibs:Depends}
Suggests: wxwin=V-doc, wxwin=V-examples, =PY-xml
-Conflicts: libwxgtk=V-python
-Replaces: libwxgtk=V-python
-Provides: libwxgtk=V-python
+Conflicts: libwxgtk-python
+Replaces: libwxgtk-python
+Provides: libwxgtk-python
Description: wxWindows Cross-platform C++ GUI toolkit (wxPython binding)
wxWindows is a class library for C++ providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version =V
Unfortunately it cannot be installed at the same time as the release
packages, but it will replace them for other applications that require
wxPython. You should _never_ upload packages to Debian that depend upon
- this package explicitly, use the libwxgtk=V-python package instead.
+ this package explicitly, use the libwxgtk=V.=SO-python package instead.
.
If you wish to use xrced you'll also need the python-xml package installed.
-?package(libwxgtk=V-dbg-python):needs="X11" section="Apps/Programming"\
+?package(libwxgtk=V.=SO-dbg-python):needs="X11" section="Apps/Programming"\
title="pycrust" command="/usr/bin/pycrust"
-?package(libwxgtk=V-dbg-python):needs="X11" section="Apps/Programming"\
+?package(libwxgtk=V.=SO-dbg-python):needs="X11" section="Apps/Programming"\
title="pyshell" command="/usr/bin/pyshell"
-?package(libwxgtk=V-dbg-python):needs="X11" section="Apps/Programming"\
+?package(libwxgtk=V.=SO-dbg-python):needs="X11" section="Apps/Programming"\
title="xrced" command="/usr/bin/xrced"
set -e
-PACKAGE="libwxgtk=V-dbg-python"
+PACKAGE="libwxgtk=V.=SO-dbg-python"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
#DEBHELPER#
+++ /dev/null
-?package(libwxgtk=V-dev):needs="X11" section="Apps/Programming"\
- title="wxrcedit" command="/usr/bin/wxrcedit"
-
-?package(libwxgtk=V-python):needs="X11" section="Apps/Programming"\
+?package(libwxgtk=V.=SO-python):needs="X11" section="Apps/Programming"\
title="pycrust" command="/usr/bin/pycrust"
-?package(libwxgtk=V-python):needs="X11" section="Apps/Programming"\
+?package(libwxgtk=V.=SO-python):needs="X11" section="Apps/Programming"\
title="pyshell" command="/usr/bin/pyshell"
-?package(libwxgtk=V-python):needs="X11" section="Apps/Programming"\
+?package(libwxgtk=V.=SO-python):needs="X11" section="Apps/Programming"\
title="xrced" command="/usr/bin/xrced"
set -e
-PACKAGE="libwxgtk=V-python"
+PACKAGE="libwxgtk=V.=SO-python"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
#DEBHELPER#
# to correctly set the release below.
DEBIAN_WXFLAVOUR := $(shell pwd | sed -e 's@.*/wxwidgets[0-9.]\+-\?\(.*\)-[0-9.]\+-\?.*@\1@')
-release := $(shell dpkg-parsechangelog | sed -n 's/^Source: wxwidgets//p')
-
+release := $(shell dpkg-parsechangelog | sed -n 's/^Source: wxwidgets//p')
+soversion := $(shell grep '^WX_CURRENT=' configure.in | sed 's/WX_CURRENT=\([0-9]\+\).*/\1/')
cross_host = i586-mingw32msvc
cross_build = $(shell ./config.guess)
config_cache_cross = ../config_deb_cross.cache
# Packages to build:
-package_gtk_lib = libwxgtk$(release)
+package_gtk_lib = libwxgtk$(release).$(soversion)
package_gtk_dev = libwxgtk$(release)-dev
package_gtk_dbg = libwxgtk$(release)-dbg
-package_gtk_py = libwxgtk$(release)-python
+package_gtk_py = libwxgtk$(release).$(soversion)-python
+package_common = wx$(release)-common
package_headers = wx$(release)-headers
package_i18n = wx$(release)-i18n
package_doc = wx$(release)-doc
package_examples = wx$(release)-examples
-package_gtk_dbg_py = libwxgtk$(release)-dbg-python
+package_gtk_dbg_py = libwxgtk$(release).$(soversion)-dbg-python
package_msw_dev = libwxmsw$(release)-dev
package_msw_dbg = libwxmsw$(release)-dbg
package_headers_msw = wx$(release)-headers-msw
objdir_msw_shared = objs_msw_sh
objdir_msw_static = objs_msw_st
objdir_msw_dbg = objs_msw_d
+objdir_msw_install = objs_msw_install
objdirs = $(objdir_gtk_shared) $(objdir_gtk_static) $(objdir_gtk_debug) \
$(objdir_gtk_install) \
$(objdir_doc_cruft) $(objdir_doc) $(objdir_examples) \
- $(objdir_msw_shared) $(objdir_msw_static) $(objdir_msw_dbg)
+ $(objdir_msw_shared) $(objdir_msw_static) $(objdir_msw_dbg) \
+ $(objdir_msw_install)
# note that the i18n package is actually arch indep (once built)
# but must be built (and installed) during the arch any phase as
# Install targets:
install_all_arch = install-gtk-lib install-gtk-dev install-gtk-dbg \
- install-headers install-i18n install-gtk-py
+ install-common install-headers install-i18n \
+ install-gtk-py
install_all_indep = install-examples install-doc
echo python_ver := python$(shell python -c "import sys;print sys.version[:3]") > $@
debian/control: $(addprefix debian/,control.in python-version)
- sed -e 's/=V/$(release)/g;s/=PY/$(python_ver)/g' < debian/control.in > debian/control
+ sed -e 's/=V/$(release)/g;s/=SO/$(soversion)/g;s/=PY/$(python_ver)/g' \
+ < debian/control.in > debian/control
control-files-stamp: debian/control
dh_testdir
- # FIXME: we clipped menu out of this one, clean up the rest of that.
@for f in postinst prerm; do \
echo "generating control file $(package_gtk_dev).$$f"; \
sed -e 's/=V/$(release)/g' < debian/libwxgtk-dev.$$f \
done;
@for f in dirs docs menu postinst prerm; do \
echo "generating control file $(package_gtk_py).$$f"; \
- sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' \
+ sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g;s/=SO/$(soversion)/g' \
< debian/libwxgtk-python.$$f \
> debian/$(package_gtk_py).$$f; \
done;
done;
@for f in dirs docs postinst; do \
echo "generating control file $(package_gtk_dbg_py).$$f"; \
- sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' \
+ sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g;s/=SO/$(soversion)/g' \
< debian/libwxgtk-python.$$f \
> debian/$(package_gtk_dbg_py).$$f; \
done;
@for f in menu prerm; do \
echo "generating control file $(package_gtk_dbg_py).$$f"; \
- sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g' \
+ sed -e 's/=PY/$(python_ver)/g;s/=V/$(release)/g;s/=SO/$(soversion)/g' \
< debian/libwxgtk-dbg-python.$$f \
> debian/$(package_gtk_dbg_py).$$f; \
done;
sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxmsw-dbg.$$f \
> debian/$(package_msw_dbg).$$f; \
done;
+# @echo "generating control file $(package_common).menu"; \
+# sed -e 's/=V/$(release)/g' < debian/wx-common.menu \
+# > debian/$(package_common).menu;
@echo "generating control file lintian-override"; \
sed -e 's/=V/$(release)/g' < debian/lintian-override.in \
> debian/lintian-override; \
dh_testdir
cd $(objdir_gtk_shared)/contrib/src && $(FAST_MAKE)
cd $(objdir_gtk_shared)/contrib/utils/wxrc && $(FAST_MAKE)
- cd $(objdir_gtk_shared)/contrib/utils/wxrcedit && $(FAST_MAKE)
+ #cd $(objdir_gtk_shared)/contrib/utils/wxrcedit && $(FAST_MAKE)
touch $@
build-gtk-static-contrib-stamp: build-gtk-static-stamp
dh_testdir
touch docs/lgpl.txt
cd wxPython \
- && $(python_ver) ./setup.py build \
- WX_CONFIG='$(wxconfig-dbg)' \
- WXPORT=gtk2 \
- UNICODE=1
+ && $(python_ver) ./setup.py build \
+ WX_CONFIG='$(wxconfig-dbg)' \
+ WXPORT=gtk2 \
+ UNICODE=1
touch $@
clean-py:
- cd wxPython \
- && rm -rf licence \
- && rm -rf build* \
- && rm -rf docs/xml-raw \
- && rm -rf wx/*.py
+ cd wxPython && rm -rf licence build* docs/xml-raw wx/*.py
# What to do about src/__version__.py ???
rm -f debian/$(package_gtk_dev).*
rm -f debian/$(package_gtk_dbg).*
rm -f debian/$(package_gtk_py).*
+ rm -f debian/$(package_common).*
rm -f debian/$(package_headers).*
rm -f debian/$(package_i18n).*
rm -f debian/$(package_doc).*
dh_clean -k
dh_installdirs
dh_install $(objdir_gtk_install)/lib/libwx_*.so.* usr/lib
- dh_install $(objdir_gtk_install)/share/wx usr/share
-
-# FIXME: /share/wx may eventually need to go in a common runtime package.
install-gtk-dev: DH_OPTIONS=-p$(package_gtk_dev)
install-gtk-dev: build-gtk-static-stamp build-gtk-static-contrib-stamp install-gtk-shared-stamp
dh_install $(objdir_gtk_static)/lib/wx/include usr/lib/wx
dh_install $(objdir_gtk_static)/lib/wx/config/gtk* usr/lib/wx/config
- # FIXME: What to do about these for multi-version installs? Probably
- # put them in a bin package that conflicts.
- #
- #dh_install $(objdir_gtk_shared)/contrib/utils/wxrc/wxrc usr/bin
- #dh_install $(objdir_gtk_shared)/contrib/utils/wxrcedit/wxrcedit usr/bin
-
- #dh_installman debian/wxrc-tools.1
- #dh_link usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrc.1 \
- # usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrcedit.1
-
install-gtk-dbg: DH_OPTIONS=-p$(package_gtk_dbg)
install-gtk-dbg: build-gtk-debug-stamp build-gtk-debug-contrib-stamp
dh_testdir
# This is rather bogus, its included in the main copyright file now though.
rm -f debian/$(package_gtk_py)/usr/lib/$(python_ver)/site-packages/wx/tools/XRCed/license.txt
+install-common: DH_OPTIONS=-p$(package_common)
+install-common: install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# We don't need the afm metrics for gtk2, but we might need them to support
+# the 2.4 release for a while still and any other ports we might build.
+ dh_install $(objdir_gtk_install)/share/wx usr/share
+ dh_install $(objdir_gtk_install)/share/aclocal usr/share
+ dh_installman debian/wx-config.1
+
+ dh_install $(objdir_gtk_shared)/contrib/utils/wxrc/wxrc usr/bin
+# dh_install $(objdir_gtk_shared)/contrib/utils/wxrcedit/wxrcedit usr/bin
+
+ dh_installman debian/wxrc-tools.1
+ dh_link usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrc.1
+# dh_link usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrcedit.1
+
+
install-headers: DH_OPTIONS=-p$(package_headers)
install-headers: install-gtk-shared-stamp
dh_testdir
# dh_movefiles --sourcedir=$(objdir_univ_install)
dh_install $(objdir_gtk_install)/include usr
- # FIXME: put these in a common package that can conflict.
- #dh_install $(objdir_gtk_install)/share/aclocal usr/share
- #dh_installman debian/wx-config.1
-
install-i18n: DH_OPTIONS=-p$(package_i18n)
install-i18n: build-i18n-stamp install-gtk-shared-stamp
dh_testdir
dh_testroot
dh_clean -k
- # FIXME: This installs too much now. Do a dummy install first then
- # then determine the links from there instead of the main
- # tree. Or grab the list out of the main package install,
- # but that presupposed we already built it which we may not.
+ cd $(objdir_msw_shared) \
+ && $(MAKE) install prefix=`pwd`/../$(objdir_msw_install)
- @# Symlink all the headers that will be installed by the main -headers
- @# package to where the cross compiler will expect them.
- @( for f in `ls -1 include/wx`; do \
+# Symlink all the headers that will be installed by the main -headers
+# package to where the cross compiler will expect them.
+ @( for f in `ls -1 $(objdir_msw_install)/include/wx-$(release)/wx`; do \
all_h="$${all_h} usr/include/wx-$(release)/wx/$$f usr/$(cross_host)/include/wx-$(release)/wx/$$f"; \
echo "linking header /usr/include/wx-$(release)/wx/$$f"; \
done; \
dh_link $${all_h}; \
)
- @# But install this lot for real.
+# But install this lot for real.
rm -f debian/$(package_headers_msw)/usr/$(cross_host)/include/wx-$(release)/wx/msw
- dh_install include/wx/msw usr/$(cross_host)/include/wx-$(release)/wx
+ dh_install $(objdir_msw_install)/include/wx-$(release)/wx/msw usr/$(cross_host)/include/wx-$(release)/wx
binary-common:
install install_arch install-gtk-lib install-gtk-dev \
install-gtk-dbg \
install-gtk-py install-gtk-dbg-py \
- install-headers install-i18n install-doc install-examples \
- install-msw-dev install-msw-dbg install-headers-msw
+ install-common install-headers install-i18n install-doc \
+ install-examples install-msw-dev install-msw-dbg install-headers-msw
on your system. It may be used to retrieve the information you require
to build applications using these libraries.
- If alternative builds of wxWidgets exist on the system, you can use the
- options: --prefix, --host, --toolkit, --unicode, --debug, --universal and
- --version, to select from them. Use the --list option to show all builds
- which match any specified criteria. The unicode, universal, and debug
- options take an optional yes or no argument, while host and version accept
- posix extended regex. eg. wx-config --unicode=n --debug --host=?.* --list
- will show all ansi-debug libraries installed, including cross libraries.
+ If alternative builds of wxWidgets exist on the system, you can use the
+ options: --prefix, --host, --toolkit, --unicode, --debug, --static,
+ --version and --universal, to select from them. Use the --list option to
+ show alternatives available which match specified criteria. The unicode,
+ debug, and universal options take an optional yes or no argument, while
+ host and version accept posix extended regex.
Optional LIB arguments (comma or space separated) may be used to specify
the wxWidgets libraries that you wish to use. The magic "std" label may