[libgda/LIBGDA_5.2] Removed unused Vala extensions



commit 6a8fe1f5b150f70b5fe474488905aab013fa51d0
Author: Daniel Espinosa <esodan gmail com>
Date:   Wed Oct 3 14:40:02 2018 -0500

    Removed unused Vala extensions
    
    Moved to: https://gitlab.gnome.org/esodan/libvda

 NEWS                                      |    1 +
 configure.ac                              |   17 +-
 libgda-ui/Makefile.am                     |    6 +-
 libgda/Makefile.am                        |   10 +-
 libgda/data/.gitignore                    |    5 -
 libgda/data/Catalog.vala                  |   39 -
 libgda/data/DataBase.vala                 |   58 -
 libgda/data/DataModelIterable.vala        |  356 ----
 libgda/data/DataModelIterator.vala        |  168 --
 libgda/data/DbCatalog.vala                |   28 -
 libgda/data/DbCollection.vala             |   29 -
 libgda/data/DbField.vala                  |  147 --
 libgda/data/DbFieldInfo.vala              |  295 ---
 libgda/data/DbObject.vala                 |   53 -
 libgda/data/DbRecord.vala                 |   77 -
 libgda/data/DbRecordCollection.vala       |   31 -
 libgda/data/DbSchema.vala                 |   30 -
 libgda/data/DbTable.vala                  |  109 -
 libgda/data/Field.vala                    |   53 -
 libgda/data/FieldInfo.vala                |   62 -
 libgda/data/GdaData-5.0.gir               | 3131 -----------------------------
 libgda/data/GdaData-UML.gaphor            | 1913 ------------------
 libgda/data/Makefile.am                   |  135 --
 libgda/data/NamespaceInfo.vala            |   24 -
 libgda/data/Record.vala                   |  284 ---
 libgda/data/RecordCollection.vala         |  140 --
 libgda/data/RecordCollectionIterator.vala |   90 -
 libgda/data/Schema.vala                   |   70 -
 libgda/data/SelectQuery.vala              |   93 -
 libgda/data/SqlExpression.vala            |   47 -
 libgda/data/SqlWhere.vala                 |   43 -
 libgda/data/Table.vala                    |  480 -----
 libgda/data/config.vapi                   |   11 -
 libgda/data/libgdadata-5.0.pc.in          |   13 -
 tests/Makefile.am                         |    4 -
 tests/vala/.gitignore                     |    9 -
 tests/vala/CheckDataModelIterator.vala    |  320 ---
 tests/vala/CheckDataObject.vala           |  283 ---
 tests/vala/CheckTable.vala                |  627 ------
 tests/vala/Makefile.am                    |   60 -
 tests/vala/testdb.py                      |   27 -
 41 files changed, 8 insertions(+), 9370 deletions(-)
---
diff --git a/NEWS b/NEWS
index 6cc373554..078168f73 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ libgda-5.2.6 2018-10-03
  - All Vala bindings and Vala extensions are built by default using --enable-vala,
    added --disable* switch to disable some or all of them
  - Fixes on outdated unit tests
+ - Removed unused Vala extensions
  - Translations:
        - es (Daniel Mustieles)
 
diff --git a/configure.ac b/configure.ac
index 36e52fc1b..57c306860 100644
--- a/configure.ac
+++ b/configure.ac
@@ -537,17 +537,6 @@ fi
 
 AM_CONDITIONAL(ENABLE_GDAUI_VALA, test x$disable_gdaui_vala != xyes)
 
-AC_ARG_ENABLE([vala-extensions],
-    AS_HELP_STRING([--disable-vala-extensions[=@<:@no/yes@:>@]], [Enable utility GObject based extensions 
written in Vala [default=no]]),
-    [disable_vala_ext=yes],[disable_vala_ext=no])
-
-if test x$enable_vala = xno
-then
-       disable_vala_ext=yes
-fi
-
-AM_CONDITIONAL(ENABLE_VALA_EXTENSIONS, test x$disable_vala_ext != xyes)
-
 dnl Check for libgee
 found_gee="xyes"
 GEE_REQUIRED="0.8.0"
@@ -920,8 +909,6 @@ libgda/sqlite/sqlite-src/Makefile
 libgda/sqlite/virtual/libgda-virtual.h
 libgda/sqlite/virtual/Makefile
 libgda/thread-wrapper/Makefile
-libgda/data/Makefile
-libgda/data/libgdadata-5.0.pc
 providers/Makefile
 providers/reuseable/Makefile
 providers/reuseable/postgres/Makefile
@@ -998,7 +985,6 @@ tests/value-holders/Makefile
 tests/meta-store/Makefile
 tests/multi-threading/Makefile
 tests/ui/Makefile
-tests/vala/Makefile
 doc/Makefile
 doc/C/Makefile
 doc/C/libgda.types
@@ -1047,7 +1033,6 @@ echo "   Building Gtk-Doc: `if test x$enable_gtk_doc != xno; then echo yes; else
 echo "   Building Help (GdaBrowser): `if test x$with_gdu != xno; then echo yes; else echo no; fi`"
 echo "   Building GDA Vala Bindings (--enable-vala): `if test x$enable_vala = xno; then echo no; else echo 
yes; fi`"
 echo "   Building GDA-UI Vala Bindings: `if test x$disable_gdaui_vala = xyes; then echo no; else echo yes; 
fi`"
-echo "   Building Vala Extensions: `if test x$disable_vala_ext = xyes; then echo no; else echo yes; fi`"
 echo "   Building Vala Documentation: `if test x$enable_vala_doc != xno; then echo yes; else echo no; fi`"
 echo "   Building Building Libgda's associated tools: `if test x$enable_tools = xyes; then echo yes; else 
echo no; fi`"
 echo "   Compiled providers:"
@@ -1068,4 +1053,4 @@ if test x"$br_cv_binreloc" != "xyes" -a x"$platform_win32" != "xyes"
 then
        echo "   Binreloc support is disabled: Libgda will not be relocatable. To enable binreloc support 
re-run with --enable-binreloc (see http://autopackage.org/docs/binreloc for more information)"
 fi
-echo ""
+echo ""
\ No newline at end of file
diff --git a/libgda-ui/Makefile.am b/libgda-ui/Makefile.am
index 85365b42d..bdd8bff83 100644
--- a/libgda-ui/Makefile.am
+++ b/libgda-ui/Makefile.am
@@ -262,11 +262,11 @@ libgda-ui-5.0.vapi: Gdaui-5.0.gir
 vapidir = $(datadir)/vala/vapi
 vapi_DATA=libgda-ui-5.0.vapi
 
-EXTRA_DIST += \
-       Gdaui-5.0.metadata
-
 CLEANFILES += $(vapi_DATA)
 
 endif
 
 endif
+
+EXTRA_DIST += \
+       Gdaui-5.0.metadata
diff --git a/libgda/Makefile.am b/libgda/Makefile.am
index 8cf03e2cd..200529af1 100644
--- a/libgda/Makefile.am
+++ b/libgda/Makefile.am
@@ -4,10 +4,6 @@ lib_LTLIBRARIES = libgda-5.0.la
 
 SUBDIRS = sqlite handlers binreloc sql-parser providers-support thread-wrapper
 
-if ENABLE_VALA_EXTENSIONS
-SUBDIRS+= . data
-endif
-
 DEF_FLAGS=
 if BDB 
 GDA_BDB_H=gda-data-model-bdb.h
@@ -377,9 +373,9 @@ libgda-5.0.vapi: Gda-5.0.gir
 vapidir = $(datadir)/vala/vapi
 vapi_DATA=libgda-5.0.vapi
 
-EXTRA_DIST += \
-       Gda-5.0.metadata
-
 CLEANFILES += $(vapi_DATA)
 
 endif
+
+EXTRA_DIST += \
+       Gda-5.0.metadata
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ac3b8cea3..3a822bd31 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,10 +4,6 @@ TESTS_ENVIRONMENT = GDA_TOP_SRC_DIR="$(abs_top_srcdir)" GDA_TOP_BUILD_DIR="$(abs
 TESTS = test-ddl-creator test-bin-converter test-sql-identifier test-identifiers-quotes test-sql-builder 
test-connection-string-split test-input-parsers test-quark-list test-sql-renderer
 check_PROGRAMS = test-ddl-creator test-bin-converter test-sql-identifier test-identifiers-quotes 
test-sql-builder test-connection-string-split test-input-parsers test-quark-list test-sql-renderer
 
-if ENABLE_VALA_EXTENSIONS
-    VALA_EXTENSIONS= vala
-endif
-
 if HAVE_UI
 UI_EXTENSION = ui
 endif


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