All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
@ 2010-01-29 10:07 Michael Lippautz
  2010-01-29 10:27 ` Koen Kooi
  2010-01-29 10:28 ` Holger Hans Peter Freyther
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Lippautz @ 2010-01-29 10:07 UTC (permalink / raw)
  To: openembedded-devel

---
 recipes/perl/libdbd-sqlite-perl_1.29.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes/perl/libdbd-sqlite-perl_1.29.bb

diff --git a/recipes/perl/libdbd-sqlite-perl_1.29.bb b/recipes/perl/libdbd-sqlite-perl_1.29.bb
new file mode 100644
index 0000000..10fe73a
--- /dev/null
+++ b/recipes/perl/libdbd-sqlite-perl_1.29.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "PERL database interface driver for the SQLite database."
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+DEPENDS = "libdbi-perl-native"
+RDEPENDS = "libdbi-perl \
+         perl-module-file-spec \
+         perl-module-file-path \
+         perl-module-scalar-util \
+         perl-module-list-util \
+         perl-module-test \
+         perl-module-test-more \
+         perl-module-test-harness \
+         perl-module-file-basename \
+         perl-module-storable \
+         perl-module-extutils-makemaker \
+         perl-module-locale \
+         perl-module-tie-hash \
+"
+PR = "r0"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-${PV}.tar.gz;name=dbdsqlite"
+SRC_URI[dbdsqlite.md5sum] = "2a47cea6ecff62508775d90151a8030f"
+SRC_URI[dbdsqlite.sha256sum] = "51d0d529e453ada1ce85772deb5cc4c86a2ebe9da2dd2fb0b40b77b555720867"
+
+S = "${WORKDIR}/DBD-SQLite-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.6.4.4




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

* Re: [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
  2010-01-29 10:07 [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver Michael Lippautz
@ 2010-01-29 10:27 ` Koen Kooi
  2010-01-29 10:37   ` Michael Lippautz
  2010-01-29 14:36   ` Chris Larson
  2010-01-29 10:28 ` Holger Hans Peter Freyther
  1 sibling, 2 replies; 7+ messages in thread
From: Koen Kooi @ 2010-01-29 10:27 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29-01-10 11:07, Michael Lippautz wrote:
> ---
>  recipes/perl/libdbd-sqlite-perl_1.29.bb |   29 +++++++++++++++++++++++++++++
>  1 files changed, 29 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/perl/libdbd-sqlite-perl_1.29.bb
> 
> diff --git a/recipes/perl/libdbd-sqlite-perl_1.29.bb b/recipes/perl/libdbd-sqlite-perl_1.29.bb
> new file mode 100644
> index 0000000..10fe73a
> --- /dev/null
> +++ b/recipes/perl/libdbd-sqlite-perl_1.29.bb
> @@ -0,0 +1,29 @@
> +DESCRIPTION = "PERL database interface driver for the SQLite database."
> +SECTION = "libs"
> +LICENSE = "Artistic|GPL"
> +DEPENDS = "libdbi-perl-native"
> +RDEPENDS = "libdbi-perl \

That should be RDEPENDS_${PN}

We did have a script somewhere to check for things like that, does
anyone know where that went?
And can someone more knowledgable about perl than me push these patches
(after fixups)?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLYrgTMkyGM64RGpERAnOEAJ0cVpWnavLn9ssl3Q6wKYXcPO2W1wCeKGwC
+s4lBh3sMT+RMl7dUgQrplo=
=BZHR
-----END PGP SIGNATURE-----




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

* Re: [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
  2010-01-29 10:07 [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver Michael Lippautz
  2010-01-29 10:27 ` Koen Kooi
@ 2010-01-29 10:28 ` Holger Hans Peter Freyther
  2010-01-29 10:34   ` Michael Lippautz
  1 sibling, 1 reply; 7+ messages in thread
From: Holger Hans Peter Freyther @ 2010-01-29 10:28 UTC (permalink / raw)
  To: openembedded-devel

On Friday 29 January 2010 11:07:56 Michael Lippautz wrote:

> +DESCRIPTION = "PERL database interface driver for the SQLite database."
> +SECTION = "libs"
> +LICENSE = "Artistic|GPL"

Use a space here, we do not have a good way to indicate dual licensing.


> +DEPENDS = "libdbi-perl-native"
> +BBCLASSEXTEND = "native"

I'm not sure about these two.




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

* Re: [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
  2010-01-29 10:28 ` Holger Hans Peter Freyther
@ 2010-01-29 10:34   ` Michael Lippautz
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Lippautz @ 2010-01-29 10:34 UTC (permalink / raw)
  To: openembedded-devel

Am Freitag, den 29.01.2010, 11:28 +0100 schrieb Holger Hans Peter
Freyther:
> On Friday 29 January 2010 11:07:56 Michael Lippautz wrote:
> 
> > +DESCRIPTION = "PERL database interface driver for the SQLite database."
> > +SECTION = "libs"
> > +LICENSE = "Artistic|GPL"
> 
> Use a space here, we do not have a good way to indicate dual licensing.

Ok, just looked how existing recipes indicated dual licensing
(dbd-mysql-perl).

> 
> 
> > +DEPENDS = "libdbi-perl-native"
> > +BBCLASSEXTEND = "native"
> 
> I'm not sure about these two.

1) Perl module needs libdbi-perl natively installed to pass a configure
check.

2) Maybe someone needs a native version of this, so I just added the
native extension?

Regards,
Michael




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

* Re: [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
  2010-01-29 10:27 ` Koen Kooi
@ 2010-01-29 10:37   ` Michael Lippautz
  2010-01-29 14:36   ` Chris Larson
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Lippautz @ 2010-01-29 10:37 UTC (permalink / raw)
  To: openembedded-devel

2010/1/29 Koen Kooi <k.kooi@student.utwente.nl>:
>
> That should be RDEPENDS_${PN}
>
> We did have a script somewhere to check for things like that, does
> anyone know where that went?
> And can someone more knowledgable about perl than me push these patches
> (after fixups)?

Just looked up the deps at CPAN and added them. Additionally some core
modules were needed that were not mentioned by CPAN (locale.pm), so
manually added them to the list.



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

* Re: [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
  2010-01-29 10:27 ` Koen Kooi
  2010-01-29 10:37   ` Michael Lippautz
@ 2010-01-29 14:36   ` Chris Larson
  2010-01-29 16:04     ` Koen Kooi
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Larson @ 2010-01-29 14:36 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Jan 29, 2010 at 3:27 AM, Koen Kooi <k.kooi@student.utwente.nl>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 29-01-10 11:07, Michael Lippautz wrote:
> > ---
> >  recipes/perl/libdbd-sqlite-perl_1.29.bb |   29
> +++++++++++++++++++++++++++++
> >  1 files changed, 29 insertions(+), 0 deletions(-)
> >  create mode 100644 recipes/perl/libdbd-sqlite-perl_1.29.bb
> >
> > diff --git a/recipes/perl/libdbd-sqlite-perl_1.29.bb b/recipes/perl/
> libdbd-sqlite-perl_1.29.bb
> > new file mode 100644
> > index 0000000..10fe73a
> > --- /dev/null
> > +++ b/recipes/perl/libdbd-sqlite-perl_1.29.bb
> > @@ -0,0 +1,29 @@
> > +DESCRIPTION = "PERL database interface driver for the SQLite database."
> > +SECTION = "libs"
> > +LICENSE = "Artistic|GPL"
> > +DEPENDS = "libdbi-perl-native"
> > +RDEPENDS = "libdbi-perl \
>
> That should be RDEPENDS_${PN}
>
> We did have a script somewhere to check for things like that, does
> anyone know where that went?
>

Here's one option:

INHERIT += "recipe_sanity"
bitbake -c recipe_sanity libdbd-sqlite-perl
-- 
Chris Larson
clarson at kergoth dot com
clarson at mvista dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Software Engineer
MontaVista Software, Inc.


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

* Re: [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver
  2010-01-29 14:36   ` Chris Larson
@ 2010-01-29 16:04     ` Koen Kooi
  0 siblings, 0 replies; 7+ messages in thread
From: Koen Kooi @ 2010-01-29 16:04 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29-01-10 15:36, Chris Larson wrote:
> On Fri, Jan 29, 2010 at 3:27 AM, Koen Kooi <k.kooi@student.utwente.nl>wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 29-01-10 11:07, Michael Lippautz wrote:
>>> ---
>>>  recipes/perl/libdbd-sqlite-perl_1.29.bb |   29
>> +++++++++++++++++++++++++++++
>>>  1 files changed, 29 insertions(+), 0 deletions(-)
>>>  create mode 100644 recipes/perl/libdbd-sqlite-perl_1.29.bb
>>>
>>> diff --git a/recipes/perl/libdbd-sqlite-perl_1.29.bb b/recipes/perl/
>> libdbd-sqlite-perl_1.29.bb
>>> new file mode 100644
>>> index 0000000..10fe73a
>>> --- /dev/null
>>> +++ b/recipes/perl/libdbd-sqlite-perl_1.29.bb
>>> @@ -0,0 +1,29 @@
>>> +DESCRIPTION = "PERL database interface driver for the SQLite database."
>>> +SECTION = "libs"
>>> +LICENSE = "Artistic|GPL"
>>> +DEPENDS = "libdbi-perl-native"
>>> +RDEPENDS = "libdbi-perl \
>>
>> That should be RDEPENDS_${PN}
>>
>> We did have a script somewhere to check for things like that, does
>> anyone know where that went?
>>
> 
> Here's one option:
> 
> INHERIT += "recipe_sanity"
> bitbake -c recipe_sanity libdbd-sqlite-perl

That explains why I couldn't find it in contrib/ :)

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLYwcdMkyGM64RGpERAlTkAJwJZkBzZDIEbNrXzXViv/ML8vzkwACggiVb
nio5kWyzMYIKgC8MI6n0+b8=
=UvMI
-----END PGP SIGNATURE-----




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

end of thread, other threads:[~2010-01-29 16:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 10:07 [PATCH] libdbd-sqlite-perl: New recipe for SQLite DBI interface driver Michael Lippautz
2010-01-29 10:27 ` Koen Kooi
2010-01-29 10:37   ` Michael Lippautz
2010-01-29 14:36   ` Chris Larson
2010-01-29 16:04     ` Koen Kooi
2010-01-29 10:28 ` Holger Hans Peter Freyther
2010-01-29 10:34   ` Michael Lippautz

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.