diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-01-28 23:29:16 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-01-28 23:29:16 +0100 |
commit | b1473eba73dd5f796a84b6477b5075e6b909cf89 (patch) | |
tree | a7fce0c511c6c9f896447d7b9a52a26a88985ce7 /sci-astronomy/ccd/files/ccd-1.2.9-fix_helper_scripts_paths.patch | |
parent | 691fecad8f019e5ee9c8de99ef47aea44cf87571 (diff) | |
download | brancik-overlay-b1473eba73dd5f796a84b6477b5075e6b909cf89.tar.gz brancik-overlay-b1473eba73dd5f796a84b6477b5075e6b909cf89.tar.bz2 |
Added patch to sci-astronomy/ccd that fixes paths to helper scripts for QHY cameras.
Diffstat (limited to 'sci-astronomy/ccd/files/ccd-1.2.9-fix_helper_scripts_paths.patch')
-rw-r--r-- | sci-astronomy/ccd/files/ccd-1.2.9-fix_helper_scripts_paths.patch | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/sci-astronomy/ccd/files/ccd-1.2.9-fix_helper_scripts_paths.patch b/sci-astronomy/ccd/files/ccd-1.2.9-fix_helper_scripts_paths.patch new file mode 100644 index 0000000..8e1f886 --- /dev/null +++ b/sci-astronomy/ccd/files/ccd-1.2.9-fix_helper_scripts_paths.patch @@ -0,0 +1,96 @@ +diff -ru ccd.new/src/devices/cam_qhy6.cpp ccd/src/devices/cam_qhy6.cpp +--- ccd.new/src/devices/cam_qhy6.cpp 2015-01-28 23:23:41.000000000 +0100 ++++ ccd/src/devices/cam_qhy6.cpp 2013-07-31 14:24:53.000000000 +0200 +@@ -321,7 +321,7 @@ + //hardware BREAK + for( int i = 0;i < ccamera_base::try_reset_cnt;i++ ) + { +- int res = system( "/usr/bin/qhy6reset.sh" ); ++ int res = system( "utils/qhy6reset.sh" ); + if( res < 0 ) + { + log_e( "Failed to reset camera by script... '%s'", strerror(errno) ); +diff -ru ccd.new/src/devices/cam_qhy8.cpp ccd/src/devices/cam_qhy8.cpp +--- ccd.new/src/devices/cam_qhy8.cpp 2015-01-28 23:23:31.000000000 +0100 ++++ ccd/src/devices/cam_qhy8.cpp 2013-07-31 14:40:11.000000000 +0200 +@@ -380,7 +380,7 @@ + //hardware BREAK + for( int i = 0;i < ccamera_base::try_reset_cnt;i++ ) + { +- int res = system( "/usr/bin/qhy8reset.sh" ); ++ int res = system( "utils/qhy8reset.sh" ); + if( res < 0 ) + { + log_e( "Failed to reset camera by script... '%s'", strerror(errno) ); +diff -ru ccd.new/src/devices/cam_qhy8l.cpp ccd/src/devices/cam_qhy8l.cpp +--- ccd.new/src/devices/cam_qhy8l.cpp 2015-01-28 23:23:13.000000000 +0100 ++++ ccd/src/devices/cam_qhy8l.cpp 2013-08-01 18:54:12.000000000 +0200 +@@ -424,7 +424,7 @@ + //hardware BREAK + for( int i = 0;i < ccamera_base::try_reset_cnt;i++ ) + { +- int res = system( "/usr/bin/qhy8lreset.sh" ); ++ int res = system( "utils/qhy8lreset.sh" ); + if( res < 0 ) + { + log_e( "Failed to reset camera by script... '%s'", strerror(errno) ); +diff -ru ccd.new/src/devices/cam_qhy9.cpp ccd/src/devices/cam_qhy9.cpp +--- ccd.new/src/devices/cam_qhy9.cpp 2015-01-28 23:23:15.000000000 +0100 ++++ ccd/src/devices/cam_qhy9.cpp 2013-07-31 10:28:44.000000000 +0200 +@@ -424,7 +424,7 @@ + //hardware BREAK + for( int i = 0;i < ccamera_base::try_reset_cnt;i++ ) + { +- int res = system( "/usr/bin/qhy9reset.sh" ); ++ int res = system( "utils/qhy9reset.sh" ); + if( res < 0 ) + { + log_e( "Failed to reset camera by script... '%s'", strerror(errno) ); +diff -ru ccd.new/utils/qhy6reset.sh ccd/utils/qhy6reset.sh +--- ccd.new/utils/qhy6reset.sh 2015-01-28 23:11:38.000000000 +0100 ++++ ccd/utils/qhy6reset.sh 2012-03-07 19:17:55.000000000 +0100 +@@ -8,7 +8,7 @@ + # exit 0 + #fi + +-fw="/lib/firmware/QHY6.HEX" ++fw="/lib/firmware/ccd/qhy6.hex" + + bdir="/dev/bus/usb" + +diff -ru ccd.new/utils/qhy8lreset.sh ccd/utils/qhy8lreset.sh +--- ccd.new/utils/qhy8lreset.sh 2015-01-28 23:11:54.000000000 +0100 ++++ ccd/utils/qhy8lreset.sh 2012-01-25 20:17:20.000000000 +0100 +@@ -8,7 +8,7 @@ + # exit 0 + #fi + +-fw="/lib/firmware/CCD/QHY8L.HEX" ++fw="/lib/firmware/ccd/qhy8l.hex" + + bdir="/dev/bus/usb" + +diff -ru ccd.new/utils/qhy8reset.sh ccd/utils/qhy8reset.sh +--- ccd.new/utils/qhy8reset.sh 2015-01-28 23:12:04.000000000 +0100 ++++ ccd/utils/qhy8reset.sh 2013-07-30 21:54:56.000000000 +0200 +@@ -8,7 +8,7 @@ + # exit 0 + #fi + +-fw="/lib/firmware/QHY8.HEX" ++fw="/lib/firmware/ccd/qhy8.hex" + + bdir="/dev/bus/usb" + +diff -ru ccd.new/utils/qhy9reset.sh ccd/utils/qhy9reset.sh +--- ccd.new/utils/qhy9reset.sh 2015-01-28 23:16:37.000000000 +0100 ++++ ccd/utils/qhy9reset.sh 2015-01-28 23:17:15.801043730 +0100 +@@ -8,7 +8,7 @@ + # exit 0
+ #fi
+
+-fw="/lib/firmware/QHY9.HEX"
++fw="/lib/firmware/ccd/qhy9.hex"
+
+ bdir="/dev/bus/usb"
+
|