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.44.ebuild
Date: Mon, 14 Apr 2008 15:08:53
Message-Id: E1JlQIc-0003zA-Iv@stork.gentoo.org
1 hkbst 08/04/14 15:08:50
2
3 Modified: ChangeLog
4 Added: lilypond-2.11.44.ebuild
5 Log:
6 bump, does it compile with gcc-4.3?
7 (Portage version: 2.1.5_rc3)
8
9 Revision Changes Path
10 1.78 media-sound/lilypond/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.78&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?rev=1.78&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/ChangeLog?r1=1.77&r2=1.78
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v
19 retrieving revision 1.77
20 retrieving revision 1.78
21 diff -u -r1.77 -r1.78
22 --- ChangeLog 11 Apr 2008 20:36:14 -0000 1.77
23 +++ ChangeLog 14 Apr 2008 15:08:50 -0000 1.78
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.77 2008/04/11 20:36:14 hkbst Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.78 2008/04/14 15:08:50 hkbst Exp $
29 +
30 +*lilypond-2.11.44 (14 Apr 2008)
31 +
32 + 14 Apr 2008; Marijn Schouten <hkBst@g.o> +lilypond-2.11.44.ebuild:
33 + bump, does it compile with gcc-4.3?
34
35 11 Apr 2008; Marijn Schouten <hkBst@g.o> lilypond-2.11.43.ebuild:
36 fix bug 217329
37
38
39
40 1.1 media-sound/lilypond/lilypond-2.11.44.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.44.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lilypond/lilypond-2.11.44.ebuild?rev=1.1&content-type=text/plain
44
45 Index: lilypond-2.11.44.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.44.ebuild,v 1.1 2008/04/14 15:08:50 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 econf \
110 $(use_enable debug debugging) \
111 $(use_enable profile profiling) \
112 --disable-gui \
113 --disable-documentation
114 # $(use_enable doc documentation) \
115
116 # without -j1 it will not fail, but building docs later will
117 emake -j1 || die "emake failed"
118
119 # if use doc; then
120 # emake -j1 web || die "emake web failed"
121 # fi
122
123 if use emacs; then
124 elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
125 || die "elisp-compile failed"
126 fi
127 }
128
129 # lilypond doesn't include the answers to the tests.
130 # You are supposed to build those yourself with an
131 # earlier version. Then running tests will compare the
132 # results of the tests against the results from the
133 # earlier version. As such, tests seem mostly useless
134 # for our purposes.
135 RESTRICT=test
136
137 src_install () {
138 emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install || die "emake install failed"
139
140 # if use doc; then
141 # # Note: installs .html docs, .pdf docs and examples
142 # emake out=www web-install DESTDIR=${D} \
143 # webdir=/usr/share/doc/${PF}/html || die "emake web-install failed"
144 # fi
145
146 # remove elisp files since they are in the wrong directory
147 rm -r "${D}"/usr/share/emacs
148
149 if use emacs; then
150 elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
151 || die "elisp-install failed"
152 elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
153 fi
154
155 dodoc AUTHORS.txt HACKING NEWS.txt README.txt
156
157 # use vim || rm -r ${D}/usr/share/vim
158 }
159
160 pkg_postinst() {
161 use emacs && elisp-site-regen
162 }
163
164 pkg_postrm() {
165 use emacs && elisp-site-regen
166 }
167
168
169
170 --
171 gentoo-commits@l.g.o mailing list