Commit 98b9e035 authored by Jeremy Bicha's avatar Jeremy Bicha

New upstream version 4.99.11

parents
Maintainers:
Murray Cumming <murrayc@usa.net>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of libgdamm.
##
## libgdamm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## libgdamm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --enable-warnings=fatal
if MAINTAINER_MODE
src_subdirs = tools libgda/src
else
src_subdirs =
endif
if ENABLE_DOCUMENTATION
doc_subdirs = docs
else
doc_subdirs =
endif
SUBDIRS = $(src_subdirs) libgda/libgdamm examples $(doc_subdirs)
libgdamm_includedir = $(includedir)/$(LIBGDAMM_MODULE_NAME)
libgdamm_include_HEADERS = libgda/libgdamm.h
libgdamm_libincludedir = $(libdir)/$(LIBGDAMM_MODULE_NAME)/include
nodist_libgdamm_libinclude_HEADERS = libgda/libgdammconfig.h
pkgconfigdir = $(libdir)/pkgconfig
nodist_pkgconfig_DATA = libgda/$(LIBGDAMM_MODULE_NAME).pc
dist_noinst_DATA = COPYING.examples
dist_noinst_SCRIPTS = autogen.sh
# Optional: auto-generate the ChangeLog file from the git log on make dist
include $(top_srcdir)/build/dist-changelog.am
This diff is collapsed.
This diff is collapsed.
C++ wrappers for libgda
The library is under the LGPL license.
The examples are under the GPL license.
Note: .defs fils have to be generated on libgda/ and on sql-parser/ directory!
TODO:
* Do libgnomedb TODO items first if possible, so we can document how to use the UI widgets.
* Reference Documentation:
- Check for doxygen errors and fix if it's easy.
* Check TODOs in code and tutorial .xml about lists and other things
Relevant libgda bugs:
DONE:
* 321724
http://bugzilla.gnome.org/show_bug.cgi?id=321724
*_new() functions with more than g_object_new() (done)
* 406373
http://bugzilla.gnome.org/show_bug.cgi?id=406373
GdaQuery makes explicit type checks (done)
* 340989
http://bugzilla.gnome.org/show_bug.cgi?id=340989
"gda_parameter_list_new() does more than g_object_new()" (done)
This diff is collapsed.
#! /bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
mm-common-prepare --copy --force "$srcdir"
autoreconf --force --install --verbose "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
This diff is collapsed.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of mm-common.
##
## mm-common is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 2 of the License,
## or (at your option) any later version.
##
## mm-common is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with mm-common. If not, see <http://www.gnu.org/licenses/>.
## Parameters: lib_LTLIBRARIES
## Overrides: binding_name, binding_basedir, binding_modulename
## Files: files_built_cc, files_built_h, files_built_ph,
## files_extra_cc, files_extra_h, files_extra_ph
## Output: binding_sources, binding_includes, binding_cppflags
# The name of the binding module. Usually identical to the name of the
# directory where the generated sources and include files live.
binding_name ?= $(notdir $(subdir))
# The parent directory of the src/ and libmm/ directories.
# Usually the same as the C library name.
binding_basedir ?= $(patsubst %/,%,$(dir $(subdir)))
# The library name of the binding, possibly including an API version suffix.
# Depending on the module, the "lib" prefix may or may not be included.
binding_modulename ?= $(patsubst lib%,$(binding_libprefix)%,$(basename $(lib_LTLIBRARIES)))
# Try to work out whether the binding's module name includes a "lib" prefix.
binding_libprefix = $(if $(filter lib%,$(binding_name)),lib)
# Files to be listed in the module's _SOURCES variable.
binding_sources = $(files_built_cc) $(files_extra_cc)
# Default include directories and preprocessor flags.
binding_includes = -I..$(if $(srcdir:.=), -I$(top_srcdir)/$(binding_basedir)) -I$(top_builddir)
binding_cppflags = -DG_LOG_DOMAIN=\"$(binding_name)\"
# Installation directories for header files.
binding_includedir = $(includedir)/$(binding_modulename)/$(binding_name)
binding_privatedir = $(binding_includedir)/private
# List of installed header files.
binding_include_HEADERS = $(files_built_h) $(files_extra_h)
binding_private_HEADERS = $(files_built_ph) $(files_extra_ph)
# Delete built sources on make maintainer-clean.
binding_built_sources = $(files_built_cc) $(files_built_h) $(files_built_ph)
MAINTAINERCLEANFILES = $(binding_built_sources) $(addprefix $(srcdir)/,$(binding_built_sources))
# Instruct GNU make to delete the targets of a rule after it failed, in
# order to avoid the complication of handling that situation manually.
.DELETE_ON_ERROR:
This diff is collapsed.
/* build/config.h.in. Generated from configure.ac by autoheader. */
/* define if the compiler supports basic C++11 syntax */
#undef HAVE_CXX11
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if the libgda-bdb plugin is available. */
#undef HAVE_LIBGDA_BDB
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Major version number of libgdamm. */
#undef LIBGDAMM_MAJOR_VERSION
/* Micro version number of libgdamm. */
#undef LIBGDAMM_MICRO_VERSION
/* Minor version number of libgdamm. */
#undef LIBGDAMM_MINOR_VERSION
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
This diff is collapsed.
This diff is collapsed.
## Copyright (c) 2009 Daniel Elstner <daniel.kitta@gmail.com>
##
## This file is part of mm-common.
##
## mm-common is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 2 of the License,
## or (at your option) any later version.
##
## mm-common is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with mm-common. If not, see <http://www.gnu.org/licenses/>.
if MAINTAINER_MODE
dist-hook: dist-changelog
else
dist-hook:
endif
.PHONY: dist-changelog
dist-changelog:
$(AM_V_at)if git --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) \
log --no-merges --date=short --pretty='tformat:%cd %an <%ae>%n%n%s%n%n%b' | \
$(SED) -e '/^[12]...-[01].-[0123]. [^<>]* <[^<>]*>$$/,/^$$/ b' \
-e '/[^ ]/,/^[ ]*$$/ !d' \
-e 's/^[ ]*/ /' \
-e 's/^[ ]*$$//' >.ChangeLog.tmp; \
then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
else rm -f .ChangeLog.tmp; exit 1; fi
This diff is collapsed.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of mm-common.
##
## mm-common is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation, either version 2 of the License,
## or (at your option) any later version.
##
## mm-common is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with mm-common. If not, see <http://www.gnu.org/licenses/>.
## Parameters: binding_name, wrap_init_flags
## Overrides: codegen_srcdir, codegen_m4_srcdir, binding_outputdir,
## gmmproc, gen_wrap_init, gmmproc_flags
## Files: files_codegen_m4, files_defs, files_hg, files_ccg
## Output: dist_noinst_DATA, gmmproc_dependencies, other_built_sources,
## MAINTAINERCLEANFILES
# Location of the module's gmmproc support files.
codegen_srcdir ?= $(top_srcdir)/codegen
# Location of the module's gmmproc M4 files,
# and of any extra m4 files from installed modules,
# such as from gtkmm rather than just glibmm.
# Use, for instance, this in configure.ac:
# MM_PKG_CONFIG_SUBST([GMMPROC_EXTRA_M4_DIR], [--variable=gmmprocm4dir gtkmm-3.0])
codegen_m4_srcdir ?= $(codegen_srcdir)/m4
# Destination directory of the generated source files.
binding_outputdir ?= $(if $(srcdir:.=),$(dir $(top_srcdir)/$(subdir)),../)$(binding_name)
# Additional built sources not generated by gmmproc.
other_built_sources = $(binding_outputdir)/wrap_init.cc
# Where to put the stamp files for the gmmproc output.
binding_stampdir = $(srcdir)/.stamps
# Lists of qualified file names relative to the current directory.
binding_relfiles_m4 = $(addprefix $(codegen_m4_srcdir)/,$(files_codegen_m4))
binding_relfiles_hg = $(addprefix $(srcdir)/,$(files_hg))
binding_stampfiles = $(patsubst %.hg,$(binding_stampdir)/%.stamp,$(files_hg))
# Distributed code generation source files.
dist_noinst_DATA = $(files_defs) $(files_hg) $(files_ccg)
# Delete stamps on make maintainer-clean. The other generated source
# files are deleted by the make rules for the output directory.
MAINTAINERCLEANFILES = $(binding_stampdir)/*.stamp
# Dependencies of the gmmproc code generator targets.
gmmproc_dependencies = $(binding_relfiles_m4) $(files_defs)
# Default command lines for running the code generators.
gmmproc ?= $(PERL) -I"$(GMMPROC_DIR)/pm" -- "$(GMMPROC_DIR)/gmmproc"
gen_wrap_init ?= $(PERL) -- "$(GMMPROC_DIR)/generate_wrap_init.pl"
codegen_m4_flags = $(addprefix -I , $(codegen_m4_srcdir) $(GMMPROC_EXTRA_M4_DIR))
gmmproc_flags ?= $(codegen_m4_flags) --defs $(srcdir)
# Automatically created output directories.
binding_mkdirs = $(binding_stampdir) $(binding_outputdir)/private
# Show names of generated files in silent rules output.
mm_0_gen = @echo ' GEN $(binding_outputdir)/{$*.cc,$*.h,private/$*_p.h}';
mm_v_gen = $(if $(filter 0,$(or $(V),$(AM_DEFAULT_VERBOSITY))),$(mm_0_gen))
# Declare the built sources main targets.
all-local: $(binding_stampfiles) $(other_built_sources)
# Create the output directories if they do not exist already.
$(binding_mkdirs):
$(AM_V_at)$(MKDIR_P) $@
# Generate the wrap_init.cc file using generate_wrap_init.pl.
$(binding_outputdir)/wrap_init.cc: $(binding_relfiles_hg) $(srcdir)/Makefile.in
$(AM_V_GEN)$(gen_wrap_init) $(wrap_init_flags) $(binding_relfiles_hg) >$@
# Run the gmmproc code generator to produce the C++ binding code.
$(binding_stampdir)/%.stamp: %.hg %.ccg $(gmmproc_dependencies) | $(binding_mkdirs)
@: >$@
$(mm_v_gen)$(gmmproc) $(gmmproc_flags) $* $(srcdir) $(binding_outputdir)
# Instruct GNU make to delete the targets of a rule after it failed, in
# order to avoid the complication of handling that situation manually.
.DELETE_ON_ERROR:
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# ltversion.m4 -- version numbers -*- Autoconf -*-
#
# Copyright (C) 2004 Free Software Foundation, Inc.
# Written by Scott James Remnant, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
# @configure_input@
# serial 3337 ltversion.m4
# This file is part of GNU Libtool
m4_define([LT_PACKAGE_VERSION], [2.4.2])
m4_define([LT_PACKAGE_REVISION], [1.3337])
AC_DEFUN([LTVERSION_VERSION],
[macro_version='2.4.2'
macro_revision='1.3337'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0)
])
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
## Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
##
## This file is part of libgdamm.
##
## libgdamm is free software: you can redistribute it and/or modify it
## under the terms of the GNU Lesser General Public License as published
## by the Free Software Foundation, either version 2.1 of the License,
## or (at your option) any later version.
##
## libgdamm is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
include $(top_srcdir)/libgda/src/filelist.am
include $(top_srcdir)/libgda/libgdamm/filelist.am
libgdamm_files_h = $(files_built_h) $(filter-out wrap_init.h,$(files_extra_h))
book_name = $(LIBGDAMM_MODULE_NAME)
doc_input = $(addprefix $(top_srcdir)/libgda/libgdamm/,$(libgdamm_files_h)) \
$(top_srcdir)/libgda/libgdamm.h
include $(top_srcdir)/build/doc-reference.am
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.