summaryrefslogtreecommitdiff
blob: c3edad732a2f021f29a5969d7efed4bbc85e73c8 (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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
Index: tools/gda-config.5
===================================================================
--- tools/gda-config.5	(revision 2809)
+++ tools/gda-config.5	(working copy)
@@ -4,7 +4,7 @@
 .\" Author:
 .\"   Gonzalo Paniagua Javier (gonzalo@gnome-db.org)
 .\"
-.TH gda-config "5" "January 2003" "libgda" "File Formats"
+.TH gda-config-3.0 "5" "January 2003" "libgda" "File Formats"
 .SH NAME
 $(sysconfdir)/libgda/config \- libgda global configuration file.
 $(HOME)/.libgda/config \- libgda user configuration file.
@@ -43,10 +43,10 @@
 .fi
 .sp
 .RE
-You can also use \fBgda-config-tool\fR or \fBmergeant\fR (recommended) to modify
+You can also use \fBgda-config-tool-3.0\fR or \fBmergeant\fR (recommended) to modify
 this file.
 .SH SEE ALSO
 .BR mergeant (1),
-.BR gda-config-tool (1)
+.BR gda-config-tool-3.0 (1)
 
 
Index: tools/gda-config-tool.1
===================================================================
--- tools/gda-config-tool.1	(revision 2809)
+++ tools/gda-config-tool.1	(working copy)
@@ -4,14 +4,14 @@
 .\" Author:
 .\"   Gonzalo Paniagua Javier (gonzalo@gnome-db.org)
 .\"
-.TH gda-config-tool "1" "October 2002" "gda-config-tool (libgda)" "User Commands"
+.TH gda-config-tool-3.0 "1" "October 2002" "gda-config-tool-3.0 (libgda)" "User Commands"
 .SH NAME
-gda-config-tool \- Tool for managing libgda configuration file.
+gda-config-tool-3.0 \- Tool for managing libgda configuration file.
 .SH SYNOPSIS
 .PP
-.B gda-config-tool [OPTIONS]
+.B gda-config-tool-3.0 [OPTIONS]
 .SH DESCRIPTION
-The \fIgda-config-tool\fP program can be used create/edit/remove a libgda
+The \fIgda-config-tool-3.0\fP program can be used create/edit/remove a libgda
 provider. It can be used both as a command line program and an interactive
 program.
 .SH OPTIONS
@@ -58,6 +58,6 @@
 User settings. Override global settings.
 .SH SEE ALSO
 .BR mergeant(1),
-.BR gda-config(5)
+.BR gda-config-3.0(5)
 
 
Index: tools/Makefile.am
===================================================================
--- tools/Makefile.am	(revision 2809)
+++ tools/Makefile.am	(working copy)
@@ -1,18 +1,24 @@
 if BUILD_CONFIG_TOOL
-CONFIG_TOOL=gda-config-tool
-man_MANS = gda-config-tool.1 \
-           gda-config.5
+CONFIG_TOOL=gda-config-tool-3.0
+man_MANS = gda-config-tool-3.0.1 \
+           gda-config-3.0.5
 else
 CONFIG_TOOL=
 endif
 
 if BUILD_RUN_TOOL
-RUN_TOOL=gda-run
+RUN_TOOL=gda-run-3.0
 else
 RUN_TOOL=
 endif
 
-bin_PROGRAMS = $(RUN_TOOL) $(CONFIG_TOOL) gda-diagnose gda-list-config gda-inspect-dict-file gda-author-dict-file
+bin_PROGRAMS = \
+	$(RUN_TOOL) \
+	$(CONFIG_TOOL) \
+	gda-diagnose-3.0 \
+	gda-list-config-3.0 \
+	gda-inspect-dict-file-3.0 \
+	gda-author-dict-file-3.0
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir) \
@@ -20,16 +26,16 @@
 	-I. \
 	$(LIBGDA_CFLAGS)
 
-gda_run_SOURCES = gda-run.c
-gda_run_LDADD = \
+gda_run_3_0_SOURCES = gda-run.c
+gda_run_3_0_LDADD = \
 	$(top_builddir)/libgda/libgda-3.0.la \
 	$(top_builddir)/libgda/graph/libgda_graph-3.0.la \
         $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
         $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
 	$(LIBGDA_LIBS)
 
-gda_config_tool_SOURCES = gda-config-tool.c
-gda_config_tool_LDADD = \
+gda_config_tool_3_0_SOURCES = gda-config-tool.c
+gda_config_tool_3_0_LDADD = \
 	$(top_builddir)/libgda/libgda-3.0.la \
 	$(top_builddir)/libgda/graph/libgda_graph-3.0.la \
 	$(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
@@ -39,46 +45,46 @@
 	$(POPT_LIB) \
 	$(LIBGDA_LIBS)
 
-gda_diagnose_SOURCES = \
+gda_diagnose_3_0_SOURCES = \
         html.h \
         html.c \
         gda-diagnose.c
 
-gda_diagnose_LDADD = \
+gda_diagnose_3_0_LDADD = \
         $(top_builddir)/libgda/libgda-3.0.la \
         $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
         $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
         $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
         $(LIBGDA_LIBS)
 
-gda_inspect_dict_file_SOURCES = \
+gda_inspect_dict_file_3_0_SOURCES = \
         gda-inspect-dict-file.c
 
-gda_inspect_dict_file_LDADD = \
+gda_inspect_dict_file_3_0_LDADD = \
         $(top_builddir)/libgda/libgda-3.0.la \
         $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
         $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
         $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
         $(LIBGDA_LIBS)
 
-gda_author_dict_file_SOURCES = \
+gda_author_dict_file_3_0_SOURCES = \
         gda-author-dict-file.c
 
-gda_author_dict_file_LDADD = \
+gda_author_dict_file_3_0_LDADD = \
         $(top_builddir)/libgda/libgda-3.0.la \
         $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
         $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
         $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
         $(LIBGDA_LIBS)
 
-gda_list_config_SOURCES = \
+gda_list_config_3_0_SOURCES = \
         gda-list-config.c
 
-gda_list_config_LDADD = \
+gda_list_config_3_0_LDADD = \
         $(top_builddir)/libgda/libgda-3.0.la \
         $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
         $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
         $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
         $(LIBGDA_LIBS)
 
-EXTRA_DIST = gda-config-tool.1 gda-config.5
+EXTRA_DIST = $(man_MANS)
Index: tools/gda-config-tool.c
===================================================================
--- tools/gda-config-tool.c	(revision 2809)
+++ tools/gda-config-tool.c	(working copy)
@@ -1476,6 +1476,8 @@
 main (int argc, char *argv [])
 {
 	options (argc, (const char **) argv);
+	gda_init ("Gda configuration manager", PACKAGE_VERSION, argc, argv);
+
 	if (cmdArgs.actions == ACTION_NONE) {
 		g_print ("Using configuration file from %s\n", cmdArgs.config_file);
 		initialize_readline ();
Index: doc/C/installation.xml
===================================================================
--- doc/C/installation.xml	(revision 2809)
+++ doc/C/installation.xml	(working copy)
@@ -176,11 +176,11 @@
     <title>Compiling with the library</title>
     <para>
       To compile you will need to set the C flags and to link the library, so we recommend
-      to use the <emphasis>pkg-config</emphasis> command.
+      to use the <command>pkg-config</command> command.
     </para>
     <programlisting>
-      <systemitem class="prompt">$</systemitem> <userinput> gcc -c full_example.c `pkg-config --cflags libgda`</userinput>
-      <systemitem class="prompt">$</systemitem> <userinput> gcc -o full_example `pkg-config --libs libgda` full_example.o</userinput>
+<systemitem class="prompt">$</systemitem> <userinput> gcc -c full_example.c `pkg-config --cflags libgda-3.0`</userinput>
+<systemitem class="prompt">$</systemitem> <userinput> gcc -o full_example `pkg-config --libs libgda-3.0` full_example.o</userinput>
     </programlisting>
     <para>
       Doing this will add to the C compiler command line all needed header files
Index: doc/C/libgda-docs.sgml
===================================================================
--- doc/C/libgda-docs.sgml	(revision 2809)
+++ doc/C/libgda-docs.sgml	(working copy)
@@ -29,6 +29,11 @@
 <!ENTITY GDADATAMODEL    "<link linkend='GdaDataModel'>GdaDataModel</link>">
 <!ENTITY GDADATAMODELARRAY "<link linkend='GdaDataModelArray'>GdaDataModelArray</link>">
 <!ENTITY GDADATAMODELHASH "<link linkend='GdaDataModelHash'>GdaDataModelHash</link>">
+<!ENTITY gda-author-dict-file "<command>gda-author-dict-file-3.0</command>">
+<!ENTITY gda-diagnose "<command>gda-diagnose-3.0</command>">
+<!ENTITY gda-inspect-dict-file "<command>gda-inspect-dict-file-3.0</command>">
+<!ENTITY gda-list-config "<command>gda-list-config-3.0</command>">
+<!ENTITY gda-test-connection "<command>gda-test-connection-3.0</command>">
 <!ENTITY fullexample SYSTEM "examples/full_example.c">
 <!ENTITY install SYSTEM "installation.xml">
 <!ENTITY examples SYSTEM "gettingstarted.xml">
@@ -130,7 +135,7 @@
 
 <book id="index">
   <bookinfo>
-    <title>GNOME Data Access manual</title>
+    <title>GNOME Data Access 3.0 manual</title>
     <authorgroup>
       <author>
         <firstname>Michael</firstname>
@@ -197,7 +202,7 @@
     </authorgroup>
     <date>1999 February</date>
     <copyright>
-      <year>1999 - 2006</year>
+      <year>1999 - 2007</year>
       <holder>The GNOME Foundation</holder>
     </copyright>
     <abstract>
@@ -638,15 +643,15 @@
     </chapter>
 
     <chapter id="libgda-tools-list-config">
-      <title>gda-list-config</title>
+      <title>&gda-list-config;</title>
       <para>
-	The gda-list-config tool simply lists all the declared data sources, and all the installed
+	The &gda-list-config; tool simply lists all the declared data sources, and all the installed
 	providers, giving some other usefull information as well for each.
       </para>
     </chapter>
 
     <chapter id="libgda-tools-test-connection">
-      <title>gda-test-connection</title>
+      <title>&gda-test-connection;</title>
       <para>
 	This tool is a 'ping' like tool to test connectivity to databases. Connections can either
 	be declared as DSN, or described in the command line.
@@ -654,9 +659,9 @@
     </chapter>
 
     <chapter id="libgda-tools-diagnose">
-      <title>gda-diagnose</title>
+      <title>&gda-diagnose;</title>
       <para>
-	The gda-diagnose tool is a quite exhaustive and verbose testing program which output 
+	The &gda-diagnose; tool is a quite exhaustive and verbose testing program which output 
 	several HTML files
 	in a specified directory (DIAGNOSE_OUTPUT by default). It can either test a single data source
 	or all the data sources if none is specified. Running this tool can be time consuming...
@@ -675,9 +680,9 @@
     </chapter>
 
     <chapter id="libgda-tools-author-dict">
-      <title>gda-author-dict-file</title>
+      <title>&gda-author-dict-file;</title>
       <para>
-	The gda-author-dict-file tool allows to create a XML dictionary file which can be loaded into a 
+	The &gda-author-dict-file; tool allows to create a XML dictionary file which can be loaded into a 
 	#GdaDict object, specifying a data source to use. Specifically it does (depending on command line
 	options):
 	<itemizedlist>
@@ -693,9 +698,9 @@
     </chapter>
 
     <chapter id="libgda-tools-inspect-dict">
-      <title>gda-inspect-dict-file</title>
+      <title>&gda-inspect-dict-file;</title>
       <para>
-	The gda-inspect-dict-file tool tests an existing XML dictionary file and (depending on command line
+	The &gda-inspect-dict-file; tool tests an existing XML dictionary file and (depending on command line
 	options):
 	<itemizedlist>
 	  <listitem>
Index: doc/C/Makefile.am
===================================================================
--- doc/C/Makefile.am	(revision 2809)
+++ doc/C/Makefile.am	(working copy)
@@ -3,7 +3,7 @@
 AUTOMAKE_OPTIONS = 1.6
 
 # The name of the module.
-DOC_MODULE=libgda
+DOC_MODULE=libgda-3.0
 
 # The top-level SGML file.
 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
@@ -37,7 +37,7 @@
         $(LIBGDA_LIBS)
 
 # Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--sgml-mode --output-format=xml --ignore-files="lexer.c"
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
 content_files = fdl-appendix.sgml 
Index: report/testing/Makefile.am
===================================================================
--- report/testing/Makefile.am	(revision 2809)
+++ report/testing/Makefile.am	(working copy)
@@ -1,19 +1,19 @@
 AM_CPPFLAGS = \
-        -I$(top_srcdir) \
-        -I$(top_builddir) \
+	-I$(top_srcdir) \
+	-I$(top_builddir) \
 	-I$(top_srcdir)/report \
-        -I$(top_builddir)/report \
-        $(LIBGDA_CFLAGS)
+	-I$(top_builddir)/report \
+	$(LIBGDA_CFLAGS)
 
-bin_PROGRAMS = gda-report-test 
+bin_PROGRAMS = gda-report-test-3.0
 
-gda_report_test_SOURCES = \
+gda_report_test_3_0_SOURCES = \
         gda-report-test.c
 
-gda_report_test_LDADD = \
-        $(top_builddir)/libgda/libgda-3.0.la \
-        $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
+gda_report_test_3_0_LDADD = \
+	$(top_builddir)/libgda/libgda-3.0.la \
+	$(top_builddir)/libgda/graph/libgda_graph-3.0.la \
 	$(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
 	$(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
-        $(top_builddir)/report/libgda-report/libgda-report-3.0.la \
-        $(LIBGDA_LIBS)
+	$(top_builddir)/report/libgda-report/libgda-report-3.0.la \
+	$(LIBGDA_LIBS)
Index: testing/Makefile.am
===================================================================
--- testing/Makefile.am	(revision 2809)
+++ testing/Makefile.am	(working copy)
@@ -3,7 +3,7 @@
 	-I$(top_builddir) \
 	$(LIBGDA_CFLAGS)
 
-bin_PROGRAMS = gda-test-connection
+bin_PROGRAMS = gda-test-connection-3.0
 noinst_PROGRAMS = gda-test-sql gda-test-models gda-test-server-operation gda-test-model-query gda-test-blob
 
 gda_test_sql_SOURCES = \
@@ -30,10 +30,10 @@
         $(top_builddir)/libgda/sql-delimiter/libgda_sql_delimiter-3.0.la \
         $(LIBGDA_LIBS)
 
-gda_test_connection_SOURCES = \
+gda_test_connection_3_0_SOURCES = \
         gda-test-connection.c
 
-gda_test_connection_LDADD = \
+gda_test_connection_3_0_LDADD = \
         $(top_builddir)/libgda/libgda-3.0.la \
         $(top_builddir)/libgda/handlers/libgda_handlers-3.0.la \
         $(top_builddir)/libgda/graph/libgda_graph-3.0.la \
Index: configure.in
===================================================================
--- configure.in	(revision 2809)
+++ configure.in	(working copy)
@@ -988,7 +988,7 @@
 dnl
 dnl where to install DTD files
 dnl
-LIBGDA_DTDDIR=${datadir}/${PACKAGE}/dtd
+LIBGDA_DTDDIR=${datadir}/libgda-3.0/dtd
 AC_SUBST(LIBGDA_DTDDIR)