summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/workrave/files')
-rw-r--r--app-misc/workrave/files/org.workrave.Workrave.service.in3
-rw-r--r--app-misc/workrave/files/workrave-1.6.2-nls_macros.patch63
-rw-r--r--app-misc/workrave/files/workrave-1.8.4-no_gnome.patch17
3 files changed, 0 insertions, 83 deletions
diff --git a/app-misc/workrave/files/org.workrave.Workrave.service.in b/app-misc/workrave/files/org.workrave.Workrave.service.in
deleted file mode 100644
index ef00d37747d7..000000000000
--- a/app-misc/workrave/files/org.workrave.Workrave.service.in
+++ /dev/null
@@ -1,3 +0,0 @@
-[Workrave D-BUS Service]
-Name=org.workrave.Workrave
-Exec=@bindir@/workrave
diff --git a/app-misc/workrave/files/workrave-1.6.2-nls_macros.patch b/app-misc/workrave/files/workrave-1.6.2-nls_macros.patch
deleted file mode 100644
index 0a72400da1e2..000000000000
--- a/app-misc/workrave/files/workrave-1.6.2-nls_macros.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -NurdB workrave-1.6.2-orig/common/include/nls.h workrave-1.6.2/common/include/nls.h
---- workrave-1.6.2-orig/common/include/nls.h 2005-03-28 11:42:00.000000000 -0500
-+++ workrave-1.6.2/common/include/nls.h 2005-03-28 14:40:17.000000000 -0500
-@@ -27,28 +27,23 @@
-
- #include <glib/glist.h>
-
--#ifdef HAVE_GNOME
--# include <gnome.h>
--#else
--# ifdef ENABLE_NLS
--# include <locale.h>
--# include <libintl.h>
--# define _(String) gettext (String)
--# ifdef gettext_noop
--# define N_(String) gettext_noop (String)
--# else
--# define N_(String) (String)
--# endif
-+#ifdef ENABLE_NLS
-+# ifdef HAVE_GNOME
-+# include <gnome.h>
- # else
--/* Stubs that do something close enough. */
--# define textdomain(String) (String)
--# define gettext(String) (String)
--# define dgettext(Domain,Message) (Message)
--# define dcgettext(Domain,Message,Type) (Message)
--# define bindtextdomain(Domain,Directory) (Domain)
--# define _(String) (String)
-+# include <locale.h>
-+# include <libintl.h>
-+# define _(String) gettext (String)
-+# ifdef gettext_noop
-+# define N_(String) gettext_noop (String)
-+# else
- # define N_(String) (String)
-+# endif
- # endif
-+#else
-+/* Stubs that do something close enough. */
-+# define _(String) (String)
-+# define N_(String) (String)
- #endif
-
- #ifdef __cplusplus
-diff -NurdB workrave-1.6.2-orig/frontend/gtkmm/src/RemoteControl.cc workrave-1.6.2/frontend/gtkmm/src/RemoteControl.cc
---- workrave-1.6.2-orig/frontend/gtkmm/src/RemoteControl.cc 2005-03-28 11:42:00.000000000 -0500
-+++ workrave-1.6.2/frontend/gtkmm/src/RemoteControl.cc 2005-03-28 15:17:39.000000000 -0500
-@@ -22,12 +22,12 @@
-
- #include "debug.hh"
-
--#include "RemoteControl.hh"
-
- #include "GUI.hh"
- #include "AppletWindow.hh"
-
- #include "Menus.hh"
-+#include "RemoteControl.hh"
-
- WR_INIT()
-
diff --git a/app-misc/workrave/files/workrave-1.8.4-no_gnome.patch b/app-misc/workrave/files/workrave-1.8.4-no_gnome.patch
deleted file mode 100644
index 0b99c254bcc6..000000000000
--- a/app-misc/workrave/files/workrave-1.8.4-no_gnome.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -NurdpB workrave-1.8.4/frontend/gtkmm/src/Menus.hh workrave-1.8.4-patched/frontend/gtkmm/src/Menus.hh
---- workrave-1.8.4/frontend/gtkmm/src/Menus.hh 2007-03-05 12:52:07.000000000 -0500
-+++ workrave-1.8.4-patched/frontend/gtkmm/src/Menus.hh 2007-03-15 20:02:11.000000000 -0500
-@@ -186,13 +186,11 @@ Menus::set_main_window(MainWindow *main)
- }
-
-
--#if defined(HAVE_GNOME) || defined(WIN32)
- inline Menus *
- Menus::get_instance()
- {
- assert(instance != 0);
- return instance;
- }
--#endif
-
- #endif // MENUS_HH