use monotonic timers

This commit is contained in:
Matthias Clasen 2006-08-28 03:13:20 +00:00
parent 47609b235f
commit f1654a4dfb

View File

@ -3,17 +3,22 @@
Summary: A library of handy utility functions Summary: A library of handy utility functions
Name: glib2 Name: glib2
Version: 2.12.2 Version: 2.12.2
Release: 1%{?dist} Release: 2%{?dist}
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Source: glib-%{version}.tar.bz2 Source: glib-%{version}.tar.bz2
Source2: glib2.sh Source2: glib2.sh
Source3: glib2.csh Source3: glib2.csh
Patch0: glib-2.11.1-libdir.patch Patch0: glib-2.11.1-libdir.patch
# fixed in upstream cvs
Patch1: glib-2.12.2-monotonic-timer.patch
Conflicts: libgnomeui <= 2.2.0 Conflicts: libgnomeui <= 2.2.0
BuildRoot: %{_tmppath}/glib-%{PACKAGE_VERSION}-root BuildRoot: %{_tmppath}/glib-%{PACKAGE_VERSION}-root
BuildRequires: pkgconfig >= 0.8 BuildRequires: pkgconfig >= 0.8
BuildRequires: gettext BuildRequires: gettext
# for patch1
BuildRequires: autoconf
Obsoletes: glib-gtkbeta Obsoletes: glib-gtkbeta
URL: http://www.gtk.org URL: http://www.gtk.org
@ -41,12 +46,15 @@ version 2 of the GLib library.
%prep %prep
%setup -q -n glib-%{version} %setup -q -n glib-%{version}
%patch0 -p1 -b .libdir %patch0 -p1 -b .libdir
%patch1 -p1 -b .monotonic-timer
%build %build
for i in config.guess config.sub ; do for i in config.guess config.sub ; do
test -f /usr/share/libtool/$i && cp /usr/share/libtool/$i . test -f /usr/share/libtool/$i && cp /usr/share/libtool/$i .
done done
# for patch1
autoconf
%configure --disable-gtk-doc --enable-static --libdir=%{libdir} %configure --disable-gtk-doc --enable-static --libdir=%{libdir}
make make
# http://bugzilla.gnome.org/show_bug.cgi?id=320463 # http://bugzilla.gnome.org/show_bug.cgi?id=320463
@ -100,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Sun Aug 27 2006 Matthias Clasen <mclasen@redhat.com> - 2.12.2-2.fc6
- Use Posix monotonic timers for GTimer
* Tue Aug 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.12.2-1.fc6 * Tue Aug 15 2006 Matthias Clasen <mclasen@redhat.com> - 2.12.2-1.fc6
- Update to 2.12.2 - Update to 2.12.2