[libgda] Added a way to use docker to cross compile for Windows 32



commit 67eb10979578c3c6d28c41b22a4f9d8a3a9e9571
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat Sep 20 16:24:09 2014 +0200

    Added a way to use docker to cross compile for Windows 32

 docker-tools/libgda-mibgw/.gitignore  |    1 +
 docker-tools/libgda-mibgw/Dockerfile  |   29 +++++++++
 docker-tools/libgda-mibgw/README      |   18 ++++++
 docker-tools/libgda-mibgw/build.sh    |   36 +++++++++++
 docker-tools/libgda-mibgw/do_packages |   32 ++++++++++
 docker-tools/libgda-mibgw/install.sh  |    6 ++
 docker-tools/libgda-mibgw/start.sh    |   71 ++++++++++++++++++++++
 installers/Windows/gda-browser.ico    |    2 +-
 installers/Windows/make-zip-setup.sh  |  104 +++++++++++++-------------------
 9 files changed, 236 insertions(+), 63 deletions(-)
---
diff --git a/docker-tools/libgda-mibgw/.gitignore b/docker-tools/libgda-mibgw/.gitignore
new file mode 100644
index 0000000..be4ae84
--- /dev/null
+++ b/docker-tools/libgda-mibgw/.gitignore
@@ -0,0 +1 @@
+Win32
diff --git a/docker-tools/libgda-mibgw/Dockerfile b/docker-tools/libgda-mibgw/Dockerfile
new file mode 100644
index 0000000..101390b
--- /dev/null
+++ b/docker-tools/libgda-mibgw/Dockerfile
@@ -0,0 +1,29 @@
+FROM fedora:20
+
+MAINTAINER Vivien Malerba "vmalerba gmail com"
+ENV REFRESHED_AT 2014-09-03
+
+COPY install.sh /
+RUN /install.sh
+RUN rm -f /install.sh
+
+# sources files dir
+ENV SRC /src
+
+# files installed outside of YUM
+ENV DEPEND /dependencies
+COPY Win32 /dependencies/
+
+# destination of the compiled files
+RUN mkdir /install
+ENV PREFIX /install
+
+# working dir
+RUN mkdir -p /compilation/libgda
+WORKDIR /compilation/libgda
+
+COPY run_configure.sh /compilation/libgda/configure
+COPY mingw-configure /compilation/libgda/.mingw-configure
+COPY do_packages /compilation/libgda/
+
+CMD [ "/bin/bash" ]
\ No newline at end of file
diff --git a/docker-tools/libgda-mibgw/README b/docker-tools/libgda-mibgw/README
new file mode 100644
index 0000000..88611ec
--- /dev/null
+++ b/docker-tools/libgda-mibgw/README
@@ -0,0 +1,18 @@
+Use the scripts contained here to create a MinGW docker image from which you can
+cross compile Libgda. The source files are "mounted" into the container in /srv/libgda and the compiled files
+are installed (when running "make install") in the path provided as the 1st argument to the start.sh script.
+
+* build.sh builds the docker image (named "libgda-mingw"), and first checks and if necessary download the
+  missing binary files (Win32/). Run without any argument.
+
+* start.sh starts a docker container from the built image, the 1st argument being the installation directory 
(where
+  the files are copied when running "make install"). It opens a shell where you
+  can run (as root inside the container):
+  # ./configure
+  # make
+  # make install
+  # ./do_packages
+
+WARNING: if you get a "permission denied" while running the configure script, or while runnin "make install",
+        then you probably need to change the SELinux context of Libgda's source directory or of the 
installation
+        directory (from the host and not the docker container) using: chcon -Rt svirt_sandbox_file_t 
<dirname>
diff --git a/docker-tools/libgda-mibgw/build.sh b/docker-tools/libgda-mibgw/build.sh
new file mode 100755
index 0000000..d818dc6
--- /dev/null
+++ b/docker-tools/libgda-mibgw/build.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+image_name="libgda-mingw"
+
+# test docker install
+docker version > /dev/null 2>&1 || {
+    echo "Can't find or execute docker"
+    exit 1
+}
+
+# download Win32 binaries if necessary
+if [ ! -d Win32 ]
+then
+    echo "Missing Win32/ directory, downloading archive (about 3Mb)..."
+    tarball="https://people.gnome.org/~vivien/Win32_docker_01.txz";
+    wget -q $tarball > /dev/null 2>&1 || {
+       echo "Unable to get $tarball, check with Libgda's maintainer!"
+       exit 1
+    }
+    echo "Download complete"
+    file=`basename $tarball`
+    tar xJf $file > /dev/null 2>&1 || {
+       echo "Unable to uncompress $file."
+       exit 1
+    }
+    rm -f $file
+fi
+
+# build image
+echo "Now building Docker image, this will take a few minutes (or maybe half an hour, depending on you 
setup)..."
+docker build --force-rm -q -t "$image_name" . || {
+    echo "Failed to build image."
+    exit 1
+}
+echo "Image '$image_name' is now ready, you can use the start.sh script"
+
diff --git a/docker-tools/libgda-mibgw/do_packages b/docker-tools/libgda-mibgw/do_packages
new file mode 100755
index 0000000..2c71519
--- /dev/null
+++ b/docker-tools/libgda-mibgw/do_packages
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+pushd Packager > /dev/null 2>&1 || {
+    echo "Can't change to the 'Packager' directory"
+    exit 1
+}
+
+./make-zip-setup.sh 32 || {
+    echo "Error!"
+    popd > /dev/null 2>&1
+    exit 1
+}
+
+makensis -V0 gda-browser.nsi || {
+    echo "Can't generate Setup EXE file"
+    popd > /dev/null 2>&1
+    exit 1
+}
+
+cp libgda*.zip GdaBrowserSetup*.exe /install/libgda/ || {
+    echo "Could not copy ZIP and EXE files to installation directory!"
+    popd > /dev/null 2>&1
+    exit 1
+}
+
+popd > /dev/null 2>&1 || {
+    echo "Can't get back to initial working directory, now in `pwd`"
+}
+
+chown -R $UID:$GID /install/libgda || {
+    echo "Installed files will remain owned by root:root, could not change them to $UID:$GID"
+}
diff --git a/docker-tools/libgda-mibgw/install.sh b/docker-tools/libgda-mibgw/install.sh
new file mode 100755
index 0000000..d2e85db
--- /dev/null
+++ b/docker-tools/libgda-mibgw/install.sh
@@ -0,0 +1,6 @@
+echo "Running Upgrade..."
+yum -y -q upgrade
+echo "Installing packages..."
+yum -y install gcc make intltool itstool glib2-devel mingw32-gcc mingw32-nsis mingw32-gtk3 mingw32-libxml2 
mingw32-postgresql mingw32-libsoup mingw32-goocanvas2 mingw32-gtksourceview3 mingw32-libxslt iso-codes-devel 
mingw32-readline zip
+echo "Cleaning..."
+yum clean all
diff --git a/docker-tools/libgda-mibgw/start.sh b/docker-tools/libgda-mibgw/start.sh
new file mode 100755
index 0000000..e0a3718
--- /dev/null
+++ b/docker-tools/libgda-mibgw/start.sh
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+image_name="libgda-mingw"
+
+# test docker install
+docker version > /dev/null 2>&1 || {
+    echo "Can't find or execute docker"
+    exit 1
+}
+
+# test docker image 
+img=`docker images -q "$image_name"`
+if test "x$img" == "x"
+then
+    echo "The docker image '$image_name' is not present, use the ./build.sh script first"
+    exit 1
+fi
+
+# determine destination DIR
+if test "$#" -eq 1
+then
+    destdir=$1
+else
+    destdir=/home/vivien/Devel/VMShared/bin-win32
+fi
+if [ ! -e $destdir ]
+then
+    echo "Destination directory '$destdir' does not exist"
+    exit 1
+fi
+pushd $destdir > /dev/null 2>& 1 || {
+    echo "Can't go to directory $destdir"
+    exit 1
+}
+destdir=`pwd`
+popd > /dev/null 2>& 1 || {
+    echo "Can't get back to working directory!"
+    exit 1
+}
+echo "Destination files will be in $destdir/libgda"
+
+# get Libgda's sources dir
+pushd ../.. > /dev/null 2>& 1 || {
+    echo "Can't go to directory ../.."
+    exit 1
+}
+gda_src=`pwd`
+popd > /dev/null 2>& 1 || {
+    echo "Can't get back to working directory!"
+    exit 1
+}
+
+# get user and group ID
+if test "x$SUDO_UID" == "x"
+then
+    uid=`id -u`
+    gid=`id -g`
+else
+    uid=$SUDO_UID
+    gid=$SUDO_GID
+fi
+
+echo "Using libgda's source files in:  ${gda_src}"
+echo "Win32 compiled files will be in: ${destdir}"
+echo "Once in the container, run:"
+echo "# ./configure"
+echo "# make"
+echo "# make install"
+echo "# ./do_packages"
+echo ""
+docker run -t -i -v ${gda_src}:/src/libgda:ro -v ${destdir}:/install -e UID=$uid -e GID=$gid --rm 
"$image_name"
diff --git a/installers/Windows/gda-browser.ico b/installers/Windows/gda-browser.ico
index a99eabe..ee9fbb6 120000
--- a/installers/Windows/gda-browser.ico
+++ b/installers/Windows/gda-browser.ico
@@ -1 +1 @@
-../../tools/browser/gda-browser.ico
\ No newline at end of file
+../../tools/gda-browser.ico
\ No newline at end of file
diff --git a/installers/Windows/make-zip-setup.sh b/installers/Windows/make-zip-setup.sh
index 4b4f1c6..a33e4e8 100755
--- a/installers/Windows/make-zip-setup.sh
+++ b/installers/Windows/make-zip-setup.sh
@@ -18,13 +18,13 @@
 
 if [ "$1" = "32" ]
 then
-  depend_path="/usr/i686-w64-mingw32/sys-root/mingw /usr/i686-pc-mingw32/sys-root/mingw /local/Win32.Fedora 
/local/Win32/graphviz /local/Win32/bdb /local/Win32/mysql /local/Win32/pgsql /local/Win32/ldap 
/local/Win32/mdb /local/Win32/oracle"
-  prefix=/local/Win32/Libgda
+  depend_path="/usr/i686-w64-mingw32/sys-root/mingw /usr/i686-pc-mingw32/sys-root/mingw /local/Win32.Fedora 
$DEPEND/graphviz $DEPEND/bdb $DEPEND/mysql $DEPEND/pgsql $DEPEND/ldap $DEPEND/mdb $DEPEND/oracle 
$DEPEND/graph"
+  prefix=$PREFIX/libgda
 else
   if [ "$1" = "64" ]
   then
       depend_path="/usr/x86_64-w64-mingw32/sys-root/mingw /local/Win64Compiled /local/Win64/bdb 
/local/Win64/mysql /local/Win64/pgsql /local/Win64/ldap /local/Win64/mdb /local/Win64/oracle"
-      prefix=/local/Win32/Libgda
+      prefix=$PREFIX/libgda
   else
       echo "You must specify the 32 or 64 bits."
       exit 1
@@ -38,8 +38,7 @@ debug=no
 #
 # determine version
 #
-current_dir=`pwd`
-conf=$current_dir/../../configure.ac
+conf=$SRC/libgda/configure.ac
 if test -e $conf
 then
     major=`cat $conf | grep m4_define | grep major | sed -e 's/[^ ]* \([0-9]*\).*/\1/'`
@@ -48,13 +47,25 @@ then
     version="$major.$minor.$micro"
     echo "Determined version [$version]"
 else
-    echo "configure.ac file not found"
+    echo "configure.ac file not found, no version determined"
 fi
 
+current_dir=`pwd`
 archive=${current_dir}/libgda-${version}.zip
 archive_dev=${current_dir}/libgda-dev-${version}.zip
 archive_ext=${current_dir}/libgda-dep-${version}.zip
-nshfiles=(core.nsh prov_bdb.nsh prov_mdb.nsh prov_mysql.nsh prov_oracle.nsh prov_postgresql.nsh 
prov_sqlite.nsh prov_sqlcipher.nsh prov_web.nsh prov_ldap.nsh)
+
+# oracle build?
+with_oracle=no
+nsh_ora=
+if [ -e $prefix/lib/libgda-6.0/providers/libgda-oracle.dll ]
+then
+    with_oracle=yes
+    nsh_ora=prov_oracle.nsh
+fi
+
+# define NSH files
+nshfiles=(core.nsh prov_bdb.nsh prov_mdb.nsh prov_mysql.nsh $nsh_ora prov_postgresql.nsh prov_sqlite.nsh 
prov_sqlcipher.nsh prov_web.nsh prov_ldap.nsh)
 tmpfile=`mktemp`
 
 # remove current archive if it exists
@@ -269,11 +280,16 @@ Section "PostgreSQL" SEC05
   SetOverwrite try
 EOF
 
-cat > prov_oracle.nsh <<EOF
+if test "x$with_oracle" == "xyes"
+then
+    cat > prov_oracle.nsh <<EOF
 Section /o "Oracle" SEC06
   SetOutPath "\$INSTDIR\bin"
   SetOverwrite try
 EOF
+else
+    touch prov_oracle.nsh
+fi
 
 cat > prov_sqlite.nsh <<EOF
 Section "SQLite" SEC07
@@ -326,7 +342,7 @@ EOF
 #
 # dependencies DLLs
 #
-files=(libexpat-1.dll libgio-2.*.dll libglib-2.*.dll libgmodule-2.*.dll libgobject-2.*.dll 
libgthread-2.*.dll libxml2*.dll libsoup-2.*.dll libgdk_pixbuf-2.*.dll libgdk-3-0.dll libgtk-3-0.dll 
libatk-1.*.dll libpng*.dll libpango-1.*.dll libpangocairo-1.*.dll libpangoft2-1.*.dll libpangowin32-1.*.dll 
libcairo-2.dll libcairo-gobject-2.dll libfontconfig-1.dll libgoocanvas-*.dll libcdt*.dll libcgraph*.dll 
libgvc*.dll libpathplan*.dll libxdot*.dll libfreetype-6.dll libintl-8.dll libpixman-1-0.dll libjasper-1.dll 
libjpeg*.dll libffi*.dll *readline*.dll iconv.dll libgraph*.dll libgtksourceview*.dll libtermcap*.dll 
zlib1.dll libsqlite3-0.dll)
+files=(libexpat-1.dll libgio-2.*.dll libglib-2.*.dll libgmodule-2.*.dll libgobject-2.*.dll 
libgthread-2.*.dll libxml2*.dll libsoup-2.*.dll libgdk_pixbuf-2.*.dll libgdk-3-0.dll libgtk-3-0.dll 
libatk-1.*.dll libpng*.dll libpango-1.*.dll libpangocairo-1.*.dll libpangoft2-1.*.dll libpangowin32-1.*.dll 
libcairo-2.dll libcairo-gobject-2.dll libfontconfig-1.dll libgoocanvas-*.dll libcdt*.dll libcgraph*.dll 
libgvc*.dll libpathplan*.dll libxdot*.dll libfreetype-6.dll libintl-8.dll libpixman-1-0.dll libjasper-1.dll 
libjpeg*.dll libffi*.dll *readline*.dll iconv.dll libgraph*.dll libgtksourceview*.dll libtermcap*.dll 
zlib1.dll libsqlite3-0.dll libxml2*.dll libxslt*.dll libgcc*.dll libssl*.dll)
 add_files_to_zip $archive_ext "${depend_path}" bin $files
 add_found_files_to_nsh core bin
 
@@ -338,7 +354,7 @@ files=(libmySQL.dll)
 add_files_to_zip $archive_ext "${depend_path}" bin $files
 add_found_files_to_nsh prov_mysql bin
 
-files=(libeay32.dll libpq.dll libxml2.dll libxslt.dll msvcr71.dll ssleay32.dll)
+files=(libpq.dll)
 add_files_to_zip $archive_ext "${depend_path}" bin $files
 add_found_files_to_nsh prov_postgresql bin
 
@@ -400,9 +416,12 @@ files=(web_specs_auth.xml web_specs_dsn.xml)
 add_files_to_zip $archive $prefix share/libgda-6.0 $files
 add_found_files_to_nsh prov_web share/libgda-6.0
 
-files=(oracle_specs_dsn.xml oracle_specs_create_table.xml)
-add_files_to_zip $archive $prefix share/libgda-6.0 $files
-add_found_files_to_nsh prov_oracle share/libgda-6.0
+if test "x$with_oracle" == "xyes"
+then
+    files=(oracle_specs_dsn.xml oracle_specs_create_table.xml)
+    add_files_to_zip $archive $prefix share/libgda-6.0 $files
+    add_found_files_to_nsh prov_oracle share/libgda-6.0
+fi
 
 files=(ldap_specs_auth.xml ldap_specs_dsn.xml)
 add_files_to_zip $archive $prefix share/libgda-6.0 $files
@@ -412,56 +431,13 @@ files=(gdaui-generic.png)
 add_files_to_zip $archive $prefix share/libgda-6.0/pixmaps $files
 add_found_files_to_nsh core share/libgda-6.0/pixmaps
 
-
-#
-#copy some Gnome files to be installed on Windows
-#
-cp /usr/share/icons/gnome/16x16/actions/bookmark-new.png $prefix/share/libgda-6.0/icons/hicolor/16x16/actions
-cp /usr/share/icons/gnome/22x22/actions/bookmark-new.png $prefix/share/libgda-6.0/icons/hicolor/22x22/actions
-cp /usr/share/icons/gnome/24x24/actions/bookmark-new.png $prefix/share/libgda-6.0/icons/hicolor/24x24/actions
-cp /usr/share/icons/gnome/32x32/actions/bookmark-new.png $prefix/share/libgda-6.0/icons/hicolor/32x32/actions
-cp /usr/share/icons/gnome/16x16/actions/window-new.png $prefix/share/libgda-6.0/icons/hicolor/16x16/actions
-cp /usr/share/icons/gnome/22x22/actions/window-new.png $prefix/share/libgda-6.0/icons/hicolor/22x22/actions
-cp /usr/share/icons/gnome/24x24/actions/window-new.png $prefix/share/libgda-6.0/icons/hicolor/24x24/actions
-cp /usr/share/icons/gnome/32x32/actions/window-new.png $prefix/share/libgda-6.0/icons/hicolor/32x32/actions
-mkdir -p $prefix/share/libgda-6.0/icons/hicolor/16x16/apps
-mkdir -p $prefix/share/libgda-6.0/icons/hicolor/22x22/apps
-mkdir -p $prefix/share/libgda-6.0/icons/hicolor/24x24/apps
-mkdir -p $prefix/share/libgda-6.0/icons/hicolor/32x32/apps
-cp /usr/share/icons/gnome/16x16/apps/accessories-text-editor.png 
$prefix/share/libgda-6.0/icons/hicolor/16x16/apps
-cp /usr/share/icons/gnome/22x22/apps/accessories-text-editor.png 
$prefix/share/libgda-6.0/icons/hicolor/22x22/apps
-cp /usr/share/icons/gnome/24x24/apps/accessories-text-editor.png 
$prefix/share/libgda-6.0/icons/hicolor/24x24/apps
-cp /usr/share/icons/gnome/32x32/apps/accessories-text-editor.png 
$prefix/share/libgda-6.0/icons/hicolor/32x32/apps
-
 add_all_files_to_zip $archive $prefix share/libgda-6.0/pixmaps
 add_found_files_to_nsh core share/libgda-6.0/pixmaps
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/16x16/actions
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/16x16/actions
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/22x22/actions
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/22x22/actions
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/24x24/actions
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/24x24/actions
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/32x32/actions
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/32x32/actions
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/scalable/actions
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/scalable/actions
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/16x16/apps
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/16x16/apps
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/22x22/apps
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/22x22/apps
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/24x24/apps
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/24x24/apps
-add_all_files_to_zip $archive $prefix share/libgda-6.0/icons/hicolor/32x32/apps
-add_found_files_to_nsh core share/libgda-6.0/icons/hicolor/32x32/apps
 
 files=(index.theme)
 add_files_to_zip $archive . share/libgda-6.0/icons/hicolor $files
 add_found_files_to_nsh core share/libgda-6.0/icons/hicolor
 
-files=(gda-browser-6.0.png)
-add_files_to_zip $archive $prefix share/pixmaps $files
-add_found_files_to_nsh core share/pixmaps
-
 files=(gdaui-entry-number.xml gdaui-entry-string.xml)
 add_files_to_zip $archive $prefix share/libgda-6.0/ui $files
 add_found_files_to_nsh core share/libgda-6.0/ui
@@ -549,9 +525,12 @@ files=(libgda-ldap.dll)
 add_files_to_zip $archive $prefix lib/libgda-6.0/providers $files
 add_found_files_to_nsh prov_ldap lib/libgda-6.0/providers
 
-files=(libgda-oracle.dll)
-add_files_to_zip $archive $prefix lib/libgda-6.0/providers $files
-add_found_files_to_nsh prov_oracle lib/libgda-6.0/providers
+if test "x$with_oracle" == "xyes"
+then
+    files=(libgda-oracle.dll)
+    add_files_to_zip $archive $prefix lib/libgda-6.0/providers $files
+    add_found_files_to_nsh prov_oracle lib/libgda-6.0/providers
+fi
 
 files=(gdaui-entry-filesel-spec.xml gdaui-entry-password.xml gdaui-entry-pict-spec.xml 
gdaui-entry-pict-spec_string.xml libgda-ui-plugins.dll)
 add_files_to_zip $archive $prefix lib/libgda-6.0/plugins $files
@@ -560,7 +539,7 @@ add_found_files_to_nsh core lib/libgda-6.0/plugins
 #
 # includes
 #
-files=(gda-attributes-manager.h gda-batch.h gda-binreloc.h gda-blob-op.h gda-column.h gda-config.h 
gda-connection-event.h gda-connection.h gda-connection-private.h gda-data-access-wrapper.h 
gda-data-comparator.h gda-data-handler.h gda-data-model-array.h gda-data-model-bdb.h gda-data-model-dir.h 
gda-data-model-extra.h gda-data-model.h gda-data-model-import.h gda-data-model-iter-extra.h 
gda-data-model-iter.h gda-data-model-private.h gda-data-proxy.h gda-data-select.h gda-decl.h gda-enums.h 
gda-enum-types.h gda-holder.h gda-lockable.h gda-log.h gda-marshal.h gda-meta-store.h gda-meta-struct.h 
gda-mutex.h gda-quark-list.h gda-row.h gda-server-operation.h gda-server-provider-extra.h 
gda-server-provider.h gda-server-provider-private.h gda-set.h gda-statement-extra.h gda-statement.h 
gda-transaction-status.h gda-transaction-status-private.h gda-util.h gda-value.h gda-xa-transaction.h 
libgda.h libgda-global-variables.h gda-repetitive-statement.h gda-sql-builder.h gda-tree.h gda-tree-
 manager.h gda-tree-mgr-columns.h gda-tree-mgr-label.h gda-tree-mgr-schemas.h gda-tree-mgr-select.h 
gda-tree-mgr-tables.h gda-tree-node.h gda-tree-mgr-ldap.h gda-data-model-ldap.h)
+files=(gda-attributes-manager.h gda-batch.h gda-binreloc.h gda-blob-op.h gda-column.h gda-config.h 
gda-connection-event.h gda-connection.h gda-connection-private.h gda-data-access-wrapper.h 
gda-data-comparator.h gda-data-handler.h gda-data-model-array.h gda-data-model-bdb.h gda-data-model-dir.h 
gda-data-model-extra.h gda-data-model.h gda-data-model-import.h gda-data-model-iter-extra.h 
gda-data-model-iter.h gda-data-model-private.h gda-data-proxy.h gda-data-select.h gda-decl.h gda-enums.h 
gda-enum-types.h gda-holder.h gda-lockable.h gda-log.h gda-marshal.h gda-meta-store.h gda-meta-struct.h 
gda-quark-list.h gda-row.h gda-server-operation.h gda-server-provider-extra.h gda-server-provider.h 
gda-server-provider-private.h gda-set.h gda-statement-extra.h gda-statement.h gda-transaction-status.h 
gda-transaction-status-private.h gda-util.h gda-value.h gda-xa-transaction.h libgda.h 
libgda-global-variables.h gda-repetitive-statement.h gda-sql-builder.h gda-tree.h gda-tree-manager.h gd
 a-tree-mgr-columns.h gda-tree-mgr-label.h gda-tree-mgr-schemas.h gda-tree-mgr-select.h gda-tree-mgr-tables.h 
gda-tree-node.h gda-tree-mgr-ldap.h gda-data-model-ldap.h)
 add_files_to_zip $archive_dev $prefix include/libgda-6.0/libgda $files
 
 files=(gda-sqlite-provider.h)
@@ -622,10 +601,11 @@ do
     echo "SectionEnd" >> $item
 done
 
-cat gda-browser-tmpl.nsi | sed -e "s,GdaBrowserSetup,GdaBrowserSetup-${version}," > gda-browser.nsi
+now=`date '+%Y%m%d'`
+cat gda-browser-tmpl.nsi | sed -e "s,GdaBrowserSetup,GdaBrowserSetup-${version}-${now}," > gda-browser.nsi
 
 #
-# The End
+# Summary
 #
 rm -f $tmpfile
 echo "Archives written to:"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]