Skip to contentSkip to conversation

branding-mcsdk: Adding MCSDK branding include file

PATCH Superseded Sam Nelson 3 participants 14 messages Feb 6, 2015 – Feb 20, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 branding-mcsdk: Adding MCSDK branding include file

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-mcsdk.inc
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +20 -0
new file mode 100644
index 0000000..d023b67
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"
+
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
Signature · 1 line
1.7.9.5
#1 lore raw

Why do u still need the commented PREFERRED_VERSIONs ur branding file?

Also what issue are you seeing that is preventing you from using libjpeg-turbo-native?

Quoted 51 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Friday, February 06, 2015 12:55 PM
To: [email protected]
Subject: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

meta- renamed from meta-arago-distro/conf/distro/include/branding-mcsdk.inc +0 -0

arago-distro/conf/distro/include/branding-mcsdk.inc new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +20 -1
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"
+
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
--

1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#2 lore raw
Quoted 11 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Friday, February 06, 2015 2:00 PM
To: Nelson, Sam; [email protected]
Subject: RE: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Why do u still need the commented PREFERRED_VERSIONs ur branding file?

[Sam] Sorry. The commented lines can be removed. I will send updated patch.

Quoted 2 lines

Also what issue are you seeing that is preventing you from using libjpeg- turbo-native?

[Sam] Not sure of issues with libjpeg-turbo-native it was just a choice we were experimenting. Currently , we have everything working with jpeg-native and going with this for now.

Quoted 54 lines
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Friday, February 06, 2015 12:55 PM
To: [email protected]
Subject: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Review

Quoted 5 lines
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

(quoted diff) +0 -0

b/meta-

Quoted 33 lines

arago-distro/conf/distro/include/branding-mcsdk.inc new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +20 -1
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"
+
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
--

1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw
In reply to Sam Nelson
Quoted 14 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-mcsdk.inc
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +0 -0
new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 6 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

Quoted 20 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +13 -0
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#4 lore raw
Quoted 23 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:00 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 14 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 11 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

[Sam] Yes it was to make Java happy.

Quoted 21 lines
Quoted 21 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +13 -1
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
--

1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#5 lore raw
Quoted 49 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Friday, February 06, 2015 1:51 PM
To: Dmytriyenko, Denys
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 22 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:00 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Quoted 3 lines

diff --git a/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 14 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 11 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

Quoted 1 line

[Sam] Yes it was to make Java happy.

[Franklin] I thought I remembered that the mcsdk were meant for headless devices. If so I would recommend taking a look at the discussion here:
https://github.com/woglinde/meta-java/issues/45

Pulling in x11 and gtk seems painful especially since you're not using it.
Anyway it's something to look into if it is indeed meant for headless devices.
But its ur branding file so my above comments aren't meant to block this patch from being accepted.

Quoted 25 lines
Quoted 17 lines
Quoted 17 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +13 -1
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
--

1.7.9.5

Quoted 4 lines
Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#6 lore raw
Quoted 49 lines · Franklin
Quoted 49 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Friday, February 06, 2015 1:51 PM
To: Dmytriyenko, Denys
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 36 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:00 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Quoted 3 lines

diff --git a/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 11 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

Quoted 8 lines
Quoted 1 line

[Sam] Yes it was to make Java happy.

[Franklin] I thought I remembered that the mcsdk were meant for headless devices. If so I would recommend taking a look at the discussion here:
https://github.com/woglinde/meta-java/issues/45

Pulling in x11 and gtk seems painful especially since you're not using it.
Anyway it's something to look into if it is indeed meant for headless devices.
But its ur branding file so my above comments aren't meant to block this patch from being accepted.

Well, as explained in that tracker link you provided, pulling X libs for the build doesn't necessary mean you'll end up with X component on the target. Yes, disabling AWT is a nice touch, hopefully it gets integrated into meta-java

Quoted 24 lines
Quoted 24 lines
Quoted 16 lines
Quoted 16 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +13 -1
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"
--

1.7.9.5

Quoted 4 lines
Quoted 4 lines

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#7 lore raw
Quoted 66 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:43 PM
To: Cooper Jr., Franklin
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 49 lines · Franklin
Quoted 49 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Friday, February 06, 2015 1:51 PM
To: Dmytriyenko, Denys
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 36 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:00 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)  create mode 100644

meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Quoted 3 lines

diff --git a/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 11 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions PREFERRED_VERSION_libnl =
+"3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

Quoted 2 lines
Quoted 1 line

[Sam] Yes it was to make Java happy.

[Franklin] I thought I remembered that the mcsdk were meant for headless

devices.

Quoted 3 lines

If so I would recommend taking a look at the discussion here:
https://github.com/woglinde/meta-java/issues/45

Quoted 8 lines
Quoted 3 lines

Pulling in x11 and gtk seems painful especially since you're not using it. Anyway it's something to look into if it is indeed meant for headless devices. But its ur branding file so my above comments aren't meant to block this

patch from being accepted.

Well, as explained in that tracker link you provided, pulling X libs for the build doesn't necessary mean you'll end up with X component on the target. Yes, disabling AWT is a nice touch, hopefully it gets integrated into meta-java

[Franklin] Maybe for the very specific x11 recipes but pulling the generic gtk+ package I'm not sure things will end up being as lucky. The changes mentioned in the link specifically drops the gtk dependency. Also adding X11 to your distro features I'm assuming will affect quite a bit of recipes that may pull in additional x11 dependencies that they may have avoided otherwise.

Anyway I was making assumptions so if that isn't occurring in their current builds feel free to ignore my crazy rambling :)

Quoted 27 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 5 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +3 -0
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"

meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 10 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +10 -0
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-

locale"

Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
Quoted 7 lines

--
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#8 lore raw
Quoted 94 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Friday, February 06, 2015 4:08 PM
To: Dmytriyenko, Denys
Cc: Nelson, Sam; [email protected]
Subject: RE: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 6 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:43 PM
To: Cooper Jr., Franklin
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK

branding

Quoted 52 lines

include file

Quoted 49 lines · Franklin
Quoted 49 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Friday, February 06, 2015 1:51 PM
To: Dmytriyenko, Denys
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 36 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 2:00 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)  create mode 100644

meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Quoted 3 lines

diff --git a/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 11 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions PREFERRED_VERSION_libnl =
+"3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

Quoted 8 lines
Quoted 2 lines
Quoted 1 line

[Sam] Yes it was to make Java happy.

[Franklin] I thought I remembered that the mcsdk were meant for headless

devices.

Quoted 5 lines

If so I would recommend taking a look at the discussion here:
https://github.com/woglinde/meta-java/issues/45

Pulling in x11 and gtk seems painful especially since you're not using it. Anyway it's something to look into if it is indeed meant for headless

devices.

Quoted 4 lines
Quoted 1 line

But its ur branding file so my above comments aren't meant to block this

patch from being accepted.

Well, as explained in that tracker link you provided, pulling X libs for the

build

Quoted 2 lines

doesn't necessary mean you'll end up with X component on the target. Yes, disabling AWT is a nice touch, hopefully it gets integrated into meta-

java
[Franklin] Maybe for the very specific x11 recipes but pulling the generic gtk+ package I'm not sure things will end up being as lucky. The changes mentioned in the link specifically drops the gtk dependency. Also adding X11 to your distro features I'm assuming will affect quite a bit of recipes that may pull in additional x11 dependencies that they may have avoided otherwise.

Quoted 2 lines

Anyway I was making assumptions so if that isn't occurring in their current builds feel free to ignore my crazy rambling :)

[Sam] I tried the patch mentioned in tracker link. But I see libxt libxinerama libxrender all depend on x11. So not giving anything useful.

Quoted 27 lines
Quoted 27 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 5 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +3 -0
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"

meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 10 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +10 -0
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-

locale"

Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
Quoted 7 lines

--
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#9 lore raw

Coming back to this discussion...

Quoted 50 lines · Sam
Quoted 50 lines
Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
Quoted 5 lines

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)  create mode 100644

meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Quoted 3 lines

diff --git a/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 11 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions PREFERRED_VERSION_libnl =
+"3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

Quoted 8 lines
Quoted 2 lines
Quoted 1 line

[Sam] Yes it was to make Java happy.

[Franklin] I thought I remembered that the mcsdk were meant for headless

devices.

Quoted 5 lines

If so I would recommend taking a look at the discussion here:
https://github.com/woglinde/meta-java/issues/45

Pulling in x11 and gtk seems painful especially since you're not using it. Anyway it's something to look into if it is indeed meant for headless

devices.

Quoted 4 lines
Quoted 1 line

But its ur branding file so my above comments aren't meant to block this

patch from being accepted.

Well, as explained in that tracker link you provided, pulling X libs for the

build

Quoted 2 lines

doesn't necessary mean you'll end up with X component on the target. Yes, disabling AWT is a nice touch, hopefully it gets integrated into meta-

java
[Franklin] Maybe for the very specific x11 recipes but pulling the generic gtk+ package I'm not sure things will end up being as lucky. The changes mentioned in the link specifically drops the gtk dependency. Also adding X11 to your distro features I'm assuming will affect quite a bit of recipes that may pull in additional x11 dependencies that they may have avoided otherwise.

Quoted 6 lines
Quoted 2 lines

Anyway I was making assumptions so if that isn't occurring in their current builds feel free to ignore my crazy rambling :)

[Sam] I tried the patch mentioned in tracker link. But I see libxt libxinerama libxrender all depend on x11.
So not giving anything useful.

But according to the comments, it skips building AWT and removes GTK dependencies. Plus the build is faster. Do you want to include it?

I'm wondering if libxt, libxinerama and libxrender require DISTRO_FEATURES += "x11"...

Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +5 -0
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 19

Quoted 8 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +8 -0
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-

locale"

Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
Quoted 7 lines

--
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#10 lore raw
Quoted 73 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Thursday, February 19, 2015 9:56 PM
To: Nelson, Sam
Cc: Cooper Jr., Franklin; [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Coming back to this discussion...

Quoted 13 lines · Sam
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 5 lines

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)  create mode 100644

meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Quoted 3 lines

diff --git a/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 3

Quoted 8 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +3 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions PREFERRED_VERSION_libnl

=

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 6

Quoted 3 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +3 -0
+"3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"

I assume x11 is to make Java happy? I don't think you have x11 env...

[Sam] Yes it was to make Java happy.

[Franklin] I thought I remembered that the mcsdk were meant for

headless

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

devices.

Quoted 5 lines

If so I would recommend taking a look at the discussion here:
https://github.com/woglinde/meta-java/issues/45

Pulling in x11 and gtk seems painful especially since you're not using it. Anyway it's something to look into if it is indeed meant for headless

devices.

Quoted 1 line
Quoted 1 line

But its ur branding file so my above comments aren't meant to block

this

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

patch from being accepted.

Well, as explained in that tracker link you provided, pulling X libs for the

build

Quoted 2 lines

doesn't necessary mean you'll end up with X component on the target. Yes, disabling AWT is a nice touch, hopefully it gets integrated into meta-

java
[Franklin] Maybe for the very specific x11 recipes but pulling the generic

gtk+

Quoted 2 lines
Quoted 2 lines

package I'm not sure things will end up being as lucky. The changes mentioned in the link specifically drops the gtk dependency. Also adding

X11

Quoted 1 line
Quoted 1 line

to your distro features I'm assuming will affect quite a bit of recipes that

may

Quoted 4 lines
Quoted 4 lines

pull in additional x11 dependencies that they may have avoided otherwise.

Anyway I was making assumptions so if that isn't occurring in their current builds feel free to ignore my crazy rambling :)

Quoted 6 lines
Quoted 3 lines

[Sam] I tried the patch mentioned in tracker link. But I see libxt libxinerama libxrender all depend on x11.
So not giving anything useful.

But according to the comments, it skips building AWT and removes GTK dependencies. Plus the build is faster. Do you want to include it?

[Sam] Let me check on this, in the perspective of building faster with the patch. ( I guess this need not hold up adding x11 for DISTRO_FEATURES).

Quoted 4 lines

I'm wondering if libxt, libxinerama and libxrender require DISTRO_FEATURES += "x11"...

[Sam] Here is the error message when trying to build libxt without x11.
ERROR: Nothing PROVIDES 'libxt'
ERROR: libxt was skipped: missing required distro feature ['x11'] (not in DISTRO_FEATURES)

Same error with libxinerama and libxrender as well.

Quoted 28 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 15

Quoted 10 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +9 -0
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-

native"

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 19

Quoted 4 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +4 -0
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-

eglibc-

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

locale"

Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
Quoted 7 lines

--
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#11 lore raw
In reply to Sam Nelson
Quoted 24 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-mcsdk.inc
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +10 -0
new file mode 100644
index 0000000..d023b67
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"
+
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 20

Quoted 10 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +10 -0
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"

BTW, I don't think this last line is correct ^^^

Signature · 1 line
Denys
#12 lore raw
Quoted 42 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 3:31 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 19 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +14 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"
+
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
Quoted 8 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 20

Quoted 6 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"

BTW, I don't think this last line is correct ^^^

[Sam]
Are you saying this is not the right option to choose?
I got :
NOTE: multiple providers are available for runtime glibc-gconv-iso8859-1 (eglibc-locale, nativesdk-eglibc-locale, external-arago-toolchain)
NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-gconv-iso8859-1

Quoted 3 lines

--
Denys

#13 lore raw
Quoted 50 lines · Sam
Quoted 42 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, February 06, 2015 3:31 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] branding-mcsdk: Adding MCSDK branding include file

Quoted 5 lines · Sam Nelson

- To control preferred version and providers for MCSDK

---
 .../conf/distro/include/branding-mcsdk.inc         |   20

++++++++++++++++++++

Quoted 2 lines
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-distro/conf/distro/include/branding-

mcsdk.inc

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-arago-distro/conf/distro/include/branding-mcsdk.inc

Quoted 19 lines

new file mode 100644
index 0000000..d023b67

meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +14 -0
@@ -0,0 +1,20 @@
+# MCSDK branding configuration
+
+# Use the MCSDK supported versions
+PREFERRED_VERSION_libnl = "3.2.24"
+
+DISTRO_FEATURES += "x11 opengl"
+
+# Java preferences.
+#PREFERRED_VERSION_openjdk-7-jre = "25b30-2.3.12"
+PREFERRED_VERSION_icedtea7-native = "2.1.3"
+PREFERRED_PROVIDER_openjdk-7-jre = "openjdk-7-jre"
+
+PREFERRED_PROVIDER_virtual/java-initial = "cacao-initial"
+
Quoted 8 lines

meta-arago-distro/conf/distro/include/branding-mcsdk.inc line 20

Quoted 6 lines
meta-arago-distro/conf/distro/include/branding-mcsdk.inc new file +6 -0
+PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
+PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
+
+PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
+#PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"
+PREFERRED_PROVIDER_glibc-gconv-iso8859-1 = "nativesdk-eglibc-locale"

BTW, I don't think this last line is correct ^^^

Quoted 7 lines

[Sam]
Are you saying this is not the right option to choose?
I got :
NOTE: multiple providers are available for runtime glibc-gconv-iso8859-1 (eglibc-locale, nativesdk-eglibc-locale, external-arago-toolchain)
NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-gconv-iso8859-1

Hmm, I think that the external Linaro toolchain recipe should be fixed to provide that as well. But for now selecting eglibc-locale is more correct than nativesdk-eglibc-locale, even though you'll end up pulling and building eglibc

Signature · 1 line
Denys