Hello community, here is the log from the commit of package libindi for openSUSE:Factory checked in at 2016-07-01 09:58:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libindi (Old) and /work/SRC/openSUSE:Factory/.libindi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libindi" Changes: -------- --- /work/SRC/openSUSE:Factory/libindi/libindi.changes 2015-07-12 22:52:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libindi.new/libindi.changes 2016-07-01 09:58:43.000000000 +0200 @@ -1,0 +2,78 @@ +Sun Jun 26 19:28:16 UTC 2016 - [email protected] + +- Update to version 1.2.0: + * Support for Davis Vantage Pro/Pro2/Vue Weather Station. + * Support for XAGYL Filter Wheel. + * Support for Optec Flip Flat. + * Support for Pulasr2 mount. + * Support for JMI Smart Focus. + * Support for GPS driver based on gpsd. + * 3rdParty: QHY Updates and Fixes. Color camera support. + * 3rdParty: GPhoto focus and live streaming fixes. + * 3rdParty: Starlight Xpress support for multiple identical + devices and driver improvements. + * 3rdParty: ASI updated to latest SDK. Temperature readout for + all cameras. ROI & Cooler fixes. + * FocusLynx: Support 2 focusers. + * Celestron: Support pulse guiding. Support hibernation and wakup + on supported firmware. + * SynScan: Complete rewrite to support latest features in the + firmware. + * GPhoto: Mirror lock support before capture. + * RoboFocus: Update to comply to INDI::Focus standards. + * SBIG: Support for connecting to Ethernet based CCDs. + * ZEQ25: Updates and fixes. + * MaxDomeII: Driver updated and tested under latest INDI::Dome + standards. + * QSI: Added anti-blooming option. + * INDI WatchDog driver: Can be configured to perform observatory + shutdown. + * EQMod: Initial support for INDI Alignment Subsystem. Do not + stop motor in low speed (guiding issue). + * Temma: Complete rewrite based on INDI::Telescope and using INDI + Alignment Subsystem. + * AutoDome park feature in Dome devices. + * Fix Crash on ODroid. + * Added Meta-Weather driver to aggregate weather data from + multiple sources. + * Support for remotely controller dust caps and light box devices. + * Handle 16bit images in Rapid Guide mode. + * BaseClient non-blocking connect support. + * Unified Streaming/Recording support for multiple drivers + (ASI/QHY/V4L2). + From version 1.1.0: + * INDI::Weather for support of weather devices. + * INDI::GPS for support of GPS devices. + * WunderGround weather driver. + * Meade DSI I & II support. + * FocusLynx focuser support. + * PerfectStar focuser support. + * World Coordinate System (WCS) support in generated FITS. + * Updated Losmany driver. + * New Celestron driver. + * New IEQPro driver. + * Support for custom parking in dome drivers. + * Support Open Loop dome controllers. + * Various QHY CCD & Filter Wheel fixes and QHY OSX support. + * SBIG External Guide CCD fixes. + * Custom parking support for + Celestron/Astrophysics/AstroElectronics/IEQPro + * Updated ASI ZWO drivers. + * Updated Apogee library. Improved NET support in INDI Apogee + driver. + * Standarizing mount slew and track rates. + * Video4Linux 2 fixes and improvements: (16bpp pixel formats(Y16 + and BYR2), pwc flashled, colorSpace/linearization, stacking), + Simutaneous record/stream/exp. Stream rate divisor. Rec. file + patterns. + * EQMod fixes: Keep tracking after joystick motion is stopped. + Park initialization always set encoders. + * Improved support for drivers on ARM architecture. + * Improved logging capability. + * Deprecated: LX200Legacy and indimain library. +- Rebased libindi-implicit-pointer-decl.patch to apply cleanly. +- Adjust no-return-in-nonvoid-function.patch for this release + (patch upstream). +- Added new build requirement libcurl-devel. + +------------------------------------------------------------------- Old: ---- libindi_1.0.0.tar.gz New: ---- libindi_1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libindi.spec ++++++ --- /var/tmp/diff_new_pack.GfJWaV/_old 2016-07-01 09:58:44.000000000 +0200 +++ /var/tmp/diff_new_pack.GfJWaV/_new 2016-07-01 09:58:44.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libindi # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define _udevdir %(pkg-config --variable udevdir udev) Name: libindi -Version: 1.0.0 +Version: 1.2.0 Release: 0 Summary: Instrument Neutral Distributed Interface License: GPL-2.0+ and LGPL-2.1+ @@ -35,6 +35,7 @@ BuildRequires: gcc-c++ BuildRequires: gsl-devel BuildRequires: libcfitsio-devel +BuildRequires: libcurl-devel BuildRequires: libfli-devel BuildRequires: libjpeg-devel BuildRequires: libnova-devel @@ -64,7 +65,6 @@ Requires: libindi%{so_ver} = %{version} Requires: libindiAlignmentDriver%{so_ver} = %{version} Requires: libindidriver%{so_ver} = %{version} -Requires: libindimain%{so_ver} = %{version} %description devel This package contains development files for libindi. @@ -105,20 +105,8 @@ capabilities and communicate with the device drivers and build a completely dynamic GUI based on the services provided by the device. -%package -n libindimain%{so_ver} -Summary: Instrument Neutral Distributed Interface -Group: System/Libraries - -%description -n libindimain%{so_ver} -INDI is an Instrument Neutral Distributed Interface control protocol -for astronomical devices, which provides a framework that decouples low -level hardware drivers from high level front end clients. Clients that -use the device drivers are completely unaware of the device -capabilities and communicate with the device drivers and build a -completely dynamic GUI based on the services provided by the device. - %prep -%setup -q +%setup -q -n %{name}_%{version} %patch0 -p1 %patch1 -p1 @@ -137,7 +125,7 @@ cd .. %install -make DESTDIR=%{buildroot} install -C build +%cmake_install %post -n libindi%{so_ver} -p /sbin/ldconfig @@ -151,16 +139,12 @@ %postun -n libindidriver%{so_ver} -p /sbin/ldconfig -%post -n libindimain%{so_ver} -p /sbin/ldconfig - -%postun -n libindimain%{so_ver} -p /sbin/ldconfig - %files %defattr(-,root,root,-) %doc AUTHORS COPYING.* COPYRIGHT ChangeLog LICENSE NEWS README TODO %{_datadir}/indi/ %{_bindir}/indi* -%{_udevdir}/rules.d/99-gpusb.rules +%{_udevdir}/rules.d/*.rules %files devel %defattr(-,root,root,-) @@ -183,8 +167,4 @@ %defattr(-,root,root,-) %{_libdir}/libindidriver.so.%{so_ver}* -%files -n libindimain%{so_ver} -%defattr(-,root,root,-) -%{_libdir}/libindimain.so.%{so_ver}* - %changelog ++++++ libindi-implicit-pointer-decl.patch ++++++ --- /var/tmp/diff_new_pack.GfJWaV/_old 2016-07-01 09:58:44.000000000 +0200 +++ /var/tmp/diff_new_pack.GfJWaV/_new 2016-07-01 09:58:44.000000000 +0200 @@ -1,5 +1,7 @@ ---- libindi-1.0.0.orig/drivers/telescope/celestronprotocol.c -+++ libindi-1.0.0/drivers/telescope/celestronprotocol.c +Index: libindi_1.2.0/drivers/telescope/celestronprotocol.c +=================================================================== +--- libindi_1.2.0.orig/drivers/telescope/celestronprotocol.c ++++ libindi_1.2.0/drivers/telescope/celestronprotocol.c @@ -26,6 +26,7 @@ @@ -8,8 +10,10 @@ #include <errno.h> #include <time.h> #include <string.h> ---- libindi-1.0.0.orig/drivers/telescope/ieq45driver8406.c -+++ libindi-1.0.0/drivers/telescope/ieq45driver8406.c +Index: libindi_1.2.0/drivers/telescope/ieq45driver8406.c +=================================================================== +--- libindi_1.2.0.orig/drivers/telescope/ieq45driver8406.c ++++ libindi_1.2.0/drivers/telescope/ieq45driver8406.c @@ -28,6 +28,7 @@ #include <unistd.h> #include <fcntl.h> @@ -18,8 +22,10 @@ #include "indicom.h" #include "indidevapi.h" ---- libindi-1.0.0.orig/drivers/telescope/ieq45driver8407.c -+++ libindi-1.0.0/drivers/telescope/ieq45driver8407.c +Index: libindi_1.2.0/drivers/telescope/ieq45driver8407.c +=================================================================== +--- libindi_1.2.0.orig/drivers/telescope/ieq45driver8407.c ++++ libindi_1.2.0/drivers/telescope/ieq45driver8407.c @@ -34,6 +34,7 @@ #include <unistd.h> #include <fcntl.h> @@ -28,18 +34,19 @@ #include "indicom.h" #include "indidevapi.h" ---- libindi-1.0.0.orig/drivers/video/stvdriver.c -+++ libindi-1.0.0/drivers/video/stvdriver.c -@@ -19,6 +19,8 @@ +Index: libindi_1.2.0/drivers/video/stvdriver.c +=================================================================== +--- libindi_1.2.0.orig/drivers/video/stvdriver.c ++++ libindi_1.2.0/drivers/video/stvdriver.c +@@ -19,6 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #endif +#include "config.h" -+ - #include <unistd.h> - #include <string.h> - #include <sys/stat.h> -@@ -30,9 +32,6 @@ + + #define _GNU_SOURCE 1 + +@@ -33,9 +34,6 @@ #include "stvdriver.h" ++++++ libindi_1.0.0.tar.gz -> libindi_1.2.0.tar.gz ++++++ ++++ 64402 lines of diff (skipped) ++++++ no-return-in-nonvoid-function.patch ++++++ --- /var/tmp/diff_new_pack.GfJWaV/_old 2016-07-01 09:58:44.000000000 +0200 +++ /var/tmp/diff_new_pack.GfJWaV/_new 2016-07-01 09:58:44.000000000 +0200 @@ -1,328 +1,132 @@ -diff -Naur libindi-1.0.0.orig/drivers/auxiliary/STAR2000.cpp libindi-1.0.0/drivers/auxiliary/STAR2000.cpp ---- libindi-1.0.0.orig/drivers/auxiliary/STAR2000.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/auxiliary/STAR2000.cpp 2015-02-20 22:43:18.671748604 +0200 -@@ -218,6 +218,7 @@ - bool STAR2000::saveConfigItems(FILE *fp) - { - IUSaveConfigText(fp, &PortTP); -+ return(true); - } +diff -Naur libindi_1.2.0.orig/drivers/auxiliary/watchdog.cpp libindi_1.2.0/drivers/auxiliary/watchdog.cpp +--- libindi_1.2.0.orig/drivers/auxiliary/watchdog.cpp 2016-02-02 07:52:24.000000000 +0200 ++++ libindi_1.2.0/drivers/auxiliary/watchdog.cpp 2016-06-19 23:24:39.266681365 +0300 +@@ -282,6 +282,7 @@ + IUSaveConfigText(fp, &ActiveDeviceTP); + IUSaveConfigSwitch(fp, &ShutdownProcedureSP); - float STAR2000::CalcWEPulseTimeLeft() -diff -Naur libindi-1.0.0.orig/drivers/auxiliary/joystickdriver.cpp libindi-1.0.0/drivers/auxiliary/joystickdriver.cpp ---- libindi-1.0.0.orig/drivers/auxiliary/joystickdriver.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/auxiliary/joystickdriver.cpp 2015-02-20 22:44:04.851339095 +0200 -@@ -108,6 +108,7 @@ - void* JoyStickDriver::loop(void *obj) - { - while (reinterpret_cast<JoyStickDriver *>(obj)->active) reinterpret_cast<JoyStickDriver *>(obj)->readEv(); -+ return obj; ++ return true; } - void JoyStickDriver::readEv() -diff -Naur libindi-1.0.0.orig/drivers/dome/baader_dome.cpp libindi-1.0.0/drivers/dome/baader_dome.cpp ---- libindi-1.0.0.orig/drivers/dome/baader_dome.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/dome/baader_dome.cpp 2015-02-21 22:02:05.831246565 +0200 -@@ -909,6 +909,7 @@ - return "Flap is in motion."; - break; - case FLAP_UNKNOWN: -+ default: - return "Flap status is unknown."; - break; + void WatchDog::TimerHit() +diff -Naur libindi_1.2.0.orig/drivers/filter_wheel/xagyl_wheel.cpp libindi_1.2.0/drivers/filter_wheel/xagyl_wheel.cpp +--- libindi_1.2.0.orig/drivers/filter_wheel/xagyl_wheel.cpp 2016-02-02 07:52:24.000000000 +0200 ++++ libindi_1.2.0/drivers/filter_wheel/xagyl_wheel.cpp 2016-06-19 23:25:59.679717628 +0300 +@@ -652,6 +652,8 @@ + INDI::FilterWheel::saveConfigItems(fp); + + IUSaveConfigText(fp, &PortTP); ++ ++ return true; + } + + bool XAGYLWheel::getStartupData() +diff -Naur libindi_1.2.0.orig/drivers/focuser/focuslynxbase.cpp libindi_1.2.0/drivers/focuser/focuslynxbase.cpp +--- libindi_1.2.0.orig/drivers/focuser/focuslynxbase.cpp 2016-02-02 07:52:24.000000000 +0200 ++++ libindi_1.2.0/drivers/focuser/focuslynxbase.cpp 2016-06-19 23:36:08.811559492 +0300 +@@ -360,6 +360,7 @@ + updateProperties(); } -diff -Naur libindi-1.0.0.orig/drivers/focuser/nfocus.cpp libindi-1.0.0/drivers/focuser/nfocus.cpp ---- libindi-1.0.0.orig/drivers/focuser/nfocus.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/focuser/nfocus.cpp 2015-02-20 22:47:58.686380271 +0200 -@@ -1328,5 +1328,6 @@ - IUSaveConfigNumber(fp, &SettingsNP); - IUSaveConfigNumber(fp, &SetBacklashNP); - IUSaveConfigNumber(fp, &InOutScalarNP); -+ return true; + } ++ return true; } -diff -Naur libindi-1.0.0.orig/drivers/focuser/steeldrive.cpp libindi-1.0.0/drivers/focuser/steeldrive.cpp ---- libindi-1.0.0.orig/drivers/focuser/steeldrive.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/focuser/steeldrive.cpp 2015-02-20 22:49:05.129369148 +0200 -@@ -678,6 +678,7 @@ - DEBUGF(INDI::Logger::DBG_ERROR, "Unknown error: updateAcceleration value (%s)", resp); - return false; - } -+ return true; + /************************************************************************************ +@@ -387,6 +388,7 @@ + setConnected(false, IPS_IDLE); + updateProperties(); + } ++ return true; } /************************************************************************************ -diff -Naur libindi-1.0.0.orig/drivers/focuser/tcfs.cpp libindi-1.0.0/drivers/focuser/tcfs.cpp ---- libindi-1.0.0.orig/drivers/focuser/tcfs.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/focuser/tcfs.cpp 2015-02-20 22:53:33.900266140 +0200 -@@ -160,6 +160,7 @@ - FocusRelPosN[0].value = 0; - DEBUG(INDI::Logger::DBG_DEBUG, "TCF-S detected. Updating maximum position value to 7000."); +@@ -2477,6 +2479,7 @@ + return false; } -+ return true; + } ++ return true; } - /**************************************************************** -@@ -202,6 +203,7 @@ - loadConfig(true); + /************************************************************************************ +diff -Naur libindi_1.2.0.orig/drivers/telescope/temmadriver.cpp libindi_1.2.0/drivers/telescope/temmadriver.cpp +--- libindi_1.2.0.orig/drivers/telescope/temmadriver.cpp 2016-02-02 07:52:24.000000000 +0200 ++++ libindi_1.2.0/drivers/telescope/temmadriver.cpp 2016-06-19 23:29:17.314263434 +0300 +@@ -973,6 +973,7 @@ + fprintf(stderr,"SetLst : %s",str); + tty_write(PortFD,str,strlen(str), &bytesWritten); // get lst - SetTimer(POLLMS); -+ return true; - } - else - { -@@ -209,7 +211,9 @@ - deleteProperty(FocusTemperatureNP->name); - deleteProperty(FocusPowerSP->name); - deleteProperty(FocusModeSP->name); -+ return false; - } + return true; } - /**************************************************************** -@@ -504,6 +508,7 @@ - else - MoveRelFocuser(FOCUS_OUTWARD, (unsigned int) fabs(delta)); - -+ return true; - } - int TCFS::MoveRelFocuser(FocusDirection dir, unsigned int ticks) -diff -Naur libindi-1.0.0.orig/drivers/telescope/lx200_16.cpp libindi-1.0.0/drivers/telescope/lx200_16.cpp ---- libindi-1.0.0.orig/drivers/telescope/lx200_16.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/telescope/lx200_16.cpp 2015-02-20 22:55:05.191557031 +0200 -@@ -61,6 +61,7 @@ - IUFillNumber(&HorizontalCoordsN[1], "AZ", "Az D:M:S", "%10.6m", 0.0, 360.0, 0.0, 0); - IUFillNumberVector(&HorizontalCoordsNP, HorizontalCoordsN, 2, getDeviceName(), "HORIZONTAL_COORD", "Horizontal Coord", MAIN_CONTROL_TAB, IP_RW, 0, IPS_IDLE); - -+ return true; - } - - void LX200_16::ISGetProperties (const char *dev) -@@ -100,6 +101,7 @@ - deleteProperty(FieldDeRotatorSP.name); - } - -+ return true; - } - - -@@ -150,6 +152,7 @@ - } - - LX200GPS::ISNewNumber (dev, name, values, names, n); -+ return true; - } - - bool LX200_16::ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) -diff -Naur libindi-1.0.0.orig/drivers/telescope/lx200ap.cpp libindi-1.0.0/drivers/telescope/lx200ap.cpp ---- libindi-1.0.0.orig/drivers/telescope/lx200ap.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/telescope/lx200ap.cpp 2015-02-20 22:55:38.145019438 +0200 -@@ -162,6 +162,7 @@ +@@ -989,6 +990,7 @@ } + fprintf(stderr,"\n"); - controller->updateProperties(); + return true; } - bool LX200AstroPhysics::ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) -diff -Naur libindi-1.0.0.orig/drivers/telescope/lx200autostar.cpp libindi-1.0.0/drivers/telescope/lx200autostar.cpp ---- libindi-1.0.0.orig/drivers/telescope/lx200autostar.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/telescope/lx200autostar.cpp 2015-02-21 21:54:34.909792639 +0200 -@@ -96,12 +96,14 @@ - // For Autostar, we have a different focus speed method - // Therefore, we don't need the classical one - deleteProperty(FocusModeSP.name); -+ return true; - - } - else - { - deleteProperty(VersionTP.name); - deleteProperty(FocusSpeedNP.name); -+ return true; - } - } - -diff -Naur libindi-1.0.0.orig/drivers/telescope/lx200classic.cpp libindi-1.0.0/drivers/telescope/lx200classic.cpp ---- libindi-1.0.0.orig/drivers/telescope/lx200classic.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/telescope/lx200classic.cpp 2015-02-21 21:56:02.518130985 +0200 -@@ -83,6 +83,7 @@ - IUFillNumber(&ElevationLimitN[0], "minAlt", "Speed", "%%+03f", -90.0, 90.0, 0.0, 0.0); - IUFillNumber(&ElevationLimitN[1], "maxAlt", "Speed", "%+03f", -90.0, 90.0, 0.0, 0.0); - IUFillNumberVector(&ElevationLimitNP, ElevationLimitN, 1, getDeviceName(), "Slew elevation Limit", "", MAIN_CONTROL_TAB, IP_RW, 0, IPS_IDLE); -+ return true; - } - - void LX200Classic::ISGetProperties (const char *dev) -@@ -118,6 +119,7 @@ - defineSwitch(&DeepSkyCatalogSP); - defineNumber(&ObjectNoNP); - defineNumber(&MaxSlewRateNP); -+ return true; - } - else - { -@@ -128,6 +130,7 @@ - deleteProperty(DeepSkyCatalogSP.name); - deleteProperty(ObjectNoNP.name); - deleteProperty(MaxSlewRateNP.name); -+ return true; - } - } - -diff -Naur libindi-1.0.0.orig/drivers/telescope/lx200gps.cpp libindi-1.0.0/drivers/telescope/lx200gps.cpp ---- libindi-1.0.0.orig/drivers/telescope/lx200gps.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/telescope/lx200gps.cpp 2015-02-20 22:58:20.015265616 +0200 -@@ -83,6 +83,7 @@ - IUFillNumber(&OTATempN[0], "Temp", "", "%03g", -200.0, 500.0, 0.0, 0); - IUFillNumberVector(&OTATempNP, OTATempN, 1, getDeviceName(), "OTA Temp (C)", "", GPS_TAB, IP_RO, 0, IPS_IDLE); - + bool TemmaMount::SetTemmaLattitude(double lat) +diff -Naur libindi_1.2.0.orig/drivers/weather/weathermeta.cpp libindi_1.2.0/drivers/weather/weathermeta.cpp +--- libindi_1.2.0.orig/drivers/weather/weathermeta.cpp 2016-02-02 07:52:24.000000000 +0200 ++++ libindi_1.2.0/drivers/weather/weathermeta.cpp 2016-06-19 23:32:09.480479983 +0300 +@@ -161,6 +161,7 @@ + deleteProperty(StationLP.name); + deleteProperty(UpdatePeriodNP.name); + } + return true; } - void LX200GPS::ISGetProperties (const char *dev) -diff -Naur libindi-1.0.0.orig/drivers/telescope/skywatcherAPIMount.cpp libindi-1.0.0/drivers/telescope/skywatcherAPIMount.cpp ---- libindi-1.0.0.orig/drivers/telescope/skywatcherAPIMount.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/telescope/skywatcherAPIMount.cpp 2015-02-21 21:57:03.465218389 +0200 -@@ -937,6 +937,7 @@ - - // Start the timer if we need one - // SetTimer(POLLMS); -+ return true; - } - else - { -@@ -950,6 +951,7 @@ - deleteProperty(AxisTwoStateV.name); - deleteProperty(AxisOneEncoderValuesV.name); - deleteProperty(AxisTwoEncoderValuesV.name); -+ return true; - } - } + bool WeatherMeta::ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) +diff -Naur libindi_1.2.0.orig/libs/webcam/v4l2_record/stream_recorder.cpp libindi_1.2.0/libs/webcam/v4l2_record/stream_recorder.cpp +--- libindi_1.2.0.orig/libs/webcam/v4l2_record/stream_recorder.cpp 2016-02-02 07:52:24.000000000 +0200 ++++ libindi_1.2.0/libs/webcam/v4l2_record/stream_recorder.cpp 2016-06-19 23:41:40.667826362 +0300 +@@ -108,6 +108,7 @@ + IUFillSwitch(&RecordStreamS[3], "RECORD_OFF", "Record Off", ISS_ON); + IUFillSwitchVector(&RecordStreamSP, RecordStreamS, NARRAY(RecordStreamS), getDeviceName(), "RECORD_STREAM", "Video Record", STREAM_TAB, IP_RW, ISR_1OFMANY, 0, IPS_IDLE); -diff -Naur libindi-1.0.0.orig/drivers/video/v4l2driver.cpp libindi-1.0.0/drivers/video/v4l2driver.cpp ---- libindi-1.0.0.orig/drivers/video/v4l2driver.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/drivers/video/v4l2driver.cpp 2015-02-21 21:58:58.703022167 +0200 -@@ -219,6 +219,7 @@ - - - if (v4l_base->isLXmodCapable()) lx->updateProperties(); -+ return true; - - } else - { -@@ -254,6 +255,7 @@ - - deleteProperty(RecordFileTP.name); - deleteProperty(RecordSP.name); -+ return true; - } - } - -diff -Naur libindi-1.0.0.orig/examples/tutorial_two/simplescope.cpp libindi-1.0.0/examples/tutorial_two/simplescope.cpp ---- libindi-1.0.0.orig/examples/tutorial_two/simplescope.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/examples/tutorial_two/simplescope.cpp 2015-02-20 23:01:23.002759789 +0200 -@@ -126,6 +126,7 @@ ++ return true; + } - addDebugControl(); + void StreamRecorder::ISGetProperties(const char *dev) +@@ -155,6 +156,7 @@ + return true; + } + return true; } - /************************************************************************************** -diff -Naur libindi-1.0.0.orig/libs/indibase/alignment/Common.h libindi-1.0.0/libs/indibase/alignment/Common.h ---- libindi-1.0.0.orig/libs/indibase/alignment/Common.h 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/libs/indibase/alignment/Common.h 2015-02-21 22:03:24.539262160 +0200 -@@ -165,6 +165,8 @@ - PrivateData.reset(new unsigned char[PrivateDataSize]); - memcpy(PrivateData.get(), RHS.PrivateData.get(), PrivateDataSize); - } -+ -+ return *this; - } - - double ObservationJulianDate; -diff -Naur libindi-1.0.0.orig/libs/indibase/indicontroller.cpp libindi-1.0.0/libs/indibase/indicontroller.cpp ---- libindi-1.0.0.orig/libs/indibase/indicontroller.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/libs/indibase/indicontroller.cpp 2015-02-20 23:03:54.480801234 +0200 -@@ -78,6 +78,7 @@ - - IUFillTextVector(&JoystickSettingTP, JoystickSettingT, JoystickSettingTP.ntp, device->getDeviceName(), "JOYSTICKSETTINGS", "Settings", "Joystick", IP_RW, 0, IPS_IDLE); - + void StreamRecorder::newFrame(unsigned char *buffer) +@@ -216,6 +218,7 @@ + bool StreamRecorder::setPixelFormat(uint32_t format) + { + direct_record = recorder->setpixelformat(format); + return true; } - void Controller::ISGetProperties(const char *dev) -@@ -245,6 +246,7 @@ - joystickCallbackFunc(setting, mag, angle, device); + bool StreamRecorder::uploadStream(uint8_t *buffer) +@@ -538,7 +541,7 @@ + return true; } +- + return true; } - -diff -Naur libindi-1.0.0.orig/libs/indibase/indidomeinterface.cpp libindi-1.0.0/libs/indibase/indidomeinterface.cpp ---- libindi-1.0.0.orig/libs/indibase/indidomeinterface.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/libs/indibase/indidomeinterface.cpp 2015-02-21 22:04:23.735835127 +0200 -@@ -440,6 +440,7 @@ - return "Shutter is in motion."; - break; - case SHUTTER_UNKNOWN: -+ default: - return "Shutter status is unknown."; - break; + bool StreamRecorder::ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) +@@ -560,6 +563,7 @@ + IDSetText (&RecordFileTP, NULL); + return true; } -diff -Naur libindi-1.0.0.orig/libs/indibase/indilogger.cpp libindi-1.0.0/libs/indibase/indilogger.cpp ---- libindi-1.0.0.orig/libs/indibase/indilogger.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/libs/indibase/indilogger.cpp 2015-02-21 22:06:54.732286598 +0200 -@@ -354,16 +354,27 @@ - @ param i which debugging to query its rank. The lower the rank, the more priority it is. - @ return rank of debugging level requested. - */ --unsigned int Logger::rank(unsigned int l) { -- switch(l) { -- case DBG_ERROR: return 0; -- case DBG_WARNING: return 1; -- case DBG_SESSION: return 2; -- case DBG_DEBUG: return 3; -- case DBG_EXTRA_1: return 4; -- case DBG_EXTRA_2: return 5; -- case DBG_EXTRA_3: return 6; -- case DBG_EXTRA_4: return 7; -+unsigned int Logger::rank(unsigned int l) -+{ -+ switch(l) -+ { -+ case DBG_ERROR: -+ return 0; -+ case DBG_WARNING: -+ return 1; -+ case DBG_SESSION: -+ return 2; -+ case DBG_EXTRA_1: -+ return 4; -+ case DBG_EXTRA_2: -+ return 5; -+ case DBG_EXTRA_3: -+ return 6; -+ case DBG_EXTRA_4: -+ return 7; -+ case DBG_DEBUG: -+ default: -+ return 3; - } ++ return true; } -diff -Naur libindi-1.0.0.orig/libs/lx/Lx.cpp libindi-1.0.0/libs/lx/Lx.cpp ---- libindi-1.0.0.orig/libs/lx/Lx.cpp 2015-02-15 10:52:24.000000000 +0200 -+++ libindi-1.0.0/libs/lx/Lx.cpp 2015-02-20 23:06:22.631785882 +0200 -@@ -437,6 +437,7 @@ - case 2: return "\n"; - case 3: return "\r\n"; - } -+ return NULL; + bool StreamRecorder::ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) +@@ -601,6 +605,7 @@ + IDSetNumber(&FramestoDropNP, NULL); + return true; + }*/ ++ return true; } - bool Lx::startLxSerial() { + bool StreamRecorder::setStream(bool enable)
