summaryrefslogtreecommitdiff
path: root/community/gshutdown/gshutdown-0.2-glib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gshutdown/gshutdown-0.2-glib.patch')
-rw-r--r--community/gshutdown/gshutdown-0.2-glib.patch100
1 files changed, 100 insertions, 0 deletions
diff --git a/community/gshutdown/gshutdown-0.2-glib.patch b/community/gshutdown/gshutdown-0.2-glib.patch
new file mode 100644
index 000000000..1bf1d52db
--- /dev/null
+++ b/community/gshutdown/gshutdown-0.2-glib.patch
@@ -0,0 +1,100 @@
+--- gshutdown-0.2.orig/src/timer.h 2007-04-14 17:33:39.000000000 -0500
++++ gshutdown-0.2/src/timer.h 2012-12-06 05:12:38.525897810 -0500
+@@ -21,7 +21,7 @@
+ #ifndef __GSHUTDOWN_TIMER__
+ #define __GSHUTDOWN_TIMER__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ guint time_left();
+ gboolean timer_notify();
+
+--- gshutdown-0.2.orig/src/misc.h 2007-04-14 17:33:39.000000000 -0500
++++ gshutdown-0.2/src/misc.h 2012-12-06 05:13:01.306051982 -0500
+@@ -20,7 +20,7 @@
+ #ifndef __GSHUTDOWN_MISC__
+ #define __GSHUTDOWN_MISC__
+
+-#include <glib/gtypes.h> /* gchar */
++#include <glib.h> /* gchar */
+
+ /* Return a data file path. e.g: gshutdown.glade */
+ gchar *data_path(gchar *filename);
+
+--- gshutdown-0.2.orig/src/values.h 2007-05-19 06:42:54.000000000 -0500
++++ gshutdown-0.2/src/values.h 2012-12-06 05:24:45.017440329 -0500
+@@ -21,7 +21,7 @@
+ #ifndef __GSHUTDOWN_VALUES__
+ #define __GSHUTDOWN_VALUES__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include "action.h"
+
+ typedef enum {
+
+--- gshutdown-0.2.orig/src/values.c 2007-04-14 17:33:40.000000000 -0500
++++ gshutdown-0.2/src/values.c 2012-12-06 05:30:03.170195207 -0500
+@@ -20,8 +20,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
+-#include <glib/gkeyfile.h>
+-#include <glib/gfileutils.h> /* g_build_path */
++#include <glib.h>
+ #include "values.h"
+ #include "gui.h"
+ #include "detectwm.h"
+
+--- gshutdown-0.2.orig/src/detectwm.h 2007-04-14 17:33:39.000000000 -0500
++++ gshutdown-0.2/src/detectwm.h 2012-12-06 05:35:18.027783235 -0500
+@@ -21,7 +21,7 @@
+ #ifndef __GSHUTDOWN_WMDETECT__
+ #define __GSHUTDOWN_WMDETECT__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ gchar *detect_window_manager();
+
+--- gshutdown-0.2.orig/src/misc.c 2007-04-14 17:33:39.000000000 -0500
++++ gshutdown-0.2/src/misc.c 2012-12-06 05:38:44.229476612 -0500
+@@ -20,12 +20,7 @@
+
+ #include <unistd.h> /* X_OK */
+ #include <stdlib.h>
+-#include <glib/gstdio.h>
+-#include <glib/gstrfuncs.h> /* g_strdup_printf */
+-#include <glib/gmem.h> /* g_free */
+-#include <glib/gutils.h> /* g_getenv */
+-#include <glib/gfileutils.h> /* g_file_test() */
+-#include <glib/gshell.h> /* g_shell_parse_argv */
++#include <glib.h>
+ #include "config.h"
+ #include "misc.h"
+ #include "main.h"
+
+--- gshutdown-0.2.orig/src/timer.c 2007-05-19 06:30:38.000000000 -0500
++++ gshutdown-0.2/src/timer.c 2012-12-06 05:42:37.654561395 -0500
+@@ -18,7 +18,7 @@
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include "timer.h"
+ #include "values.h"
+ #include "gui.h"
+
+--- gshutdown-0.2.orig/src/main.c 2007-06-24 08:03:38.000000000 -0500
++++ gshutdown-0.2/src/main.c 2012-12-06 05:46:46.729676922 -0500
+@@ -21,7 +21,7 @@
+ #include <stdlib.h>
+ #include <signal.h>
+ #include <sys/wait.h>
+-#include <glib/gutils.h> /* g_atexit() */
++#include <glib.h> /* g_atexit() */
+ #include "main.h"
+ #include "gui.h"
+ #include "misc.h"