[pygobject] Remove gio static bindings
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Remove gio static bindings
- Date: Wed, 19 Jan 2011 13:47:51 +0000 (UTC)
commit bca5834fc8fa342149e0eec7b396877a2abe6d33
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Fri Jan 7 12:10:37 2011 +0100
Remove gio static bindings
https://bugzilla.gnome.org/show_bug.cgi?id=638899
Makefile.am | 2 +-
configure.ac | 25 -
gio/.gitignore | 3 -
gio/Makefile.am | 117 -
gio/__init__.py | 40 -
gio/gappinfo.override | 213 --
gio/gapplaunchcontext.override | 99 -
gio/gbufferedinputstream.override | 70 -
gio/gcancellable.override | 38 -
gio/gdatainputstream.override | 250 --
gio/gdrive.override | 347 --
gio/gfile.override | 2215 -----------
gio/gfileattribute.override | 153 -
gio/gfileenumerator.override | 184 -
gio/gfileinfo.override | 121 -
gio/gfileinputstream.override | 68 -
gio/gfileiostream.override | 68 -
gio/gfileoutputstream.override | 68 -
gio/gicon.override | 310 --
gio/ginputstream.override | 344 --
gio/gio-types.defs | 807 ----
gio/gio.defs | 7465 -------------------------------------
gio/gio.override | 409 --
gio/giomodule.c | 208 -
gio/giostream.override | 68 -
gio/gmemoryinputstream.override | 91 -
gio/gmemoryoutputstream.override | 45 -
gio/gmount.override | 454 ---
gio/goutputstream.override | 292 --
gio/gresolver.override | 312 --
gio/gsocket.override | 575 ---
gio/gvolume.override | 237 --
gio/gvolumemonitor.override | 94 -
gio/pygio-utils.c | 236 --
gio/pygio-utils.h | 49 -
gio/unix-types.defs | 55 -
gio/unix.defs | 475 ---
gio/unix.override | 62 -
gio/unixmodule.c | 52 -
tests/Makefile.am | 9 -
tests/runtests-windows.py | 3 -
tests/test_gcancellable.py | 15 -
tests/test_gicon.py | 112 -
tests/test_gio.py | 1138 ------
tests/test_gresolver.py | 68 -
tests/test_gsocket.py | 126 -
46 files changed, 1 insertions(+), 18191 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 6fe43c6..40ac5eb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = 1.7
-SUBDIRS = docs codegen glib gobject gio examples
+SUBDIRS = docs codegen glib gobject examples
if ENABLE_INTROSPECTION
SUBDIRS += gi
diff --git a/configure.ac b/configure.ac
index 8f9d46c..d2ec4eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,30 +206,6 @@ AC_SUBST(FFI_CFLAGS)
AC_SUBST(FFI_LIBS)
AC_SUBST(LIBFFI_PC)
-dnl gio
-PKG_CHECK_MODULES(GIO, gio-2.0 >= gio_required_version,
- have_gio=true, have_gio=false)
-AC_SUBST(GIO_CFLAGS)
-AC_SUBST(GIO_LIBS)
-
-# Do not build GIO if the python version >= 3.0
-# We use GI to access GIO in python 3
-AM_CONDITIONAL(BUILD_GIO, test $have_gio = true -a $build_py3k = false)
-
-if test -n "$export_dynamic"; then
- GIO_LIBS=`echo $GIO_LIBS | sed -e "s/$export_dynamic//"`
-fi
-
-dnl giounix
-PKG_CHECK_MODULES(GIOUNIX, gio-unix-2.0 >= giounix_required_version,
- have_giounix=true, have_giounix=false)
-AC_SUBST(GIOUNIX_CFLAGS)
-AC_SUBST(GIOUNIX_LIBS)
-AM_CONDITIONAL(BUILD_GIOUNIX, test $have_giounix = true -a $build_py3k = false)
-if test -n "$export_dynamic"; then
- GIOUNIX_LIBS=`echo $GIOUNIX_LIBS | sed -e "s/$export_dynamic//"`
-fi
-
AC_ARG_ENABLE(cairo,
AC_HELP_STRING([--enable-cairo], [Enable Cairo bindings using introspection information]),
enable_cairo=$enableval,
@@ -293,7 +269,6 @@ AC_CONFIG_FILES(
gi/overrides/Makefile
glib/Makefile
gobject/Makefile
- gio/Makefile
examples/Makefile
tests/Makefile
PKG-INFO)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fa4610d..7f71099 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -77,15 +77,6 @@ TEST_FILES = \
test_thread.py \
test_uris.py
-if BUILD_GIO
-TEST_FILES += \
- test_gio.py \
- test_gresolver.py \
- test_gsocket.py \
- test_gicon.py \
- test_gcancellable.py
-endif
-
if ENABLE_INTROSPECTION
TEST_FILES += \
test_everything.py \
diff --git a/tests/runtests-windows.py b/tests/runtests-windows.py
index 90154b4..6915a3c 100644
--- a/tests/runtests-windows.py
+++ b/tests/runtests-windows.py
@@ -16,9 +16,6 @@ gobject.threads_init()
SKIP_FILES = ['runtests',
- 'test_gio', # python crash
- 'test_gresolver', # python crash
- 'test_gsocket', # blocks on test_socket_condition_wait
'test_mainloop', # no os.fork on windows
'test_subprocess'] # blocks on testChildWatch
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]