Accepting request 130355 from server:http

- 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.

OBS-URL: https://build.opensuse.org/request/show/130355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libev?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2012-08-08 09:11:32 +00:00 committed by Git OBS Bridge
parent 0c98393600
commit b643507047
9 changed files with 120 additions and 123 deletions

View File

@ -1,36 +0,0 @@
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -14,5 +14,5 @@ fi
m4_include([libev.m4])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile libev.pc])
AC_OUTPUT
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -16,3 +16,5 @@ lib_LTLIBRARIES = libev.la
libev_la_SOURCES = ev.c event.c
libev_la_LDFLAGS = -version-info $(VERSION_INFO)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libev.pc
Index: libev.pc.in
===================================================================
--- /dev/null
+++ libev.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libev
+Description: high-performance event loop
+Version: @VERSION@
+Libs: -L${libdir} -lev
+Cflags: -I${includedir}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dce030a5bd6ea3211ed1ef15590a7bfad87c7bb097fae491fd46b0ff9ba79792
size 346821

3
libev-4.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f55f16ff6e4d60a1b1fa7f4962af69768468f0d7c362aab6387f52020938cdf
size 484766

View File

@ -1,3 +1,79 @@
-------------------------------------------------------------------
Sat Jul 7 14:38:42 UTC 2012 - reddwarf@opensuse.org
- 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 - stbuehler@web.de
- 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 - sweet_f_a@gmx.de
- 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 - coolo@suse.com
- license seems to be BSD-2-Clause
-------------------------------------------------------------------
Sun Nov 13 09:16:12 UTC 2011 - coolo@suse.com

10
libev.pc Normal file
View File

@ -0,0 +1,10 @@
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}

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b65c194054c5ea21edeb7c7ef8ac0f3a542f7d14a7fd82d0577c0c8793943168
size 5212

View File

@ -1,29 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.0
Source: libev
Binary: libev-dev, libev-libevent-dev, libev4
Architecture: any
Version: 1:4.01-0.1
Maintainer: Robert S. Edmonds <edmonds@debian.org>
Homepage: http://libev.schmorp.de/
Standards-Version: 3.9.1
Build-Depends: dpkg-dev (>= 1.14.9), debhelper (>= 7), quilt (>= 0.46-4.1), autoconf, autotools-dev, automake, libtool, perl
Checksums-Sha1:
c1d78fd00800fca8ecf3af2c23fb9ad39119d78b 466183 libev_4.01.orig.tar.gz
cb7c4c5b94d10fff56bda93ba7ddbddd48e486fd 5212 libev_4.01-0.1.diff.gz
Checksums-Sha256:
41d468fee312bbc3f63298d563b104b0b12bf181d431976c1f97d4b8ccb50b78 466183 libev_4.01.orig.tar.gz
b65c194054c5ea21edeb7c7ef8ac0f3a542f7d14a7fd82d0577c0c8793943168 5212 libev_4.01-0.1.diff.gz
Files:
2a6e0d3d7eda7d54b39f3800b8279707 466183 libev_4.01.orig.tar.gz
15b6041ff17293dcaf7c55b35213a1ff 5212 libev_4.01-0.1.diff.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkzVLHIACgkQgBIc0keWidgSEgCgp1r2L3OITQs9WYMIYmrzzeDR
VdMAn2/20y11MQrpDngfm/1G4h7eqBj+
=E5im
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41d468fee312bbc3f63298d563b104b0b12bf181d431976c1f97d4b8ccb50b78
size 466183