All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript
@ 2019-02-23  4:24 Hoang Anh Tuan
  2019-02-23  4:24 ` [meta-oe][PATCH 2/2] gtkwave: add version 3.3.98 Hoang Anh Tuan
  0 siblings, 1 reply; 7+ messages in thread
From: Hoang Anh Tuan @ 2019-02-23  4:24 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
---
 meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
index 9eec4bba7..459ae8253 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
@@ -50,6 +50,11 @@ do_install_append() {
     ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
     oe_libinstall -so libtk${VER} ${D}${libdir}
     ln -sf wish${VER} ${D}${bindir}/wish
+
+    sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
+    sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
+    install -d ${D}${bindir_crossscripts}
+    install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
 }
 
 PACKAGECONFIG ??= "xft"
@@ -69,3 +74,23 @@ BBCLASSEXTEND = "native nativesdk"
 
 # Fix the path in sstate
 SSTATE_SCAN_FILES += "*Config.sh"
+
+inherit binconfig
+
+SYSROOT_DIRS += "${bindir_crossscripts}"
+
+# Fix some paths that might be used by Tcl extensions
+BINCONFIG_GLOB = "*Config.sh"
+
+# Cleanup host path from ${libdir}/tclConfig.sh and remove the
+# ${bindir_crossscripts}/tclConfig.sh from target
+PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
+tcl_package_preprocess() {
+        sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
+               -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
+               -e "s;${STAGING_INCDIR};${includedir};g" \
+               -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
+               ${PKGD}${libdir}/tkConfig.sh
+
+        rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
+}
-- 
2.17.1



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

* [meta-oe][PATCH 2/2] gtkwave: add version 3.3.98
  2019-02-23  4:24 [meta-oe][PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript Hoang Anh Tuan
@ 2019-02-23  4:24 ` Hoang Anh Tuan
  0 siblings, 0 replies; 7+ messages in thread
From: Hoang Anh Tuan @ 2019-02-23  4:24 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
---
 .../gtkwave/gtkwave_3.3.98.bb                 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.98.bb

diff --git a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.98.bb b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.98.bb
new file mode 100644
index 000000000..60df6f773
--- /dev/null
+++ b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.98.bb
@@ -0,0 +1,19 @@
+SUMMARY = "VCD (Value Change Dump) file waveform viewer"
+DESCRIPTION = "gtkwave is a viewer for VCD (Value Change Dump) files which are usually created by digital circuit simulators. (These files have no connection to video CDs!) "
+HOMEPAGE = "http://gtkwave.sourceforge.net/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
+
+SRC_URI = "http://gtkwave.sourceforge.net/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "eac3073ef381e0c09da33590296ca37f"
+SRC_URI[sha256sum] = "efa6bbbeb3bd54104425a69a2aa0d079bb5c3ecc1c420ba57dcaa1c97c5a22f6"
+
+inherit pkgconfig autotools gettext texinfo
+DEPENDS = "tcl tk gperf-native bzip2 xz pango zlib gtk+ gdk-pixbuf glib-2.0"
+RDEPENDS_${PN} = "tk-lib"
+
+EXTRA_OECONF = "--with-tcl=${STAGING_BINDIR_CROSS} --with-tk=${STAGING_BINDIR_CROSS}"
+
+FILES_${PN} = "${bindir} ${datadir}"
-- 
2.17.1



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

* Re: [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript
  2019-02-22  9:35   ` Hoang Anh Tuan
@ 2019-02-22 17:17     ` Khem Raj
  0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2019-02-22 17:17 UTC (permalink / raw)
  To: Hoang Anh Tuan; +Cc: openembeded-devel

I use patchwork to fetch patches can you try it from patchwork ? wget
the following and then do git am

https://patchwork.openembedded.org/patch/158998/mbox/
https://patchwork.openembedded.org/patch/158999/mbox/

On Fri, Feb 22, 2019 at 1:35 AM Hoang Anh Tuan <tuanha@viosoft.com> wrote:
>
> I tried to apply on master or master-next and it worked. What do I have
> to do now?
>
> On 22/02/2019 11:25, Khem Raj wrote:
> > Does not apply. Please rebase it on top of master or master-next and resend.
> >
> > On Thu, Feb 21, 2019 at 6:11 PM Hoang Anh Tuan <tuanha@viosoft.com> wrote:
> >>
> >> Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
> >> ---
> >>    meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 25 +++++++++++++++++++++++++
> >>    1 file changed, 25 insertions(+)
> >>
> >> diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> >> b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> >> index 9eec4bb..459ae82 100644
> >> --- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> >> +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> >> @@ -50,6 +50,11 @@ do_install_append() {
> >>        ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
> >>        oe_libinstall -so libtk${VER} ${D}${libdir}
> >>        ln -sf wish${VER} ${D}${bindir}/wish
> >> +
> >> +    sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
> >> +    sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
> >> +    install -d ${D}${bindir_crossscripts}
> >> +    install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
> >>    }
> >>
> >>    PACKAGECONFIG ??= "xft"
> >> @@ -69,3 +74,23 @@ BBCLASSEXTEND = "native nativesdk"
> >>
> >>    # Fix the path in sstate
> >>    SSTATE_SCAN_FILES += "*Config.sh"
> >> +
> >> +inherit binconfig
> >> +
> >> +SYSROOT_DIRS += "${bindir_crossscripts}"
> >> +
> >> +# Fix some paths that might be used by Tcl extensions
> >> +BINCONFIG_GLOB = "*Config.sh"
> >> +
> >> +# Cleanup host path from ${libdir}/tclConfig.sh and remove the
> >> +# ${bindir_crossscripts}/tclConfig.sh from target
> >> +PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
> >> +tcl_package_preprocess() {
> >> +        sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
> >> +               -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
> >> +               -e "s;${STAGING_INCDIR};${includedir};g" \
> >> +               -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
> >> +               ${PKGD}${libdir}/tkConfig.sh
> >> +
> >> +        rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
> >> +}
> >> --
> >> 2.7.4
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript
  2019-02-22  4:25 ` Khem Raj
@ 2019-02-22  9:35   ` Hoang Anh Tuan
  2019-02-22 17:17     ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Hoang Anh Tuan @ 2019-02-22  9:35 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

I tried to apply on master or master-next and it worked. What do I have 
to do now?

On 22/02/2019 11:25, Khem Raj wrote:
> Does not apply. Please rebase it on top of master or master-next and resend.
>
> On Thu, Feb 21, 2019 at 6:11 PM Hoang Anh Tuan <tuanha@viosoft.com> wrote:
>>
>> Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
>> ---
>>    meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 25 +++++++++++++++++++++++++
>>    1 file changed, 25 insertions(+)
>>
>> diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
>> b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
>> index 9eec4bb..459ae82 100644
>> --- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
>> +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
>> @@ -50,6 +50,11 @@ do_install_append() {
>>        ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
>>        oe_libinstall -so libtk${VER} ${D}${libdir}
>>        ln -sf wish${VER} ${D}${bindir}/wish
>> +
>> +    sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
>> +    sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
>> +    install -d ${D}${bindir_crossscripts}
>> +    install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
>>    }
>>
>>    PACKAGECONFIG ??= "xft"
>> @@ -69,3 +74,23 @@ BBCLASSEXTEND = "native nativesdk"
>>
>>    # Fix the path in sstate
>>    SSTATE_SCAN_FILES += "*Config.sh"
>> +
>> +inherit binconfig
>> +
>> +SYSROOT_DIRS += "${bindir_crossscripts}"
>> +
>> +# Fix some paths that might be used by Tcl extensions
>> +BINCONFIG_GLOB = "*Config.sh"
>> +
>> +# Cleanup host path from ${libdir}/tclConfig.sh and remove the
>> +# ${bindir_crossscripts}/tclConfig.sh from target
>> +PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
>> +tcl_package_preprocess() {
>> +        sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
>> +               -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
>> +               -e "s;${STAGING_INCDIR};${includedir};g" \
>> +               -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
>> +               ${PKGD}${libdir}/tkConfig.sh
>> +
>> +        rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
>> +}
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript
  2019-02-22  2:10 [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript Hoang Anh Tuan
@ 2019-02-22  4:25 ` Khem Raj
  2019-02-22  9:35   ` Hoang Anh Tuan
  0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2019-02-22  4:25 UTC (permalink / raw)
  To: Hoang Anh Tuan; +Cc: openembeded-devel

Does not apply. Please rebase it on top of master or master-next and resend.

On Thu, Feb 21, 2019 at 6:11 PM Hoang Anh Tuan <tuanha@viosoft.com> wrote:
>
>
> Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
> ---
>   meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 25 +++++++++++++++++++++++++
>   1 file changed, 25 insertions(+)
>
> diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> index 9eec4bb..459ae82 100644
> --- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
> @@ -50,6 +50,11 @@ do_install_append() {
>       ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
>       oe_libinstall -so libtk${VER} ${D}${libdir}
>       ln -sf wish${VER} ${D}${bindir}/wish
> +
> +    sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
> +    sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
> +    install -d ${D}${bindir_crossscripts}
> +    install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
>   }
>
>   PACKAGECONFIG ??= "xft"
> @@ -69,3 +74,23 @@ BBCLASSEXTEND = "native nativesdk"
>
>   # Fix the path in sstate
>   SSTATE_SCAN_FILES += "*Config.sh"
> +
> +inherit binconfig
> +
> +SYSROOT_DIRS += "${bindir_crossscripts}"
> +
> +# Fix some paths that might be used by Tcl extensions
> +BINCONFIG_GLOB = "*Config.sh"
> +
> +# Cleanup host path from ${libdir}/tclConfig.sh and remove the
> +# ${bindir_crossscripts}/tclConfig.sh from target
> +PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
> +tcl_package_preprocess() {
> +        sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
> +               -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
> +               -e "s;${STAGING_INCDIR};${includedir};g" \
> +               -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
> +               ${PKGD}${libdir}/tkConfig.sh
> +
> +        rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
> +}
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript
@ 2019-02-22  2:10 Hoang Anh Tuan
  2019-02-22  4:25 ` Khem Raj
  0 siblings, 1 reply; 7+ messages in thread
From: Hoang Anh Tuan @ 2019-02-22  2:10 UTC (permalink / raw)
  To: openembeded-devel


Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
---
  meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 25 +++++++++++++++++++++++++
  1 file changed, 25 insertions(+)

diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb 
b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
index 9eec4bb..459ae82 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
@@ -50,6 +50,11 @@ do_install_append() {
      ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
      oe_libinstall -so libtk${VER} ${D}${libdir}
      ln -sf wish${VER} ${D}${bindir}/wish
+
+    sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
+    sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
+    install -d ${D}${bindir_crossscripts}
+    install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
  }

  PACKAGECONFIG ??= "xft"
@@ -69,3 +74,23 @@ BBCLASSEXTEND = "native nativesdk"

  # Fix the path in sstate
  SSTATE_SCAN_FILES += "*Config.sh"
+
+inherit binconfig
+
+SYSROOT_DIRS += "${bindir_crossscripts}"
+
+# Fix some paths that might be used by Tcl extensions
+BINCONFIG_GLOB = "*Config.sh"
+
+# Cleanup host path from ${libdir}/tclConfig.sh and remove the
+# ${bindir_crossscripts}/tclConfig.sh from target
+PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
+tcl_package_preprocess() {
+        sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
+               -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
+               -e "s;${STAGING_INCDIR};${includedir};g" \
+               -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
+               ${PKGD}${libdir}/tkConfig.sh
+
+        rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
+}
-- 
2.7.4



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

* [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript
@ 2019-02-21  7:32 Hoang Anh Tuan
  0 siblings, 0 replies; 7+ messages in thread
From: Hoang Anh Tuan @ 2019-02-21  7:32 UTC (permalink / raw)
  To: openembedded-core


Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
---
  meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb | 25 +++++++++++++++++++++++++
  1 file changed, 25 insertions(+)

diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb 
b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
index 9eec4bb..459ae82 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
@@ -50,6 +50,11 @@ do_install_append() {
      ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
      oe_libinstall -so libtk${VER} ${D}${libdir}
      ln -sf wish${VER} ${D}${bindir}/wish
+
+    sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
+    sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
+    install -d ${D}${bindir_crossscripts}
+    install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
  }

  PACKAGECONFIG ??= "xft"
@@ -69,3 +74,23 @@ BBCLASSEXTEND = "native nativesdk"

  # Fix the path in sstate
  SSTATE_SCAN_FILES += "*Config.sh"
+
+inherit binconfig
+
+SYSROOT_DIRS += "${bindir_crossscripts}"
+
+# Fix some paths that might be used by Tcl extensions
+BINCONFIG_GLOB = "*Config.sh"
+
+# Cleanup host path from ${libdir}/tclConfig.sh and remove the
+# ${bindir_crossscripts}/tclConfig.sh from target
+PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
+tcl_package_preprocess() {
+        sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
+               -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
+               -e "s;${STAGING_INCDIR};${includedir};g" \
+               -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
+               ${PKGD}${libdir}/tkConfig.sh
+
+        rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
+}
-- 
2.7.4



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

end of thread, other threads:[~2019-02-23  4:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-23  4:24 [meta-oe][PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript Hoang Anh Tuan
2019-02-23  4:24 ` [meta-oe][PATCH 2/2] gtkwave: add version 3.3.98 Hoang Anh Tuan
  -- strict thread matches above, loose matches on Subject: below --
2019-02-22  2:10 [meta-oe] [PATCH 1/2] tk_8.6.9: Add tkConfig.sh in crossscript Hoang Anh Tuan
2019-02-22  4:25 ` Khem Raj
2019-02-22  9:35   ` Hoang Anh Tuan
2019-02-22 17:17     ` Khem Raj
2019-02-21  7:32 Hoang Anh Tuan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.