Re: [yocto] [PATCH][meta-qt4] sip: re-add 4.19

2018-11-30 Thread Philip Balister
On 11/30/2018 12:30 PM, Andreas Müller wrote:
> On Fri, Nov 30, 2018 at 5:28 PM akuster  wrote:
>>
>>
>>
>> On 11/30/18 7:34 AM, Andreas Müller wrote:
>>> * Haven't tested this but it seems unlikely that python-pyqt builds properly
>>>   with '--sip-module PyQt5.sip' in meta-oe's sip
>>
>> Why not fix the version in meta-oe?
>>
>> - armin
> 
> * This version one was considered working form meta-qt4 commit log
> * As far as I can remember later version causes trouble when not
> setting '--sip-module'. That would cause further efforts. I don't use
> meta-qt4 / python-pyqt - just want to avoid/fix breakage and not
> invest in enhancements on a orphaned layer

I suspect sip has very few actual users besides the qt4 and qt5 layers.

There is a bunch of fiddly stuff we need to work through and tying it to
specific qt versions should help.

Philip

> 
> Andreas
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [ANNOUNCEMENT] Yocto Project 2.4.4 (rocko-18.0.4) Released

2018-11-30 Thread Tracy Graydon
Hello,

The latest release of the Yocto Project 2.4.4 (rocko-18.0.4) is now available 
for download at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/poky-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/poky-rocko-18.0.4.tar.bz2

A gpg signed version of these release notes is available at:

http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/RELEASENOTES

Full pass test report is available at:

https://wiki.yoctoproject.org/wiki/WW46_-_2018-11-14_-_Full_Test_Cycle_2.4.4_RC1

Thank you to everyone for your contributions to this release!

Tracy Graydon
Yocto Project Release Engineering
tracy.gray...@intel.com


-
yocto-2.4.4 Errata
--

Release Name: bitbake-rocko-18.0.4
Branch: 1.36.0
Tag: 1.36.0
Hash: 8bd16328a9332c57b03198826e22b48fadcd21d9
md5: 3c4c66e1b5bb80fe45bb1dd80294c064
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/bitbake-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/bitbake-rocko-18.0.4.tar.bz2

Release Name: eclipse-poky-neon-rocko-18.0.4
Branch: neon/rocko
Tag: neon/rocko-18.0.4
Hash: 6d0598b1d567a07bd20c5c99c65a404844a8f8c3
md5: 9624d32667237ced5ede1373b5960911
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/eclipse-poky-neon-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/eclipse-poky-neon-rocko-18.0.4.tar.bz2

Release Name: eclipse-poky-oxygen-rocko-18.0.4
Branch: oxygen/rocko
Tag: oxygen/rocko-18.0.4
Hash: b9eef4c1b3e14cfc0c81c902c3e52d864dfc3a76
md5: ab821e7e34ea9494413367edf738bbe2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/eclipse-poky-oxygen-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/eclipse-poky-oxygen-rocko-18.0.4.tar.bz2

Release Name: meta-gplv2-rocko-18.0.4
Branch: rocko
Tag: rocko-18.0.4
Hash: f875c60ecd6f30793b80a431a2423c4b98e51548
md5: f6629dfd3f44395c84ad3f5321da36a2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/meta-gplv2-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/meta-gplv2-rocko-18.0.4.tar.bz2

Release Name: meta-intel-rocko-18.0.4
Branch: rocko
Tag: rocko-18.0.4
Hash: 4ee8ff5ebe0657bd376d7a79703a21ec070ee779
md5: 1adc2c75cff90201ef119e4a64e70d22
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/meta-intel-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/meta-intel-rocko-18.0.4.tar.bz2

Release Name: meta-mingw-rocko-18.0.4
Branch: rocko
Tag: rocko-18.0.4
Hash: 1cc620b38f6f30a0bdd181783297998fe073387f
md5: 04029fd36a6b5b88c2c75835c2b0996d
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/meta-mingw-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/meta-mingw-rocko-18.0.4.tar.bz2

Release Name: meta-qt3-rocko-18.0.4
Branch: rocko
Tag: rocko-18.0.4
Hash: 8ef7261a331e0869a0461ab2fb44e39980cedc02
md5: aba8006f4be3b2c2fd6afc698e596ef2
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/meta-qt3-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/meta-qt3-rocko-18.0.4.tar.bz2

Release Name: meta-qt4-rocko-18.0.4
Branch: rocko
Tag: rocko-18.0.4
Hash: e290738759ef3f39c9e079eaa9b606a62107e5ba
md5: a247c3e1913932fe91ea45ca26c8d18b
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/meta-qt4-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/meta-qt4-rocko-18.0.4.tar.bz2

Release Name: oecore-rocko-18.0.4
Branch: rocko
Tag: 2018-11
Hash: 8a2c177c7dad5c838b3c6abd3088a2bc3896a6a3
md5: 388851d613eb59d449d3801695c5da45
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/oecore-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/oecore-rocko-18.0.4.tar.bz2

Release Name: poky-rocko-18.0.4
Branch: rocko
Tag: rocko-18.0.4
Hash: 940da2e688cc6ae3cc3d95842033c3e51bd9fe29
md5: 893a9c83293c99830b9ee69d6896b2c9
Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.4/poky-rocko-18.0.4.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-2.4.4/poky-rocko-18.0.4.tar.bz2

---
 Known Issues
---
N/A

---
Fixes
---
build-appliance-image: Update to rocko head revision
poky.conf: Bump version for 2.4.4 rocko release
linux-yoct-rt/4.4: update to 4.4.162
linux-yocto-tiny/4.4: update to 4.4.162
linux-yocto/4.4: update to 4.4.162
linux-yocto/4.12: update to v4.12.28
linux-yocto/4.12: update to v4.12.26
linux-yocto/4.12: bump to v4.12.25
linux-yocto/4.12: gcc8 + platform support
yocto-uninative: Upgrade to verson 2.3 which includes glibc 2.28
os-release: move to nonarch_libdir
os-release: fix to install in the expected location
tzdata: update to 2018f
tzcode: update to 2018f
tzdata: update to 2018e
tzcode-native: updatet to 2018e
tzcode-native: update to 2018d
tzdata: 

Re: [yocto] [PATCH][meta-qt4] sip: re-add 4.19

2018-11-30 Thread Andreas Müller
On Fri, Nov 30, 2018 at 5:28 PM akuster  wrote:
>
>
>
> On 11/30/18 7:34 AM, Andreas Müller wrote:
> > * Haven't tested this but it seems unlikely that python-pyqt builds properly
> >   with '--sip-module PyQt5.sip' in meta-oe's sip
>
> Why not fix the version in meta-oe?
>
> - armin

* This version one was considered working form meta-qt4 commit log
* As far as I can remember later version causes trouble when not
setting '--sip-module'. That would cause further efforts. I don't use
meta-qt4 / python-pyqt - just want to avoid/fix breakage and not
invest in enhancements on a orphaned layer

Andreas
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH][meta-qt4] sip: re-add 4.19

2018-11-30 Thread akuster


On 11/30/18 7:34 AM, Andreas Müller wrote:
> * Haven't tested this but it seems unlikely that python-pyqt builds properly
>   with '--sip-module PyQt5.sip' in meta-oe's sip

Why not fix the version in meta-oe?

- armin
> * I plan to move reworked sip to meta-qt5 and remove meta-oe's version
> * remove FILES_${PN} - not necessary
> * add "STRIP="" for native configure to avoid 'already stripped' warning
> * tested build of python-pyqt
>
> Signed-off-by: Andreas Müller 
> ---
>  recipes-qt4/recipes-python/sip_4.19.bb | 41 
> ++
>  1 file changed, 41 insertions(+)
>  create mode 100644 recipes-qt4/recipes-python/sip_4.19.bb
>
> diff --git a/recipes-qt4/recipes-python/sip_4.19.bb 
> b/recipes-qt4/recipes-python/sip_4.19.bb
> new file mode 100644
> index 000..b43c2d2
> --- /dev/null
> +++ b/recipes-qt4/recipes-python/sip_4.19.bb
> @@ -0,0 +1,41 @@
> +SUMMARY = "SIP is a C++/Python Wrapper Generator"
> +HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip";
> +SECTION = "devel"
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
> +
> +inherit python-dir
> +
> +DEPENDS = "python"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz"
> +SRC_URI[md5sum] = "be51a05065c9323b98a2ec2966c64e6a"
> +SRC_URI[sha256sum] = 
> "014bf55f653e0d8bcc582705ef4fbd61e0859a36e959ab46d8fa060cdf0b5e27"
> +
> +BBCLASSEXTEND = "native"
> +
> +PACKAGES += "python-sip"
> +
> +do_configure_prepend_class-target() {
> +echo "py_platform = linux" > sip.cfg
> +echo "py_inc_dir = 
> %(sysroot)/${includedir}/python%(py_major).%(py_minor)" >> sip.cfg
> +echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
> +echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
> +echo "sip_module_dir = 
> ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
> +echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
> +python configure.py --configuration sip.cfg --sysroot 
> ${STAGING_DIR_HOST} CC="${CC}" CXX="${CXX}" LINK="${CXX}" STRIP="" 
> LINK_SHLIB="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" 
> LFLAGS="${LDFLAGS}"
> +}
> +do_configure_prepend_class-native() {
> +echo "py_platform = linux" > sip.cfg
> +echo "py_inc_dir = ${includedir}/python%(py_major).%(py_minor)" >> 
> sip.cfg
> +echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
> +echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
> +echo "sip_module_dir = 
> ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
> +echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
> +python configure.py --configuration sip.cfg --sysroot 
> ${STAGING_DIR_NATIVE} STRIP=""
> +}
> +do_install() {
> +oe_runmake install
> +}
> +
> +FILES_python-sip = "${libdir}/${PYTHON_DIR}/site-packages/"

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH][meta-qt4] sip: re-add 4.19

2018-11-30 Thread Andreas Müller
* Haven't tested this but it seems unlikely that python-pyqt builds properly
  with '--sip-module PyQt5.sip' in meta-oe's sip
* I plan to move reworked sip to meta-qt5 and remove meta-oe's version
* remove FILES_${PN} - not necessary
* add "STRIP="" for native configure to avoid 'already stripped' warning
* tested build of python-pyqt

Signed-off-by: Andreas Müller 
---
 recipes-qt4/recipes-python/sip_4.19.bb | 41 ++
 1 file changed, 41 insertions(+)
 create mode 100644 recipes-qt4/recipes-python/sip_4.19.bb

diff --git a/recipes-qt4/recipes-python/sip_4.19.bb 
b/recipes-qt4/recipes-python/sip_4.19.bb
new file mode 100644
index 000..b43c2d2
--- /dev/null
+++ b/recipes-qt4/recipes-python/sip_4.19.bb
@@ -0,0 +1,41 @@
+SUMMARY = "SIP is a C++/Python Wrapper Generator"
+HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip";
+SECTION = "devel"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
+
+inherit python-dir
+
+DEPENDS = "python"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz"
+SRC_URI[md5sum] = "be51a05065c9323b98a2ec2966c64e6a"
+SRC_URI[sha256sum] = 
"014bf55f653e0d8bcc582705ef4fbd61e0859a36e959ab46d8fa060cdf0b5e27"
+
+BBCLASSEXTEND = "native"
+
+PACKAGES += "python-sip"
+
+do_configure_prepend_class-target() {
+echo "py_platform = linux" > sip.cfg
+echo "py_inc_dir = %(sysroot)/${includedir}/python%(py_major).%(py_minor)" 
>> sip.cfg
+echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
+echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
+echo "sip_module_dir = 
${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
+echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
+python configure.py --configuration sip.cfg --sysroot ${STAGING_DIR_HOST} 
CC="${CC}" CXX="${CXX}" LINK="${CXX}" STRIP="" LINK_SHLIB="${CXX}" 
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}"
+}
+do_configure_prepend_class-native() {
+echo "py_platform = linux" > sip.cfg
+echo "py_inc_dir = ${includedir}/python%(py_major).%(py_minor)" >> sip.cfg
+echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
+echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
+echo "sip_module_dir = 
${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
+echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
+python configure.py --configuration sip.cfg --sysroot 
${STAGING_DIR_NATIVE} STRIP=""
+}
+do_install() {
+oe_runmake install
+}
+
+FILES_python-sip = "${libdir}/${PYTHON_DIR}/site-packages/"
-- 
2.14.5

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto