summaryrefslogtreecommitdiff
path: root/packages/python/python-dbus/gettext.patch
blob: 7042bd09037d4258a76f0f084064806b5c2e18f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
Index: dbus-0.23/configure.in
===================================================================
--- dbus-0.23.orig/configure.in	2005-04-02 17:14:37.780040976 -0500
+++ dbus-0.23/configure.in	2005-04-02 17:14:38.024003888 -0500
@@ -22,6 +22,9 @@
 AC_ISC_POSIX
 AC_HEADER_STDC
 
+AM_GNU_GETTEXT_VERSION(0.11.5)
+AM_GNU_GETTEXT([external], [need-ngettext])
+
 AC_ARG_ENABLE(qt,               [  --enable-qt           enable Qt-friendly client library],enable_qt=$enableval,enable_qt=auto)
 AC_ARG_ENABLE(glib,             [  --enable-glib         enable GLib-friendly client library],enable_glib=$enableval,enable_glib=auto)
 AC_ARG_ENABLE(gtk,              [  --enable-gtk          enable GTK-requiring executables],enable_gtk=$enableval,enable_gtk=auto)
Index: dbus-0.23/glib/Makefile.am
===================================================================
--- dbus-0.23.orig/glib/Makefile.am	2004-07-29 04:00:45.000000000 -0400
+++ dbus-0.23/glib/Makefile.am	2005-04-02 17:22:27.302662688 -0500
@@ -15,7 +15,7 @@
 	dbus-gvalue.c				\
 	dbus-gvalue.h
 
-libdbus_glib_1_la_LIBADD= $(DBUS_GLIB_LIBS) $(top_builddir)/dbus/libdbus-1.la
+libdbus_glib_1_la_LIBADD= $(DBUS_GLIB_LIBS) $(LIBINTL) $(top_builddir)/dbus/libdbus-1.la
 ## don't export symbols that start with "_" (we use this 
 ## convention for internal symbols)
 libdbus_glib_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
Index: dbus-0.23/glib/dbus-glib-tool.c
===================================================================
--- dbus-0.23.orig/glib/dbus-glib-tool.c	2004-08-09 23:07:00.000000000 -0400
+++ dbus-0.23/glib/dbus-glib-tool.c	2005-04-02 17:14:38.024003888 -0500
@@ -26,8 +26,13 @@
 #include "dbus-gparser.h"
 #include "dbus-gutils.h"
 #include <locale.h>
+
+#ifdef HAVE_GETTEXT
 #include <libintl.h>
 #define _(x) dgettext (GETTEXT_PACKAGE, x)
+#else
+#define _(x) x
+#endif
 #define N_(x) x
 #include <stdio.h>
 #include <stdlib.h>
Index: dbus-0.23/glib/dbus-glib.c
===================================================================
--- dbus-0.23.orig/glib/dbus-glib.c	2004-08-09 23:07:00.000000000 -0400
+++ dbus-0.23/glib/dbus-glib.c	2005-04-02 17:14:38.024003888 -0500
@@ -27,8 +27,12 @@
 #include "dbus-gtest.h"
 #include "dbus-gutils.h"
 
+#ifdef HAVE_GETTEXT
 #include <libintl.h>
 #define _(x) dgettext (GETTEXT_PACKAGE, x)
+#else
+#define _(x) x
+#endif
 #define N_(x) x
 
 /**
Index: dbus-0.23/glib/dbus-gmain.c
===================================================================
--- dbus-0.23.orig/glib/dbus-gmain.c	2004-11-13 02:07:47.000000000 -0500
+++ dbus-0.23/glib/dbus-gmain.c	2005-04-02 17:14:38.025003736 -0500
@@ -27,8 +27,12 @@
 #include "dbus-gtest.h"
 #include "dbus-gutils.h"
 
+#ifdef HAVE_GETTEXT
 #include <libintl.h>
 #define _(x) dgettext (GETTEXT_PACKAGE, x)
+#else
+#define _(x) x
+#endif
 #define N_(x) x
 
 /**
Index: dbus-0.23/glib/dbus-gparser.c
===================================================================
--- dbus-0.23.orig/glib/dbus-gparser.c	2004-08-09 23:07:00.000000000 -0400
+++ dbus-0.23/glib/dbus-gparser.c	2005-04-02 17:14:38.025003736 -0500
@@ -20,12 +20,18 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  */
+
+#include <config.h>
 #include "dbus-gparser.h"
 #include "dbus-gidl.h"
 #include <string.h>
 
+#ifdef HAVE_GETTEXT
 #include <libintl.h>
 #define _(x) gettext ((x))
+#else
+#define _(x) x
+#endif
 #define N_(x) x
 
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Index: dbus-0.23/tools/Makefile.am
===================================================================
--- dbus-0.23.orig/tools/Makefile.am	2004-04-21 17:29:07.000000000 -0400
+++ dbus-0.23/tools/Makefile.am	2005-04-02 17:22:00.712704976 -0500
@@ -37,8 +37,8 @@
 
 dbus_send_LDADD= $(top_builddir)/dbus/libdbus-1.la
 dbus_monitor_LDADD= $(top_builddir)/glib/libdbus-glib-1.la
-dbus_launch_LDADD= $(DBUS_X_LIBS)
-dbus_viewer_LDADD= $(DBUS_GLIB_TOOL_LIBS) $(top_builddir)/glib/libdbus-gtool.la $(DBUS_GTK_LIBS)
+dbus_launch_LDADD= $(DBUS_X_LIBS) $(LIBINTL)
+dbus_viewer_LDADD= $(DBUS_GLIB_TOOL_LIBS) $(LIBINTL) $(top_builddir)/glib/libdbus-gtool.la $(DBUS_GTK_LIBS)
 
 man_MANS = dbus-send.1 dbus-monitor.1 dbus-launch.1 dbus-cleanup-sockets.1
 EXTRA_DIST = $(man_MANS)
Index: dbus-0.23/tools/dbus-launch.c
===================================================================
--- dbus-0.23.orig/tools/dbus-launch.c	2004-08-09 23:07:01.000000000 -0400
+++ dbus-0.23/tools/dbus-launch.c	2005-04-02 17:14:38.026003584 -0500
@@ -22,6 +22,8 @@
  */
 #include <config.h>
 #include <stdlib.h>
+#include <sys/time.h>
+#include <sys/types.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <signal.h>
Index: dbus-0.23/tools/dbus-tree-view.c
===================================================================
--- dbus-0.23.orig/tools/dbus-tree-view.c	2004-08-09 23:07:01.000000000 -0400
+++ dbus-0.23/tools/dbus-tree-view.c	2005-04-02 17:14:38.026003584 -0500
@@ -24,8 +24,12 @@
 #include <config.h>
 #include "dbus-tree-view.h"
 
+#ifdef HAVE_GETTEXT
 #include <libintl.h>
 #define _(x) dgettext (GETTEXT_PACKAGE, x)
+#else
+#define _(x) x
+#endif
 #define N_(x) x
 
 enum
Index: dbus-0.23/tools/dbus-viewer.c
===================================================================
--- dbus-0.23.orig/tools/dbus-viewer.c	2004-08-09 23:07:01.000000000 -0400
+++ dbus-0.23/tools/dbus-viewer.c	2005-04-02 17:14:38.027003432 -0500
@@ -30,8 +30,12 @@
 #include <glib/dbus-gparser.h>
 #include <glib/dbus-gutils.h>
 
+#ifdef HAVE_GETTEXT
 #include <libintl.h>
 #define _(x) dgettext (GETTEXT_PACKAGE, x)
+#else
+#define _(x) x
+#endif
 #define N_(x) x
 
 typedef struct
ass='add' style='width: 0.0%;'/> -rw-r--r--packages/addons/.mtn2git_empty0
-rw-r--r--packages/addons/devshell.bb74
-rw-r--r--packages/adns/.mtn2git_empty0
-rw-r--r--packages/adns/adns-1.0/.mtn2git_empty0
-rw-r--r--packages/adns/adns-1.0/configure.patch137
-rw-r--r--packages/adns/adns-1.0/fixparsedomainflags.patch11
-rw-r--r--packages/adns/adns_1.0.bb30
-rw-r--r--packages/aircrack/.mtn2git_empty0
-rw-r--r--packages/aircrack/aircrack_2.1.bb23
-rw-r--r--packages/aircrack/files/.mtn2git_empty0
-rw-r--r--packages/aircrack/files/silent_patch.diff87
-rw-r--r--packages/aliens/.mtn2git_empty0
-rw-r--r--packages/aliens/aliens_1.0.0.bb28
-rw-r--r--packages/alsa/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-driver/.mtn2git_empty0
-rw-r--r--packages/alsa/alsa-driver/adriver.h.patch23
-rw-r--r--packages/alsa/alsa-driver/h5400.patch12
-rw-r--r--packages/alsa/alsa-driver/sa11xx.patch38
-rw-r--r--packages/alsa/alsa-driver/sound.p.patch59
-rw-r--r--packages/alsa/alsa-driver_0.9.6-hh4c.bb77
-rw-r--r--packages/alsa/alsa-lib_1.0.8.bb33
-rw-r--r--packages/alsa/alsa-oss_1.0.8.bb19
-rw-r--r--packages/alsa/alsa-tools_1.0.8.bb10
-rw-r--r--packages/alsa/alsa-utils_1.0.8.bb57
-rw-r--r--packages/alsa/files/.mtn2git_empty0
-rw-r--r--packages/alsa/files/alsa-utils-sys-siglist.patch15
-rw-r--r--packages/altboot/.mtn2git_empty0
-rw-r--r--packages/altboot/altboot.bb96
-rw-r--r--packages/altboot/files/.mtn2git_empty0
-rw-r--r--packages/altboot/files/akita/.mtn2git_empty0
-rw-r--r--packages/altboot/files/akita/altboot.cfg19
-rw-r--r--packages/altboot/files/altboot-menu/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot-menu/00-Default14
-rw-r--r--packages/altboot/files/altboot-menu/10-noGui14
-rw-r--r--packages/altboot/files/altboot-menu/15-bootSD48
-rw-r--r--packages/altboot/files/altboot-menu/20-bootCF47
-rw-r--r--packages/altboot/files/altboot-menu/99-ownScripts-example81
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS125
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/55-bin-sh23
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/80-copyrootfs324
-rw-r--r--packages/altboot/files/altboot.func294
-rw-r--r--packages/altboot/files/altboot.rc/.mtn2git_empty0
-rw-r--r--packages/altboot/files/altboot.rc/Readme.txt2
-rw-r--r--packages/altboot/files/collie/.mtn2git_empty0
-rw-r--r--packages/altboot/files/collie/altboot.cfg20
-rw-r--r--packages/altboot/files/init.altboot325
-rw-r--r--packages/altboot/files/poodle/.mtn2git_empty0
-rw-r--r--packages/altboot/files/poodle/altboot.cfg20
-rw-r--r--packages/altboot/files/spitz/.mtn2git_empty0
-rw-r--r--packages/altboot/files/spitz/altboot-menu/.mtn2git_empty0
-rw-r--r--packages/altboot/files/spitz/altboot-menu/00-Default54
-rw-r--r--packages/altboot/files/spitz/altboot-menu/10-noGui47
-rw-r--r--packages/altboot/files/spitz/altboot-menu/15-bootSD64
-rw-r--r--packages/altboot/files/spitz/altboot-menu/20-bootCF49
-rw-r--r--packages/altboot/files/spitz/altboot-menu/25-bootHDD380
-rw-r--r--packages/altboot/files/spitz/altboot-menu/99-ownScripts-example81
-rw-r--r--packages/altboot/files/spitz/altboot-menu/Advanced/.mtn2git_empty0
-rw-r--r--packages/altboot/files/spitz/altboot-menu/Advanced/40-bootNFS97
-rw-r--r--packages/altboot/files/spitz/altboot-menu/Advanced/55-bin-sh23
-rw-r--r--packages/altboot/files/spitz/altboot.cfg27
-rw-r--r--packages/angstrom/.mtn2git_empty0
-rw-r--r--packages/angstrom/angstrom-bootmanager-image.bb9
-rw-r--r--packages/angstrom/angstrom-bootmanager.bb12
-rw-r--r--packages/antlr/.mtn2git_empty0
-rw-r--r--packages/antlr/antlr-native_2.7.5.bb7
-rw-r--r--packages/antlr/antlr_2.7.5.bb27
-rw-r--r--packages/antlr/files/.mtn2git_empty0
-rw-r--r--packages/antlr/files/install.patch186
-rw-r--r--packages/apache/.mtn2git_empty0
-rw-r--r--packages/apache/apache_2.0.54.bb92
-rw-r--r--packages/apache/files/.mtn2git_empty0
-rw-r--r--packages/apache/files/httpd.conf1032
-rw-r--r--packages/apache/files/index.html42
-rwxr-xr-xpackages/apache/files/init73
-rw-r--r--packages/apex/.mtn2git_empty0
-rw-r--r--packages/apex/apex_1.2.19.bb27
-rw-r--r--packages/apex/nslu2/.mtn2git_empty0
-rw-r--r--packages/apex/nslu2/defconfig88
-rw-r--r--packages/apmd/.mtn2git_empty0
-rw-r--r--packages/apmd/apmd-3.2.2/.mtn2git_empty0
-rw-r--r--packages/apmd/apmd-3.2.2/apmd_proxy91
-rw-r--r--packages/apmd/apmd-3.2.2/apmd_proxy.conf16
-rw-r--r--packages/apmd/apmd-3.2.2/apmwrapper9
-rw-r--r--packages/apmd/apmd-3.2.2/debian.patch54
-rw-r--r--packages/apmd/apmd-3.2.2/default8
-rw-r--r--packages/apmd/apmd-3.2.2/devfs.patch11
-rw-r--r--packages/apmd/apmd-3.2.2/hwclock16
-rwxr-xr-xpackages/apmd/apmd-3.2.2/init44
-rw-r--r--packages/apmd/apmd-3.2.2/logcheck.ignore.paranoid13
-rw-r--r--packages/apmd/apmd-3.2.2/workaround.patch55
-rw-r--r--packages/apmd/apmd_3.2.2.bb83
-rw-r--r--packages/application-registry/.mtn2git_empty0
-rw-r--r--packages/application-registry/application-registry-0.1/.mtn2git_empty0
-rw-r--r--packages/application-registry/application-registry-0.1/abiword.applications7
-rw-r--r--packages/application-registry/application-registry-0.1/firefox.applications8
-rw-r--r--packages/application-registry/application-registry-0.1/gnumeric.applications7
-rw-r--r--packages/application-registry/application-registry-0.1/gpe-calendar.applications7
-rw-r--r--packages/application-registry/application-registry-0.1/gpe-contacts.applications7
-rw-r--r--packages/application-registry/application-registry-0.1/ipkg.applications7
-rw-r--r--packages/application-registry/application-registry_0.1.bb22
-rw-r--r--packages/appweb/.mtn2git_empty0
-rw-r--r--packages/appweb/appweb-1.2.0/.mtn2git_empty0
-rw-r--r--