Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-9026

move pypdfium2 ctypesgen step into builder plugin

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Development Platform
    • None
    • DP Sprint 26, DP Sprint 27

      pypdfium2 to uses custom fork of ctypesgen to generate ctypes bindings from shared libraries and headers, https://github.com/pypdfium2-team/ctypesgen . The ctypes bindings must be re-generated every time we update libpdfium to a new PDFium version. AFAIK newer pypdfium2 versions also need a more recent version of ctypesgen.

      In the past, I ran ctypesgen in the libpdfium RPM build process and includes the ctypes bindings in the RPM. It would make more sense to move the step into a builder plugin. It's more flexible, too.

              iangelak@redhat.com Ioannis Angelakopoulos
              cheimes@redhat.com Christian Heimes
              Antonio's Team
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: