Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-789

LP:470580 - Patch to create an include file for plugins

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • None
    • None

    Description

      Currently plugins, and storage engine plugins in particular, need to be compiled against an complete source tree of mysqld. That's annoying, awkward, and it makes packaging plugins very difficult. Packages need source packages, and thus technically we'd now have to include an entire MySQL source tree into a plugin's source package.

      So, here's the solution. Antony built me a little perl script and adapted the makefile infrastructure, so that an include bundle is generated from the current source tree. That include bundle can then be separately packaged as a mariadb-plugin-dev package, and that in turn can be made a build-dependency by the plugin packages. Problem solved.

      Since this is isn't a source change but just an addition to the make env, can this please be added into the 5.1 tree?
      Then we can easily build separate plugin packages and get whole of lot really cool and useful things "out there" soon!
      Thanks

      Patch is attached.

      Attachments

        Issue Links

          Activity

            Re: Patch to create an include file for plugins

            arjenlentz Arjen Lentz (Inactive) added a comment - Re: Patch to create an include file for plugins

            Patch to generate a mysql-glob.h include file for plugins to use
            LPexportBug470580_mysql-glob.patch

            arjenlentz Arjen Lentz (Inactive) added a comment - Patch to generate a mysql-glob.h include file for plugins to use LPexportBug470580_mysql-glob.patch

            Launchpad bug id: 470580

            ratzpo Rasmus Johansson (Inactive) added a comment - Launchpad bug id: 470580

            People

              serg Sergei Golubchik
              arjenlentz Arjen Lentz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.