[Pkg-phototools-devel] [PATCH 4/5] Re-enabling python scripts by setting the api-max values in the scripts to 2015.0

Stefan Peter s_peter at swissonline.ch
Tue Apr 28 11:43:26 UTC 2015


Signed-off-by: Stefan Peter <s_peter at swissonline.ch>

diff --git a/debian/patches/100_enable_python_scripts.patch b/debian/patches/100_enable_python_scripts.patch
new file mode 100644
index 0000000..4b09725
--- /dev/null
+++ b/debian/patches/100_enable_python_scripts.patch
@@ -0,0 +1,66 @@
+--- a/src/hugin_script_interface/plugins/crop_cp.py
++++ b/src/hugin_script_interface/plugins/crop_cp.py
+@@ -24,7 +24,7 @@
+ # @category Control Points
+ # @name     Crop Control Points
+ # @api-min  2011.1
+-# @api-max  2014.1
++# @api-max  2015.0
+ 
+ # crop_cps will function as a hugin plugin and as a standalone
+ # Python script. It can also serve as a template for a slightly
+--- a/src/hugin_script_interface/plugins-dev/dual_use.py
++++ b/src/hugin_script_interface/plugins-dev/dual_use.py
+@@ -24,7 +24,7 @@
+ # @category Examples
+ # @name     Dual Use Plugin
+ # @api-min  2011.1
+-# @api-max  2012.0
++# @api-max  2015.0
+ 
+ # dual_use will function as a hugin plugin and as a standalone
+ # Python script.
+--- a/src/hugin_script_interface/plugins-dev/plugin_skeleton.py
++++ b/src/hugin_script_interface/plugins-dev/plugin_skeleton.py
+@@ -19,7 +19,7 @@
+ # @category Examples
+ # @name     Skeleton Plugin
+ # @api-min  2011.1
+-# @api-max  2012.0
++# @api-max  2015.0
+ 
+ # we use modern type python print statements:
+ 
+--- a/src/hugin_script_interface/plugins/shooting_pattern.py
++++ b/src/hugin_script_interface/plugins/shooting_pattern.py
+@@ -41,7 +41,7 @@
+ # @name     6-1-1 Shooting Pattern
+ # @description apply a shooting pattern (6 around, 1 up 1 down)
+ # @sys win nix mac
+-# @api-max 2014.1
++# @api-max 2015.0
+ # @api-min 2011.1
+ 
+ # the position routine will apply yaw, pitch to an image
+--- a/src/hugin_script_interface/plugins/top_five.py
++++ b/src/hugin_script_interface/plugins/top_five.py
+@@ -5,7 +5,7 @@
+ # @category Control Points
+ # @name     keep 5 CPs per image pair
+ # @api-min  2011.1
+-# @api-max  2014.1
++# @api-max  2015.0
+ 
+ #    top_five.py - keep the five best CPs for each image pair
+ 
+--- a/src/hugin_script_interface/plugins/woa.py
++++ b/src/hugin_script_interface/plugins/woa.py
+@@ -25,7 +25,7 @@
+ # @category Control Points
+ # @name     Warped Overlap Analysis
+ # @api-min  2014.0
+-# @api-max  2014.1
++# @api-max  2015.0
+ 
+ # note that if you want to read the script, it's written bottom-up, so the
+ # higher-level routines are towards the end.
diff --git a/debian/patches/series b/debian/patches/series
index a81157b..1b85ae3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 42_stoplinklibXI_libXmu
 43_fallbackhelp.patch
 
+100_enable_python_scripts.patch
-- 
1.9.1




More information about the Pkg-phototools-devel mailing list