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

« back to all changes in this revision

Viewing changes to debian/patches/dont-require-new-file-path.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
 
http://padre.perlide.org/trac/changeset/5258
2
 
 
3
 
--- a/lib/Padre/Constant.pm
4
 
+++ b/lib/Padre/Constant.pm
5
 
@@ -58,10 +58,10 @@
6
 
 use constant PLUGIN_LIB => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' );
7
 
 
8
 
 # Check and create the directories that need to exist
9
 
-unless ( -e CONFIG_DIR or File::Path::make_path(CONFIG_DIR) ) {
10
 
+unless ( -e CONFIG_DIR or File::Path::mkpath(CONFIG_DIR) ) {
11
 
        Carp::croak( "Cannot create config dir '" . CONFIG_DIR . "': $!" );
12
 
 }
13
 
-unless ( -e PLUGIN_LIB or File::Path::make_path(PLUGIN_LIB) ) {
14
 
+unless ( -e PLUGIN_LIB or File::Path::mkpath(PLUGIN_LIB) ) {
15
 
        Carp::croak( "Cannot create plugins dir '" . PLUGIN_LIB . "': $!" );
16
 
 }
17
 
 
18
 
--- a/lib/Padre/PluginManager.pm
19
 
+++ b/lib/Padre/PluginManager.pm
20
 
@@ -415,7 +415,7 @@
21
 
        my $plugin_dir = $self->plugin_dir;
22
 
        my $cache_dir = File::Spec->catdir( $plugin_dir, 'cache' );
23
 
        $ENV{PAR_GLOBAL_TEMP} = $cache_dir;
24
 
-       File::Path::make_path($cache_dir) unless -e $cache_dir;
25
 
+       File::Path::mkpath($cache_dir) unless -e $cache_dir;
26
 
        $ENV{PAR_TEMP} = $cache_dir;
27
 
 
28
 
        $self->{par_loaded} = 1;