Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel.mentors > #45890

Re: How to create multi-source tarball with different submodules for scipy

From Soren Stoutner <soren@stoutner.com>
Newsgroups linux.debian.devel.mentors
Subject Re: How to create multi-source tarball with different submodules for scipy
Date 2023-01-16 19:20 +0100
Message-ID <FOCfn-RZh-9@gated-at.bofh.it> (permalink)
References <FOAdz-QJZ-1@gated-at.bofh.it> <FOAwV-QQP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I haven’t looked closely at it myself, but qtwebengine-opensource-src accomplishes 
something along these lines using `get-orig-source` in their rules file.

https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/blob/master/debian/rules[1]

Note that, in their case, you must have the python3-debian package installed, because the 
script depends on Python for some of the processing.

On Monday, January 16, 2023 9:27:59 AM MST Julian Gilbey wrote:
> On Mon, Jan 16, 2023 at 05:05:39PM +0100, Andreas Tille wrote:
> > Hi,
> > 
> > I tried to create a multi-source tarball for scipy in its experimental
> > branch[1].  Upstream includes a set of git submodules in its build
> > process.  I intended to merge all these submodules in a single
> > scipy_1.10.0.orig-submodules.tar.gz.  This tarball is created with a
> > script[2] which makes sure that the exact directory structure as it is
> > used by upstream is conserved.  This directory layout is needed in the
> > build process.  Unfortunately `dpkg-source -x` extracts the content of
> > the submodules tarball into a subdirectory submodules/.
> > 
> > Is there any trick to unpack this tarball right into the root?
> > Otherwise I need to do some symlinks workaround in d/rules to provide
> > all files where these are needed.
> 
> Not that I know of; this is the design of the multi-source tarball
> setup: each component tarball is extracted into a directory with the
> name of the component.
> 
> Best wishes,
> 
>    Julian


-- 
Soren Stoutner
soren@stoutner.com

--------
[1] https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/blob/master/debian/rules

Back to linux.debian.devel.mentors | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to create multi-source tarball with different submodules for  scipy Andreas Tille <andreas@an3as.eu> - 2023-01-16 17:10 +0100
  Re: How to create multi-source tarball with different submodules for  scipy Julian Gilbey <julian@d-and-j.net> - 2023-01-16 18:10 +0100
    Re: How to create multi-source tarball with different submodules for scipy Soren Stoutner <soren@stoutner.com> - 2023-01-16 19:20 +0100
  Re: How to create multi-source tarball with different submodules for scipy Nick Morrott <knowledgejunkie@gmail.com> - 2023-01-17 22:50 +0100

csiph-web