Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>,
	James Hilliard <james.hilliard1@gmail.com>,
	Adam Duskett <aduskett@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [git commit] package/qt5: bump packages to latest kde submodule versions
Date: Thu, 10 Aug 2023 22:13:23 +0200	[thread overview]
Message-ID: <20230810221323.52f6f896@windsurf> (raw)
In-Reply-To: <20220203192858.6E46582628@busybox.osuosl.org>

Hello James, Arnout, Adam,

Since all three of you have been involved in this patch, I have a
question below.

On Thu, 3 Feb 2022 20:27:27 +0100
Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> wrote:

> commit: https://git.buildroot.net/buildroot/commit/?id=5770a645a3a49a3f0f02972131a4ff5283b4c11e
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> This points all qt5 packages to the latest kde submodule versions
> available at https://invent.kde.org/qt/qt/qt5/-/tree/kde/5.15
> 
> There is no 5.15.8 release of the kde-maintained modules, no release
> tarballs and no tags. Instead, there's just a rolling maintenance
> branch. We take a snapshot of that branch and call it 5.15.8, to match
> the latest qt5webengine release.
> 
> We need to remove some patches applied upstream already.
> 
> qt5location has mapboxgl as a submodule, which is not included in the
> gitlab-generated tarball. Therefore, use the git download method with
> submodules enabled.
> 
> We need to pin qt5 packages not available in the new upstream to the
> previous 5.15.2 version.
> 
> We need to set SYNC_QT_HEADERS for all qt5 packages in the new
> upstream as headers are only copied in release archives which are
> not provided in the kde upstream.
> 
> Instead of calling syncqt.pl, update the MODULE_VERSION in .qmake.conf
> to 5.15.8 and create a .git file so to trigger headers sync during
> configure.

So we're no longer calling this Perl script in QT_HEADERS_SYNC_HOOK:

>  define QT_HEADERS_SYNC_HOOK
> -	$(Q)cd $($(PKG)_BUILDDIR) && $(HOST_DIR)/bin/syncqt.pl -version $(QT5_VERSION)
> +	sed -e '/^MODULE_VERSION/s/5\.15\.[3456789]/$(QT5_VERSION)/' -i \
> +		$($(PKG)_BUILDDIR)/.qmake.conf
> +	touch $($(PKG)_BUILDDIR)/.git
>  endef

Therefore, can we drop the dependency on host-perl in:

ifeq ($$($(2)_SYNC_QT_HEADERS),YES)
$(2)_DEPENDENCIES               += host-perl
$(2)_PRE_CONFIGURE_HOOKS        += QT_HEADERS_SYNC_HOOK
endif

which is just a few lines later in this package/pkg-qmake.mk file?

I noticed today that host-perl was a dependency of qt5base, and I was
like "meh, why is it a dependency", and it seems like this dependency
is no longer needed.

Could you confirm?

Thanks,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-08-10 20:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 19:27 [Buildroot] [git commit] package/qt5: bump packages to latest kde submodule versions Arnout Vandecappelle
2023-08-10 20:13 ` Thomas Petazzoni via buildroot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-26 21:10 Thomas Petazzoni via buildroot
2023-07-11  7:28 Thomas Petazzoni via buildroot
2024-02-09  7:51 Arnout Vandecappelle via buildroot
2024-07-12 14:37 Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230810221323.52f6f896@windsurf \
    --to=buildroot@buildroot.org \
    --cc=aduskett@gmail.com \
    --cc=arnout@mind.be \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox