Skip to contentSkip to conversation

gnomebase: add GNOME_COMPRESS_TYPE variable

PATCH In review Saul Wold 4 participants 6 messages Jun 6, 2012 – Jun 12, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 gnomebase: add GNOME_COMPRESS_TYPE variable

Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition.

[YOCTO #2241]

---
 meta/classes/gnomebase.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta/classes/gnomebase.bbclass +2 -1
index a4209a0..80b78be 100644
@@ -3,8 +3,9 @@ def gnome_verdir(v):
 	m = re.match("^([0-9]+)\.([0-9]+)", v)
 	return "%s.%s" % (m.group(1), m.group(2))
 
+GNOME_COMPRESS_TYPE ?= "bz2"
 SECTION ?= "x11/gnome"
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.bz2;name=archive"
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
 
 DEPENDS += "gnome-common"
 
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 3 lines · Saul Wold

Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition.

Considering all future tarballs are going to be .xz, would it make sense to default to .xz and fix the recipes where there isn't a .xz?

Ross

author
#2 lore raw
Quoted 8 lines · Ross
Quoted 3 lines · Saul Wold

Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition.

Considering all future tarballs are going to be .xz, would it make sense to default to .xz and fix the recipes where there isn't a .xz?

I think until we get a predominant number of the gnome packages updated there is not much point in doing that as it would require extra recipe edits. I think if we can do a batch update and then switch the default that would make more sense. I will leave that up to the new gnome recipe maintainer Valentin.

Sau!

Quoted 7 lines

Ross

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw

Op 6 jun. 2012, om 17:38 heeft Saul Wold het volgende geschreven:

Quoted 10 lines · Ross
Quoted 8 lines · Saul Wold
Quoted 3 lines

Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition.

Considering all future tarballs are going to be .xz, would it make sense to default to .xz and fix the recipes where there isn't a .xz?

I think until we get a predominant number of the gnome packages updated there is not much point in doing that as it would require extra recipe edits. I think if we can do a batch update and then switch the default that would make more sense. I will leave that up to the new gnome recipe maintainer Valentin.

When are the gnome recipes going to move out of OE-core?

#4 lore raw
Quoted 14 lines · Koen Kooi

Op 6 jun. 2012, om 17:38 heeft Saul Wold het volgende geschreven:

Quoted 3 lines · Ross
Quoted 2 lines · Saul Wold
Quoted 1 line

Upstream Gnome projects are starting to migrate to the .xz

compress format,

Quoted 1 line
Quoted 1 line
Quoted 1 line

so we need to add this to allow recipes to override the default

of .bz2 as

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

the upstreams make the transition.

Considering all future tarballs are going to be .xz, would it make sense to default to .xz and fix the recipes where there isn't

a .xz?

Quoted 1 line
Quoted 1 line
Quoted 7 lines
Quoted 1 line

I think until we get a predominant number of the gnome packages

updated there is not much point in doing that as it would require extra recipe edits. I think if we can do a batch update and then switch the default that would make more sense. I will leave that up to the new gnome recipe maintainer Valentin.

When are the gnome recipes going to move out of OE-core?

I keep seeing people mentioning their pet hates but nobody has put together a reasonable proposal encompassing all the different elements about how we could change the current set, thinking through the various implications.

I will state once again for the record that we need enough in OE-Core that we can build some working environments which are testable. I do not want to end up in a position where we have a core which we can't actually test. I also want the core to contain enough pieces to actually be real world useful. I think the core today does that but if we start pulling out every gnome piece or X11 then it would not be as real world generally useful. I realise not everyone uses X11 but it does test a significant set of the system, be it kernel framebuffer drivers, the compiler etc.

I'm not thrilled to have sato there either but again, until we can come up with a plan to replace it whilst still having a testable core, I don't want to remove it.

Yes, I've said this before but since people keep asking the question, I'll have to keep repeating myself.

Personally, I think there are bigger more pressing issues to deal with too...

Cheers,

Richard

#5 lore raw
In reply to Saul Wold
Quoted 8 lines · Saul Wold
Quoted 3 lines

Considering all future tarballs are going to be .xz, would it make sense to default to .xz and fix the recipes where there isn't a .xz?

I think until we get a predominant number of the gnome packages updated there is not much point in doing that as it would require extra recipe edits.  I think if we can do a batch update and then switch the default that would make more sense.  I will leave that up to the new gnome recipe maintainer Valentin.

Yeah, good point, agreed.

Ross