Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041285
en ru br
ALT Linux repos
S:0.2-alt3.qa1
5.0: 0.2-alt3
4.1: 0.2-alt3
4.0: 0.2-alt3

Group :: Graphics
RPM: clens

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: clens-0.2-ptstitcher2nona.patch
Download


--- clens-0.2/src/main.c.orig	2007-07-17 12:26:01 +0300
+++ clens-0.2/src/main.c	2007-07-17 12:29:31 +0300
@@ -110,7 +110,7 @@
 	puts("     --Lenses\t\tDisplay a list of supported lenses for the camera");
 	puts("\t\t\tused to take each picture and leave.");
 	puts(" -s, --stitcher\t\tpath to the stitcher.");
-	puts("\t\t\tIf not set clens assumes it's PTStitcher.");
+	puts("\t\t\tIf not set clens assumes it's nona.");
 	puts(" -p, --profile\t\tspecify where the database is.");
 	puts("\t\t\tThis should be the path to \"profile.txt\" -- no default.");
 	puts("\t\t\tThis may also be set using the CLENS_PROFILE environment variable.");
@@ -203,7 +203,7 @@
 	pref.resize = 1;								//Scale the image to remove black border
 	strcpy(pref.suffix, "_pt");						//The default suffix for the resulting filename
 	pref.jpegQuality = 90;							//JPEG quality (0-100)
-	strcpy(pref.stitcher, "PTStitcher");			//Assumes it's on the path
+	strcpy(pref.stitcher, "nona");						//Assumes it's on the path
 	pref.inputDir[0] = 0;							//Path will be specified as part of the input filenames
 	pref.viewerPath[0] = 0;							//No viewer implimentation in this code yet
 	pref.menuLens[0] = 0;							//No menus in this command line version of ptlens
@@ -225,7 +225,7 @@
 			{"jpeg",    no_argument,       &format_flag, 0},	//Set the format flag to jpeg
 			{"lens",    required_argument, 0, 'l'},				//identifies lens used to take picture
 			{"Lenses",	no_argument,       &Lenses_flag, 1},	//Show all lenses for camera
-			{"stitcher",required_argument, 0, 's'},				//where is PTStitcher
+			{"stitcher",required_argument, 0, 's'},				//where is stitcher
 			{"profile", required_argument, 0, 'p'},				//specify database
 			{"unscaled",no_argument,       0, 'u'},				//Don't resize picture to remove black edges
 			{"append",  required_argument, 0, 'a'},				//file suffix for resulting image
--- clens-0.2/doc/clens.man.orig	2004-11-23 00:54:18 +0200
+++ clens-0.2/doc/clens.man	2007-07-17 12:31:29 +0300
@@ -28,7 +28,7 @@
 Tell clens to print out all lenses found in the calibration data that are compatable with the camera used to take the input picture, then exit. No corrections are made.
 .TP
 \fB\-s, \-\-stitcher\fR <\fIfull_path_to_stitcher\fP>
-Tell clens which stitcher to use. Currently supported stitchers are PTStitcher and nona. This string is actually used to exec the stitcher program so, if the stitcher is not on your path, you need to give the full path. The default is PTStitcher, and it's assumed to be on the path.
+Tell clens which stitcher to use. Currently supported stitchers are PTStitcher and nona. This string is actually used to exec the stitcher program so, if the stitcher is not on your path, you need to give the full path. The default is nona, and it's assumed to be on the path.
 .TP
 \fB\-p, \-\-profile\fR <\fIfull_path_to_profile.txt\fP>
 Tell clens where profile.txt is. The entire path must be specified. There is no default for this option. You may also specify this information in an environment variable named "CLENS_PROFILE".
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin