Browse Source

ap/lilypond: Upgraded to lilypond-2.18.2.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent
commit
aee258d673
  1. 1
      ap/lilypond/lilypond-2.16.2-1.documentation.tar.bz2.sha1
  2. 1
      ap/lilypond/lilypond-2.16.2.tar.gz.sha1
  3. 1
      ap/lilypond/lilypond-2.18.2-1.documentation.tar.bz2.sha1
  4. 12
      ap/lilypond/lilypond-2.18.2-fontforge-version-check.diff
  5. 1
      ap/lilypond/lilypond-2.18.2.tar.gz.sha1
  6. 27
      ap/lilypond/lilypond.SlackBuild

1
ap/lilypond/lilypond-2.16.2-1.documentation.tar.bz2.sha1

@ -1 +0,0 @@
c0dd4a5598e092547a81be1b57705aa37d8e5715 lilypond-2.16.2-1.documentation.tar.bz2

1
ap/lilypond/lilypond-2.16.2.tar.gz.sha1

@ -1 +0,0 @@
1eb3b0e5c117a8669dba19ab28f933351e51e39a lilypond-2.16.2.tar.gz

1
ap/lilypond/lilypond-2.18.2-1.documentation.tar.bz2.sha1

@ -0,0 +1 @@
82b0b1213eb8e39cc9e6014b450d4cc1159ebd4a lilypond-2.18.2-1.documentation.tar.bz2

12
ap/lilypond/lilypond-2.18.2-fontforge-version-check.diff

@ -0,0 +1,12 @@
diff -Naur lilypond-2.18.2.orig/aclocal.m4 lilypond-2.18.2/aclocal.m4
--- lilypond-2.18.2.orig/aclocal.m4 2014-03-17 16:29:16.000000000 +0100
+++ lilypond-2.18.2/aclocal.m4 2015-07-20 23:48:09.857819701 +0200
@@ -42,7 +42,7 @@
if test -z "$_ver"; then
## If empty, try date [fontforge]
- eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\{6,8\}' \
+ eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep 'libfontforge [0-9]\{6,8\}' \
| head -n 1 \
| sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
fi

1
ap/lilypond/lilypond-2.18.2.tar.gz.sha1

@ -0,0 +1 @@
09d3a1e0e9fadeb8ef6e279227a2b30812c7ee9b lilypond-2.18.2.tar.gz

27
ap/lilypond/lilypond.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012,2015 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# ispermitted provided that the following conditions are met:
@ -28,10 +28,10 @@
# Source package infos
NAMESRC=${NAMESRC:-lilypond}
VERSION=${VERSION:-2.16.2}
VERSION=${VERSION:-2.18.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
ARCHDOC=${ARCHDOC:-$NAMESRC-$VERSION-1.documentation.tar.bz2}
WGET=${WGET:-http://lilypond.org/download/sources/v2.16/$ARCHIVE}
WGET=${WGET:-http://lilypond.org/download/sources/v2.18/$ARCHIVE}
WGETDOC=${WGETDOC:-http://lilypond.org/download/binaries/documentation/$ARCHDOC}
# Build infos
@ -92,6 +92,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/lilypond-2.18.2-fontforge-version-check.diff
./autogen.sh --noconf
mkdir build && cd build
GUILE=/usr/bin/guile1 \
GUILE_CONFIG=/usr/bin/guile1-config \
@ -102,7 +104,8 @@ CXXFLAGS=$CPUOPT \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--infodir=/usr/info \
--disable-debugging
--disable-debugging \
--disable-documentation
make -j $JOBS
make install DESTDIR=$PKG
cd ..
@ -111,14 +114,10 @@ cd ..
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man and info pages
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/manuals
install -m 644 AUTHORS.txt COPYING{,.FDL} DEDICATION HACKING INSTALL.txt \
LICENSE{,.DOCUMENTATION} NEWS.txt README.txt ROADMAP THANKS VERSION \
LICENSE{,.DOCUMENTATION,.OFL} NEWS.txt README.txt ROADMAP VERSION \
$PKG/usr/doc/$NAME
# Building Lilypond documentation from source takes a *long* time and
@ -127,10 +126,20 @@ install -m 644 AUTHORS.txt COPYING{,.FDL} DEDICATION HACKING INSTALL.txt \
(
tar xf $CWD/$ARCHDOC
cd share/doc/lilypond/html/Documentation
# Install only English PDF docs
find . -maxdepth 1 -regex './[^.]+\.pdf' -exec cp {} $PKG/usr/doc/$NAME/manuals \;
)
# Install man pages
cp share/man/man1/*.1 $PKG/usr/man/man1/
find $PKG/usr/man -type f -exec gzip -9 '{}' \;
# Install info pages
mkdir $PKG/usr/info
cp share/info/*.info{,-?} $PKG/usr/info/
find $PKG/usr/info -type f -exec gzip -9 '{}' \;
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save