diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-10-01 15:12:30 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-10-01 15:12:30 +0000 |
commit | 648018e0028acef37bc8063d95ea0b7ebfd854dc (patch) | |
tree | b1d44efeb81164f43a4ec3c2ab2ae95bbe26c5e6 /media-sound/lilypond | |
parent | version bump (diff) | |
download | historical-648018e0028acef37bc8063d95ea0b7ebfd854dc.tar.gz historical-648018e0028acef37bc8063d95ea0b7ebfd854dc.tar.bz2 historical-648018e0028acef37bc8063d95ea0b7ebfd854dc.zip |
version bump
Diffstat (limited to 'media-sound/lilypond')
-rw-r--r-- | media-sound/lilypond/Manifest | 4 | ||||
-rw-r--r-- | media-sound/lilypond/files/digest-lilypond-2.0.0 | 1 | ||||
-rw-r--r-- | media-sound/lilypond/files/lilypond-2.0.0-coreutils-compat.patch | 116 | ||||
-rw-r--r-- | media-sound/lilypond/lilypond-2.0.0.ebuild | 104 |
4 files changed, 223 insertions, 2 deletions
diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest index 3367d6be19ba..91596bbec8d0 100644 --- a/media-sound/lilypond/Manifest +++ b/media-sound/lilypond/Manifest @@ -1,9 +1,9 @@ MD5 191399a858d12633982583c1dd0ca4e5 lilypond-1.5.15.ebuild 758 MD5 12b0ac2a4e70332a97a2087b81812aae lilypond-1.6.9.ebuild 2737 MD5 64ce9864da4f354f00f77c57640f8cae lilypond-1.6.6.ebuild 3050 -MD5 b95a0dbccdb5b982f7d64239ff206b8b lilypond-2.0.0.ebuild 2488 +MD5 fe846b079842dbb5308851c4f4e50a97 lilypond-2.0.0.ebuild 2960 MD5 e7f6bbf1a21e277bf7bdb3a53e8133ef lilypond-1.8.2.ebuild 2794 -MD5 2049d3aa87395e7d0de69a70db8ad30a ChangeLog 2607 +MD5 30f050a79074f621f49041c44f8706e4 ChangeLog 2607 MD5 8d0e1943fd413ff9d7d90857eb301ee6 files/lilypond-1.8.2-coreutils-compat.patch 4485 MD5 d3708d2873d08b1272e434098fd1ad85 files/lilypond-2.0.0-coreutils-compat.patch 5638 MD5 42dc732527fc9a940a950f3a498a8b48 files/digest-lilypond-1.6.6 67 diff --git a/media-sound/lilypond/files/digest-lilypond-2.0.0 b/media-sound/lilypond/files/digest-lilypond-2.0.0 new file mode 100644 index 000000000000..2834e2681783 --- /dev/null +++ b/media-sound/lilypond/files/digest-lilypond-2.0.0 @@ -0,0 +1 @@ +MD5 80faf9f9abc4ecf72a71ba0036cdfee0 lilypond-2.0.0.tar.gz 1771134 diff --git a/media-sound/lilypond/files/lilypond-2.0.0-coreutils-compat.patch b/media-sound/lilypond/files/lilypond-2.0.0-coreutils-compat.patch new file mode 100644 index 000000000000..ab4c943db386 --- /dev/null +++ b/media-sound/lilypond/files/lilypond-2.0.0-coreutils-compat.patch @@ -0,0 +1,116 @@ +diff -uNr lilypond-2.0.0/aclocal.m4 lilypond-2.0.0-coreutils-compat/aclocal.m4 +--- lilypond-2.0.0/aclocal.m4 2003-09-23 14:37:06.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/aclocal.m4 2003-09-25 12:11:13.000000000 -0600 +@@ -11,13 +11,13 @@ + ## command -v doesn't work in zsh + ## command -v "$1" 2>&1 + ## this test should work in ash, bash, pdksh (ksh), zsh +- type -p "$1" 2>/dev/null | tail -1 | awk '{print $NF}' ++ type -p "$1" 2>/dev/null | tail -n 1 | awk '{print $NF}' + ]) + + + # Get version string from executable ($1) + AC_DEFUN(STEPMAKE_GET_VERSION, [ +- ## "$1" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}' ++ ## "$1" --version 2>&1 | grep -v '^$' | head -n 1 | awk '{print $NF}' + ## + ## ARG. + ## Workaround for broken Debian gcc version string: +@@ -28,7 +28,7 @@ + ## Assume, and hunt for, dotted version multiplet. + + changequote(<<, >>)dnl +- ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -1 | \ ++ ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -n 1 | \ + sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/' + changequote([, ])dnl + ]) +diff -uNr lilypond-2.0.0/autogen.sh lilypond-2.0.0-coreutils-compat/autogen.sh +--- lilypond-2.0.0/autogen.sh 2003-09-21 17:10:12.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/autogen.sh 2003-09-25 12:11:23.000000000 -0600 +@@ -23,7 +23,7 @@ + # If you have such a setup, invoke this script as: + # autoconf=autoconf2.50 ./autogen.sh + for i in autoconf2.50 autoconf-2.50 autoconf false; do +- version=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'` ++ version=`$i --version 2>/dev/null | head -n 1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'` + if test "0$version" -ge 250; then + autoconf=$i + break +diff -uNr lilypond-2.0.0/buildscripts/mf-to-xpms.sh lilypond-2.0.0-coreutils-compat/buildscripts/mf-to-xpms.sh +--- lilypond-2.0.0/buildscripts/mf-to-xpms.sh 1999-10-04 03:11:14.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/buildscripts/mf-to-xpms.sh 2003-09-25 12:09:22.000000000 -0600 +@@ -21,7 +21,7 @@ + gftopk out/$font.${RESOLUTION}gf out/$font.${RESOLUTION}pk + fi + +-# num=`grep "^C *[0-9]*;" $afm | tail -1 | sed "s!^C *\([^;]*\).*!\\1!"` ++# num=`grep "^C *[0-9]*;" $afm | tail -n 1 | sed "s!^C *\([^;]*\).*!\\1!"` + # num=66 + # tex=out/$font.tex + # cat > $tex <<EOF +diff -uNr lilypond-2.0.0/stepmake/aclocal.m4 lilypond-2.0.0-coreutils-compat/stepmake/aclocal.m4 +--- lilypond-2.0.0/stepmake/aclocal.m4 2003-09-23 14:35:16.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/stepmake/aclocal.m4 2003-09-25 12:13:42.000000000 -0600 +@@ -11,13 +11,13 @@ + ## command -v doesn't work in zsh + ## command -v "$1" 2>&1 + ## this test should work in ash, bash, pdksh (ksh), zsh +- type -p "$1" 2>/dev/null | tail -1 | awk '{print $NF}' ++ type -p "$1" 2>/dev/null | tail -n 1 | awk '{print $NF}' + ]) + + + # Get version string from executable ($1) + AC_DEFUN(STEPMAKE_GET_VERSION, [ +- ## "$1" --version 2>&1 | grep -v '^$' | head -1 | awk '{print $NF}' ++ ## "$1" --version 2>&1 | grep -v '^$' | head -n 1 | awk '{print $NF}' + ## + ## ARG. + ## Workaround for broken Debian gcc version string: +@@ -28,7 +28,7 @@ + ## Assume, and hunt for, dotted version multiplet. + + changequote(<<, >>)dnl +- ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -1 | \ ++ ("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' | head -n 1 | \ + sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/' + changequote([, ])dnl + ]) +diff -uNr lilypond-2.0.0/stepmake/autogen.sh lilypond-2.0.0-coreutils-compat/stepmake/autogen.sh +--- lilypond-2.0.0/stepmake/autogen.sh 2003-09-21 17:09:56.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/stepmake/autogen.sh 2003-09-25 12:13:56.000000000 -0600 +@@ -23,7 +23,7 @@ + # If you have such a setup, invoke this script as: + # autoconf=autoconf2.50 ./autogen.sh + for i in autoconf2.50 autoconf-2.50 autoconf false; do +- version=`$i --version 2>/dev/null | head -1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'` ++ version=`$i --version 2>/dev/null | head -n 1 | awk '{print $NF}' | awk -F. '{print $1 * 100 + $2}'` + if test "0$version" -ge 250; then + autoconf=$i + break +diff -uNr lilypond-2.0.0/stepmake/bin/stepmakeise.sh lilypond-2.0.0-coreutils-compat/stepmake/bin/stepmakeise.sh +--- lilypond-2.0.0/stepmake/bin/stepmakeise.sh 1998-07-08 02:04:40.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/stepmake/bin/stepmakeise.sh 2003-09-25 12:15:07.000000000 -0600 +@@ -54,7 +54,7 @@ + echo "$name: huh 2?" + exit 1 + fi +- LATEST=`cd $reldir; ls -t1 stepmake-*.tar.gz | head -1 | sed 's!stepmake-!!' | sed 's!.tar.gz!!'` ++ LATEST=`cd $reldir; ls -t1 stepmake-*.tar.gz | head -n 1 | sed 's!stepmake-!!' | sed 's!.tar.gz!!'` + # urg + latest=`echo $LATEST | sed 's/\.[a-zA-Z][a-zA-Z]*[0-9]*$//'` + latest_val=`value $latest` +diff -uNr lilypond-2.0.0/stepmake/stepmake/automatically-generated.sub.make lilypond-2.0.0-coreutils-compat/stepmake/stepmake/automatically-generated.sub.make +--- lilypond-2.0.0/stepmake/stepmake/automatically-generated.sub.make 2002-05-17 06:09:10.000000000 -0600 ++++ lilypond-2.0.0-coreutils-compat/stepmake/stepmake/automatically-generated.sub.make 2003-09-25 12:15:18.000000000 -0600 +@@ -3,7 +3,7 @@ + + default: + -chmod +w $(OUTFILE) +- head -1 $(INFILE) > $(OUTFILE) ++ head -n 1 $(INFILE) > $(OUTFILE) + echo "$(LINECOMMENT) WARNING WARNING WARNING" >> $(OUTFILE) + echo "$(LINECOMMENT) do not edit! this is $(OUTFILE), generated from $(INFILE)" >> $(OUTFILE) + cat $(INFILE) >> $(OUTFILE) diff --git a/media-sound/lilypond/lilypond-2.0.0.ebuild b/media-sound/lilypond/lilypond-2.0.0.ebuild new file mode 100644 index 000000000000..607e1fc9b009 --- /dev/null +++ b/media-sound/lilypond/lilypond-2.0.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.0.0.ebuild,v 1.1 2003/10/01 15:12:26 agriffis Exp $ + +IUSE="doc" + +MY_PV="v$(echo ${PV} | cut -d. -f1,2)" +DESCRIPTION="GNU Music Typesetter" +SRC_URI="http://www.lilypond.org/ftp/${MY_PV}/${P}.tar.gz" +HOMEPAGE="http://lilypond.org/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~x86" + +DEPEND=">=dev-lang/python-2.2.3-r1 + >=dev-lang/perl-5.8.0-r12 + >=dev-util/guile-1.6.4 + >=app-text/tetex-1.0.7-r12 + >=sys-apps/texinfo-4.6 + >=sys-devel/flex-2.5.4a-r5 + >=sys-devel/gcc-3.1-r8 + >=sys-devel/make-3.80 + >=app-text/mftrace-1.0.19 + >=app-text/ghostscript-7.05.6-r3 + || ( + =sys-devel/bison-1.35* + >=sys-devel/bison-1.875 + ) + doc? ( media-gfx/imagemagick + >=media-libs/netpbm-9.12-r4 )" + +RDEPEND=">=dev-util/guile-1.6.4 + >=app-text/ghostscript-7.05.6-r3 + >=app-text/tetex-1.0.7-r12 + >=dev-lang/python-2.2.3-r1" + +src_unpack() { + unpack ${A} || die "unpack failed" + cd ${S}; epatch ${FILESDIR}/${P}-coreutils-compat.patch + NOCONFIGURE=1 ./autogen.sh >/dev/null +} + +src_compile() { + # Remove ccache from the PATH since it can break compilation of + # this package. See bug 21305 + PATH="$(echo ":${PATH}:" | sed 's/:[^:]*ccache[^:]*:/:/;s/^://;s/:$//;')" + + addwrite /dev/stderr + addwrite /var/cache/fonts + addwrite /usr/share/texmf/fonts + addwrite /usr/share/texmf/ls-R + + econf --build=${CHOST} || die "econf failed" + emake || die "emake failed" + + if use doc; then + make web || die "make web failed" + fi +} + +src_install () { + einstall \ + lilypond_datadir=${D}/usr/share/lilypond \ + local_lilypond_datadir=${D}/usr/share/lilypond/${PV} \ + || die "einstall failed" + + dodoc AUTHORS.txt COPYING ChangeLog DEDICATION INSTALL.txt \ + NEWS.txt README.txt ROADMAP THANKS VERSION \ + || die "dodoc failed" + + insinto /usr/share/lilypond/${PV}/buildscripts/out + doins buildscripts/out/lilypond-profile \ + buildscripts/out/lilypond-login \ + buildscripts/out/clean-fonts \ + buildscripts/out/lilypond.words \ + || die "doins failed" + insinto /usr/share/lilypond/${PV}/elisp/out + doins elisp/out/lilypond.words.el elisp/out/lilypond.words.vim \ + || die "doins failed" + insinto /usr/share/lilypond/${PV}/elisp + doins elisp/*.el \ + || die "doins failed" + insinto /usr/share/lilypond/${PV}/ + doins lilypond.vim vimrc \ + || die "doins failed" + + # we might be able to get the new "make out=www web-install" + # to work (if someone wants to fight with it), but our + # old way is easier for now: + if use doc; then + dohtml -A txt,midi,ly,pdf,gz -r Documentation input *.html *.png \ + || die "doins failed" + fi +} + +pkg_postinst () { + # Cleaning out old fonts is more appropriate in pkg_prerm, but we + # also need to clean up after any previous lilypond installations. + . /usr/share/lilypond/${PV}/buildscripts/out/clean-fonts +} + +pkg_prerm () { + . /usr/share/lilypond/${PV}/buildscripts/out/clean-fonts +} |