summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-09-27 11:44:03 -0400
committerAllen Winter <allen.winter@kdab.com>2022-09-27 11:45:40 -0400
commit279aa216375d46b08ea28ed0f161d034ac32caee (patch)
tree27622b1b6349b92e8e77a43a045e186251f8dc2b
parent0edc2cc9e25ac3a763491f8e002a286af0576d33 (diff)
downloadlibical-git-279aa216375d46b08ea28ed0f161d034ac32caee.tar.gz
say goodbye to the old custom Python bindings in src/python
The Python bindings are now generated using glib-introspection.
-rw-r--r--.krazy2
-rw-r--r--.reuse/dep54
-rw-r--r--Install.txt9
-rw-r--r--ReleaseNotes.txt2
-rw-r--r--doc/Doxyfile.cmake3
-rwxr-xr-xscripts/buildtests.sh2
6 files changed, 14 insertions, 8 deletions
diff --git a/.krazy b/.krazy
index 3adce899..ddd2a447 100644
--- a/.krazy
+++ b/.krazy
@@ -16,8 +16,6 @@ SKIP /examples/
#For now skip java
SKIP /java/
-#For now skip python
-SKIP /python/
SKIP \.cmake-format\.py
#For now skip perl
SKIP /Net-ICal-Libical/
diff --git a/.reuse/dep5 b/.reuse/dep5
index c88428c6..bfa19252 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -4,7 +4,7 @@ Upstream-Contact: Allen Winter <winter@kde.org>
Source: https://github.com/libical/libical
#misc documentation
-Files: AUTHORS Install.txt README.md ReleaseNotes.txt TEST THANKS TODO doc/AddingOrModifyingComponents.txt doc/UsingLibical.md examples/access-usecases.txt src/Net-ICal-Libical/README.txt src/php/README.txt src/python/ChangeLog src/python/python-binding.txt src/Net-ICal-Libical/MANIFEST src/Net-ICal-Libical/netical_wrap.doc
+Files: AUTHORS Install.txt README.md ReleaseNotes.txt TEST THANKS TODO doc/AddingOrModifyingComponents.txt doc/UsingLibical.md examples/access-usecases.txt src/Net-ICal-Libical/README.txt src/php/README.txt src/Net-ICal-Libical/MANIFEST src/Net-ICal-Libical/netical_wrap.doc
Copyright: Copyright Contributors to the libical project
License: LGPL-2.1-only OR MPL-2.0
@@ -29,7 +29,7 @@ Copyright: Copyright Contributors to the libical project
License: LGPL-2.1-only OR MPL-2.0
#testing data
-Files: test-data/*.ics test-data/*.vcf test-data/*.data test-data/*.tab test-data/*.txt src/test/*.ics src/test/*.out src/Net-ICal-Libical/test-data/* src/python/littlefile.txt
+Files: test-data/*.ics test-data/*.vcf test-data/*.data test-data/*.tab test-data/*.txt src/test/*.ics src/test/*.out src/Net-ICal-Libical/test-data/*
Copyright: Copyright Contributors to the libical project
License: LGPL-2.1-only OR MPL-2.0
diff --git a/Install.txt b/Install.txt
index 30b4de99..cefb3cd1 100644
--- a/Install.txt
+++ b/Install.txt
@@ -123,7 +123,14 @@ This C library can be built with bindings for these other languages:
Turn this off by passing -DWITH_CXX_BINDINGS=False option to CMake.
Don't mix ABI from C and C++ compilers.
-* There are Java, Perl, PHP and Python bindings but they are old and haven't
+* Python bindings are built using glib-introspection, which is enabled
+ by passing -DGOBJECT_INTROSPECTION=True to CMake.
+ Requires the GObject Introspection development package.
+
+ Don't forget to set (or append to, as needed) the GI_TYPELIB_PATH environment
+ variable to $PREFIX/lib/girepository-1.0 (or $PREFIX/lib64/girepository-1.0).
+
+* There are Java, Perl and PHP bindings but they are old and haven't
been tested in a very long time. Volunteers wanted.
== Tweaking the Library Behavior ==
diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt
index c7be1d18..ecbb60a0 100644
--- a/ReleaseNotes.txt
+++ b/ReleaseNotes.txt
@@ -7,6 +7,8 @@ Version 3.1.0 (NOT RELEASED YET):
* Requires MSVC 2013 or higher (when building on Windows with MSVC)
* Requires CMake v3.11.0 or higher
* For the C++ bindings, requires a C++11 compliant compiler
+ * The old src/python code is removed in favor of the glib-introspection generated
+ Python bindings. Requires building with -DGOBJECT_INTROSPECTION=ON
* New CMake option "LIBICAL_ENABLE_64BIT_ICALTIME_T" to use 64-bit time_t implementations
on 32-bit systems (where available and supported. Windows-only so far)
* libical-glib requires glib 2.38 or higher
diff --git a/doc/Doxyfile.cmake b/doc/Doxyfile.cmake
index 123fc512..3c715481 100644
--- a/doc/Doxyfile.cmake
+++ b/doc/Doxyfile.cmake
@@ -94,8 +94,7 @@ FILE_PATTERNS = *.cpp \
*.dox
RECURSIVE = YES
EXCLUDE = @CMAKE_SOURCE_DIR@/src/java \
- @CMAKE_SOURCE_DIR@/src/php \
- @CMAKE_SOURCE_DIR@/src/python
+ @CMAKE_SOURCE_DIR@/src/php
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = */.svn/* \
*/.git/* \
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 1d075127..80a7a3b6 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -689,7 +689,7 @@ MEMCONSIST_BUILD test1memc ""
MEMCONSIST_BUILD test2memc "$CMAKEOPTS"
MEMCONSIST_BUILD test3memc "$TZCMAKEOPTS"
MEMCONSIST_BUILD test4memc "$UUCCMAKEOPTS"
-#FIXME: the python test scripts needs for introspection need some love
+#FIXME: the python test scripts for introspection need some love
#MEMCONSIST_BUILD test5memc "$GLIBOPTS"
#Address sanitizer