Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916037 - dev-libs/mathjax: possibility of adding subslot for rebuilding
Summary: dev-libs/mathjax: possibility of adding subslot for rebuilding
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eli Schwartz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-20 05:14 UTC by Eli Schwartz
Modified: 2024-02-15 13:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Schwartz 2023-10-20 05:14:57 UTC
I am currently working on updating calibre with support for using the system mathjax installation. calibre supports this natively, but generates a manifest including file sizes and an etag covering the entire contents, which it uses to refresh the mathjax files when serving it via the ebook server.

This means that calibre should really be rebuilt whenever mathjax is updated, or that information will go stale.

What do you think?
Comment 1 Larry the Git Cow gentoo-dev 2024-02-15 13:50:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b5964f5819822fa8b8bf6d30802b06eb7976a2d

commit 3b5964f5819822fa8b8bf6d30802b06eb7976a2d
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-02-14 20:45:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-15 13:50:03 +0000

    dev-libs/mathjax: add subslot
    
    Necessary for app-text/calibre to rebuild its javascript assets when the
    system mathjax changes.
    
    Closes: https://bugs.gentoo.org/916037
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/mathjax/mathjax-3.2.2-r2.ebuild | 48 ++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd4d963faebce91c857754bffb165adda6f2bbe

commit 9fd4d963faebce91c857754bffb165adda6f2bbe
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-02-15 01:50:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-15 13:50:35 +0000

    app-text/calibre: add subslot dependency on mathjax
    
    This doesn't often change. When it does, the calibre-server assets need
    to be rebuilt with the new content hashes for the mathjax code.
    
    Add the slot without a revbump. Any systems that don't pick up on this
    update will be fine, because the chances are extremely high that calibre
    will continue to be updated many times before the next mathjax update,
    so no real point forcing a metadata-only rebuild.
    
    Bug: https://bugs.gentoo.org/916037
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/calibre/calibre-7.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)