From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-sound/lilypond/Manifest | 2 + media-sound/lilypond/files/50lilypond-gentoo.el | 7 ++ .../lilypond/files/lilypond-2.17.2-tex-docs.patch | 20 ++++ media-sound/lilypond/lilypond-2.18.2.ebuild | 127 +++++++++++++++++++++ media-sound/lilypond/lilypond-2.19.15.ebuild | 125 ++++++++++++++++++++ media-sound/lilypond/lilypond-9999.ebuild | 125 ++++++++++++++++++++ media-sound/lilypond/metadata.xml | 16 +++ 7 files changed, 422 insertions(+) create mode 100644 media-sound/lilypond/Manifest create mode 100644 media-sound/lilypond/files/50lilypond-gentoo.el create mode 100644 media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch create mode 100644 media-sound/lilypond/lilypond-2.18.2.ebuild create mode 100644 media-sound/lilypond/lilypond-2.19.15.ebuild create mode 100644 media-sound/lilypond/lilypond-9999.ebuild create mode 100644 media-sound/lilypond/metadata.xml (limited to 'media-sound/lilypond') diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest new file mode 100644 index 000000000000..44c4319bb39c --- /dev/null +++ b/media-sound/lilypond/Manifest @@ -0,0 +1,2 @@ +DIST lilypond-2.18.2.tar.gz 16027977 SHA256 329d733765b0ba7be1878ae3f457dbbb875cc2840d2b75af4afc48c9454fba07 SHA512 0692f6eb41733076ba7f610cd1e65762f4dfd67307e2ab9e222b140d58ae3a1bb1c6b3be3bcff778d57f161868cf6d57e99bf43bf20f2663d042a07493942ec6 WHIRLPOOL 95db264992a1e425fd1ee53d980941eef554c1784a1adfc105750d82d11664f61207c2b1897b6e99448790131c0715f08401f45b663c420553925596c6fd4b1c +DIST lilypond-2.19.15.tar.gz 16351341 SHA256 bc48d2cf23cfabf79e8b7fdfcb46b7e8c04ba63c3b076b5bca2bbb3a86a07da9 SHA512 a2004086ebd9f4d6fa5d38910a605a3fa7ce76e126f6be6e0c9cdc6a7443f47a435e5dfac1cf54c1eb5113b5c3909a57943c7f6e84c31b7bf7f4cb7c5bfa71c7 WHIRLPOOL 2e7610e7a21a6ce1f042789c2f30aad2ea626971b816ebb18aa45471cdebde7f53fb0e94f5d0d20e1d950efd125c50f76621e3fbc8f260d1cabfa2ee59e37e3e diff --git a/media-sound/lilypond/files/50lilypond-gentoo.el b/media-sound/lilypond/files/50lilypond-gentoo.el new file mode 100644 index 000000000000..50f62c44d28d --- /dev/null +++ b/media-sound/lilypond/files/50lilypond-gentoo.el @@ -0,0 +1,7 @@ + +;;; lilypond site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t) +(add-to-list 'auto-mode-alist '("\\.i?ly\\'" . LilyPond-mode)) +(add-hook 'LilyPond-mode-hook 'turn-on-font-lock) diff --git a/media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch b/media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch new file mode 100644 index 000000000000..9e0d7082c0d8 --- /dev/null +++ b/media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch @@ -0,0 +1,20 @@ +--- lilypond-2.17.2/GNUmakefile.in ++++ lilypond-2.17.2/GNUmakefile.in +@@ -5,7 +5,7 @@ + SUBDIRS = python scripts \ + flower lily \ + mf ly \ +- tex ps scm \ ++ ps scm \ + po \ + elisp vim \ + input \ +@@ -14,7 +14,7 @@ + + ## this convoluted construction is necessary, since we don't know the + ## value of DOCUMENTATION here. +-documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation) ++documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation tex) + + SCRIPTS = configure autogen.sh smart-autogen.sh smart-configure.sh + README_FILES = COPYING COPYING.FDL DEDICATION ROADMAP HACKING \ diff --git a/media-sound/lilypond/lilypond-2.18.2.ebuild b/media-sound/lilypond/lilypond-2.18.2.ebuild new file mode 100644 index 000000000000..2604de192bbc --- /dev/null +++ b/media-sound/lilypond/lilypond-2.18.2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit elisp-common autotools eutils python-single-r1 + +DESCRIPTION="GNU Music Typesetter" +SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz" +HOMEPAGE="http://lilypond.org/" + +LICENSE="GPL-3 FDL-1.3" +SLOT="0" +KEYWORDS="amd64 ~hppa x86" +LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" +IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=app-text/ghostscript-gpl-8.15 + >=dev-scheme/guile-1.8.2[deprecated,regex] + media-fonts/urw-fonts + media-libs/fontconfig + media-libs/freetype:2 + >=x11-libs/pango-1.12.3 + emacs? ( virtual/emacs ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + app-text/t1utils + dev-lang/perl + || ( + ( >=dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 ) + =sys-apps/texinfo-4.11 + >=sys-devel/bison-2.0 + sys-devel/flex + sys-devel/gettext + sys-devel/make" + +# Correct output data for tests isn't bundled with releases +RESTRICT="test" + +pkg_setup() { + # make sure >=metapost-1.803 is selected if it's installed, bug 498704 + if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then + if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then + einfo "Updating metapost symlink" + eselect mpost update || die + fi + fi + + python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch + + if ! use vim-syntax ; then + sed -i 's/vim//' GNUmakefile.in || die + fi + + # respect CFLAGS + sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die + + for lang in ${LANGS}; do + use linguas_${lang} || rm po/${lang}.po || die + done + + # respect AR + sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die + + # remove bundled texinfo file (fixes bug #448560) + rm tex/texinfo.tex || die + + eautoreconf +} + +src_configure() { + # documentation generation currently not supported since it requires a newer + # version of texi2html than is currently in the tree + + econf \ + --with-ncsb-dir=/usr/share/fonts/urw-fonts \ + --disable-documentation \ + --disable-optimising \ + --disable-pipe \ + $(use_enable debug debugging) \ + $(use_enable profile profiling) +} + +src_compile() { + default + + if use emacs ; then + elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ + || die "elisp-compile failed" + fi +} + +src_install () { + emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install + + # remove elisp files since they are in the wrong directory + rm -r "${ED}"/usr/share/emacs || die + + if use emacs ; then + elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + fi + + python_fix_shebang "${ED}" + + dodoc AUTHORS.txt HACKING NEWS.txt README.txt +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/media-sound/lilypond/lilypond-2.19.15.ebuild b/media-sound/lilypond/lilypond-2.19.15.ebuild new file mode 100644 index 000000000000..b53f90cc3712 --- /dev/null +++ b/media-sound/lilypond/lilypond-2.19.15.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit elisp-common autotools eutils python-single-r1 + +DESCRIPTION="GNU Music Typesetter" +SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz" +HOMEPAGE="http://lilypond.org/" + +LICENSE="GPL-3 FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" +IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=app-text/ghostscript-gpl-8.15 + >=dev-scheme/guile-1.8.2[deprecated,regex] + media-fonts/urw-fonts + media-libs/fontconfig + media-libs/freetype:2 + >=x11-libs/pango-1.12.3 + emacs? ( virtual/emacs ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + app-text/t1utils + dev-lang/perl + || ( + ( >=dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 ) + =sys-apps/texinfo-4.11 + >=sys-devel/bison-2.0 + sys-devel/flex + sys-devel/gettext + sys-devel/make" + +# Correct output data for tests isn't bundled with releases +RESTRICT="test" + +pkg_setup() { + # make sure >=metapost-1.803 is selected if it's installed, bug 498704 + if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then + if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then + einfo "Updating metapost symlink" + eselect mpost update || die + fi + fi + + python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch + + if ! use vim-syntax ; then + sed -i 's/vim//' GNUmakefile.in || die + fi + + # respect CFLAGS + sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die + + for lang in ${LANGS}; do + use linguas_${lang} || rm po/${lang}.po || die + done + + # respect AR + sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die + + # remove bundled texinfo file (fixes bug #448560) + rm tex/texinfo.tex || die + + eautoreconf +} + +src_configure() { + # documentation generation currently not supported since it requires a newer + # version of texi2html than is currently in the tree + + econf \ + --with-ncsb-dir=/usr/share/fonts/urw-fonts \ + --disable-documentation \ + --disable-optimising \ + --disable-pipe \ + $(use_enable debug debugging) \ + $(use_enable profile profiling) +} + +src_compile() { + default + + if use emacs ; then + elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ + || die "elisp-compile failed" + fi +} + +src_install () { + emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install + + # remove elisp files since they are in the wrong directory + rm -r "${ED}"/usr/share/emacs || die + + if use emacs ; then + elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + fi + + dodoc AUTHORS.txt HACKING NEWS.txt README.txt +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild new file mode 100644 index 000000000000..18d2f013153d --- /dev/null +++ b/media-sound/lilypond/lilypond-9999.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit elisp-common autotools eutils git-r3 python-single-r1 + +EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git" + +DESCRIPTION="GNU Music Typesetter" +HOMEPAGE="http://lilypond.org/" + +LICENSE="GPL-3 FDL-1.3" +SLOT="0" +LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW" +IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=">=app-text/ghostscript-gpl-8.15 + >=dev-scheme/guile-1.8.2[deprecated,regex] + media-fonts/urw-fonts + media-libs/fontconfig + media-libs/freetype:2 + >=x11-libs/pango-1.12.3 + emacs? ( virtual/emacs ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + app-text/t1utils + dev-lang/perl + || ( + ( >=dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 ) + =sys-apps/texinfo-4.11 + >=sys-devel/bison-2.0 + sys-devel/flex + sys-devel/gettext + sys-devel/make" + +# Correct output data for tests isn't bundled with releases +RESTRICT="test" + +pkg_setup() { + # make sure >=metapost-1.803 is selected if it's installed, bug 498704 + if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then + if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then + einfo "Updating metapost symlink" + eselect mpost update || die + fi + fi + + python-single-r1_pkg_setup +} + +src_prepare() { + if ! use vim-syntax ; then + sed -i 's/vim//' GNUmakefile.in || die + fi + + # respect CFLAGS + sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die + + for lang in ${LANGS}; do + use linguas_${lang} || rm po/${lang}.po || die + done + + # respect AR + sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die + + # remove bundled texinfo file (fixes bug #448560) + rm tex/texinfo.tex || die + + eautoreconf +} + +src_configure() { + # documentation generation currently not supported since it requires a newer + # version of texi2html than is currently in the tree + + econf \ + --with-ncsb-dir=/usr/share/fonts/urw-fonts \ + --disable-documentation \ + --disable-optimising \ + --disable-pipe \ + $(use_enable debug debugging) \ + $(use_enable profile profiling) +} + +src_compile() { + default + + if use emacs ; then + elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \ + || die "elisp-compile failed" + fi +} + +src_install () { + emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install + + # remove elisp files since they are in the wrong directory + rm -r "${ED}"/usr/share/emacs || die + + if use emacs ; then + elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \ + || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el + fi + + python_fix_shebang "${ED}" + + dodoc HACKING README.txt +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/media-sound/lilypond/metadata.xml b/media-sound/lilypond/metadata.xml new file mode 100644 index 000000000000..ea8736230eea --- /dev/null +++ b/media-sound/lilypond/metadata.xml @@ -0,0 +1,16 @@ + + + + scheme + + hkBst@gentoo.org + Marijn Schouten + + + radhermit@gentoo.org + Tim Harder + + +LilyPond is an automated engraving system. It formats music beautifully and automatically, and has a friendly syntax for its input files. + + -- cgit v1.2.3-65-gdbad