diff --git a/app-text/dvipng/dvipng-1.17.recipe b/app-text/dvipng/dvipng-1.17.recipe new file mode 100644 index 000000000..f7c83a2fe --- /dev/null +++ b/app-text/dvipng/dvipng-1.17.recipe @@ -0,0 +1,101 @@ +SUMMARY="A DVI-to-PNG converter" +DESCRIPTION="This program makes PNG and/or GIF graphics from DVI files as obtained from TeX and \ +its relatives. + +If GIF support is enabled, GIF output is chosen by using the \`dvigif' binary or with the \ +\`--gif' option. + +It is intended to produce anti-aliased screen-resolution images as fast as is possible. The \ +target audience is people who need to generate and regenerate many images again and again. The \ +primary target is the preview-latex (X)Emacs package, a package to preview formulas from within \ +(X)Emacs. Yes, you get to see your formulas in the (X)Emacs buffer, see \ +\`http://www.gnu.org/software/auctex/preview-latex.html'. + +Another example is WeBWorK, an internet-based method for delivering homework problems to students \ +over the internet, giving students instant feedback as to whether or not their answers are \ +correct, see \`http://webwork.math.rochester.edu'. + +A more recent addition to the dvipng-using applications out there is MediaWiki, the software \ +behind Wikipedia and many other wikis out there. Dvipng is used to render mathematical formulae \ +from version 1.8.0 of MediaWiki, see \`http://www.mediawiki.org'. + +Other applications may also benefit, like web applications as latex2html and WYSIWYG editors like \ +LyX." +HOMEPAGE="https://savannah.nongnu.org/projects/dvipng/" +COPYRIGHT="2002-2015, 2019 Jan-Åke Larsson" +LICENSE="GNU LGPL v2.1" +REVISION="1" +SOURCE_URI="http://download.savannah.gnu.org/releases/dvipng/dvipng-$portVersion.tar.gz" +CHECKSUM_SHA256="b260417e3d226823bfa6ed1968cf8941593130027ddf5e26f9151ff8abda1345" +SOURCE_DIR="" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + dvipng$secondaryArchSuffix = $portVersion + cmd:dvigif + cmd:dvipng + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libgd$secondaryArchSuffix + lib:libkpathsea$secondaryArchSuffix + lib:libpng16$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libfreetype$secondaryArchSuffix + devel:libgd$secondaryArchSuffix + devel:libkpathsea$secondaryArchSuffix + devel:libpng16$secondaryArchSuffix + devel:libz$secondaryArchSuffix + tex:texinfo + # The following TeX packages are needed for creating tex formats: + # (because of texlive packaging, all hyphenation patterns are needed, + # the list contains one package from each collection) + tex:hyphen_afrikaans + tex:hyphen_ancientgreek + tex:hyphen_basque + tex:hyphen_belarusian + tex:hyphen_catalan + tex:hyphen_chinese + tex:hyphen_croatian + tex:hyphen_czech + tex:hyphen_english + tex:hyphen_german + tex:hyphen_italian + tex:hyphen_polish + tex:hyphen_portuguese + " +BUILD_PREREQUIRES=" + cmd:awk + cmd:diff + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + cmd:texi2dvi + " + +defineDebugInfoPackage dvipng$secondaryArchSuffix \ + $prefix/bin/dvipng + +BUILD() +{ + runConfigure --omit-dirs "binDir" ./configure \ + --bindir=$prefix/bin + make $jobArgs +} + +INSTALL() +{ + make install +} + +TEST() +{ + make test +} diff --git a/app-text/texlive_core/texlive_core-2024.2.recipe b/app-text/texlive_core/texlive_core-2024.2.recipe index 8d93c1ad8..349f162dc 100644 --- a/app-text/texlive_core/texlive_core-2024.2.recipe +++ b/app-text/texlive_core/texlive_core-2024.2.recipe @@ -109,7 +109,6 @@ PROVIDES=" cmd:dviconcat cmd:dvicopy cmd:dvidvi - cmd:dvigif cmd:dvihp cmd:dviinfox cmd:dvilj @@ -123,7 +122,6 @@ PROVIDES=" cmd:dvipdfm cmd:dvipdfmx cmd:dvipdft - cmd:dvipng cmd:dvipos cmd:dvips cmd:dvired @@ -581,7 +579,6 @@ defineDebugInfoPackage texlive_core$secondaryArchSuffix \ $prefix/bin/dvilj2p \ $prefix/bin/dvilj4 \ $prefix/bin/dvilj4l \ - $prefix/bin/dvipng \ $prefix/bin/dvipos \ $prefix/bin/dvips \ $prefix/bin/dviselect \ @@ -864,6 +861,7 @@ BUILD() --disable-cjkutils \ --disable-detex \ --disable-dvi2tty \ + --disable-dvipng \ --disable-t1utils \ --build=$HOST --host=$HOST