Bug#895582: Use existing Debian packages for javascript and fonts files instead of including them
On Fri, Jan 06, 2023 at 04:24:04PM +0100, Bastian Germann wrote: > On Wed, 17 Feb 2021 10:07:53 + Julian Gilbey wrote: > > Yes, I'd be happy to do so, after bullseye is released. (I don't know > > what "MRs" are, though.) I have several new packages I'm working on > > that use the Sphinx bootstrap theme, so I can easily test it on those. > > MRs are merge requests: > https://salsa.debian.org/python-team/packages/sphinx-bootstrap-theme/-/merge_requests > > I consider this an important issue. Julian, do you still want to work on this? Happy to, but I don't have time at the moment - the Python 3.11 transition and working on the font licensing issues have used up all of my time :( Julian
Bug#895582: Use existing Debian packages for javascript and fonts files instead of including them
On Wed, 17 Feb 2021 10:07:53 + Julian Gilbey wrote: Yes, I'd be happy to do so, after bullseye is released. (I don't know what "MRs" are, though.) I have several new packages I'm working on that use the Sphinx bootstrap theme, so I can easily test it on those. MRs are merge requests: https://salsa.debian.org/python-team/packages/sphinx-bootstrap-theme/-/merge_requests I consider this an important issue. Julian, do you still want to work on this?
Bug#895582: Use existing Debian packages for javascript and fonts files instead of including them
On Wed, Feb 17, 2021 at 12:02:27AM -0500, Sandro Tosi wrote: > > I'm not the maintainer, but I can comment on this: > > > > - There are indeed two versions of bootstrap included, as users of the > > Sphinx bootstrap theme can choose whether to use version 2 or 3 of > > bootstrap. The libjs-bootstrap package currently contains bootstrap > > version 3.4.1, so once this package is upgraded to the latest > > upstream version, it could replace bootstrap 3.4.1 in this package > > with symlinks to the libjs-bootstrap copies. The bootstrap version > > 2.3.2 scripts cannot be replaced, though, as they don't appear > > elsewhere in the archive afaik. > > > > - There is also an embedded jQuery, currently version 1.11.0, and > > upstream have upgraded to version 1.12.4. This can't be replaced by > > a symlink to the libjs-jquery copy, as that is at version 3.5.1, and > > is incompatible with the bootstrap 2.x/3.x library. > > > > - The fonts are indeed duplicated, in > > /usr/.../bootstrap/static/bootstrap-3.3.7/fonts/ > > and /usr/.../bootstrap/static/bootswatch-3.3.7/fonts/ > > But furthermore, these all appear in the package > > fonts-glyphicons-halflings, so this package should depend on > > fonts-glyphicons-halflings and make the fonts here be symlinks to > > the fonts-glyphicons-halflings package. I'm not certain this will > > work, as it depends on how the fonts are copied into the target > > documentation (if they even are), but it is certainly worth a try. > > are you going to work on any of this, and then provide MRs after > thorough testing and verification of the results? Hi Sandro, Yes, I'd be happy to do so, after bullseye is released. (I don't know what "MRs" are, though.) I have several new packages I'm working on that use the Sphinx bootstrap theme, so I can easily test it on those. Best wishes, Julian
Bug#895582: Use existing Debian packages for javascript and fonts files instead of including them
> I'm not the maintainer, but I can comment on this: > > - There are indeed two versions of bootstrap included, as users of the > Sphinx bootstrap theme can choose whether to use version 2 or 3 of > bootstrap. The libjs-bootstrap package currently contains bootstrap > version 3.4.1, so once this package is upgraded to the latest > upstream version, it could replace bootstrap 3.4.1 in this package > with symlinks to the libjs-bootstrap copies. The bootstrap version > 2.3.2 scripts cannot be replaced, though, as they don't appear > elsewhere in the archive afaik. > > - There is also an embedded jQuery, currently version 1.11.0, and > upstream have upgraded to version 1.12.4. This can't be replaced by > a symlink to the libjs-jquery copy, as that is at version 3.5.1, and > is incompatible with the bootstrap 2.x/3.x library. > > - The fonts are indeed duplicated, in > /usr/.../bootstrap/static/bootstrap-3.3.7/fonts/ > and /usr/.../bootstrap/static/bootswatch-3.3.7/fonts/ > But furthermore, these all appear in the package > fonts-glyphicons-halflings, so this package should depend on > fonts-glyphicons-halflings and make the fonts here be symlinks to > the fonts-glyphicons-halflings package. I'm not certain this will > work, as it depends on how the fonts are copied into the target > documentation (if they even are), but it is certainly worth a try. are you going to work on any of this, and then provide MRs after thorough testing and verification of the results? -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
Bug#895582: Use existing Debian packages for javascript and fonts files instead of including them
On Fri, Apr 13, 2018 at 01:39:00AM +, ju wrote: > Package: sphinx-bootstrap-theme > Version: 0.4.13-1 > > Building the package gives between others the lintian warnings: > > embedded-javascript-library > duplicate-font-file > > When this packages is included in any other package, it will also have > inherit these warnings. > > Apart of lintian warnings, there're 2 versions of bootstrap included in > the package. > > What is more, the size of the package increase a lot due to the unneeded > extra files. Hi ju, I'm not the maintainer, but I can comment on this: - There are indeed two versions of bootstrap included, as users of the Sphinx bootstrap theme can choose whether to use version 2 or 3 of bootstrap. The libjs-bootstrap package currently contains bootstrap version 3.4.1, so once this package is upgraded to the latest upstream version, it could replace bootstrap 3.4.1 in this package with symlinks to the libjs-bootstrap copies. The bootstrap version 2.3.2 scripts cannot be replaced, though, as they don't appear elsewhere in the archive afaik. - There is also an embedded jQuery, currently version 1.11.0, and upstream have upgraded to version 1.12.4. This can't be replaced by a symlink to the libjs-jquery copy, as that is at version 3.5.1, and is incompatible with the bootstrap 2.x/3.x library. - The fonts are indeed duplicated, in /usr/.../bootstrap/static/bootstrap-3.3.7/fonts/ and /usr/.../bootstrap/static/bootswatch-3.3.7/fonts/ But furthermore, these all appear in the package fonts-glyphicons-halflings, so this package should depend on fonts-glyphicons-halflings and make the fonts here be symlinks to the fonts-glyphicons-halflings package. I'm not certain this will work, as it depends on how the fonts are copied into the target documentation (if they even are), but it is certainly worth a try. Best wishes, Julian
Bug#895582: Use existing Debian packages for javascript and fonts files instead of including them
Package: sphinx-bootstrap-theme Version: 0.4.13-1 Building the package gives between others the lintian warnings: embedded-javascript-library duplicate-font-file When this packages is included in any other package, it will also have inherit these warnings. Apart of lintian warnings, there're 2 versions of bootstrap included in the package. What is more, the size of the package increase a lot due to the unneeded extra files. Best, ju.