--- wxwidgets2.8-2.8.12.1.orig/debian/wx-doc.docs +++ wxwidgets2.8-2.8.12.1/debian/wx-doc.docs @@ -0,0 +1,2 @@ +docs/wx-manual.html + --- wxwidgets2.8-2.8.12.1.orig/debian/pycrust.xpm +++ wxwidgets2.8-2.8.12.1/debian/pycrust.xpm @@ -0,0 +1,145 @@ +/* XPM */ +static char * pycrust_xpm[] = { +"32 32 110 2", +" c None", +". c #000000", +"+ c #4A2F00", +"@ c #B0A07F", +"# c #FFE0B0", +"$ c #E0D0A0", +"% c #D0B88F", +"& c #BFA880", +"* c #C0AF80", +"= c #AF781F", +"- c #AF7700", +"; c #C08700", +"> c #C0B08F", +", c #BFA07F", +"' c #C08000", +") c #CF8700", +"! c #CF8800", +"~ c #FFE0AF", +"{ c #D08F00", +"] c #E0C89F", +"^ c #AF906F", +"/ c #AF9060", +"( c #F0D8B0", +"_ c #B0A780", +": c #6F4700", +"< c #A08F60", +"[ c #C0A880", +"} c #B0986F", +"| c #EFD7AF", +"1 c #DFC090", +"2 c #706040", +"3 c #AF7000", +"4 c #E0CFA0", +"5 c #AC6C09", +"6 c #F0E0BF", +"7 c #BFA070", +"8 c #BF7F00", +"9 c #906700", +"0 c #A06F00", +"a c #504020", +"b c #A06A05", +"c c #907F50", +"d c #B46D0C", +"e c #B07800", +"f c #9F6700", +"g c #EFCFA0", +"h c #B09F70", +"i c #7F1830", +"j c #90173F", +"k c #CF7810", +"l c #BF6810", +"m c #FFDFAF", +"n c #8F004F", +"o c #8F0040", +"p c #8F103F", +"q c #8F0F40", +"r c #F0D8A0", +"s c #FFE0BF", +"t c #6F481F", +"u c #EFD0A0", +"v c #800040", +"w c #6F5020", +"x c #F0D7A0", +"y c #6F4F1F", +"z c #F0D0A0", +"A c #F0D8AF", +"B c #EFCF9F", +"C c #70582F", +"D c #6F4F10", +"E c #70402F", +"F c #7F3F2F", +"G c #7F1F3F", +"H c #7F183F", +"I c #801040", +"J c #800F40", +"K c #800840", +"L c #7F6850", +"M c #EFD09F", +"N c #C0A870", +"O c #E0D0AF", +"P c #DFC8A0", +"Q c #E0D0B0", +"R c #E0C8A0", +"S c #DFBF8F", +"T c #C0B78F", +"U c #6F4810", +"V c #6F381F", +"W c #802F20", +"X c #7F2F20", +"Y c #80103F", +"Z c #9F7730", +"` c #DFCFAF", +" . c #E0D7B0", +".. c #DFBF90", +"+. c #F0DFB0", +"@. c #D0C7A0", +"#. c #705F2F", +"$. c #F0D7AF", +"%. c #FFD8A0", +"&. c #F0D79F", +"*. c #F0CF9F", +"=. c #7F6840", +"-. c #FFDFB0", +";. c #AF986F", +">. c #D0C7B0", +",. c #7F6730", +"'. c #806F4F", +"). c #B0A77F", +"!. c #A09880", +"~. c #7F705F", +" ", +" ", +" ", +" ", +" . + + . ", +" . @ # $ % + ", +" + + + . & # $ * + ", +" + . = - ; + . > # $ , + ", +" . . ' = ' ) ! ) + . # ~ * . ", +" . . ' ' { ' ' { { ) { . ] # $ ^ . ", +" . . ' ' ' { { { { { { ! { + / # ( * . ", +" . . ' ' { { { { { { { { { { { { . _ # * . ", +" . : ' ' { { { { { { { { { { { { { ) + < # $ [ . ", +" . . = { { { { { { { { { { { { { { { ) ) { + # $ } . ", +" . . + { { ; ! { { { { { { { { { { { { { ) ) { + | | 1 . ", +" . . + 2 3 { { { { { { { { { { { ) ) { ) { ) ) { { + 4 ( * . ", +". . . . . . + + + 5 3 { { { { { { { { { { { { { { { { . 4 6 7 . ", +". 3 8 3 8 3 8 3 9 0 5 5 + . . + . + a b 5 b b 8 8 ) ) ' + + a c ", +". 9 9 9 9 d 9 d d 9 5 5 5 9 d 9 9 5 5 5 5 e f b b b + a 4 g h + ", +"i j . + . . + . + k l b k d d b d d 9 d 9 5 9 5 5 5 + | | m 6 + ", +"+ n n n n n n n o p q + + . . . . b b d b d d d 9 d + r m ~ s + ", +"+ n n n n n n n n n n n n n n n n n n + + . . . . . t # m m u + ", +"v n n n n n n n n n n n n n n n n n n n n n n n n n w x r m $ + ", +"+ n n n n n n n n n n n n n n n n n n n n n n n n n y z m A $ + ", +"+ n n n n n n n n n n n n n n n n n n n n n n n n n w z ~ B $ C ", +": . . . D . . + + + E F G H I J K n n n n n n n n n L A ~ M * + ", +"+ N 4 O P Q R S T * 2 + . . U + . . : V W X i J Y n Z ~ ~ x * + ", +"+ $ $ ~ ~ ~ ~ ~ A x g ` . ...+.` @.+ + + . . #.. . . u $.$ * + ", +"+ z $ # $ $ ~ m %.x ~ m m m m &.%.x # %.m r *.z z *.B x x $ * + ", +"+ + + + + + =.+ @ > ] $ $ $ ~ $ -.r r %.A m ~ ~ ~ ~ ~ A $ $ ;.+ ", +" >.,.+ + + + + ,.+ + + + + + + + '.$ $ $ $ ).+ ", +" !.~.+ + + + ,. "}; --- wxwidgets2.8-2.8.12.1.orig/debian/libwxgtk-dev.prerm +++ wxwidgets2.8-2.8.12.1/debian/libwxgtk-dev.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/=MA/wx/config/gtk2-unicode-release-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxbase-dbg.postinst +++ wxwidgets2.8-2.8.12.1/debian/libwxbase-dbg.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/=MA/wx/config/base-unicode-debug-=V \ + $(( =PRIO * 10 + 5 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/README.source +++ wxwidgets2.8-2.8.12.1/debian/README.source @@ -0,0 +1,17 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + +----------------------------------------------------------------------- + +To generate the upstream tarball, use "uscan --repack --force-download". +a script in debian/repack.sh is used to repack the upstream source +with upstream's debian directory moved to debian-upstream. + +----------------------------------------------------------------------- + +after new upstream versions of this package are uploaded, you need to +ask the release team to binnmu libalien-wxwidgets-perl. and then +libwx-perl. --- wxwidgets2.8-2.8.12.1.orig/debian/control.in +++ wxwidgets2.8-2.8.12.1/debian/control.in @@ -0,0 +1,273 @@ +Source: wxwidgets=V +Section: libs +Priority: optional +Build-Depends: debhelper (>= 8.1.3), gettext, libgtk2.0-dev, + python-all (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), + zlib1g-dev, libjpeg-dev, libpng12-dev, libtiff4-dev, libsm-dev, + libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libesd0-dev, + libgnomeprintui2.2-dev, quilt, autotools-dev, libexpat1-dev, + binutils (>= 2.19.51.20090827) | binutils (<= 2.18.1~cvs20080103-7), + libxt-dev +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: wxWidgets Maintainers +Uploaders: Ryan Niebur , Ron Lee , Olly Betts +Standards-Version: 3.9.2 +Vcs-Git: git://git.debian.org/git/freewx/wx.git +Vcs-Browser: http://git.debian.org/?p=freewx/wx.git +Homepage: http://www.wxwidgets.org/ + +Package: libwxbase=SOV=U +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +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 the same + program to be work for all supported platforms, wxThread class for writing + multithreaded programs, and much more. + . + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X. + . + 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 (= ${binary:Version}), libwxbase=SOV=U (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends} +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 the same + program to be work for all supported platforms, wxThread class for writing + multithreaded programs, and much more. + . + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X. + . + This package provides the files needed to compile apps using the wxBase + library. + +Package: libwxbase=V=U-dbg +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Section: debug +Priority: extra +Multi-Arch: same +Depends: wx=V-headers (= ${binary:Version}), libc6-dev, ${misc:Depends} +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 the same + program to be work for all supported platforms, wxThread class for writing + multithreaded programs, and much more. + . + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X. + . + 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 +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +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-common, wx=V-headers (= ${binary:Version}), libwxgtk=SOV=U (= ${binary:Version}), libwxbase=V=U-dev (= ${binary:Version}), ${misc:Depends} +Suggests: wx=V-doc, libstdc++-dev, gettext, libgl1-mesa-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). + . + 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. + . + This package also provides the wx-config script. + +Package: libwxgtk=V=U-dbg +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Section: debug +Priority: extra +Multi-Arch: same +Depends: ${shlibs:Depends}, wx=V-headers (= ${binary:Version}), libwxbase=V=U-dbg (= ${binary:Version}), ${misc:Depends} +Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) + 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). + . + 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 +Homepage: http://www.wxpython.org/ +Section: python +Depends: python-wxversion (>= 2.6.3.2.2-2), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Suggests: wx=V-doc, wx=V-examples, editra +Conflicts: libwxgtk2.6-0-python, wxpython2.6-0, python-wxaddons +Replaces: libwxgtk2.6-0-python, wxpython2.6-0 +Provides: ${python:Provides} +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). + . + This package provides a Python binding to the wxGTK library and the + wxPython runtime support libraries. + +Package: python-wxgtk=V=U-dbg +Homepage: http://www.wxpython.org/ +Priority: extra +Architecture: any +Section: debug +Depends: python-wxgtk=V=U (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding, debug version) + wxWidgets is a class library for C++ providing GUI (Graphical User + Interface) and other facilities on more than one platform. Version =V + currently supports GTK+, Motif, X11, Mac OS X, 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 +Homepage: http://www.wxpython.org/ +Architecture: all +Section: python +Depends: ${python:Depends}, ${misc:Depends} +Conflicts: wxpython2.6-0, python-wxgtk2.6 (<< 2.6.3.2.2-2), python-wxgtk2.4 (<< 2.4.5.1.2), python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) +Replaces: wxpython2.6-0 +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). + . + This package provides the wxPython version selector. + +Package: python-wxtools +Homepage: http://www.wxpython.org/ +Architecture: all +Section: python +Depends: python-wxgtk=V=U, ${python:Depends}, ${misc:Depends} +Conflicts: wxpython2.6-0 +Replaces: wxpython2.6-0, libwxgtk2.4-python, wxpython2.4-1 +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). + . + This package provides support utilities and common files for wxPython=V=U. + +Package: wx-common +Architecture: any +Section: devel +Depends: ${shlibs:Depends}, ${misc: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). + . + 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 +Depends: ${misc:Depends} +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). + . + This package provides the common header files required to build applications + using the wxWidgets toolkit. + +Package: wx=V-i18n +Architecture: all +Depends: ${misc:Depends} +Conflicts: wx-i18n, wxwin-i18n, wx2.4-i18n +Replaces: wx-i18n, wxwin-i18n, wx2.4-i18n, wx2.5-i18n +Provides: wx-i18n +Section: localization +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). + . + This package provides the i18n message catalogs for wxWidgets. + +Package: wx=V-doc +Architecture: all +Section: doc +Provides: wx-doc +Depends: ${misc:Depends} +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). + . + This package provides a HTML version of the wxWidgets reference manual. + +Package: wx=V-examples +Architecture: all +Section: devel +Depends: ${misc:Depends} +Suggests: libwxgtk=V=U-dev (= ${binary: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). + . + This package contains examples of using the wxWidgets toolkit in + C++ and with the wxPython language binding. + +Package: libwxmsw=V=U-dev +Architecture: any +Section: otherosfs +Depends: wx=V-headers-msw (= ${binary:Version}), ${misc:Depends} +Description: wxMSW mingw32msvc-cross + mingw32msvc-cross wxMSW libs. + +Package: libwxmsw=V=U-dbg +Architecture: any +Section: otherosfs +Depends: wx=V-headers-msw (= ${binary:Version}), ${misc:Depends} +Description: wxMSW mingw32msvc-cross (debug) + mingw32msvc-cross wxMSW libs. + __WXDEBUG__ version. + +Package: wx=V-headers-msw +Architecture: any +Section: otherosfs +Depends: wx=V-headers (= ${binary:Version}), ${misc:Depends} +Description: Extra wxWidgets headers for mingw32msvc-cross + Headers required by the wxWidgets mingw32msvc-cross libraries. + --- wxwidgets2.8-2.8.12.1.orig/debian/README.Debian +++ wxwidgets2.8-2.8.12.1/debian/README.Debian @@ -0,0 +1,77 @@ +wxwidgets for Debian +---------------------- + +The following packages are built from the wxWidgets 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.12.1.orig/debian/python-wxgtk.prerm +++ wxwidgets2.8-2.8.12.1/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.12.1.orig/debian/copyright +++ wxwidgets2.8-2.8.12.1/debian/copyright @@ -0,0 +1,300 @@ +This package was debianized by Ron Lee on +Sun, 13 Feb 2000 18:40:00 +1030. + +More information about wxWidgets, as well as the source these debs +are produced from can be found at http://www.wxwidgets.org/ + +Note for Debian users: +====================== + +Most of the core wxWidgets library is licensed under the wxWindows Library +Licence (included below), however some additional features of the library +may include source licensed 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 license 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 +licensing terms of all components that these debs (and all future versions +that you use) are built with, or build your own binaries of wxWidgets 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 authoritative 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 +licensed 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. + +----------------------------------------------------------------------------- + +The files in ./wxPython/wx/tools/Editra/pixmaps/theme/Tango/ (which +are not used in the resulting .debs) are licensed under the following +terms: + +Creative Commons Attribution-ShareAlike 2.5 License Agreement + +CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + + 1. "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. + 2. "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. + 3. "Licensor" means the individual or entity that offers the Work under the terms of this License. + 4. "Original Author" means the individual or entity who created the Work. + 5. "Work" means the copyrightable work of authorship offered under the terms of this License. + 6. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. + 7. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. + +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + + 1. to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; + 2. to create and reproduce Derivative Works; + 3. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; + 4. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. + 5. + + For the avoidance of doubt, where the work is a musical composition: + 1. Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. + 2. Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights society or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). + 6. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). + +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + + 1. You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(c), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(c), as requested. + 2. You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License. + 3. If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. + +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + + 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. + +8. Miscellaneous + + 1. Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. + 2. Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. + 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. + 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. + 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. + +Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. + +Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. + +Creative Commons may be contacted at http://creativecommons.org/. + + +----------------------------------------------------------------------------- + +.orig.tar.gz file is a repacked tarball generated using +`uscan --repack --rename --download-current-version`. --- wxwidgets2.8-2.8.12.1.orig/debian/libwxmsw-dbg.prerm +++ wxwidgets2.8-2.8.12.1/debian/libwxmsw-dbg.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/=H-msw-unicode-debug-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/python-wxgtk.postinst +++ wxwidgets2.8-2.8.12.1/debian/python-wxgtk.postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +update-alternatives --install /usr/lib/wx/python/wx.pth wx.pth \ + /usr/lib/wx/python/wx=V.pth =PRIO + +#DEBHELPER# --- wxwidgets2.8-2.8.12.1.orig/debian/libwxgtk-dbg.prerm +++ wxwidgets2.8-2.8.12.1/debian/libwxgtk-dbg.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/=MA/wx/config/gtk2-unicode-debug-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxmsw-dev.prerm +++ wxwidgets2.8-2.8.12.1/debian/libwxmsw-dev.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/wx/config/=H-msw-unicode-release-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxgtk-dev.postinst +++ wxwidgets2.8-2.8.12.1/debian/libwxgtk-dev.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/=MA/wx/config/gtk2-unicode-release-=V \ + $(( =PRIO * 10 + 8 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/rules +++ wxwidgets2.8-2.8.12.1/debian/rules @@ -0,0 +1,1099 @@ +#!/usr/bin/make -f +# debian/rules file to build packages from wx 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. + +SHELL = /bin/bash + +#export DH_VERBOSE=1 + +include /usr/share/python/python.mk +include /usr/share/quilt/quilt.make +export DH_OPTIONS + +# WXPYTHON_VERSION = $(shell dpkg-parsechangelog | sed -ne '/^Version: /s@Version: \(.*\)@\1@p') + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + + # The standard way to specify the number of jobs. + JOB_COUNT := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + +else 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 + +PYVERS := $(shell pyversions -vr) + +# 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.6 + + +# This will extract a flavour out of the changelog and flavour the +# packages and binaries with it. 'Official' builds should use a +# changelog entry with a source package of the form wxwidgets$RELEASE. +# Flavoured builds may use wxwidgets$RELEASE-$FLAVOUR, where any +# descriptive alphanumeric name will do for FLAVOUR. This will allow +# a custom build to be installed alongside the mainline ones without +# conflict. +DEBIAN_WXFLAVOUR := $(shell dpkg-parsechangelog | sed -ne '/^Source: /s@.*wxwidgets[0-9.]\+-\?\(.*\)@\1@p') + + +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 := $(wx_major_version_number).$(wx_minor_version_number) + +so_cur := $(shell sed 's,\([0-9]\+\),\1,p;d' build/bakefiles/version.bkl) +so_age := $(shell sed 's,\([0-9]\+\),\1,p;d' build/bakefiles/version.bkl) +soversion := $(shell expr $(so_cur) - $(so_age)) + +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 expr '$(wx_minor_version_number)' : '.*[02468]$$'),0) + # Odd minor version, so development release. + compatible_release := $(release).$(wx_release_number) +else + compatible_release := $(release) +endif + +# Base value for alternative priorities. +alt_prio := $(subst .,,$(release)) + +pytoolkit := gtk2 +wxsubdir := wx-$(compatible_release)-$(pytoolkit)-unicode + +cross_host := i586-mingw32msvc +cross_build := $(shell /usr/share/misc/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 \ + --with-expat=sys + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) +COMMON_CONFIGURE_OPTIONS += --disable-optimise +endif + +BASE_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \ + --disable-gui \ + --libdir=\$${exec_prefix}/lib/$(DEB_HOST_MULTIARCH) + +GTK_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \ + --with-gtk \ + --with-opengl \ + --enable-sound \ + --with-sdl \ + --enable-display \ + --enable-geometry \ + --enable-graphics_ctx \ + --with-libjpeg=sys \ + --with-libpng=sys \ + --with-libtiff=sys \ + --libdir=\$${exec_prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --enable-mediactrl + +MSW_CONFIGURE_OPTIONS = \ + --with-msw \ + --with-opengl \ + --enable-display + +# For the MSW packages, enabling threads in wx means that your application will +# have a dependency on mingwm10.dll. If you don't use threads, this is just an +# annoyance, so default to disabling them. If you want a wx package to use in +# a threaded application then comment out the next line. +MSW_CONFIGURE_OPTIONS += --disable-threads + +PY_WX_CONFIG_OPTIONS = --version=$(release) --toolkit=$(pytoolkit) --static=no + +WX_UNICODE ?= 1 +# Needed in binary-cross, and perhaps other sub-invocations of debian/rules. +export WX_UNICODE + +ifeq ($(WX_UNICODE),1) + COMMON_CONFIGURE_OPTIONS += --enable-unicode + MSW_CONFIGURE_OPTIONS += --enable-unicode + PY_WX_CONFIG_OPTIONS += --unicode + PY_UNICODE="UNICODE=1" + + # 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 + PY_UNICODE= + unicode_suffix := -ansi +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_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_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: + +config.guess config.sub: + ln -sf /usr/share/misc/config.guess /usr/share/misc/config.sub . + +debian/control: debian/control.in + sed -e 's/=V/$(release)/g;s/=SOV/$(sorelease)/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;s/=MA/$(DEB_HOST_MULTIARCH)/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;s/=MA/$(DEB_HOST_MULTIARCH)/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;s/=MA/$(DEB_HOST_MULTIARCH)/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;s/=MA/$(DEB_HOST_MULTIARCH)/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/=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/=PRIO/$(alt_prio)/g' \ + -e 's/=H/$(cross_host)/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/=PRIO/$(alt_prio)/g' \ + -e 's/=H/$(cross_host)/g;' \ + < debian/libwxmsw-dbg.$$f \ + > debian/$(package_msw_dbg).$$f; \ + done +# @echo "generating control file $(package_common).menu"; \ +# sed -e 's/=V/$(release)/g' < debian/wx-common.menu \ +# > debian/$(package_common).menu + @echo "generating control file lintian-override"; \ + sed -e 's/=V/$(release)/g;s/=SOV/$(sorelease)/g' \ + -e 's/=U/$(unicode_suffix)/' \ + < debian/lintian-override.in \ + > debian/lintian-override; \ + touch $@ + +build-arch: control-files-stamp $(build_arch_stamps) +build-indep: control-files-stamp $(build_indep_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-stamp build-arch +build-stamp: $(QUILT_STAMPFN) + + +# 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: config.guess + 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... + #$(FAST_MAKE) -C $(objdir_wxbase_shared) + touch $@ + +configure-wxbase-debug-stamp: config.guess + 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... + #$(FAST_MAKE) -C $(objdir_wxbase_debug) + touch $@ + +configure-gtk-shared-stamp: config.guess + 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 + $(FAST_MAKE) -C $(objdir_gtk_shared) + cd $(objdir_gtk_shared)/lib && ln -s . $(DEB_HOST_MULTIARCH) + touch $@ + + +configure-gtk-debug-stamp: config.guess + 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 + $(FAST_MAKE) -C $(objdir_gtk_debug) + cd $(objdir_gtk_debug)/lib && ln -s . $(DEB_HOST_MULTIARCH) + touch $@ + + +build-gtk-shared-contrib-stamp: build-gtk-shared-stamp + dh_testdir + $(FAST_MAKE) -C $(objdir_gtk_shared)/contrib/src + $(FAST_MAKE) -C $(objdir_gtk_shared)/utils/wxrc + touch $@ + + +build-gtk-debug-contrib-stamp: build-gtk-debug-stamp + dh_testdir + $(FAST_MAKE) -C $(objdir_gtk_debug)/contrib/src + 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: $(PYVERS:%=build-gtk-py%-stamp) # purge-dbg-py + touch $@ + +build-gtk-py%-stamp: build-gtk-shared-stamp # purge-dbg-py + dh_testdir + touch docs/lgpl.txt + cd wxPython \ + && python$* ./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 \ + $(FAST_MAKE) -C $(objdir_gtk_shared)/utils/tex2rtf/src; \ + 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. + # Some files in the sources are randomly executable, so don't + # just use cp -a here. + cp -dR --preserve=timestamps samples $(objdir_examples) + rm -f $(objdir_examples)/samples/Makefile + cp -a $(objdir_gtk_shared)/samples/Makefile $(objdir_examples)/samples + + find $(objdir_examples)/samples -name 'Makefile.in' -delete + for f in `find $(objdir_examples)/samples -name makefile.unx` ; do \ + mv $$f `dirname $$f`/Makefile ; \ + done + + cp -a wxPython/demo $(objdir_examples)/wxPython + # Remove useless file. + rm -f $(objdir_examples)/wxPython/b + # Stop files being randomly executable. + -chmod a-x \ + $(objdir_examples)/samples/samples/Info.plist \ + $(objdir_examples)/samples/aui/descrip.mms \ + $(objdir_examples)/samples/db/descrip.mms \ + $(objdir_examples)/samples/docview/docview.r \ + $(objdir_examples)/samples/internat/ar/internat.mo \ + $(objdir_examples)/samples/internat/ar/internat.po \ + $(objdir_examples)/samples/minimal/minimal.plc \ + $(objdir_examples)/samples/xrc/descrip.mms \ + $(objdir_examples)/wxPython/bmp_source/customcontrol.png + + echo "generating unpack_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 the release 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: $(PYVERS:%=build-gtk-dbg-py%-stamp) # purge-release-py + touch $@ + +build-gtk-dbg-py%-stamp: build-gtk-debug-stamp # purge-release-py + dh_testdir + touch docs/lgpl.txt + cd wxPython \ + && python$*-dbg ./setup.py build \ + WX_CONFIG='$(wxconfig-dbg)' \ + WXPORT=$(pytoolkit) \ + $(PY_UNICODE) \ + FLAVOUR=$(addsuffix -,$(DEBIAN_WXFLAVOUR))dbg + touch $@ + + +configure-msw-shared-stamp: config.guess + 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) \ + $(MSW_CONFIGURE_OPTIONS) + touch $@ + +build-msw-shared-stamp: configure-msw-shared-stamp + dh_testdir + $(FAST_MAKE) -C $(objdir_msw_shared) + touch $@ + +configure-msw-static-stamp: config.guess + 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) \ + $(MSW_CONFIGURE_OPTIONS) \ + --disable-shared + touch $@ + +build-msw-static-stamp: configure-msw-static-stamp + dh_testdir + $(FAST_MAKE) -C $(objdir_msw_static) + touch $@ + +configure-msw-dbg-stamp: config.guess + 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 + $(FAST_MAKE) -C $(objdir_msw_dbg) + touch $@ + + +clean-py: + cd wxPython && \ + rm -rf build*/ wx/*.py build_options.py src/wx.pth wx/build/build_options.py + + # What to do about src/__version__.py ??? + + +# We do the equivalent of this above by removing build, unfortunately +# it's not enough by itself to get the tree properly clean again. +# && ./setup.py clean + +clean: debian/control clean-py unpatch + dh_testdir + dh_testroot + + rm -rf config_deb.cache config_deb_cross.cache *-stamp $(objdirs) + + dh_clean + rm -f debian/$(package_wxbase_lib).* \ + debian/$(package_wxbase_dev).* \ + debian/$(package_wxbase_dbg).* \ + debian/$(package_gtk_lib).* \ + debian/$(package_gtk_dev).* \ + debian/$(package_gtk_dbg).* \ + debian/$(package_gtk_py_lib).* \ + debian/$(package_headers).* \ + debian/$(package_i18n).* \ + debian/$(package_doc).* \ + debian/$(package_examples).* \ + debian/$(package_gtk_dbg_py).* \ + debian/$(package_msw_dev).* \ + debian/$(package_msw_dbg).* \ + debian/lintian-override \ + debian/unpack_examples.sh \ + config.guess config.sub + rm -rf include/wx-$(release) + find -name '*.py[co]' -delete + +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_prep + @# No, this is not a typo, we steal these libs from the gtk build. + dh_install $(objdir_gtk_install)/lib/$(DEB_HOST_MULTIARCH)/libwx_base*.so.* usr/lib/$(DEB_HOST_MULTIARCH) + dh_installdirs usr/share/lintian/overrides + grep ^$(package_wxbase_lib): 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_prep + @# No, this is not a typo, we steal these libs from the gtk build. + dh_install $(objdir_gtk_install)/lib/$(DEB_HOST_MULTIARCH)/libwx_base*.so usr/lib/$(DEB_HOST_MULTIARCH) + dh_install $(objdir_wxbase_shared)/lib/wx/include usr/lib/$(DEB_HOST_MULTIARCH)/wx + dh_install $(objdir_wxbase_shared)/lib/wx/config/base* usr/lib/$(DEB_HOST_MULTIARCH)/wx/config + +install-wxbase-dbg: DH_OPTIONS=-p$(package_wxbase_dbg) +install-wxbase-dbg: build-wxbase-debug-stamp + dh_testdir + dh_testroot + dh_prep + @# 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/$(DEB_HOST_MULTIARCH) + dh_install $(objdir_wxbase_debug)/lib/wx/include usr/lib/$(DEB_HOST_MULTIARCH)/wx + dh_install $(objdir_wxbase_debug)/lib/wx/config/base* usr/lib/$(DEB_HOST_MULTIARCH)/wx/config + dh_installdirs usr/share/lintian/overrides + grep ^$(package_wxbase_dbg): 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_prep + dh_install $(objdir_gtk_install)/lib/$(DEB_HOST_MULTIARCH)/libwx_gtk*.so.* usr/lib/$(DEB_HOST_MULTIARCH) + dh_installdirs usr/share/lintian/overrides + grep ^$(package_gtk_lib): 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_prep + dh_install $(objdir_gtk_install)/lib/$(DEB_HOST_MULTIARCH)/libwx_gtk*.so usr/lib/$(DEB_HOST_MULTIARCH) + dh_install $(objdir_gtk_install)/lib/$(DEB_HOST_MULTIARCH)/wx/include usr/lib/$(DEB_HOST_MULTIARCH)/wx + dh_install $(objdir_gtk_install)/lib/$(DEB_HOST_MULTIARCH)/wx/config/gtk* usr/lib/$(DEB_HOST_MULTIARCH)/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_prep + dh_install $(objdir_gtk_debug)/lib/libwx_gtk* usr/lib/$(DEB_HOST_MULTIARCH) + dh_install $(objdir_gtk_debug)/lib/wx/include usr/lib/$(DEB_HOST_MULTIARCH)/wx + dh_install $(objdir_gtk_debug)/lib/wx/config/gtk* usr/lib/$(DEB_HOST_MULTIARCH)/wx/config + dh_installdirs usr/share/lintian/overrides + grep ^$(package_gtk_dbg): 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: install-gtk-py-lib-pre $(PYVERS:%=install-gtk-pylib%) + /bin/echo -n "$(wxsubdir)" > debian/$(package_gtk_py_lib)/usr/lib/wx/python/wx$(release).pth +install-gtk-py-lib-pre: + dh_testdir + dh_testroot + dh_prep +install-gtk-pylib%: install-gtk-py-lib-pre build-gtk-py%-stamp + dh_testdir + dh_testroot + dh_installdirs usr/lib/wx/python + cd wxPython \ + && python$* ./setup.py install \ + --install-layout=deb \ + --prefix=`pwd`/../debian/$(package_gtk_py_lib)/usr \ + WX_CONFIG='$(wxconfig)' \ + SYS_WX_CONFIG='$(py_wxconfig)' \ + WXPORT=$(pytoolkit) \ + $(PY_UNICODE) \ + FLAVOUR=$(DEBIAN_WXFLAVOUR) + + cp -a include/wx-$(release) \ + debian/$(package_headers)/usr/include + + rm -f debian/$(package_gtk_py_lib)/usr/lib/python$*/$(call py_sitename,$*)/wx.pth + + find debian/$(package_gtk_py_lib)/usr/lib/python$* -name '*.py?' -delete + + # Fix image-file-in-usr-lib lintian warnings. + mkdir -p debian/$(package_gtk_py_lib)/usr/share/$(package_gtk_py_lib)/XRCed/plugins/ + cp -rf debian/$(package_gtk_py_lib)/usr/lib/python$*/$(call py_sitename,$*)/$(wxsubdir)/wx/tools/XRCed/plugins/bitmaps debian/$(package_gtk_py_lib)/usr/share/$(package_gtk_py_lib)/XRCed/plugins/ + -rm -rf debian/$(package_gtk_py_lib)/usr/lib/python$*/$(call py_sitename,$*)/$(wxsubdir)/wx/tools/XRCed/plugins/bitmaps + + # This is rather bogus, it's included in the main copyright file now though. + rm -f debian/$(package_gtk_py_lib)/usr/lib/python$*/$(call py_sitename,$*)/$(wxsubdir)/wx/tools/XRCed/license.txt + # has its own package, editra + rm -fr debian/$(package_gtk_py_lib)/usr/lib/python$*/$(call py_sitename,$*)/$(wxsubdir)/wx/tools/Editra + +install-gtk-py-ver: DH_OPTIONS=-p$(package_gtk_py_ver) +install-gtk-py-ver: install-gtk-py-lib + dh_testdir + dh_testroot + dh_prep + +ifndef DEBIAN_WX_DEFAULT_VERSION + + dh_movefiles --sourcedir=debian/$(package_gtk_py_lib) \ + $(foreach pv,$(PYVERS),$(call py_libdir,$(pv))/wxversion.py) + for v in $(foreach pv,$(PYVERS),debian/$(package_gtk_py_ver)$(call py_libdir,$(pv))/wx.pth); do \ + ln -sf ../../wx/python/wx.pth $$v; \ + done +else + rm -f debian/$(package_gtk_py_lib)/usr/lib/python*/*/wxversion.py +endif + + + +install-gtk-py-tools: DH_OPTIONS=-p$(package_gtk_py_tools) +install-gtk-py-tools: install-gtk-py-ver + dh_testdir + dh_testroot + dh_prep + +install-gtk-py: DH_OPTIONS=-p$(package_gtk_py_tools) +install-gtk-py: install-gtk-py-tools + +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/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 + + rm debian/$(package_gtk_py_tools)/usr/bin/editra + rm debian/$(package_gtk_py_tools)/usr/bin/pyshell +endif + mkdir -p debian/$(package_gtk_py_tools)/usr/share/pixmaps + mkdir -p debian/$(package_gtk_py_tools)/usr/share/applications + + cp debian/pycrust.xpm debian/$(package_gtk_py_tools)/usr/share/pixmaps/pycrust.xpm + cp debian/xrced.xpm debian/$(package_gtk_py_tools)/usr/share/pixmaps/xrced.xpm + cp wxPython/wx/py/PyCrust_32.png debian/$(package_gtk_py_tools)/usr/share/pixmaps/pycrust.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/xrced.desktop debian/$(package_gtk_py_tools)/usr/share/applications + + rm -r debian/$(package_gtk_py_lib)/usr/bin + + +install-common: DH_OPTIONS=-p$(package_common) +install-common: install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_prep + + 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_prep + +# 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 + +install-i18n: DH_OPTIONS=-p$(package_i18n) +install-i18n: build-i18n-stamp install-gtk-shared-stamp + dh_testdir + dh_testroot + dh_prep + # We end up with usr/share/locale/zh/LC_MESSAGES/ empty in 2.8.12.1. + find $(objdir_gtk_install)/share/locale -type d -empty -delete + 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_prep + + @# 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_prep + +install-gtk-dbg-py: DH_OPTIONS=-p$(package_gtk_dbg_py) +install-gtk-dbg-py: install-gtk-dbg-py-pre $(PYVERS:%=install-gtk-dbg-py%) +install-gtk-dbg-py-pre: + dh_testdir + dh_testroot + dh_prep +install-gtk-dbg-py%: install-gtk-dbg-py-pre build-gtk-dbg-py%-stamp + dh_testdir + dh_testroot + dh_installdirs usr/lib/wx/python + cd wxPython \ + && python$*-dbg ./setup.py install \ + --install-layout=deb \ + --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)/usr/lib/python$*/$(call py_sitename,$*)/$(wxsubdir)-dbg \ + debian/$(package_gtk_dbg_py)/usr/lib/python$*/$(call py_sitename,$*)/$(wxsubdir) + + -find debian/$(package_gtk_dbg_py) -name '*_d.so' + find debian/$(package_gtk_dbg_py) ! -type d ! -name '*.so' -delete + find debian/$(package_gtk_dbg_py) -depth -type d -empty -delete + + +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_prep + 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_prep + 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_prep + + 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_installchangelogs docs/changes.txt + dh_installdocs + dh_installexamples + dh_installmenu + dh_link + dh_python2 + + @# 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 -X.py + 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. 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 build-indep \ + 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.12.1.orig/debian/wxPython-tools.1 +++ wxwidgets2.8-2.8.12.1/debian/wxPython-tools.1 @@ -0,0 +1,33 @@ +.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 +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.12.1.orig/debian/libwxmsw-dev.postinst +++ wxwidgets2.8-2.8.12.1/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-unicode-release-=V \ + $(( =PRIO * 10 + 4 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/wx-config.1 +++ wxwidgets2.8-2.8.12.1/debian/wx-config.1 @@ -0,0 +1,159 @@ +.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 usually 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 + +\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 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 the 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 versions are very useful for finding certain common ways of +misusing the wxWidgets API, and you are encouraged to use them during +active development of applications. They are not binary compatible with +release versions, and packages built against wxWidgets debug builds +should never be uploaded to Debian. +.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 +included in the wxGTK packages. + +.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 wxWidgets. It may be freely distributed by anyone who finds +it useful. + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxbase-dbg.prerm +++ wxwidgets2.8-2.8.12.1/debian/libwxbase-dbg.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/=MA/wx/config/base-unicode-debug-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/wxrc-tools.1 +++ wxwidgets2.8-2.8.12.1/debian/wxrc-tools.1 @@ -0,0 +1,14 @@ +.TH wxrc\-tools 1 "30 Jul 2004" "Debian GNU/Linux" "wxWidgets" +.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 wxWidgets manual, which is packaged in html format in the wx2.8-doc +package and installed in +/usr/share/doc/wx2.8-doc/wx-manual.html/wx_xrcoverview.html on Debian systems. + +.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.12.1.orig/debian/wx-examples.examples +++ wxwidgets2.8-2.8.12.1/debian/wx-examples.examples @@ -0,0 +1,6 @@ +debian/README.examples +debian/unpack_examples.sh +docs/examples/samples +docs/examples/wxPython +contrib/samples + --- wxwidgets2.8-2.8.12.1.orig/debian/gbp.conf +++ wxwidgets2.8-2.8.12.1/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +upstream-tag = v%(version)s +debian-tag = v%(version)s +debian-branch = debian-wx2.8 +upstream-branch = upstream-wx2.8 --- wxwidgets2.8-2.8.12.1.orig/debian/compat +++ wxwidgets2.8-2.8.12.1/debian/compat @@ -0,0 +1 @@ +7 --- wxwidgets2.8-2.8.12.1.orig/debian/pycrust.desktop +++ wxwidgets2.8-2.8.12.1/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 +Terminal=false +Type=Application +Categories=Development; +StartupNotify=true --- wxwidgets2.8-2.8.12.1.orig/debian/xrced.xpm +++ wxwidgets2.8-2.8.12.1/debian/xrced.xpm @@ -0,0 +1,55 @@ +/* XPM */ +static char * xrced_xpm[] = { +"32 32 20 1", +" c None", +". c #F8FCF8", +"+ c #C0C4C0", +"@ c #505450", +"# c #E0E0E0", +"$ c #707070", +"% c #888C88", +"& c #A8A8A8", +"* c #383838", +"= c #000000", +"- c #181C18", +"; c #E0E0F8", +"> c #A8A8F8", +", c #0000F8", +"' c #7070F8", +") c #5054F8", +"! c #888CF8", +"~ c #C0C4F8", +"{ c #181CF8", +"] c #3838F8", +"................................", +"................................", +".+@@#..$@+.%@@@@@%#....%@@@&....", +"..*=$.%==..@======@...-=====$...", +"..+=-+-=+..@=&..#==..%=@+.+==+..", +"...*=*=@...@=&...==..@=&...@=@..", +"...#===+...@=$&&@=$.&==.........", +"....-==....@======#.&==.........", +"...+===&...@=$&&*=$.&==.........", +"..#*=@=-...@=&..&=@..@=%...*=@..", +"..%=@.-=@..@=&..&=@..&=*+.+==...", +".+-=+.+==#.@=&..&=*...$=====&...", +".%@@...$@&.%@+..#@@....%@@@&....", +"................................", +"................................", +".......................;>>......", +".......................>,,......", +".......................>,,......", +".......................>,,......", +".........>'))!~...;'))'>,,......", +"........~,,,,,{...',,,,],,......", +"........,,]>>,,).>,,'>',,,......", +".......>,{~..),,>),]...],,......", +".......>,,,,,,,,>),>...>,,......", +".......>,{))))))~),>...>,,......", +".......>,];..~>~.),'...',,......", +".......;,,'..{,).!,,~.~,,,......", +"........',,,,,,..;],,,,',,......", +".........>],,>....;],,>>,,......", +"................................", +"................................", +"................................"}; --- wxwidgets2.8-2.8.12.1.orig/debian/python-wxtools.menu +++ wxwidgets2.8-2.8.12.1/debian/python-wxtools.menu @@ -0,0 +1,6 @@ +?package(python-wxtools):needs="X11" section="Applications/Programming"\ + title="pycrust" command="/usr/bin/pycrust"\ + icon="/usr/share/pixmaps/pycrust.xpm" +?package(python-wxtools):needs="X11" section="Applications/Programming"\ + title="xrced" command="/usr/bin/xrced"\ + icon="/usr/share/pixmaps/xrced.xpm" --- wxwidgets2.8-2.8.12.1.orig/debian/watch +++ wxwidgets2.8-2.8.12.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/wxpython/wxPython-src-(2\.8\..*)\.tar\.bz2 debian debian/repack.sh + --- wxwidgets2.8-2.8.12.1.orig/debian/repack.sh +++ wxwidgets2.8-2.8.12.1/debian/repack.sh @@ -0,0 +1,58 @@ +#!/bin/sh +# Repackage upstream source to exclude non-distributable files +# should be called as "repack.sh --upstream-source +# (for example, via uscan) + +set -e +set -u + +VER="$2" +FILE="$3" +PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` + +REPACK_DIR="$PKG-$VER.orig" # DevRef § 6.7.8.2 + +echo -e "\nRepackaging $FILE\n" + +DIR=`mktemp -d ./tmpRepackXXXXXX` +trap "rm -rf \"$DIR\"" QUIT INT EXIT + +# Create an extra directory to cope with rootless tarballs +UP_BASE="$DIR/unpack" +mkdir "$UP_BASE" +tar xjf "$FILE" -C "$UP_BASE" + +if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then + # Tarball does contain a root directory + UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" +fi + +## Remove stuff +mv $UP_BASE/debian $UP_BASE/debian-upstream +# There are some non-free DLLs under wxPython. DLLs aren't useful for us +# so just nuke any regardless which protects us from any new DLLs which get +# added by upstream. +find "$UP_BASE" -iname '*.dll' -delete +# We don't use the built-in copy of expat and it contains an ancient copy +# of libtool which lintian warns about, so just delete it. This also ensures +# that we don't accidentally start building against it in future. By similar +# logic, remove other embedded copies of libraries we don't want to use, and +# which lintian might warn about in future. +rm -rf "$UP_BASE"/src/expat +rm -rf "$UP_BASE"/src/iodbc +rm -rf "$UP_BASE"/src/jpeg +rm -rf "$UP_BASE"/src/png +rm -rf "$UP_BASE"/src/tiff +rm -rf "$UP_BASE"/src/zlib +## End + +mv "$UP_BASE" "$DIR/$REPACK_DIR" + +# Using a pipe hides tar errors! +tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" +gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz" + +FILE=$(echo $FILE | sed 's/bz2/gz/') +mv "$DIR/repacked.tar.gz" "$FILE" + +echo "*** $FILE repackaged" --- wxwidgets2.8-2.8.12.1.orig/debian/lintian-override.in +++ wxwidgets2.8-2.8.12.1/debian/lintian-override.in @@ -0,0 +1,6 @@ +libwxbase=V=U-dbg: non-dev-pkg-with-shlib-symlink +libwxbase=V=U-dbg: package-name-doesnt-match-sonames +libwxbase=SOV=U: package-name-doesnt-match-sonames +libwxgtk=V=U-dbg: non-dev-pkg-with-shlib-symlink +libwxgtk=V=U-dbg: package-name-doesnt-match-sonames +libwxgtk=SOV=U: package-name-doesnt-match-sonames --- wxwidgets2.8-2.8.12.1.orig/debian/python-wxgtk.docs +++ wxwidgets2.8-2.8.12.1/debian/python-wxgtk.docs @@ -0,0 +1,4 @@ +wxPython/docs/README.txt +wxPython/docs/CHANGES.txt +wxPython/docs/MigrationGuide.txt + --- wxwidgets2.8-2.8.12.1.orig/debian/xrced.desktop +++ wxwidgets2.8-2.8.12.1/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 +Terminal=false +Type=Application +Categories=Development; +StartupNotify=true --- wxwidgets2.8-2.8.12.1.orig/debian/unpack_examples.sh.in +++ wxwidgets2.8-2.8.12.1/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.12.1.orig/debian/control +++ wxwidgets2.8-2.8.12.1/debian/control @@ -0,0 +1,273 @@ +Source: wxwidgets2.8 +Section: libs +Priority: optional +Build-Depends: debhelper (>= 8.1.3), gettext, libgtk2.0-dev, + python-all (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), + zlib1g-dev, libjpeg-dev, libpng12-dev, libtiff4-dev, libsm-dev, + libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libesd0-dev, + libgnomeprintui2.2-dev, quilt, autotools-dev, libexpat1-dev, + binutils (>= 2.19.51.20090827) | binutils (<= 2.18.1~cvs20080103-7), + libxt-dev, libgstreamer-plugins-base0.10-dev, libgconf2-dev +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: wxWidgets Maintainers +Uploaders: Ryan Niebur , Ron Lee , Olly Betts +Standards-Version: 3.9.2 +Vcs-Git: git://git.debian.org/git/freewx/wx.git +Vcs-Browser: http://git.debian.org/?p=freewx/wx.git +Homepage: http://www.wxwidgets.org/ + +Package: libwxbase2.8-0 +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +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 the same + program to be work for all supported platforms, wxThread class for writing + multithreaded programs, and much more. + . + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X. + . + 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 (= ${binary:Version}), libwxbase2.8-0 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends} +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 the same + program to be work for all supported platforms, wxThread class for writing + multithreaded programs, and much more. + . + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X. + . + This package provides the files needed to compile apps using the wxBase + library. + +Package: libwxbase2.8-dbg +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Section: debug +Priority: extra +Multi-Arch: same +Depends: wx2.8-headers (= ${binary:Version}), libc6-dev, ${misc:Depends} +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 the same + program to be work for all supported platforms, wxThread class for writing + multithreaded programs, and much more. + . + wxBase currently supports the following platforms: Generic Unix (Linux, + FreeBSD, Solaris, HP-UX, ...), Microsoft Windows, and Mac OS X. + . + 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 +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +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: wx-common, wx2.8-headers (= ${binary:Version}), libwxgtk2.8-0 (= ${binary:Version}), libwxbase2.8-dev (= ${binary:Version}), ${misc:Depends} +Suggests: wx2.8-doc, libstdc++-dev, gettext, libgl1-mesa-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). + . + 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. + . + This package also provides the wx-config script. + +Package: libwxgtk2.8-dbg +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Section: debug +Priority: extra +Multi-Arch: same +Depends: ${shlibs:Depends}, wx2.8-headers (= ${binary:Version}), libwxbase2.8-dbg (= ${binary:Version}), ${misc:Depends} +Description: wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) + 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). + . + 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 +Homepage: http://www.wxpython.org/ +Section: python +Depends: python-wxversion (>= 2.6.3.2.2-2), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Suggests: wx2.8-doc, wx2.8-examples, editra +Conflicts: libwxgtk2.6-0-python, wxpython2.6-0, python-wxaddons +Replaces: libwxgtk2.6-0-python, wxpython2.6-0 +Provides: ${python:Provides} +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). + . + This package provides a Python binding to the wxGTK library and the + wxPython runtime support libraries. + +Package: python-wxgtk2.8-dbg +Homepage: http://www.wxpython.org/ +Priority: extra +Architecture: any +Section: debug +Depends: python-wxgtk2.8 (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} +Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython binding, debug version) + 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 GTK+, Motif, X11, Mac OS X, 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 +Homepage: http://www.wxpython.org/ +Architecture: all +Section: python +Depends: ${python:Depends}, ${misc:Depends} +Conflicts: wxpython2.6-0, python-wxgtk2.6 (<< 2.6.3.2.2-2), python-wxgtk2.4 (<< 2.4.5.1.2), python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) +Replaces: wxpython2.6-0 +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). + . + This package provides the wxPython version selector. + +Package: python-wxtools +Homepage: http://www.wxpython.org/ +Architecture: all +Section: python +Depends: python-wxgtk2.8, ${python:Depends}, ${misc:Depends} +Conflicts: wxpython2.6-0 +Replaces: wxpython2.6-0, libwxgtk2.4-python, wxpython2.4-1 +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). + . + This package provides support utilities and common files for wxPython2.8. + +Package: wx-common +Architecture: any +Section: devel +Depends: ${shlibs:Depends}, ${misc: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). + . + 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 +Depends: ${misc:Depends} +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). + . + This package provides the common header files required to build applications + using the wxWidgets toolkit. + +Package: wx2.8-i18n +Architecture: all +Depends: ${misc:Depends} +Conflicts: wx-i18n, wxwin-i18n, wx2.4-i18n +Replaces: wx-i18n, wxwin-i18n, wx2.4-i18n, wx2.5-i18n +Provides: wx-i18n +Section: localization +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). + . + This package provides the i18n message catalogs for wxWidgets. + +Package: wx2.8-doc +Architecture: all +Section: doc +Provides: wx-doc +Depends: ${misc:Depends} +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). + . + This package provides a HTML version of the wxWidgets reference manual. + +Package: wx2.8-examples +Architecture: all +Section: devel +Depends: ${misc:Depends} +Suggests: libwxgtk2.8-dev (= ${binary: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). + . + This package contains examples of using the wxWidgets toolkit in + C++ and with the wxPython language binding. + +Package: libwxmsw2.8-dev +Architecture: any +Section: otherosfs +Depends: wx2.8-headers-msw (= ${binary:Version}), ${misc:Depends} +Description: wxMSW mingw32msvc-cross + mingw32msvc-cross wxMSW libs. + +Package: libwxmsw2.8-dbg +Architecture: any +Section: otherosfs +Depends: wx2.8-headers-msw (= ${binary:Version}), ${misc:Depends} +Description: wxMSW mingw32msvc-cross (debug) + mingw32msvc-cross wxMSW libs. + __WXDEBUG__ version. + +Package: wx2.8-headers-msw +Architecture: any +Section: otherosfs +Depends: wx2.8-headers (= ${binary:Version}), ${misc:Depends} +Description: Extra wxWidgets headers for mingw32msvc-cross + Headers required by the wxWidgets mingw32msvc-cross libraries. + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxbase-dev.postinst +++ wxwidgets2.8-2.8.12.1/debian/libwxbase-dev.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/=MA/wx/config/base-unicode-release-=V \ + $(( =PRIO * 10 + 7 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxgtk-dbg.postinst +++ wxwidgets2.8-2.8.12.1/debian/libwxgtk-dbg.postinst @@ -0,0 +1,9 @@ +#! /bin/sh +set -e + +update-alternatives --install /usr/bin/wx-config wx-config \ + /usr/lib/=MA/wx/config/gtk2-unicode-debug-=V \ + $(( =PRIO * 10 + 6 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/libwxmsw-dbg.postinst +++ wxwidgets2.8-2.8.12.1/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-unicode-debug-=V \ + $(( =PRIO * 10 + 2 )) + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/README.examples +++ wxwidgets2.8-2.8.12.1/debian/README.examples @@ -0,0 +1,23 @@ + +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 repository), 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.12.1.orig/debian/wx-doc.doc-base +++ wxwidgets2.8-2.8.12.1/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: 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.12.1.orig/debian/changelog +++ wxwidgets2.8-2.8.12.1/debian/changelog @@ -0,0 +1,1357 @@ +wxwidgets2.8 (2.8.12.1-6ubuntu2) precise; urgency=low + + * debian/control: add b-d on libgstreamer-plugins-base0.10-dev and + libgconf2-dev to fully enable mediactrl and build libwx_gtk2u_media-2.8 + (LP: #928894) + + -- Fabrice Coutadeur Sun, 12 Feb 2012 15:51:26 +0100 + +wxwidgets2.8 (2.8.12.1-6ubuntu1) precise; urgency=low + + * Resync from Debian, changes that were kept: + - debian/rules: re-enable mediactrl. This allows libwx_gtk2u_media-2.8 to be + built, as this is required by some applications (LP: #632984) + - debian/control: Build-dep on libxt-dev for mediactrl. + - Patches + + fix-bashism-in-example + * Add conflict on python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) to python-wxversion + to guarantee upgrade ordering when moving from pycentral to dh_python2. + + -- Stéphane Graber Sat, 07 Jan 2012 13:59:25 +0100 + +wxwidgets2.8 (2.8.12.1-6) unstable; urgency=low + + * Install the files needed to wrap wx-using projects with SWIG. + (Closes: #627728) + * Fix files in wx2.8-examples which were executable for no good reason, which + fixes the remaining 9 lintian warnings. + + -- Olly Betts Wed, 21 Dec 2011 13:09:39 +0000 + +wxwidgets2.8 (2.8.12.1-5) unstable; urgency=low + + * Remove references to CVS and cvs.wxwidgets.org (which no longer works). + * Add DEP3 headers to more patches. + * Drop patch fix-config-scripts and instead copy them from /usr/share/misc + so we get up-to-date versions. + * debian/wx-config.1: Clarify text about debug builds. + * debian/control.in: Add missing ${misc:Depends} and ${misc:Pre-Depends}. + * debian/rules: Get rid of empty /usr/share/lintian/overrides directory + in python-wxtools. + + -- Olly Betts Wed, 07 Dec 2011 01:27:29 +0000 + +wxwidgets2.8 (2.8.12.1-4) unstable; urgency=low + + * Add support for multiarch same by applying patch from Gregory Hainaut. + (Closes: #645411) + * Tighten dependency from wxgtk2.8-dev to wx-common from "Suggests" to + "Depends" to ensure that the wx-config man page will be installed if + wx-config is. (Closes: #585986) + * debian/wxrc-tools.1: "2.6" -> "2.8"; "wxWindows -> wxWidgets". + * debian/wx-config.1: Fix typos. + + -- Olly Betts Tue, 06 Dec 2011 04:08:48 +0000 + +wxwidgets2.8 (2.8.12.1-3) unstable; urgency=low + + * Add new patch fix-wxcmdline-segv.patch to fix segfault with mriconvert and + wx2.8. (Closes: #646654) + * Add new patch wxpython2.8-eliminate-string-exceptions.patch to wrap all + the places I could find which try to throw a string exception so they + instead throw an Exception object. (Closes: #585339) + * Use find's -delete option to simplify places where we use find to delete + files or directories. Move a deleting find call just before a recursive + delete of a subdirectory tree to just after it to save find having to + pointlessly scan that subdirectory tree. + * Revise patch wxglcanvas-avoid-segv-when-glx-not-available in the light of + upstream comments. + + -- Olly Betts Fri, 11 Nov 2011 04:45:16 +0000 + +wxwidgets2.8 (2.8.12.1-2) unstable; urgency=low + + * Fix wxJoystick to send wxEVT_JOY_MOVE events. (Closes: #568702) + * wxPython/demo/b is completely useless to include in the package, so just + exclude it rather than carefully patching it to fix a bashism. + * Fix typos in debian/copyright. + * Upstream configure no longer has a --disable-reserved_virtual option, so + stop passing it. + * Remove python-xml and python-xml-dbg from "Suggests:" as these packages no + longer exist. (Closes: #645268) + * debian/rules: export WX_UNICODE so it gets passed to sub-invocations of + debian/rules, allowing ANSI packages to be built for binary-cross. + * Remove unused substitutions of =PY and =WXPYDIR. + * Compute soversion rather than hard-coding it. + * Simplify check for development release, in the process eliminating bc as a + build-dependency. + * Remove pyshell since it's been deprecated upstream for almost a decade, and + pycrust is also included and has equivalent functionality. Also, pyshell + is gone in upstream trunk anyway. + * Remove build dependencies on bison and flex as they're no longer used. + * Update package descriptions. + * Add patch wxglcanvas-avoid-segv-when-glx-not-available. (Closes: #575536) + * Also add ${misc:Depends} to binary packages which didn't already have + "Depends:". + * Prune any empty locale directories (fixes lintian warning about + usr/share/locale/zh/LC_MESSAGES/). + + -- Olly Betts Sat, 15 Oct 2011 11:46:51 +0000 + +wxwidgets2.8 (2.8.12.1-1) experimental; urgency=low + + * New upstream release (Closes: #586129, #623583) + + Avoid installing emission hook more than once which could lead to 100% + CPU when using a timer. (Closes: #583746) + + Fixes encoding problem with wxDirPickerCtrl::GetPath(). (Closes: #584330) + + Drop patches applied upstream: fix-FTBFS.patch, CVE-2009-2369.dpatch + + Removed hunks from patches/fix-path-to-some-interpreters which are no + longer relevant since those files no longer have '#!' lines upstream. + + Refresh patches. + * Removed unused lintian override "python-wxtools: + python-script-but-no-python-dep". + * Drop "Suggests:" alternative of xlibmesa-gl-dev, which became a dummy + package in etch. + * Migrate from dh_pycentral to dh_python2 (Closes: #617148) + * Support DEB_BUILD_OPTIONS=noopt (Closes: #571597) + * Support DEB_BUILD_OPTIONS=parallel=n + * Add description for patch fix-build-with-python2.6.patch (just taken from + Ryan's commit message). + * Create debian/source/format to squash lintian warning. + * Remove bundled copy of expat (which we don't use) when we repack the + upstream sources to fix lintian warning about an ancient copy of libtool in + there. This also will ensure that we don't accidentally start to use the + embedded copy in the future. By similar logic, remove the embedded copies + of other libraries we don't want to use. + * Remove versioned conflict on python-wxgtk2.8 << a version which was never + in Debian. Adjust versioned conflict of python-wxgtk2.6 to what Ron says + is the correct version for Debian. + * Update debhelper compatibility level from 5 to 7, and use dh_prep instead + of dh_clean -k. + * Add ${misc:Depends}. + * Fix another spelling mistake in the same line as the two which + fix-wxversion-help-spelling already fixes! + * Fix to build with WX_UNICODE overridden to 0 (not used for Debian, but + there for those who want to build their own non-Unicode flavoured packages. + (Closes: #602436) + + -- Olly Betts Wed, 12 Oct 2011 05:08:12 +0000 + +wxwidgets2.8 (2.8.11.0-0ubuntu11) precise; urgency=low + + * Build-depend on libjpeg-dev rather than libjpeg62-dev. + + -- Colin Watson Mon, 21 Nov 2011 16:32:12 +0000 + +wxwidgets2.8 (2.8.11.0-0ubuntu10) oneiric; urgency=low + + * debian/patches/multiarch_paths.patch: look in the multiarch path + when detecting libraries. Closes LP: #828999. + + -- Steve Langasek Fri, 19 Aug 2011 08:45:53 +0000 + +wxwidgets2.8 (2.8.11.0-0ubuntu9) oneiric; urgency=low + + * debian/rules: reenable mediactrl. This allows libwx_gtk2u_media-2.8 to be + built, as this is required by some applications (LP: #632984) + + -- Fabrice Coutadeur Thu, 05 May 2011 04:28:06 +0000 + +wxwidgets2.8 (2.8.11.0-0ubuntu8) natty; urgency=low + + * debian/patches/appmenu2.patch: Fix high CPU usage with + appmenu-gtk, which was caused by appmenu.path (LP: #722375) + + -- David Henningsson Wed, 06 Apr 2011 15:30:16 +0200 + +wxwidgets2.8 (2.8.11.0-0ubuntu7) natty; urgency=low + + * Apply appmenu.patch to get menus back (LP: #662077). + + -- Benjamin Drung Sat, 19 Feb 2011 20:17:05 +0100 + +wxwidgets2.8 (2.8.11.0-0ubuntu6) natty; urgency=low + + * Fix build failure introduced by LP: #620280. + + -- Matthias Klose Sun, 05 Dec 2010 14:01:35 +0100 + +wxwidgets2.8 (2.8.11.0-0ubuntu5) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:16:22 +0000 + +wxwidgets2.8 (2.8.11.0-0ubuntu4) maverick; urgency=low + + * python-wxversion: install wxversion.py in the right path (LP: #620280). + * Bump Standards-Version to 3.9.1. + + -- Devid Antonio Filoni Thu, 26 Aug 2010 08:46:02 +0200 + +wxwidgets2.8 (2.8.11.0-0ubuntu3) maverick; urgency=low + + * debian/rules: revert a change introduced in 2.8.11.0-0ubuntu2 which broke + python-wxgtk2.8 postinst. + + -- Devid Antonio Filoni Thu, 22 Jul 2010 03:27:35 +0200 + +wxwidgets2.8 (2.8.11.0-0ubuntu2) maverick; urgency=low + + * Merge *some* changes from Debian package (version 2.8.10.1-3). This should + make merges easier. Also fixes LP: #559822. Also merged several patches. + * Remove debian/patches/editra_pixmaps.dpatch patch, we don't ship editra + anymore. + * Remove files which broke update-alternatives (LP: #379573). + * Switch to format 3.0 (quilt). + + -- Devid Antonio Filoni Tue, 20 Jul 2010 01:55:41 +0200 + +wxwidgets2.8 (2.8.11.0-0ubuntu1) maverick; urgency=low + + * New upstream release (LP: #568985). + * Fix missing-debian-source-format info. + * Fix patch-system-but-no-source-readme lintian warning. + * Fix debhelper-but-no-misc-depends lintian warnings. + * Remove octave_oct, tcl_tk_tcl, CVE-2009-2369 and svn61009_fix_ftbfs + patches, not needed anymore. + * Bump Standards-Version to 3.9.0. + + -- Devid Antonio Filoni Thu, 15 Jul 2010 18:23:34 +0200 + +wxwidgets2.8 (2.8.10.1+dfsg-4) unstable; urgency=low + + [ Ryan Niebur ] + * add contrib/samples to the wx2.8-examples package (Closes: #392591) + + [ Olly Betts ] + * Add myself to Uploaders. + * Simplify to just always use --with-opengl. + * msw-cross packages now build for all archs (not just i386), have OpenGL + enabled, build with the specified Unicode setting, and default to + --disable-threads to avoid mingwm10.dll being required. + * Standards-Version: 3.9.2 (no changes required). + * Update libjpeg62-dev build dependency to libjpeg-dev. (Closes: #636281) + * Remove all DLLs when repacking the tarball. (Closes: #625272) + * debian/watch: Restrict to only consider wx 2.8 releases. + * Add patch fix-configure-for-multiarch which fixes FTBFS since multiarch + was introduced. (Closes: #636280) + * Add patch fix-macro-namespace-pollution.patch to rename ATTRIBUTE_PRINTF + macros in public headers to WX_ATTRIBUTE_PRINTF. (Closes: #521924) + * debian/wx-config.1: Remove invalid '.l' macro - leaves formatted output + unchanged and fixes lintian warning. + * debian/rules: Rename build_arch target to build-arch and add build-indep + target. + * Strip executable bits from files in examples since upstream source has + them randomly set for some files, and none should be executable. + + -- Olly Betts Mon, 10 Oct 2011 14:08:31 +0000 + +wxwidgets2.8 (2.8.10.1-3) unstable; urgency=low + + * rebuild against python2.6 + * add mention of wx-config to libwxgtk2.8-dev's long description + (Closes: #498737) + + -- Ryan Niebur Wed, 27 Jan 2010 00:22:29 -0800 + +wxwidgets2.8 (2.8.10.1-2) unstable; urgency=low + + * set wx2.8-i18n Section to localization + * python-wxversion doesn't have to depend on 'python-wxgtk2.6 | + python-wxgtk2.8' (Closes: #479738) + * fix to install correctly under Python 2.6 (see bug #557943) + * make wxwidgets 2.8 the default + * Fix spelling errors in wxversion help (Closes: #518540) + * add patch, fix-build-with-python2.6, to make things get installed to + the correct places with the multiversion stuff + * add libexpat1-dev to build deps and pass --with-expat=sys to + configure (Closes: #560917) + + -- Ryan Niebur Sat, 12 Dec 2009 23:39:04 -0800 + +wxwidgets2.8 (2.8.10.1-1) unstable; urgency=low + + * Add myself to Uploaders (Closes: #539170) + * add a watch file + * New Upstream Version (Closes: #512939) + - fixes underscores instead of underline letters in context menu + in pgadmin3 (Closes: #491006) + - fixes Gtk-WARNINGs (Closes: #494424) + * remove the python-wxaddons package, wxaddons is removed upstream + * set maintainer to Wx Maintainers + * switch to quilt + * -dbg packages => Section: debug + * add Homepage fields + * remove reference to homepage in long descriptions + * depend on libgl1-mesa-dev instead of the transitional xlibmesa-gl- + dev + * s/Source-Version/binary:Version/ + * Debian Policy 3.8.3 + * add README.source + * fix lintian override handling + * remove bashism in d/rules (Closes: #535424) + * fix the doc-base file (Closes: #476254) + * fix bashism in useless example... (Closes: #489671) + * fix configure for on hurd (Closes: #512117) + * use the config.{sub,guess} from autotools-dev during build + * add shlibs:Depends to libwxgtk2.8-dbg (Closes: #553243) + * build without --enable-mediactrl (Closes: #493090) + * make python-wxgtk2.8 conflict with python-wxaddons to make sure it + disappears + * don't compress .py files + * add versioned build dependencies on binutils..either the version in + or before stable, or the version that fixed the bug + * no more get-orig-source (Closes: #545080) + * backport r61009 to fix FTBFS (Closes: #549770) + * remove Editra, it has its own package now + * fix some lintian warnings, mostly borrowed from Ubuntu + + -- Ryan Niebur Tue, 01 Dec 2009 22:45:38 -0800 + +wxwidgets2.8 (2.8.10.1-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #387424). + * Update debian/patches/tcl_tk.tcl.dpatch patch. + * Update debian/patches/editra_pixmaps.dpatch patch. + * Remove debian/patches/colours.dpatch patch, merged upstream. + * Remove useless debian/patches/WX_CONFIG.dpatch file. + * debian/control.in: modify *-dbg Section field to debug. + * debian/control.in: unfold the Build-Depends, Suggests, Replaces and + Depends fields. + * Override ancient-libtool and outdated-autotools-helper-file lintian + warnings and ancient-autotools-helper-file lintian errors. + * Fix debian-watch-file-should-use-sf-redirector lintian warning. + * Fix binary-control-field-duplicates-source lintian infos. + * Fix duplicate-short-description lintian info. + * Move debian/*.desktop files to debian/desktop_files directory. + * Move debian/*.1 files to debian/manpages directory. + * Remove useless debian/README.HowToBuild.txt file. + * Remove debian/build_all file, it isn't used. + * Add debian/patches/CVE-2009-2369.dpatch patch taken from Debian unstable, + fix an integer overflow in the wxImage::Create function (CVE-2009-2369). + * Add debian/patches/svn61009_fix_ftbfs.dpatch patch taken from upstream + SVN rev 61009, fix FTBFS caused by new versions of glib. + * debian/rules: fix FTBFS caused by some changes introduced in + 2.8.9.1-0ubuntu5. + * Add debian/patches/{wxversion_path, wx_pth_dbg}.dpatch patches with + changes introduced directly to source in 2.8.9.1-0ubuntu5. + PLEASE REMEMBER, THERE IS NOTHING WRONG WITH USING DPATCH! + * Do not provide python-wxaddons package, upstream doesn't ship wxaddons + anymore. + * debian/control.in: add Homepage field. + * Fix description-possibly-contains-homepage lintian infos. + * Bump Standards-Version to 3.8.2. + + -- Devid Antonio Filoni Tue, 11 Aug 2009 14:33:24 +0200 + +wxwidgets2.8 (2.8.9.1-0ubuntu6) jaunty; urgency=low + + * Don't call dh_pycentral twice for each package (introduced in + 2.8.9.1-0ubuntu1). LP: #355455. + * Call dh_pycentral for python-wxversion. + * python-wxversion replaces earlier python-wxgtk2.8. LP: #355424. + + -- Matthias Klose Sun, 05 Apr 2009 14:23:51 +0200 + +wxwidgets2.8 (2.8.9.1-0ubuntu5) jaunty; urgency=low + + [Isaac Gordezky] + * Fix duplicate directories in python2.6. LP: #337696. + * Fix handling of python .egg-info files using links + * Allow side-by-side install for python-wx2.6 + + [Matthias Klose] + * Fix wxaddons packaging. + * Call dh_pycentral with `include-links' instead of 'nomove'. + * debian/rules (clean): Remove uudecoded png icons. + + -- Matthias Klose Sat, 04 Apr 2009 22:24:59 +0200 + +wxwidgets2.8 (2.8.9.1-0ubuntu4) jaunty; urgency=low + + * Fix a typo in the python-wxgtk2.8 postinst. LP: #333782. + + -- Matthias Klose Wed, 25 Feb 2009 02:03:08 +0000 + +wxwidgets2.8 (2.8.9.1-0ubuntu3) jaunty; urgency=low + + * Fix installation of python-wxgtk2.8, hard coding the name of the + site directory. LP: #333149. + + -- Matthias Klose Mon, 23 Feb 2009 23:25:54 +0000 + +wxwidgets2.8 (2.8.9.1-0ubuntu2) jaunty; urgency=low + + * Build for python2.6. + * Don't hardcode the name of the site directory. + + -- Matthias Klose Mon, 23 Feb 2009 11:05:20 +0000 + +wxwidgets2.8 (2.8.9.1-0ubuntu1) jaunty; urgency=low + + * New upstream release, tarball generated by get-orig-source rule. + * Add debian/patches/fix_b_bashism.dpatch patch to fix a bashism. + * Add debian/patches/colours.dpatch from Tim Kosse to fix colours issues + when a dark theme is used (LP: #284755). + * Remove debian/patches/fix_from_upstream_svn_r52465.dpatch patch, we can + download it from the upstream svn. + * debian/rules: include some changes from Debian debian/rules. + * Move all icons from debian to debian/icons dir. + * Fix dpatch-missing-description lintian warnings. + + -- Devid Antonio Filoni Wed, 05 Nov 2008 17:43:07 +0100 + +wxwidgets2.8 (2.8.8.0-0ubuntu2) intrepid; urgency=low + + * debian/python-wxgtk.postinst, + debian/python-wxgtk.prerm, + debian/rules: + - Switch back to update-alternatives for python-wxgtk2.8, so that + python-wxgtk2.6 can work when python-wxgtk2.8 isn't installed + (see #274619). Re-fixes lp: #211553. + + -- Emilio Pozuelo Monfort Mon, 13 Oct 2008 14:35:07 +0200 + +wxwidgets2.8 (2.8.8.0-0ubuntu1) intrepid; urgency=low + + * New upstream version, based on the upstream tarball + wxPython-src-2.8.8.0.tar.bz2, remove upstream debian dir (LP: #244355). + * Add debian/watch file, LP: #242164. + * Edit get-orig-source target to provide a .orig.tar.gz with the same md5 for + each .orig.tar.gz generated. + * debian/rules: remove get-orig-source from .PHONY target. + * debian/control.in: add python-wxtools in python-wxgtk=V=U Suggests field. + * Do not apply fix_from_upstream_svn_r52465 patch, not needed. + * Regenerate octave_oct, tcl_tk_tcl patches for the new version. + * Fix spelling-error-in-description lintian warning. + * Fix depends-on-obsolete-package lintian error. + * Fix executable-not-elf-or-script lintian warnings. + * Fix script-not-executable lintian warnings. + * Fix missing-dependency-on-libc lintian error. + * Fix dbg-package-missing-depends lintian warnings. + * Fix package-contains-empty-directory lintian warnings. + * Fix manpage-has-errors-from-man lintian warning. + * Fix image-file-in-usr-lib lintian warnings: + - add editra_pixmaps patch + - add xrced_bitmaps patch + * Fix unused-override lintian info. + * Fix malformed-override lintian errors. + * Fix extra-license-file lintian warnings. + * Install upstream wx.pth instead of generated file links (LP: #211553). + * Add editra.png, pyshell.png (encoded using uuencode) icons, LP: #236876: + - debian/rules: use uudecode to decode .png icons. + * Add a new pyshell.xpm icon. + * Fix doc-base-file-references-missing-file lintian error. + * Fix doc-base-unknown-section lintian warning. + * Fix ruby-script-but-no-ruby-dep lintian errors. + * Fix wish-script-but-no-wish-dep lintian errors. + * Fix missing-dep-for-interpreter errors. + * Bump Standards-Version to 3.8.0. + + -- Devid Filoni Mon, 30 Jun 2008 22:02:17 +0200 + +wxwidgets2.8 (2.8.7.1-2) unstable; urgency=high + + * Package orphaned, change Maintainer to Debian QA Group. + * debian/patches/CVE-2009-2369.dpatch: Fixed Integer overflow in the + wxImage::Create function (CVE-2009-2369) (Closes: #537174) + + -- Giuseppe Iuculano Wed, 29 Jul 2009 21:03:42 +0200 + +wxwidgets2.8 (2.8.7.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Applying patch by Matt Kraai to fix FTBFS when using sbuild (Closes: #489077) + + -- Alexander Reichle-Schmehl Sun, 07 Sep 2008 15:09:07 +0200 + +wxwidgets2.8 (2.8.7.1-1) unstable; urgency=low + + * Upload to unstable. + * Set myself as the maintainer. + * Add Vcs-{Git,Browser} fields. + * Do not take over wxwidgets2.6 packages wx-common, python-wxversion, + python-wxtools, and python-wxaddons. Because of this, lower + python-wxgtk2.8's dependency on python-wxversion to 2.6 instead of 2.8. + * Also lower the alternative priority from 28 to 25, so that 2.6 is the + default for Lenny. + + -- Adeodato Simó Sun, 29 Jun 2008 18:19:48 +0200 + +wxwidgets2.8 (2.8.7.1-0.1) experimental; urgency=low + + * Upload to experimental. + * New upstream version, based on the upstream tarball + wxPython-src-2.8.7.1.tar.bz2, renamed debian to debian-upstream. + * Merge changes from the "upstream" 2.8.7.1-0 package (without any + changes to debian/changelog, which includes upstream changes). + + -- Matthias Klose Sun, 10 Feb 2008 21:53:25 +0000 + +wxwidgets2.8 (2.8.7.1-0ubuntu3) hardy; urgency=low + + * debian/rules: + - Moved python-wxgtk2.8's dh_pycentral call so that it's done after files + are moved into the python-wxaddons package (LP: #203526) + - Added missing dh_pycentral call for python-wxaddons + * Thanks to Matthias Klose for his help on this issue + + -- Adrien Cunin Wed, 19 Mar 2008 17:27:48 +0100 + +wxwidgets2.8 (2.8.7.1-0ubuntu2) hardy; urgency=low + + [ Morten Kjeldgaard ] + + * debian/control.in: removed references to the deprecated and redundant package + python-xml (LP: #199014). + + [ Adrien Cunin ] + + * debian/control.in: versioned build-dep python-all-{dev,dbg} (>= 2.4) + * debian/rules: added debian/control target to .PHONY so that debian/control + is always re-generated from debian/control.in + * Added debian/patches/fix_from_upstream_svn_r52465.dpatch from upstream SVN + rev. 52465: + "fix for idle processing stopping without processing all pending events". + Fixes filezilla issue. LP: #193340. + + -- Adrien Cunin Mon, 17 Mar 2008 23:13:42 +0100 + +wxwidgets2.8 (2.8.7.1-0ubuntu1) hardy; urgency=low + + * New upstream version, based on the upstream tarball + wxPython-src-2.8.7.1.tar.bz2, renamed debian to debian-upstream. + * Add debian/editra.desktop file. + * Add editra to debian/python-wxtools.menu file. + * Provide a new debian/xrced.xpm icon derived from upstream .png icon. + * Provide debian/editra.xpm icon. + * Fix "wrong-path-for-interpreter" lintian errors. + * Fix "binary-without-manpage" lintian warning. + * Fix "debian-control-with-duplicate-fields" lintian error. + * Fic "substvar-source-version-is-deprecated" lintian warnings. + * Add "octave_oct" patch. + * Add "tcl_tk_tcl" patch. + * debian/rules: + - added editra.xpm icon to install-gtk-py-tools target + - added debian/editra.desktop file to install-gtk-py-tools target + - added wxPython/wx/tools/Editra/pixmaps/editra.png icon to + install-gtk-py-tools target + - added Editra man with dh_link tag in install-gtk-py-tools + target + + -- Devid Filoni Wed, 13 Feb 2008 19:55:42 +0100 + +wxwidgets2.8 (2.8.6.1-0ubuntu3) hardy; urgency=low + + * debian/control.in: Add dpatch to the build dependencies. + + -- Matthias Klose Tue, 05 Feb 2008 17:05:30 +0000 + +wxwidgets2.8 (2.8.6.1-0ubuntu2) hardy; urgency=low + + * Build for all supported python versions. + * Move the wx.pth symlink handled by update-alternatives into + the python-wxversion package; adjust dependencies accordingly. + * Do not apply "WX_CONFIG" patch (generated file). + + -- Matthias Klose Mon, 04 Feb 2008 21:44:25 +0000 + +wxwidgets2.8 (2.8.6.1-0ubuntu1) hardy; urgency=low + + * New upstream version, based on the upstream tarball + wxPython-src-2.8.6.1.tar.bz2, renamed debian to debian-upstream. + * Provide a get-orig-source target to do the repackaging. + * Fix "substvar-source-version-is-deprecated" lintian warnings. + * Remove duplicate Description field in debian/control. + * Add "\" at the end of line 8 in debian/python-wxtools.menu to fix + "bad-test-in-menu-item" lintian error. + * Provide .xpm icons to fix "menu-icon-not-in-xpm-format" lintian errors, + changed Icon field in debian/python-wxtools.menu. + * Fix "wrong-name-for-upstream-changelog" lintian warnings. + * Remove "Application;" from Categories field in debian/pycrust.desktop, + debian/pyshell.desktop, debian/xrced.desktop. + * Switch "Apps" to "Applications" in debian/python-wxtools.menu to fix + "menu-item-uses-apps-section" lintian warnings. + * Drop the icon extension from debian/pycrust.desktop, + debian/pyshell.desktop, debian/xrced.desktop. + * Add dpatch support. + * Add "WX_CONFIG" patch. + * debian/rules: + - added .xpm icons to install-gtk-py-tools target + - added "docs/changes.txt" to dh_installchangelogs in binary-common target + - added "\" at the end of "install-examples install-msw-dev + install-msw-dbg install-headers-msw" line in .PHONY + + -- Devid Filoni Tue, 06 Nov 2007 18:25:13 +0100 + +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.12.1.orig/debian/libwxbase-dev.prerm +++ wxwidgets2.8-2.8.12.1/debian/libwxbase-dev.prerm @@ -0,0 +1,7 @@ +#! /bin/sh +set -e + +update-alternatives --remove wx-config /usr/lib/=MA/wx/config/base-unicode-release-=V + +#DEBHELPER# + --- wxwidgets2.8-2.8.12.1.orig/debian/build_all +++ wxwidgets2.8-2.8.12.1/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.12.1.orig/debian/patches/wxjoystick-send-move-events +++ wxwidgets2.8-2.8.12.1/debian/patches/wxjoystick-send-move-events @@ -0,0 +1,28 @@ +Description: Send move events for wxJoyStick on Unix + This has been fixed upstream in the 2.9 series, but not in 2.8.12. +Author: Jean GUARDIA +Bug-Debian: http://bugs.debian.org/568702 +Forwarded: http://trac.wxwidgets.org/ticket/2049 +Last-Update: 2011-10-14 +Applied-Upstream: 2.9.x + +diff --git a/src/unix/joystick.cpp b/src/unix/joystick.cpp +index 411f96a..1deacbc 100644 +--- a/src/unix/joystick.cpp ++++ b/src/unix/joystick.cpp +@@ -141,6 +141,15 @@ void* wxJoystickThread::Entry() + // is for some other axes. + break; + } ++ ++ jwx_event.SetPosition(m_lastposition); ++ jwx_event.SetTimestamp(j_evt.time); ++ jwx_event.SetJoystick(m_joystick); ++ jwx_event.SetZPosition(m_axe[3]); ++ jwx_event.SetEventObject(m_catchwin); ++ ++ if (m_catchwin) ++ m_catchwin->AddPendingEvent(jwx_event); + } + + if (j_evt.type & JS_EVENT_BUTTON) --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-configure-for-multiarch +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-configure-for-multiarch @@ -0,0 +1,16 @@ +Crude debian-specific fix by just patching generated configure script. + +There's a patch for this issue in upstream's trac but it's against 2.9.x and +doesn't apply to 2.8.x. + +--- a/configure ++++ b/configure +@@ -25060,6 +25060,8 @@ echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5 + echo "${ECHO_T}$wx_cv_std_libpath" >&6 + + SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath" ++debian_multiarch_triplet=`dpkg-architecture -qDEB_HOST_MULTIARCH` ++SEARCH_LIB="/lib/$debian_multiarch_triplet /usr/lib/$debian_multiarch_triplet $SEARCH_LIB" + + if test "$build" != "$host" -a "$GCC" = yes; then + if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-configure-on-hurd +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-configure-on-hurd @@ -0,0 +1,42 @@ +fix build on hurd + +--- a/build/aclocal/bakefile.m4 ++++ b/build/aclocal/bakefile.m4 +@@ -443,7 +443,7 @@ + ;; + + powerpc-apple-macos* | \ +- *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ ++ *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \ + *-*-mirbsd* | \ + *-*-sunos4* | \ + *-*-osf* | \ +@@ -495,7 +495,7 @@ + + case "${BAKEFILE_HOST}" in + *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ +- *-*-k*bsd*-gnu | *-*-mirbsd* ) ++ *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* ) + if test "x$SUNCXX" = "xyes"; then + SONAME_FLAG="-h " + else +--- a/configure ++++ b/configure +@@ -49214,7 +49214,7 @@ + ;; + + powerpc-apple-macos* | \ +- *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \ ++ *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \ + *-*-mirbsd* | \ + *-*-sunos4* | \ + *-*-osf* | \ +@@ -49258,7 +49258,7 @@ + + case "${BAKEFILE_HOST}" in + *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \ +- *-*-k*bsd*-gnu | *-*-mirbsd* ) ++ *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* ) + if test "x$SUNCXX" = "xyes"; then + SONAME_FLAG="-h " + else --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-bashism-in-example +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-bashism-in-example @@ -0,0 +1,10 @@ +this patch really has no purpose. + +--- a/wxPython/demo/b ++++ b/wxPython/demo/b +@@ -1,4 +1,4 @@ + #!/bin/sh + cd .. +-. b $* ++./b $* + cd - --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-build-with-python2.6.patch +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-build-with-python2.6.patch @@ -0,0 +1,26 @@ +Description: Install things in the correct places with the multiversion stuff +Author: Ryan Niebur +Last-Update: 2009-12-12 + +diff --git a/wxPython/setup.py b/wxPython/setup.py +index d987c5d..ac1edde 100755 +--- a/wxPython/setup.py ++++ b/wxPython/setup.py +@@ -1052,7 +1052,7 @@ if __name__ == "__main__": + + **other_kw + ) +- ++ BUILD_OPTIONS['build_base'] = BUILD_BASE + "-common" + if not EGGing: + if INSTALL_MULTIVERSION: + setup(name = 'wxPython-common', +@@ -1067,7 +1067,7 @@ if __name__ == "__main__": + platforms = PLATFORMS, + classifiers = filter(None, CLASSIFIERS.split("\n")), + keywords = KEYWORDS, +- ++ packages = [''], + package_dir = { '': 'wxversion' }, + py_modules = ['wxversion'], + --- wxwidgets2.8-2.8.12.1.orig/debian/patches/WX_CONFIG.dpatch +++ wxwidgets2.8-2.8.12.1/debian/patches/WX_CONFIG.dpatch @@ -0,0 +1,16 @@ +Description: Patch build_options.py +Author: Devid Filoni +Last-Update: 2007-12-09 + +diff -urNad wxwidgets2.8-2.8.6.1~/wxPython/wx/build/build_options.py wxwidgets2.8-2.8.6.1/wxPython/wx/build/build_options.py +--- wxwidgets2.8-2.8.6.1~/wxPython/wx/build/build_options.py 2007-10-27 01:41:07.000000000 +0200 ++++ wxwidgets2.8-2.8.6.1/wxPython/wx/build/build_options.py 2007-12-09 18:19:56.000000000 +0100 +@@ -5,7 +5,7 @@ + FLAVOUR="" + 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 --toolkit=gtk2 --unicode=yes --version=2.8 2>/dev/null " + WXPORT="gtk2" + MONOLITHIC=0 + FINAL=0 --- wxwidgets2.8-2.8.12.1.orig/debian/patches/wxglcanvas-avoid-segv-when-glx-not-available +++ wxwidgets2.8-2.8.12.1/debian/patches/wxglcanvas-avoid-segv-when-glx-not-available @@ -0,0 +1,29 @@ +Description: Fix SEGV when GLX not available. + Revised in the light of vadz's comment: + http://trac.wxwidgets.org/ticket/13566#comment:1 +Bug-Debian: http://bugs.debian.org/575536 +Forwarded: http://trac.wxwidgets.org/ticket/13566 +Last-Update: 2011-10-18 + +diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp +index 24ab43f..d30935c 100644 +--- a/src/gtk/glcanvas.cpp ++++ b/src/gtk/glcanvas.cpp +@@ -327,6 +327,8 @@ bool wxGLCanvas::Create( wxWindow *parent, + m_canFreeFBC = true; + } + m_fbc = fbc; // save for later use ++ if (!m_fbc) ++ wxWindow::Create(parent, id, pos, size, style, name); + wxCHECK_MSG( m_fbc, false, _T("required FBConfig couldn't be found") ); + } + +@@ -350,6 +352,8 @@ bool wxGLCanvas::Create( wxWindow *parent, + + m_vi = vi; // save for later use + ++ if (!m_vi) ++ wxWindow::Create(parent, id, pos, size, style, name); + wxCHECK_MSG( m_vi, false, _T("required visual couldn't be found") ); + + // watch for the "parent-set" signal on m_wxwindow so we can set colormap --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-macro-namespace-pollution.patch +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-macro-namespace-pollution.patch @@ -0,0 +1,198 @@ +Patch by Ryan Niebur from #521924. + +index 00c73d5..550254f 100644 +--- a/include/wx/defs.h ++++ b/include/wx/defs.h +@@ -494,19 +494,19 @@ typedef int wxWindowID; + /* ---------------------------------------------------------------------------- */ + + /* Printf-like attribute definitions to obtain warnings with GNU C/C++ */ +-#ifndef ATTRIBUTE_PRINTF ++#ifndef WX_ATTRIBUTE_PRINTF + # if defined(__GNUC__) && !wxUSE_UNICODE +-# define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ++# define WX_ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) + # else +-# define ATTRIBUTE_PRINTF(m, n) ++# define WX_ATTRIBUTE_PRINTF(m, n) + # endif + +-# define ATTRIBUTE_PRINTF_1 ATTRIBUTE_PRINTF(1, 2) +-# define ATTRIBUTE_PRINTF_2 ATTRIBUTE_PRINTF(2, 3) +-# define ATTRIBUTE_PRINTF_3 ATTRIBUTE_PRINTF(3, 4) +-# define ATTRIBUTE_PRINTF_4 ATTRIBUTE_PRINTF(4, 5) +-# define ATTRIBUTE_PRINTF_5 ATTRIBUTE_PRINTF(5, 6) +-#endif /* !defined(ATTRIBUTE_PRINTF) */ ++# define WX_ATTRIBUTE_PRINTF_1 WX_ATTRIBUTE_PRINTF(1, 2) ++# define WX_ATTRIBUTE_PRINTF_2 WX_ATTRIBUTE_PRINTF(2, 3) ++# define WX_ATTRIBUTE_PRINTF_3 WX_ATTRIBUTE_PRINTF(3, 4) ++# define WX_ATTRIBUTE_PRINTF_4 WX_ATTRIBUTE_PRINTF(4, 5) ++# define WX_ATTRIBUTE_PRINTF_5 WX_ATTRIBUTE_PRINTF(5, 6) ++#endif /* !defined(WX_ATTRIBUTE_PRINTF) */ + + /* Macro to issue warning when using deprecated functions with gcc3 or MSVC7: */ + #if wxCHECK_GCC_VERSION(3, 1) +diff --git a/include/wx/log.h b/include/wx/log.h +index 288e8e5..0fdb128 100644 +--- a/include/wx/log.h ++++ b/include/wx/log.h +@@ -492,14 +492,14 @@ WXDLLIMPEXP_BASE const wxChar* wxSysErrorMsg(unsigned long nErrCode = 0); + extern void WXDLLIMPEXP_BASE wxVLog##level(const wxChar *szFormat, \ + va_list argptr); \ + extern void WXDLLIMPEXP_BASE wxLog##level(const wxChar *szFormat, \ +- ...) ATTRIBUTE_PRINTF_1 ++ ...) WX_ATTRIBUTE_PRINTF_1 + #define DECLARE_LOG_FUNCTION2_EXP(level, argclass, arg, expdecl) \ + extern void expdecl wxVLog##level(argclass arg, \ + const wxChar *szFormat, \ + va_list argptr); \ + extern void expdecl wxLog##level(argclass arg, \ + const wxChar *szFormat, \ +- ...) ATTRIBUTE_PRINTF_2 ++ ...) WX_ATTRIBUTE_PRINTF_2 + #else // !wxUSE_LOG + + // log functions do nothing at all +diff --git a/include/wx/memory.h b/include/wx/memory.h +index adb8ed2..4c66cf9 100644 +--- a/include/wx/memory.h ++++ b/include/wx/memory.h +@@ -344,8 +344,8 @@ static wxDebugContextDumpDelayCounter wxDebugContextDumpDelayCounter_File; + static wxDebugContextDumpDelayCounter wxDebugContextDumpDelayCounter_Extra; + + // Output a debug message, in a system dependent fashion. +-void WXDLLIMPEXP_BASE wxTrace(const wxChar *fmt ...) ATTRIBUTE_PRINTF_1; +-void WXDLLIMPEXP_BASE wxTraceLevel(int level, const wxChar *fmt ...) ATTRIBUTE_PRINTF_2; ++void WXDLLIMPEXP_BASE wxTrace(const wxChar *fmt ...) WX_ATTRIBUTE_PRINTF_1; ++void WXDLLIMPEXP_BASE wxTraceLevel(int level, const wxChar *fmt ...) WX_ATTRIBUTE_PRINTF_2; + + #define WXTRACE wxTrace + #define WXTRACELEVEL wxTraceLevel +diff --git a/include/wx/msgout.h b/include/wx/msgout.h +index 6130849..942448f 100755 +--- a/include/wx/msgout.h ++++ b/include/wx/msgout.h +@@ -30,7 +30,7 @@ public: + virtual ~wxMessageOutput() { } + + // show a message to the user +- virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2 = 0; ++ virtual void Printf(const wxChar* format, ...) WX_ATTRIBUTE_PRINTF_2 = 0; + + // gets the current wxMessageOutput object (may be NULL during + // initialization or shutdown) +@@ -54,7 +54,7 @@ class WXDLLIMPEXP_BASE wxMessageOutputBest : public wxMessageOutput + public: + wxMessageOutputBest() { } + +- virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2; ++ virtual void Printf(const wxChar* format, ...) WX_ATTRIBUTE_PRINTF_2; + }; + + // ---------------------------------------------------------------------------- +@@ -66,7 +66,7 @@ class WXDLLIMPEXP_BASE wxMessageOutputStderr : public wxMessageOutput + public: + wxMessageOutputStderr() { } + +- virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2; ++ virtual void Printf(const wxChar* format, ...) WX_ATTRIBUTE_PRINTF_2; + }; + + // ---------------------------------------------------------------------------- +@@ -80,7 +80,7 @@ class WXDLLIMPEXP_CORE wxMessageOutputMessageBox : public wxMessageOutput + public: + wxMessageOutputMessageBox() { } + +- virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2; ++ virtual void Printf(const wxChar* format, ...) WX_ATTRIBUTE_PRINTF_2; + }; + + #endif // wxUSE_GUI +@@ -94,7 +94,7 @@ class WXDLLIMPEXP_BASE wxMessageOutputDebug : public wxMessageOutput + public: + wxMessageOutputDebug() { } + +- virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2; ++ virtual void Printf(const wxChar* format, ...) WX_ATTRIBUTE_PRINTF_2; + }; + + // ---------------------------------------------------------------------------- +@@ -106,7 +106,7 @@ class WXDLLIMPEXP_BASE wxMessageOutputLog : public wxMessageOutput + public: + wxMessageOutputLog() { } + +- virtual void Printf(const wxChar* format, ...) ATTRIBUTE_PRINTF_2; ++ virtual void Printf(const wxChar* format, ...) WX_ATTRIBUTE_PRINTF_2; + }; + + #endif +diff --git a/include/wx/string.h b/include/wx/string.h +index 7a57f24..c06eb82 100644 +--- a/include/wx/string.h ++++ b/include/wx/string.h +@@ -1200,12 +1200,12 @@ public: + // formatted input/output + // as sprintf(), returns the number of characters written or < 0 on error + // (take 'this' into account in attribute parameter count) +- int Printf(const wxChar *pszFormat, ...) ATTRIBUTE_PRINTF_2; ++ int Printf(const wxChar *pszFormat, ...) WX_ATTRIBUTE_PRINTF_2; + // as vprintf(), returns the number of characters written or < 0 on error + int PrintfV(const wxChar* pszFormat, va_list argptr); + + // returns the string containing the result of Printf() to it +- static wxString Format(const wxChar *pszFormat, ...) ATTRIBUTE_PRINTF_1; ++ static wxString Format(const wxChar *pszFormat, ...) WX_ATTRIBUTE_PRINTF_1; + // the same as above, but takes a va_list + static wxString FormatV(const wxChar *pszFormat, va_list argptr); + +@@ -1237,7 +1237,7 @@ public: + + // use Printf() + // (take 'this' into account in attribute parameter count) +- int sprintf(const wxChar *pszFormat, ...) ATTRIBUTE_PRINTF_2; ++ int sprintf(const wxChar *pszFormat, ...) WX_ATTRIBUTE_PRINTF_2; + + // use Cmp() + inline int CompareTo(const wxChar* psz, caseCompare cmp = exact) const +diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h +index bbdcab1..b33db89 100644 +--- a/include/wx/wxchar.h ++++ b/include/wx/wxchar.h +@@ -1017,7 +1017,7 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */ + #ifndef wxSnprintf_ + /* no snprintf(), cook our own */ + WXDLLIMPEXP_BASE int +- wxSnprintf_(wxChar *buf, size_t len, const wxChar *format, ...) ATTRIBUTE_PRINTF_3; ++ wxSnprintf_(wxChar *buf, size_t len, const wxChar *format, ...) WX_ATTRIBUTE_PRINTF_3; + #endif + #ifndef wxVsnprintf_ + /* no (suitable) vsnprintf(), cook our own */ +@@ -1057,13 +1057,13 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */ + either because we don't have them at all or because they don't have the + semantics we need + */ +- int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_1; +- int wxSscanf( const wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; +- int wxFscanf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; ++ int wxScanf( const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_1; ++ int wxSscanf( const wxChar *str, const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_2; ++ int wxFscanf( FILE *stream, const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_2; + int wxVsscanf( const wxChar *str, const wxChar *format, va_list ap ); +- int wxPrintf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_1; +- int wxSprintf( wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; +- int wxFprintf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; ++ int wxPrintf( const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_1; ++ int wxSprintf( wxChar *str, const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_2; ++ int wxFprintf( FILE *stream, const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_2; + int wxVfprintf( FILE *stream, const wxChar *format, va_list ap ); + int wxVprintf( const wxChar *format, va_list ap ); + int wxVsprintf( wxChar *str, const wxChar *format, va_list ap ); +@@ -1076,7 +1076,7 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */ + anything as our own wxVsnprintf_() already behaves as needed. + */ + #if defined(wxNEED_PRINTF_CONVERSION) && defined(wxVsnprintf_) +- int wxSnprintf( wxChar *str, size_t size, const wxChar *format, ... ) ATTRIBUTE_PRINTF_3; ++ int wxSnprintf( wxChar *str, size_t size, const wxChar *format, ... ) WX_ATTRIBUTE_PRINTF_3; + int wxVsnprintf( wxChar *str, size_t size, const wxChar *format, va_list ap ); + #else + #define wxSnprintf wxSnprintf_ --- wxwidgets2.8-2.8.12.1.orig/debian/patches/series +++ wxwidgets2.8-2.8.12.1/debian/patches/series @@ -0,0 +1,13 @@ +fix-build-with-python2.6.patch +fix-wxversion-help-spelling +xrced_bitmaps.dpatch +fix-configure-on-hurd +fix-path-to-some-interpreters +fix-configure-for-multiarch +fix-macro-namespace-pollution.patch +wxjoystick-send-move-events +wxglcanvas-avoid-segv-when-glx-not-available +fix-wxcmdline-segv.patch +wxpython2.8-eliminate-string-exceptions.patch + +fix-bashism-in-example --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-wxversion-help-spelling +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-wxversion-help-spelling @@ -0,0 +1,18 @@ +Description: Fix typos in wxversion help +Origin: vendor +Bug-Debian: http://bugs.debian.org/518540 +Forwarded: http://trac.wxwidgets.org/ticket/13574 +Last-Update: 2011-10-17 +Applied-Upstream: apparently + +--- a/wxPython/wxversion/wxversion.py ++++ b/wxPython/wxversion/wxversion.py +@@ -91,7 +91,7 @@ + Search for a wxPython installation that matches version. If one + is found then sys.path is modified so that version will be + imported with a 'import wx', otherwise a VersionError exception is +- raised. This funciton should only be caled once at the begining ++ raised. This function should only be called once at the beginning + of the application before wxPython is imported. + + :param versions: Specifies the version to look for, it can --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-wxcmdline-segv.patch +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-wxcmdline-segv.patch @@ -0,0 +1,19 @@ +Description: Fix segfault in wxCmdLineParser::GetUsageString() +Bug-Debian: 646654. +Author: Olly Betts +Forwarded: http://trac.wxwidgets.org/ticket/13731 +Last-Update: 2011-11-11 + +diff --git a/src/common/cmdline.cpp b/src/common/cmdline.cpp +index c7b135d..0a32c55 100644 +--- a/src/common/cmdline.cpp ++++ b/src/common/cmdline.cpp +@@ -951,7 +951,7 @@ void wxCmdLineParser::Usage() + wxString wxCmdLineParser::GetUsageString() + { + wxString appname; +- if ( wxTheApp ) ++ if ( wxTheApp && wxTheApp->argc > 0 ) + { + appname = wxFileName(wxTheApp->argv[0]).GetFullName(); + } --- wxwidgets2.8-2.8.12.1.orig/debian/patches/wxpython2.8-eliminate-string-exceptions.patch +++ wxwidgets2.8-2.8.12.1/debian/patches/wxpython2.8-eliminate-string-exceptions.patch @@ -0,0 +1,91 @@ +Description: Eliminate throwing of string exceptions in wxPython + This is no longer supported as of Python 2.6, and wasn't reliable before that. +Author: Olly Betts +Bug-Debian: http://bugs.debian.org/585339 +Forwarded: http://trac.wxwidgets.org/ticket/13580 +Last-Update: 2011-11-11 +Applied-Upstream: no + +diff --git a/wxPython/wx/lib/evtmgr.py b/wxPython/wx/lib/evtmgr.py +index 5741622..9427984 100644 +--- a/wxPython/wx/lib/evtmgr.py ++++ b/wxPython/wx/lib/evtmgr.py +@@ -82,7 +82,7 @@ class EventManager: + # 1. Check if the 'event' is actually one of the multi- + # event macros. + if _macroInfo.isMultiEvent(event): +- raise 'Cannot register the macro, '+`event`+'. Register instead the individual events.' ++ raise Exception, 'Cannot register the macro, '+`event`+'. Register instead the individual events.' + + # Support a more OO API. This allows the GUI widget itself to + # be specified, and the id to be retrieved from the system, +diff --git a/wxPython/wx/lib/ogl/_basic.py b/wxPython/wx/lib/ogl/_basic.py +index f0be159..a1aa09d 100644 +--- a/wxPython/wx/lib/ogl/_basic.py ++++ b/wxPython/wx/lib/ogl/_basic.py +@@ -1717,7 +1717,7 @@ class Shape(ShapeEvtHandler): + shoulder1[1] = neck[1] - totalBranchLength / 2.0 + shoulder2[1] = neck[1] + totalBranchLength / 2.0 + else: +- raise "Unrecognised attachment point in GetBranchingAttachmentInfo" ++ raise Exception, "Unrecognised attachment point in GetBranchingAttachmentInfo" + return root, neck, shoulder1, shoulder2 + + def GetBranchingAttachmentPoint(self, attachment, n): +@@ -1752,7 +1752,7 @@ class Shape(ShapeEvtHandler): + stemPt[0] = neck[0] + stemPt[1] = pt[1] + else: +- raise "Unrecognised attachment point in GetBranchingAttachmentPoint" ++ raise Exception, "Unrecognised attachment point in GetBranchingAttachmentPoint" + + return pt, stemPt + +@@ -1788,7 +1788,7 @@ class Shape(ShapeEvtHandler): + root[0] = self.GetX() - width / 2.0 + root[1] = self.GetY() + else: +- raise "Unrecognised attachment point in GetBranchingAttachmentRoot" ++ raise Exception, "Unrecognised attachment point in GetBranchingAttachmentRoot" + + return root + +diff --git a/wxPython/wx/lib/ogl/_lines.py b/wxPython/wx/lib/ogl/_lines.py +index 302cee1..eef160b 100644 +--- a/wxPython/wx/lib/ogl/_lines.py ++++ b/wxPython/wx/lib/ogl/_lines.py +@@ -752,7 +752,7 @@ class LineShape(Shape): + elif x2 > x1 and y2 < y1: + theta = 2 * math.pi + math.atan((y2 - y1) / (x2 - x1)) + else: +- raise "Unknown arrowhead rotation case" ++ raise Exception, "Unknown arrowhead rotation case" + + # Rotate about the centre of the object, then place + # the object on the line. +diff --git a/wxPython/wx/lib/pubsub/pubsub1/pub.py b/wxPython/wx/lib/pubsub/pubsub1/pub.py +index 9c84733..28575aa 100644 +--- a/wxPython/wx/lib/pubsub/pubsub1/pub.py ++++ b/wxPython/wx/lib/pubsub/pubsub1/pub.py +@@ -112,7 +112,7 @@ def _paramMinCount(callableObject): + try: + return _paramMinCountFunc(callableObject) + except exc: +- raise 'Cannot determine type of callable: %s' % repr(callableObject) ++ raise Exception, 'Cannot determine type of callable: %s' % repr(callableObject) + + min, d = _paramMinCountFunc(func) + return min-1, d +diff --git a/wxPython/wx/lib/rpcMixin.py b/wxPython/wx/lib/rpcMixin.py +index 7a0c342..a053a4a 100644 +--- a/wxPython/wx/lib/rpcMixin.py ++++ b/wxPython/wx/lib/rpcMixin.py +@@ -261,7 +261,7 @@ class rpcMixin: + self.rpcPort = -1 + + if self.rpcPort == -1: +- raise 'RPCMixinError','Cannot initialize server' ++ raise Exception, 'RPCMixinError: Cannot initialize server' + self.servThread = _ServerThread(xmlServ,verbose=self.verbose) + self.servThread.setName('XML-RPC Server') + self.servThread.start() --- wxwidgets2.8-2.8.12.1.orig/debian/patches/xrced_bitmaps.dpatch +++ wxwidgets2.8-2.8.12.1/debian/patches/xrced_bitmaps.dpatch @@ -0,0 +1,60 @@ +Description: Fix paths to bitmaps in XRCed + load bitmaps from /usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps, + needed to fix image-file-in-usr-lib lintian warning. +Author: Devid Filoni +Last-Update: 2009-11-29 + +--- a/wxPython/wx/tools/XRCed/component.py ++++ b/wxPython/wx/tools/XRCed/component.py +@@ -708,7 +708,7 @@ + if panel not in self.panels: self.panels[panel] = [] + # Auto-select bitmap if not provided + if not bitmap: +- bmpPath = os.path.join('bitmaps', component.klass + '.png') ++ bmpPath = os.path.join('/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps', component.klass + '.png') + if os.path.exists(bmpPath): + bitmap = wx.Bitmap(bmpPath) + else: +--- a/wxPython/wx/tools/XRCed/misc/maketools.py ++++ b/wxPython/wx/tools/XRCed/misc/maketools.py +@@ -142,23 +142,23 @@ + + def snap(evt): + if evt.GetId() == xrc.XRCID('snap_panels'): +- WCTF(app.frame_panels, 'bitmaps') ++ WCTF(app.frame_panels, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps') + elif evt.GetId() == xrc.XRCID('snap_controls'): +- WCTF(app.frame_controls, 'bitmaps') ++ WCTF(app.frame_controls, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps') + elif evt.GetId() == xrc.XRCID('snap_frame'): +- WTF(app.frame_frame, 'bitmaps/wxFrame.png') ++ WTF(app.frame_frame, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps/wxFrame.png') + elif evt.GetId() == xrc.XRCID('snap_dialog'): +- WTF(app.frame_dialog, 'bitmaps/wxDialog.png') ++ WTF(app.frame_dialog, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps/wxDialog.png') + elif evt.GetId() == xrc.XRCID('snap_propsheetdialog'): + print 'sleeping 1 sec' + time.sleep(1) +- WTF(app.frame_propsheetdialog, 'bitmaps/wxPropertySheetDialog.png') ++ WTF(app.frame_propsheetdialog, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps/wxPropertySheetDialog.png') + elif evt.GetId() == xrc.XRCID('snap_menubar'): +- WTFC(app.frame_menubar, 'bitmaps/wxMenuBar.png', app.frame_menubar.GetMenuBar()) ++ WTFC(app.frame_menubar, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps/wxMenuBar.png', app.frame_menubar.GetMenuBar()) + elif evt.GetId() == xrc.XRCID('snap_menu'): +- WTFC(app.frame_menubar, 'bitmaps/wxMenuBar.png') ++ WTFC(app.frame_menubar, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps/wxMenuBar.png') + elif evt.GetId() == xrc.XRCID('snap_toolbar'): +- WTFC(app.frame_menubar, 'bitmaps/wxToolBar.png', app.frame_menubar.GetToolBar()) ++ WTFC(app.frame_menubar, '/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps/wxToolBar.png', app.frame_menubar.GetToolBar()) + + if __name__ == '__main__': + try: +@@ -192,7 +192,7 @@ + app.frame_menubar = res.LoadFrame(main_frame, 'FRAME_ToolBar') + app.frame_menubar.Show() + +- if not os.path.exists('bitmaps'): os.mkdir('bitmaps') ++ if not os.path.exists('/usr/share/python-wxgtk2.8/XRCed/plugins/bitmaps'): os.mkdir('bitmaps') + + main_frame.Bind(wx.EVT_MENU, snap, id=xrc.XRCID('snap_panels')) + main_frame.Bind(wx.EVT_MENU, snap, id=xrc.XRCID('snap_controls')) --- wxwidgets2.8-2.8.12.1.orig/debian/patches/fix-path-to-some-interpreters +++ wxwidgets2.8-2.8.12.1/debian/patches/fix-path-to-some-interpreters @@ -0,0 +1,10 @@ +useless changes to make lintian quiet + +--- a/wxPython/demo/Main.py ++++ b/wxPython/demo/Main.py +@@ -1,4 +1,4 @@ +-#!/bin/env python ++#!/usr/bin/env python + #---------------------------------------------------------------------------- + # Name: Main.py + # Purpose: Testing lots of stuff, controls, window types, etc. --- wxwidgets2.8-2.8.12.1.orig/debian/source/format +++ wxwidgets2.8-2.8.12.1/debian/source/format @@ -0,0 +1 @@ +1.0