summaryrefslogtreecommitdiff
path: root/media-sound/lilypond/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/lilypond/files
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/lilypond/files')
-rw-r--r--media-sound/lilypond/files/50lilypond-gentoo.el7
-rw-r--r--media-sound/lilypond/files/lilypond-2.17.2-tex-docs.patch20
-rw-r--r--media-sound/lilypond/files/lilypond-2.18.2-fontforge.patch29
3 files changed, 56 insertions, 0 deletions
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/files/lilypond-2.18.2-fontforge.patch b/media-sound/lilypond/files/lilypond-2.18.2-fontforge.patch
new file mode 100644
index 000000000000..cfd3295b3948
--- /dev/null
+++ b/media-sound/lilypond/files/lilypond-2.18.2-fontforge.patch
@@ -0,0 +1,29 @@
+From a832764e7300d48468a6812077b899a4beed271b Mon Sep 17 00:00:00 2001
+From: Masamichi Hosoda <trueroad@trueroad.jp>
+Date: Sat, 22 Aug 2015 21:20:17 +0900
+Subject: [PATCH] Fix fontforge version detection
+
+Newer fontforge shows git hash in `fontforge --version`.
+In that case, configure script
+might recognize it as date (version).
+---
+ aclocal.m4 | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/aclocal.m4 b/aclocal.m4
+index 48d0b77..0037c58 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -42,7 +42,8 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [
+
+ 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 '\(^\|[^0-9a-f]\)[0-9]\{6,8\}\([^0-9a-f]\|$\)' \
+ | head -n 1 \
+ | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
+ fi
+--
+2.6.2
+