From db94f33698625a93c14a3c0198ec03ecb8d4d41a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Thu, 22 Aug 2024 20:59:31 +0200 Subject: [PATCH] musixtnt: unbundle from texlive_core The package category dev-tex is an estimation, because Gentoo doesn't have thisi as a separate package. --- .../texlive_core/texlive_core-2024.2.recipe | 3 +- dev-tex/musixtnt/musixtnt-2016_01_30.recipe | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 dev-tex/musixtnt/musixtnt-2016_01_30.recipe diff --git a/app-text/texlive_core/texlive_core-2024.2.recipe b/app-text/texlive_core/texlive_core-2024.2.recipe index cc2d39a77..b8d7c9e35 100644 --- a/app-text/texlive_core/texlive_core-2024.2.recipe +++ b/app-text/texlive_core/texlive_core-2024.2.recipe @@ -267,7 +267,6 @@ PROVIDES=" cmd:mltex cmd:mpost cmd:mptopdf - cmd:msxlint cmd:multibibliography cmd:musixflx cmd:musixtex @@ -598,7 +597,6 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \ $prefix/bin/mfluajit \ $prefix/bin/mft \ $prefix/bin/mpost \ - $prefix/bin/msxlint \ $prefix/bin/odvicopy \ $prefix/bin/odvitype \ $prefix/bin/omfonts \ @@ -838,6 +836,7 @@ BUILD() --disable-gregorio \ --disable-gsftopk \ --disable-lcdf-typetools \ + --disable-musixtnt \ --disable-t1utils \ --build=$HOST --host=$HOST diff --git a/dev-tex/musixtnt/musixtnt-2016_01_30.recipe b/dev-tex/musixtnt/musixtnt-2016_01_30.recipe new file mode 100644 index 000000000..e2cf11fe5 --- /dev/null +++ b/dev-tex/musixtnt/musixtnt-2016_01_30.recipe @@ -0,0 +1,60 @@ +SUMMARY="A MusiXTEX extension library that enables transformations" +DESCRIPTION="musixtnt.tex provides a macro \\TransformNotes that enables transformations of the \ +effect of notes commands such as \\notes. In general, the effect of \ +\\TransformNotes{input}{output} is that notes commands in the source will expect their arguments \ +to match the input pattern, but the notes will be typeset according to the output pattern. An \ +example is extracting single-instrument parts from a multi-instrument score. +fixmsxpart corrects note spacing in a single-part MusiXTEX source (possibly derived from a \ +multi-instrument score and as a result having irregular note spacing). +msxlint detects incorrectly formatted notes lines in a MusiXTEX source file. This should be used \ +before using \\TransformNotes." +HOMEPAGE="https://ctan.org/tex-archive/macros/generic/musixtnt" +COPYRIGHT="2015–2016 Bob Tennent" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://mirrors.ctan.org/macros/generic/musixtnt/musixtnt-${portVersion//_/-}.tar.gz" +CHECKSUM_SHA256="13f901094ee11abe80c25ee6139634af820bfeb587099c3baa903fcd688ca9e9" +SOURCE_DIR="musixtnt-${portVersion//_/-}" + +ARCHITECTURES="all" + +PROVIDES=" + musixtnt = $portVersion + cmd:msxlint + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:awk + cmd:gcc + cmd:make + " + +TEST_REQUIRES=" + cmd:diff + " + +defineDebugInfoPackage musixtnt \ + $binDir/msxlint + +BUILD() +{ + runConfigure ./configure + # override default cflags for gcc2 support + make $jobArgs AM_CFLAGS="-ansi -Wall" +} + +INSTALL() +{ + make install +} + +TEST() +{ + make check +}