tdbc::postgres

Changes On Branch bundle-fix
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch bundle-fix Excluding Merge-Ins

This is equivalent to a diff from 1d0dfd2e19 to 471e44bf6a

2012-07-17
12:39
merge fixes to work with tcl/pkgs system check-in: 55a85ab4fd user: dgp tags: trunk
2012-07-12
04:05
Updated ChangeLogs from Nijtmans's last few changes. Restored Unix buildability of tdbc by giving Tdbc_Init a correct external declaration. Fixed two failing tests in tdbcpostgres (the tests, not the code, were bad). check-in: bdd8b42862 user: kennykb tags: trunk
2012-07-11
22:50
merge trunk Closed-Leaf check-in: 471e44bf6a user: jan.nijtmans tags: bundle-fix
22:49
fix [0a8fd3f25e]: Tdbc_Init() not exported check-in: 1d0dfd2e19 user: jan.nijtmans tags: trunk
19:08
Disable installation of files not yet created. check-in: 51cb87fc9f user: dgp tags: bundle-fix
2012-07-10
20:19
Fix several issues with Tcl_GetIndexFromObjStruct using non-static data check-in: 72c46d63d0 user: kennykb tags: trunk

Changes to tdbc/Makefile.in.

189
190
191
192
193
194
195

196
197
198
199
200
201
202
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203







+







# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries: $(BINARIES)
	cp -p $(srcdir)/library/tdbc.tcl $(top_builddir)

libraries:

#========================================================================
# Your doc target should differentiate from doc builds (by the developer)
# and doc installs (see install-doc), which just install the docs on the
# end user machine when building from source.
382
383
384
385
386
387
388

389
390
391
392
393
394
395
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397







+







# variable in configure.in
#========================================================================

clean:  
	-test -z "$(BINARIES)" || rm -f $(BINARIES)
	-rm -f *.$(OBJEXT) core *.core
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
	-rm -f tdbc.tcl

distclean: clean
	-rm -f *.tab.c
	-rm -f $(CONFIGURE_OUTPUTS)

#========================================================================
# Install binary object libraries.  On Windows this includes both .dll and

Changes to tdbcpostgres/Makefile.in.

221
222
223
224
225
226
227

228
229
230
231
232





233
234
235
236
237
238
239
221
222
223
224
225
226
227
228





229
230
231
232
233
234
235
236
237
238
239
240







+
-
-
-
-
-
+
+
+
+
+







# Install documentation.  Unix manpages should go in the $(mandir)
# directory.
#========================================================================

install-doc: doc
	@$(INSTALL_DATA_DIR) $(DESTDIR)$(mandir)/mann
	@echo "Installing documentation in $(DESTDIR)$(mandir)"
#   Not written yet!
	@list='$(srcdir)/doc/*.n'; for i in $$list; do \
	    echo "Installing $$i"; \
	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
	done
#	@list='$(srcdir)/doc/*.n'; for i in $$list; do \
#	    echo "Installing $$i"; \
#	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
#	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
#	done

test: binaries libraries
	$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::postgres $(PACKAGE_VERSION) \
			[list source `@CYGPATH@ $(srcdir)/library/tdbcpostgres.tcl`]\;[list load `@CYGPATH@ $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"

shell: binaries libraries
314
315
316
317
318
319
320


321

322
323
324
325
326
327

328
329
330
331
332
333
334
315
316
317
318
319
320
321
322
323

324
325
326
327
328
329

330
331
332
333
334
335
336
337







+
+
-
+





-
+







	chmod +x $(DIST_DIR)/tclconfig/install-sh

#   Not written yet!
#	mkdir $(DIST_DIR)/doc
#	cp -p $(srcdir)/doc/tdbc_postgres.n $(DIST_DIR)/doc/

	mkdir $(DIST_DIR)/generic
	cp -p $(srcdir)/generic/fakepq.h $(srcdir)/generic/pqStubDefs.txt \
		$(srcdir)/generic/pqStubInit.c $(srcdir)/generic/pqStubs.h \
	cp -p $(srcdir)/generic/tdbcpostgres.c $(DIST_DIR)/generic/
		$(srcdir)/generic/tdbcpostgres.c $(DIST_DIR)/generic/

	mkdir $(DIST_DIR)/library
	cp -p $(srcdir)/library/tdbcpostgres.tcl $(DIST_DIR)/library/

	mkdir $(DIST_DIR)/tests
	cp -p $(srcdir)/tests/all.tcl $(srcdir)/tests/postgres.test \
	cp -p $(srcdir)/tests/all.tcl $(srcdir)/tests/tdbcpostgres.test \
		$(DIST_DIR)/tests/

	(cd $(DIST_ROOT); $(COMPRESS);)

#========================================================================
# How to rebuild the package's stub table.
#========================================================================

Changes to tdbcsqlite3/Makefile.in.

64
65
66
67
68
69
70
71

72
73
74
75
76
77
78
64
65
66
67
68
69
70

71
72
73
74
75
76
77
78







-
+







includedir	= @includedir@
datarootdir     = @datarootdir@
datadir		= @datadir@
mandir		= @mandir@

DESTDIR		=

PKG_DIR		= $(PACKAGE_NAME)$(PACKAGE_VERSION)
PKG_DIR		= $(PACKAGE_NAME)-$(PACKAGE_VERSION)
pkgdatadir	= $(datadir)/$(PKG_DIR)
pkglibdir	= $(libdir)/$(PKG_DIR)
pkgincludedir	= $(includedir)/$(PKG_DIR)
tmdir		= $(libdir)/tcl$(TCL_MAJOR_VERSION)/$(TCL_VERSION)
pkgslash	= `echo $(PACKAGE_NAME) | sed s=tdbc=tdbc/=`
pkgtmdir	= $(tmdir)/tdbc
pkgtmfile	= $(tmdir)/$(pkgslash)-$(PACKAGE_VERSION).tm