* [PATCH 0/4] meta: 4 fixes
@ 2015-01-12 23:35 Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2015-01-12 23:35 UTC (permalink / raw)
To: openembedded-core
The following changes since commit b61a2acc321489c3427f0afa3059486dc144a13b:
bind: Update libxml2 check to make it deterministic. (2015-01-08 09:21:18 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/4fixes
Robert Yang (4):
libical: use BPN in SRC_URI
cups: remove fakeroot from do_install()
man: remove fakeroot from do_install()
portmap: remove obsolete lines
meta/recipes-connectivity/portmap/portmap.inc | 19 +------------------
.../destdir-no-strip.patch | 0
.../{portmap-6.0 => portmap}/tcpd-config.patch | 0
meta/recipes-connectivity/portmap/portmap_6.0.bb | 2 +-
meta/recipes-extended/cups/cups.inc | 2 +-
meta/recipes-extended/man/man_1.6g.bb | 2 +-
meta/recipes-support/libical/libical_1.0.0.bb | 2 +-
7 files changed, 5 insertions(+), 22 deletions(-)
rename meta/recipes-connectivity/portmap/{portmap-6.0 => portmap}/destdir-no-strip.patch (100%)
rename meta/recipes-connectivity/portmap/{portmap-6.0 => portmap}/tcpd-config.patch (100%)
--
1.7.9.5
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/4] meta: 4 fixes
@ 2015-01-19 7:11 Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2015-01-19 7:11 UTC (permalink / raw)
To: openembedded-core
Hello,
I had sent the patch "cpan-base.bbclass: avoid using xxx" before, now
send it again. The other 3 are new.
// Robert
The following changes since commit eaea05c88661a88a89fa6b139f7e6b243155d492:
depmodwrapper-cross: Update to use STAGING_KERNEL_BUILDDIR (2015-01-17 17:05:25 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/4fixes
Robert Yang (4):
cpan-base.bbclass: avoid using immmediate assignment for PERLLIBDIRS
python3: fix for cross compiling
gnutls: fix sed command
perf: fix for rebuilding
meta/classes/cpan-base.bbclass | 4 +-
.../python/python3-native_3.3.3.bb | 2 +
...p.py-check-cross_compiling-when-get-FLAGS.patch | 50 ++++++++++++++++++
.../sysconfig.py-add-_PYTHON_PROJECT_SRC.patch | 54 ++++++++++++++++++++
meta/recipes-devtools/python/python3_3.3.3.bb | 10 ++--
meta/recipes-kernel/perf/perf.bb | 3 ++
.../gnutls/configure.ac-fix-sed-command.patch | 31 +++++++++++
meta/recipes-support/gnutls/gnutls_3.3.11.bb | 1 +
8 files changed, 149 insertions(+), 6 deletions(-)
create mode 100644 meta/recipes-devtools/python/python3/setup.py-check-cross_compiling-when-get-FLAGS.patch
create mode 100644 meta/recipes-devtools/python/python3/sysconfig.py-add-_PYTHON_PROJECT_SRC.patch
create mode 100644 meta/recipes-support/gnutls/gnutls/configure.ac-fix-sed-command.patch
--
1.7.9.5
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/4] meta: 4 fixes
@ 2015-02-18 3:28 Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2015-02-18 3:28 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 2bb8b2abb689d91b7b7e28e6bd528747bde94dd2:
license.bbclass: fix unexpected operator for LICENSE values with space (2015-02-17 22:29:27 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/4fixes
Robert Yang (4):
meta: fix build with gettext 0.16.1
gettext 0.16.1: disable native
btrfs-tools: fix for parallel build
bind: fix paralle issue
.../bind/bind/bind-confgen-build-unix.o-once.patch | 44 ++++++++++++++++++++
meta/recipes-connectivity/bind/bind_9.9.5.bb | 1 +
.../connman/connman-gnome_0.7.bb | 2 +-
meta/recipes-core/gettext/gettext_0.16.1.bb | 4 +-
.../btrfs-tools/btrfs-tools/fix-parallel.patch | 32 ++++++++++++++
.../btrfs-tools/btrfs-tools_git.bb | 5 ++-
.../gtk-engines/gtk-engines_2.20.2.bb | 2 +-
meta/recipes-graphics/xorg-app/xwininfo_1.1.3.bb | 2 +-
.../oprofile/oprofileui-server_git.bb | 2 +-
meta/recipes-kernel/oprofile/oprofileui_git.bb | 2 +-
meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb | 2 +-
meta/recipes-sato/pcmanfm/pcmanfm_1.2.3.bb | 2 +-
meta/recipes-sato/puzzles/oh-puzzles_git.bb | 2 +-
meta/recipes-support/atk/at-spi2-core_2.14.1.bb | 2 +-
meta/recipes-support/libfm/libfm-extra_1.2.3.bb | 2 +-
meta/recipes-support/libfm/libfm_1.2.3.bb | 2 +-
meta/recipes-support/pinentry/pinentry_0.9.0.bb | 2 +
17 files changed, 95 insertions(+), 15 deletions(-)
create mode 100644 meta/recipes-connectivity/bind/bind/bind-confgen-build-unix.o-once.patch
create mode 100644 meta/recipes-devtools/btrfs-tools/btrfs-tools/fix-parallel.patch
--
1.7.9.5
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/4] meta: 4 fixes
@ 2015-03-11 8:35 Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2015-03-11 8:35 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 99f209a49a4390192b95184ff86bd6f973010111:
layer.conf: bump version as error-report interface changed (2015-03-10 17:44:56 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/4fixes
Robert Yang (4):
license.bbclass: set dirs for do_populate_lic_setscene
mailx: disable parallel build
kernelsrc.bbclass: fix KERNEL_VERSION
pixbufcache.bbclass: add harfbuzz-native to PIXBUFCACHE_SYSROOT_DEP
meta/classes/kernelsrc.bbclass | 2 +-
meta/classes/license.bbclass | 2 ++
meta/classes/pixbufcache.bbclass | 7 ++++++-
meta/recipes-extended/mailx/mailx_12.5.bb | 5 +++++
4 files changed, 14 insertions(+), 2 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/4] meta: 4 fixes
@ 2016-02-19 8:48 Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2016-02-19 8:48 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 58b45240739da210ef2fecea931c8b8daa9a4c07:
epiphany: Add libxml2-native to DEPENDS (2016-02-18 22:55:12 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/4fixes
Robert Yang (4):
image.bbclass: fix circular dependency when IMAGE_FSTYPES append
hddimg
recipe_sanity.bbclass: skip DataSmart in recipe_sanity_eh()
terminal.bbclass: import oe.terminal for oe.terminal.prioritized()
staging.bbclass: remove trail slash from SYSROOT_DESTDIR
meta/classes/image-live.bbclass | 11 ++++++++++-
meta/classes/recipe_sanity.bbclass | 5 ++---
meta/classes/staging.bbclass | 2 +-
meta/classes/terminal.bbclass | 6 ++++--
4 files changed, 17 insertions(+), 7 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/4] meta: 4 fixes
@ 2017-04-13 9:57 Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2017-04-13 9:57 UTC (permalink / raw)
To: openembedded-core
The following changes since commit e41c90b852167bbcb434da57b84280e855acae33:
busybox: In defconfig enable ASH_CMDCMD for built-in 'command' (2017-04-12 15:18:42 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/4fixes
Robert Yang (4):
binconfig.bbclass: fix typo in get_binconfig_mangle()
apt: fix libdir path for apt.systemd.daily
autogen: update libopts.m4's patch
grep: do_configure: fix "Argument list too long"
meta/classes/binconfig.bbclass | 2 +-
meta/recipes-devtools/apt/apt-package.inc | 4 +++-
.../0001-config-libopts.m4-regenerate-it-from-config-libopts..patch | 2 +-
meta/recipes-extended/grep/grep_3.0.bb | 3 +++
4 files changed, 8 insertions(+), 3 deletions(-)
--
2.10.2
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/4] meta: 4 fixes
@ 2019-06-20 8:15 Robert Yang
2019-06-20 8:15 ` [PATCH 1/4] linux-dummy: Add do_compile_kernelmodules Robert Yang
` (3 more replies)
0 siblings, 4 replies; 21+ messages in thread
From: Robert Yang @ 2019-06-20 8:15 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 2106a567820bad438ff78d54a49e3d87da428dcf:
python3: python3: Fix build error x86->x86 (2019-06-19 13:15:55 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/4fixes
http://cgit.openembedded.org//log/?h=rbt/4fixes
Robert Yang (4):
linux-dummy: Add do_compile_kernelmodules
make-mod-scripts: Depends on bison-native
update-alternatives.bbclass: run update-alternatives firstly in
postinst script
gtk-icon-cache.bbclass: Depends on gtk+3
meta/classes/gtk-icon-cache.bbclass | 14 ++++++++++----
meta/classes/update-alternatives.bbclass | 7 +++++--
meta/recipes-kernel/linux/linux-dummy.bb | 5 +++++
.../make-mod-scripts/make-mod-scripts_1.0.bb | 2 +-
4 files changed, 21 insertions(+), 7 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 1/4] linux-dummy: Add do_compile_kernelmodules
2019-06-20 8:15 [PATCH 0/4] meta: 4 fixes Robert Yang
@ 2019-06-20 8:15 ` Robert Yang
2019-06-20 8:15 ` [PATCH 2/4] make-mod-scripts: Depends on bison-native Robert Yang
` (2 subsequent siblings)
3 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2019-06-20 8:15 UTC (permalink / raw)
To: openembedded-core
Fixed:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
$ bitbake world
ERROR: Task do_compile in make-mod-scripts_1.0.bb depends upon non-existent task do_compile_kernelmodules in linux-dummy.bb
ERROR: Command execution failed: Exited with 1
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-kernel/linux/linux-dummy.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
index e1c7f76..62cf6f5 100644
--- a/meta/recipes-kernel/linux/linux-dummy.bb
+++ b/meta/recipes-kernel/linux/linux-dummy.bb
@@ -39,6 +39,10 @@ do_compile () {
:
}
+do_compile_kernelmodules() {
+ :
+}
+
do_shared_workdir () {
:
}
@@ -58,3 +62,4 @@ do_deploy() {
addtask bundle_initramfs after do_install before do_deploy
addtask deploy after do_install
addtask shared_workdir after do_compile before do_install
+addtask compile_kernelmodules
--
2.7.4
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 2/4] make-mod-scripts: Depends on bison-native
2019-06-20 8:15 [PATCH 0/4] meta: 4 fixes Robert Yang
2019-06-20 8:15 ` [PATCH 1/4] linux-dummy: Add do_compile_kernelmodules Robert Yang
@ 2019-06-20 8:15 ` Robert Yang
2019-06-20 8:15 ` [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script Robert Yang
2019-06-20 8:15 ` [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3 Robert Yang
3 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2019-06-20 8:15 UTC (permalink / raw)
To: openembedded-core
Fixed do_configure error when use linux-dummy:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
/bin/sh: bison: command not found
Build make-mod-scripts doesn't make sense when use linux-dummy, but it breaks
"bitbake world", so add bison-native to DEPENDS to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
index 97c58c5..460e05a 100644
--- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
+++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
@@ -12,7 +12,7 @@ S = "${WORKDIR}"
do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot"
do_compile[depends] += "virtual/kernel:do_compile_kernelmodules"
-DEPENDS += "bc-native"
+DEPENDS += "bc-native bison-native"
EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}""
--
2.7.4
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script
2019-06-20 8:15 [PATCH 0/4] meta: 4 fixes Robert Yang
2019-06-20 8:15 ` [PATCH 1/4] linux-dummy: Add do_compile_kernelmodules Robert Yang
2019-06-20 8:15 ` [PATCH 2/4] make-mod-scripts: Depends on bison-native Robert Yang
@ 2019-06-20 8:15 ` Robert Yang
2019-06-20 15:33 ` Richard Purdie
2019-06-20 8:15 ` [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3 Robert Yang
3 siblings, 1 reply; 21+ messages in thread
From: Robert Yang @ 2019-06-20 8:15 UTC (permalink / raw)
To: openembedded-core
Recipes like postfix run command newaliases in postinst, but newaliases is
installed newaliases.postfix, and need run update-alternatives to update it to
newaliases, so we would get the error when install postinst on target.
Fixed:
$ opkg install postfix
Configuring postfix.
///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command not found
Run update-alternatives firstly will fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/update-alternatives.bbclass | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index b702e77..8c2b66e 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -284,8 +284,11 @@ python populate_packages_updatealternatives () {
bb.note('adding update-alternatives calls to postinst/prerm for %s' % pkg)
bb.note('%s' % alt_setup_links)
- postinst = d.getVar('pkg_postinst_%s' % pkg) or '#!/bin/sh\n'
- postinst += alt_setup_links
+ postinst = d.getVar('pkg_postinst_%s' % pkg)
+ if postinst:
+ postinst = alt_setup_links + postinst
+ else:
+ postinst = '#!/bin/sh\n' + alt_setup_links
d.setVar('pkg_postinst_%s' % pkg, postinst)
bb.note('%s' % alt_remove_links)
--
2.7.4
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 8:15 [PATCH 0/4] meta: 4 fixes Robert Yang
` (2 preceding siblings ...)
2019-06-20 8:15 ` [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script Robert Yang
@ 2019-06-20 8:15 ` Robert Yang
2019-06-20 8:28 ` Adrian Bunk
3 siblings, 1 reply; 21+ messages in thread
From: Robert Yang @ 2019-06-20 8:15 UTC (permalink / raw)
To: openembedded-core
The gtk-update-icon-cache and gdk-pixbuf-query-loaders are provided by gtk+3.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/gtk-icon-cache.bbclass | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 66fe781..4e60fe6 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -4,6 +4,11 @@ DEPENDS +=" ${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk
PACKAGE_WRITE_DEPS += "gtk+3-native gdk-pixbuf-native"
+inherit distro_features_check
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+
+DEPENDS += "gtk+3"
+
gtk_icon_cache_postinst() {
if [ "x$D" != "x" ]; then
$INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \
@@ -45,10 +50,11 @@ python populate_packages_append () {
if not os.path.exists(icon_dir):
continue
- bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
- rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme"
- d.appendVar('RDEPENDS_%s' % pkg, rdepends)
-
+ for dep in ('hicolor-icon-theme', 'gtk+3'):
+ bb.note("Adding %s dependency to %s" % (dep, pkg))
+ rdepends = ' ' + d.getVar('MLPREFIX', False) + dep
+ d.appendVar('RDEPENDS_%s' % pkg, rdepends)
+
bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
postinst = d.getVar('pkg_postinst_%s' % pkg)
--
2.7.4
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 8:15 ` [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3 Robert Yang
@ 2019-06-20 8:28 ` Adrian Bunk
2019-06-20 8:46 ` Robert Yang
0 siblings, 1 reply; 21+ messages in thread
From: Adrian Bunk @ 2019-06-20 8:28 UTC (permalink / raw)
To: Robert Yang; +Cc: openembedded-core
On Thu, Jun 20, 2019 at 04:15:26PM +0800, Robert Yang wrote:
> The gtk-update-icon-cache and gdk-pixbuf-query-loaders are provided by gtk+3.
gdk-pixbuf-query-loaders is provided by gdk-pixbuf,
which is not tied to a specific GTK version.
gtk-update-icon-cache is provided by both GTK 2 and GTK 3,
I haven't checked whether it will also be in GTK 4.
>...
> --- a/meta/classes/gtk-icon-cache.bbclass
> +++ b/meta/classes/gtk-icon-cache.bbclass
> @@ -4,6 +4,11 @@ DEPENDS +=" ${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk
>
> PACKAGE_WRITE_DEPS += "gtk+3-native gdk-pixbuf-native"
>
> +inherit distro_features_check
> +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> +
> +DEPENDS += "gtk+3"
>...
This looks OK.
> @@ -45,10 +50,11 @@ python populate_packages_append () {
> if not os.path.exists(icon_dir):
> continue
>
> - bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
> - rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme"
> - d.appendVar('RDEPENDS_%s' % pkg, rdepends)
> -
> + for dep in ('hicolor-icon-theme', 'gtk+3'):
> + bb.note("Adding %s dependency to %s" % (dep, pkg))
> + rdepends = ' ' + d.getVar('MLPREFIX', False) + dep
> + d.appendVar('RDEPENDS_%s' % pkg, rdepends)
>...
Why is this necessary?
I would expect there to always be a generated RDEPENDS on either
gtk+ or gtk+3 (or soon gtk4) that already covers this.
Anything I miss here?
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 8:28 ` Adrian Bunk
@ 2019-06-20 8:46 ` Robert Yang
2019-06-20 9:19 ` Adrian Bunk
0 siblings, 1 reply; 21+ messages in thread
From: Robert Yang @ 2019-06-20 8:46 UTC (permalink / raw)
To: Adrian Bunk; +Cc: openembedded-core
On 6/20/19 4:28 PM, Adrian Bunk wrote:
> On Thu, Jun 20, 2019 at 04:15:26PM +0800, Robert Yang wrote:
>> The gtk-update-icon-cache and gdk-pixbuf-query-loaders are provided by gtk+3.
>
> gdk-pixbuf-query-loaders is provided by gdk-pixbuf,
> which is not tied to a specific GTK version.
>
> gtk-update-icon-cache is provided by both GTK 2 and GTK 3,
> I haven't checked whether it will also be in GTK 4.
Thanks, I will update it.
>
>> ...
>> --- a/meta/classes/gtk-icon-cache.bbclass
>> +++ b/meta/classes/gtk-icon-cache.bbclass
>> @@ -4,6 +4,11 @@ DEPENDS +=" ${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk
>>
>> PACKAGE_WRITE_DEPS += "gtk+3-native gdk-pixbuf-native"
>>
>> +inherit distro_features_check
>> +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>> +
>> +DEPENDS += "gtk+3"
>> ...
>
> This looks OK.
>
>> @@ -45,10 +50,11 @@ python populate_packages_append () {
>> if not os.path.exists(icon_dir):
>> continue
>>
>> - bb.note("adding hicolor-icon-theme dependency to %s" % pkg)
>> - rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme"
>> - d.appendVar('RDEPENDS_%s' % pkg, rdepends)
>> -
>> + for dep in ('hicolor-icon-theme', 'gtk+3'):
>> + bb.note("Adding %s dependency to %s" % (dep, pkg))
>> + rdepends = ' ' + d.getVar('MLPREFIX', False) + dep
>> + d.appendVar('RDEPENDS_%s' % pkg, rdepends)
>> ...
>
> Why is this necessary?
Otherwise, gtk+3 won't be installed.
>
> I would expect there to always be a generated RDEPENDS on either
> gtk+ or gtk+3 (or soon gtk4) that already covers this.
> Anything I miss here?
gtk2/3/4 is a problem, I checked DEPENDS in oe-core's recipes, most
of them depend on gtk+3, only one depends on gtk+:
meta/recipes-gnome/gnome/gnome-themes-standard_3.22.3.bb
Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think that we
need something like virtual/gtk to fix these problems totally?
// Robert
>
> cu
> Adrian
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 8:46 ` Robert Yang
@ 2019-06-20 9:19 ` Adrian Bunk
2019-06-20 9:52 ` Alexander Kanavin
2019-06-20 9:58 ` Robert Yang
0 siblings, 2 replies; 21+ messages in thread
From: Adrian Bunk @ 2019-06-20 9:19 UTC (permalink / raw)
To: Robert Yang; +Cc: openembedded-core
On Thu, Jun 20, 2019 at 04:46:16PM +0800, Robert Yang wrote:
>...
> Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think that we
> need something like virtual/gtk to fix these problems totally?
GTK+2 is mostly obsolete.
I just checked the GTK4 sources, and there it is renamed to
gtk4-update-icon-cache. Based on that I would say that your
patch is actually fine at least for now.
> // Robert
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 9:19 ` Adrian Bunk
@ 2019-06-20 9:52 ` Alexander Kanavin
2019-06-20 9:58 ` Robert Yang
1 sibling, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2019-06-20 9:52 UTC (permalink / raw)
To: Adrian Bunk; +Cc: openembedded-core
I’d say virtual/gtk wouldn’t be helpful much as 2/3/4 versions have major api differences.
Alex
> On 20 Jun 2019, at 11.19, Adrian Bunk <bunk@stusta.de> wrote:
>
>> On Thu, Jun 20, 2019 at 04:46:16PM +0800, Robert Yang wrote:
>> ...
>> Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think that we
>> need something like virtual/gtk to fix these problems totally?
>
> GTK+2 is mostly obsolete.
>
> I just checked the GTK4 sources, and there it is renamed to
> gtk4-update-icon-cache. Based on that I would say that your
> patch is actually fine at least for now.
>
>> // Robert
>
> cu
> Adrian
>
> --
>
> "Is there not promise of rain?" Ling Tan asked suddenly out
> of the darkness. There had been need of rain for many days.
> "Only a promise," Lao Er said.
> Pearl S. Buck - Dragon Seed
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 9:19 ` Adrian Bunk
2019-06-20 9:52 ` Alexander Kanavin
@ 2019-06-20 9:58 ` Robert Yang
2019-06-20 13:53 ` Richard Purdie
1 sibling, 1 reply; 21+ messages in thread
From: Robert Yang @ 2019-06-20 9:58 UTC (permalink / raw)
To: Adrian Bunk; +Cc: openembedded-core
On 6/20/19 5:19 PM, Adrian Bunk wrote:
> On Thu, Jun 20, 2019 at 04:46:16PM +0800, Robert Yang wrote:
>> ...
>> Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think that we
>> need something like virtual/gtk to fix these problems totally?
>
> GTK+2 is mostly obsolete.
>
> I just checked the GTK4 sources, and there it is renamed to
> gtk4-update-icon-cache. Based on that I would say that your
> patch is actually fine at least for now.
Thanks, I updated the commit message in the PULL:
The gtk-update-icon-cache is provided by gtk+3, gdk-pixbuf-query-loaders is
provided by gdk-pixbuf, and gtk+3 depends on gdk-pixbuf, so depends on gtk+3
can fix the problems.
// Robert
>
>> // Robert
>
> cu
> Adrian
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 9:58 ` Robert Yang
@ 2019-06-20 13:53 ` Richard Purdie
2019-06-20 13:56 ` Burton, Ross
0 siblings, 1 reply; 21+ messages in thread
From: Richard Purdie @ 2019-06-20 13:53 UTC (permalink / raw)
To: Robert Yang, Adrian Bunk; +Cc: openembedded-core
On Thu, 2019-06-20 at 17:58 +0800, Robert Yang wrote:
>
> On 6/20/19 5:19 PM, Adrian Bunk wrote:
> > On Thu, Jun 20, 2019 at 04:46:16PM +0800, Robert Yang wrote:
> > > ...
> > > Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think
> > > that we
> > > need something like virtual/gtk to fix these problems totally?
> >
> > GTK+2 is mostly obsolete.
> >
> > I just checked the GTK4 sources, and there it is renamed to
> > gtk4-update-icon-cache. Based on that I would say that your
> > patch is actually fine at least for now.
>
> Thanks, I updated the commit message in the PULL:
Please resend patches rather than updating the branch as they get lost
really easily and also don't get reviewed properly this way.
Cheers,
Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 13:53 ` Richard Purdie
@ 2019-06-20 13:56 ` Burton, Ross
2019-06-21 9:48 ` Robert Yang
0 siblings, 1 reply; 21+ messages in thread
From: Burton, Ross @ 2019-06-20 13:56 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
Why DEPENDS on gtk? The recipes will typically already do this, but
all this class needs is the rdepends. Also, there's no explanation
for the hicolor addition.
Ross
On Thu, 20 Jun 2019 at 14:54, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Thu, 2019-06-20 at 17:58 +0800, Robert Yang wrote:
> >
> > On 6/20/19 5:19 PM, Adrian Bunk wrote:
> > > On Thu, Jun 20, 2019 at 04:46:16PM +0800, Robert Yang wrote:
> > > > ...
> > > > Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think
> > > > that we
> > > > need something like virtual/gtk to fix these problems totally?
> > >
> > > GTK+2 is mostly obsolete.
> > >
> > > I just checked the GTK4 sources, and there it is renamed to
> > > gtk4-update-icon-cache. Based on that I would say that your
> > > patch is actually fine at least for now.
> >
> > Thanks, I updated the commit message in the PULL:
>
> Please resend patches rather than updating the branch as they get lost
> really easily and also don't get reviewed properly this way.
>
> Cheers,
>
> Richard
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script
2019-06-20 8:15 ` [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script Robert Yang
@ 2019-06-20 15:33 ` Richard Purdie
2019-06-21 9:20 ` Robert Yang
0 siblings, 1 reply; 21+ messages in thread
From: Richard Purdie @ 2019-06-20 15:33 UTC (permalink / raw)
To: Robert Yang, openembedded-core
On Thu, 2019-06-20 at 16:15 +0800, Robert Yang wrote:
> Recipes like postfix run command newaliases in postinst, but
> newaliases is
> installed newaliases.postfix, and need run update-alternatives to
> update it to
> newaliases, so we would get the error when install postinst on
> target.
>
> Fixed:
> $ opkg install postfix
> Configuring postfix.
> ///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command
> not found
>
> Run update-alternatives firstly will fix the problem.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> meta/classes/update-alternatives.bbclass | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
This seemed to result in:
https://autobuilder.yoctoproject.org/typhoon/#/builders/61/builds/724
Cheers,
Richard
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script
2019-06-20 15:33 ` Richard Purdie
@ 2019-06-21 9:20 ` Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2019-06-21 9:20 UTC (permalink / raw)
To: Richard Purdie, openembedded-core
Hi,
I can reproduce it now, sorry about that, I'm working on it.
// Robert
On 6/20/19 11:33 PM, Richard Purdie wrote:
> On Thu, 2019-06-20 at 16:15 +0800, Robert Yang wrote:
>> Recipes like postfix run command newaliases in postinst, but
>> newaliases is
>> installed newaliases.postfix, and need run update-alternatives to
>> update it to
>> newaliases, so we would get the error when install postinst on
>> target.
>>
>> Fixed:
>> $ opkg install postfix
>> Configuring postfix.
>> ///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command
>> not found
>>
>> Run update-alternatives firstly will fix the problem.
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> meta/classes/update-alternatives.bbclass | 7 +++++--
>> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> This seemed to result in:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/61/builds/724
>
> Cheers,
>
> Richard
>
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3
2019-06-20 13:56 ` Burton, Ross
@ 2019-06-21 9:48 ` Robert Yang
0 siblings, 0 replies; 21+ messages in thread
From: Robert Yang @ 2019-06-21 9:48 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
Hi Ross,
On 6/20/19 9:56 PM, Burton, Ross wrote:
> Why DEPENDS on gtk? The recipes will typically already do this, but
> all this class needs is the rdepends. Also, there's no explanation
> for the hicolor addition.
I got errors when running adwaita-icon-theme's postinst on target
(command gtk-update-icon-cache not found), the recipe doesn't depend
on gtk, and gtk-update-icon-cache is introduced by gtk-icon-cache.bbclass,
so I think that we should add this DEPENDS in the bbclass? If only add gtk
to RDEPENDS (no DEPENDS), there would be a warning like:
adwaita-icon-theme rdepends on gtk+3, but it isn't a build dependency?
For hicolor-icon-theme, it is an existed rdepends in gtk-icon-cache.bbclass,
so I left it there.
// Robert
>
> Ross
>
> On Thu, 20 Jun 2019 at 14:54, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>>
>> On Thu, 2019-06-20 at 17:58 +0800, Robert Yang wrote:
>>>
>>> On 6/20/19 5:19 PM, Adrian Bunk wrote:
>>>> On Thu, Jun 20, 2019 at 04:46:16PM +0800, Robert Yang wrote:
>>>>> ...
>>>>> Maybe gtk+2 is out of date? Since gtk+4 is on the way, so I think
>>>>> that we
>>>>> need something like virtual/gtk to fix these problems totally?
>>>>
>>>> GTK+2 is mostly obsolete.
>>>>
>>>> I just checked the GTK4 sources, and there it is renamed to
>>>> gtk4-update-icon-cache. Based on that I would say that your
>>>> patch is actually fine at least for now.
>>>
>>> Thanks, I updated the commit message in the PULL:
>>
>> Please resend patches rather than updating the branch as they get lost
>> really easily and also don't get reviewed properly this way.
>>
>> Cheers,
>>
>> Richard
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2019-06-21 9:47 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-20 8:15 [PATCH 0/4] meta: 4 fixes Robert Yang
2019-06-20 8:15 ` [PATCH 1/4] linux-dummy: Add do_compile_kernelmodules Robert Yang
2019-06-20 8:15 ` [PATCH 2/4] make-mod-scripts: Depends on bison-native Robert Yang
2019-06-20 8:15 ` [PATCH 3/4] update-alternatives.bbclass: run update-alternatives firstly in postinst script Robert Yang
2019-06-20 15:33 ` Richard Purdie
2019-06-21 9:20 ` Robert Yang
2019-06-20 8:15 ` [PATCH 4/4] gtk-icon-cache.bbclass: Depends on gtk+3 Robert Yang
2019-06-20 8:28 ` Adrian Bunk
2019-06-20 8:46 ` Robert Yang
2019-06-20 9:19 ` Adrian Bunk
2019-06-20 9:52 ` Alexander Kanavin
2019-06-20 9:58 ` Robert Yang
2019-06-20 13:53 ` Richard Purdie
2019-06-20 13:56 ` Burton, Ross
2019-06-21 9:48 ` Robert Yang
-- strict thread matches above, loose matches on Subject: below --
2017-04-13 9:57 [PATCH 0/4] meta: 4 fixes Robert Yang
2016-02-19 8:48 Robert Yang
2015-03-11 8:35 Robert Yang
2015-02-18 3:28 Robert Yang
2015-01-19 7:11 Robert Yang
2015-01-12 23:35 Robert Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox