[ptxdist] [PATCH] genimage: Version bump. 15 -> 16.

2022-10-10 Thread Christian Melki
Various fixes and additions.
Notably, FIP image creation support.

Signed-off-by: Christian Melki 
---
 rules/host-genimage.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/host-genimage.make b/rules/host-genimage.make
index 08476be51..ee2aec91b 100644
--- a/rules/host-genimage.make
+++ b/rules/host-genimage.make
@@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_GENIMAGE) += host-genimage
 #
 # Paths and names
 #
-HOST_GENIMAGE_VERSION  := 15
-HOST_GENIMAGE_MD5  := 3eb6c4992be7ba9cea1c737ab1c26980
+HOST_GENIMAGE_VERSION  := 16
+HOST_GENIMAGE_MD5  := 07ccada4f64079e7b6d161d5279e0c1e
 HOST_GENIMAGE  := genimage-$(HOST_GENIMAGE_VERSION)
 HOST_GENIMAGE_SUFFIX   := tar.xz
 HOST_GENIMAGE_URL  := 
http://www.pengutronix.de/software/genimage/download/$(HOST_GENIMAGE).$(HOST_GENIMAGE_SUFFIX)
-- 
2.34.1




Re: [ptxdist] pkg-config-wrapper

2022-10-10 Thread Richard OGrady



> -Original Message-
> From: Michael Olbrich 
> Sent: Friday, October 7, 2022 10:29 AM
> To: Richard OGrady 
> Cc: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] pkg-config-wrapper
> 
> On Fri, Oct 07, 2022 at 02:43:51PM +, Richard OGrady wrote:
> > > On Wed, Oct 05, 2022 at 08:44:44PM +, Richard OGrady wrote:
> > > > Debugging a prepare stage issue so trying to understand this chunk of 
> > > > code in pkg-config-wrapper.
> > > >
> > > > for pkg in ${pkgs}; do
> > > >if [[ ! " ${whitelist} " =~ " ${pkg} " && ! "${pkg}" =~ 
> > > > '-uninstalled' ]]; then
> > > >   echo "$(basename ${0}): warning: blocking '${pkg}': not
> > > > selected by
> > > '${PKGCONFIG_WHITELIST_SRC}'" >&${ERROR_FD}
> > > >   exit 1
> > > >   fi
> > > > done
> > > >
> > > > Where does ${whitelist} come from?  Have tried to trace this back
> > > > and best guess is it may come
> > > from ../state/${PKGCONFIG_WHITELIST_SRC}. pkgconfig .
> > > >
> > > > If this is the case, perhaps pkg-config-wrapper can't be used
> > > > during prepare as the .pkgconfig file isn't there yet?
> > >
> > > ${whitelist} is defined as PKGCONFIG_WHITELIST_HOST or
> > > PKGCONFIG_WHITELIST_TARGET depending on whether the host or cross
> > > pkgconfig is called. For example PKGCONFIG_WHITELIST_HOST is used by when 
> > > the Linux kernel looks for openssl to build a host tool.
> > >
> > > These variables are filled by the .pkgconfig files from all packages
> > > that are selected in the .in file. So those are already available during 
> > > the prepare stage.
> >
> > I think this is where I am having a problem.  My file
> > gstreamer2-imx.in
> > select(s) the dependency libimxdmabuffer.  My file libimxdmabuffer.in
> > only select(s) the dependency HOST_SYSTEM_PYTHON3 and its pkgconfig
> > file is empty as expected.  So the dependency libimxdmabuffer isn't in
> > PKGCONFIG_WHITELIST_TARGET when gstreamer2-imx is prepared and the
> > pkg-config-wrapper blocks it.
> >
> > From your description it seems that primary dependencies (like
> > libimxdmabuffer) are not in PKGCONFIG_WHITELIST_TARGET.  Is that the
> > case? I would think this is a common scenario so I must still be
> > missing something.
> 
> When you build gstreamer2-imx, then libimxdmabuffer should be in 
> PKGCONFIG_WHITELIST_TARGET.
> But please note, that PKGCONFIG_WHITELIST_TARGET does not contain the ptxdist 
> package names but
> the .pc file names without the .pc suffix.
> And the .pkgconfig of libimxdmabuffer should contain something. Is the file 
> empty or is it not
> generated at all? What's the output of:
> 
> find platform-/packages/libimxdmabuffer-/ -name *.pc
> 
> Replace the path with the directory that is filled by libimxdmabuffer.
> 
> Michael
> 
That is the problem.  The .pc file did not exist.  That package is a waf 
configure/build/install.  
To fix I needed to explicitly add --destdir to the install command.  It works 
now.
Thank you.

Rich OGrady



[ptxdist] [PATCH] pipewire: version bump 0.3.58 -> 0.3.59

2022-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel 
---
 rules/pipewire.make | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/pipewire.make b/rules/pipewire.make
index 474b68393c5a..838ddc660fc0 100644
--- a/rules/pipewire.make
+++ b/rules/pipewire.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PIPEWIRE) += pipewire
 #
 # Paths and names
 #
-PIPEWIRE_VERSION   := 0.3.58
-PIPEWIRE_MD5   := 4a14fa6db732b00957f835b09d47c406
+PIPEWIRE_VERSION   := 0.3.59
+PIPEWIRE_MD5   := d310bf1f3cc5b2b446aecfa97c2cde82
 PIPEWIRE   := pipewire-$(PIPEWIRE_VERSION)
 PIPEWIRE_SUFFIX:= tar.bz2
 PIPEWIRE_URL   := 
https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION)/$(PIPEWIRE).$(PIPEWIRE_SUFFIX)
@@ -52,6 +52,7 @@ PIPEWIRE_CONF_OPT := \
-Dbluez5-backend-ofono=disabled \
-Dbluez5-codec-aac=disabled \
-Dbluez5-codec-aptx=disabled \
+   -Dbluez5-codec-lc3=disabled \
-Dbluez5-codec-lc3plus=disabled \
-Dbluez5-codec-ldac=disabled \
-Dbluez5-codec-opus=disabled \
-- 
2.30.2