All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS
@ 2016-09-23  9:24 mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 1/3] " mingli.yu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: mingli.yu @ 2016-09-23  9:24 UTC (permalink / raw)
  To: openembedded-devel

Changed in v2:
* Move libdbi-perl from meta-perl to meta-oe
* Add another dependency libdbd-mysql-perl
* Add new recipe libdbd-mysql-perl
* Add libmysqlclient to PROVIDES for mariadb as
  libdbd-mysql-perl depends on libmysqlclient 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 1/3] mariadb: add libdbi-perl to RDEPENDS
  2016-09-23  9:24 [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS mingli.yu
@ 2016-09-23  9:24 ` mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 2/3] mariadb: add libdbd-mysql-perl " mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 3/3] libdbd-mysql-perl: add new recipe mingli.yu
  2 siblings, 0 replies; 5+ messages in thread
From: mingli.yu @ 2016-09-23  9:24 UTC (permalink / raw)
  To: openembedded-devel

From: Zhixiong Chi <Zhixiong.Chi@windriver.com>

The commands(mysql_convert_table_format and mysql_setpermission) need
the supported API provided by the libdbi-perl package.
So add the libdbi-perl to the variable RDEPENDS of mariabdb-server.

Move libdbi-perl from meta-perl to meta-oe

Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
 meta-oe/recipes-devtools/perl/libdbi-perl_1.636.bb | 26 ++++++++++++++++++++++
 meta-oe/recipes-support/mysql/mariadb.inc          |  2 +-
 meta-perl/recipes-perl/libdb/libdbi-perl_1.636.bb  | 26 ----------------------
 3 files changed, 27 insertions(+), 27 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/perl/libdbi-perl_1.636.bb
 delete mode 100644 meta-perl/recipes-perl/libdb/libdbi-perl_1.636.bb

diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.636.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.636.bb
new file mode 100644
index 0000000..085b904
--- /dev/null
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.636.bb
@@ -0,0 +1,26 @@
+SUMMARY = "The Perl Database Interface"
+DESCRIPTION = "DBI is a database access Application Programming Interface \
+(API) for the Perl Language. The DBI API Specification defines a set \
+of functions, variables and conventions that provide a consistent \
+database interface independent of the actual database being used. \
+"
+HOMEPAGE = "http://search.cpan.org/dist/DBI/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+RDEPENDS_${PN} = " perl-module-carp \
+                   perl-module-exporter \
+                   perl-module-exporter-heavy \
+                   perl-module-dynaloader \
+"
+
+LIC_FILES_CHKSUM = "file://DBI.pm;beginline=8147;endline=8151;md5=2e5f6cf47e5ad7b77dcb6172edc29292"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz"
+SRC_URI[md5sum] = "60f291e5f015550dde71d1858dfe93ba"
+SRC_URI[sha256sum] = "8f7ddce97c04b4b7a000e65e5d05f679c964d62c8b02c94c1a7d815bb2dd676c"
+
+S = "${WORKDIR}/DBI-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
index 73905b6..c2d2ecf 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
 RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
     perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
     perl-module-file-copy perl-module-file-temp perl-module-posix \
-    ${PN}-client"
+    ${PN}-client libdbi-perl"
 RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
     perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
     perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
diff --git a/meta-perl/recipes-perl/libdb/libdbi-perl_1.636.bb b/meta-perl/recipes-perl/libdb/libdbi-perl_1.636.bb
deleted file mode 100644
index 085b904..0000000
--- a/meta-perl/recipes-perl/libdb/libdbi-perl_1.636.bb
+++ /dev/null
@@ -1,26 +0,0 @@
-SUMMARY = "The Perl Database Interface"
-DESCRIPTION = "DBI is a database access Application Programming Interface \
-(API) for the Perl Language. The DBI API Specification defines a set \
-of functions, variables and conventions that provide a consistent \
-database interface independent of the actual database being used. \
-"
-HOMEPAGE = "http://search.cpan.org/dist/DBI/"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-RDEPENDS_${PN} = " perl-module-carp \
-                   perl-module-exporter \
-                   perl-module-exporter-heavy \
-                   perl-module-dynaloader \
-"
-
-LIC_FILES_CHKSUM = "file://DBI.pm;beginline=8147;endline=8151;md5=2e5f6cf47e5ad7b77dcb6172edc29292"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz"
-SRC_URI[md5sum] = "60f291e5f015550dde71d1858dfe93ba"
-SRC_URI[sha256sum] = "8f7ddce97c04b4b7a000e65e5d05f679c964d62c8b02c94c1a7d815bb2dd676c"
-
-S = "${WORKDIR}/DBI-${PV}"
-
-inherit cpan
-
-BBCLASSEXTEND = "native"
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 2/3] mariadb: add libdbd-mysql-perl to RDEPENDS
  2016-09-23  9:24 [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 1/3] " mingli.yu
@ 2016-09-23  9:24 ` mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 3/3] libdbd-mysql-perl: add new recipe mingli.yu
  2 siblings, 0 replies; 5+ messages in thread
From: mingli.yu @ 2016-09-23  9:24 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <Mingli.Yu@windriver.com>

* Add libdbd-mysql-perl to RDEPENDS as mysql_setpermission
  depends on DBD::mysql module

  root@test:~# mysql_setpermission -h
  Option h is ambiguous (help, host)
  Password for user to connect to MySQL:
  install_driver(mysql) failed: Can't locate DBD/mysql.pm
  in @INC (you may need to install the DBD::mysql module)
  (@INC contains: /etc/perl /usr/lib64/perl/site_perl/5.22.1/
  /usr/lib64/perl/site_perl/5.22.1
  /usr/lib64/perl/vendor_perl/5.22.1/
  /usr/lib64/perl/vendor_perl/5.22.1
  /usr/lib64/perl/5.22.1/ /usr/lib64/perl/5.22.1
  /usr/local/lib/site_perl /usr/lib64/perl/5.22.1 .)
  at (eval 11) line 3, <STDIN> line 1.
  Perhaps the DBD::mysql perl module hasn't been fully installed,
  or perhaps the capitalisation of 'mysql' isn't right.
  Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
  at /usr/bin/mysql_setpermission line 90.

* Add libmysqlclient to Provides as libdbd-mysql-perl depend on it

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
 meta-oe/recipes-support/mysql/mariadb.inc       | 2 +-
 meta-oe/recipes-support/mysql/mariadb_5.5.50.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
index c2d2ecf..5dd8d64 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -169,7 +169,7 @@ RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
 RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
     perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
     perl-module-file-copy perl-module-file-temp perl-module-posix \
-    ${PN}-client libdbi-perl"
+    ${PN}-client libdbi-perl libdbd-mysql-perl"
 RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
     perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
     perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb b/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
index 8f998a3..d789573 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.50.bb
@@ -4,7 +4,7 @@ EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1"
 
 DEPENDS += "mariadb-native ncurses zlib readline libaio libevent"
 
-PROVIDES += "mysql5"
+PROVIDES += "mysql5 libmysqlclient"
 
 RPROVIDES_${PN} += "mysql5"
 RREPLACES_${PN} += "mysql5"
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 3/3] libdbd-mysql-perl: add new recipe
  2016-09-23  9:24 [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 1/3] " mingli.yu
  2016-09-23  9:24 ` [meta-oe][PATCH v2 2/3] mariadb: add libdbd-mysql-perl " mingli.yu
@ 2016-09-23  9:24 ` mingli.yu
  2 siblings, 0 replies; 5+ messages in thread
From: mingli.yu @ 2016-09-23  9:24 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <Mingli.Yu@windriver.com>

* Add new recipe libdbd-mysql-perl as mariadb-server
  rdepends on it

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
 .../perl/libdbd-mysql-perl_4.036.bb                | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.036.bb

diff --git a/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.036.bb b/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.036.bb
new file mode 100644
index 0000000..f5dbef2
--- /dev/null
+++ b/meta-oe/recipes-devtools/perl/libdbd-mysql-perl_4.036.bb
@@ -0,0 +1,25 @@
+SUMMARY = "A Perl DBI driver for MySQL"
+DESCRIPTION = "DBD::mysql is the Perl5 Database Interface driver for \
+the MySQL database. In other words: DBD::mysql is an interface between \
+the Perl programming language and the MySQL programming API that comes \
+with the MySQL relational database management system. Most functions \
+provided by this programming API are supported. Some rarely used \
+functions are missing, mainly because no-one ever requested them. \
+"
+HOMEPAGE = "http://search.cpan.org/~michielb/DBD-mysql-4.036/lib/DBD/mysql.pm"
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+DEPENDS += "libdbi-perl-native libmysqlclient"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d0a06964340e5c0cde88b7af611f755c"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/DBD-mysql-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "fdee1d8dc4ae54bc6cb7cd5a3f3d3342"
+SRC_URI[sha256sum] = "5c48a823f86b8110ccb6504c6176ca248b52f56829dd4548bc39c3509f4154cf"
+
+S = "${WORKDIR}/DBD-mysql-${PV}"
+
+inherit cpan
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS
@ 2016-09-26  5:31 mingli.yu
  0 siblings, 0 replies; 5+ messages in thread
From: mingli.yu @ 2016-09-26  5:31 UTC (permalink / raw)
  To: openembedded-devel

Changed in v2:
* Move libdbi-perl from meta-perl to meta-oe
* Add another dependency libdbd-mysql-perl
* Add new recipe libdbd-mysql-perl
* Add libmysqlclient to PROVIDES for mariadb as
  libdbd-mysql-perl depends on libmysqlclient 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-26  5:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23  9:24 [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS mingli.yu
2016-09-23  9:24 ` [meta-oe][PATCH v2 1/3] " mingli.yu
2016-09-23  9:24 ` [meta-oe][PATCH v2 2/3] mariadb: add libdbd-mysql-perl " mingli.yu
2016-09-23  9:24 ` [meta-oe][PATCH v2 3/3] libdbd-mysql-perl: add new recipe mingli.yu
2016-09-26  5:31 [meta-oe][PATCH v2 0/3] mariadb: add libdbi-perl to RDEPENDS mingli.yu

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.