[debian-mysql] MariaDB: oqgraph workaround for Ubuntu 14.04

James Page james.page at ubuntu.com
Tue Feb 4 06:57:45 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 04/02/14 08:54, Otto Kekäläinen wrote:
> 2014-02-04 James Page <james.page at ubuntu.com>:
>>> What do you think?
>> 
>> An alternative is to use dpkg --derives-from ubuntu - this allows
>> you to put in conditional logic for Ubuntu builds in
>> debian/rules. However it does not let you differentiate between
>> Ubuntu releases.
>> 
>> Is there a way to check which boost version is available?  That
>> would be a much more generic test.  Also the package really
>> should depend on libboost-dev, not a versioned one, so that it
>> uses the default boost version in the distro.
> 
> 
> This is the debian/rules I have now:
> 
> touch debug-distribution-$(DISTRIBUTION) ifeq
> ($(DISTRIBUTION),Ubuntu) touch debug-release-$(RELEASE) ifeq
> ($(RELEASE),14.04) sed -i '/ha_oqgraph.so/d'
> debian/mariadb-server-5.5.install.in endif endif
> 
> Source: 
> https://github.com/ottok/mariadb-5.5/blob/master/debian/rules
> 
> The touch things are for debugging. Contents of the variables are
> defined as:
> 
> DISTRIBUTION := $(shell lsb_release -i -s) RELEASE := $(shell
> lsb_release -r -s)
> 
> 
> It works, I just wondered if you have any better ideas?


The problem is that this only works for 14.04; as soon as we open
14.10, the check will not work - it needs to be >= 14.04 - but even
better would be checking the boost version < 1.54.


- -- 
James Page
Ubuntu and Debian Developer
james.page at ubuntu.com
jamespage at debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS8I9pAAoJEL/srsug59jD+RsP/242Ou5GNwGkFxQ6jyUy15Yd
/4Cnqiu1KLaxV9Zn2bVPF7NtANcKfmdWxAFv+7/I39Qoc8J4hGX+0NTVPoEsTb7o
EQUVO4HAWi/r/kIwRWamUgbCxUCqN7lMm73eTj+6uLRe3zgHiYalcqiXYvZpuSIO
/xq1+cmK91VUG2jqxMc78MWKZZAx9CUnfkmmbavikQdJvcGxfxXlB3WgZdILetsx
4FwRFsoYn9cV+7THD4MeK36cbq2vPe5+c2Kh159hGvoXlvErMxBSM17xF/SQkdlM
5EW6JeefkCGbA8+Rmgy2HjqzJn1bHaP/L/5ib3+gObaCeVesZVlDau9micAU9SBE
OGv7uPw8QO3dW7rluh4jbrpjXkPsSZDKxt+8Gz/DHQw7rYAi71cSUvOhzddgyTTl
HDFpw0HJriv+WNGARrgK7o24K1iB/OQCWCwLWlXI9qFgOdPOof3J+n5YwejxR2lL
qZiQmJ7Le2PBWpO1+hIHBZlNQVI2Zs3Rc5w4PDwAAEYAoxp7lW6+zp2B/H98QMsG
YyZE5q/WxTu4yJ8UVua7Y04PAttjyjJiuDNopxmpPKLv8f3Px3SEVErRTcS3Nhir
6I4uEH2oOu7AtA1yfjiS7Kd3XrfEHDNflV+PuHCfiDVpUR7sDqwdLzwBs9W4JZZs
NYFqarVL0j+QTIBzB4r7
=YnhT
-----END PGP SIGNATURE-----



More information about the pkg-mysql-maint mailing list