--- wxwidgets2.8-2.8.4.0.orig/wxPython/wx/build/build_options.py +++ wxwidgets2.8-2.8.4.0/wxPython/wx/build/build_options.py @@ -2,10 +2,10 @@ UNICODE=1 UNDEF_NDEBUG=1 INSTALL_MULTIVERSION=1 -FLAVOUR="" +FLAVOUR="dbg" EP_ADD_OPTS=1 EP_FULL_VER=0 -WX_CONFIG="/opt/wx/current/bin/wx-config --toolkit=gtk2 --unicode=yes --version=2.8 2>/dev/null " +WX_CONFIG="wx-config --version=2.8 --toolkit=gtk2 --static=no --unicode --debug" WXPORT="gtk2" MONOLITHIC=0 FINAL=0 --- wxwidgets2.8-2.8.4.0.orig/wxPython/src/wx.pth +++ wxwidgets2.8-2.8.4.0/wxPython/src/wx.pth @@ -1 +1 @@ -wx-2.8-gtk2-unicode \ No newline at end of file +wx-2.8-gtk2-unicode-dbg \ No newline at end of file --- wxwidgets2.8-2.8.4.0.orig/src/gtk/button.cpp +++ wxwidgets2.8-2.8.4.0/src/gtk/button.cpp @@ -2,7 +2,7 @@ // Name: src/gtk/button.cpp // Purpose: // Author: Robert Roebling -// Id: $Id: button.cpp,v 1.92 2006/08/25 12:59:18 VZ Exp $ +// Id: $Id: button.cpp,v 1.92.4.1 2007/06/18 06:16:44 MR Exp $ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -80,7 +80,7 @@ right_border += default_border->right; top_border += default_border->top; bottom_border += default_border->bottom; - g_free( default_border ); + gtk_border_free( default_border ); } win->MoveWindow( win->m_x - top_border, --- wxwidgets2.8-2.8.4.0.orig/src/gtk/settings.cpp +++ wxwidgets2.8-2.8.4.0/src/gtk/settings.cpp @@ -135,11 +135,23 @@ { GtkTooltips* tooltips = gtk_tooltips_new(); gtk_tooltips_force_window(tooltips); - gtk_widget_ensure_style(tooltips->tip_window); - GdkColor c = tooltips->tip_window->style->bg[GTK_STATE_NORMAL]; - gs_objects.m_colTooltip = wxColor(c); - c = tooltips->tip_window->style->fg[GTK_STATE_NORMAL]; - gs_objects.m_colTooltipText = wxColor(c); + + // FIXME: In 2.11.6 tip_window is private and always NULL so + // we need to do something different if there is no window. + // See https://sourceforge.net/tracker/index.php?func=detail&aid=1767485&group_id=9863&atid=109863 + if (tooltips->tip_window) + { + gtk_widget_ensure_style(tooltips->tip_window); + GdkColor c = tooltips->tip_window->style->bg[GTK_STATE_NORMAL]; + gs_objects.m_colTooltip = wxColor(c); + c = tooltips->tip_window->style->fg[GTK_STATE_NORMAL]; + gs_objects.m_colTooltipText = wxColor(c); + } + else + { + gs_objects.m_colTooltipText = wxColour(255, 255, 128); // FIXME + } + #if GTK_CHECK_VERSION(2, 9, 0) if (gtk_check_version(2, 9, 0) == NULL) g_object_ref_sink(tooltips); --- wxwidgets2.8-2.8.4.0.orig/src/gtk/window.cpp +++ wxwidgets2.8-2.8.4.0/src/gtk/window.cpp @@ -2,7 +2,7 @@ // Name: src/gtk/window.cpp // Purpose: // Author: Robert Roebling -// Id: $Id: window.cpp,v 1.680.4.4 2007/05/11 16:48:46 RR Exp $ +// Id: $Id: window.cpp,v 1.680.4.5 2007/06/18 06:16:45 MR Exp $ // Copyright: (c) 1998 Robert Roebling, Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -2706,7 +2706,7 @@ right_border += default_border->right; top_border += default_border->top; bottom_border += default_border->bottom; - g_free( default_border ); + gtk_border_free( default_border ); } } --- wxwidgets2.8-2.8.4.0.orig/include/wx/graphics.h +++ wxwidgets2.8-2.8.4.0/include/wx/graphics.h @@ -73,7 +73,7 @@ virtual wxObjectRefData* CreateRefData() const; virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const; - DECLARE_DYNAMIC_CLASS(wxGraphicsObject); + DECLARE_DYNAMIC_CLASS(wxGraphicsObject) } ; class WXDLLIMPEXP_CORE wxGraphicsPen : public wxGraphicsObject --- wxwidgets2.8-2.8.4.0.orig/debian/wxrc-tools.1 +++ wxwidgets2.8-2.8.4.0/debian/wxrc-tools.1 @@ -0,0 +1,15 @@ +.TH wxrc\-tools 1 "30 Jul 2004" "Debian GNU/Linux" "wxWindows" +.SH NAME +wxrc \- command line compiler for wx xml resources. + +.SH DESCRIPTION +The real documentation for this tool (what of it that exists) is available +in the wxWindows manual, which is packaged in html format in the wx2.6-doc +package and installed in /usr/share/doc/wx2.6-doc/wx-manual.html on Debian +systems. + +.SH COPYRIGHT +This manpage was written by Ron Lee for the Debian GNU/Linux +distribution of wxWindows. It may be freely distributed by anyone insane enough +to find it useful. + --- wxwidgets2.8-2.8.4.0.orig/debian/wxPython-tools.1 +++ wxwidgets2.8-2.8.4.0/debian/wxPython-tools.1 @@ -0,0 +1,35 @@ +.TH wxPython\-tools 1 "3 Jan 2003" "Debian GNU/Linux" "wxWidgets" +.SH NAME +img2py \- wxPython tools. +.br +img2png \- wxPython tools. +.br +img2xpm \- wxPython tools. +.br +pycrust \- wxPython tools. +.br +pyshell \- wxPython tools. +.br +xrced \- wxPython tools. +.br +helpviewer \- wxPython tools. +.br +pyalacarte \- wxPython tools. +.br +pyalamode \- wxPython tools. +.br +pywrap \- wxPython tools. +.br +pywxrc \- wxPython tools. + +.SH DESCRIPTION +The real documentation for these tools is available in pydoc format. + +.SH SEE ALSO +.BR pydoc (1) + +.SH COPYRIGHT +This manpage was written by Ron Lee for the Debian GNU/Linux +distribution of wxWidgets. It may be freely distributed by anyone insane enough +to find it useful. + --- wxwidgets2.8-2.8.4.0.orig/debian/rules +++ wxwidgets2.8-2.8.4.0/debian/rules @@ -0,0 +1,1065 @@ +#!/usr/bin/make -f +# debian/rules file to build packages from wx CVS source +# +# Sculpted 13/2/2000 by Ron Lee from new and +# variously stolen code :-) +# It makes copious use of the debhelper utilities written by +# Joey Hess and others. + +#export DH_VERBOSE=1 +export DH_OPTIONS + +ifdef CONCURRENCY_LEVEL + + # A user who knows what they want, that's like gold... + # respect their precious opinion of how much blue smoke to use. + JOB_COUNT := $(CONCURRENCY_LEVEL) + +else ifdef DISTCC_HOSTS + + # Otherwise, if they have a cluster, try to put it to good use. + JOB_COUNT := $(shell set $${DISTCC_HOSTS} > /dev/null 2>&1 ; echo $$\#) + + # Not much faster, but it might keep you warm in winter... + #JOB_COUNT := $(shell set $${DISTCC_HOSTS} > /dev/null 2>&1 ; echo $$(($$\# + $$\#))) + +endif + +ifdef JOB_COUNT + FAST_MAKE = $(MAKE) -j $(JOB_COUNT) +else + FAST_MAKE = $(MAKE) +endif + +python_ver := $(shell pyversions -d) + + +# If another source package is to supply the common binary packages +# for a particular Debian release, then define this variable to indicate +# the $(release) that is expected to provide it. Do not define it at +# all if this is to be the default (or only) wx source package for the +# target release. + +#DEBIAN_WX_DEFAULT_VERSION = 2.8 + + +# This will extract a flavour out of the name of the source directory +# and flavour the packages and binaries with it. 'Official' builds +# should use a source dir of the form wxwidgets$RELEASE-$VERSION. +# Flavoured builds may use wxwidgets$RELEASE-$FLAVOUR-$VERSION, where +# any descriptive alphanumeric name will do for FLAVOUR. This will +# allow a custom build to be installed alongside the mainline ones +# without conflict. You will also need to make a corresponding +# changelog entry for your flavour source package using: +# wxwidget$RELEASE-$FLAVOUR ($VERSION) to satify dpkg-source and +# to correctly set the release below. +DEBIAN_WXFLAVOUR := $(shell pwd | sed -e 's@.*/wxwidgets[0-9.]\+-\?\(.*\)-[0-9.]\+-\?.*@\1@') + + +wx_major_version_number := $(shell sed -n 's/^wx_major_version_number=//p' configure.in) +wx_minor_version_number := $(shell sed -n 's/^wx_minor_version_number=//p' configure.in) +wx_release_number := $(shell sed -n 's/^wx_release_number=//p' configure.in) +wx_subrelease_number := $(shell sed -n 's/^wx_subrelease_number=//p' configure.in) + +##release := $(shell dpkg-parsechangelog | sed -n 's/^Source: wxwidgets//p' | sed 's/-ansi//') +release := $(wx_major_version_number).$(wx_minor_version_number) + +# This is broken completely now by bakefiles changes. Until we add +# some hocus pocus to the main tree, to export these values from it +# again, we approximate its behaviour (fairly precisely fwiw) to +# specify $soversion below. Re-automate if incompatible changes +# result in it actually changing. +#soversion := $(shell grep '^WX_CURRENT=' configure.in | sed 's/WX_CURRENT=\([0-9]\+\).*/\1/') +soversion := 0 +sorelease := $(release:%-$(DEBIAN_WXFLAVOUR)=%)-$(soversion)$(addprefix -,$(DEBIAN_WXFLAVOUR)) + +# In some places we use the full version number, including the micro version, +# for the development releases (which can be incompatible for the same major +# and minor version) but just the major.minor for the stable releases (which +# are supposed to be compatible), this variable contains the appropriate value +ifeq ($(shell echo `echo $(release) | sed 's/.\+\.\(.\+\)/\1/'`%2 | bc),1) + # development release + compatible_release := $(release).$(wx_release_number) +else + compatible_release := $(release) +endif + +# Base value for alternative priorities. +alt_prio := $(subst .,,$(release)) +# overwrite; for feisty, we do not want to change the default. +alt_prio := 28 + +pytoolkit := gtk2 +pydir := usr/lib/$(python_ver)/site-packages +wxpydir := $(pydir)/wx-$(compatible_release)-$(pytoolkit) + +cross_host := i586-mingw32msvc +cross_build := $(shell ./config.guess) + +config_cache = ../config_deb.cache +config_cache_cross = ../config_deb_cross.cache + + +# build options +COMMON_CONFIGURE_OPTIONS = \ + --prefix=/usr \ + --cache-file=$(config_cache) \ + --with-flavour=$(DEBIAN_WXFLAVOUR) \ + --with-zlib=sys \ + --disable-reserved_virtual \ + +BASE_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \ + --disable-gui \ + +GTK_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \ + --with-gtk \ + --enable-mediactrl \ + --enable-sound \ + --with-sdl \ + --enable-display \ + --enable-geometry \ + --enable-graphics_ctx \ + --with-libjpeg=sys \ + --with-libpng=sys \ + --with-libtiff=sys \ + + +PY_WX_CONFIG_OPTIONS = --version=$(release) --toolkit=$(pytoolkit) --static=no + +WX_UNICODE := 1 +WX_OPENGL := 1 + +ifeq ($(WX_UNICODE),1) + COMMON_CONFIGURE_OPTIONS += --enable-unicode + PY_WX_CONFIG_OPTIONS += --unicode + PY_UNICODE="UNICODE=1" + wxpydir := $(pydir)/wx-$(compatible_release)-$(pytoolkit)-unicode + + # for compatibility with the existing 2.6 packages, we don't use "u" in + # the Unicode (default) package names + unicode_suffix := +else + # but we do need to use something for non-Unicode packages to distinguish + # them + unicode_suffix := -ansi +endif + +ifeq ($(WX_OPENGL),1) + GTK_CONFIGURE_OPTIONS += --with-opengl +else + GTK_CONFIGURE_OPTIONS += --without-opengl +endif + +# Packages to build: +package_wxbase_lib := libwxbase$(sorelease)$(unicode_suffix) +package_wxbase_dev := libwxbase$(release)$(unicode_suffix)-dev +package_wxbase_dbg := libwxbase$(release)$(unicode_suffix)-dbg + +package_gtk_lib := libwxgtk$(sorelease)$(unicode_suffix) +package_gtk_dev := libwxgtk$(release)$(unicode_suffix)-dev +package_gtk_dbg := libwxgtk$(release)$(unicode_suffix)-dbg + + + + +package_gtk_py_lib := python-wxgtk$(release)$(unicode_suffix) +package_gtk_py_ver = python-wxversion +package_gtk_py_tools = python-wxtools +package_gtk_py_addons = python-wxaddons + +package_headers := wx$(release)-headers +package_i18n := wx$(release)-i18n +package_doc := wx$(release)-doc +package_examples := wx$(release)-examples +package_common = wx-common + +# The packages listed here are common to all wx versions, and may be provided +# by another source package if more than one is in the release simultaneously. +common_packages := $(package_common) $(package_gtk_py_ver) $(package_gtk_py_tools) $(package_gtk_py_addons) + + +package_gtk_dbg_py := python-wxgtk$(release)$(unicode_suffix)-dbg + + + +package_msw_dev := libwxmsw$(release)$(unicode_suffix)-dev +package_msw_dbg := libwxmsw$(release)$(unicode_suffix)-dbg +package_headers_msw := wx$(release)-headers-msw + +# The packages listed here will not be built by default. +extra_packages := \ + $(package_msw_dev) $(package_msw_dbg) $(package_headers_msw) + +ifdef DEBIAN_WX_DEFAULT_VERSION + + extra_packages += $(common_packages) + +endif + + +# Build directories: +objdir_wxbase_shared = objs_wxbase_sh +objdir_wxbase_debug = objs_wxbase_d +objdir_gtk_shared = objs_gtk_sh +objdir_gtk_debug = objs_gtk_d +objdir_gtk_install = objs_gtk_install +objdir_doc_cruft = objs_doc_con +objdir_doc = docs/wx-manual.html +objdir_examples = docs/examples +objdir_i18n = locale + +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_wxbase_shared) $(objdir_wxbase_debug) \ + $(objdir_gtk_shared) $(objdir_gtk_debug) $(objdir_gtk_install) \ + $(objdir_doc_cruft) $(objdir_doc) $(objdir_examples) \ + $(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 +# it's pulled out of the wxGTK shared lib package. +# +# similarly some of the wxpython packages are arch indep too, but +# all files for it are installed during the arch any phase. + + +# Build stamps: +build_arch_stamps = build-wxbase-shared-stamp build-wxbase-debug-stamp \ + build-gtk-shared-stamp build-gtk-shared-contrib-stamp \ + build-gtk-debug-stamp build-gtk-debug-contrib-stamp \ + build-i18n-stamp build-gtk-py-stamp build-gtk-dbg-py-stamp + +build_indep_stamps = build-examples-stamp build-doc-stamp + +build_cross_stamps = build-msw-shared-stamp build-msw-static-stamp build-msw-dbg-stamp + +build_stamps_native := $(build_arch_stamps) $(build_indep_stamps) + +build_stamps := $(build_stamps_native) $(build_cross_stamps) + + +# Install targets: +install_all_arch = install-wxbase-lib install-wxbase-dev install-wxbase-dbg \ + install-gtk-lib install-gtk-dev install-gtk-dbg \ + install-headers install-i18n \ + install-gtk-py install-gtk-dbg-py + +ifndef DEBIAN_WX_DEFAULT_VERSION + + install_all_arch += install-common + +endif + +install_all_indep = install-examples install-doc + +install_all_cross = install-msw-dev install-msw-dbg install-headers-msw + +install_all_native := $(install_all_arch) $(install_all_indep) + +install_all := $(install_all_native) $(install_all_cross) + + +# wxPython uses this to build in-tree +wxconfig := $(shell pwd)/$(objdir_gtk_shared)/wx-config --no_rpath +wxconfig-dbg := $(shell pwd)/$(objdir_gtk_debug)/wx-config --no_rpath + +# and this after it is installed. +py_wxconfig := wx-config $(PY_WX_CONFIG_OPTIONS) --debug=no +pyd_wxconfig := wx-config $(PY_WX_CONFIG_OPTIONS) --debug + + +#contrib_libs := $(subst CVS,,$(notdir $(wildcard contrib/include/wx/*))) + + +# The Rules: + +debian/control: debian/control.in + sed -e 's/=V/$(release)/g;s/=SOV/$(sorelease)/g;s/=PY/python/g;s/=U/$(unicode_suffix)/g'\ + < debian/control.in > debian/control + +control-files-stamp: debian/control + dh_testdir + @for f in postinst prerm; do \ + echo "generating control file $(package_wxbase_dev).$$f"; \ + sed -e 's/=V/$(release)/g; '\ +' s/=PRIO/$(alt_prio)/g' \ + < debian/libwxbase-dev.$$f \ + > debian/$(package_wxbase_dev).$$f; \ + done; + @for f in postinst prerm; do \ + echo "generating control file $(package_wxbase_dbg).$$f"; \ + sed -e 's/=V/$(release)/g; '\ +' s/=PRIO/$(alt_prio)/g' \ + < debian/libwxbase-dbg.$$f \ + > debian/$(package_wxbase_dbg).$$f; \ + done; + @for f in postinst prerm; do \ + echo "generating control file $(package_gtk_dev).$$f"; \ + sed -e 's/=V/$(release)/g; '\ +' s/=PRIO/$(alt_prio)/g' \ + < debian/libwxgtk-dev.$$f \ + > debian/$(package_gtk_dev).$$f; \ + done; + @for f in postinst prerm; do \ + echo "generating control file $(package_gtk_dbg).$$f"; \ + sed -e 's/=V/$(release)/g; '\ +' s/=PRIO/$(alt_prio)/g' \ + < debian/libwxgtk-dbg.$$f \ + > debian/$(package_gtk_dbg).$$f; \ + done; + @for f in docs postinst prerm; do \ + echo "generating control file $(package_gtk_py_lib).$$f"; \ + sed -e 's/=PY/$(python_ver)/g; '\ +' s|=WXPYDIR|$(wxpydir)|g; '\ +' s/=V/$(release)/g; '\ +' s/=PRIO/$(alt_prio)/g' \ + < debian/python-wxgtk.$$f \ + > debian/$(package_gtk_py_lib).$$f; \ + done; + @echo "generating control file $(package_gtk_dbg_py).docs"; + @cp debian/python-wxgtk.docs debian/$(package_gtk_dbg_py).docs; + @for f in docs doc-base; do \ + echo "generating control file $(package_doc).$$f"; \ + sed -e 's/=V/$(release)/g' < debian/wx-doc.$$f \ + > debian/$(package_doc).$$f; \ + done; + @for f in examples; do \ + echo "generating control file $(package_examples).$$f"; \ + cp debian/wx-examples.$$f debian/$(package_examples).$$f; \ + done; + @for f in postinst prerm; do \ + echo "generating control file $(package_msw_dev).$$f"; \ + sed -e 's/=V/$(release)/g; '\ +' s/=H/$(cross_host)/g; '\ +' s/=PRIO/$(alt_prio)/g' \ + < debian/libwxmsw-dev.$$f \ + > debian/$(package_msw_dev).$$f; \ + done; + @for f in postinst prerm; do \ + echo "generating control file $(package_msw_dbg).$$f"; \ + sed -e 's/=V/$(release)/g; '\ +' s/=H/$(cross_host)/g; '\ +' s/=PRIO/$(alt_prio)/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; '\ +' s/=SOV/$(sorelease)/g' \ + < debian/lintian-override.in \ + > debian/lintian-override; \ + touch $@ + +build_arch: control-files-stamp $(build_arch_stamps) +build_all: control-files-stamp $(build_stamps_native) + +# Really we should probably do nothing here until we know which +# binary target is being called, but alpha builds were exploding +# (compiler segfaults) in random places when building under fakeroot +# from the binary-arch target. Build all -arch files here then, and +# let the -indep stuff fend for itself later. + +build: build_arch + + +# The wx2.6 build system makes us run around in circles to get a separate +# libwxbase. We need to configure it here in order to get the correct +# config files to use it alone, but there is no point building it as the +# wxgtk build is going to do that again anyway. We'll move the relevant +# files out when that is done. + +configure-wxbase-shared-stamp: + dh_testdir + mkdir -p $(objdir_wxbase_shared) + cd $(objdir_wxbase_shared) \ + && ../configure $(BASE_CONFIGURE_OPTIONS) + touch $@ + +build-wxbase-shared-stamp: configure-wxbase-shared-stamp + dh_testdir + # Nothing to build here, move along... + #cd $(objdir_wxbase_shared) && $(FAST_MAKE) + touch $@ + +configure-wxbase-debug-stamp: + dh_testdir + mkdir -p $(objdir_wxbase_debug) + cd $(objdir_wxbase_debug) \ + && ../configure $(BASE_CONFIGURE_OPTIONS) --enable-debug + touch $@ + +build-wxbase-debug-stamp: configure-wxbase-debug-stamp + dh_testdir + # Nothing to build here, move along... + #cd $(objdir_wxbase_debug) && $(FAST_MAKE) + touch $@ + +configure-gtk-shared-stamp: + dh_testdir + mkdir -p $(objdir_gtk_shared) + cd $(objdir_gtk_shared) \ + && ../configure $(GTK_CONFIGURE_OPTIONS) + touch $@ + +build-gtk-shared-stamp: configure-gtk-shared-stamp + dh_testdir + cd $(objdir_gtk_shared) && $(FAST_MAKE) + touch $@ + + +configure-gtk-debug-stamp: + dh_testdir + mkdir -p $(objdir_gtk_debug) + cd $(objdir_gtk_debug) \ + && ../configure $(GTK_CONFIGURE_OPTIONS) --enable-debug + touch $@ + +build-gtk-debug-stamp: configure-gtk-debug-stamp + dh_testdir + cd $(objdir_gtk_debug) && $(FAST_MAKE) + touch $@ + + +build-gtk-shared-contrib-stamp: build-gtk-shared-stamp + dh_testdir + cd $(objdir_gtk_shared)/contrib/src && $(FAST_MAKE) + cd $(objdir_gtk_shared)/utils/wxrc && $(FAST_MAKE) + touch $@ + + +build-gtk-debug-contrib-stamp: build-gtk-debug-stamp + dh_testdir + cd $(objdir_gtk_debug)/contrib/src && $(FAST_MAKE) + touch $@ + + +purge-dbg-py: + @if [ ! -e build-gtk-py-stamp ]; then \ + $(MAKE) -f debian/rules clean-py; \ + fi + $(RM) build-gtk-dbg-py-stamp + +build-gtk-py-stamp: build-gtk-shared-stamp # purge-dbg-py + dh_testdir + touch docs/lgpl.txt + cd wxPython \ + && $(python_ver) ./setup.py build \ + WX_CONFIG='$(wxconfig)' \ + WXPORT=$(pytoolkit) \ + $(PY_UNICODE) \ + FLAVOUR=$(DEBIAN_WXFLAVOUR) + touch $@ + +build-doc-stamp: build-gtk-shared-stamp + dh_testdir + # the tarball may already have the generated docs in it + if [ ! -e docs/html/wx/index.html ]; then \ + cd $(objdir_gtk_shared)/utils/tex2rtf/src && $(FAST_MAKE); \ + cd -; \ + rm -rf $(objdir_doc); \ + rm -rf $(objdir_doc_cruft); \ + mkdir $(objdir_doc); \ + mkdir $(objdir_doc_cruft); \ + cd $(objdir_doc_cruft); \ + LD_LIBRARY_PATH=../$(objdir_gtk_shared)/lib:$(LD_LIBRARY_PATH) \ + ../$(objdir_gtk_shared)/utils/tex2rtf/src/tex2rtf \ + ../docs/latex/wx/manual.tex \ + ../$(objdir_doc)/wx$(release)-manual.html \ + -twice -html; \ + cd -; \ + cp docs/latex/wx/*.gif $(objdir_doc); \ + rm -rf $(objdir_doc_cruft); \ + rm -f $(objdir_doc)/wx$(release)-manual.{con,hh*,htx,ref}; \ + else \ + mkdir $(objdir_doc); \ + cp docs/html/wx/* $(objdir_doc); \ + mv $(objdir_doc)/index.html $(objdir_doc)/wx-$(release)-manual_contents.html; \ + fi + touch $@ + +build-examples-stamp: build-gtk-shared-stamp + dh_testdir + mkdir -p $(objdir_examples) + + # copy all samples and the Makefile generated for libwxgtk. + cp -a samples $(objdir_examples) + rm -f $(objdir_examples)/samples/Makefile + cp -a $(objdir_gtk_shared)/samples/Makefile $(objdir_examples)/samples + + cd $(objdir_examples)/samples \ + && find -name 'Makefile.in' -exec rm -f '{}' ';' \ + && for d in $$(find -type d); do \ + if [ -f $$d/makefile.unx ]; then \ + mv $$d/makefile.unx $$d/Makefile; \ + fi; \ + done \ + + cp -a wxPython/demo $(objdir_examples)/wxPython + + echo "generating install_examples.sh script"; + sed -e 's/=V/$(release)/g' < debian/unpack_examples.sh.in \ + > debian/unpack_examples.sh + chmod 755 debian/unpack_examples.sh + + touch $@ + +build-i18n-stamp: build-gtk-shared-stamp + dh_testdir + + # touch .po files first, since if they are not already up + # to date then _now_ is not the time to fix it. + # That should have been been done before cvs was tagged. + cd $(objdir_i18n) \ + && touch *.po \ + && $(MAKE) allmo + touch $@ + +purge-release-py: + @if [ ! -e build-gtk-dbg-py-stamp ]; then \ + $(MAKE) -f debian/rules clean-py; \ + fi + $(RM) build-gtk-py-stamp + +build-gtk-dbg-py-stamp: build-gtk-debug-stamp #purge-release-py + dh_testdir + touch docs/lgpl.txt + cd wxPython \ + && $(python_ver)-dbg ./setup.py build \ + WX_CONFIG='$(wxconfig-dbg)' \ + WXPORT=$(pytoolkit) \ + $(PY_UNICODE) \ + FLAVOUR=$(addsuffix -,$(DEBIAN_WXFLAVOUR))dbg + touch $@ + + +configure-msw-shared-stamp: + dh_testdir + mkdir -p $(objdir_msw_shared) + cd $(objdir_msw_shared) \ + && ../configure --prefix=/usr/$(cross_host) \ + --cache-file=$(config_cache_cross) \ + --host=$(cross_host) \ + --build=$(cross_build) \ + --with-flavour=$(DEBIAN_WXFLAVOUR) + touch $@ + +build-msw-shared-stamp: configure-msw-shared-stamp + dh_testdir + cd $(objdir_msw_shared) && $(FAST_MAKE) + touch $@ + +configure-msw-static-stamp: + dh_testdir + mkdir -p $(objdir_msw_static) + cd $(objdir_msw_static) \ + && ../configure --prefix=/usr/$(cross_host) \ + --cache-file=$(config_cache_cross) \ + --host=$(cross_host) \ + --build=$(cross_build) \ + --with-flavour=$(DEBIAN_WXFLAVOUR) \ + --disable-shared + touch $@ + +build-msw-static-stamp: configure-msw-static-stamp + dh_testdir + cd $(objdir_msw_static) && $(FAST_MAKE) + touch $@ + +configure-msw-dbg-stamp: + dh_testdir + mkdir -p $(objdir_msw_dbg) + cd $(objdir_msw_dbg) \ + && ../configure --prefix=/usr/$(cross_host) \ + --cache-file=$(config_cache_cross) \ + --host=$(cross_host) \ + --build=$(cross_build) \ + --with-flavour=$(DEBIAN_WXFLAVOUR) \ + --enable-debug + touch $@ + +build-msw-dbg-stamp: configure-msw-dbg-stamp + dh_testdir + cd $(objdir_msw_dbg) && $(FAST_MAKE) + touch $@ + + +clean-py: + cd wxPython && rm -rf licence build* docs/xml-raw wx/*.py + + # What to do about src/__version__.py ??? + + +# We do the equivalent of this above by removing build, unfortunately +# its not enough by itself to get the tree properly clean again. +# && ./setup.py clean + +clean: debian/control clean-py + dh_testdir + dh_testroot + + rm -rf config_deb.cache config_deb_cross.cache *-stamp $(objdirs) + rm -f docs/lgpl.txt + rm -f $(objdir_i18n)/*.mo + + dh_clean + rm -f debian/$(package_wxbase_lib).* + rm -f debian/$(package_wxbase_dev).* + rm -f debian/$(package_wxbase_dbg).* + rm -f debian/$(package_gtk_lib).* + rm -f debian/$(package_gtk_dev).* + rm -f debian/$(package_gtk_dbg).* + rm -f debian/$(package_gtk_py_lib).* + rm -f debian/$(package_headers).* + rm -f debian/$(package_i18n).* + rm -f debian/$(package_doc).* + rm -f debian/$(package_examples).* + rm -f debian/$(package_gtk_dbg_py).* + rm -f debian/$(package_msw_dev).* + rm -f debian/$(package_msw_dbg).* + rm -f debian/lintian-override + rm -f debian/unpack_examples.sh + find -name '*.py[co]' | xargs -r rm -f + rm -rf include/wx-$(release) + +install_arch: build_arch $(install_all_arch) + +install: build_all $(install_all_native) + + +install-wxbase-lib: DH_OPTIONS=-p$(package_wxbase_lib) +install-wxbase-lib: build-wxbase-shared-stamp install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + @# No, this is not a typo, we steal these libs from the gtk build. + dh_install $(objdir_gtk_install)/lib/libwx_base*.so.* usr/lib + dh_installdirs usr/share/lintian/overrides + cp debian/lintian-override debian/$(package_wxbase_lib)/usr/share/lintian/overrides/$(package_wxbase_lib) + +install-wxbase-dev: DH_OPTIONS=-p$(package_wxbase_dev) +install-wxbase-dev: build-wxbase-shared-stamp install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + @# No, this is not a typo, we steal these libs from the gtk build. + dh_install $(objdir_gtk_install)/lib/libwx_base*.so usr/lib + dh_install $(objdir_wxbase_shared)/lib/wx/include usr/lib/wx + dh_install $(objdir_wxbase_shared)/lib/wx/config/base* usr/lib/wx/config + +install-wxbase-dbg: DH_OPTIONS=-p$(package_wxbase_dbg) +install-wxbase-dbg: build-wxbase-debug-stamp + dh_testdir + dh_testroot + dh_clean -k + @# No, this is not a typo, we steal these libs from the gtk debug build. + dh_install $(objdir_gtk_debug)/lib/libwx_base* usr/lib + dh_install $(objdir_wxbase_debug)/lib/wx/include usr/lib/wx + dh_install $(objdir_wxbase_debug)/lib/wx/config/base* usr/lib/wx/config + dh_installdirs usr/share/lintian/overrides + cp debian/lintian-override debian/$(package_wxbase_dbg)/usr/share/lintian/overrides/$(package_wxbase_dbg) + +install-gtk-shared-stamp: build-gtk-shared-stamp build-gtk-shared-contrib-stamp + dh_testdir + mkdir -p $(objdir_gtk_install) + cd $(objdir_gtk_shared) \ + && $(MAKE) install prefix=`pwd`/../$(objdir_gtk_install) + cd $(objdir_gtk_shared)/contrib/src \ + && $(MAKE) install prefix=`pwd`/../../../$(objdir_gtk_install) + touch $@ + +install-gtk-lib: DH_OPTIONS=-p$(package_gtk_lib) +install-gtk-lib: install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_install $(objdir_gtk_install)/lib/libwx_gtk*.so.* usr/lib + dh_installdirs usr/share/lintian/overrides + cp debian/lintian-override debian/$(package_gtk_lib)/usr/share/lintian/overrides/$(package_gtk_lib) + +install-gtk-dev: DH_OPTIONS=-p$(package_gtk_dev) +install-gtk-dev: install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_install $(objdir_gtk_install)/lib/libwx_gtk*.so usr/lib + dh_install $(objdir_gtk_install)/lib/wx/include usr/lib/wx + dh_install $(objdir_gtk_install)/lib/wx/config/gtk* usr/lib/wx/config + +install-gtk-dbg: DH_OPTIONS=-p$(package_gtk_dbg) +install-gtk-dbg: build-gtk-debug-stamp build-gtk-debug-contrib-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_install $(objdir_gtk_debug)/lib/libwx_gtk* usr/lib + dh_install $(objdir_gtk_debug)/lib/wx/include usr/lib/wx + dh_install $(objdir_gtk_debug)/lib/wx/config/gtk* usr/lib/wx/config + dh_installdirs usr/share/lintian/overrides + cp debian/lintian-override debian/$(package_gtk_dbg)/usr/share/lintian/overrides/$(package_gtk_dbg) + + +install-gtk-py-lib: DH_OPTIONS=-p$(package_gtk_py_lib) +install-gtk-py-lib: build-gtk-py-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs usr/lib/wx/python + cd wxPython \ + && $(python_ver) ./setup.py install \ + --prefix=`pwd`/../debian/$(package_gtk_py_lib)/usr \ + WX_CONFIG='$(wxconfig)' \ + SYS_WX_CONFIG='$(py_wxconfig)' \ + WXPORT=$(pytoolkit) \ + $(PY_UNICODE) \ + FLAVOUR=$(DEBIAN_WXFLAVOUR) + + mv debian/$(package_gtk_py_lib)/$(pydir)/wx.pth \ + debian/$(package_gtk_py_lib)/usr/lib/wx/python/wx$(release).pth + + find debian/$(package_gtk_py_lib)/$(pydir) -name '*.py?' -exec rm '{}' ';' + + DH_PYCENTRAL=nomove dh_pycentral + + # This is rather bogus, its included in the main copyright file now though. + rm -f debian/$(package_gtk_py_lib)/$(wxpydir)/wx/tools/XRCed/license.txt + +install-gtk-py-ver: DH_OPTIONS=-p$(package_gtk_py_ver) +install-gtk-py-ver: install-gtk-py-lib + dh_testdir + dh_testroot + dh_clean -k + +ifndef DEBIAN_WX_DEFAULT_VERSION + + dh_movefiles --sourcedir=debian/$(package_gtk_py_lib) $(pydir)/wxversion.py +else + rm debian/$(package_gtk_py_lib)/$(pydir)/wxversion.py +endif + DH_PYCENTRAL=nomove dh_pycentral + + + +install-gtk-py-tools: DH_OPTIONS=-p$(package_gtk_py_tools) +install-gtk-py-tools: install-gtk-py-ver + dh_testdir + dh_testroot + dh_clean -k + +ifndef DEBIAN_WX_DEFAULT_VERSION + + dh_movefiles --sourcedir=debian/$(package_gtk_py_lib) usr/bin + + dh_installman debian/wxPython-tools.1 + dh_link usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2py.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2xpm.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2png.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pycrust.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyshell.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/xrced.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/helpviewer.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyalacarte.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyalamode.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pywrap.1 \ + usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pywxrc.1 + + dh_installdirs usr/share/lintian/overrides + cp debian/lintian-override debian/$(package_gtk_py_tools)/usr/share/lintian/overrides/$(package_gtk_py_tools) +endif + mkdir -p debian/$(package_gtk_py_tools)/usr/share/pixmaps + mkdir -p debian/$(package_gtk_py_tools)/usr/share/applications + + cp wxPython/wx/py/PyCrust_32.png debian/$(package_gtk_py_tools)/usr/share/pixmaps/pycrust.png + cp wxPython/wx/py/PyCrust_32.png debian/$(package_gtk_py_tools)/usr/share/pixmaps/pyshell.png + cp wxPython/wx/tools/XRCed/XRCed_32.png debian/$(package_gtk_py_tools)/usr/share/pixmaps/xrced.png + cp debian/pycrust.desktop debian/$(package_gtk_py_tools)/usr/share/applications + cp debian/pyshell.desktop debian/$(package_gtk_py_tools)/usr/share/applications + cp debian/xrced.desktop debian/$(package_gtk_py_tools)/usr/share/applications + + rm -r debian/$(package_gtk_py_lib)/usr/bin + + DH_PYCENTRAL=nomove dh_pycentral + +install-gtk-py-addons: DH_OPTIONS=-p$(package_gtk_py_addons) +install-gtk-py-addons: install-gtk-py-tools + dh_testdir + dh_testroot + dh_clean -k +ifndef DEBIAN_WX_DEFAULT_VERSION + + dh_movefiles --sourcedir=debian/$(package_gtk_py_lib) $(pydir)/wxaddons +else + rm -r debian/$(package_gtk_py_lib)/$(pydir)/wxaddons +endif + + +install-gtk-py: install-gtk-py-addons + + +install-common: DH_OPTIONS=-p$(package_common) +install-common: install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + + dh_install $(objdir_gtk_install)/share/bakefile/presets usr/share/bakefile + dh_install $(objdir_gtk_install)/share/bakefile/presets/wx*.bkl usr/share/bakefile/presets + + dh_install $(objdir_gtk_install)/share/aclocal usr/share + dh_installman debian/wx-config.1 + + dh_install $(objdir_gtk_shared)/utils/wxrc/wxrc usr/bin + dh_installman debian/wxrc-tools.1 + dh_link usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrc.1 + + +install-headers: DH_OPTIONS=-p$(package_headers) +install-headers: install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + +# The only way to be really sure we get the univ headers correct is to install +# them. Do that in a scratch dirs, and move the gtk ones last, so at least +# they win in the result of any uncaught conflict. + +# cd $(objdir_gtk_univ) \ +# && $(MAKE) install prefix=`pwd`/../$(objdir_univ_install)/usr + +# dh_movefiles --sourcedir=$(objdir_univ_install) + dh_install $(objdir_gtk_install)/include usr + mkdir -p debian/$(package_headers)/usr/include/wx-$(release)/wx/wxPython + cp -p wxPython/include/wx/wxPython/*.h \ + debian/$(package_headers)/usr/include/wx-$(release)/wx/wxPython/ + +install-i18n: DH_OPTIONS=-p$(package_i18n) +install-i18n: build-i18n-stamp install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_install $(objdir_gtk_install)/share/locale usr/share + +install-doc: DH_OPTIONS=-p$(package_doc) +install-doc: build-doc-stamp + dh_testdir + dh_testroot + dh_clean -k + + @# Link this monstrosity with an overly obfuscated name + @# to something that both people and browsers can expect to find. + dh_link usr/share/doc/$(package_doc)/wx-manual.html/wx-$(release)-manual_contents.html \ + usr/share/doc/$(package_doc)/wx-manual.html/index.html + +install-examples: DH_OPTIONS=-p$(package_examples) +install-examples: build-examples-stamp + dh_testdir + dh_testroot + dh_clean -k + +install-gtk-dbg-py: DH_OPTIONS=-p$(package_gtk_dbg_py) +install-gtk-dbg-py: build-gtk-dbg-py-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs usr/lib/wx/python + cd wxPython \ + && $(python_ver)-dbg ./setup.py install \ + --prefix=`pwd`/../debian/$(package_gtk_dbg_py)/usr \ + WX_CONFIG='$(wxconfig-dbg)' \ + SYS_WX_CONFIG='$(pyd_wxconfig)' \ + WXPORT=$(pytoolkit) \ + $(PY_UNICODE) \ + FLAVOUR=$(addsuffix -,$(DEBIAN_WXFLAVOUR))dbg + + mv debian/$(package_gtk_dbg_py)/$(wxpydir)-dbg \ + debian/$(package_gtk_dbg_py)/$(wxpydir) + + find debian/$(package_gtk_dbg_py) ! -type d ! -name '*.so' | xargs rm -f + find debian/$(package_gtk_dbg_py) -depth -type d -empty -exec rmdir {} \; + + +install-msw-dev: DH_OPTIONS=-p$(package_msw_dev) +install-msw-dev: build-msw-shared-stamp build-msw-static-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_install $(objdir_msw_shared)/lib/*.dll* usr/$(cross_host)/lib + dh_install $(objdir_msw_shared)/lib/wx/include usr/$(cross_host)/lib/wx + dh_install $(objdir_msw_shared)/lib/wx/config/$(cross_host)* usr/$(cross_host)/lib/wx/config + dh_install $(objdir_msw_static)/lib/*.a usr/$(cross_host)/lib + dh_install $(objdir_msw_static)/lib/wx/include usr/$(cross_host)/lib/wx + dh_install $(objdir_msw_static)/lib/wx/config/$(cross_host)* usr/$(cross_host)/lib/wx/config + $(cross_host)-strip --strip-debug debian/$(package_msw_dev)/usr/$(cross_host)/lib/*.a + + @# As a special case for the cross packages, we link their config + @# under /usr as well as under the normal cross prefix. This way + @# --prefix=/usr/$(cross_host) and --prefix=/usr --host=$(cross_host) + @# will have a congruent effect on wx-config. + @( for f in `ls -1 debian/$(package_msw_dev)/usr/$(cross_host)/lib/wx/config`; do \ + all_cfg="$${all_cfg} usr/$(cross_host)/lib/wx/config/$$f usr/lib/wx/config/$$f"; \ + echo "linking cross config /usr/$(cross_host)/lib/wx/config/$$f"; \ + done; \ + dh_link $${all_cfg}; \ + ) + +install-msw-dbg: DH_OPTIONS=-p$(package_msw_dbg) +install-msw-dbg: build-msw-dbg-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_install $(objdir_msw_dbg)/lib/*.dll* usr/$(cross_host)/lib + dh_install $(objdir_msw_dbg)/lib/wx/include usr/$(cross_host)/lib/wx + dh_install $(objdir_msw_dbg)/lib/wx/config/$(cross_host)* usr/$(cross_host)/lib/wx/config + # No static lib, they're freakin' huge! + #$(cross_host)-strip --strip-debug debian/$(package_msw_dbg)/usr/$(cross_host)/lib/*.a + + @( for f in `ls -1 debian/$(package_msw_dbg)/usr/$(cross_host)/lib/wx/config`; do \ + all_cfg="$${all_cfg} usr/$(cross_host)/lib/wx/config/$$f usr/lib/wx/config/$$f"; \ + echo "linking cross config /usr/$(cross_host)/lib/wx/config/$$f"; \ + done; \ + dh_link $${all_cfg}; \ + ) + +install-headers-msw: DH_OPTIONS=-p$(package_headers_msw) +install-headers-msw: + dh_testdir + dh_testroot + dh_clean -k + + 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 $(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. + rm -f debian/$(package_headers_msw)/usr/$(cross_host)/include/wx-$(release)/wx/msw + dh_install $(objdir_msw_install)/include/wx-$(release)/wx/msw usr/$(cross_host)/include/wx-$(release)/wx + + +binary-common: + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_installexamples + dh_installmenu + dh_link + + @# Don't strip debug libs at all, and strip cross libs elsewhere + @# with the cross host tools until dh_strip gets smarter. +ifneq (, $(filter -a, $(DH_OPTIONS))) + dh_strip -N$(package_gtk_dbg) -N$(package_wxbase_dbg) \ + -N$(package_msw_dev) -N$(package_msw_dbg) \ + -N$(package_gtk_py_lib) -N$(package_gtk_dbg_py) + DH_OPTIONS= dh_strip -p$(package_gtk_py_lib) --dbg-package=$(package_gtk_dbg_py) +endif + dh_compress + dh_fixperms + + @# Don't do this for the dbg-py special build because dh_makeshlibs + @# will crap out if it is called with no packages to act on. +ifneq ($(DH_OPTIONS),-p$(package_gtk_dbg_py)) + dh_makeshlibs -N$(package_gtk_py_lib) -V +endif + + dh_installdeb + dh_shlibdeps -ldebian/$(package_wxbase_lib)/usr/lib:debian/$(package_wxbase_dbg)/usr/lib:debian/$(package_gtk_lib)/usr/lib:debian/$(package_gtk_dbg)/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-independent files here. +# Note that you currently can't build the indep packages without first +# building the arch specific package files needed to create them. +binary-indep: build_all install + $(MAKE) -f debian/rules \ + DH_OPTIONS="-i $(addprefix -N,$(extra_packages))" \ + binary-common + +# Build just the architecture-dependent files here. +binary-arch: build_arch install_arch + $(MAKE) -f debian/rules \ + DH_OPTIONS="-a $(addprefix -N,$(extra_packages))" \ + binary-common + rm -rf debian/$(package_gtk_dbg_py)/usr/share/doc/$(package_gtk_dbg_py) + ln -s $(package_gtk_py_lib) debian/$(package_gtk_dbg_py)/usr/share/doc/$(package_gtk_dbg_py) + +# Build all packages target. +binary: binary-arch binary-indep + + +# This is a special target for building the wxMSW-cross packages. +# It's not currently called during the official package build run +# but may be run separately to build the extra packages. +# There is an implied build dep on the mingw32 cross compiler +# that is not in the control file. +binary-cross: control-files-stamp $(install_all_cross) + $(MAKE) -f debian/rules \ + DH_OPTIONS="-p$(package_msw_dev) -p$(package_msw_dbg) -p$(package_headers_msw)" \ + binary-common + + +# Build wxPython against libwxgtk-dbg. This package will conflict +# with the release build one, but may be useful to some people. +binary-dbg-py: control-files-stamp install-gtk-dbg-py + $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_dbg_py)" binary-common + + +############################################################################ +# +# Some rules to build a subset of the complete list of packages that can be +# built from CVS. Beware that packages produced with these rules may *NOT* +# be compatible with packages built using the 'binary' target or even with +# Debian policy. Do not distribute packages built with these rules, they +# are currently useful for rapid in-house testing by developers only. + +DH_OPTIONS_GTK := -p$(package_wxbase_lib) -p$(package_gtk_lib) -p$(package_headers) + +# libwxgtk shared lib package +binary-gtk: control-files-stamp install-gtk-lib install-wxbase-lib install-headers + $(MAKE) -f debian/rules DH_OPTIONS="$(DH_OPTIONS_GTK)" binary-common + +binary-gtk-dev: control-files-stamp install-gtk-dev install-wxbase-dev install-headers + $(MAKE) -f debian/rules \ + DH_OPTIONS="-p$(package_wxbase_dev) -p$(package_gtk_dev) $(DH_OPTIONS_GTK)" \ + binary-common + +binary-gtk-dbg: control-files-stamp install-gtk-dbg install-wxbase-dbg install-headers + $(MAKE) -f debian/rules \ + DH_OPTIONS="-p$(package_wxbase_dbg) -p$(package_gtk_dbg) -p$(package_headers)" \ + binary-common + + +# docs package +binary-doc: control-files-stamp install-doc + $(MAKE) -f debian/rules DH_OPTIONS=-p$(package_doc) binary-common + +binary-fast:control-files-stamp install-gtk-dbg install-msw-dev install-headers install-headers-msw + $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_dbg) -p$(package_msw_dev) -p$(package_headers) -p$(package_headers_msw)" binary-common + + +.PHONY: build build_all build_arch \ + clean clean-py purge-release-py purge-dbg-py \ + binary-indep binary-arch binary binary-common \ + binary-gtk binary-gtk-dev binary-gtk-dbg \ + binary-wxbase binary-wxbase-dev binary-wxbase-dbg \ + binary-doc binary-cross binary-dbg-py \ + install install_arch install-gtk-lib install-gtk-dev \ + install-gtk-dbg \ + install-gtk-py install-gtk-py-tools install-gtk-py-ver \ + install-gtk-py-lib install-gtk-dbg-py \ + install-common install-headers install-i18n install-doc \ + install-examples install-msw-dev install-msw-dbg install-headers-msw + --- wxwidgets2.8-2.8.4.0.orig/debian/copyright +++ wxwidgets2.8-2.8.4.0/debian/copyright @@ -0,0 +1,222 @@ +This package was debianized by Ron Lee on +Sun, 13 Feb 2000 18:40:00 +1030. + +more information about wxWindows, as well as the source these debs +are produced from can be found at www.wxwindows.org + +Note for Debian users: +====================== + +Most of the core wxWindows library is licenced under the wxWindows Library +Licence (included below), however some additional features of the library +may include source licenced under terms which do not include the exception +permitting you to licence binary object code versions of works based on the +Library under terms of your own choice. At any time and without warning, +newer versions of the Debian binary packages may include such code. + +In short, if you plan to licence apps built against these debs under terms +compatible with the GPL or LGPL, then you have nothing to worry about. If +you wish to release your code under a licence which does not grant all of +the same rights as the LGPL would assert but would be permitted under the +terms of the exception, then you are strongly advised to either check the +licencing terms of all components that these debs (and all future versions +that you use) are built with, or build your own binaries of wxWindows which +include only such code as is definitely covered by the exception. + +You should presume that these debs will fall under the provisions of the +unmodified LGPL unless you can prove otherwise, however this note in no way +alters the actual terms of the authorative licence detailed below, it is +intended to be purely informative of the fact that the Debian binary packages +will be built primarily with features useful to Free Software developers and +may not be suitable "as is" for compiling software for distribution that is +licenced incompatibly with the LGPL. See /usr/share/common-licenses for +the full text of the LGPL. + +Modifications and additions to the Library itself are encouraged to be +placed under the wxWindows Library Licence. We hope you find it useful. + + -- Ron + +----------------------------------------------------------------------------- + +Preamble +======== + +The licensing of the wxWindows library is intended to protect the wxWindows +library, its developers, and its users, so that the considerable investment +it represents is not abused. + +Under the terms of the wxWindows Licence, you as a user are not +obliged to distribute wxWindows source code with your products, if you +distribute these products in binary form. However, you are prevented from +restricting use of the library in source code form, or denying others the +rights to use or distribute wxWindows library source code in the way +intended. + +The wxWindows Licence establishes the copyright for the code and related +material, and it gives you legal permission to copy, distribute and/or +modify the library. It also asserts that no warranty is given by the authors +for this or derived code. + +The core distribution of the wxWindows library contains files +under two different licences: + +- Most files are distributed under the GNU Library General Public + Licence, version 2, with the special exception that you may create and + distribute object code versions built from the source code or modified + versions of it (even if these modified versions include code under a + different licence), and distribute such binaries under your own + terms. + +- Most core wxWindows manuals are made available under the "wxWindows + Free Documentation Licence", which allows you to distribute modified + versions of the manuals, such as versions documenting any modifications + made by you in your version of the library. However, you may not restrict + any third party from reincorporating your changes into the original + manuals. + + + + wxWindows Library Licence, Version 3 + ==================================== + + Copyright (c) 1998 Julian Smart, Robert Roebling et al + + Everyone is permitted to copy and distribute verbatim copies + of this licence document, but changing it is not allowed. + + WXWINDOWS LIBRARY LICENCE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public Licence as published by + the Free Software Foundation; either version 2 of the Licence, or (at + your option) any later version. + + This library is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library + General Public Licence for more details. + + You should have received a copy of the GNU Library General Public Licence + along with this software, usually in a file named COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301, USA. + + EXCEPTION NOTICE + + 1. As a special exception, the copyright holders of this library give + permission for additional uses of the text contained in this release of + the library as licenced under the wxWindows Library Licence, applying + either version 3 of the Licence, or (at your option) any later version of + the Licence as published by the copyright holders of version 3 of the + Licence document. + + 2. The exception is that you may use, copy, link, modify and distribute + under the user's own terms, binary object code versions of works based + on the Library. + + 3. If you copy code from files distributed under the terms of the GNU + General Public Licence or the GNU Library General Public Licence into a + copy of this library, as this licence permits, the exception does not + apply to the code that you add in this way. To avoid misleading anyone as + to the status of such modified files, you must delete this exception + notice from such code and/or adjust the licensing conditions notice + accordingly. + + 4. If you write modifications of your own for this library, it is your + choice whether to permit this exception to apply to your modifications. + If you do not wish that, you must delete the exception notice from such + code and/or adjust the licensing conditions notice accordingly. + + + + wxWindows Free Documentation Licence, Version 3 + =============================================== + + Copyright (c) 1998 Julian Smart, Robert Roebling et al + + Everyone is permitted to copy and distribute verbatim copies + of this licence document, but changing it is not allowed. + + WXWINDOWS FREE DOCUMENTATION LICENCE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 1. Permission is granted to make and distribute verbatim copies of this + manual or piece of documentation provided any copyright notice and this + permission notice are preserved on all copies. + + 2. Permission is granted to process this file or document through a + document processing system and, at your option and the option of any third + party, print the results, provided a printed document carries a copying + permission notice identical to this one. + + 3. Permission is granted to copy and distribute modified versions of this + manual or piece of documentation under the conditions for verbatim + copying, provided also that any sections describing licensing conditions + for this manual, such as, in particular, the GNU General Public Licence, + the GNU Library General Public Licence, and any wxWindows Licence are + included exactly as in the original, and provided that the entire + resulting derived work is distributed under the terms of a permission + notice identical to this one. + + 4. Permission is granted to copy and distribute translations of this + manual or piece of documentation into another language, under the above + conditions for modified versions, except that sections related to + licensing, including this paragraph, may also be included in translations + approved by the copyright holders of the respective licence documents in + addition to the original English. + + WARRANTY DISCLAIMER + + 5. BECAUSE THIS MANUAL OR PIECE OF DOCUMENTATION IS LICENSED FREE OF CHARGE, + THERE IS NO WARRANTY FOR IT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER + PARTIES PROVIDE THIS MANUAL OR PIECE OF DOCUMENTATION "AS IS" WITHOUT + WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF + THE MANUAL OR PIECE OF DOCUMENTATION IS WITH YOU. SHOULD THE MANUAL OR + PIECE OF DOCUMENTATION PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL + NECESSARY SERVICING, REPAIR OR CORRECTION. + + 6. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL + ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR + REDISTRIBUTE THE MANUAL OR PIECE OF DOCUMENTATION AS PERMITTED ABOVE, BE + LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR + CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE + MANUAL OR PIECE OF DOCUMENTATION (INCLUDING BUT NOT LIMITED TO LOSS OF + DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD + PARTIES OR A FAILURE OF A PROGRAM BASED ON THE MANUAL OR PIECE OF + DOCUMENTATION TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR + OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +----------------------------------------------------------------------------- + +XRCed is released under the following terms: + +Copyright (c) 2002, Roman Rolinsky +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + --- wxwidgets2.8-2.8.4.0.orig/debian/changelog +++ wxwidgets2.8-2.8.4.0/debian/changelog @@ -0,0 +1,769 @@ +wxwidgets2.8 (2.8.4.0-0ubuntu3) gutsy; urgency=low + + * src/gtk/settings.cpp: + + Patch from upstream SVN (r48002) to stop using private Gtk API which + results in segfaults since Gtk 2.11.6. + https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1767485&group_id=9863 + + -- Sebastian Dröge Fri, 10 Aug 2007 13:14:08 +0200 + +wxwidgets2.8 (2.8.4.0-0ubuntu2) gutsy; urgency=low + + * src/gtk/{button,window}.cpp: + - Use gtk_border_free not g_free when freeing GtkBorder's. + Changes from upstream CVS (LP: #120278). + + -- Matti Lindell Mon, 25 Jun 2007 23:51:17 +0300 + +wxwidgets2.8 (2.8.4.0-0ubuntu1) gutsy; urgency=low + + * New upstream version, based on the upstream tarball + wxPython-src-2.8.4.0.tar.bz2, renamed debian to debian-upstream. + * Set the priority of the wx.pth alternative to 28. + * debian/rules: Unset DEBIAN_WX_DEFAULT_VERSION. + * Merge changes from the "upstream" debian packaging. + + -- Matthias Klose Sat, 26 May 2007 17:54:57 +0200 + +wxwidgets2.8 (2.8.3.0-0ubuntu1) gutsy; urgency=low + + * New upstream version, based on the upstream tarball + wxPython-src-2.8.3.0.tar.bz2, renamed debian to debian-upstream. + + -- Emilio Pozuelo Monfort Fri, 20 Apr 2007 00:01:50 +0200 + +wxwidgets2.8 (2.8.1.1-0ubuntu4) feisty; urgency=low + + * Patched src/unix/gsocket.cpp to fix filezilla bug LP: #88897 + Patch details are at http:// + sf.net/tracker/index.php?func=detail&aid=1688222&group_id=9863&atid=309863 + + -- Adrien Cunin Fri, 30 Mar 2007 22:06:40 +0200 + +wxwidgets2.8 (2.8.1.1-0ubuntu3) feisty; urgency=low + + * fixed error in header file which blocks use of -pedantic + (patch from CVS) (LP: #91853) + + -- Jonh Wendell Mon, 19 Mar 2007 14:20:59 -0300 + +wxwidgets2.8 (2.8.1.1-0ubuntu2) feisty; urgency=low + + * fixed crash in wxGetUserName() in Unicode (from CVS) (LP: #35375) + + -- Emmet Hikory Mon, 12 Mar 2007 09:53:59 +0900 + +wxwidgets2.8 (2.8.1.1-0ubuntu1) feisty; urgency=low + + * New upstream version, based on the upstream tarball + wxPython-src-2.8.1.1.tar.bz2, renamed debian to debian-upstream. + * TODO: wxPython header files are installed in some bogus location, + but not in any package (no regression from 2.6). + + [ Matthias Klose ] + + * Merge changes from wxwidgets2.6-2.6.3.2.1.5ubuntu5. + * Merge changes from the "upstream" 2.8.1.1-0 package (without any + changes to debian/changelog, which includes upstream changes). + - Update build dependencies. + - New package python-wxaddons. + - Desktop integration for pycrust, pyshell, xrced. + * Remove redundant dependencies on libc6-dev. + * Set the priority of the wx.pth alternative to 25 (instead of the + default 28), so that we keep wxwidgets2.6 as the default on + new installations. + * wx2.8-headers: Install wxPython header files. Ubuntu #2887. + + [ Barry deFreese ] + + * Python version - 2.5 + * Bump standards to 3.7.2 + * Debhelper/compat > 5 + + -- Matthias Klose Wed, 28 Feb 2007 23:33:05 +0100 + +wxwidgets2.6 (2.6.3.2.1.5ubuntu5) feisty; urgency=low + + * Build the existing -dbg package for the python-dbg build. + * Remove python-wxgtk-dbg installation scripts. + * debian/rules: Remove dh_python calls. + * debian/control.in: Fix name of python-xml package. Don't let the -dbg + package conflict with the normal build, but depend on it. + * Remove debian/python-version, use pyversions -d. + * Use the default python flags for the wxPython builds. + * Add build dependency on bc. + * Bump debhelper compatibility to v5. + * Set Ubuntu maintainer address. + + -- Matthias Klose Wed, 28 Feb 2007 22:31:31 +0100 + +wxwidgets2.6 (2.6.3.2.1.5ubuntu4) feisty; urgency=low + + * wxPython/wx/py/introspect.py: + move "from __future__ import nested_scopes" to the begin of the file + + -- Michael Bienia Mon, 15 Jan 2007 17:59:40 +0100 + +wxwidgets2.6 (2.6.3.2.1.5ubuntu3) feisty; urgency=low + + * Explicitely set the hard coded python version to 2.5. + * Fix compilation errors with newer gcc. + * Fix 64bit builds with python2.5. + + -- Matthias Klose Sun, 14 Jan 2007 11:04:14 +0000 + +wxwidgets2.6 (2.6.3.2.1.5ubuntu2) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Fri, 12 Jan 2007 13:23:11 +0000 + +wxwidgets2.6 (2.6.3.2.1.5ubuntu1) feisty; urgency=low + + * Fix for GTK warnings in wxNotebook::DoRemovePage + (Closes: LP#59138) + + -- Matti Lindell Wed, 13 Dec 2006 22:35:54 +0200 + +wxwidgets2.6 (2.6.3.2.1.5build1) feisty; urgency=low + + * Rebuild for ldbl128 change on powerpc and sparc. + + -- Matthias Klose Thu, 2 Nov 2006 10:27:55 +0000 + +wxwidgets2.6 (2.6.3.2.1.5) unstable; urgency=medium + + * Non-maintainer upload. + * Set debian/python-version to 2.4. + * Replace =PY with python in debian/control (python-xml was transitionned to + the new policy). + + -- Mohammed Adnène Trojette Tue, 15 Aug 2006 23:44:53 +0200 + +wxwidgets2.6 (2.6.3.2.1.4) unstable; urgency=low + + * Fix 2.6.3.2.1.2, add the build dependency in debian/control.in. + Closes: #382951 + + -- Matthias Klose Mon, 14 Aug 2006 10:21:16 +0000 + +wxwidgets2.6 (2.6.3.2.1.3) unstable; urgency=low + + * NMU. + * Build for python2.4. + + -- Matthias Klose Mon, 14 Aug 2006 02:01:15 +0200 + +wxwidgets2.6 (2.6.3.2.1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Explicitely Build-Depend on python-central. Closes: #381110 + + -- Mohammed Adnène Trojette Sun, 6 Aug 2006 13:00:11 +0200 + +wxwidgets2.6 (2.6.3.2.1.1) unstable; urgency=low + + * NMU (I love this version string for NMU's :-/). + * Convert to updated Python policy. Closes: #373410. + + -- Matthias Klose Sat, 17 Jun 2006 18:25:37 +0200 + +wxwidgets2.6 (2.6.3.2.1) unstable; urgency=low + + * Add 'Replaces' for the wxbase packages when upgrading from + earlier than 2.6.3.2 where they split again. Closes: #365561 + + -- Ron Lee Mon, 1 May 2006 14:02:26 +0930 + +wxwidgets2.6 (2.6.3.2) unstable; urgency=low + + * Next try for an upload candidate. + * Fixes FTBFS on GNU/kFreeBSD. Closes: #327638 + * Update fr.po, thanks to Thomas Huriaux and debian-l10n-french. + Closes: #328966 + * Split wxbase back into its own package, after all these years + and just after I drop it, someone finally has a use for it. + Such is life. Closes: #333944 + * Fixes FTBFS with new make. If this ugly quoting is the tradeoff, + I'm itching to learn of the fabulous benefits... + Ack NMU for this from Kurt Roeckx to keep the amd64 transition + rolling while my x86 build machine was painfully dying. Thanks! + Closes: #350695, #361443 + * New FSF address in copyright file. + * Add an index.html link to the doc contents page. Closes: #328896 + * Fixes declarations for friends, as required by C++, and now gcc4.1. + Closes: #358219 + * Add an unpack_examples script, loosely based on one submitted + by Richard Esplin. Closes: #342761 + * Disable the reserved vtable entries (again, but this time its + optional) to retain compatibility with the existing release + in the distro. + * Update build-deps for xorg7. + + -- Ron Lee Fri, 14 Apr 2006 16:50:24 +0930 + +wxwidgets2.6 (2.6.1.2-0.1) unstable; urgency=low + + * Non-maintainer upload. + * Make it build using the new make. Patch from + Daniel Schepler (Closes: #350695) + + -- Kurt Roeckx Sun, 9 Apr 2006 14:04:34 +0200 + +wxwidgets2.6 (2.6.1.2) unstable; urgency=low + + * Fix the build_options.py created by the in tree build. + Closes: #324960 Thanks. + * Move the wx.pth alternative to its own directory where + it can't mess with anything else. + * Pull in changes to dcclient.cpp and window.cpp from HEAD + mostly for gtk2.8 compatibility, but fixes a couple of + other issues too. + + -- Ron Lee Thu, 25 Aug 2005 18:38:31 +0930 + +wxwidgets2.6 (2.6.1.1.1) unstable; urgency=low + + * Reshuffle the wxPython packages again, to comply better with + the python naming policy and improve support for concurrent + installations. The runtime files are now in python-wxgtk2.6-0, + the version selector in python-wxversion and the ancillary + tools in the python-wxtools package. + + Many thanks to Matthias Klose for patches + and patient prodding to get wxpython into better shape for + version transitions. + + * Collapse the wx-common package into an 'unversioned' one also. + + * On its way back into unstable by popular demand. + + -- Ron Lee Sun, 14 Aug 2005 21:25:34 +0930 + +wxwidgets2.6 (2.6.1.1) experimental; urgency=low + + * 2.6.2 prerelease test -- Pain for the Impatient. + + Be warned, wx2.6 has still not branched off the main + development tree, and the API is still in flux. + + This one is to see what else is wrong. + + * Upload to experimental now the -c2 transition is real. + + -- Ron Lee Thu, 23 Jun 2005 14:08:33 +0930 + +wxwidgets2.6 (2.6.0) unstable; urgency=low + + * 8 ... 9 ... 10. Here it comes, ready or not... + * make install includes archive.h now. Closes: #294998 + + -- Ron Lee Wed, 13 Apr 2005 01:15:05 +0930 + +wxwidgets2.5 (2.5.5.1) unstable; urgency=low + + * Last chance. + * Conflict with wxwin2.4-i18n. Due to inertia, it really + does. Sorry if you are not a gringo and want both 2.4 and + 2.5 apps localised on the same machine. Maybe for 2.6.1. + Bitch upstream if you want it fixed. + * Don't package the static libs anymore for wxGTK. + Blame drepper for encouraging their obsolescence If you dare. + * Trim the configure options to reflect the new defaults. + + -- Ron Lee Mon, 11 Apr 2005 22:43:58 +0930 + +wxwidgets2.5 (2.5.4.0) unstable; urgency=low + + * Experimental snapshot. + * More bakefile bogosity manually patched. Closes: #294998 + * Fix stray conflicts with 2.4. Closes: #287623 + * Fixes lack of version checking in wxPython examples. + Closes: #287772 + * Fixes FTBFS on ppc. Closes: #285186 + * Enable gnomeprint, Closes: #284943 satisfactorily I hope. + + -- Ron Lee Sun, 13 Feb 2005 16:52:38 +1030 + +wxwidgets2.5 (2.5.3.3) unstable; urgency=low + + * Experimental snapshot. + + -- Ron Lee Tue, 8 Feb 2005 12:30:45 +1030 + +wxwidgets2.5 (2.5.3.2) unstable; urgency=low + + * This time, really now. + A snapshot that is actually ready for wider release. + Thanks to all who've been patient. We know who you are. + * Update path to wxPython site-packages, build them with + --no_rpath since we will install the in tree build. + + -- Ron Lee Thu, 11 Nov 2004 11:01:00 +1030 + +wxwidgets2.5 (2.5.3.1) unstable; urgency=low + + * Functioning concurrent installs for both the C++ libs + and wxPython along with legacy support for existing 2.4 + users mean we can now safely introduce this release to + unstable without an adverse effect on existing users. + + -- Ron Lee Sun, 31 Oct 2004 15:54:46 +1030 + +wxwidgets2.5 (2.5.3.0) experimental; urgency=low + + * Experimental prerelease. + + -- Ron Lee Wed, 22 Sep 2004 03:29:56 +0930 + +wxwidgets2.5 (2.5.2.3) experimental; urgency=low + + * Greatly improved concurrent installs. We can now install + a much wider range of builds without conflicting and select + between them without the need to go changing symlinks or + the suite of applications you have installed. + * Contrib is dead. Long live contrib. + Better multi-library builds have made contrib more or less + obsolete. This is the big crunch before the boom. Everything + useful out of contrib has been moved back into the main package. + Later we will split many out again along the lines of shared + dependencies, so a minimal wx install really can remain minimal + without losing any future potential. + + -- Ron Lee Sat, 18 Sep 2004 00:59:01 +0930 + +wxwidgets2.5 (2.5.1.1) experimental; urgency=low + + * The s/ndow/dget/g release. + * Yes, the name has changed and the terrorists have won again. + Having a name too similar to Lindows apparently makes us a + liability to the illusion their assailants will want to project + in court. Eleven or so years of unbroken, unquestioned usage + was not nearly so interesting to these people as the fact we + were a soft target and easy to deprive of due process. + * wxGTK is now built with gtk2 and unicode support. + * wxBase is no longer a separate package, it is built with the + GUI libs which now depend on it. We might split it out again + one day if there is a need for that. + * Added support for GNU/K*BSD (thanks again to Robert Millan). + * Non-core functionality is now provided by separate libraries + rather than simply being built into a single behemoth unit. + Of course, given the way these things work, almost none of + them are actually smaller, and the load time is unlikely to + improve either, but the logical separation may be beneficial. + * Removed many elements of the build scripts that are no longer + required due to improvements and changes elsewhere. + * Added README.examples for people who think these are packaged + as demos instead of as extended documentation. + + -- Ron Lee Fri, 27 Feb 2004 17:00:29 +1030 + +wxwindows2.5 (2.5.0) unstable; urgency=low + + * New beginnings. Back to development flavored chaos again. + + -- Ron Lee Thu, 19 Dec 2002 01:08:50 -0800 + +wxwindows2.4 (2.4.2.6) unstable; urgency=high + + * High urgency so as not to reset the shotclock for getting wx and + its deps moving into testing. All changes since the last release + are superficial. + * Reapply HURD/K*BSD patch fragment that should not have been reverted. + Closes: #217726 (Make a wish, the third time is lucky so I'm told.) + * Updated .po files. + + -- Ron Lee Mon, 2 Aug 2004 14:50:07 +0930 + +wxwindows2.4 (2.4.2.5) unstable; urgency=medium + + * Medium urgency to keep things moving for the libtiff fudge. + * Switch to dhv4, libtiff4. + * Fix menu quoting. + * Whittled down on some of the build config scripts that weren't + really earning their weight. + * Check for DISTCC_HOSTS and set the number of make -j jobs according + to the number of hosts it contains. + * Purge the .pyc from site-packages/wx too. They are generated on + site at install time. + * Includes type correctness fix for 64bit arch's. Closes: #197661 + * Merged patches from Robert Millan for HURD/K*BSD support back from + cvs head. Closes: #217726 + * Store the python version we preconfigure virgin source with, then + people don't need the default python package installed to build + from source, just the packages declared in the build-deps. Fix + the -python postinst to use this when byte compiling too. + Closes: #259128 (and fixes #258529) + * Added README.examples to explain that these examples are extended + documentation for coders, rather than trial apps for users. + Closes: #212894 + * Dropped the examples from the demos subdir, the samples cover a lot + more ground than they used to and are generally more up to date, + it's also no longer hard to find a broad range of real applications + with source. Provided more external pointers in the README. + Closes: #258530 after discussion with the submitter. This is a bit + less c++ for your python, but I'm not convinced yet that either half + is such a burden on the other as to warrant an extra package here + at this stage. + * Fix linking of wxgtk_gl to include the proper dependency on wxgtk. + Remove suggestion of libgl1, by declaring the full library dependency + we now automatically insist on it. Closes: #262027 + * Include wxrc and wxrcedit in contrib-dev. Added a simple man page + and a menu entry for wxrcedit. Closes: #261811 + * Update gl sample makefiles to use --gl-libs. Thanks to Rich Walker + for picking this up. Closes: #246169 + * Enable the building of a libwxgtk-dbg-python package, but do not + build and upload it by default at this stage. Closes: #220568 + * Does not fix #239782, sorry. + + -- Ron Lee Wed, 28 Jul 2004 03:21:42 +0930 + +wxwindows2.4 (2.4.2.4) unstable; urgency=low + + * Modified build scripts to use pythonX.Y instead of python(>=X.Y) + * Removed bogus hard coded python2.2-xml. Closes: #216182 + * Enabled iostream support despite my opinion of this c++ 'feature'. + Closes: #211050 + * Event handling for menus with bitmaps fixed. Closes: #214788 + * Includes fixes for wxHTTP and wxURL parsing. Closes: #211023, #213600 + + -- Ron Lee Sat, 25 Oct 2003 13:48:07 +0930 + +wxwindows2.4 (2.4.1.2) unstable; urgency=low + + * New stable release. Closes: #198622 + * Ack python NMU changes, Thanks Josselin! + * Hurd support added to configure. Closes: #191581 + * Fixes ctrl-tab problem with pyslsk. Closes: #187923 + * Fixed configure for autoconf 2.57-3. Closes: #190755 + * Added conflict/replace for -doc. Closes: #202242 + + -- Ron Lee Fri, 22 Aug 2003 15:59:12 +0930 + +wxwindows2.4 (2.4.0.8-0.1) unstable; urgency=low + + * NMU for python transition. + * Build-depend and depend on python 2.3 (closes: #204737). + + -- Josselin Mouette Wed, 13 Aug 2003 22:21:48 +0200 + +wxwindows2.4 (2.4.0.9) unstable; urgency=low + + * Updated package sections to suit the new taxonomy. + * No public release of this version. + + -- Ron Lee Sat, 19 Apr 2003 20:13:39 -0700 + +wxwindows2.4 (2.4.0.8) unstable; urgency=low + + * The "I wish people would read the existing discussion about new releases + before posting 'reminder' bugs" release. Closes: #189144 + * Moved back to using png2. gtk1 forces that on anything using it and + gtk2 support is still too flakey both in wx and dependent apps for + us to entertain it in a stable release. This is a *really* messed + up situation for anyone trying to maintain a development machine. + Thank the png and gtk theme people if its a pain in your ass too. + Closes: #186779 + * Add real package options to the gl build deps. Closes: #182210 + * Really fix the XRCed problem, unlike 2.4.0.7 ; ) Closes: #183712 + + -- Ron Lee Tue, 15 Apr 2003 18:42:54 -0700 + +wxwindows2.4 (2.4.0.3) unstable; urgency=low + + * Changed Conflict to Replaces so people can use 2.4 -dev before all + their 2.3 deps are gone. Closes: #178305 + * Added wxPy supplied 2.3 distutils to the source package, apparently the + standard 2.2 one is now insufficient. This hopefully Closes: #178457 + + -- Ron Lee Mon, 27 Jan 2003 17:36:59 -0800 + +wxwindows2.4 (2.4.0.2) unstable; urgency=low + + * Added missing quantize.h to install. Closes: #178135 + * Removed unnecessary -dev deps. + * move wxwin.m4 &c out of the runtime package and conflict with earlier + versions that didn't. Also nuke some empty dir cruft that slipped by. + Thanks for noticing the latter Josip. Closes: #176033 + * dinstall won't close bugs from earlier unreleased versions :( + see below for explanations. Closes: #162948, #171258, #168148 + Closes: #170748, #168250, #164557, #172390, #172447, #168887 + Closes: #155476, #155478 + + -- Ron Lee Thu, 16 Jan 2003 16:46:31 -0800 + +wxwindows2.4 (2.4.0) unstable; urgency=low + + * The fingers crossed release. + * de.po typo fix. Closes: #174084 + * tr.po stable tree patch. Closes: #174667 + * Add a manpage for the wxPython scripts pointing to the pydoc docs. + * Disabled generation of gtk-univ, it is a rather insensible combination + now and should be replaced by x11-univ instead. + * There had to be some payoff to all the delays -- a clean gcc3.2 + transition :-) This package certainly obsoletes 2.3.3.2 and I'll + be seeking to finally have 2.2.9.2 removed as well once Audacity + is updated. + + -- Ron Lee Thu, 19 Dec 2002 00:50:48 -0800 + +wxwindows2.3 (2.3.4.1) unstable; urgency=low + + * 2.4.0pre1 I guess. + * Added -ffunction-sections for broken hppa linker. Closes: #162948 + * Conflict/Replace wxPython2.2. Since its nmu these two packages + can no longer currently coexist. Closes: #171258 + * xrced.py path search fixed. Closes: #168148, #170748 + * Actually install all wxUniv headers to the header package. + Closes: #168250, #164557 + * Robin tells me this one should be fixed in 2.3 too, I can't confirm + so please reopen if it's not. Closes: #172390 + * Added menu items for pycrust/pyshell, thanks Martin. Closes: #172447 + * Broken header fixed. Closes: #168887 + + -- Ron Lee Mon, 18 Nov 2002 18:54:21 -0800 + +wxwindows2.3 (2.3.3.2) unstable; urgency=low + + * The one more for luck release. + * Debian-wise, it fixes the problem with contrib lib name clashes; + code-wise, lots of little issues (and a couple of big 'uns) from + 2.3.3 -- see the more regular change or cvs logs for details... + * Yes, it's still the unstable branch, yes the request for testing + to see if we can reasonably obsolete 2.2 in post-woody debian + is still current, and yes we're still working toward a stable + 2.4 release as fast as we can. Big thanks to everyone who's + been patient and/or active fixing things. + + -- Ron Lee Thu, 26 Sep 2002 17:43:05 -0700 + +wxwindows2.3 (2.3.3.1) unstable; urgency=low + + * Ok, Robin says wxPython is good to go. + * Since wx2.2 has crashed and burned with the new releases of + python and png, Could package maintainers with packages that + depend on wx please recompile with this package and let me + know if they still need 2.2 in woody? If not I'll have them + removed. There should be a 2.4 release following very soon. + (hah, let's see how the date on that comment testifies!) + * Yes, I know wxpython is missing man pages for some of its + scripts. File a bug if you must, but preferably, if you know + what they do, attach a patch containing one. I don't use them + myself or could even do more than guess what they do today. + Sorry, C++. + + -- Ron Lee Thu, 19 Sep 2002 16:25:12 -0700 + +wxwindows2.3 (2.3.3) unstable; urgency=low + + * The "If it sucks, You whined for it!" release. + * It's also STILL our unstable branch, so I'll probably summarily + close any bugs related to that fact. Please report bugs in + the code to wx-dev@lists.wxwindows.org (or the wx bug tracker on + SourceForge) and not the debian BTS. They'll get to the right + people much faster that way. Packaging bugs to the BTS per normal. + Thanks! + Closes: #155476, #155478 + * New dynamic library/object loading code. + * Fixes several showstoppers from 2.3.2 + * wxPython now built with python2.2 + * Depend explicitly on libpng3-dev, hopefully that will stay the + right thing a little longer. Closes: #143439 + * Various wxPython issues all likely to be entirely different in 2.3 + Please reopen (and/or tell Robin :) if they aren't fixed. + Closes: #153276, #124372, #146757, #148062, #146303 + * Broken package managers are not my problem, unless enough people + think so to make it policy. Autogenerated bugs for things like + this suck too, just btw. If you're going to autogenerate menial + labor for people, at least autogenerate a patch to go along with + it. Closes: #130971, #130989, #130992 + + -- Ron Lee Wed, 19 Dec 2001 15:41:31 -0800 + +wxwindows2.3 (2.3.2) unstable; urgency=low + + * Major Overhaul. First serious release contender. + + Added .dll's to msw-cross packages. + Added -dbg versions of the cross packages. + Added experimental -univ(gtk) package. + Switched to python 2.1 + + -- Ron Lee Thu, 27 Sep 2001 05:55:07 -0700 + +wxwindows2.3 (2.3.1) unstable; urgency=low + + * 2.3.1 test debs -- still not QA'd for general release yet. + + -- Ron Lee Sun, 10 Jun 2001 20:10:36 -0700 + +wxwindows2.3 (2.3.0) unstable; urgency=low + + * Updated 2.2 build scripts for 2.3 + * initial test builds, please do not release.. + + -- Ron Lee Sat, 27 Jan 2001 01:51:24 -0800 + +wxwindows2.2 (2.2.9.2) unstable; urgency=high + + * Fix wxPython gl bug. Closes: #130758 + * Add versioned build dep on the -dev package too + to help avoid the 'png fiasco' for packages built + with wx. (Thanks Joshua) Closes: #131355 + + -- Ron Lee Fri, 25 Jan 2002 03:11:28 -0800 + +wxwindows2.2 (2.2.9.1) unstable; urgency=high + + * recompile with libpng2.. oops. Closes: #129762 + + -- Ron Lee Mon, 21 Jan 2002 13:20:00 -0800 + +wxwindows2.2 (2.2.9) unstable; urgency=high + + * fix for arches with unsigned char as default. + * high urgency because this fix really should get + into woody. + Closes: #127014 + + -- Ron Lee Mon, 31 Dec 2001 06:53:27 -0800 + +wxwindows2.2 (2.2.8.5) unstable; urgency=low + + * Add wxSIZE_T_IS defines to setup.h + Add automate that to my TODO list. + + -- Ron Lee Tue, 27 Nov 2001 05:55:47 -0800 + +wxwindows2.2 (2.2.8.4) unstable; urgency=low + + * Put the (modified) size_t == ulong kludge back into sndwav.cpp + it's still needed until wxDataOutputStream is made 64 bit + friendly, which may not happen for 2.2 since it will probably + not be binary compatible. + * caps a memory leak in the jpeg handler. + + -- Ron Lee Sun, 25 Nov 2001 11:53:59 -0800 + +wxwindows2.2 (2.2.8.3) unstable; urgency=low + + * Backported size_t test from 2.3 tree, removes the need for + specific tests for various 64 bit platforms including now + S/390 (thanks to Gerhard Tonn for the report). + Closes: #120768 + + -- Ron Lee Fri, 23 Nov 2001 20:53:49 -0800 + +wxwindows2.2 (2.2.8.2) unstable; urgency=low + + * python-dev doesn't get me python? More bytes in Build-Dep then + I guess ... Closes: #119954 + + -- Ron Lee Sun, 18 Nov 2001 04:28:41 -0800 + +wxwindows2.2 (2.2.8.1) unstable; urgency=low + + * Rebuild for python2.1 Closes: #119226, #118835 + + -- Ron Lee Mon, 12 Nov 2001 21:47:38 -0800 + +wxwindows2.2 (2.2.8) unstable; urgency=medium + + * Fixed bogus samples makefile. Closes: #110061 + * Added ability to build wxMSW-cross packages, but they + are not built and distributed by default. + + If you think such creatures belong in the archive, + see README.Debian + + * Pruned more inapplicable files from the raw cvs source, + cleaned configure.in and removed the need for a common setup.h, + removed superfluous library links and generally tweaked things + so as to make adding new ports easier. + * added --gl-libs flag to wx-config. + * added wx2.4 forward compatible event macros. + * added build fixes for IA64 from Jeff Licquia, and fixed clean + rules to pick up unnoticed strays that effected NMU builds. + Thanks Jeff. Closes: #101734, #104679 (fixed in NMU) + * Medium urgency since several other packages are waiting + for this to get into testing. + + -- Ron Lee Thu, 30 Aug 2001 15:41:49 -0700 + +wxwindows2.2 (2.2.7) unstable; urgency=medium + + * The "Testing Tarantella" release. + * various small control (mis)behaviours corrected. + * added missing build-dep for gettext. + * updated wxPython description, Closes: #102689 + * Never publicly released, oh well. + + -- Ron Lee Sun, 10 Jun 2001 19:32:46 -0700 + +wxwindows2.2 (2.2.6.1) unstable; urgency=low + + * fix rules so it really doesn't build -indep for ports + and fixed ambiguous overload bug in mmedia contrib. + This time it will build on alpha for sure. Really. :) + Closes: #92288 + * added extra -dev package deps. Closes: #91364 + + -- Ron Lee Sat, 7 Apr 2001 06:49:58 -0700 + +wxwindows2.2 (2.2.6) unstable; urgency=low + + * changed i18n package back to building during arch phase + so we can reap the .mo files as they are created. Closes: #86174 + * OBCBLR Closes: #84692 + * fix wxPython build gremlin. Closes: #89209, #85129 + * tweaked wx-config alternatives priority to favour the most + likely default use. + * general buglet count reduced. + + -- Ron Lee Thu, 8 Mar 2001 21:10:07 -0800 + +wxwindows2.2 (2.2.5.1) unstable; urgency=low + + * "This One's for Dirk" Closes: #84696 + * 2.2.5 has known issues and will not be released for Debian. + * Fixed parser.y for Alpha builds (#82949) + * changed mesa dependency to the virtual libgl package and + added Conflicts for the old 2.1 packages (which are now + gone from woody anyway) Closes: #80120, #70778, #70779, #70780 + * wxPython now builds as a single unit (including contrib) + so removed the libwxgtk-python-contrib package + * updated translations + * new event table macro to enable code being written with 2.2 + to be forward compatible with the changes in 2.4 + * numerous sundry bugfixes + + -- Ron Lee Wed, 24 Jan 2001 18:51:24 -0800 + +wxwindows2.2 (2.2.2) unstable; urgency=low + + * added missing dependancy for contrib-dev package. Closes: #70880 + * by popular demand, added a package with the python-contrib libs. + * more tweaks to deb/rules. autodetect the python install location, + and cache the results of configure tests for all packages. + * and of course a whole stack of minor fixes in the main codebase too. + + -- Ron Lee Tue, 5 Sep 2000 18:51:24 +0930 + +wxwindows2.2 (2.2.1) unstable; urgency=low + + * wxWin 2.2.1 stable release. + * First upload to deb.org after repackaging to build directly from + upstream cvs. + * still not quite lintian clean yet: + - wxPython lib can't be built with a proper soname yet. + - the -dbg packages need an override for the shlib symlink. + - and a couple of packages have the lib symlink 'before the + lib', but that's ugly to fix right now, they aren't critical + libs, and allegedly this will be handled by dpkg sometime soon. + * moved full licence text into copyright file. + + -- Ron Lee Sun, 13 Feb 2000 18:40:00 +1030 + +Local variables: +mode: debian-changelog +End: --- wxwidgets2.8-2.8.4.0.orig/debian/wx-doc.doc-base +++ wxwidgets2.8-2.8.4.0/debian/wx-doc.doc-base @@ -0,0 +1,10 @@ +Document: wx=V-manual +Title: wxWidgets=V Programming Manual +Author: The wxWidgets Cabal +Abstract: This manual describes the wxWidgets=V cross-platform GUI toolkit. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/wx=V-doc/wx-manual.html/wx=V-manual_contents.html +Files: /usr/share/doc/wx=V-doc/wx-manual.html/* + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxgtk-dev.prerm +++ wxwidgets2.8-2.8.4.0/debian/libwxgtk-dev.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/gtk2-unicode-release-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxbase-dev.postinst +++ wxwidgets2.8-2.8.4.0/debian/libwxbase-dev.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/wx/config/base-unicode-release-=V \ + $(( =PRIO * 10 + 7 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/wx-doc.docs +++ wxwidgets2.8-2.8.4.0/debian/wx-doc.docs @@ -0,0 +1,2 @@ +docs/wx-manual.html + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxbase-dbg.postinst +++ wxwidgets2.8-2.8.4.0/debian/libwxbase-dbg.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/wx/config/base-unicode-debug-=V \ + $(( =PRIO * 10 + 5 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxmsw-dbg.postinst +++ wxwidgets2.8-2.8.4.0/debian/libwxmsw-dbg.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/wx/config/=H-msw-ansi-debug-=V \ + $(( =PRIO * 10 + 2 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/lintian-override.in +++ wxwidgets2.8-2.8.4.0/debian/lintian-override.in @@ -0,0 +1,8 @@ +libwxbase=V-dbg: non-dev-pkg-with-shlib-symlink +libwxbase=V-dbg: package-name-doesnt-match-sonames +libwxbase=SOV: package-name-doesnt-match-sonames +libwxgtk=V-dbg: non-dev-pkg-with-shlib-symlink +libwxgtk=V-dbg: package-name-doesnt-match-sonames +libwxgtk=SOV: package-name-doesnt-match-sonames +python-wxtools: python-script-but-no-python-dep + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxgtk-dbg.postinst +++ wxwidgets2.8-2.8.4.0/debian/libwxgtk-dbg.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/wx/config/gtk2-unicode-debug-=V \ + $(( =PRIO * 10 + 6 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxmsw-dbg.prerm +++ wxwidgets2.8-2.8.4.0/debian/libwxmsw-dbg.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/=H-msw-ansi-debug-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/control +++ wxwidgets2.8-2.8.4.0/debian/control @@ -0,0 +1,265 @@ +Source: wxwidgets2.8 +Section: libs +Priority: optional +Build-Depends: debhelper (>= 5.0.37.1), flex, bison, gettext, libgtk2.0-dev, python-dev (>= 2.4.3), python-dbg, zlib1g-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, libsm-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libesd0-dev, libgnomeprintui2.2-dev, libgconf2-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, python-central, bc +Maintainer: Ubuntu MOTU developers +XSBC-Original-Maintainer: Ron Lee +XS-Python-Version: current +Standards-Version: 3.7.2.1 + +Package: libwxbase2.8-0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: wxBase library (runtime) - non-GUI support classes of wxWidgets toolkit + wxBase is a collection of C++ classes providing basic data structures + (strings, lists, arrays), powerful wxDateTime class for date manipulations, + portable wrappers around many OS-specific functions allowing to build the + same program under all supported folders, wxThread class for writing + multithreaded programs using either Win32 or POSIX threads and much more. + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), win32, and BeOS. + . + This package is only useful for non-GUI apps. It offers a subset of the + classes in libwx_gtk2.8 for use in console apps and daemons. You do not need + this package to build or use wxWidgets GUI apps. + +Package: libwxbase2.8-dev +Architecture: any +Section: libdevel +Depends: wx2.8-headers (= ${Source-Version}), libwxbase2.8-0 (= ${Source-Version}), libc6-dev | libc-dev +Suggests: wx2.8-doc, gettext +Description: wxBase library (development) - non-GUI support classes of wxWidgets toolkit + wxBase is a collection of C++ classes providing basic data structures + (strings, lists, arrays), powerful wxDateTime class for date manipulations, + portable wrappers around many OS-specific functions allowing to build the + same program under all supported folders, wxThread class for writing + multithreaded programs using either Win32 or POSIX threads and much more. + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), win32, and BeOS. + . + This package provides the files needed to compile apps using the wxBase + library. + +Package: libwxbase2.8-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: wx2.8-headers (= ${Source-Version}), libc6-dev +Description: wxBase library (debug) - non-GUI support classes of wxWidgets toolkit + wxBase is a collection of C++ classes providing basic data structures + (strings, lists, arrays), powerful wxDateTime class for date manipulations, + portable wrappers around many OS-specific functions allowing to build the + same program under all supported folders, wxThread class for writing + multithreaded programs using either Win32 or POSIX threads and much more. + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...) win32, and BeOS. + . + This package provides a debug version of the wxBase library. It is compiled + both with -g for normal debugger tracing and with the __WXDEBUG__ flag which + provides many internal checks by wxWidgets itself that are not performed on + apps compiled with the 'release version' libs in the -dev package. + +Package: libwxgtk2.8-0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Suggests: libgnomeprintui2.2-0 +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 + unpopular ones as well). For more information see http://wxwidgets.org + . + This package provides the shared libraries needed to run programs linked + against wxWidgets. To use the (optional) glcanvas library you will need + to have Mesa or OpenGL installed. + +Package: libwxgtk2.8-dev +Architecture: any +Section: libdevel +Depends: wx2.8-headers (= ${Source-Version}), libwxgtk2.8-0 (= ${Source-Version}), libwxbase2.8-dev (= ${Source-Version}) +Suggests: wx-common, wx2.8-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 + unpopular ones as well). For more information see http://wxwidgets.org + . + This package provides files needed to compile wxWidgets programs. If you + want to compile apps using the (optional) glcanvas library you will need + to have Mesa or OpenGL installed too. + +Package: libwxgtk2.8-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: wx2.8-headers (= ${Source-Version}), libwxbase2.8-dbg (= ${Source-Version}) +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 + unpopular ones as well). For more information see http://wxwidgets.org + . + This package provides a debug version of the wxGTK library. It is compiled + both with -g for normal debugger tracing and with the __WXDEBUG__ flag which + provides many internal checks by wxWidgets itself that are not performed on + apps compiled with the 'release version' libs in the -dev package. + +Package: python-wxgtk2.8 +Architecture: any +Section: python +Depends: python-wxversion, ${python:Depends}, ${shlibs:Depends} +Suggests: wx2.8-doc, wx2.8-examples, python-xml +Conflicts: libwxgtk2.6-0-python, wxpython2.6-0 +Replaces: libwxgtk2.6-0-python, wxpython2.6-0 +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding) + 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 a Python binding to the wxGTK library and the + wxPython runtime support libraries. If you wish to use xrc you'll also + need the python-xml package installed. + +Package: python-wxgtk2.8-dbg +Priority: extra +Architecture: any +Section: python +Depends: python-wxgtk2.8 (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Suggests: python-xml-dbg +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding, debug version) +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding) + wxWidgets is a class library for C++ providing GUI (Graphical User + Interface) and other facilities on more than one platform. Version 2.8 + currently supports subsets of GTK+, Motif, and MS Windows. + . + This package provides a Python binding to the wxGTK debug library. + This package contains the extensions built for the python debug interpreter. + +Package: python-wxversion +Architecture: all +Section: python +Depends: ${python:Depends} +Conflicts: wxpython2.6-0 +Replaces: wxpython2.6-0 +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython version selector) + 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 the wxPython version selector. + +Package: python-wxaddons +Architecture: all +Section: python +Depends: ${python:Depends}, python-wxgtk2.8 +Conflicts: python-wxgtk2.6 +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython add-on packages base) + 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 a base Python package for 3rd party add-ons. + +Package: python-wxtools +Architecture: all +Section: python +Depends: python-wxgtk2.8, ${python:Depends} +Conflicts: wxpython2.6-0 +Replaces: wxpython2.6-0, libwxgtk2.4-python, wxpython2.4-1 +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython common 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 support utilities and common files for wxPython2.8. + If you wish to use xrced you'll also need the python-xml package installed. + +Package: wx-common +Architecture: any +Section: devel +Depends: ${shlibs:Depends} +Conflicts: wx2.6-common +Replaces: wxwin2.4-headers, libwxgtk2.4-contrib-dev, wx2.6-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: wx2.8-headers +Architecture: any +Section: devel +Description: wxWidgets Cross-platform C++ GUI toolkit (header 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 the common header files required to build applications + using the wxWidgets toolkit. + +Package: wx2.8-i18n +Architecture: all +Section: libs +Conflicts: wx-i18n, wxwin-i18n, wx2.4-i18n +Replaces: wx-i18n, wxwin-i18n, wx2.4-i18n, wx2.5-i18n +Provides: wx-i18n +Description: wxWidgets Cross-platform C++ GUI toolkit (i18n support) + 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 the i18n message catalogs for wxWidgets. + +Package: wx2.8-doc +Architecture: all +Section: doc +Provides: wx-doc +Suggests: doc-base, www-browser +Description: wxWidgets Cross-platform C++ GUI toolkit (documentation) + 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 a HTML version of the wxWidgets reference manual. + +Package: wx2.8-examples +Architecture: all +Section: devel +Suggests: libwxgtk2.8-dev (= ${Source-Version}), wx2.8-doc +Description: wxWidgets Cross-platform C++ GUI toolkit (examples) + 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 contains examples of using the wxWidgets toolkit in + C++ and with the wxPython language binding. + +Package: libwxmsw2.8-dev +Architecture: i386 +Section: otherosfs +Depends: wx2.8-headers-msw (= ${Source-Version}) +Description: wxMSW mingw32msvc-cross + mingw32msvc-cross wxMSW libs. + +Package: libwxmsw2.8-dbg +Architecture: i386 +Section: otherosfs +Depends: wx2.8-headers-msw (= ${Source-Version}) +Description: wxMSW mingw32msvc-cross (debug) + mingw32msvc-cross wxMSW libs. + __WXDEBUG__ version. + +Package: wx2.8-headers-msw +Architecture: i386 +Section: otherosfs +Depends: wx2.8-headers (= ${Source-Version}) +Description: Extra wxWidgets headers for mingw32msvc-cross + Headers required by the wxWidgets mingw32msvc-cross libraries. + --- wxwidgets2.8-2.8.4.0.orig/debian/README.HowToBuild.txt +++ wxwidgets2.8-2.8.4.0/debian/README.HowToBuild.txt @@ -0,0 +1,177 @@ +[ Note: this document is taken unmodified from the upstream debian + directory; it doesn't describe the procedure taken to build the + packages uploaded to Debian and Ubuntu. + + 2007-02-28, Matthias Klose +] + +How to build the Debian wx packages +=================================== + +This file is currently just a brain dump of my experiences with +building the Debian wx packages, based on various experimentations, +and Googling around. Please don't take anything said here as +authoritative or written in stone. Although I've been able to get +things to work fairly reliably, I still feel pretty clueless about +some things. + + +Overview +-------- + +Contrary to how RPM and other packaging systems work, building Debian +packages is done with an expanded source tree instead of using a +tarball. Inside the toplevel of the source tree you'll find a subdir +named debian, and within this dir are various files used by the build. +The most important of these are the control file and the rules file. +The control file specifies the metadata about each package, such as +name, description, dependencies, etc. Interestingly, the version +number of the current build is not in the control file as might be +expected, but is instead taken from the changelog file. I guess this +is a way for debian to make sure that there is always an updated +changelog for every release, but it is very non-intuitive to say the +least. The rules file is a Makefile, and is executable with a #! that +runs make on itself. This lets you execute commands from the toplevel +source dir like: + + ./debian/rules build + +While theoretically you could build the wx packages directly from your +CVS workspace this won't work (currently) for a couple reasons. +First, the debian/rules file is currently looking at the name of the +toplevel source dir and extracting from it the flavour name (if +present) for use in passing to --with-flavor configure flag. (I'm +considering changing how it finds this value for 2.7 so, for example, +the debian packages could also be built from the wxPython source +tarball...) Second, since the build tools use the current source dir +for creating the source package, you'll probably want to start with a +clean source tree that has had unnecessary things removed from it. +There is a Makefile target that will create a minimized and clean +source tree for you, and will name it as debian/rules expects. To use +it go to a build dir where you've already run configure, and then run: + + make debian-dist + +This will result in a new source tree with a name like +wxwidgets2.7-2.7.0.0 that is located as a sibling to the toplevel of +the current source tree. + + +Environment +----------- + +The various dpkg helper tools will use some environment settings to +provide default values. I have these set: + + DEBFULLNAME='Robin Dunn' + DEBEMAIL=robin@alldunn.com + DEBSIGN_KEYID='Robin Dunn ' + DEBUILD_DPKG_BUILDPACKAGE_OPTS='-i -ICVS -I.svn' + +Notice the DEBSIGN_KEYID value. If this is set (and you have a +matching gnupg key) then the packages will be digitally signed when +they are built. + +If you are building packages that you intend to be installable on +machines other than your own, then I recommend that you either have a +separate machine with a minimal OS install, or set up a chroot +environment and do the builds there. The reason for this is to +minimize unexpected extra dependencies that the built packages will +have because of extra things you have installed on your desktop +system, for example OpenGL libs installed by your video card drivers. +Using a chroot will also allow you to build packages for different +versions of Debian (or Ubuntu) if desired. There is a good +description of setting up a chroot environment here: + + https://wiki.ubuntu.com/DebootstrapChroot + +In addition to the base system packages, you'll need to install in +the chroot environment any packages needed for building wxWidgets +(compilers, make, autoconf, gtk and image libs, lib-dev's, python, +python-dev, etc.) as well as the packages listed in the next section. + + +Build Packages +-------------- + +There are a number of helper packages that are used when building +debian packages. Here are some that I have in my chroot, there may be +some others that I am not seeing at the moment: + + debhelper + devscripts + dh-make + dpkg-dev + fakeroot + lintian + diff + patch + + +Doing the Build +--------------- + +Ok, if you are not totally confused by this point you should have a +minimal source tree produced by "make debian-dist" that is accessible +by your chroot or other minimal install system. (Unless you are only +making packages for yourself, then doing the build on in your main +desktop environment would be okay.) The first step is to chdir to +the top level of this source tree. + +If you haven't already you'll want to edit debian/changelog to make an +entry for the current build. If the version number is changing since +the last build then you'll need a whole new section. If you are just +updating something in the same version then you can just get by with +editing the current changelog entry. The 'dch' tool can be used to +open the file in an editor with the cursor positioned for you. If you +use 'dch -i' then it will create a new changelog entry for you with +the proper syntax. Don't forget to copy this file back to your CVS +workspace if appropriate. + +Our debian/control file is generated from debian/control.in, so you +can force it to be created now by running the following. You may want +to do this to verify its contents before proceeding with the build. + + ./debian/rules debian/control + +To run just the compile/link/etc. portions of the build you can do +this: + + ./debian/rules build + +To also make a set of test binaries you can do this: + + fakeroot ./debian/rules binary + +To clean up from prior builds you can do this: + + fakeroot ./debian/rules clean + +And to automate the entire process (build, binaries, source packages, +digital signing, etc.) you can do this: + + dpkg-buildpackage -rfakeroot + +When finished the binary and source packages will be left in the +parent dir of the source tree. + + +Automating the process +---------------------- + +The script debian/build_all automates the above stepds and builds both +wxWidgets and wxPython packages in both ANSI and Unicode modes. You should do +the build manually at least the first time however to make sure you have all +the prerequisites and the build doesn't fail. + + +Other Sources of Information +---------------------------- + +http://liw.iki.fi/liw/talks/debian-packaging-tutorial.pdf +http://women.alioth.debian.org/wiki/index.php/English/BuildingTutorial +http://women.alioth.debian.org/wiki/index.php/English/AdvancedBuildingTips +http://www.wiggy.net/presentations/2001/DebianWalkThrough/handouts/handouts.html +http://www.debian.org/doc/manuals/maint-guide/index.en.html +http://www.isotton.com/debian/docs/repository-howto/repository-howto.html + --- wxwidgets2.8-2.8.4.0.orig/debian/python-wxgtk.prerm +++ wxwidgets2.8-2.8.4.0/debian/python-wxgtk.prerm @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +update-alternatives --remove wx.pth /usr/lib/wx/python/wx=V.pth + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/compat +++ wxwidgets2.8-2.8.4.0/debian/compat @@ -0,0 +1 @@ +5 --- wxwidgets2.8-2.8.4.0.orig/debian/wx-examples.examples +++ wxwidgets2.8-2.8.4.0/debian/wx-examples.examples @@ -0,0 +1,5 @@ +debian/README.examples +debian/unpack_examples.sh +docs/examples/samples +docs/examples/wxPython + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxgtk-dev.postinst +++ wxwidgets2.8-2.8.4.0/debian/libwxgtk-dev.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/wx/config/gtk2-unicode-release-=V \ + $(( =PRIO * 10 + 8 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/README.Debian +++ wxwidgets2.8-2.8.4.0/debian/README.Debian @@ -0,0 +1,77 @@ +wxwidgets for Debian +---------------------- + +The following packages are built from the wxWidgets CVS source. + +libwxbase wxBase runtime shared libraries +libwxbase-dev extra files and static libs for building wxBase apps +libwxbase-dbg wxBase libraries built with -g and __WXDEBUG__ + +libwxgtk wxGTK runtime shared libraries, including selected + contrib libs. +libwxgtk-dev extra files required for building wxGTK apps +libwxgtk-dbg wxGTK libraries built with -g and __WXDEBUG__ + +python-wxgtk Python binding to wxGTK (from 2.2.3 onward, this + obsoletes the libwxgtk-python-contrib package as + all python modules are built into a single monolith) +python-wxversion The wxversion.py version selector, new to wxPython2.6 +python-wxtools The ancillary tools from the wxPython distribution. + +wx-common common helper files and support applications. +wx-headers common header files for building wxWidgets apps +wx-doc HTML version of the wxWidgets manual +wx-examples wxWidgets and wxPython demos and samples (source) +wx-i18n message catalogs for native language support + + + Note that static libraries are no longer supplied in these + packages. Please read, or have understood: + http://people.redhat.com/drepper/no_static_linking.html + among others before reporting this as a bug. + + The following binaries can be built from the source package + with the mingw32 cross compiler, but are not distributed + as a part of the main Debian distribution. + + Please do *not* file bug reports for these packages to the + Debian bts. But do feel free to email me personally if you + find problems and/or have patches to fix them. + +libwxmsw-dev mingw32-cross wxMSW libs. +libwxmsw-dbg mingw32-cross wxMSW (debug) libs. +wx-headers-msw extra headers needed for wxMSW. + + You can build these extra packages using the binary-cross target + in debian/rules. + + + It is also possible to build a python-wxgtk-dbg package. + There are some limitations (like this package cannot be installed + concurrently with the release version), but some developers may + find such a thing useful in any case. It will transparently + replace the release package for installed apps that depend on the + release package, but should NEVER be used when preparing packages + for upload. This package may be created from the source using the + binary-dbg-py target in debian/rules. (note that doing this will + also destroy any release build that exists in the same tree, they + cannot coexist there either yet) + + + Finally, because all of these packages can take quite some time to + build, the source package supports the use of distcc. The package + builds will automatically parallelise to suit the number of hosts + you have listed in DISTCC_HOSTS. This will work for both native + and cross builds of the c++ libraries, if you have the relevant + compilers on all your build hosts. + You may override that heuristic by setting the CONCURRENCY_LEVEL + environment variable to the number of jobs you wish make to fork. + That variable is also supported by the kernel-package scripts and + is respected for consistency here. + + wxPython builds cannot be parallelised at this stage and will run + serially regardless of your configuration. + + + -- Ron Lee , Sun, 13 Feb 2000 18:40:00 +1030 + --- wxwidgets2.8-2.8.4.0.orig/debian/pycrust.desktop +++ wxwidgets2.8-2.8.4.0/debian/pycrust.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=PyCrust +Comment=GUI Python Shell with Filling +Exec=/usr/bin/pycrust +Icon=/usr/share/pixmaps/pycrust.png +Terminal=false +Type=Application +Categories=Application;Development; +StartupNotify=true --- wxwidgets2.8-2.8.4.0.orig/debian/xrced.desktop +++ wxwidgets2.8-2.8.4.0/debian/xrced.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=XRCed +Comment=wxPython XRC resource editor and UI designer +Exec=/usr/bin/xrced +Icon=/usr/share/pixmaps/xrced.png +Terminal=false +Type=Application +Categories=Application;Development; +StartupNotify=true --- wxwidgets2.8-2.8.4.0.orig/debian/pyshell.desktop +++ wxwidgets2.8-2.8.4.0/debian/pyshell.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=PyShell +Comment=GUI Python Shell +Exec=/usr/bin/pyshell +Icon=/usr/share/pixmaps/pyshell.png +Terminal=false +Type=Application +Categories=Application;Development; +StartupNotify=true --- wxwidgets2.8-2.8.4.0.orig/debian/python-wxgtk.docs +++ wxwidgets2.8-2.8.4.0/debian/python-wxgtk.docs @@ -0,0 +1,4 @@ +wxPython/docs/README.txt +wxPython/docs/CHANGES.txt +wxPython/docs/MigrationGuide.txt + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxbase-dev.prerm +++ wxwidgets2.8-2.8.4.0/debian/libwxbase-dev.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/base-unicode-release-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxmsw-dev.postinst +++ wxwidgets2.8-2.8.4.0/debian/libwxmsw-dev.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/wx/config/=H-msw-ansi-release-=V \ + $(( =PRIO * 10 + 4 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/build_all +++ wxwidgets2.8-2.8.4.0/debian/build_all @@ -0,0 +1,49 @@ +#!/bin/sh +############################################################################## +# Name: debian/build_all +# Purpose: build both ANSI and Unicode Debian packages at once +# Created: 2006-12-13 +# RCS-ID: $Id: build_all,v 1.1 2006/12/13 13:14:40 VZ Exp $ +# Copyright: (c) 2006 Vadim Zeitlin +# Licence: wxWindows licence +############################################################################## + +# The following variables may be defined: +# wx The wxWidgets root directory (if it's unset you have to run the +# script from this directory) +# debsrc_dir If set, suppose there are already debian sources in this dir + +set -e +wx_dir=${wx-`pwd`} +if [ ! -f $wx_dir/debian/build_all ]; then + echo "Please run the script from the root wx directory" >&2 + exit 1 +fi + +( +if [ -z $debsrc_dir ]; then + configure_dir=/tmp/wxtmp-$$ + + mkdir $configure_dir + cd $configure_dir + $wx_dir/configure --without-subdirs > /dev/null + make debian-dist > /dev/null + debsrc_dir=`grep 'DEBIAN_SOURCE_DIR =' Makefile | sed 's@.*/@@'` + cd .. + rm -rf $configure_dir +fi + +cd $wx_dir/../$debsrc_dir +./debian/rules debian/control +dpkg-buildpackage -rfakeroot > /dev/null + +fakeroot ./debian/rules clean + +sed -i '/^WX_UNICODE := /s/1/0/' debian/rules +rm debian/control +./debian/rules debian/control +dpkg-buildpackage -rfakeroot > /dev/null + +fakeroot ./debian/rules clean + +) 2>&1 | tee $wx_dir/debian/build.log --- wxwidgets2.8-2.8.4.0.orig/debian/README.examples +++ wxwidgets2.8-2.8.4.0/debian/README.examples @@ -0,0 +1,24 @@ + +These examples are provided as extended documentation for the wxWidgets +package. If you wish to actually run them rather than just browse them +as documents you should copy them into a working directory elsewhere +first. Note that some of them will attempt to write to the current +working directory, or to the home directory of the user they are run as. + +Some of the files have been compressed in accordance with Debian policy +regarding documentation, you will need to uncompress such files before +building or executing them. + +The unpack_examples.sh script is provided to assist with that. + +The examples provided here typically show a minimal implementation of +the feature(s) they are demonstrating. There are examples of more +complete (mini) applications, available in the /wxPython/samples and +/demos directories of the wxWidgets cvs repository (which is browsable +via http://cvs.wxwidgets.org), or of course you can always apt-get the +source of any wx using package for some less contrived examples of +real world wx applications. + + Ron + + --- wxwidgets2.8-2.8.4.0.orig/debian/control.in +++ wxwidgets2.8-2.8.4.0/debian/control.in @@ -0,0 +1,265 @@ +Source: wxwidgets=V +Section: libs +Priority: optional +Build-Depends: debhelper (>= 5.0.37.1), flex, bison, gettext, libgtk2.0-dev, python-dev (>= 2.4.3), python-dbg, zlib1g-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, libsm-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libesd0-dev, libgnomeprintui2.2-dev, libgconf2-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, python-central, bc +Maintainer: Ubuntu MOTU developers +XSBC-Original-Maintainer: Ron Lee +XS-Python-Version: current +Standards-Version: 3.7.2.1 + +Package: libwxbase=SOV=U +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: wxBase library (runtime) - non-GUI support classes of wxWidgets toolkit + wxBase is a collection of C++ classes providing basic data structures + (strings, lists, arrays), powerful wxDateTime class for date manipulations, + portable wrappers around many OS-specific functions allowing to build the + same program under all supported folders, wxThread class for writing + multithreaded programs using either Win32 or POSIX threads and much more. + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), win32, and BeOS. + . + This package is only useful for non-GUI apps. It offers a subset of the + classes in libwx_gtk=V=U for use in console apps and daemons. You do not need + this package to build or use wxWidgets GUI apps. + +Package: libwxbase=V=U-dev +Architecture: any +Section: libdevel +Depends: wx=V-headers (= ${Source-Version}), libwxbase=SOV=U (= ${Source-Version}), libc6-dev | libc-dev +Suggests: wx=V-doc, gettext +Description: wxBase library (development) - non-GUI support classes of wxWidgets toolkit + wxBase is a collection of C++ classes providing basic data structures + (strings, lists, arrays), powerful wxDateTime class for date manipulations, + portable wrappers around many OS-specific functions allowing to build the + same program under all supported folders, wxThread class for writing + multithreaded programs using either Win32 or POSIX threads and much more. + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), win32, and BeOS. + . + This package provides the files needed to compile apps using the wxBase + library. + +Package: libwxbase=V=U-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: wx=V-headers (= ${Source-Version}), libc6-dev +Description: wxBase library (debug) - non-GUI support classes of wxWidgets toolkit + wxBase is a collection of C++ classes providing basic data structures + (strings, lists, arrays), powerful wxDateTime class for date manipulations, + portable wrappers around many OS-specific functions allowing to build the + same program under all supported folders, wxThread class for writing + multithreaded programs using either Win32 or POSIX threads and much more. + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...) win32, and BeOS. + . + This package provides a debug version of the wxBase library. It is compiled + both with -g for normal debugger tracing and with the __WXDEBUG__ flag which + 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=SOV=U +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Suggests: libgnomeprintui2.2-0 +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 + unpopular ones as well). For more information see http://wxwidgets.org + . + This package provides the shared libraries needed to run programs linked + against wxWidgets. To use the (optional) glcanvas library you will need + to have Mesa or OpenGL installed. + +Package: libwxgtk=V=U-dev +Architecture: any +Section: libdevel +Depends: wx=V-headers (= ${Source-Version}), libwxgtk=SOV=U (= ${Source-Version}), libwxbase=V=U-dev (= ${Source-Version}) +Suggests: 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 + unpopular ones as well). For more information see http://wxwidgets.org + . + This package provides files needed to compile wxWidgets programs. If you + want to compile apps using the (optional) glcanvas library you will need + to have Mesa or OpenGL installed too. + +Package: libwxgtk=V=U-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: wx=V-headers (= ${Source-Version}), libwxbase=V=U-dbg (= ${Source-Version}) +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 + unpopular ones as well). For more information see http://wxwidgets.org + . + This package provides a debug version of the wxGTK library. It is compiled + both with -g for normal debugger tracing and with the __WXDEBUG__ flag which + provides many internal checks by wxWidgets itself that are not performed on + apps compiled with the 'release version' libs in the -dev package. + +Package: python-wxgtk=V=U +Architecture: any +Section: python +Depends: python-wxversion, ${python:Depends}, ${shlibs:Depends} +Suggests: wx=V-doc, wx=V-examples, python-xml +Conflicts: libwxgtk2.6-0-python, wxpython2.6-0 +Replaces: libwxgtk2.6-0-python, wxpython2.6-0 +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding) + 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 a Python binding to the wxGTK library and the + wxPython runtime support libraries. If you wish to use xrc you'll also + need the python-xml package installed. + +Package: python-wxgtk=V=U-dbg +Priority: extra +Architecture: any +Section: python +Depends: python-wxgtk=V=U (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Suggests: python-xml-dbg +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding, debug version) +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding) + wxWidgets is a class library for C++ providing GUI (Graphical User + Interface) and other facilities on more than one platform. Version =V + currently supports subsets of GTK+, Motif, and MS Windows. + . + This package provides a Python binding to the wxGTK debug library. + This package contains the extensions built for the python debug interpreter. + +Package: python-wxversion +Architecture: all +Section: python +Depends: ${python:Depends} +Conflicts: wxpython2.6-0 +Replaces: wxpython2.6-0 +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython version selector) + 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 the wxPython version selector. + +Package: python-wxaddons +Architecture: all +Section: python +Depends: ${python:Depends}, python-wxgtk=V=U +Conflicts: python-wxgtk2.6 +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython add-on packages base) + 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 a base Python package for 3rd party add-ons. + +Package: python-wxtools +Architecture: all +Section: python +Depends: python-wxgtk=V=U, ${python:Depends} +Conflicts: wxpython2.6-0 +Replaces: wxpython2.6-0, libwxgtk2.4-python, wxpython2.4-1 +XB-Python-Version: ${python:Versions} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython common 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 support utilities and common files for wxPython=V=U. + If you wish to use xrced you'll also need the python-xml package installed. + +Package: wx-common +Architecture: any +Section: devel +Depends: ${shlibs:Depends} +Conflicts: wx2.6-common +Replaces: wxwin2.4-headers, libwxgtk2.4-contrib-dev, wx2.6-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 +Description: wxWidgets Cross-platform C++ GUI toolkit (header 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 the common header files required to build applications + using the wxWidgets toolkit. + +Package: wx=V-i18n +Architecture: all +Section: libs +Conflicts: wx-i18n, wxwin-i18n, wx2.4-i18n +Replaces: wx-i18n, wxwin-i18n, wx2.4-i18n, wx2.5-i18n +Provides: wx-i18n +Description: wxWidgets Cross-platform C++ GUI toolkit (i18n support) + 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 the i18n message catalogs for wxWidgets. + +Package: wx=V-doc +Architecture: all +Section: doc +Provides: wx-doc +Suggests: doc-base, www-browser +Description: wxWidgets Cross-platform C++ GUI toolkit (documentation) + 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 a HTML version of the wxWidgets reference manual. + +Package: wx=V-examples +Architecture: all +Section: devel +Suggests: libwxgtk=V=U-dev (= ${Source-Version}), wx=V-doc +Description: wxWidgets Cross-platform C++ GUI toolkit (examples) + 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 contains examples of using the wxWidgets toolkit in + C++ and with the wxPython language binding. + +Package: libwxmsw=V=U-dev +Architecture: i386 +Section: otherosfs +Depends: wx=V-headers-msw (= ${Source-Version}) +Description: wxMSW mingw32msvc-cross + mingw32msvc-cross wxMSW libs. + +Package: libwxmsw=V=U-dbg +Architecture: i386 +Section: otherosfs +Depends: wx=V-headers-msw (= ${Source-Version}) +Description: wxMSW mingw32msvc-cross (debug) + mingw32msvc-cross wxMSW libs. + __WXDEBUG__ version. + +Package: wx=V-headers-msw +Architecture: i386 +Section: otherosfs +Depends: wx=V-headers (= ${Source-Version}) +Description: Extra wxWidgets headers for mingw32msvc-cross + Headers required by the wxWidgets mingw32msvc-cross libraries. + --- wxwidgets2.8-2.8.4.0.orig/debian/python-wxgtk.postinst +++ wxwidgets2.8-2.8.4.0/debian/python-wxgtk.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +update-alternatives --install /usr/lib/=PY/site-packages/wx.pth wx.pth \ + /usr/lib/wx/python/wx=V.pth =PRIO + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxbase-dbg.prerm +++ wxwidgets2.8-2.8.4.0/debian/libwxbase-dbg.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/base-unicode-debug-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/unpack_examples.sh.in +++ wxwidgets2.8-2.8.4.0/debian/unpack_examples.sh.in @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Unpack compressed examples from the packaged documentation +# into a directory where the user can compile and/or run them. + +WX_EXAMPLES_DIR="/usr/share/doc/wx=V-examples/examples" + +usage() { + echo "$0 [subdir [subdir] ...] dest_dir" + echo " subdir - a subdir of $WX_EXAMPLES_DIR to unpack." + echo " dest_dir - location for the unpacked examples." + echo + echo "If no subdirs are supplied explicitly, all examples will be unpacked." + exit 1 +} + +if [ $# -lt 1 ]; then + usage +fi + +while [ $# -gt 1 ]; do + SUBDIRS="$SUBDIRS $1" + shift +done + +DESTDIR="$1" + +if [ -e $DESTDIR ]; then + echo "Destination $DESTDIR already exists. Cowardly exiting." + exit 2 +fi + +if [ -z "$SUBDIRS" ]; then + for d in $(cd $WX_EXAMPLES_DIR 2> /dev/null && ls -d * 2> /dev/null); do + [ -d "$WX_EXAMPLES_DIR/$d" ] && SUBDIRS="$SUBDIRS $d" + done +else + for d in $SUBDIRS; do + if [ -d "$WX_EXAMPLES_DIR/$d" ]; then + _SUBDIRS="$d" + else + echo "Subdir $WX_EXAMPLES_DIR/$d does not exist. Skipping." + fi + done + SUBDIRS="$_SUBDIRS" +fi + +if [ -z "$SUBDIRS" ]; then + echo "Nothing to copy from $WX_EXAMPLES_DIR. Aborting." + exit 1 +fi + +mkdir -p $DESTDIR +for d in $SUBDIRS; do + echo "Copying $WX_EXAMPLES_DIR/$d to $DESTDIR" + cp -pr "$WX_EXAMPLES_DIR/$d" "$DESTDIR" +done + +echo -n "Unpacking... " +find $DESTDIR -name "*.gz" -exec gunzip {} \; +echo "done." + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxmsw-dev.prerm +++ wxwidgets2.8-2.8.4.0/debian/libwxmsw-dev.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/=H-msw-ansi-release-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.4.0.orig/debian/python-wxtools.menu +++ wxwidgets2.8-2.8.4.0/debian/python-wxtools.menu @@ -0,0 +1,10 @@ +?package(python-wxtools):needs="X11" section="Apps/Programming"\ + title="pycrust" command="/usr/bin/pycrust"\ + icon="/usr/share/pixmaps/pycrust.png" +?package(python-wxtools):needs="X11" section="Apps/Programming"\ + title="pyshell" command="/usr/bin/pyshell"\ + icon="/usr/share/pixmaps/pyshell.png" +?package(python-wxtools):needs="X11" section="Apps/Programming"\ + title="xrced" command="/usr/bin/xrced" + icon="/usr/share/pixmaps/xrced.png" + --- wxwidgets2.8-2.8.4.0.orig/debian/wx-config.1 +++ wxwidgets2.8-2.8.4.0/debian/wx-config.1 @@ -0,0 +1,157 @@ +.TH wx\-config 1 "29 Sep 2004" "Debian GNU/Linux" "wxWidgets" + +.SH NAME +wx-config \- wxWidgets configuration search and query tool + +.SH SYNOPSIS +.nh +.HP +.B wx\-config [ OPTIONS ... ] [ LIB ... ] + +.SH DESCRIPTION +.I wx\-config +returns information about the wxWidgets libraries available on your system. +It may be used to retrieve the information you require to build applications +using these libraries. +.PP +Changing the library options you wish to use for an application previously +involved managing alternative configurations by a system dependent means. +It is now possible to select from any of the configurations installed +on your system via this single tool. You can view all available +configurations installed in the system default prefix with the command +.I wx\-config \-\-list +and select from them by using the feature options described below. +.PP +Optional LIB arguments (comma or space separated) may be used to specify +individually the wxWidgets component libraries that you wish to use, +or to specify additional components not ususally included by default. +The magic token +.B std +may be used to import all libraries that would be used by default if none +were specified explicitly. +.br +eg. +.I wx-config --libs std,gizmos +.hy + +.SH OPTIONS +.l +\fIwx\-config\fP accepts the following options with no restrictions on +their order as was required in previous releases: + +.SS Installed root +These options change or query the filesystem root for the operations +listed below. + +.TP 15 +.B \-\-prefix[=PREFIX] +Without the optional argument, the current default prefix will be +output. If the argument is supplied, PREFIX will be searched for +matching configs in place of the default. You may use both forms +in the same command. +.TP 15 +.B \-\-exec\-prefix[=EXEC-PREFIX] +Similar to \-\-prefix, but acts on the exec-prefix. If not specified +will default to the value of prefix. + +.SS Query options +These options return information about the wxWidgets default version +and and installed alternatives. +.TP 15 +.B \-\-list +List all configs in prefix and show those that match any additional +feature options given. +.TP 15 +.B \-\-release +Output the wxWidgets release number. +.TP 15 +.B \-\-version\-full +Output the wxWidgets version number in all its glory. +.TP 15 +.B \-\-basename +Output the base name of the wxWidgets libraries. +.TP 15 +.B \-\-selected-config +Output the signature of the selected wxWidgets library. +This is a string of the form "port-unicode-release-version". + + +.SS Feature options +These options select features which determine which wxWidgets +configuration to use. + +.TP 15 +.B \-\-host=HOST +Specify a (posix extended) regex of host aliases to match for cross +compiled configurations. eg. \-\-host=i586-mingw32msvc, \-\-host=.* +If unspecified, the default is to match only configurations native to +the build machine. +.TP 15 +.B \-\-toolkit=TOOLKIT +Specify a (posix extended) regex of the toolkits to match. +The toolkit is responsible for look and feel of the compiled +application. eg. gtk, gtk2, motif, msw. +If unspecified the default is to prefer the system default toolkit, +but to match any toolkit in the absence of a stricter specification. +.TP 15 +.B \-\-version[=VERSION] +Without the optional argument, return the wxWidgets version. If the +argument is supplied it specifies a (posix extended) regex of the +versions to match. If unspecified the default is to prefer the system +default version, but to match any version in the absence of a stricter +specification. +.TP 15 +.B \-\-unicode[=yes|no]] +Specify the default character type for the application. +If unspecified, the system default will be preferred, but any type may +match in the absence of a stricter specification. +.TP 15 +.B \-\-debug[=yes|no]] +Specify whether to create a debug or release build for the application. +If unspecified, the system default (release) will be preferred, but any +type may match in the absence of a stricter specification. +Debug builds should never be uploaded to Debian, but are very useful +for finding certain common failure idioms. You are encouraged to use +them during active development of applications. They are not binary +compatible with the release libraries. +.TP 15 +.B \-\-static[=yes|no]] +Specify whether to statically or dynamically link wxWidgets libraries +into your application. If unspecified, the system default (dynamic) +will be preferred, but any type may match in the absence of a stricter +specification. Static linking is mainly useful still for cross ports +not natively supported by Debian, and can be hazardous in conjunction +with the gtk toolkits. Note that static libraries are no longer supplied +in the wxGTK packages any more. + +.SS Compiler options +These options generate output required to build an application using +a particular wxWidgets configuration. + +.TP 15 +.B \-\-libs +Output link flags required for a \fIwxWidgets\fP application. +.TP 15 +.B \-\-cppflags +Output parameters required by the C preprocessor. +.TP 15 +.B \-\-cflags +Output parameters required by the C compiler. +.TP 15 +.B \-\-cxxflags +Output parameters required by the C++ compiler. +.TP 15 +.B \-\-cc +Output the name of the C compiler \fB$(CC)\fP. +.TP 15 +.B \-\-cxx +Output the name of the C++ compiler \fB$(CXX)\fP. +.TP 15 +.B \-\-ld +Output the linker command. + +.SH COPYRIGHT +This manpage was written by Ron Lee for the Debian GNU/Linux +distribution of wxWindows. It may be freely distributed by anyone who finds +it useful. + --- wxwidgets2.8-2.8.4.0.orig/debian/libwxgtk-dbg.prerm +++ wxwidgets2.8-2.8.4.0/debian/libwxgtk-dbg.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/gtk2-unicode-debug-=V + +#DEBHELPER# +