<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="470580">
  <date_last_updated>2012-03-28 11:23:36.352041+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/470580</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~arjen-lentz</bug_owner_link>
    <milestone_link></milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/470580/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/470580/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/470580</bug_web_link>
  <owner>Arjen Lentz</owner>
  <assignee>Sergei</assignee>
  <milestone_title></milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>Patch to create an include file for plugins</title>
  <status>Confirmed</status>
  <importance>Wishlist</importance>
  <created>2009-11-02 11:44:11.932027+00:00</created>
  <description>
<![CDATA[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.]]>  </description>
  <activities>
    <activity datechanged="2009-11-02T11:44:11.932027+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Arjen Lentz</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2009-11-02T11:44:11.932027+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Patch to generate a mysql-glob.h include file for plugins to use http://launchpadlibrarian.net/34947847/mysql-glob.patch]]>      </newvalue>
      <whatchanged>attachment added</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-02T11:47:09.354710+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[Wishlist]]>      </newvalue>
      <whatchanged>maria: importance</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-02T11:55:40.817534+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[ourdelta]]>      </newvalue>
      <whatchanged>bug task added</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-02T11:55:56.656932+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[High]]>      </newvalue>
      <whatchanged>ourdelta: importance</whatchanged>
      <person>Arjen Lentz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-25T16:43:33.583888+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Confirmed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-25T16:43:50.552017+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Michael Widenius (monty)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2010-11-30T16:17:05.545215+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Sergei</person>
      <message>added subscriber Sergei</message>
    </activity>
    <activity datechanged="2011-07-09T17:18:21.457439+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Hartmut Holzgraefe</person>
      <message>added subscriber Hartmut Holzgraefe</message>
    </activity>
    <activity datechanged="2012-03-28T11:23:34.679849+00:00">
      <oldvalue>
<![CDATA[Michael Widenius (monty)]]>      </oldvalue>
      <newvalue>
<![CDATA[Sergei (sergii)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Michael Widenius</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/470580/comments/1" datecreated="2009-11-02T11:44:11.932027+00:00">
      <person>Arjen Lentz</person>
      <subject>
<![CDATA[Re: Patch to create an include file for plugins]]>      </subject>
      <content>
<![CDATA[]]>      </content>
    </comment>
  </comments>
  <messages>
    <message created="2009-11-02 11:44:11.932027+00:00" owner="Arjen Lentz">
<![CDATA[]]>      <attachment link="https://bugs.launchpad.net/bugs/470580/+attachment/956335" type="Patch">
        <title>Patch to generate a mysql-glob.h include file for plugins to use</title>
        <file>LPexportBug470580_mysql-glob.patch</file>
      </attachment>
    </message>
  </messages>
</launchpad-bug>
