diff options
author | Frederic Bompart <frederic@unknown.openembedded.org> | 2005-09-20 07:18:17 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-20 07:18:17 +0000 |
commit | dd088063c0542a8940f201b33ae6ce904198d9ea (patch) | |
tree | 9095d086f6cb03c4db531ad6941f5b5cc61ff937 /packages/totem/files/intl.patch | |
parent | 00dc4d090496ec5391685e5c316b08c05c93448b (diff) |
totem: version 1.0.2 now compiles
I removed version 0.101 which was marked as broken.
A few fixes were needed to disable gnomeui code in totem-1.0.2.
Don't even try to upgrade it to version 1.2.x for now: it has even more
dependencies, such as a very recent version of gnome-vfs...
Diffstat (limited to 'packages/totem/files/intl.patch')
-rw-r--r-- | packages/totem/files/intl.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/totem/files/intl.patch b/packages/totem/files/intl.patch new file mode 100644 index 0000000000..2a1a32cc2d --- /dev/null +++ b/packages/totem/files/intl.patch @@ -0,0 +1,33 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- totem-1.0.4/src/totem.c~intl ++++ totem-1.0.4/src/totem.c +@@ -35,6 +35,25 @@ + #include <gtk/gtk.h> + #include <gdk/gdkkeysyms.h> + #include <stdlib.h> ++#ifdef ENABLE_NLS ++# include <libintl.h> ++# define _(String) dgettext (GETTEXT_PACKAGE, String) ++# ifdef gettext_noop ++# define N_(String) gettext_noop (String) ++# else ++# define N_(String) (String) ++# endif ++#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 ngettext(Singular, Plural, IsPlural) (Singular) ++# define bindtextdomain(Domain,Directory) (Domain) ++# define _(String) (String) ++# define N_(String) (String) ++#endif + #endif /* !HAVE_GTK_ONLY */ + + #include <string.h> |