ap/lilypond: Upgraded to lilypond-2.14.2.

slackware-14.2
Damien Goutte-Gattat 2011-10-22 12:15:26 +02:00
parent 6538372d82
commit dc36f09508
6 changed files with 11 additions and 25 deletions

View File

@ -1 +0,0 @@
662b34a4817e65ed9e08fb187bc73e9d54d9fcbf lilypond-2.12.3-1.documentation.tar.bz2

View File

@ -1,12 +0,0 @@
diff -Naur lilypond-2.12.3.orig/lily/spacing-spanner.cc lilypond-2.12.3/lily/spacing-spanner.cc
--- lilypond-2.12.3.orig/lily/spacing-spanner.cc 2010-01-12 17:20:49.000000000 +0100
+++ lilypond-2.12.3/lily/spacing-spanner.cc 2011-05-02 15:49:27.741016198 +0200
@@ -38,7 +38,7 @@
vsize end = binary_search (all, (Grob*) me->get_bound (RIGHT),
&Paper_column::less_than);
- all = vector<Grob*>::vector<Grob*> (all.begin () + start,
+ all = vector<Grob*> (all.begin () + start,
all.begin () + end + 1);
return all;
}

View File

@ -1 +0,0 @@
f36072d5f57b2a3d3877e82879be375d548aa951 lilypond-2.12.3.tar.gz

View File

@ -0,0 +1 @@
da2e66a604c06ff55e66e11ec8812c2c32b4cf6f lilypond-2.14.2-1.documentation.tar.bz2

View File

@ -0,0 +1 @@
0ea657bb184d9d6a2e3f6bca91e6b0d62a3a013e lilypond-2.14.2.tar.gz

View File

@ -28,10 +28,10 @@
# Source package infos
NAMESRC=${NAMESRC:-lilypond}
VERSION=${VERSION:-2.12.3}
VERSION=${VERSION:-2.14.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
ARCHDOC=${ARCHDOC:-$NAMESRC-$VERSION-1.documentation.tar.bz2}
WGET=${WGET:-http://lilypond.org/download/sources/v2.12/$ARCHIVE}
WGET=${WGET:-http://lilypond.org/download/sources/v2.14/$ARCHIVE}
WGETDOC=${WGETDOC:-http://lilypond.org/download/binaries/documentation/$ARCHDOC}
# Build infos
@ -92,7 +92,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/lilypond-2.12.3-spacing-spanner-vector.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
@ -113,20 +112,19 @@ find $PKG/usr/man -type f -exec gzip -9 '{}' \;
find $PKG/usr/info -type f -exec gzip -9 '{}' \;
# Install the project docs
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS.txt COPYING DEDICATION HACKING INSTALL.txt \
NEWS.txt README.txt ROADMAP THANKS VERSION $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAME/manuals
install -m 644 AUTHORS.txt COPYING{,.FDL} DEDICATION HACKING INSTALL.txt \
LICENSE{,.DOCUMENTATION} NEWS.txt README.txt ROADMAP THANKS VERSION \
$PKG/usr/doc/$NAME
# Building Lilypond documentation from source takes a *long* time and
# requires more memory than my virtual machine can provide. So, install
# the pre-built documentation.
(
tar xf $CWD/$ARCHDOC
cd share/doc/lilypond
rm -rf html/input
# Keep only English docs
find . \( -name '*.fr.*' -o -name '*.de.*' -o -name '*.es.*' -o -name '*.ja.*' \) -delete
cp -r html $PKG/usr/doc/$NAME/html
cd share/doc/lilypond/html/offline-root/Documentation
# Install only English PDF docs
find . -maxdepth 1 -regex './[^.]+\.pdf' -exec cp {} $PKG/usr/doc/$NAME/manuals \;
)
# Copy slack-desc file