Hello community, here is the log from the commit of package kerneloops for openSUSE:Factory checked in at Mon May 30 10:52:29 CEST 2011.
-------- --- kerneloops/kerneloops.changes 2010-12-07 23:12:20.000000000 +0100 +++ /mounts/work_src_done/STABLE/kerneloops/kerneloops.changes 2011-05-27 14:25:58.000000000 +0200 @@ -1,0 +2,6 @@ +Fri May 27 12:23:34 UTC 2011 - [email protected] + +- Add kerneloops-dbus-cflags.patch: explicitly add dbus cflags +- Add kerneloops-libnotify.patch: fix compilation with new libnotify + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- kerneloops-dbus-cflags.patch kerneloops-libnotify.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kerneloops.spec ++++++ --- /var/tmp/diff_new_pack.V824CI/_old 2011-05-30 10:51:26.000000000 +0200 +++ /var/tmp/diff_new_pack.V824CI/_new 2011-05-30 10:51:26.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package kerneloops (Version 0.12) +# spec file for package kerneloops # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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,28 +15,36 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Url: http://www.kerneloops.org/ Name: kerneloops Version: 0.12 -Release: 39 +Release: 44 License: GPLv2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: curl-devel dbus-1-glib-devel desktop-file-utils gtk2-devel -BuildRequires: libcap-ng-devel libnotify-devel update-desktop-files +Summary: Tool to collect kernel oopses and submit them to kerneloops Group: System/Kernel -Summary: Tool to collect kernel oopses and submit them to kerneloops.org Source: %{name}-%{version}.tar.bz2 Source1: %{name}.init -Patch: 0001-syslog-the-submit-URL-as-well.patch +Patch0: 0001-syslog-the-submit-URL-as-well.patch Patch1: 0002-Fix-format-string-vulnerability.patch Patch2: 0003-Add-format-string-security-error-checking-to-build.patch Patch3: 0001-kerneloops-add-debug-dbus-to-daemon-options.patch Patch4: kerneloops-d-bus-policy-is-wrong.patch Patch5: http://people.redhat.com/sgrubb/libcap-ng/patches/kerneloops-0.12-capability.patch -PreReq: %insserv_prereq sysvinit(syslog) sysvinit(network) +Patch6: kerneloops-dbus-cflags.patch +Patch7: kerneloops-libnotify.patch +BuildRequires: curl-devel +BuildRequires: desktop-file-utils +BuildRequires: libcap-ng-devel +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libnotify) +PreReq: %insserv_prereq +PreReq: sysvinit(network) +PreReq: sysvinit(syslog) +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description kerneloops.org is a website that tries to help the developers of the @@ -51,17 +59,11 @@ * Which API functions are the most error prone? - - -Authors: --------- - Arjan van de Ven <[email protected]> - %package applet License: GPLv2 +Summary: Tool to collect kernel oopses and submit them to kerneloops Group: System/Kernel Requires: %{name} = %{version} -Summary: Tool to collect kernel oopses and submit them to kerneloops.org %description applet kerneloops.org is a website that tries to help the developers of the @@ -76,32 +78,28 @@ * Which API functions are the most error prone? - - -Authors: --------- - Arjan van de Ven <[email protected]> - %prep %setup -q -%patch -p1 +%patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 +%patch7 %build export CFLAGS="%{optflags}" -%{__make} +make %install -%{__make} install DESTDIR=%{buildroot} -%{__mkdir_p} %{buildroot}/etc/init.d -%{__install} -m 755 %{SOURCE1} %{buildroot}/etc/init.d/%{name} -%{__ln_s} -f /etc/init.d/%{name} %{buildroot}/usr/sbin/rc%{name} +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}%{_sysconfdir}/init.d +install -m 755 %{SOURCE1} %{buildroot}%{_initddir}/%{name} +ln -s -f /etc/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %find_lang %{name} -%suse_update_desktop_file %name-applet System Monitor +%suse_update_desktop_file %{name}-applet System Monitor %post %{fillup_and_insserv -f -y %{name}} @@ -114,20 +112,20 @@ %insserv_cleanup %clean -%{__rm} -rf "$RPM_BUILD_ROOT" +rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/kerneloops.conf %{_sbindir}/kerneloops %{_sbindir}/rckerneloops -%config /etc/dbus-1/system.d/kerneloops.dbus +%config %{_sysconfdir}/dbus-1/system.d/kerneloops.dbus %{_mandir}/man8/kerneloops.8.gz -%config /etc/init.d/%{name} +%config %{_sysconfdir}/init.d/%{name} %files applet %defattr(-,root,root) -%config /etc/xdg/autostart/kerneloops-applet.desktop +%config %{_sysconfdir}/xdg/autostart/kerneloops-applet.desktop %{_bindir}/kerneloops-applet %dir %{_datadir}/%{name} %{_datadir}/%{name}/icon.png ++++++ kerneloops-dbus-cflags.patch ++++++ --- Makefile 2008-09-13 17:21:04.000000000 +0200 +++ Makefile 2011-05-27 14:16:36.910026764 +0200 @@ -12,13 +12,13 @@ CFLAGS := -O2 -g -fstack-protector -D_FORTIFY_SOURCE=2 -Wall -W -Wstrict-prototypes -Wundef -fno-common -Werror-implicit-function-declaration -Wdeclaration-after-statement -Wformat -Wformat-security -Werror=format-security -MY_CFLAGS := `pkg-config --cflags libnotify gtk+-2.0` +MY_CFLAGS := `pkg-config --cflags libnotify gtk+-2.0 dbus-glib-1` # # pkg-config tends to make programs pull in a ton of libraries, not all # are needed. -Wl,--as-needed tells the linker to just drop unused ones, # and that makes the applet load faster and use less memory. # -LDF_A := -Wl,--as-needed `pkg-config --libs libnotify gtk+-2.0` +LDF_A := -Wl,--as-needed `pkg-config --libs libnotify gtk+-2.0 dbus-glib-1` LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -lcap-ng -Wl,"-z relro" -Wl,"-z now" all: kerneloops kerneloops-applet kerneloops.8.gz ++++++ kerneloops-libnotify.patch ++++++ --- kerneloops-applet.c 2008-09-13 17:21:04.000000000 +0200 +++ kerneloops-applet.c 2011-05-27 14:20:07.222026774 +0200 @@ -241,7 +241,7 @@ close_notification(); notify = notify_notification_new(summary, message, - "/usr/share/kerneloops/icon.png", NULL); + "/usr/share/kerneloops/icon.png"); notify_notification_set_timeout(notify, 0); notify_notification_set_urgency(notify, NOTIFY_URGENCY_CRITICAL); @@ -307,7 +307,7 @@ url_to_oops[0] = 0; notify = notify_notification_new(summary, message, - "/usr/share/kerneloops/icon.png", NULL); + "/usr/share/kerneloops/icon.png"); notify_notification_set_timeout(notify, 5000); notify_notification_set_urgency(notify, NOTIFY_URGENCY_LOW); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
