I'm try to put together a package for a big, complex application. One of its dependencies isn't in Debian yet. What do I do?
- package up the dependency and somehow get both packages sponsored at the same time (how?);
- package up the dependency and get it sponsored first... meaning that I'll be trying to get a library added which has no users.
Neither option seems great, TBH. What's the recommended thing to do here?
Both the application and the library are written in Java, FWIW.
Thanks!
I'm try to put together a package for a big, complex application. One of
its dependencies isn't in Debian yet. What do I do?
- package up the dependency and somehow get both packages sponsored at the same time (how?);
- package up the dependency and get it sponsored first... meaning that
I'll be trying to get a library added which has no users.
Neither option seems great, TBH. What's the recommended thing to do here?
</div><div>- package up the dependency and somehow get both packages sponsored at the same time (how?);</div><div>- package up the dependency and get it sponsored first... meaning that I'll be trying to get a library added which has no users.</div><div><br></div><div>Neither option seems great, TBH. What's the recommended thing to do here?</div></div></blockquote><div><br></div><div>There is a third option: you can bundle the dependency.</div><div>It is especially appropriate when it is from
<br></div><div><br></div></div></div>
Hi David,
Le ven. 24 mai 2024 à 17:06, David Given <dg@cowlark.com> a écrit :
I'm try to put together a package for a big, complex application. One of
its dependencies isn't in Debian yet. What do I do?
- package up the dependency and somehow get both packages sponsored at
the same time (how?);
- package up the dependency and get it sponsored first... meaning that
I'll be trying to get a library added which has no users.
Neither option seems great, TBH. What's the recommended thing to do here?
There is a third option: you can bundle the dependency.
It is especially appropriate when it is from the same upstream authors,
when they chose to split their software into parts that fit together,
but that are not actually used elsewhere.
Also, it makes sense when the dependency is a non-released obscure library that won't ever be used by some other package.
It is not appropriate if that dependency is a mainstream java library that just happens to be missing from debian.
In that case, options 1/2 are better.
Check Java Team policy, they might have some doc on that matter.
The tools to do that are uscan (check its man page), debian/copyright, multiple upstream tarballs, components, and you can find plenty of examples from sources.debian.net.
<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 24 mai 2024 à 17:06, David Given <<a href="mailto:dg@cowlark.com" target="_blank">dg@cowlark.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I'm try to put together a package for a big, complex application. One of its dependencies isn't in Debian yet. What do I do?</div><div><br></div><div>-
Neither option seems great, TBH. What's the recommended thing to do here?</div></div></blockquote><div><br></div><div>There is a third option: you can bundle the dependency.</div><div>It is especially appropriate when it is from the same upstreamauthors, when they chose to split their software into parts that fit together,</div><div>but that are not actually used elsewhere.</div><div>Also, it makes sense when the dependency is a non-released obscure library that won't ever be used by some
<br></div><div><br></div></div></div></blockquote></div>
I'm try to put together a package for a big, complex application. One of
its dependencies isn't in Debian yet. What do I do?
- package up the dependency and somehow get both packages sponsored at the same time (how?);
- package up the dependency and get it sponsored first... meaning that I'll be trying to get a library added which has no users.
On 2024-05-24 16:39 +0200, David Given wrote:
- package up the dependency and get it sponsored first... meaning thatI'll
be trying to get a library added which has no users.
This is what I do. All packages have no users before they enter the
archive so that's not really a problem.
On 2024-05-24 16:39 +0200, David Given wrote:
I'm try to put together a package for a big, complex application. One of
its dependencies isn't in Debian yet. What do I do?
Package the dependency first.
- package up the dependency and somehow get both packages sponsored at the >> same time (how?);
- package up the dependency and get it sponsored first... meaning that I'll >> be trying to get a library added which has no users.
This is what I do. All packages have no users before they enter the
archive so that's not really a problem. I quite often find that there
in fact other packages using a library in the archive but they've
bundled it (because that's easier and is often what upstream has
done). So a 3rd step is to file patches for those other packages to
use your library. sources.debian.org is a good place to look for such instances.
You can do both at once but I find it easier if the libraries go in first, then you can be sure everything works without having to have 'special'
build environment with your extra library packages present.
Mostly it depends how fast you want to move. Either is fine.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 147:34:52 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,731 |