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.50.ebuild
Date: Thu, 03 Jul 2008 18:10:04
Message-Id: E1KETFm-0007JP-A5@stork.gentoo.org
1 hkbst 08/07/03 18:09:58
2
3 Modified: ChangeLog
4 Added: lilypond-2.11.50.ebuild
5 Log:
6 bump, fix bug 228823
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.23-gentoo-r8 x86_64)
8
9 Revision Changes Path
10 1.82 media-sound/lilypond/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 12 Jun 2008 20:39:21 -0000 1.81
23 +++ ChangeLog 3 Jul 2008 18:09:57 -0000 1.82
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.81 2008/06/12 20:39:21 hkbst Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.82 2008/07/03 18:09:57 hkbst Exp $
29 +
30 +*lilypond-2.11.50 (03 Jul 2008)
31 +
32 + 03 Jul 2008; Marijn Schouten <hkBst@g.o> +lilypond-2.11.50.ebuild:
33 + bump
34
35 *lilypond-2.11.49 (12 Jun 2008)
36
37
38
39
40 1.1 media-sound/lilypond/lilypond-2.11.50.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.50.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.50.ebuild?rev=1.1&content-type=text/plain
44
45 Index: lilypond-2.11.50.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.50.ebuild,v 1.1 2008/07/03 18:09:57 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 vim"
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.1
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 # >=app-text/ghostscript-gnu-8.55"
81
82 # virtual/tetex
83
84 DEPEND="${RDEPEND}
85 >=media-gfx/fontforge-20070501
86 >=app-text/mftrace-1.2.9
87 >=sys-apps/texinfo-4.11
88 sys-devel/make
89 sys-devel/gettext
90 sys-devel/flex
91 dev-lang/perl
92 >=sys-devel/bison-2.0"
93 # doc? ( media-libs/netpbm
94 # media-gfx/imagemagick )"
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
118 emake -j1 || die "emake failed"
119
120 # if use doc; then
121 # emake -j1 web || die "emake web failed"
122 # fi
123
124 if use emacs; then
125 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
126 || die "elisp-compile failed"
127 fi
128 }
129
130 # lilypond doesn't include the answers to the tests.
131 # You are supposed to build those yourself with an
132 # earlier version. Then running tests will compare the
133 # results of the tests against the results from the
134 # earlier version. As such, tests seem mostly useless
135 # for our purposes.
136 RESTRICT=test
137
138 src_install () {
139 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install || die "emake install failed"
140
141 # if use doc; then
142 # # Note: installs .html docs, .pdf docs and examples
143 # emake out=www web-install DESTDIR=${D} \
144 # webdir=/usr/share/doc/${PF}/html || die "emake web-install failed"
145 # fi
146
147 # remove elisp files since they are in the wrong directory
148 rm -r "${D}"/usr/share/emacs
149
150 if use emacs; then
151 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
152 || die "elisp-install failed"
153 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
154 fi
155
156 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
157
158 # use vim || rm -r ${D}/usr/share/vim
159 }
160
161 pkg_postinst() {
162 use emacs && elisp-site-regen
163 }
164
165 pkg_postrm() {
166 use emacs && elisp-site-regen
167 }
168
169
170
171 --
172 gentoo-commits@l.g.o mailing list