Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654808 - dev-texlive/texlive-music is missing songidx
Summary: dev-texlive/texlive-music is missing songidx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-04 08:41 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2019-07-22 10:51 UTC (History)
3 users (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 Peter Gantner (a.k.a. nephros) 2018-05-04 08:41:53 UTC
+++ This bug was initially created as a clone of Bug #297371 +++

"songidx" is a helper application to the "songs" package, and provides the indexing functionality (ToC etc).

When texlive-music in installed with USE="-doc -source", the "songidx" files are not installed.

When texlive-music in installed with USE="doc -source", the "songidx" sources are installed at /usr/share/texmf-dist/doc/latex/songs/songidx and can be manually compiled by the user from there.

When looking at the latest upstream source (v3.0, while texlive 2017 provides v2.14) for the songs package, they have done a rewrite of the functionality in lua: http://songs.sourceforge.net/history.html

Seeing that Gentoo already wraps some lua scripts I suggest doing the same with that script from that upstream source, once it it included in texlive (2018 AFAICS does).

Until then, compile and install a binary version from texmf-dist/doc/latex/songs/songidx for versions < songs-v3.0/texlive-2018
Comment 1 Peter Gantner (a.k.a. nephros) 2019-01-02 10:36:00 UTC
For reference, this is what I do in my overlay for the <=2017 version:

--- gentoo/dev-texlive/texlive-music/texlive-music-2017.ebuild     2018-03-25 14:08:59.000000000 +0200
+++ devel/dev-texlive/texlive-music/texlive-music-2017.ebuild   2018-05-05 18:11:23.263459766 +0200
@@ -13,7 +13,7 @@
 LICENSE=" GPL-1 GPL-2 GPL-3 LGPL-2.1 LPPL-1.2 LPPL-1.3 MIT "
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="+doc"
 DEPEND=">=dev-texlive/texlive-latex-2017
 !<app-text/texlive-core-2011
 !<dev-texlive/texlive-pictures-2015
@@ -29,3 +29,14 @@
        texmf-dist/scripts/lilyglyphs/lily-image-commands.py
        texmf-dist/scripts/lilyglyphs/lily-rebuild-pdfs.py
 "
+
+src_compile() {
+       texlive-module_src_compile
+       cd "${S}"/texmf-dist/doc/latex/songs/songidx
+       emake
+}
+src_install() {
+       texlive-module_src_install
+       cd "${S}"/texmf-dist/doc/latex/songs/songidx
+       dobin songidx
+}
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-22 10:51:19 UTC
should be fine now.