Skip to contentSkip to conversation

php: Rename bbappend to match recipe in meta-oe

PATCH In review [email protected] 3 participants 10 messages Feb 6, 2013 – Feb 7, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 php: Rename bbappend to match recipe in meta-oe

From: Franklin S. Cooper Jr <[email protected]>

---
 .../recipes-devtools/php/php_5.3.19.bbappend       |    6 ++++++
 .../recipes-devtools/php/php_5.3.6.bbappend        |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)
 create mode 100644 meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend
 delete mode 100644 meta-arago-distro/recipes-devtools/php/php_5.3.6.bbappend
meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend new file +6 -0
new file mode 100644
index 0000000..4c3fd39
@@ -0,0 +1,6 @@
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR_append = "-arago0"
+
+SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"
meta-arago-distro/recipes-devtools/php/php_5.3.6.bbappend deleted +0 -6
deleted file mode 100644
index 4c3fd39..0000000
@@ -1,6 +0,0 @@
-# look for files in this layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-PR_append = "-arago0"
-
-SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/4 nativesdk-qt4-tools: Use new native x11 package name.

From: Franklin S. Cooper Jr <[email protected]>

* Nativesdk-libx11 has now been renamed to libx11-nativesdk.
* This ensure the x11 package is filtered out which prevents parsing/build errors due to x11 not being a distro feature.

---
 .../qt4/nativesdk-qt4-tools_4.8.3.bbappend         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.3.bbappend +2 -2
index 6296fbe..312571e 100644
@@ -1,7 +1,7 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
 
-DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
+DEPENDS := "${@oe_filter_out('libx11-nativesdk', '${DEPENDS}', d)}"
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

Didn't I push this already? I remember fixing this particular one few days ago...

Denys

-----Original Message-----
From: [email protected] [[email protected]]
Received: Tuesday, 05 Feb 2013, 20:28
To: [email protected] [[email protected]]
CC: Cooper Jr., Franklin [[email protected]]
Subject: [meta-arago] [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

From: Franklin S. Cooper Jr <[email protected]>

* Nativesdk-libx11 has now been renamed to libx11-nativesdk.
* This ensure the x11 package is filtered out which prevents parsing/build errors due to x11 not being a distro feature.

---
 .../qt4/nativesdk-qt4-tools_4.8.3.bbappend         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.3.bbappend +2 -2
index 6296fbe..312571e 100644
@@ -1,7 +1,7 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
 
-DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
+DEPENDS := "${@oe_filter_out('libx11-nativesdk', '${DEPENDS}', d)}"

--
1.7.0.4

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

#3 lore raw

Re: [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

Quoted 1 line · Denys

Didn't I push this already? I remember fixing this particular one few days ago...

Ok, sorry, I didn't notice you were changing it back...

I did change it from libx11-nativesdk to nativesdk-libx11, because that's how BBCLASSEXTEND=nativesdk calls its packages now. Why are you changing it back?

Signature · 1 line
Denys
Quoted 44 lines

-----Original Message-----
From: [email protected] [[email protected]]
Received: Tuesday, 05 Feb 2013, 20:28
To: [email protected] [[email protected]]
CC: Cooper Jr., Franklin [[email protected]]
Subject: [meta-arago] [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

From: Franklin S. Cooper Jr <[email protected]>

* Nativesdk-libx11 has now been renamed to libx11-nativesdk.
* This ensure the x11 package is filtered out which prevents parsing/build errors due to x11 not being a distro feature.

---
 .../qt4/nativesdk-qt4-tools_4.8.3.bbappend         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.3.bbappend +2 -3
index 6296fbe..312571e 100644
@@ -1,7 +1,7 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
 
-DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
+DEPENDS := "${@oe_filter_out('libx11-nativesdk', '${DEPENDS}', d)}"
--

1.7.0.4

_______________________________________________
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

#4 lore raw

Re: [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

In oe-core nativesdk-qt4-tools.inc
DEPENDS = "zlib-nativesdk dbus-nativesdk libx11-nativesdk qt4-native"

So I needed to make sure that libx11-nativesdk was filtered out because I was getting an build error saying nothing provided libx11-nativesdk because x11 is not part of the distro feature.

Quoted 75 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Tuesday, February 05, 2013 9:53 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

Quoted 1 line · Denys

Didn't I push this already? I remember fixing this particular one few days

ago...

Ok, sorry, I didn't notice you were changing it back...

I did change it from libx11-nativesdk to nativesdk-libx11, because that's how BBCLASSEXTEND=nativesdk calls its packages now. Why are you changing it back?

--
Denys

Quoted 6 lines

-----Original Message-----
From: [email protected] [[email protected]]
Received: Tuesday, 05 Feb 2013, 20:28
To: [email protected] [[email protected]]
CC: Cooper Jr., Franklin [[email protected]]
Subject: [meta-arago] [PATCH 2/4] nativesdk-qt4-tools: Use new native x11

package name.

Quoted 7 lines

From: Franklin S. Cooper Jr <[email protected]>

* Nativesdk-libx11 has now been renamed to libx11-nativesdk.
* This ensure the x11 package is filtered out which prevents parsing/build errors due to x11 not being a distro feature.

Review

Quoted 6 lines
---
 .../qt4/nativesdk-qt4-tools_4.8.3.bbappend         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

tools_4.8.3.bbappend b/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4- tools_4.8.3.bbappend

Quoted 21 lines

index 6296fbe..312571e 100644

meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.3.bbappend +2 -3
@@ -1,7 +1,7 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
 
-DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
+DEPENDS := "${@oe_filter_out('libx11-nativesdk', '${DEPENDS}', d)}"
--

1.7.0.4

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

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

#5 lore raw

Re: [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

Quoted 6 lines · Franklin

In oe-core nativesdk-qt4-tools.inc
DEPENDS = "zlib-nativesdk dbus-nativesdk libx11-nativesdk qt4-native"

So I needed to make sure that libx11-nativesdk was filtered out because I was getting an build error saying nothing provided libx11-nativesdk because x11 is not part of the distro feature.

So, the proper fix was picked up to oe-core/master and is queued up for oe-core/danny - I was told it should land soon, in a day or so. If it doesn't make it there soon, we can always apply this patch temporarily to meta-arago.

Signature · 1 line
Denys
Quoted 80 lines
Quoted 71 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Tuesday, February 05, 2013 9:53 PM
To: Dmytriyenko, Denys
Cc: [email protected]; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH 2/4] nativesdk-qt4-tools: Use new native x11 package name.

Quoted 1 line · Denys

Didn't I push this already? I remember fixing this particular one few days

ago...

Ok, sorry, I didn't notice you were changing it back...

I did change it from libx11-nativesdk to nativesdk-libx11, because that's how BBCLASSEXTEND=nativesdk calls its packages now. Why are you changing it back?

--
Denys

Quoted 6 lines

-----Original Message-----
From: [email protected] [[email protected]]
Received: Tuesday, 05 Feb 2013, 20:28
To: [email protected] [[email protected]]
CC: Cooper Jr., Franklin [[email protected]]
Subject: [meta-arago] [PATCH 2/4] nativesdk-qt4-tools: Use new native x11

package name.

Quoted 7 lines

From: Franklin S. Cooper Jr <[email protected]>

* Nativesdk-libx11 has now been renamed to libx11-nativesdk.
* This ensure the x11 package is filtered out which prevents parsing/build errors due to x11 not being a distro feature.

Review

Quoted 6 lines
---
 .../qt4/nativesdk-qt4-tools_4.8.3.bbappend         |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

tools_4.8.3.bbappend b/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4- tools_4.8.3.bbappend

Quoted 21 lines

index 6296fbe..312571e 100644

meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.3.bbappend +2 -3
@@ -1,7 +1,7 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
 
-DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
+DEPENDS := "${@oe_filter_out('libx11-nativesdk', '${DEPENDS}', d)}"
--

1.7.0.4

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

Quoted 4 lines

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

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

PATCH 3/4 packagegroup-arago-qte-toolchain-target: Use packagegroup instead of task

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* Use the new name for task-arago-standalone-sdk-target since it has been renamed to packagegroup-arago-standalone-sdk-target.

---
 .../packagegroup-arago-qte-toolchain-target.bb     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-qte-toolchain-target.bb +2 -2
index d0f9688..6603652 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Target packages for Qt Embedded SDK"
 LICENSE = "MIT"
 ALLOW_EMPTY = "1"
 
-PR = "r4"
+PR = "r5"
 
 inherit packagegroup
 
@@ -16,7 +16,7 @@ QT_SGX_SUPPORT = "\
 "
 
 RDEPENDS_${PN} += " \
-        task-arago-standalone-sdk-target \
+        packagegroup-arago-standalone-sdk-target \
         qt4-embedded-mkspecs \
         libqt-embeddedmultimedia4-dev \
         libqt-embeddedphonon4-dev \
Signature · 1 line
1.7.0.4
#7 lore raw

PATCH 4/4 php_5.3.19: Do not build php-fpm

In reply to [email protected]

From: Franklin S. Cooper Jr <[email protected]>

* In meta-oe php-fpm is being built which prevents php-cgi from being built.
* This issue is talked about here: https://bugs.php.net/bug.php?id=60144
* Php-cgi is used by Matrix v2
* Simply removing enable-fpm from EXTRA_OECONF doesn't work because do_install requires certain files to be there which is only generated if fpm support is enabled.
* Add a workaround to address this issue.
* The goal is to resolve this issue in meta-oe which means the changes in this patch can eventually be removed.

---
 .../recipes-devtools/php/php_5.3.19.bbappend       |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend +18 -1
index 4c3fd39..fb1c25d 100644
@@ -1,6 +1,23 @@
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
 
 SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"
+
+
+# Work around to address the fact that php-fpm and php-cgi can not coexist
+# php-cgi is used by Matrix and php-fpm is in beta for this version of php.
+# Once this issue is fix in meta-oe the below won't be needed.
+# Issue mentioned here: https://bugs.php.net/bug.php?id=60144
+
+EXTRA_OECONF := "${@oe_filter_out('--enable-fpm', '${EXTRA_OECONF}', d)}"
+
+PACKAGES := "${@oe_filter_out('${PN}-fpm', '${PACKAGES}', d)}"
+PACKAGES := "${@oe_filter_out('${PN}-fpm-apache2', '${PACKAGES}', d)}"
+
+do_install_prepend_pn-php() {
+    # Add the below file even though we aren't going to use it.
+    # do_install will complain and fail if this file isn't found.
+    touch ${S}/sapi/fpm/init.d.php-fpm
+}
Signature · 1 line
1.7.0.4
#8 lore raw
In reply to [email protected]

Yeah, just had to do this earlier locally when fixing devkit... I'll push bunch of patches soon to address those issues, but I'm still working on finalizing that...

Denys

-----Original Message-----
From: [email protected] [[email protected]]
Received: Tuesday, 05 Feb 2013, 20:28
To: [email protected] [[email protected]]
CC: Cooper Jr., Franklin [[email protected]]
Subject: [meta-arago] [PATCH 1/4] php: Rename bbappend to match recipe in meta-oe

From: Franklin S. Cooper Jr <[email protected]>

---
 .../recipes-devtools/php/php_5.3.19.bbappend       |    6 ++++++
 .../recipes-devtools/php/php_5.3.6.bbappend        |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)
 create mode 100644 meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend
 delete mode 100644 meta-arago-distro/recipes-devtools/php/php_5.3.6.bbappend
meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend new file +6 -0
new file mode 100644
index 0000000..4c3fd39
@@ -0,0 +1,6 @@
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR_append = "-arago0"
+
+SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"
meta-arago-distro/recipes-devtools/php/php_5.3.6.bbappend deleted +0 -6
deleted file mode 100644
index 4c3fd39..0000000
@@ -1,6 +0,0 @@
-# look for files in this layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-PR_append = "-arago0"
-
-SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"

--
1.7.0.4

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

#9 lore raw
In reply to [email protected]

And by the way, for rename patches, can you please use -M option for git format-patch in the future? Thanks.

Denys

-----Original Message-----
From: [email protected] [[email protected]]
Received: Tuesday, 05 Feb 2013, 20:28
To: [email protected] [[email protected]]
CC: Cooper Jr., Franklin [[email protected]]
Subject: [meta-arago] [PATCH 1/4] php: Rename bbappend to match recipe in meta-oe

From: Franklin S. Cooper Jr <[email protected]>

---
 .../recipes-devtools/php/php_5.3.19.bbappend       |    6 ++++++
 .../recipes-devtools/php/php_5.3.6.bbappend        |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)
 create mode 100644 meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend
 delete mode 100644 meta-arago-distro/recipes-devtools/php/php_5.3.6.bbappend
meta-arago-distro/recipes-devtools/php/php_5.3.19.bbappend new file +6 -0
new file mode 100644
index 0000000..4c3fd39
@@ -0,0 +1,6 @@
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR_append = "-arago0"
+
+SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"
meta-arago-distro/recipes-devtools/php/php_5.3.6.bbappend deleted +0 -6
deleted file mode 100644
index 4c3fd39..0000000
@@ -1,6 +0,0 @@
-# look for files in this layer first
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
-PR_append = "-arago0"
-
-SRC_URI_append_virtclass-native = " file://0001-php-native-Fix-host-contamination-issue.patch"

--
1.7.0.4

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