From ac10d152ad17674628a26434653ebd9b1ee60d3eecaba8214f244abba20f7a96 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 18 Dec 2007 17:29:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=21 --- cups.changes | 7 +++++++ cups.spec | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/cups.changes b/cups.changes index 331cf51..6f3b936 100644 --- a/cups.changes +++ b/cups.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 17 21:10:37 CET 2007 - crivera@suse.de + +- Add the --enable-dbus flag to the configure line to + send DBUS signals out for queue change events. This helps + fix 345163. + ------------------------------------------------------------------- Wed Nov 7 12:05:41 CET 2007 - kssingvo@suse.de diff --git a/cups.spec b/cups.spec index 6b3c2af..84921b7 100644 --- a/cups.spec +++ b/cups.spec @@ -17,7 +17,7 @@ License: GPL v2 or later Group: Hardware/Printing Summary: The Common UNIX Printing System Version: 1.3.4 -Release: 1 +Release: 9 Requires: cups-libs = %{version}, cups-client = %{version} Requires: ghostscript_any, ghostscript-fonts-std, foomatic-filters Requires: util-linux @@ -79,6 +79,7 @@ Authors: %define INSTALL_DIR install -d -m755 %define INSTALL_DATA install -m644 %define CPUs %(grep -c ^processor\ /proc/cpuinfo || echo 1) + %package libs Summary: Libraries for CUPS Group: Hardware/Printing @@ -188,6 +189,7 @@ export CXX=g++ --enable-pie \ --enable-static \ --without-rcdir \ + --enable-dbus \ --enable-ldap \ --prefix=/ # perl -pi -e 's:^(OPTIONS\s+\=):$1 -I/usr/X11R6/include -O2 -fstack-protector -fno-strict-aliasing:' Makedefs @@ -229,6 +231,7 @@ ln -sf /usr/share/ghostscript/fonts $RPM_BUILD_ROOT/usr/share/cups/ # make directory for ssl files: mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cups/ssl mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d +install -m 644 -D packaging/cups-dbus.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/cups.conf install -m 644 -D %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd perl -pi -e "s:\@LIB\@:%{_libdir}:g" $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd ln -sf libcupsimage.so.2 $RPM_BUILD_ROOT%{_libdir}/libcupsimage.so @@ -302,6 +305,7 @@ rm -rf $RPM_BUILD_ROOT/usr/share/locale/no %dir %attr(755,lp,lp) %{_sysconfdir}/cups/ppd %config(noreplace) %attr(640,lp,lp) %{_sysconfdir}/cups/cupsd.conf %{_sysconfdir}/cups/cupsd.conf.default +%{_sysconfdir}/dbus-1/system.d/cups.conf %config(noreplace) %attr(755,lp,lp) %{_sysconfdir}/cups/interfaces %config(noreplace) %{_sysconfdir}/cups/mime.* %config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd @@ -385,7 +389,12 @@ rm -rf $RPM_BUILD_ROOT/usr/share/locale/no %{_libdir}/libcups.so.* %{_libdir}/libcupsimage.so.* %{_datadir}/locale/*/cups_* + %changelog +* Mon Dec 17 2007 - crivera@suse.de +- Add the --enable-dbus flag to the configure line to + send DBUS signals out for queue change events. This helps + fix 345163. * Wed Nov 07 2007 - kssingvo@suse.de - upgrade to version 1.3.4: * Documentation updates