[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple orig archives, unpacking to a sub-subdirectory



Le vendredi 12 septembre 2025, 08:42:52 heure d’été d’Europe centrale Simon Richter a écrit :
> Hi,
> 
> On 9/12/25 1:44 PM, Guillem Jover wrote:
> 
> > At least from what you are describing this should already be supported
> > as part of «3.0 (quilt)» with its multi upstream tarball support,
> > known in some places as MUT, or now as addon original tarballs. See
> > the dpkg-source(1) man page for .orig-<addon>.tar.<ext> (or previously
> > .orig-<component>.tar.<ext>), where each addon orig.tar is extracted
> > into <addon>/.
> 
> Yes, but for this package, this needs to go below "lib/addon", with the 
> additional complication that "lib" is a separate tarball as well 
> (because it is a git submodule). So basically I have .orig.tar, 
> .orig-lib.tar and .orig-lib-addon.tar, except that that doesn't quite do 
> what I want.
> 
> For now, I just concatenate all the tarballs, with adjusted paths, 
> because that is what uscan does, but in the long run I'd like to 
> separate these out (and teach uscan how to do that), because it makes 
> the files more verifiable.

Under debian js we use MUT extensivly

In this case we create the correct directory with symlink at configure time:
- rename MUT tarball with unique name like extra-lib-something1 extra-lib-something2
- at configure time do symlink or rsync to correct location

touca
> 
>     Simon
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: