Hello community, here is the log from the commit of package libev for openSUSE:Factory checked in at 2012-08-08 11:11:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libev (Old) and /work/SRC/openSUSE:Factory/.libev.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libev", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libev/libev.changes 2011-11-16 17:19:19.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libev.new/libev.changes 2012-08-08 11:11:40.000000000 +0200 @@ -1,0 +2,76 @@ +Sat Jul 7 14:38:42 UTC 2012 - [email protected] + +- update to version 4,11 + - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending + status, as was documented already, but not implemented in the + repeating case. + - new compiletime symbols: EV_NO_SMP and EV_NO_THREADS. + - fix a race where the workaround against the epoll fork bugs + caused signals to not be handled anymore. + - correct backend_fudge for most backends, and implement a + windows specific workaround to avoid looping because we call + both select and Sleep, both with different time resolutions. + - document range and guarantees of ev_sleep. + - document reasonable ranges for periodics interval and offset. + - rename backend_fudge to backend_mintime to avoid future + confusion :) + - change the default periodic reschedule function to hopefully + be more exact and correct even in corner cases or in the far + future. + - do not rely on -lm anymore: use it when available but use our + own floor () if it is missing. This should make it easier to + embed, as no external libraries are required. + - strategically import macros from libecb and mark rarely-used + functions as cache-cold (saving almost 2k code size on typical + amd64 setups). + - add Symbols.ev and Symbols.event files, that were missing. + - fix backend_mintime value for epoll (was 1/1024, is 1/1000 now). + - fix #3 "be smart about timeouts" to not "deadlock" when + timeout == now, also improve the section overall. + - avoid "AVOIDING FINISHING BEFORE RETURNING" idiom. + - support new EV_API_STATIC mode to make all libev symbols + static. + - supply default CFLAGS of -g -O3 with gcc when original CFLAGS + were empty. +- generate .pc manually to avoid having to regenerate the patch + (that is not accepted upstream) and autoreconf call + +------------------------------------------------------------------- +Fri Dec 16 12:01:39 UTC 2011 - [email protected] + +- update to version 4.04 + - fix two problems in the native win32 backend, where reuse of fd's + with different underlying handles caused handles not to be removed + or added to the select set (analyzed and tested by Bert Belder). + - do no rely on ceil() in ev_e?poll.c. + - backport libev to HP-UX versions before 11 v3. + - configure did not detect nanosleep and clock_gettime properly when + they are available in the libc (as opposed to -lrt). +- update to version 4.03 + - officially support polling files with all backends. + - support files, /dev/zero etc. the same way as select in the epoll + backend, by generating events on our own. + - ports backend: work around solaris bug 6874410 and many related ones + (EINTR, maybe more), with no performance loss (note that the solaris + bug report is actually wrong, reality is far more bizarre and broken + than that). + - define EV_READ/EV_WRITE as macros in event.h, as some programs use + #ifdef to test for them. + - new (experimental) function: ev_feed_signal. + - new (to become default) EVFLAG_NOSIGMASK flag. + - new EVBACKEND_MASK symbol. + - updated COMMON IDIOMS SECTION. + +------------------------------------------------------------------- +Fri Dec 16 10:13:55 UTC 2011 - [email protected] + +- explicit specify package group for subpackages to fix SLE build + "error: Group field must be present in package: libev4" +- BuildRequire pkgconfig instead of pkg-config to be more compatible + +------------------------------------------------------------------- +Thu Dec 8 13:59:12 UTC 2011 - [email protected] + +- license seems to be BSD-2-Clause + +------------------------------------------------------------------- Old: ---- libev-3.9_pkg-config.patch libev-4.01.tar.bz2 libev_4.01-0.1.diff.gz libev_4.01-0.1.dsc libev_4.01.orig.tar.gz New: ---- libev-4.11.tar.gz libev.pc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libev.spec ++++++ --- /var/tmp/diff_new_pack.GFlrRB/_old 2012-08-08 11:11:41.000000000 +0200 +++ /var/tmp/diff_new_pack.GFlrRB/_new 2012-08-08 11:11:41.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package libev (Version 3.9) +# spec file for package libev # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,98 +15,80 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: libev -Version: 4.01 +Version: 4.11 Release: 0 # -License: BSD +Summary: A full-featured and high-performance event loop library +License: BSD-2-Clause Group: Development/Libraries/C and C++ # -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# Url: http://software.schmorp.de/pkg/libev.html -Source: http://dist.schmorp.de/%{name}/%{name}-%{version}.tar.bz2 -Patch: libev-4.00_compiler_warnings.patch -Patch1: libev-3.9_pkg-config.patch +Source: http://dist.schmorp.de/%{name}/%{name}-%{version}.tar.gz +# Upstream has received patches to add pkg-config support for years but it always ignored them (yes, no answer at all). But since every distribution creates it we just follow. +Source1: libev.pc +# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines +Patch0: libev-4.00_compiler_warnings.patch # -BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig # -Summary: A full-featured and high-performance event loop library +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build + %description A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs. It is used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode packages. - -Authors: ---------- - - Marc Lehmann - - Emanuele Giaquinta - %define library_name libev4 %package -n %{library_name} -Group: Development/Libraries/C and C++ # Summary: A full-featured and high-performance event loop library +Group: Development/Libraries/C and C++ + %description -n %{library_name} A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs. It is used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode packages. - This package holds the shared libraries of libev. - -Authors: ---------- - - Marc Lehmann - - Emanuele Giaquinta - - %package devel -Group: Development/Libraries/C and C++ -Requires: %{library_name} = %{version} # Summary: Development files for libev +Group: Development/Libraries/C and C++ +Requires: %{library_name} = %{version} + %description devel A full-featured and high-performance event loop that is loosely modelled after libevent, but without its limitations and bugs. It is used, among others, in the GNU Virtual Private Ethernet and rxvt-unicode packages. - This package holds the development files for libev. - -Authors: ---------- - - Marc Lehmann - - Emanuele Giaquinta - - %prep -%setup -%patch -%patch1 +%setup -q +%patch0 +sed -i 's;@prefix@;%{_prefix};' %{SOURCE1} +sed -i 's;@lib_suffix@;%{_lib};' %{SOURCE1} +sed -i 's;@VERSION@;%{version};' %{SOURCE1} %build -export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused" -autoreconf -fi +orig_CFLAGS=1; export orig_CFLAGS +CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused" %configure --disable-static -%{__make} +make %{?_smp_mflags} %check -%{__make} check +make check %install %makeinstall -%{__rm} -v %{buildroot}%{_libdir}/libev.la -%clean -%{__rm} -rf %{buildroot} +rm -v %{buildroot}%{_libdir}/libev.la +mkdir -p %{buildroot}%{_libdir}/pkgconfig +cp %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/libev.pc %post -n %{library_name} -p /sbin/ldconfig ++++++ libev.pc ++++++ prefix=@prefix@ exec_prefix=${prefix} libdir=${exec_prefix}/@lib_suffix@ includedir=${prefix}/include Name: libev Description: high-performance event loop Version: @VERSION@ Libs: -L${libdir} -lev Cflags: -I${includedir} -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
