Hello community,
here is the log from the commit of package libindi for openSUSE:Factory checked in at 2015-02-24 13:02:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2014-02-02 18:16:15.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libindi.new/libindi.changes 2015-02-24 13:06:51.000000000 +0100
@@ -1,0 +2,87 @@
+Sat Feb 21 20:22:30 UTC 2015 - asterios.dramis@gmail.com
+
+- Update to version 1.0.0:
+ * 3rdparty: Support for QHY CCDs and CFWs (BETA).
+ * 3rdparty: Support for Meade DSI (BETA).
+ * 3rdparty: Support for FFMV cameras.
+ * Support for STAR2000.
+ * Support for Baader dome.
+ * Support for Baader SteelDrive focuser.
+ * Support for dome slaving (BETA).
+ * Subframing and debayer support in GPhoto driver.
+ * Improved CFW handling and external tracking CCD for SBIG CCDs.
+ * Add debayer support for color cameras with user-configurable
+ options. Debayer is performed at the client level.
+ * Fixed deinterlacing and subframing support in Starlight Xpress
+ drivers.
+ * Fixed issues with joystick support in some drivers. Added
+ joystick support to focuser and filter wheels.
+ * Improvements in generation of FITS header.
+ * Improvement in performance of some drivers under SBCs like
+ Raspberry PI.
+ * Added fan and readout speed controls to QSI CCD.
+ * Fixed locale issue in INDI driver.
+ * Fixed regression in LX200Basic driver.
+ * Fixed issue with INDI Server resetting environment variable for
+ skeleton and config files.
+ * Various fixes for loading/saving of user configuration.
+ From version 0.9.9:
+ * Thread-safe INDI Library.
+ * Support for Rigelsys NFocus Focuser driver.
+ * 3rdparty: Additional VID/PID for QHY.
+ * 3rdparty: added USB Bandiwdth control for ZWO Optical cameras.
+ * 3rdparty: Updated and improved INDI Apogee driver and Apogee
+ Library major update.
+ * 3rdparty: Live preview support for GPhoto driver. Tested on
+ Canon.
+ * 3rdparty: Various bugfixes and improvements in INDI SBIG driver
+ including working guide chip support.
+ * 3rdparty: Fixed time drift error in EQMod. Added Horizon
+ limits. Added Backlash comp.
+ * Updated and improved Image Agent.
+ * Improved Astrophysics driver support.
+ * Fixed location bug in Celestron GPS driver.
+ * Additional information in FITS header such as filter name.
+ * Joystick support for focuser and filter wheel devices.
+ * Added option to enable local & remote save for FITS images in
+ all CCD drivers.
+ * Older V4L driver is deprecated (indi_v4l_legacy) and is
+ replaced by indi_v4l2_ccd
+ * V4L2: added recording (SER files) for use with Registax
+ * V4L2: added RGGB & UYVY pixel format support to V4L2 drivers.
+ * V4L2: fixed LX long exposure times.
+ * Updated and improved tutorials.
+ * Fixed few OSX compatibility issues.
+ * Various bug fixes and improvements.
+ From version 0.9.8:
+ * Support for Telescope Alignment Subsystem Infrastructure. This
+ includes an implementation of Markley's singular value
+ decomposition (SVD) based algorithm for the computation of
+ sky/telescope coordinate conversion transforms, in addition to
+ multiple plugin support.
+ * Suppprt for SkyWatcherAPI Mount with Alignment Subsystem.
+ * Support for ZWO Optics ASI Cameras (3rd party)
+ * Support for AAG Cloud Watcher station (3rd Party).
+ * Support for MoonLite focusers.
+ * Support for Fishcamp CCDs (3rd Party).
+ * Support for Imager Agent.
+ * Improved EQMod driver including custom parking position.
+ * New and updated Astrophysics mount driver.
+ * New and updated QHY CCD Driver (3rd Party).
+ * New and improved GPhoto driver to support DSLRs.
+ * New and updated Video4Linux CCD Driver including support for
+ long exposures (LX) and Imaging Source cameras.
+ * New and improved Apogee CCD driver.
+ * Improved support for SBIG CCDs including ST-I.
+ * Updated and improved TCFS Focuser drivers.
+ * Drivers migrated to libusb 1.0 framework.
+ * Rapid Guide Support for CCD Drivers.
+ * Improved compatibility with Mac OSX including INDI Server and
+ GUI.
+ * Various bug fixes and improvements.
+- Added new build requirements gsl-devel and libjpeg-devel.
+- Adjust no-return-in-nonvoid-function.patch for this release
+ (patch upstream).
+- Removed libindi-aarch64.patch (fixed upstream).
+
+-------------------------------------------------------------------
Old:
----
libindi-aarch64.patch
libindi_0.9.7.tar.gz
New:
----
libindi_1.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libindi.spec ++++++
--- /var/tmp/diff_new_pack.OxqofP/_old 2015-02-24 13:06:52.000000000 +0100
+++ /var/tmp/diff_new_pack.OxqofP/_new 2015-02-24 13:06:52.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libindi
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -16,12 +16,12 @@
#
-%define so_ver 0
+%define so_ver 1
%define _udevdir %(pkg-config --variable udevdir udev)
Name: libindi
-Version: 0.9.7
+Version: 1.0.0
Release: 0
Summary: Instrument Neutral Distributed Interface
License: GPL-2.0+ and LGPL-2.1+
@@ -30,12 +30,12 @@
Source0: http://downloads.sourceforge.net/indi/%{name}_%{version}.tar.gz
# PATCH-FIX-UPSTREAM no-return-in-nonvoid-function.patch asterios.dramis@gmail.com -- Fix "no-return-in-nonvoid-function" post-build check errors
Patch0: no-return-in-nonvoid-function.patch
-# PATCH-FIX-UPSTREAM libindi-aarch64.patch schwab@suse.de -- No port I/O on aarch64
-Patch2: libindi-aarch64.patch
BuildRequires: cmake
BuildRequires: gcc-c++
+BuildRequires: gsl-devel
BuildRequires: libcfitsio-devel
BuildRequires: libfli-devel
+BuildRequires: libjpeg-devel
BuildRequires: libnova-devel
%if 0%{?suse_version} >= 1140
BuildRequires: pkgconfig(udev)
@@ -61,6 +61,7 @@
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libindi%{so_ver} = %{version}
+Requires: libindiAlignmentDriver%{so_ver} = %{version}
Requires: libindidriver%{so_ver} = %{version}
Requires: libindimain%{so_ver} = %{version}
@@ -79,6 +80,18 @@
capabilities and communicate with the device drivers and build a
completely dynamic GUI based on the services provided by the device.
+%package -n libindiAlignmentDriver%{so_ver}
+Summary: Instrument Neutral Distributed Interface
+Group: System/Libraries
+
+%description -n libindiAlignmentDriver%{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.
+
%package -n libindidriver%{so_ver}
Summary: Instrument Neutral Distributed Interface
Group: System/Libraries
@@ -106,7 +119,6 @@
%prep
%setup -q
%patch0 -p1
-%patch2 -p1
%build
mkdir build
@@ -123,14 +135,16 @@
cd ..
%install
-cd build
-make DESTDIR=%{buildroot} install
-cd ..
+make DESTDIR=%{buildroot} install -C build
%post -n libindi%{so_ver} -p /sbin/ldconfig
%postun -n libindi%{so_ver} -p /sbin/ldconfig
+%post -n libindiAlignmentDriver%{so_ver} -p /sbin/ldconfig
+
+%postun -n libindiAlignmentDriver%{so_ver} -p /sbin/ldconfig
+
%post -n libindidriver%{so_ver} -p /sbin/ldconfig
%postun -n libindidriver%{so_ver} -p /sbin/ldconfig
@@ -156,8 +170,13 @@
%files -n libindi%{so_ver}
%defattr(-,root,root,-)
+%{_libdir}/indi/
%{_libdir}/libindi.so.%{so_ver}*
+%files -n libindiAlignmentDriver%{so_ver}
+%defattr(-,root,root,-)
+%{_libdir}/libindiAlignmentDriver.so.%{so_ver}*
+
%files -n libindidriver%{so_ver}
%defattr(-,root,root,-)
%{_libdir}/libindidriver.so.%{so_ver}*
++++++ libindi_0.9.7.tar.gz -> libindi_1.0.0.tar.gz ++++++
++++ 52416 lines of diff (skipped)
++++++ no-return-in-nonvoid-function.patch ++++++
--- /var/tmp/diff_new_pack.OxqofP/_old 2015-02-24 13:06:53.000000000 +0100
+++ /var/tmp/diff_new_pack.OxqofP/_new 2015-02-24 13:06:53.000000000 +0100
@@ -1,7 +1,18 @@
-diff -Naur libindi-0.9.7.orig/drivers/auxiliary/joystickdriver.cpp libindi-0.9.7/drivers/auxiliary/joystickdriver.cpp
---- libindi-0.9.7.orig/drivers/auxiliary/joystickdriver.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/drivers/auxiliary/joystickdriver.cpp 2014-02-01 19:46:41.003128771 +0100
-@@ -107,6 +107,7 @@
+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);
+ }
+
+ 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(obj)->active) reinterpret_cast(obj)->readEv();
@@ -9,21 +20,78 @@
}
void JoyStickDriver::readEv()
-diff -Naur libindi-0.9.7.orig/drivers/focuser/robofocus.cpp libindi-0.9.7/drivers/focuser/robofocus.cpp
---- libindi-0.9.7.orig/drivers/focuser/robofocus.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/drivers/focuser/robofocus.cpp 2014-02-01 18:54:44.582089395 +0100
-@@ -1524,5 +1524,8 @@
- IUSaveConfigText(fp, &PortTP);
+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;
+ }
+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;
-+
}
-diff -Naur libindi-0.9.7.orig/drivers/telescope/lx200_16.cpp libindi-0.9.7/drivers/telescope/lx200_16.cpp
---- libindi-0.9.7.orig/drivers/telescope/lx200_16.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/drivers/telescope/lx200_16.cpp 2014-02-01 19:33:07.808295105 +0100
+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;
+ }
+
+ /************************************************************************************
+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.");
+ }
++ return true;
+ }
+
+ /****************************************************************
+@@ -202,6 +203,7 @@
+ loadConfig(true);
+
+ 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);
@@ -32,16 +100,15 @@
}
void LX200_16::ISGetProperties (const char *dev)
-@@ -99,7 +100,7 @@
- deleteProperty(HomeSearchSP.name);
+@@ -100,6 +101,7 @@
deleteProperty(FieldDeRotatorSP.name);
}
--
+
+ return true;
}
-@@ -150,6 +151,7 @@
+@@ -150,6 +152,7 @@
}
LX200GPS::ISNewNumber (dev, name, values, names, n);
@@ -49,9 +116,20 @@
}
bool LX200_16::ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
-diff -Naur libindi-0.9.7.orig/drivers/telescope/lx200autostar.cpp libindi-0.9.7/drivers/telescope/lx200autostar.cpp
---- libindi-0.9.7.orig/drivers/telescope/lx200autostar.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/drivers/telescope/lx200autostar.cpp 2014-02-01 19:00:51.852497883 +0100
+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 @@
+ }
+
+ 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
@@ -63,23 +141,22 @@
{
deleteProperty(VersionTP.name);
deleteProperty(FocusSpeedNP.name);
-+ return false;
++ return true;
}
}
-diff -Naur libindi-0.9.7.orig/drivers/telescope/lx200classic.cpp libindi-0.9.7/drivers/telescope/lx200classic.cpp
---- libindi-0.9.7.orig/drivers/telescope/lx200classic.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/drivers/telescope/lx200classic.cpp 2014-02-01 19:02:06.741561641 +0100
-@@ -83,6 +83,8 @@
+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 +120,7 @@
+@@ -118,6 +119,7 @@
defineSwitch(&DeepSkyCatalogSP);
defineNumber(&ObjectNoNP);
defineNumber(&MaxSlewRateNP);
@@ -87,17 +164,17 @@
}
else
{
-@@ -128,6 +131,7 @@
+@@ -128,6 +130,7 @@
deleteProperty(DeepSkyCatalogSP.name);
deleteProperty(ObjectNoNP.name);
deleteProperty(MaxSlewRateNP.name);
-+ return false;
++ return true;
}
}
-diff -Naur libindi-0.9.7.orig/drivers/telescope/lx200gps.cpp libindi-0.9.7/drivers/telescope/lx200gps.cpp
---- libindi-0.9.7.orig/drivers/telescope/lx200gps.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/drivers/telescope/lx200gps.cpp 2014-02-01 19:02:43.212105697 +0100
+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);
@@ -106,21 +183,71 @@
}
void LX200GPS::ISGetProperties (const char *dev)
-diff -Naur libindi-0.9.7.orig/examples/tutorial_two/simplescope.cpp libindi-0.9.7/examples/tutorial_two/simplescope.cpp
---- libindi-0.9.7.orig/examples/tutorial_two/simplescope.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/examples/tutorial_two/simplescope.cpp 2014-02-01 19:03:24.929584156 +0100
-@@ -118,6 +118,7 @@
- INDI::Telescope::initProperties();
+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;
+ }
+ }
+
+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 @@
addDebugControl();
+
+ return true;
}
/**************************************************************************************
-diff -Naur libindi-0.9.7.orig/libs/indibase/indicontroller.cpp libindi-0.9.7/libs/indibase/indicontroller.cpp
---- libindi-0.9.7.orig/libs/indibase/indicontroller.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/libs/indibase/indicontroller.cpp 2014-02-01 19:04:46.940558878 +0100
-@@ -65,6 +65,7 @@
+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);
@@ -128,22 +255,74 @@
}
void Controller::ISGetProperties(const char *dev)
-@@ -228,6 +229,7 @@
- joystickCallbackFunc(setting, mag, angle);
+@@ -245,6 +246,7 @@
+ joystickCallbackFunc(setting, mag, angle, device);
}
+ return true;
}
-diff -Naur libindi-0.9.7.orig/libs/indibase/indilogger.cpp libindi-0.9.7/libs/indibase/indilogger.cpp
---- libindi-0.9.7.orig/libs/indibase/indilogger.cpp 2013-11-15 19:26:49.000000000 +0100
-+++ libindi-0.9.7/libs/indibase/indilogger.cpp 2014-02-01 19:05:50.549763654 +0100
-@@ -360,6 +360,7 @@
- case DBG_EXTRA_3: return 6;
- case DBG_EXTRA_4: return 7;
+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;
+ }
+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;
}
- void Logger::print(const char *devicename,
+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 Lx::startLxSerial() {
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org