~ubuntu-branches/ubuntu/precise/gnome-do/precise-backports

« back to all changes in this revision

Viewing changes to debian/patches/05_less_debug_spew.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2008-04-14 21:36:12 UTC
  • mfrom: (0.1.2 lenny) (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080414213612-j6izjrqjsd4f4ulo
* Initial Debian package (closes: #474022)
* debian/patches/02_use_cli_for_wrapper:
  + Patch upstream's wrapper to call /usr/bin/cli rather than mono
* debian/patches/01_fix_libX11_linkage:
  + Link libdo against libX11; fix undefined symbol warnings.
* debian/patches/03_show_in_all_DEs:
  + Show the launcher in all desktop environments; it's useful in XFCE
  and KDE as well as GNOME.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 05_less_debug_spew.dpatch by Christopher James Halse Rogers <raof@ubuntu.com>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Don't spam the console with [INFO] messages when --quiet is passed to Do
6
 
## DP: LP #204452
7
 
 
8
 
@DPATCH@
9
 
diff -urNad gnome-do-0.4.0.1~/Do/src/Do.cs gnome-do-0.4.0.1/Do/src/Do.cs
10
 
--- gnome-do-0.4.0.1~/Do/src/Do.cs      2008-03-14 19:26:18.000000000 +1100
11
 
+++ gnome-do-0.4.0.1/Do/src/Do.cs       2008-03-28 08:17:53.000000000 +1100
12
 
@@ -53,6 +53,8 @@
13
 
                        }
14
 
 
15
 
                        preferences = new Preferences (args);
16
 
+                       if (Preferences.BeQuiet)
17
 
+                               Log.LogLevel = Log.Level.Error;
18
 
 
19
 
                        UniverseManager.Initialize ();
20