Hello community, here is the log from the commit of package libindi for openSUSE:Factory checked in at 2012-03-19 10:07:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libindi (Old) and /work/SRC/openSUSE:Factory/.libindi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libindi", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libindi/libindi.changes 2012-01-20 22:07:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libindi.new/libindi.changes 2012-03-19 10:08:19.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Mar 14 21:01:30 UTC 2012 - [email protected] + +- Added a patch (taken from Fedora) to fix compilation with gcc-4.7. + +------------------------------------------------------------------- New: ---- libindi-usleep.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libindi.spec ++++++ --- /var/tmp/diff_new_pack.Sei4X9/_old 2012-03-19 10:08:27.000000000 +0100 +++ /var/tmp/diff_new_pack.Sei4X9/_new 2012-03-19 10:08:27.000000000 +0100 @@ -16,6 +16,8 @@ # +%define so_ver 0 + Name: libindi Version: 0.9 Release: 0 @@ -23,11 +25,13 @@ License: GPL-2.0+ ; LGPL-2.1+ Group: Productivity/Scientific/Astronomy Url: http://www.indilib.org/ -Source0: http://prdownloads.sourceforge.net/indi/%{name}_%{version}.tar.gz +Source0: http://downloads.sourceforge.net/indi/%{name}_%{version}.tar.gz # PATCH-FIX-UPSTREAM no-return-in-nonvoid-function.patch [email protected] -- Fix "no-return-in-nonvoid-function" post-build check errors Patch0: no-return-in-nonvoid-function.patch # PATCH-FIX-UPSTREAM cfitsio_link_libs.patch [email protected] -- Add "pthread" in target_link_libraries where needed Patch1: cfitsio_link_libs.patch +# PATCH-FIX-UPSTREAM libindi-usleep.patch [email protected] -- Fix compilation with gcc-4.7 (taken from Fedora) +Patch2: libindi-usleep.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libcfitsio-devel @@ -35,7 +39,7 @@ BuildRequires: libnova-devel BuildRequires: libusb-devel BuildRequires: zlib-devel -Requires: libindi0 = %{version} +Requires: libindi%{so_ver} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -50,16 +54,16 @@ Summary: Development files for libindi Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libindi0 = %{version} +Requires: libindi%{so_ver} = %{version} %description devel This package contains development files for libindi. -%package -n libindi0 +%package -n libindi%{so_ver} Summary: Instrument Neutral Distributed Interface Group: System/Libraries -%description -n libindi0 +%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 @@ -71,6 +75,7 @@ %setup -q %patch0 %patch1 +%patch2 -p1 %build mkdir build @@ -87,9 +92,9 @@ %make_install cd .. -%post -n libindi0 -p /sbin/ldconfig +%post -n libindi%{so_ver} -p /sbin/ldconfig -%postun -n libindi0 -p /sbin/ldconfig +%postun -n libindi%{so_ver} -p /sbin/ldconfig %files %defattr(-,root,root,-) @@ -105,8 +110,8 @@ %{_libdir}/libindi.so %{_libdir}/libindi*.a -%files -n libindi0 +%files -n libindi%{so_ver} %defattr(-,root,root,-) -%{_libdir}/libindi.so.0* +%{_libdir}/libindi.so.%{so_ver}* %changelog ++++++ libindi-usleep.patch ++++++ diff -ur libindi-0.9/drivers/focuser/robofocus.cpp libindi-0.9.new/drivers/focuser/robofocus.cpp --- libindi-0.9/drivers/focuser/robofocus.cpp 2012-01-13 19:40:06.000000000 +0100 +++ libindi-0.9.new/drivers/focuser/robofocus.cpp 2012-01-24 23:34:02.814667216 +0100 @@ -25,6 +25,7 @@ #include <termios.h> #include <string.h> #include <sys/time.h> +#include <unistd.h> #define RF_MAX_CMD 9 #define RF_TIMEOUT 15 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
