Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-kde] enable kdelib4-native to build makekdewidgets.
@ 2012-04-16  2:20 Kang Kai
  2012-04-16  2:20 ` [PATCH 1/3] qt4-native: enable features to build kdelib4-native Kang Kai
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Kang Kai @ 2012-04-16  2:20 UTC (permalink / raw)
  To: openembedded-devel

Hi All,

The original kdelibs4-native recipe is from Samuel Stirtzel, and I update qt4
to enable kdelib4-native to build makekdewidgets.

Regards,
Kai




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/3] qt4-native: enable features to build kdelib4-native
  2012-04-16  2:20 [meta-kde] enable kdelib4-native to build makekdewidgets Kang Kai
@ 2012-04-16  2:20 ` Kang Kai
  2012-04-16 10:50   ` Samuel Stirtzel
  2012-04-16  2:20 ` [PATCH 2/3] kdelibs4-native: re-add the original recipe Kang Kai
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Kang Kai @ 2012-04-16  2:20 UTC (permalink / raw)
  To: openembedded-devel

add a bbappend file to enable qt4-native 4.7.4 to enable openssl and
phonon support. Add flags '-no-pch -no-sm' to make qt4-native itself
compiled successfully.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 recipes-misc-support/qt4-native_4.7.4.bbappend |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
 create mode 100644 recipes-misc-support/qt4-native_4.7.4.bbappend

diff --git a/recipes-misc-support/qt4-native_4.7.4.bbappend b/recipes-misc-support/qt4-native_4.7.4.bbappend
new file mode 100644
index 0000000..a11a23f
--- /dev/null
+++ b/recipes-misc-support/qt4-native_4.7.4.bbappend
@@ -0,0 +1,4 @@
+# Needed by kdelibs4-native
+EXTRA_OECONF += "-no-pch -no-sm -openssl"
+
+TOBUILD += "src/phonon"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] kdelibs4-native: re-add the original recipe
  2012-04-16  2:20 [meta-kde] enable kdelib4-native to build makekdewidgets Kang Kai
  2012-04-16  2:20 ` [PATCH 1/3] qt4-native: enable features to build kdelib4-native Kang Kai
@ 2012-04-16  2:20 ` Kang Kai
  2012-04-16  2:20 ` [PATCH 3/3] kdelib4-native: build makekdewidgets Kang Kai
  2012-04-16  4:43 ` [meta-kde] enable kdelib4-native to " Kang Kai
  3 siblings, 0 replies; 9+ messages in thread
From: Kang Kai @ 2012-04-16  2:20 UTC (permalink / raw)
  To: openembedded-devel

The kdelibs4-native recipe is from Samuel Stirtzel and the recipe
has been deleted by commit: 586dcf21f376d50cbf9fc52bc769824ec92d73af

Because Samuel doesn't fill in the SRCREV, I add it with same commit
in kdelibs4.

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 recipes-kde-base/kdelibs4-native_git.bb |   49 +++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 recipes-kde-base/kdelibs4-native_git.bb

diff --git a/recipes-kde-base/kdelibs4-native_git.bb b/recipes-kde-base/kdelibs4-native_git.bb
new file mode 100644
index 0000000..decba41
--- /dev/null
+++ b/recipes-kde-base/kdelibs4-native_git.bb
@@ -0,0 +1,49 @@
+LICENSE = "GPLv2"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
+
+DEPENDS = "automoc4-native giflib-native attica-native perl-native"
+#strigi-native
+#soprano-native
+# jpeg-native libpng-native
+
+
+inherit kde_cmake kde_without_docs mime native perlnative
+
+
+SRC_URI = "git://anongit.kde.org/kdelibs.git;branch=v4.8.0 \
+	  file://0001-Don-t-build-documentation-disable-Strigi.patch \
+	  file://0002-Fix-openssl-check.patch \
+	  file://0005-Remove-docs-so-they-don-t-get-pulled-in-elsewhere.patch \
+	  "
+
+SRCREV = "1439483a67135f483632f4c4cd239e96d2ed61fc"
+PV = "4.8.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+# kdelibs *must* be built out of tree
+OECMAKE_SOURCEPATH = ".."
+OECMAKE_BUILDPATH = "build"
+
+
+EXTRA_OECMAKE =+ "\
+		  -DAUTOMOC4_EXECUTABLE=${STAGING_BINDIR_NATIVE}/automoc4 \
+		  -DKJS_FORCE_DISABLE_PCRE=TRUE \
+		  -DSTRIGI_REQUIRED=FALSE \
+		  -DSTRIGI_INCLUDE_DIR=TRUE \
+		 "
+
+do_compile() {
+  cd ${S}/build && make -C kdecore/kconfig_compiler
+  cd ${S}/build && make -C kjs icemaker
+#  cd ${S}/build && oe_runmake CC="${CC}" CXX="${CXX}"
+}
+
+do_install() {
+  install -d ${D}${bindir}
+
+  install -m 0755 ${S}/build/bin/icemaker ${D}${bindir}
+  install -m 0755 ${S}/build/bin/kconfig_compiler ${D}${bindir}
+#  install -m 0755 ${S}/build/bin/makekdewidgets ${D}${bindir}
+}
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/3] kdelib4-native: build makekdewidgets
  2012-04-16  2:20 [meta-kde] enable kdelib4-native to build makekdewidgets Kang Kai
  2012-04-16  2:20 ` [PATCH 1/3] qt4-native: enable features to build kdelib4-native Kang Kai
  2012-04-16  2:20 ` [PATCH 2/3] kdelibs4-native: re-add the original recipe Kang Kai
@ 2012-04-16  2:20 ` Kang Kai
  2012-04-16 10:49   ` Samuel Stirtzel
  2012-04-16  4:43 ` [meta-kde] enable kdelib4-native to " Kang Kai
  3 siblings, 1 reply; 9+ messages in thread
From: Kang Kai @ 2012-04-16  2:20 UTC (permalink / raw)
  To: openembedded-devel

qt4-native has been updated and open phonon and openssl support,
makekdewidgets could be successfully build. So build it.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 recipes-kde-base/kdelibs4-native_git.bb |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/recipes-kde-base/kdelibs4-native_git.bb b/recipes-kde-base/kdelibs4-native_git.bb
index decba41..36241fa 100644
--- a/recipes-kde-base/kdelibs4-native_git.bb
+++ b/recipes-kde-base/kdelibs4-native_git.bb
@@ -2,18 +2,15 @@ LICENSE = "GPLv2"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
 
-DEPENDS = "automoc4-native giflib-native attica-native perl-native"
-#strigi-native
-#soprano-native
-# jpeg-native libpng-native
-
+DEPENDS = "automoc4-native giflib-native attica-native perl-native libdbusmenu-qt-native"
 
 inherit kde_cmake kde_without_docs mime native perlnative
 
-
 SRC_URI = "git://anongit.kde.org/kdelibs.git;branch=v4.8.0 \
 	  file://0001-Don-t-build-documentation-disable-Strigi.patch \
 	  file://0002-Fix-openssl-check.patch \
+	  file://0003-Fix-FindKDE4Internals-cmake-file.patch \
+	  file://0004-Fix-the-path-to-Icemaker.patch \
 	  file://0005-Remove-docs-so-they-don-t-get-pulled-in-elsewhere.patch \
 	  "
 
@@ -32,12 +29,13 @@ EXTRA_OECMAKE =+ "\
 		  -DKJS_FORCE_DISABLE_PCRE=TRUE \
 		  -DSTRIGI_REQUIRED=FALSE \
 		  -DSTRIGI_INCLUDE_DIR=TRUE \
+		  -DOE_CROSSCOMPILING=FALSE \
 		 "
 
 do_compile() {
   cd ${S}/build && make -C kdecore/kconfig_compiler
   cd ${S}/build && make -C kjs icemaker
-#  cd ${S}/build && oe_runmake CC="${CC}" CXX="${CXX}"
+  cd ${S}/build && make -C kdewidgets makekdewidgets
 }
 
 do_install() {
@@ -45,5 +43,5 @@ do_install() {
 
   install -m 0755 ${S}/build/bin/icemaker ${D}${bindir}
   install -m 0755 ${S}/build/bin/kconfig_compiler ${D}${bindir}
-#  install -m 0755 ${S}/build/bin/makekdewidgets ${D}${bindir}
+  install -m 0755 ${S}/build/bin/makekdewidgets ${D}${bindir}
 }
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [meta-kde] enable kdelib4-native to build makekdewidgets.
  2012-04-16  2:20 [meta-kde] enable kdelib4-native to build makekdewidgets Kang Kai
                   ` (2 preceding siblings ...)
  2012-04-16  2:20 ` [PATCH 3/3] kdelib4-native: build makekdewidgets Kang Kai
@ 2012-04-16  4:43 ` Kang Kai
  2012-04-16  6:43   ` Samuel Stirtzel
  3 siblings, 1 reply; 9+ messages in thread
From: Kang Kai @ 2012-04-16  4:43 UTC (permalink / raw)
  To: openembedded-devel

On 2012年04月16日 10:20, Kang Kai wrote:
> Hi All,
>
> The original kdelibs4-native recipe is from Samuel Stirtzel, and I update qt4
> to enable kdelib4-native to build makekdewidgets.
>
> Regards,
> Kai
>
Hi Samuel,

I had put you email as a argument for 'git send-email', but I don't know 
why it didn't effect.
Cc to you.

Thanks,
Kai
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-kde] enable kdelib4-native to build makekdewidgets.
  2012-04-16  4:43 ` [meta-kde] enable kdelib4-native to " Kang Kai
@ 2012-04-16  6:43   ` Samuel Stirtzel
  0 siblings, 0 replies; 9+ messages in thread
From: Samuel Stirtzel @ 2012-04-16  6:43 UTC (permalink / raw)
  To: Kang Kai; +Cc: openembedded-devel

2012/4/16 Kang Kai <Kai.Kang@windriver.com>:
> On 2012年04月16日 10:20, Kang Kai wrote:
>>
>> Hi All,
>>
>> The original kdelibs4-native recipe is from Samuel Stirtzel, and I update
>> qt4
>> to enable kdelib4-native to build makekdewidgets.
>>
>> Regards,
>> Kai
>>
> Hi Samuel,
>
> I had put you email as a argument for 'git send-email', but I don't know why
> it didn't effect.
> Cc to you.
>
> Thanks,
> Kai

Hi Kai,

thank you for your patches.
I will test them and adjust the settings of the layer accordingly.

With these patches it will be easier to build KDE, great work.


-- 
Regards
Samuel



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 3/3] kdelib4-native: build makekdewidgets
  2012-04-16  2:20 ` [PATCH 3/3] kdelib4-native: build makekdewidgets Kang Kai
@ 2012-04-16 10:49   ` Samuel Stirtzel
  0 siblings, 0 replies; 9+ messages in thread
From: Samuel Stirtzel @ 2012-04-16 10:49 UTC (permalink / raw)
  To: Kang Kai; +Cc: openembedded-devel

2012/4/16 Kang Kai <kai.kang@windriver.com>:
> qt4-native has been updated and open phonon and openssl support,
> makekdewidgets could be successfully build. So build it.
>
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  recipes-kde-base/kdelibs4-native_git.bb |   14 ++++++--------
>  1 files changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/recipes-kde-base/kdelibs4-native_git.bb b/recipes-kde-base/kdelibs4-native_git.bb
> index decba41..36241fa 100644
> --- a/recipes-kde-base/kdelibs4-native_git.bb
> +++ b/recipes-kde-base/kdelibs4-native_git.bb
> @@ -2,18 +2,15 @@ LICENSE = "GPLv2"
>
>  LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
>
> -DEPENDS = "automoc4-native giflib-native attica-native perl-native"
> -#strigi-native
> -#soprano-native
> -# jpeg-native libpng-native
> -
> +DEPENDS = "automoc4-native giflib-native attica-native perl-native libdbusmenu-qt-native"
>
>  inherit kde_cmake kde_without_docs mime native perlnative
>
> -
>  SRC_URI = "git://anongit.kde.org/kdelibs.git;branch=v4.8.0 \
>          file://0001-Don-t-build-documentation-disable-Strigi.patch \
>          file://0002-Fix-openssl-check.patch \
> +         file://0003-Fix-FindKDE4Internals-cmake-file.patch \
> +         file://0004-Fix-the-path-to-Icemaker.patch \
>          file://0005-Remove-docs-so-they-don-t-get-pulled-in-elsewhere.patch \
>          "
>
> @@ -32,12 +29,13 @@ EXTRA_OECMAKE =+ "\
>                  -DKJS_FORCE_DISABLE_PCRE=TRUE \
>                  -DSTRIGI_REQUIRED=FALSE \
>                  -DSTRIGI_INCLUDE_DIR=TRUE \
> +                 -DOE_CROSSCOMPILING=FALSE \
>                 "
>
>  do_compile() {
>   cd ${S}/build && make -C kdecore/kconfig_compiler
>   cd ${S}/build && make -C kjs icemaker
> -#  cd ${S}/build && oe_runmake CC="${CC}" CXX="${CXX}"
> +  cd ${S}/build && make -C kdewidgets makekdewidgets
>  }
>
>  do_install() {
> @@ -45,5 +43,5 @@ do_install() {
>
>   install -m 0755 ${S}/build/bin/icemaker ${D}${bindir}
>   install -m 0755 ${S}/build/bin/kconfig_compiler ${D}${bindir}
> -#  install -m 0755 ${S}/build/bin/makekdewidgets ${D}${bindir}
> +  install -m 0755 ${S}/build/bin/makekdewidgets ${D}${bindir}
>  }
> --
> 1.7.5.4
>

Hi Kai,
looks good.

I applied this patch together with the adjustment of kdelibs4 and
kde_cmake.bbclass.

-- 
Regards
Samuel



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] qt4-native: enable features to build kdelib4-native
  2012-04-16  2:20 ` [PATCH 1/3] qt4-native: enable features to build kdelib4-native Kang Kai
@ 2012-04-16 10:50   ` Samuel Stirtzel
  2012-04-19  1:48     ` Kang Kai
  0 siblings, 1 reply; 9+ messages in thread
From: Samuel Stirtzel @ 2012-04-16 10:50 UTC (permalink / raw)
  To: Kang Kai; +Cc: openembedded-devel

2012/4/16 Kang Kai <kai.kang@windriver.com>:
> add a bbappend file to enable qt4-native 4.7.4 to enable openssl and
> phonon support. Add flags '-no-pch -no-sm' to make qt4-native itself
> compiled successfully.
>
> Signed-off-by: Kang Kai <kai.kang@windriver.com>
> ---
>  recipes-misc-support/qt4-native_4.7.4.bbappend |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>  create mode 100644 recipes-misc-support/qt4-native_4.7.4.bbappend
>
> diff --git a/recipes-misc-support/qt4-native_4.7.4.bbappend b/recipes-misc-support/qt4-native_4.7.4.bbappend
> new file mode 100644
> index 0000000..a11a23f
> --- /dev/null
> +++ b/recipes-misc-support/qt4-native_4.7.4.bbappend
> @@ -0,0 +1,4 @@
> +# Needed by kdelibs4-native
> +EXTRA_OECONF += "-no-pch -no-sm -openssl"
> +
> +TOBUILD += "src/phonon"
> --
> 1.7.5.4
>

Hi,
this patch works although it is recommended to use Qt 4.8.0 for KDE 4.8.0.
I renamed the patch to let it append to qt4-native_4.8.0.bb.


-- 
Regards
Samuel



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/3] qt4-native: enable features to build kdelib4-native
  2012-04-16 10:50   ` Samuel Stirtzel
@ 2012-04-19  1:48     ` Kang Kai
  0 siblings, 0 replies; 9+ messages in thread
From: Kang Kai @ 2012-04-19  1:48 UTC (permalink / raw)
  To: Samuel Stirtzel; +Cc: openembedded-devel

On 2012年04月16日 18:50, Samuel Stirtzel wrote:
> 2012/4/16 Kang Kai<kai.kang@windriver.com>:
>> add a bbappend file to enable qt4-native 4.7.4 to enable openssl and
>> phonon support. Add flags '-no-pch -no-sm' to make qt4-native itself
>> compiled successfully.
>>
>> Signed-off-by: Kang Kai<kai.kang@windriver.com>
>> ---
>>   recipes-misc-support/qt4-native_4.7.4.bbappend |    4 ++++
>>   1 files changed, 4 insertions(+), 0 deletions(-)
>>   create mode 100644 recipes-misc-support/qt4-native_4.7.4.bbappend
>>
>> diff --git a/recipes-misc-support/qt4-native_4.7.4.bbappend b/recipes-misc-support/qt4-native_4.7.4.bbappend
>> new file mode 100644
>> index 0000000..a11a23f
>> --- /dev/null
>> +++ b/recipes-misc-support/qt4-native_4.7.4.bbappend
>> @@ -0,0 +1,4 @@
>> +# Needed by kdelibs4-native
>> +EXTRA_OECONF += "-no-pch -no-sm -openssl"
>> +
>> +TOBUILD += "src/phonon"
>> --
>> 1.7.5.4
>>
> Hi,
> this patch works although it is recommended to use Qt 4.8.0 for KDE 4.8.0.
> I renamed the patch to let it append to qt4-native_4.8.0.bb.
>
>
Hi Samuel,

Thanks for your guide.

Kai



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-19  1:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16  2:20 [meta-kde] enable kdelib4-native to build makekdewidgets Kang Kai
2012-04-16  2:20 ` [PATCH 1/3] qt4-native: enable features to build kdelib4-native Kang Kai
2012-04-16 10:50   ` Samuel Stirtzel
2012-04-19  1:48     ` Kang Kai
2012-04-16  2:20 ` [PATCH 2/3] kdelibs4-native: re-add the original recipe Kang Kai
2012-04-16  2:20 ` [PATCH 3/3] kdelib4-native: build makekdewidgets Kang Kai
2012-04-16 10:49   ` Samuel Stirtzel
2012-04-16  4:43 ` [meta-kde] enable kdelib4-native to " Kang Kai
2012-04-16  6:43   ` Samuel Stirtzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox