Hello community, here is the log from the commit of package libindi for openSUSE:Factory checked in at 2017-06-01 16:30:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libindi (Old) and /work/SRC/openSUSE:Factory/.libindi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libindi" Thu Jun 1 16:30:56 2017 rev:29 rq:493209 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libindi/libindi.changes 2017-01-24 10:39:32.370109735 +0100 +++ /work/SRC/openSUSE:Factory/.libindi.new/libindi.changes 2017-06-01 16:30:56.834244070 +0200 @@ -1,0 +2,66 @@ +Wed Mar 15 20:53:06 UTC 2017 - asterios.dramis@gmail.com + +- Update to version 1.4.1: + * Minor bugfix release to fix installation of development headers + issue in 1.4.0. + From version 1.4.0: + * Support for HitecAstro DC Focuser. + * Support for SQL-LE Sky Quality Meter unit. + * Support for USB Focus V3. + * Support for Quantum Filter Wheel. + * Support for 10micron mounts. + * ZWO ASI filter wheel support. Driver updated to latest SDK. Fix + infinite loop exposure. + * QHY driver updated to latest SDK. + * Added preliminary support to TCP server connection for all + mounts. + * Updated and improved Nexstar Evo driver. + * Fixed reset of filter wheel names to default values under some + circumstances. + * Fixed feedback loop issue in chained INDI server. + * Handle correctly broken frames in FLI driver; convert time left + from ms to seconds as it should be. + * V4L2 CCD driver updated to properly work with DMK cameras. + * Several bugfixes for Moravian CCD driver. + * CCD Simulator allows for up to 4096x4096 resolution. + * Raw color video streaming now uses RGB24 instead of RGBA to + conserve bandwidth. + * New Dome and Mount safety interlocks mechanism. + * Fix the Virtuoso mount detection in SkyWatcherMountAPI driver. + * Support relative driver paths to INDI server. + * Fix property cache collision conflict in case of multiple + devices per driver. + * Moonlite driver can now sync to any value instead of reset to + zero. + * Store OBJECTRA and OBJECTDEC as sexigesimal strings. + * New Axis Lock feature to limit joystick to specific motion + axis. + * INDI server now reaps zombie processes as they appear. + * EQMod support for AUX encoder values. ST4 Guide Rates settings. + PPEC Switches. + * Fix for TELESCOPE_PIER_SIDE implementation in EQMod driver. + * Several fixes for Pulsar2 driver. + * Fix SER file generation for color frames. Added timestamps for + each recorded frame. Support subframed video streams. + * Debug and Logging options can be saved in the config file. + * New CCD_TRANSFER_FORMAT property. + * libindi can now be compiled under MacOS and Cygwin. Non-Linux + specific 3rd party drivers are also supported under MacOS and + Cygwin. + * When a request for snooped is sent, it is echoed to drivers so + that they send the snopped value immediately if it exists. + * libindi shared library is dropped. libindi now offsers + indidriver (shared), indiclient (static), and indiclientqt5 + (static) libraries. + * Legacy drivers removed: SkyCommander, Intelliscope, MagellanI, + TruTech, SBIG STV. +- Added new subpackage libindi-plugins. +- libindi1 was dropped from the package source. Obsolete it in + libindi-plugins in order to fix conflicts due to %{_libdir}/indi/ + previously contained in libindi1. +- Removed libindi-generate-tarball.sh script (not needed anymore). +- Removed no-return-in-nonvoid-function.patch (fixed upstream). +- Added a patch (bufferoverflow.patch) to fix "Statement is + overflowing a buffer" post-build check errors. + +------------------------------------------------------------------- Old: ---- libindi-1.3.1.tar.gz libindi-generate-tarball.sh no-return-in-nonvoid-function.patch New: ---- bufferoverflow.patch libindi_1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libindi.spec ++++++ --- /var/tmp/diff_new_pack.nmxJDX/_old 2017-06-01 16:30:58.334032600 +0200 +++ /var/tmp/diff_new_pack.nmxJDX/_new 2017-06-01 16:30:58.338032036 +0200 @@ -17,26 +17,18 @@ %define so_ver 1 - %define _udevdir %(pkg-config --variable udevdir udev) Name: libindi -Version: 1.3.1 +Version: 1.4.1 Release: 0 Summary: Instrument Neutral Distributed Interface License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Scientific/Astronomy Url: http://www.indilib.org/ -# Grab the release tar from: -# https://github.com/indilib/indi/releases -# Then execute the libindi-generate-tarball.sh script followed by the release number, e.g.: -# ./libindi-generate-tarball.sh 1.3.1 -# to generate a clean tar containing only the library -# Finally remove the downloaded tar -Source0: %{name}-%{version}.tar.gz -Source100: libindi-generate-tarball.sh -# 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 +Source0: https://github.com/indilib/indi/releases/download/v%{version}/%{name}_%{version}.tar.gz +# PATCH-FIX-UPSTREAM bufferoverflow.patch asterios.dramis@gmail.com -- Fix "Statement is overflowing a buffer" post-build check errors +Patch0: bufferoverflow.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gsl-devel @@ -49,7 +41,7 @@ BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(udev) -Requires: libindi%{so_ver} = %{version} +Requires: libindi-plugins = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -64,24 +56,20 @@ Summary: Development files for libindi Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libindi%{so_ver} = %{version} Requires: libindiAlignmentDriver%{so_ver} = %{version} Requires: libindidriver%{so_ver} = %{version} %description devel This package contains development files for libindi. -%package -n libindi%{so_ver} -Summary: Instrument Neutral Distributed Interface -Group: System/Libraries +%package plugins +Summary: Plugins for libindi +Group: Productivity/Scientific/Astronomy +# libindi1 was last used at version 1.3.1 +Obsoletes: libindi1 < %{version} -%description -n libindi%{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. +%description plugins +This package contains plugins for libindi. %package -n libindiAlignmentDriver%{so_ver} Summary: Instrument Neutral Distributed Interface @@ -108,7 +96,7 @@ completely dynamic GUI based on the services provided by the device. %prep -%setup -q +%setup -q -n %{name} %patch0 -p1 %build @@ -128,10 +116,6 @@ %install %cmake_install -%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 @@ -155,10 +139,10 @@ %{_libdir}/libindi*.so %{_libdir}/libindi*.a -%files -n libindi%{so_ver} +%files plugins %defattr(-,root,root,-) +%doc COPYING.GPL COPYING.LGPL LICENSE %{_libdir}/indi/ -%{_libdir}/libindi.so.%{so_ver}* %files -n libindiAlignmentDriver%{so_ver} %defattr(-,root,root,-) ++++++ bufferoverflow.patch ++++++ Index: libindi/drivers/focuser/usbfocusv3.cpp =================================================================== --- libindi.orig/drivers/focuser/usbfocusv3.cpp +++ libindi/drivers/focuser/usbfocusv3.cpp @@ -943,7 +943,7 @@ bool USBFocusV3::setTemperatureCompensat { int nbytes_written=0, rc=-1; char errstr[MAXRBUF]; - char cmd[UFOCTCLEN]; + char cmd[UFOCTCLEN+1]; if (enable) snprintf(cmd, UFOCTCLEN+1, "%s", UFOCSETAUTO);