office-gobmx/odk
Stephan Bergmann a8485d558f [API CHANGE] Remove deprecated idlc and regmerge from the SDK
* Client code must replace uses of idlc and regmerge with uses of unoidl-write,
  see the changes to odk/examples/ and ure/source/uretext/ in
  40f2aee658 "Provide unoidl-write also for the
  SDK" for examples.

* The new types.rdb format is not compatible with LibreOffice < 4.1.  Clients
  generating extensions containing such files are advised to use appropriate
  LibreOffice-minimal-version elements.

* For compatibility with old extensions, reading the legacy types.rdb format is
  still supported.

* The SDK no longer ships an idl/ sub-directory containing the udkap and offapi
  .idl files (as, unlike idlc, unoidl-write does not need them).
  odk/config/cfgWin.js had to be adapted to look (somewhat arbitrarily) for an
  examples/ sub-directory instead of idl/ when checking for "an sdk folder".
  gb_UnoApi_package_idlfiles became unused and has been removed.

* The idlc and regmerge executables have been removed.  Module idlc has been
  removed except for idlc/test/parser/, which is also used by
  CustomTarget_unoidl/unoidl-write_test, and which may eventually be moved into
  module unoidl.  Module external/ucpp and the corresponding configure options
  have also been removed.

Change-Id: I42a0231699b863b5ebe2bee63bc32c8f79278cc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122363
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-10 17:15:49 +02:00
..
config [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
docs [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
examples Add Makefile for the FirstUnoContact C++ SDK example 2022-05-25 09:02:29 +02:00
qa/checkapi
settings [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
source -Werror,-Wstrict-prototypes (clang-cl) 2022-04-11 19:40:51 +02:00
util [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
build-examples_common.mk
CppunitTest_odk_checkapi.mk Let CppunitTest_odk_checkapi build against the SDK include directory 2022-01-19 23:00:55 +01:00
CustomTarget_allheaders.mk
CustomTarget_build-examples.mk Add Makefile for the FirstUnoContact C++ SDK example 2022-05-25 09:02:29 +02:00
CustomTarget_build-examples_java.mk
CustomTarget_check.mk [API CHANGE] Remove deprecated idlc and regmerge from the SDK 2022-06-10 17:15:49 +02:00
CustomTarget_classes.mk
CustomTarget_config_win.mk
CustomTarget_doxygen.mk
CustomTarget_html.mk
CustomTarget_javadoc.mk
CustomTarget_settings.mk
Executable_unoapploader.mk
GeneratedPackage_odk_doxygen.mk
GeneratedPackage_odk_javadoc.mk
GeneratedPackage_uno_loader_classes.mk
index.html odk: update DevGuide wiki links and correct history in footer 2022-04-12 17:32:02 +02:00
index_online.html odk: update DevGuide wiki links and correct history in footer 2022-04-12 17:32:02 +02:00
Makefile
Module_odk.mk
Package_cli.mk
Package_config.mk
Package_config_win.mk
Package_docs.mk
Package_examples.mk Add Makefile for the FirstUnoContact C++ SDK example 2022-05-25 09:02:29 +02:00
Package_html.mk
Package_odk_headers.mk
Package_odk_headers_generated.mk
Package_settings.mk
Package_settings_generated.mk
Package_share_readme.mk Drop useless readlicense_oo_DIR redefinition 2022-01-18 21:47:29 +01:00
Package_share_readme_generated.mk
README.md

Office Development Kit (odk)

Office development kit (odk) - implements the first step on the way to the LibreOffice SDK tarball.

Part of the SDK; to build you need to add --enable-odk.

Testing the Examples:

  • Go to instdir/sdk (Don't try directly in odk/)

  • See https://api.libreoffice.org/docs/install.html how to set up the SDK.

    • When asked about it during configuration, tell the SDK to do automatic deployment of the example extensions that get built.
  • In a shell set up for SDK development, build (calling make) and test (following the instructions given at the end of each make invocation) each of the SDK's examples/ sub-directories.

    • An example script to build (though not test) the various examples in batch mode is

      find examples \( -type d -name nativelib -prune \) -o \ \( -name Makefile -a -print -a \( -execdir make \; -o -quit \) \)

      (Note that one of the example extensions asks you to accept an example license on stdin during deployment.)