[gimp-perl] Properly enable _ in $VERSION.



commit 51755c065f9da84c3d016473b51c6fbd0c4aac2e
Author: Ed J <edj src gnome org>
Date:   Wed May 28 23:42:10 2014 +0100

    Properly enable _ in $VERSION.

 Gimp.pm           |    2 +-
 Gimp/Constant.pm  |    2 +-
 Gimp/Extension.pm |    2 +-
 Gimp/Fu.pm        |    2 +-
 Gimp/Lib.pm       |    2 +-
 Gimp/Pod.pm       |    2 +-
 Gimp/Util.pm      |    2 +-
 Makefile.PL       |    2 +-
 Net/Net.pm        |    2 +-
 UI/UI.pm          |    2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/Gimp.pm b/Gimp.pm
index c98d1fd..c34db15 100644
--- a/Gimp.pm
+++ b/Gimp.pm
@@ -10,7 +10,7 @@ our (
 use subs qw(init end lock unlock);
 
 BEGIN {
-   $VERSION = 2.3005; # going forward: 2.xx, or 2.xx_yy for dev
+   $VERSION = '2.30_05'; # going forward: 2.xx, or 2.xx_yy for dev
    eval {
       require XSLoader;
       XSLoader::load Gimp $VERSION;
diff --git a/Gimp/Constant.pm b/Gimp/Constant.pm
index 1797eae..2a3e89d 100644
--- a/Gimp/Constant.pm
+++ b/Gimp/Constant.pm
@@ -5,7 +5,7 @@ use strict qw(vars);
 our ($VERSION, @EXPORT, @PARAMS, @INXS);
 
 BEGIN {
-   $VERSION = 2.3005;
+   $VERSION = "2.30_05";
 # XS code in Gimp.xs... for now
 #   eval {
 #      require XSLoader;
diff --git a/Gimp/Extension.pm b/Gimp/Extension.pm
index a681cfb..e8a7e90 100644
--- a/Gimp/Extension.pm
+++ b/Gimp/Extension.pm
@@ -12,7 +12,7 @@ use Gtk2;
 sub __ ($) { goto &Gimp::__ }
 sub main { goto &Gimp::main; }
 
-our $VERSION = 2.3005;
+our $VERSION = "2.30_05";
 our @EXPORT = qw(podregister main add_listener register_temp podregister_temp);
 
 # this is to avoid warnings from importing main etc from Gimp::Fu AND here
diff --git a/Gimp/Fu.pm b/Gimp/Fu.pm
index d404458..a5524a2 100644
--- a/Gimp/Fu.pm
+++ b/Gimp/Fu.pm
@@ -11,7 +11,7 @@ use FindBin qw($RealBin $RealScript);
 use File::stat;
 
 our $run_mode;
-our $VERSION = 2.3005;
+our $VERSION = "2.30_05";
 
 # manual import
 sub __ ($) { goto &Gimp::__ }
diff --git a/Gimp/Lib.pm b/Gimp/Lib.pm
index 95ccf86..931b044 100644
--- a/Gimp/Lib.pm
+++ b/Gimp/Lib.pm
@@ -5,7 +5,7 @@ use warnings;
 use vars qw($VERSION @ISA);
 
 BEGIN {
-   $VERSION = 2.3005;
+   $VERSION = "2.30_05";
    require XSLoader;
    XSLoader::load Gimp::Lib $VERSION;
    warn "$$-Loading ".__PACKAGE__ if $Gimp::verbose;
diff --git a/Gimp/Pod.pm b/Gimp/Pod.pm
index bb891a0..2e6797c 100644
--- a/Gimp/Pod.pm
+++ b/Gimp/Pod.pm
@@ -10,7 +10,7 @@ use base 'Exporter';
 use Pod::Simple::SimpleTree;
 
 our @EXPORT = qw(fixup_args make_arg_line);
-our $VERSION = 2.3005;
+our $VERSION = "2.30_05";
 
 warn "$$-Loading ".__PACKAGE__ if $Gimp::verbose;
 
diff --git a/Gimp/Util.pm b/Gimp/Util.pm
index 9491055..d26fb39 100644
--- a/Gimp/Util.pm
+++ b/Gimp/Util.pm
@@ -14,7 +14,7 @@ our @EXPORT_OK = qw(
 
 sub __ ($); # declare - defined in Gimp
 
-our $VERSION = 2.3005;
+our $VERSION = "2.30_05";
 
 sub get_state() {
    [
diff --git a/Makefile.PL b/Makefile.PL
index 9cdeb3d..53b0c10 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -22,7 +22,7 @@ tags: .
 
 # set \$VERSION in all modules
 setver:
-       \$(PERL) -pi -e 's/^(\\s*(?:our)?\\s*\\\$\$VERSION\\s*=\\s*).*;/\$\${1}\$(VERSION);/' Gimp/*.pm 
UI/*.pm Net/*.pm
+       \$(PERL) -pi -e 's/^(\\s*(?:our)?\\s*\\\$\$VERSION\\s*=\\s*).*;/\$\${1}"\$(VERSION)";/' Gimp/*.pm 
UI/*.pm Net/*.pm
 
 EOF
 }
diff --git a/Net/Net.pm b/Net/Net.pm
index 944e10e..f3a2ba4 100644
--- a/Net/Net.pm
+++ b/Net/Net.pm
@@ -33,7 +33,7 @@ use IO::Socket;
 use Carp 'croak';
 use Fcntl qw(F_SETFD);
 
-$VERSION = 2.3005;
+$VERSION = "2.30_05";
 bootstrap Gimp::Net $VERSION;
 
 my $PROTOCOL_VERSION = 5; # protocol version
diff --git a/UI/UI.pm b/UI/UI.pm
index 2037425..c54b02a 100644
--- a/UI/UI.pm
+++ b/UI/UI.pm
@@ -10,7 +10,7 @@ use warnings;
 
 our (@ISA, $VERSION);
 BEGIN {
-   $VERSION = 2.3005;
+   $VERSION = "2.30_05";
    eval {
       require XSLoader;
       XSLoader::load Gimp::UI $VERSION;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]