[MDEV-789] LP:470580 - Patch to create an include file for plugins Created: 2009-11-02  Updated: 2012-10-10  Resolved: 2012-10-10

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Arjen Lentz (Inactive) Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug470580.xml     Text File LPexportBug470580_mysql-glob.patch    
Issue Links:
Duplicate
is duplicated by MDEV-207 Install headers required to build ext... Closed

 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.



 Comments   
Comment by Arjen Lentz (Inactive) [ 2009-11-02 ]

Re: Patch to create an include file for plugins

Comment by Arjen Lentz (Inactive) [ 2009-11-02 ]

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

Comment by Rasmus Johansson (Inactive) [ 2012-03-28 ]

Launchpad bug id: 470580

Generated at Thu Feb 08 06:31:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.