Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: sebikul on Jul 14th, 2012  |  syntax: None  |  size: 5.30 KB  |  views: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -aur gnome-cups-manager-0.33.orig/gnome-cups-add/add-printer.c gnome-cups-manager-0.33/gnome-cups-add/add-printer.c
  2. --- gnome-cups-manager-0.33.orig/gnome-cups-add/add-printer.c   2008-04-01 15:19:47.000000000 -0300
  3. +++ gnome-cups-manager-0.33/gnome-cups-add/add-printer.c        2012-07-14 20:47:15.872465446 -0300
  4. @@ -13,7 +13,7 @@
  5.  #include <gtk/gtkradiobutton.h>
  6.  #include <gtk/gtktreeview.h>
  7.  #include <glade/glade.h>
  8. -#include <glib/gi18n.h>
  9. +#include <glib.h>
  10.  #include <libgnomeui/gnome-druid.h>
  11.  #include <libgnomeui/gnome-ui-init.h>
  12.  
  13. diff -aur gnome-cups-manager-0.33.orig/gnome-cups-manager/gnome-printer-list.c gnome-cups-manager-0.33/gnome-cups-manager/gnome-printer-list.c
  14. --- gnome-cups-manager-0.33.orig/gnome-cups-manager/gnome-printer-list.c        2007-10-17 15:23:20.000000000 -0300
  15. +++ gnome-cups-manager-0.33/gnome-cups-manager/gnome-printer-list.c     2012-07-14 20:46:54.825880862 -0300
  16. @@ -35,7 +35,6 @@
  17.  #include <gtk/gtkstock.h>
  18.  #include <gtk/gtkicontheme.h>
  19.  #include <glib.h>
  20. -#include <glib/gi18n.h>
  21.  
  22.  #include <libgnomecups/gnome-cups-printer.h>
  23.  #include <libgnomecups/gnome-cups-ui-util.h>
  24. diff -aur gnome-cups-manager-0.33.orig/gnome-cups-manager/view-printers.c gnome-cups-manager-0.33/gnome-cups-manager/view-printers.c
  25. --- gnome-cups-manager-0.33.orig/gnome-cups-manager/view-printers.c     2007-10-17 15:23:20.000000000 -0300
  26. +++ gnome-cups-manager-0.33/gnome-cups-manager/view-printers.c  2012-07-14 20:46:39.472607406 -0300
  27. @@ -37,7 +37,7 @@
  28.  #include <libgnomecups/gnome-cups-ui-util.h>
  29.  #include <libgnomecups/gnome-cups-permission.h>
  30.  
  31. -#include <glib/gi18n.h>
  32. +#include <glib.h>
  33.  #include <stdlib.h>
  34.  #include <cups/cups.h>
  35.  
  36. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-i18n.c gnome-cups-manager-0.33/libgnomecups/gnome-cups-i18n.c
  37. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-i18n.c 2007-10-17 15:23:21.000000000 -0300
  38. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-i18n.c      2012-07-14 20:44:13.083178306 -0300
  39. @@ -1,5 +1,5 @@
  40.  #include <config.h>
  41. -#include <glib/gmacros.h>
  42. +#include <glib.h>
  43.  #include "gnome-cups-i18n.h"
  44.  
  45.  #ifdef ENABLE_NLS
  46. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-permission.c gnome-cups-manager-0.33/libgnomecups/gnome-cups-permission.c
  47. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-permission.c   2007-10-17 15:23:21.000000000 -0300
  48. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-permission.c        2012-07-14 20:46:18.706021729 -0300
  49. @@ -24,7 +24,7 @@
  50.  
  51.  #include "gnome-cups-permission.h"
  52.  #include <gtk/gtkmessagedialog.h>
  53. -#include <glib/gi18n.h>
  54. +#include <glib.h>
  55.  #include <unistd.h>
  56.  #include <sys/types.h>
  57.  #include <string.h>
  58. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-connection.c gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-connection.c
  59. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-connection.c        2007-10-17 15:23:21.000000000 -0300
  60. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-connection.c     2012-07-14 20:46:06.636068807 -0300
  61. @@ -37,7 +37,7 @@
  62.  #include <gtk/gtktreeselection.h>
  63.  #include <gtk/gtktogglebutton.h>
  64.  #include <glade/glade.h>
  65. -#include <glib/gi18n.h>
  66. +#include <glib.h>
  67.  #include <ctype.h>
  68.  
  69.  #include "snmpinter.h"
  70. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-driver.c gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-driver.c
  71. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-driver.c    2007-10-17 15:23:21.000000000 -0300
  72. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-driver.c 2012-07-14 20:47:21.082445127 -0300
  73. @@ -44,8 +44,7 @@
  74.  #include <gtk/gtkmessagedialog.h>
  75.  #include <gtk/gtklabel.h>
  76.  #include <glade/glade.h>
  77. -#include <glib/gi18n.h>
  78. -#include <glib/gstrfuncs.h>
  79. +#include <glib.h>
  80.  #include <stdio.h>
  81.  #include <errno.h>
  82.  
  83. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-init.h gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-init.h
  84. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-init.h      2007-10-17 15:23:21.000000000 -0300
  85. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-init.h   2012-07-14 20:44:13.083178306 -0300
  86. @@ -1,7 +1,7 @@
  87.  #ifndef GNOME_CUPS_UI_INIT
  88.  #define GNOME_CUPS_UI_INIT
  89.  
  90. -#include <glib/gmacros.h>
  91. +#include <glib.h>
  92.  
  93.  G_BEGIN_DECLS
  94.  
  95. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-print.h gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-print.h
  96. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-print.h     2007-10-17 15:23:21.000000000 -0300
  97. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-print.h  2012-07-14 20:44:13.083178306 -0300
  98. @@ -1,7 +1,7 @@
  99.  #ifndef GNOME_CUPS_UI_PRINT
  100.  #define GNOME_CUPS_UI_PRINT
  101.  
  102. -#include <glib/gmacros.h>
  103. +#include <glib.h>
  104.  #include <libgnomecups/gnome-cups-printer.h>
  105.  
  106.  G_BEGIN_DECLS
  107. diff -aur gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-util.c gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-util.c
  108. --- gnome-cups-manager-0.33.orig/libgnomecups/gnome-cups-ui-util.c      2007-10-17 15:23:21.000000000 -0300
  109. +++ gnome-cups-manager-0.33/libgnomecups/gnome-cups-ui-util.c   2012-07-14 20:45:46.416147655 -0300
  110. @@ -15,7 +15,7 @@
  111.  #include <gtk/gtktreeview.h>
  112.  #include <gtk/gtkcombobox.h>
  113.  
  114. -#include <glib/gi18n.h>
  115. +#include <glib.h>
  116.  #include <cups/cups.h>
  117.  #include <stdlib.h>
  118.  
  119. Sólo en gnome-cups-manager-0.33/: patch