Lucy
  1. Lucy
  2. LUCY-215

Support extensions written in C

    Details

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Nick Wellnhofer
            Reporter:
            Nick Wellnhofer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development