Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-215

Support extensions written in C

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Clownfish
    • None

    Description

      Currently, all Lucy extensions that contain C code must be shipped with the Lucy source tree. In order to support external C-based extensions, Clownfish must be able to compile .cfh files that extend classes from a separate source tree. As discussed on the mailing list, a solution could look like this:

      • Install the .cfh files together with Lucy.
      • When building the extension, rebuild the complete Clownfish hierarchy together with the new classes.
      • Generate C headers, regenerating the headers for Lucy's core classes.
      • Compile the extension.

      Attachments

        1. Build.PL
          0.8 kB
          Nikolas Wellnhofer
        2. 0019-LUCY-215-Add-autogen-source-directly-to-CF-build-sou.patch
          2 kB
          Nikolas Wellnhofer
        3. 0018-LUCY-215-Supply-some-build-params-via-Lucy-Build-con.patch
          4 kB
          Nikolas Wellnhofer
        4. 0017-LUCY-215-Add-C-C-P-B-cf_base_path.patch
          5 kB
          Nikolas Wellnhofer
        5. 0016-LUCY-215-Introduce-C-C-P-B-cf_copy_include.patch
          3 kB
          Nikolas Wellnhofer
        6. 0015-LUCY-215-Rework-installation-of-Clownfish-includes.patch
          4 kB
          Nikolas Wellnhofer
        7. 0014-LUCY-215-Add-build-param-for-core-source-dir.patch
          6 kB
          Nikolas Wellnhofer
        8. 0013-LUCY-215-Break-out-Clownfish-CFC-Perl-Build.patch
          30 kB
          Nikolas Wellnhofer
        9. 0012-LUCY-215-Add-build-param-for-autogen-header.patch
          1 kB
          Nikolas Wellnhofer
        10. 0011-LUCY-215-Add-build-param-for-Clownfish-include-dirs.patch
          2 kB
          Nikolas Wellnhofer
        11. 0010-LUCY-215-Add-build-param-for-extra-C-sources.patch
          2 kB
          Nikolas Wellnhofer
        12. 0009-LUCY-215-Custom-Module-Build-property-for-extra-buil.patch
          1 kB
          Nikolas Wellnhofer
        13. 0008-LUCY-215-Use-Module-Build-s-include_dirs.patch
          3 kB
          Nikolas Wellnhofer
        14. 0007-LUCY-215-Derive-build-file-names-from-module_name.patch
          6 kB
          Nikolas Wellnhofer
        15. 0006-LUCY-215-Use-Module-Build-s-dist_version.patch
          1 kB
          Nikolas Wellnhofer
        16. 0005-LUCY-215-Process-Binding-classes-from-all-namespaces.patch
          0.8 kB
          Nikolas Wellnhofer
        17. 0004-LUCY-215-Derive-parcel-and-boot_class-from-module_na.patch
          1 kB
          Nikolas Wellnhofer
        18. 0003-LUCY-215-Allow-filename-clash-between-source-and-inc.patch
          4 kB
          Nikolas Wellnhofer
        19. 0002-Implement-CFCFileSpec.patch
          35 kB
          Nikolas Wellnhofer
        20. 0001-Use-path_part-instead-of-source_class-in-CFC.patch
          31 kB
          Nikolas Wellnhofer

        Activity

          People

            nwellnhof Nikolas Wellnhofer
            nwellnhof Nikolas Wellnhofer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment