All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/6] package/libodb-mysql: new package
Date: Thu, 14 May 2020 16:55:19 +0200	[thread overview]
Message-ID: <20200514165519.542961ba@windsurf.home> (raw)
In-Reply-To: <20200514143325.1009253-6-kamel.bouhara@bootlin.com>

Hello,

On Thu, 14 May 2020 16:33:24 +0200
Kamel Bouhara <kamel.bouhara@bootlin.com> wrote:

> diff --git a/package/libodb-mysql/Config.in b/package/libodb-mysql/Config.in
> new file mode 100644
> index 0000000000..47daa27264
> --- /dev/null
> +++ b/package/libodb-mysql/Config.in
> @@ -0,0 +1,15 @@
> +config BR2_PACKAGE_LIBODB_MYSQL
> +	bool "libodb-mysql"
> +	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	depends on BR2_INSTALL_LIBSTDCPP
> +	depends on BR2_PACKAGE_MYSQL
> +	select BR2_PACKAGE_LIBODB
> +	help
> +	  This package contains the MySQL ODB runtime library. Every application
> +	  that includes code generated for the MySQL database will need to link
> +	  to this library.
> +
> +	  https://www.codesynthesis.com/products/odb/
> +
> +comment "libodb-mysql needs a toolchain w/ C++, threads"
> +	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

Here as well, we need a:

	depends on BR2_PACKAGE_MYSQL

> +LIBODB_MYSQL_VERSION_MAJOR = 2.4
> +LIBODB_MYSQL_VERSION = $(LIBODB_MYSQL_VERSION_MAJOR).0
> +LIBODB_MYSQL_SOURCE = libodb-mysql-$(LIBODB_MYSQL_VERSION).tar.bz2
> +LIBODB_MYSQL_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_MYSQL_VERSION_MAJOR)
> +LIBODB_MYSQL_INSTALL_STAGING = YES
> +LIBODB_MYSQL_LICENSE = GPL-2.0
> +LIBODB_MYSQL_LICENSE_FILES = LICENSE
> +LIBODB_MYSQL_DEPENDENCIES = libodb mysql

Did you test this with both Buildroot packages that provide mysql, i.e
oracle-mysql and mariadb ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-05-14 14:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-14 14:33 [Buildroot] [PATCH 0/6] ODB: C++ Object-Relational Mapping (ORM): New packages Kamel Bouhara
2020-05-14 14:33 ` [Buildroot] [PATCH 1/6] package/libcutl: new package Kamel Bouhara
2020-05-14 14:33 ` [Buildroot] [PATCH 2/6] package/odb: " Kamel Bouhara
2020-05-14 14:52   ` Thomas Petazzoni
2020-05-19  7:19     ` Kamel Bouhara
2020-05-14 14:33 ` [Buildroot] [PATCH 3/6] package/libodb: " Kamel Bouhara
2020-05-14 14:33 ` [Buildroot] [PATCH 4/6] package/libodb-pgsql: " Kamel Bouhara
2020-05-14 14:54   ` Thomas Petazzoni
2020-05-14 14:33 ` [Buildroot] [PATCH 5/6] package/libodb-mysql: " Kamel Bouhara
2020-05-14 14:55   ` Thomas Petazzoni [this message]
2020-05-14 14:33 ` [Buildroot] [PATCH 6/6] package/libodb-boost: " Kamel Bouhara
2020-05-14 14:56   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200514165519.542961ba@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.