Gentoo Archives: gentoo-commits

From: "Marijn Schouten (hkbst)" <hkbst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/lilypond: ChangeLog lilypond-2.11.63.ebuild
Date: Fri, 31 Oct 2008 13:47:12
Message-Id: E1KvuLA-0003JW-Dd@stork.gentoo.org
1 hkbst 08/10/31 13:47:04
2
3 Modified: ChangeLog
4 Added: lilypond-2.11.63.ebuild
5 Log:
6 bump, fix bug 230706, reinstate -j1 (bug 236010)
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.88 media-sound/lilypond/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.88&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.88&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.87&r2=1.88
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
19 retrieving revision 1.87
20 retrieving revision 1.88
21 diff -u -r1.87 -r1.88
22 --- ChangeLog 14 Sep 2008 17:40:15 -0000 1.87
23 +++ ChangeLog 31 Oct 2008 13:47:04 -0000 1.88
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-sound/lilypond
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.87 2008/09/14 17:40:15 hkbst Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.88 2008/10/31 13:47:04 hkbst Exp $
29 +
30 +*lilypond-2.11.63 (31 Oct 2008)
31 +
32 + 31 Oct 2008; Marijn Schouten <hkBst@g.o> +lilypond-2.11.63.ebuild:
33 + bump, fix bug 230706, reinstate -j1 (bug 236010)
34
35 *lilypond-2.11.58 (14 Sep 2008)
36
37
38
39
40 1.1 media-sound/lilypond/lilypond-2.11.63.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.63.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.63.ebuild?rev=1.1&content-type=text/plain
44
45 Index: lilypond-2.11.63.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.11.63.ebuild,v 1.1 2008/10/31 13:47:04 hkbst Exp $
50
51 inherit eutils versionator toolchain-funcs elisp-common
52
53 DESCRIPTION="GNU Music Typesetter"
54 SRC_URI="http://download.linuxaudio.org/lilypond/sources/v$(get_version_component_range 1-2)/${P}.tar.gz"
55 HOMEPAGE="http://lilypond.org/"
56
57 SLOT="0"
58 LICENSE="GPL-2"
59 KEYWORDS="~alpha ~amd64 ~sparc ~x86"
60
61 #LANGS="cs da de es fi fr it ja nl ru rw sv tr zh_TW"
62 IUSE="debug emacs profile"
63 #IUSE="debug doc emacs gtk profile"
64
65 #for X in ${LANGS} ; do
66 # IUSE="${IUSE} linguas_${X/-/_}"
67 #done
68
69 # guile with deprecated and regex
70 RDEPEND="
71 >=media-libs/freetype-2
72 media-libs/fontconfig
73 >=x11-libs/pango-1.12.3
74 >=dev-scheme/guile-1.8.2
75 >=dev-lang/python-2.4
76 || ( >=app-text/ghostscript-gnu-8.15
77 >=app-text/ghostscript-gpl-8.15
78 >=app-text/ghostscript-esp-8.15 )
79 emacs? ( virtual/emacs )"
80
81 DEPEND="${RDEPEND}
82 >=media-gfx/fontforge-20070501
83 dev-texlive/texlive-metapost
84 app-text/t1utils
85 >=app-text/mftrace-1.2.9
86 >=sys-apps/texinfo-4.11
87 sys-devel/make
88 sys-devel/gettext
89 sys-devel/flex
90 dev-lang/perl
91 >=sys-devel/bison-2.0"
92 # doc? ( media-libs/netpbm
93 # media-gfx/imagemagick
94 # app-text/texi2html )"
95
96 pkg_setup() {
97 if has_version =dev-scheme/guile-1.8*; then
98 local flags="deprecated regex"
99 built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags"
100 fi
101 }
102
103 src_compile() {
104 if [[ $(gcc-major-version) -lt 4 ]]; then
105 eerror "You need GCC 4.x to build this software."
106 die "you need to compile with gcc-4 or later"
107 fi
108
109 # see bug 228823
110 econf --with-ncsb-dir=/usr/share/fonts/default/ghostscript \
111 $(use_enable debug debugging) \
112 $(use_enable profile profiling) \
113 --disable-gui \
114 --disable-documentation
115 # $(use_enable doc documentation)
116
117 # # without -j1 it will not fail, but building docs later will, bug 236010
118 emake -j1 || die "emake failed"
119 # emake || die "emake failed"
120
121 # -j is unsupported, but CPU_COUNT may be set instead
122 # if use doc; then
123 # emake -j1 CPU_COUNT=2 web || die "emake web failed"
124 # fi
125
126 if use emacs; then
127 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
128 || die "elisp-compile failed"
129 fi
130 }
131
132 # lilypond doesn't include the answers to the tests.
133 # You are supposed to build those yourself with an
134 # earlier version. Then running tests will compare the
135 # results of the tests against the results from the
136 # earlier version. As such, tests seem mostly useless
137 # for our purposes.
138 RESTRICT=test
139
140 src_install () {
141 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install || die "emake install failed"
142
143 # if use doc; then
144 # # Note: installs .html docs, .pdf docs and examples
145 # emake out=www web-install DESTDIR=${D} webdir=/usr/share/doc/${PF}/html || die "emake web-install failed"
146 # fi
147
148 # remove elisp files since they are in the wrong directory
149 rm -r "${D}"/usr/share/emacs
150
151 if use emacs; then
152 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
153 || die "elisp-install failed"
154 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
155 fi
156
157 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
158 }
159
160 pkg_postinst() {
161 use emacs && elisp-site-regen
162 }
163
164 pkg_postrm() {
165 use emacs && elisp-site-regen
166 }