~ubuntu-branches/ubuntu/wily/padre/wily

« back to all changes in this revision

Viewing changes to debian/patches/lower-wx-requirement-to-2.8.7.patch

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-08-12 14:44:55 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090812144455-yvk90oa92khfcnls
Tags: 0.42-1
* New Upstream Version
  + add explicit dependency on libtest-simple-perl (>= 0.88)
  + rules: use dh --with quilt (and bump quilt build-dependency to 0.46-7)
  + rules: no need to re-generate .mo files from .po. Upstream does it now
  + copyright: describe share/icons/padre/16x16/logo.png
    - describe share/icons/padre/16x16/toggle-comments.png
    - Padre license is the same as Perl (i.e. not Perl 5)
    - update list of copright holders
    - also list translators
  + drop libtest-most-perl from build-dependencies
  + add liblocale-msgfmt-perl to build-dependencies
  + add libcapture-tiny-perl to (build-)dependencies
  + add libfile-remove-perl (>= 1.42) to (build-)dependencies
  + drop libmodule-inspector-perl from (build-)dependencies
  + add libppix-editortools-perl to (build-)dependencies
  + add libparse-exuberantctags-perl to (build-)dependencies
  + patches:
    - drop lower-wx-requirement-to-2.8.7.patch and replace it with
      SKIP_WXWIDGETS_VERSION_CHECK=1 when configuring
      adjust README.debian accordingly
    - refresh disable-tcp-server.patch
    - drop don't-require-new-file-path.patch (applied upstream)
    - rework fix-pod2-errors.patch (new release, new errors :))
* add fix-perl-interpreter-path.patch fixing the path to the perl interpreter
  in three examples (thanks lintian)
* add more lintian overrides about script-not-executable for scripts that are
  treated as examples/templates
* add fix-whatis.patch fixing the whatis entry of Padre::Wx
* add menu and .desktop file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Author: Damyan Ivanov <dmn@debian.org>
2
 
# Debian-Specific: maybe
3
 
# Description: Lower wxWidgets requirement from 2.8.8 to 2.8.7.
4
 
#  Buggy or not, that is what is available in Debian.
5
 
--- a/privinc/Module/Install/PRIVATE/Padre.pm
6
 
+++ b/privinc/Module/Install/PRIVATE/Padre.pm
7
 
@@ -113,7 +113,7 @@ sub check_wx_version {
8
 
 sub nono {
9
 
        my $msg = shift;
10
 
        print STDERR "$msg\n";
11
 
-       exit(1);
12
 
+       exit(0);
13
 
 }
14
 
 
15
 
 sub make_exe {
16
 
--- a/inc/Module/Install/PRIVATE/Padre.pm
17
 
+++ b/inc/Module/Install/PRIVATE/Padre.pm
18
 
@@ -68,8 +68,8 @@ sub check_wx_version {
19
 
        $widgets_human =~ s/^(\d\.\d\d\d)(\d\d\d)$/$1.$2/;
20
 
        $widgets_human =~ s/\.0*/./g;
21
 
        print "Found wxWidgets $widgets_human\n";
22
 
-       unless ( $widgets >= 2.008008 ) {
23
 
-               nono("Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets $widgets_human");
24
 
+       unless ( $widgets >= 2.008007 ) {
25
 
+               nono("Padre needs at least version 2.8.7 of wxWidgets. You have wxWidgets $widgets_human");
26
 
        }
27
 
 
28