Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81463

Summary: Bump media-sound/lilypond-2.5.11
Product: Gentoo Linux Reporter: Sebastian Spaeth <Sebastian>
Component: New packagesAssignee: Aron Griffis (RETIRED) <agriffis>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 81266    
Bug Blocks:    
Attachments: 2.5.11 ebuild

Description Sebastian Spaeth 2005-02-10 00:52:21 UTC
There is a new bleeding edge development version of lilypond out there. Compared to 2.5.2 which is the latest in portage, it even works on my amd64. So it would be great to bump it. I compiled the version successfully with the attached ebuild.

Below a diff -u. I will attach the complete ebuild soon. Some things changed and some should still be looked at before bumping:
1) It depends now on mftrace>1.1.1. (bug  81266) which needs to go in the tree first
2) The pdf output will fail if you have ghostscript-7.0.7 installed (ps works). It works fine with ghostscript-afpl-8.15. Can we mark it as blocking or something? I don't know if upstream intends to fix that, but I reported it there.
3) obviously added ~amd64 as arch. It runs for me.
4) add a "enable_use gnome gui". THis version is supposed to have a gnome dependend graphical interface. While it compiles fine for me with the setting, I don't see anything graphical in here. This probably needs some refinement.
5) Right now, emacs integration is not done automatically. Could some emacs guru  look into how to improve things, i.e. add the relevant entries into /usr/share/emacs/elisp-site/gentoo-site.el (path might be wrong). However, I don't see a reason to block the upgrade if this is not done. It is really a seperate bug.

Thanks for your time and dedication
-----------------
diff -u /usr/portage/media-sound/lilypond/lilypond-2.5.2.ebuild lilypond-2.5.11.ebuild
--- /usr/portage/media-sound/lilypond/lilypond-2.5.2.ebuild     2004-12-27 23:07:29.000000000 +0100
+++ lilypond-2.5.11.ebuild      2005-02-10 09:37:49.006262920 +0100
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.5.2.ebuild,v 1.2 2004/12/27 22:01:37 weeve Exp $

-IUSE="doc"
+IUSE="doc gnome"

 MY_PV="v$(echo ${PV} | cut -d. -f1,2)"

@@ -12,8 +12,8 @@

 SLOT="0"
 LICENSE="GPL-2"
-#-amd64: 2.2.6: lilypond-bin exits error code 139 ... upstream needs to fix it...
-KEYWORDS="~x86 -amd64 ~sparc"
+
+KEYWORDS="~x86 ~amd64 ~sparc"

 RDEPEND=">=dev-util/guile-1.6.4
        virtual/ghostscript
@@ -28,7 +28,7 @@
        >=sys-devel/flex-2.5.4a-r5
        >=sys-devel/gcc-3.1-r8
        >=sys-devel/make-3.80
-       >=app-text/mftrace-1.0.27
+       >=app-text/mftrace-1.1.1
        sys-devel/bison !=sys-devel/bison-1.75
        doc? ( media-gfx/imagemagick
                >=media-libs/netpbm-9.12-r4 )"
@@ -47,7 +47,9 @@
        addwrite /usr/share/texmf/fonts
        addwrite /usr/share/texmf/ls-R

-       econf --build=${CHOST} || die "econf failed"
+       econf \
+               `use_enable gnome gui`\
+               --build=${CHOST} || die "econf failed"
        emake || die "emake failed"

        if use doc; then
@@ -95,6 +97,8 @@
                dohtml -A txt,midi,ly,pdf,gz -r Documentation input *.html *.png \
                || die "doins failed"
        fi
+       einfo "Note that pdf output will hang in lilypond if you have app-text/ghostscript-7.0.7 installed."
+       einfo "app-text/ghostscript-afpl works fine."
 }

 pkg_postinst () {
Comment 1 Sebastian Spaeth 2005-02-10 00:53:50 UTC
Created attachment 50895 [details]
2.5.11 ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-30 23:30:01 UTC
Marking as a duplicate in favour of a bug which contains ebuild for newer 2.6
version...

*** This bug has been marked as a duplicate of 97574 ***