summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2006-03-27 02:52:04 +0000
committerAron Griffis <agriffis@gentoo.org>2006-03-27 02:52:04 +0000
commit7121bff4006bd070394610eafc33cc682e7ed7d1 (patch)
tree4839148c6774b0dfb4a2560eb667c94d0a1e6638 /media-sound
parentold (diff)
downloadhistorical-7121bff4006bd070394610eafc33cc682e7ed7d1.tar.gz
historical-7121bff4006bd070394610eafc33cc682e7ed7d1.tar.bz2
historical-7121bff4006bd070394610eafc33cc682e7ed7d1.zip
Fix support of USE=emacs. Fix sandbox issue when the same version of
lilypond is re-installed Package-Manager: portage-2.1_pre5-r4
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/lilypond/ChangeLog9
-rw-r--r--media-sound/lilypond/Manifest24
-rw-r--r--media-sound/lilypond/files/digest-lilypond-2.8.0-r1 (renamed from media-sound/lilypond/files/digest-lilypond-2.8.0)0
-rw-r--r--media-sound/lilypond/lilypond-2.8.0-r1.ebuild (renamed from media-sound/lilypond/lilypond-2.8.0.ebuild)26
4 files changed, 37 insertions, 22 deletions
diff --git a/media-sound/lilypond/ChangeLog b/media-sound/lilypond/ChangeLog
index 9c1b27eb87af..462524eb0b9d 100644
--- a/media-sound/lilypond/ChangeLog
+++ b/media-sound/lilypond/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/lilypond
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.39 2006/03/26 21:51:40 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/ChangeLog,v 1.40 2006/03/27 02:52:04 agriffis Exp $
+
+*lilypond-2.8.0-r1 (27 Mar 2006)
+
+ 27 Mar 2006; Aron Griffis <agriffis@gentoo.org> -lilypond-2.8.0.ebuild,
+ +lilypond-2.8.0-r1.ebuild:
+ Fix support of USE=emacs. Fix sandbox issue when the same version of
+ lilypond is re-installed
26 Mar 2006; Aron Griffis <agriffis@gentoo.org> lilypond-2.0.3.ebuild,
lilypond-2.2.4.ebuild, lilypond-2.2.6.ebuild, lilypond-2.4.2.ebuild,
diff --git a/media-sound/lilypond/Manifest b/media-sound/lilypond/Manifest
index 257a541bcdac..95f90e9e7b0e 100644
--- a/media-sound/lilypond/Manifest
+++ b/media-sound/lilypond/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 37f2771e99c22f9180101978b8f4a23c ChangeLog 6621
-RMD160 bdc9abf26183be0fbe0c9a05ae1b2131faf775b1 ChangeLog 6621
-SHA256 60bc7ca13884b54797b7003f45baa073105cc0c4e9f623cfec6d44ff1a36a636 ChangeLog 6621
+MD5 ad7075eb8c0981dd6638fb440178d5f7 ChangeLog 6857
+RMD160 603b91df2cde2764600a392cecac154f2ffce7d4 ChangeLog 6857
+SHA256 923fe878b4ad68c6ce9abcf6abe3e8a96851df58f135c0d427fbf2b106b7e6d9 ChangeLog 6857
MD5 0c696acd218d39a22a32db326ac9d5b0 files/digest-lilypond-2.0.3 67
RMD160 8908bebb00cb94d82ff136164804e09f46466a96 files/digest-lilypond-2.0.3 67
SHA256 3bb477acdffe3703ffefba9d7e27b0d59061b4bd19847bb1ab55152584b2d621 files/digest-lilypond-2.0.3 67
@@ -19,9 +19,9 @@ SHA256 e2daf38c4a90c0268dc7daf0344f9668334937642560f8570efae1dd9d2102cb files/di
MD5 16a923371e2af6d883c782b974b6d32f files/digest-lilypond-2.5.2 67
RMD160 d17185ff66854599e93382256fea370a21658532 files/digest-lilypond-2.5.2 67
SHA256 c8d22e5f863b43e3ecc155d2bdc13654206c508ef58c93d61e277b09180ad975 files/digest-lilypond-2.5.2 67
-MD5 a0fdbded6e8885f4420394065b04ded4 files/digest-lilypond-2.8.0 548
-RMD160 05d7b40c3401a9406cd582b11f9b73fe19b1f259 files/digest-lilypond-2.8.0 548
-SHA256 b816c1638e7d39363f3be6dcf0d74ad81b06024b23f2a76ff67e8d0a2274c7d8 files/digest-lilypond-2.8.0 548
+MD5 a0fdbded6e8885f4420394065b04ded4 files/digest-lilypond-2.8.0-r1 548
+RMD160 05d7b40c3401a9406cd582b11f9b73fe19b1f259 files/digest-lilypond-2.8.0-r1 548
+SHA256 b816c1638e7d39363f3be6dcf0d74ad81b06024b23f2a76ff67e8d0a2274c7d8 files/digest-lilypond-2.8.0-r1 548
MD5 d3708d2873d08b1272e434098fd1ad85 files/lilypond-2.0.0-coreutils-compat.patch 5638
RMD160 0f6620c39939013ec2460728881bbe0d2edc60f2 files/lilypond-2.0.0-coreutils-compat.patch 5638
SHA256 b40f47a164a9f29ed0d98a4ddac91293ec3347044c97042726f96b361417749c files/lilypond-2.0.0-coreutils-compat.patch 5638
@@ -40,16 +40,16 @@ SHA256 f593562abc216a1a001c20171a5b605b04f61357a9f090c9bf60c134b454b886 lilypond
MD5 925f65dc4d22d6aaec43c13f8190d6e4 lilypond-2.5.2.ebuild 3226
RMD160 bfce4c1e62b4995c2d2c1778145047c620b3da7a lilypond-2.5.2.ebuild 3226
SHA256 c16ff7cb1823490feb989969ee3634c2e6a3bad02de6a013f8d39eed2f553570 lilypond-2.5.2.ebuild 3226
-MD5 0786ea75df93aef83ffb2899aaee6654 lilypond-2.8.0.ebuild 2073
-RMD160 c3d4c40e7413059136ab1fcb26bb6afc909d9ab4 lilypond-2.8.0.ebuild 2073
-SHA256 1d6f49a2a16632846be8461f3011eafacf09837a2134140bad6555fd18a3dcee lilypond-2.8.0.ebuild 2073
+MD5 dc19b1c415bc6a52e9d2a81e3738d79d lilypond-2.8.0-r1.ebuild 2361
+RMD160 4f377f8e883d353f491ec7bb8f8e31309f3e75ff lilypond-2.8.0-r1.ebuild 2361
+SHA256 222db82ca0333d354fa739adea5ecd385ea5342188a353cc7d67b87d5a8f1c3a lilypond-2.8.0-r1.ebuild 2361
MD5 50117cfdeb267d9181cf9cacac87d8a6 metadata.xml 256
RMD160 f564038fc21efdd3b5ee03d1de546221990ef183 metadata.xml 256
SHA256 4c0605b0c821709464eafa37874903cd8181aae4503efa5b9d14f6a3974dfd1c metadata.xml 256
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
-iD8DBQFEJwz2JrHF4yAQTrARAi8FAJ9bCe3NjjeXJ7+QvsVSr/gTiZ62/ACgoizR
-G4p7I/3q1qzt+Uxln3Eb4Z4=
-=NHq+
+iD8DBQFEJ1NfJrHF4yAQTrARAgu0AJoDduUvBbMjQ7bBOoHRFUSx6ZGpoACfQb5d
+8g0DkDaFBDTUxJRyTeAiTx8=
+=iyDQ
-----END PGP SIGNATURE-----
diff --git a/media-sound/lilypond/files/digest-lilypond-2.8.0 b/media-sound/lilypond/files/digest-lilypond-2.8.0-r1
index c27b9567db46..c27b9567db46 100644
--- a/media-sound/lilypond/files/digest-lilypond-2.8.0
+++ b/media-sound/lilypond/files/digest-lilypond-2.8.0-r1
diff --git a/media-sound/lilypond/lilypond-2.8.0.ebuild b/media-sound/lilypond/lilypond-2.8.0-r1.ebuild
index bdaf2f3b0daf..12146979198f 100644
--- a/media-sound/lilypond/lilypond-2.8.0.ebuild
+++ b/media-sound/lilypond/lilypond-2.8.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.8.0.ebuild,v 1.2 2006/03/26 21:51:40 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.8.0-r1.ebuild,v 1.1 2006/03/27 02:52:04 agriffis Exp $
inherit versionator
@@ -34,6 +34,17 @@ DEPEND="${RDEPEND}
>=media-gfx/fontforge-20050624
sys-devel/bison !=sys-devel/bison-1.75"
+src_unpack() {
+ unpack ${A}
+ # lilypond python scripts *prepend* /usr/share/lilypond/2.8.0/python to
+ # sys.path, causing python to attempt to rebuild the pyc, which generates
+ # sandbox errors (and is wrong anyway). Change this policy to use
+ # sys.path.append so that PYTHONPATH, set by the Makefiles, takes
+ # precendence.
+ grep -rlZ sys.path.insert --include \*.py ${S} \
+ | xargs -0r sed -i 's/sys.path.insert \?(0, /sys.path.append (/'
+}
+
src_compile() {
addwrite /var/cache/fonts
addwrite /usr/share/texmf/fonts
@@ -62,15 +73,12 @@ src_install () {
dodir /usr/share/vim
mv ${D}/usr/share/lilypond/${PV}/vim \
${D}/usr/share/vim/vimfiles || die "lilypond vim install failed"
+ else
+ rm -r ${D}/usr/share/lilypond/${PV}/vim
fi
- # emacs support, should this be done differently?
- if use emacs; then
- insinto /usr/share/${PN}/elisp
- doins elisp/*.el \
- || die "lilypond emacs install failed"
- insinto /usr/share/${PN}/elisp/out
- doins elisp/out/lilypond-words.el \
- || die "lilypond emacs install failed"
+ # emacs (non-)support
+ if ! use emacs; then
+ rm -r ${D}/usr/share/emacs
fi
}