From 52d19f65e36f08e662e971f47edbe039141f3c82 Mon Sep 17 00:00:00 2001 From: drh Date: Tue, 8 May 2007 18:30:36 +0000 Subject: [PATCH] Update the release builder script. (CVS 3957) FossilOrigin-Name: 21299b917812920c70001c2d3d9b65f66eca6b24 --- manifest | 16 ++++++++-------- manifest.uuid | 2 +- publish.sh | 16 +++++++++++----- www/download.tcl | 12 ++++++++++-- 4 files changed, 30 insertions(+), 16 deletions(-) diff --git a/manifest b/manifest index 0f972d471c..a8f01c4906 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sa\snull-pointer\sdereference\sthat\sfollows\sa\smalloc()\sfailure\sintroduced\sin\s(3954).\s(CVS\s3956) -D 2007-05-08T18:04:46 +C Update\sthe\srelease\sbuilder\sscript.\s(CVS\s3957) +D 2007-05-08T18:30:36 F Makefile.in 87b200ad9970907f76df734d29dff3d294c10935 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -51,7 +51,7 @@ F mkdll.sh ed62756baf44babf562a7843588790c02fee2106 F mkopcodec.awk bd46ad001c98dfbab07b1713cb8e692fa0e5415d F mkopcodeh.awk cde995d269aa06c94adbf6455bea0acedb913fa5 F mkso.sh 24bde4c09e6fe80f718db3c31c068f45e13a2f2c -F publish.sh 8ef26af8417ddd03d471779e9c14764b3abe7706 +F publish.sh 1485f19777745ff77f5e60980f8d71992d1ca9d4 F spec.template b2f6c4e488cbc3b993a57deba22cbc36203c4da3 F sqlite.pc.in 30552343140c53304c2a658c080fbe810cd09ca2 F sqlite3.1 6be1ad09113570e1fc8dcaff84c9b0b337db5ffc @@ -455,7 +455,7 @@ F www/datatypes.tcl 7c786d2e8ff434346764534ec015966d17efce60 F www/different.tcl 8b76ae88bf73e38097b7936e198df4f89baf587c F www/direct1b.gif 32b48b764244817b6b591898dc52a04299a7b8a7 F www/docs.tcl 09eeac4e565789a67abc63f166a9ae7f3050454d -F www/download.tcl af64b2815046b43010163dcc961811b30395d6a8 +F www/download.tcl d59a0244f22a975c3f9deafb535fc20549cb8c45 F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c F www/faq.tcl 705c986e40775cc3d92a1676dcbb55f00f0459c5 F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059 @@ -486,7 +486,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 -P becd64d3615fc5738da4c70610d8849e0a70bed8 -R 985034783681e7cc54035c1eef2227e6 -U danielk1977 -Z 04c781546d358651729495f7a5fd6fe1 +P 251ba1981e32fb80818965ffe1ef455069e88abd +R 5b0123fce080c175ec84a3d44db3b618 +U drh +Z 86fe330e899fca92e103583ff75ee0fd diff --git a/manifest.uuid b/manifest.uuid index d3dbba3f9d..f9814f0667 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -251ba1981e32fb80818965ffe1ef455069e88abd \ No newline at end of file +21299b917812920c70001c2d3d9b65f66eca6b24 \ No newline at end of file diff --git a/publish.sh b/publish.sh index d9cdcaecbc..8fd7b43f8b 100644 --- a/publish.sh +++ b/publish.sh @@ -26,7 +26,7 @@ echo "VERSIONS: $VERS $VERSW" # make clean make sqlite3.c -gcc -O2 -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl -lpthread +gcc -Os -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl -lpthread strip sqlite3 mv sqlite3 sqlite3-$VERS.bin gzip sqlite3-$VERS.bin @@ -35,10 +35,16 @@ mv sqlite3-$VERS.bin.gz doc # Build a source archive useful for windows. # +make target_source +cd tsrc +rm fts* +rm -f ../doc/sqlite-source-$VERSW.zip +zip ../doc/sqlite-source-$VERSW.zip * +cd .. make sqlite3.c cp tsrc/sqlite3.h . pwd -zip doc/sqlite-source-$VERSW.zip sqlite3.c sqlite3.h +zip doc/sqlite-amalgamation-$VERSW.zip sqlite3.c sqlite3.h # Build the sqlite.so and tclsqlite.so shared libraries # under Linux @@ -46,13 +52,13 @@ zip doc/sqlite-source-$VERSW.zip sqlite3.c sqlite3.h make sqlite3.c TCLDIR=/home/drh/tcltk/846/linux/846linux TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a -gcc -O2 -shared -Itsrc sqlite3.c tsrc/tclsqlite.c $TCLSTUBLIB -o tclsqlite3.so +gcc -Os -shared -Itsrc sqlite3.c tsrc/tclsqlite.c $TCLSTUBLIB -o tclsqlite3.so strip tclsqlite3.so chmod 644 tclsqlite3.so mv tclsqlite3.so tclsqlite-$VERS.so gzip tclsqlite-$VERS.so mv tclsqlite-$VERS.so.gz doc -gcc -O2 -shared -Itsrc sqlite3.c -o sqlite3.so +gcc -Os -shared -Itsrc sqlite3.c -o sqlite3.so strip sqlite3.so chmod 644 sqlite3.so mv sqlite3.so sqlite-$VERS.so @@ -72,7 +78,7 @@ zip doc/sqlitedll-$VERSW.zip sqlite3.dll sqlite3.def # make target_source OPTS='-DSTATIC_BUILD=1 -DNDEBUG=1' -i386-mingw32msvc-gcc -O2 $OPTS -Itsrc -I$TCLDIR sqlite3.c tsrc/shell.c \ +i386-mingw32msvc-gcc -Os $OPTS -Itsrc -I$TCLDIR sqlite3.c tsrc/shell.c \ -o sqlite3.exe zip doc/sqlite-$VERSW.zip sqlite3.exe diff --git a/www/download.tcl b/www/download.tcl index 8b586f5dda..b47cd5b2a2 100644 --- a/www/download.tcl +++ b/www/download.tcl @@ -1,7 +1,7 @@ # # Run this TCL script to generate HTML for the download.html file. # -set rcsid {$Id: download.tcl,v 1.26 2007/04/09 13:18:47 drh Exp $} +set rcsid {$Id: download.tcl,v 1.27 2007/05/08 18:30:36 drh Exp $} source common.tcl header {SQLite Download Page} @@ -136,12 +136,20 @@ Product {sqlite-V3.tar.gz} { } Product {sqlite-source-V3.zip} { - This ZIP archive contains pure C code for the SQLite library. + This ZIP archive contains preprocessed C code for the SQLite library as + individual source files. Unlike the tarballs below, all of the preprocessing and automatic code generation has already been done on these C code files, so they can be converted to object code directly with any ordinary C compiler. } +Product {sqlite-amalgamation-V3.zip} { + This ZIP archive contains all preprocessed C code combined into a + single source file (the + + amalgamation). +} + Product {sqlite-V3-tea.tar.gz} { A tarball of proprocessed source code together with a Tcl Extension Architecture (TEA)