diff options
author | root | 2006-04-24 09:03:08 -0500 |
---|---|---|
committer | root | 2006-04-24 09:03:08 -0500 |
commit | 84d8b510ac289af0a43bfa9e110844af27a90196 (patch) | |
tree | d7093929b954dd2f71114bff270755e18f737eb1 /gnome1-libs/libgda |
initial commit from stable 0.3
Diffstat (limited to 'gnome1-libs/libgda')
-rwxr-xr-x | gnome1-libs/libgda/BUILD | 6 | ||||
-rwxr-xr-x | gnome1-libs/libgda/DEPENDS | 11 | ||||
-rwxr-xr-x | gnome1-libs/libgda/DETAILS | 40 | ||||
-rw-r--r-- | gnome1-libs/libgda/HISTORY | 33 | ||||
-rw-r--r-- | gnome1-libs/libgda/lemon2.patch | 50 | ||||
-rw-r--r-- | gnome1-libs/libgda/libgda-0.2.96-gcc3.patch | 119 |
6 files changed, 259 insertions, 0 deletions
diff --git a/gnome1-libs/libgda/BUILD b/gnome1-libs/libgda/BUILD new file mode 100755 index 0000000000..426d3cb85d --- /dev/null +++ b/gnome1-libs/libgda/BUILD @@ -0,0 +1,6 @@ +if ! gcc --version | head -n 1 | grep '2\.95\.'; then + patch -p0 < $SCRIPT_DIRECTORY/$SPELL-$VERSION-gcc3.patch + patch -p0 < $SCRIPT_DIRECTORY/lemon2.patch +fi + +default_build diff --git a/gnome1-libs/libgda/DEPENDS b/gnome1-libs/libgda/DEPENDS new file mode 100755 index 0000000000..3c82bc8898 --- /dev/null +++ b/gnome1-libs/libgda/DEPENDS @@ -0,0 +1,11 @@ +depends gtk+ && +depends orbit && +depends gconf && +depends bonobo && +depends gdbm && +depends scrollkeeper && + +optional_depends libxslt \ + "" \ + "" \ + "for libxmlquerry" diff --git a/gnome1-libs/libgda/DETAILS b/gnome1-libs/libgda/DETAILS new file mode 100755 index 0000000000..7bdb8bd552 --- /dev/null +++ b/gnome1-libs/libgda/DETAILS @@ -0,0 +1,40 @@ + SPELL=libgda + VERSION=0.2.96 + BRANCH=`echo $VERSION|cut -d . -f 1,2` + SOURCE=$SPELL-$VERSION.tar.gz +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION + SOURCE_URL[0]=$GNOME_URL/sources/$SPELL/$BRANCH/$SOURCE + SOURCE_URL[1]=ftp://ftp.gnome.org/pub/GNOME/sources/$SPELL/$BRANCH/$SOURCE + MD5[0]='928315c97d2c14a2f1da48d3d30c3939' + MAINTAINER=jon-sven@frisurf.no + WEB_SITE=http://www.gnome.org + LICENSE[0]=GPL + LICENSE[1]=LGPL + ENTERED=20010922 + UPDATED=20020129 + SHORT="GNU Data Access (GDA) provides uniform access to different kinds of data sources" +cat << EOF +GNU Data Access (GDA) is an attempt to provide uniform access to +different kinds of data sources (databases, information servers, mail +spools, etc). It is a complete architecture that provides all you need +to access your data. It is defined by a set of CORBA interfaces as +generic as possible (but very powerful at the same time) so that any +kind of data source can be accessed through them. +libgda is an interface to the GDA architecture, providing a nice +wrapper around the CORBA interfaces, for both the client and the server +parts. It also provides a bunch of tools to help you both in the +development and management of your data sources, all done through +the GDA model's set of CORBA interfaces. +libgda was part of the GNOME-DB project +(http://www.gnome.org/projects/gnome-db), +but has been separated from it to allow non-GNOME applications to be +developed based on it. +libgda is released under the terms of the GPL and LGPL licenses. The +specific parts of the architecture are licensed under one of them: +executables, such as the command-line tools and the database providers +are licensed under the GPL license, which means that any work derived +from it must also adhere to the terms of the GPL license. Libraries +(libgda-common, libgda-client, libgda-server , libgda-report) are, on +the other hand, licensed under the LGPL license, which allows for +commercial applications to be developed based on libgda. +EOF diff --git a/gnome1-libs/libgda/HISTORY b/gnome1-libs/libgda/HISTORY new file mode 100644 index 0000000000..19f2d99b19 --- /dev/null +++ b/gnome1-libs/libgda/HISTORY @@ -0,0 +1,33 @@ +2004-07-18 Eric Sandall <eric@sandall.us> + * DEPENDS: GConf renamed to gconf + ORBit renamed to orbit + Formatted to Guru Handbook + +2004-02-20 Robin Cook <rcook@wyrms.net> + * DEPENDS: added scrollkeeper as depends + +2002-10-23 Robin Cook <rcook@wyrms.net> + * BUILD: added patch for gcc 3.3.1 + * OTHER: lemon2.patch added - got it from + http://lists.freebsd.org/pipermail/freebsd-gnome/2003-August/002295.html + It's a freebsd patch, submitted by Jens Rehsack + +2002-10-23 Robin Cook <rcook@wyrms.net> + * DETAILS: Add MD5 + +2002-09-20 Jon Svendsen <jon-sven@frisurf.no> + * DETAILS: URLs now match new ftp.gnome.org layout + +2002-06-25 Jon Svendsen <jon-sven@frisurf.no> + * BUILD: Patched to work with gcc3 + +2002-06-19 Jon Svendsen <jon-sven@frisurf.no> + * DETAILS: Added licensing information + +2002-03-14 Jon Svendsen <jon-sven@frisurf.no> + * HISTORY: Added HISTORY + * DETAILS: Added MAINTAINER=me + * DETAILS: fixed backup url + * DEPENDS: cleaned up depends + * BUILD: removed BUILD, was only there because of ancient hack + diff --git a/gnome1-libs/libgda/lemon2.patch b/gnome1-libs/libgda/lemon2.patch new file mode 100644 index 0000000000..5aab82eb22 --- /dev/null +++ b/gnome1-libs/libgda/lemon2.patch @@ -0,0 +1,50 @@ +--- providers/gda-default-server/sqlite/lemon.c.orig Mon Aug 4 09:34:14 2003 ++++ providers/gda-default-server/sqlite/lemon.c Mon Aug 4 09:43:12 2003 +@@ -7,7 +7,7 @@ + ** The author of this program disclaims copyright. + */ + #include <stdio.h> +-#include <varargs.h> ++#include <stdarg.h> + #include <string.h> + #include <ctype.h> + +@@ -70,7 +70,7 @@ + void Configlist_reset(/* void */); + + /********* From the file "error.h" ***************************************/ +-void ErrorMsg( /* char *, int, char *, ... */ ); ++void ErrorMsg( char *, int, char *, ... ); + + /****** From the file "option.h" ******************************************/ + struct s_options { +@@ -1092,12 +1092,13 @@ + #define ERRMSGSIZE 10000 /* Hope this is big enough. No way to error check */ + #define LINEWIDTH 79 /* Max width of any output line */ + #define PREFIXLIMIT 30 /* Max width of the prefix on each line */ +-void ErrorMsg(va_alist) +-va_dcl ++void ErrorMsg( char *filename, int lineno, char *format, ... ) + { ++ /* + char *filename; + int lineno; + char *format; ++ */ + char errmsg[ERRMSGSIZE]; + char prefix[PREFIXLIMIT+10]; + int errmsgsize; +@@ -1106,10 +1107,12 @@ + va_list ap; + int end, restart, base; + +- va_start(ap); ++ va_start(ap, format); ++ /* + filename = va_arg(ap,char*); + lineno = va_arg(ap,int); + format = va_arg(ap,char*); ++ */ + /* Prepare a prefix to be prepended to every output line */ + if( lineno>0 ){ + sprintf(prefix,"%.*s:%d: ",PREFIXLIMIT-10,filename,lineno); diff --git a/gnome1-libs/libgda/libgda-0.2.96-gcc3.patch b/gnome1-libs/libgda/libgda-0.2.96-gcc3.patch new file mode 100644 index 0000000000..46cb2aebe0 --- /dev/null +++ b/gnome1-libs/libgda/libgda-0.2.96-gcc3.patch @@ -0,0 +1,119 @@ +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaBatch.cpp libgda-0.2.96/bindings/c++/gdaBatch.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaBatch.cpp 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaBatch.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -127,7 +127,7 @@ + } + + GdaBatch* +-Batch::getCStruct (bool refn = true) const ++Batch::getCStruct (bool refn) const + { + if (refn) + ref (); +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaCommand.cpp libgda-0.2.96/bindings/c++/gdaCommand.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaCommand.cpp 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaCommand.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -139,7 +139,7 @@ + */ + + GdaCommand* +-Command::getCStruct (bool refn = true) const ++Command::getCStruct (bool refn) const + { + if (refn) + ref (); +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaCommand.h libgda-0.2.96/bindings/c++/gdaCommand.h +--- /usr/src/libgda-0.2.96/bindings/c++/gdaCommand.h 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaCommand.h 2002-06-23 23:15:58.000000000 +0200 +@@ -21,6 +21,8 @@ + + namespace gda { + ++using std::vector; ++ + class Recordset; + class Value; + +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaConnection.cpp libgda-0.2.96/bindings/c++/gdaConnection.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaConnection.cpp 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaConnection.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -294,7 +294,7 @@ + return gda_connection_get_version (_gda_connection); + } + +-GdaConnection* Connection::getCStruct (bool refn = true) const ++GdaConnection* Connection::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_connection; +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaConnection.h libgda-0.2.96/bindings/c++/gdaConnection.h +--- /usr/src/libgda-0.2.96/bindings/c++/gdaConnection.h 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaConnection.h 2002-06-23 23:15:58.000000000 +0200 +@@ -22,6 +22,8 @@ + + namespace gda { + ++using std::string; ++ + class Recordset; + class Error; + class ErrorList; +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaError.cpp libgda-0.2.96/bindings/c++/gdaError.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaError.cpp 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaError.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -98,7 +98,7 @@ + } + + GdaError* +-Error::getCStruct (bool refn = true) const ++Error::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_error; +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaField.cpp libgda-0.2.96/bindings/c++/gdaField.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaField.cpp 2001-12-11 21:16:14.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaField.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -428,7 +428,7 @@ + } + + GdaField* +-Field::getCStruct (bool refn = true) const ++Field::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_field; +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaHelpers.cpp libgda-0.2.96/bindings/c++/gdaHelpers.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaHelpers.cpp 2001-11-18 18:21:55.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaHelpers.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -23,6 +23,8 @@ + + //using namespace gda; + ++using std::string; ++ + string + gda::gda_return_string (gchar* pszString) + { +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaHelpers.h libgda-0.2.96/bindings/c++/gdaHelpers.h +--- /usr/src/libgda-0.2.96/bindings/c++/gdaHelpers.h 2001-11-18 18:21:55.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaHelpers.h 2002-06-23 23:15:58.000000000 +0200 +@@ -20,6 +20,6 @@ + //#define __gda_helpers_cpp_gdaHelpersH + + namespace gda { +-string gda_return_string (gchar* pszString); ++std::string gda_return_string (gchar* pszString); + }; + //#endif // __gda_helpers_cpp_gdaHelpersH +diff -ru /usr/src/libgda-0.2.96/bindings/c++/gdaRecordset.cpp libgda-0.2.96/bindings/c++/gdaRecordset.cpp +--- /usr/src/libgda-0.2.96/bindings/c++/gdaRecordset.cpp 2001-12-07 22:07:48.000000000 +0100 ++++ libgda-0.2.96/bindings/c++/gdaRecordset.cpp 2002-06-23 23:15:58.000000000 +0200 +@@ -254,7 +254,7 @@ + } + + GdaRecordset* +-Recordset::getCStruct (bool refn = true) const ++Recordset::getCStruct (bool refn) const + { + if (refn) ref (); + return _gda_recordset; |