Accepting request 60030 from server:http

Accepted submit request 60030 from user oertel

OBS-URL: https://build.opensuse.org/request/show/60030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libev?expand=0&rev=1
This commit is contained in:
Marcus Rückert 2011-02-15 16:34:50 +00:00 committed by Git OBS Bridge
commit 32ada332f5
10 changed files with 382 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

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

@ -0,0 +1,24 @@
Index: ev.c
===================================================================
--- ev.c.orig
+++ ev.c
@@ -2629,7 +2629,7 @@ ev_io_start (EV_P_ ev_io *w)
array_needsize (ANFD, anfds, anfdmax, fd + 1, array_init_zero);
wlist_add (&anfds[fd].head, (WL)w);
- fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
+ fd_change (EV_A_ fd, (w->events & EV__IOFDSET) | EV_ANFD_REIFY);
w->events &= ~EV__IOFDSET;
EV_FREQUENT_CHECK;
@@ -3856,8 +3856,8 @@ ev_walk (EV_P_ int types, void (*cb)(EV_
wl = wn;
}
#endif
-/* EV_STAT 0x00001000 /* stat data changed */
-/* EV_EMBED 0x00010000 /* embedded event loop needs sweep */
+/* EV_STAT 0x00001000 *//* stat data changed */
+/* EV_EMBED 0x00010000 *//* embedded event loop needs sweep */
}
#endif

3
libev-4.01.tar.bz2 Normal file
View File

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

128
libev.changes Normal file
View File

@ -0,0 +1,128 @@
-------------------------------------------------------------------
Sat Nov 6 09:21:44 UTC 2010 - stbuehler@web.de
- build-require pkg-config to provide pkgconfig(libev)
- update to version 4.01
- automake fucked it up, apparently, --add-missing -f is not quite enough
to make it update its files, so 4.00 didn't install ev++.h and
event.h on make install. grrr.
- ev_loop(count|depth) didn't return anything (Robin Haberkorn).
- change EV_UNDEF to 0xffffffff to silence some overzealous compilers.
- use "(libev) " prefix for all libev error messages now.
-------------------------------------------------------------------
Mon Oct 25 12:57:26 UTC 2010 - mrueckert@suse.de
- update to version 4.00
- "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended
reading.
- ev_embed_stop did not correctly stop the watcher (very good
testcase by Vladimir Timofeev).
- ev_run will now always update the current loop time - it
erroneously didn't when idle watchers were active, causing
timers not to fire.
- fix a bug where a timeout of zero caused the timer not to fire
in the libevent emulation (testcase by Péter Szabó).
- applied win32 fixes by Michael Lenaghan (also James Mansion).
- replace EV_MINIMAL by EV_FEATURES.
- prefer EPOLL_CTL_ADD over EPOLL_CTL_MOD in some more cases, as
it seems the former is *much* faster than the latter.
- linux kernel version detection (for inotify bug workarounds)
did not work properly.
- reduce the number of spurious wake-ups with the ports backend.
- remove dependency on sys/queue.h on freebsd (patch by Vanilla
Hsu).
- do async init within ev_async_start, not ev_async_set, which
avoids an API quirk where the set function must be called in
the C++ API even when there is nothing to set.
- add (undocumented) EV_ENABLE when adding events with kqueue,
this might help with OS X, which seems to need it despite
documenting not to need it (helpfully pointed out by Tilghman
Lesher).
- do not use poll by default on freebsd, it's broken (what isn't
on freebsd...).
- allow to embed epoll on kernels >= 2.6.32.
- configure now prepends -O3, not appends it, so one can still
override it.
- ev.pod: greatly expanded the portability section, added a
porting section, a description of watcher states and made lots
of minor fixes.
- disable poll backend on AIX, the poll header spams the
namespace and it's not worth working around dead platforms
(reported and analyzed by Aivars Kalvans).
- improve header file compatibility of the standalone eventfd
code in an obscure case.
- implement EV_AVOID_STDIO option.
- do not use sscanf to parse linux version number (smaller,
faster, no sscanf dependency).
- new EV_CHILD_ENABLE and EV_SIGNAL_ENABLE configurable settings.
- update libev.m4 HAVE_CLOCK_SYSCALL test for newer glibcs.
- add section on accept() problems to the manpage.
- rename EV_TIMEOUT to EV_TIMER.
- rename ev_loop_count/depth/verify/loop/unloop.
- remove ev_default_destroy and ev_default_fork.
- switch to two-digit minor version.
- work around an apparent gentoo compiler bug.
- use enum instead of #define for most constants.
- improve compatibility to older C++ compilers.
- (experimental) ev_run/ev_default_loop/ev_break/ev_loop_new have
now default arguments when compiled as C++.
- ev_loop_new no longer leaks memory when loop creation failed.
- new ev_cleanup watcher type.
- move pkgconfig file to devel package
- updated compiler warnings patch:
old name libev-3.9_compiler_warnings.patch
new name libev-4.00_compiler_warnings.patch
-------------------------------------------------------------------
Mon Aug 23 13:26:25 UTC 2010 - mrueckert@suse.de
- added libev-3.9_pkg-config.patch:
patch by stbuehler.
-------------------------------------------------------------------
Wed Jul 14 15:39:22 UTC 2010 - mrueckert@suse.de
- update to 3.9
for the changes see /usr/share/doc/packages/libev-devel/Changes
-------------------------------------------------------------------
Thu Feb 19 12:29:58 CET 2009 - mrueckert@suse.de
- update to 3.53
for the changes see /usr/share/doc/packages/libev-devel/Changes
-------------------------------------------------------------------
Tue Sep 16 17:05:17 CEST 2008 - mrueckert@suse.de
- update to 3.43
for the changes see /usr/share/doc/packages/libev-devel/Changes
-------------------------------------------------------------------
Fri Feb 29 00:34:46 CET 2008 - mrueckert@suse.de
- update to version 3.0:
- API/ABI bump to version 3.0.
- ev++.h includes "ev.h" by default now, not <ev.h>.
- slightly improved documentation.
- speed up signal detection after a fork.
- only optionally return trace status changed in ev_child watchers.
- experimental (and undocumented) loop wrappers for ev++.h.
- additional changes from 2.01:
- separate Changes file.
- fix ev_path_set => ev_stat_set typo.
- remove event_compat.h from the libev tarball.
- change how include files are found.
- doc updates.
- update licenses, explicitly allow for GPL relicensing.
-------------------------------------------------------------------
Sun Dec 23 17:34:05 CET 2007 - mrueckert@suse.de
- fix license
-------------------------------------------------------------------
Sun Dec 23 16:56:42 CET 2007 - mrueckert@suse.de
- initial package

132
libev.spec Normal file
View File

@ -0,0 +1,132 @@
#
# spec file for package libev (Version 3.9)
#
# Copyright (c) 2010 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libev
Version: 4.01
Release: 0
#
License: BSD
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
#
%if 0%{?suse_version} < 1000
BuildRequires: pkgconfig
%else
BuildRequires: pkg-config
%endif
#
Summary: A full-featured and high-performance event loop library
%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
%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
%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
%build
export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused"
autoreconf -fi
%configure --disable-static
%{__make}
%check
%{__make} check
%install
%makeinstall
%{__rm} -v %{buildroot}%{_libdir}/libev.la
%clean
%{__rm} -rf %{buildroot}
%post -n %{library_name} -p /sbin/ldconfig
%postun -n %{library_name} -p /sbin/ldconfig
%files devel
%defattr(-,root,root,-)
%doc LICENSE README ev.pod Changes
%{_includedir}/ev++.h
%{_includedir}/ev.h
%{_includedir}/event.h
%{_libdir}/libev.so
%{_mandir}/man3/ev.3*
%{_libdir}/pkgconfig/libev.pc
%files -n %{library_name}
%defattr(-,root,root,-)
%{_libdir}/libev.so.4*
%changelog

3
libev_4.01-0.1.diff.gz Normal file
View File

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

29
libev_4.01-0.1.dsc Normal file
View File

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

3
libev_4.01.orig.tar.gz Normal file
View File

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