Re: [oe] [RFC][PATCH v2] plowshare: Add Git version (initial recipe)

2012-08-14 Thread Jack Mitchell

On 14/08/2012 13:50, Matthieu wrote:

Add recipe for plowshare (git repository).

v2:
- fix big mistake DEPENDS => RDEPENDS
- set SRCREV to empty string
- keep PE=1 to respect upstream scheme

Signed-off-by: Matthieu Crapet 
---
  meta/recipes-support/plowshare/plowshare_git.bb |   27
+++
  1 file changed, 27 insertions(+)
  create mode 100644 meta/recipes-support/plowshare/plowshare_git.bb

diff --git 
a/meta/recipes-support/plowshare/plowshare_git.bbb/meta/recipes-support/plowshare/
plowshare_git.bb
new file mode 100644
index 000..f819255
--- /dev/null
+++ b/meta/recipes-support/plowshare/plowshare_git.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Command-line download/upload tool for file sharing hosters"
+HOMEPAGE = "http://code.google.com/p/plowshare/";
+SECTION = "console/utils"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+# Follow uptream (debian) naming convention,
+# for example: plowshare_1~git20120807-1_all.deb
+PV = "gitr${SRCPV}"
+PE = "1"
+SRCREV = ""
+
+RDEPENDS_${PN} = "bash curl"
+SRC_URI = "git://
code.google.com/p/plowshare.git;protocol=http;branch=master"
+S = "${WORKDIR}/git"
+
+inherit allarch
+
+# Nothing to compile, it's scripts!
+do_compile() {
+ :
+}
+
+do_install() {
+ oe_runmake PREFIX="${prefix}" DESTDIR="${D}" install
+}
--
1.7.9.5
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Matthieu,

Before you bear the wrath of Koen, I would recommend you at least move 
this to an appropriate layer (such as somewhere in meta-oe[1]).


The general consensus is that things only go in oe-core if they are 
required for a core-system build.


[1] https://github.com/openembedded/meta-oe

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [RFC][PATCH v2] plowshare: Add Git version (initial recipe)

2012-08-14 Thread Matthieu
Add recipe for plowshare (git repository).

v2:
- fix big mistake DEPENDS => RDEPENDS
- set SRCREV to empty string
- keep PE=1 to respect upstream scheme

Signed-off-by: Matthieu Crapet 
---
 meta/recipes-support/plowshare/plowshare_git.bb |   27
+++
 1 file changed, 27 insertions(+)
 create mode 100644 meta/recipes-support/plowshare/plowshare_git.bb

diff --git 
a/meta/recipes-support/plowshare/plowshare_git.bbb/meta/recipes-support/plowshare/
plowshare_git.bb
new file mode 100644
index 000..f819255
--- /dev/null
+++ b/meta/recipes-support/plowshare/plowshare_git.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Command-line download/upload tool for file sharing hosters"
+HOMEPAGE = "http://code.google.com/p/plowshare/";
+SECTION = "console/utils"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+# Follow uptream (debian) naming convention,
+# for example: plowshare_1~git20120807-1_all.deb
+PV = "gitr${SRCPV}"
+PE = "1"
+SRCREV = ""
+
+RDEPENDS_${PN} = "bash curl"
+SRC_URI = "git://
code.google.com/p/plowshare.git;protocol=http;branch=master"
+S = "${WORKDIR}/git"
+
+inherit allarch
+
+# Nothing to compile, it's scripts!
+do_compile() {
+ :
+}
+
+do_install() {
+ oe_runmake PREFIX="${prefix}" DESTDIR="${D}" install
+}
--
1.7.9.5
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-14 Thread Elvis Dowson
Hi,

On Aug 14, 2012, at 4:01 PM, Koen Kooi wrote:

>> The gcc-4.5 recipe was adapted from the gcc-4.5.1 recipe from the denzil
>> branch.
> 
> The meta-toolchain denzil branch had 4.5.4

Yes, you're right. I intentionally dropped it to 4.5.1, but I'll update the 
existing
recipes 4.5.4.

Elvis Dowson
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-14 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 14-08-12 12:08, Elvis Dowson schreef:
> Hi,
> 
> On Aug 14, 2012, at 1:55 PM, Koen Kooi wrote:
> 
>> Op 13-08-12 22:28, Elvis Dowson schreef:
>>> Hi, I've created a set of patches to add retired toolchain support
>>> for gcc-4.5.1, to the meta-openembedded/toolchain-layer.
>> 
>> Given that  4.5.x was deleted from meta-toolchain 3 months ago[1],
>> what's the rationale for adding it back? It's still available in the
>> denzil branch, so unless someone steps up to maintain it I'm inclined
>> to say "no" to patches bringing it back in the master branch.
> 
> The gcc-4.5 recipe was adapted from the gcc-4.5.1 recipe from the denzil
> branch.

The meta-toolchain denzil branch had 4.5.4

> 
> The structure of the newer gcc-4.7 recipes in the current poky/master
> branch are

What is 'poky'?

> a bit different from the older recipes in the denzil branch. So, while
> developing the gcc-4.5 recipes, I started with the existing gcc-4.7
> templates, and looked at the gcc-4.6 recipes in the current
> meta-openembedded/toolchain-layer and incorporated all the patches for
> gcc-4.5.1 from the denzil branch.

Again, the meta-toolchain denzil branch had 4.5.4

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQKj4QMkyGM64RGpERAvqiAKCD6f2RTmgqcDepvcAxrjR9ZjTX5gCgnYqC
uEfmHg6ygdu5WcN7BRbou+U=
=R3nT
-END PGP SIGNATURE-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-14 Thread Elvis Dowson
Hi,

On Aug 14, 2012, at 1:55 PM, Koen Kooi wrote:

> Op 13-08-12 22:28, Elvis Dowson schreef:
>> Hi, I've created a set of patches to add retired toolchain support for 
>> gcc-4.5.1, to the meta-openembedded/toolchain-layer.
> 
> Given that  4.5.x was deleted from meta-toolchain 3 months ago[1], what's
> the rationale for adding it back? It's still available in the denzil branch,
> so unless someone steps up to maintain it I'm inclined to say "no" to
> patches bringing it back in the master branch.

The gcc-4.5 recipe was adapted from the gcc-4.5.1 recipe from the denzil branch.

The structure of the newer gcc-4.7 recipes in the current poky/master branch are
a bit different from the older recipes in the denzil branch. So, while 
developing
the gcc-4.5 recipes, I started with the existing gcc-4.7 templates, and looked 
at the
gcc-4.6 recipes in the current meta-openembedded/toolchain-layer and 
incorporated all the patches for gcc-4.5.1 from the denzil branch. This way the
gcc-4.5 recipe would be compatible with builds against the current poky/master
branch, and take advantage of all the newer recipe versions, in the current
poky/master branch, while maintaining legacy support for the gcc-4.5.1 
toolchain.

The problem I ran into was with support for soft-float on the PowerPC440 
processor.

If I can isolate the issue, and get it to work with gcc-4.6 or gcc-4.7, there 
is no need
to add legacy gcc-4.5 toolchain support to the toolchain-layer.

If not, then it would be required to maintain support, atleast for PowerPC 440 
targets
with soft-float.

Best regards,

Elvis Dowson
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [RFC][PATCH] plowshare: Add Git version (initial recipe)

2012-08-14 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 14-08-12 11:48, Matthieu schreef:
> Add recipe for plowshare (git repository).
> 
> Signed-off-by: Matthieu Crapet  --- plowshare_git.bb |
> 25 + 1 file changed, 25 insertions(+) create mode
> 100644 plowshare_git.bb
> 
> diff --git a/plowshare_git.bb b/plowshare_git.bb

Directory structure?

> new file mode 100644 index 000..ec33bff --- /dev/null +++
> b/plowshare_git.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Command-line
> download/upload tool for file sharing hosters" +HOMEPAGE =
> "http://code.google.com/p/plowshare/"; +SECTION = "console/utils" + 
> +LICENSE = "GPLv3" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +PV =
> "gitr${SRCPV}"

No

> +PE = "1"

No

> +SRCREV = "${AUTOREV}"

Hell no!

> +DEPENDS = "bash curl"

RDEPENDS_${PN}

> +SRC_URI =
> "git://code.google.com/p/plowshare.git;protocol=http;branch=master" +S =
> "${WORKDIR}/git" + +inherit allarch + +# Nothing to compile, it's
> scripts! +do_compile() { +: +} + +do_install() { +oe_runmake
> PREFIX="${prefix}" DESTDIR="${D}" install +} -- 1.7.9.5
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQKiD+MkyGM64RGpERAnvKAKCz9+ARsy0k+JWrVQWjXnLfBqtF9wCgm6lN
ECd9h8ZSl49eDoOTSlbkiRo=
=MO1Y
-END PGP SIGNATURE-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-openembedded/toolchain-layer] Adding retired toolchain support for gcc-4.5.1 and eglibc-2.13

2012-08-14 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 13-08-12 22:28, Elvis Dowson schreef:
> Hi, I've created a set of patches to add retired toolchain support for 
> gcc-4.5.1, to the meta-openembedded/toolchain-layer.

Given that  4.5.x was deleted from meta-toolchain 3 months ago[1], what's
the rationale for adding it back? It's still available in the denzil branch,
so unless someone steps up to maintain it I'm inclined to say "no" to
patches bringing it back in the master branch.

regards,

Koen

[1]
https://github.com/openembedded/meta-oe/commit/6291c6fd1243d722e144466921064d47fb50428b
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQKiCVMkyGM64RGpERAnipAJ9Qh6Fjy39VXgPShQCDlab4kMvVDACgvFTu
es5P6TemPajpqazhoMN5zTs=
=l3Oy
-END PGP SIGNATURE-


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [RFC][PATCH] plowshare: Add Git version (initial recipe)

2012-08-14 Thread Matthieu
Add recipe for plowshare (git repository).

Signed-off-by: Matthieu Crapet 
---
 plowshare_git.bb |   25 +
 1 file changed, 25 insertions(+)
 create mode 100644 plowshare_git.bb

diff --git a/plowshare_git.bb b/plowshare_git.bb
new file mode 100644
index 000..ec33bff
--- /dev/null
+++ b/plowshare_git.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Command-line download/upload tool for file sharing hosters"
+HOMEPAGE = "http://code.google.com/p/plowshare/";
+SECTION = "console/utils"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+PV = "gitr${SRCPV}"
+PE = "1"
+SRCREV = "${AUTOREV}"
+DEPENDS = "bash curl"
+
+SRC_URI = "git://code.google.com/p/plowshare.git;protocol=http;branch=master"
+S = "${WORKDIR}/git"
+
+inherit allarch
+
+# Nothing to compile, it's scripts!
+do_compile() {
+   :
+}
+
+do_install() {
+   oe_runmake PREFIX="${prefix}" DESTDIR="${D}" install
+}
--
1.7.9.5

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel