From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 12 00:10:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D79816A41C for ; Tue, 12 Jul 2005 00:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4F4543D46 for ; Tue, 12 Jul 2005 00:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6C0AIC2008375 for ; Tue, 12 Jul 2005 00:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6C0AId2008374; Tue, 12 Jul 2005 00:10:18 GMT (envelope-from gnats) Resent-Date: Tue, 12 Jul 2005 00:10:18 GMT Resent-Message-Id: <200507120010.j6C0AId2008374@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dave Symonds Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18ED616A41C for ; Tue, 12 Jul 2005 00:05:00 +0000 (GMT) (envelope-from dasymond@staff.cs.su.oz.au) Received: from staff.cs.usyd.edu.au (staff.cs.usyd.edu.au [129.78.8.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D77943D48 for ; Tue, 12 Jul 2005 00:04:58 +0000 (GMT) (envelope-from dasymond@staff.cs.su.oz.au) Message-Id: <20050712000451.GA17192@it.usyd.edu.au> Date: Tue, 12 Jul 2005 10:04:52 +1000 From: Dave Symonds To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/83306: [patch] print/lilypond 2.4.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 00:10:19 -0000 >Number: 83306 >Category: ports >Synopsis: [patch] print/lilypond 2.4.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jul 12 00:10:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: David Symonds >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD voltron 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: update port to current version >How-To-Repeat: >Fix: note new file lilypond/files/patch-buildscripts:lilypond-profile.sh, and removal of a couple of files --- ports-lilypond-2.4.6.diff begins here --- diff -ruN lilypond.orig/Makefile lilypond/Makefile --- lilypond.orig/Makefile Wed Jun 29 00:15:10 2005 +++ lilypond/Makefile Sun Jul 10 12:26:22 2005 @@ -1,6 +1,6 @@ -# New ports collection makefile for: lilypond-devel -# Date created: 2001-02-10 -# Whom: patrick +# New ports collection makefile for: lilypond +# Date created: 2005-07-10 +# Whom: dsymonds@gmail.com # based on print/lilypond originally by trevor # # $FreeBSD: ports/print/lilypond/Makefile,v 1.27 2005/05/20 06:11:47 lioux Exp $ @@ -8,15 +8,17 @@ # PORTNAME= lilypond -PORTVERSION= 2.2.2 -CATEGORIES= print audio -MASTER_SITES= http://lilypond.org/download/v2.2/ +PORTVERSION= 2.4.6 +CATEGORIES= print +MASTER_SITES= http://lilypond.org/download/v2.4/ MAINTAINER= lioux@FreeBSD.org COMMENT= The GNU music typesetter BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX \ - scrollkeeper-install:${PORTSDIR}/textproc/scrollkeeper + scrollkeeper-install:${PORTSDIR}/textproc/scrollkeeper \ + mftrace:${PORTSDIR}/print/mftrace \ + ec-fonts-mftraced:${PORTSDIR}/print/ec-fonts-mftraced LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX @@ -25,14 +27,15 @@ INFO= lilypond lilypond-internals \ music-glossary -CONFLICTS= lilypond-2.* +#CONFLICTS= lilypond-2.* -#INSTALLS_SHLIB not needed for phyton library midi.so +#INSTALLS_SHLIB not needed for python library midi.so GNU_CONFIGURE= yes USE_BISON= yes USE_GMAKE= YES USE_PYTHON= YES +INSTALLS_OMF= yes MAKEFILE= GNUmakefile PKGINSTALL= ${WRKDIR}/pkg-install @@ -41,13 +44,6 @@ --infodir=${PREFIX}/info CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}" -.if defined(WITH_SELFBUILT_FONTS) -BUILD_DEPENDS+= mftrace:${PORTSDIR}/print/mftrace -.else -BUILD_DEPENDS+= wget:${PORTSDIR}/ftp/wget -BUILD_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm -.endif - # inform kpathsea.h of getopt-prototype version CFLAGS+= -D__GNU_LIBRARY__ CPPFLAGS+= -I${WRKSRC}/lily/out @@ -56,9 +52,9 @@ .include ALL_TARGET= all -.if ${OSVERSION} >= 502120 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif +#.if ${OSVERSION} >= 502120 +#BROKEN= "Does not compile on FreeBSD >= 5.x" +#.endif .if ${OSVERSION} < 500000 USE_GCC= 3.4 @@ -70,6 +66,7 @@ PLIST_SUB+= CONDITIONAL="@comment " EXTRA_PATCHES+= ${FILESDIR}/extra-patch:GNUmakefile.in .else +BUILD_DEPENDS+= texinfo:${PORTSDIR}/print/texinfo PLIST_SUB+= CONDITIONAL="" .endif PLIST_SUB+= PORTVERSION=${PORTVERSION} @@ -82,11 +79,6 @@ < ${FILESDIR}/pkg-install.in \ | ${SED} -e "s=${PREFIX}=\$${PKG_PREFIX}=g" \ > ${PKGINSTALL} - -.if !defined(WITH_SELFBUILT_FONTS) -post-configure: - cd ${WRKSRC} && ${GMAKE} -C mf get-pfa -.endif post-install: .if !defined(NOPORTDOCS) diff -ruN lilypond.orig/distinfo lilypond/distinfo --- lilypond.orig/distinfo Wed Jun 16 09:12:15 2004 +++ lilypond/distinfo Sun Jul 10 11:49:44 2005 @@ -1,2 +1,2 @@ -MD5 (lilypond-2.2.2.tar.gz) = 1f9ed6b5a80533ce6c960c889fa51226 -SIZE (lilypond-2.2.2.tar.gz) = 1900426 +MD5 (lilypond-2.4.6.tar.gz) = 0f69cfb3cd6a2628653139202121bde7 +SIZE (lilypond-2.4.6.tar.gz) = 2055425 diff -ruN lilypond.orig/files/patch-Documentation:usr:lilypond.tely lilypond/files/patch-Documentation:usr:lilypond.tely --- lilypond.orig/files/patch-Documentation:usr:lilypond.tely Wed Jun 16 09:12:16 2004 +++ lilypond/files/patch-Documentation:usr:lilypond.tely Sun Jul 10 12:12:56 2005 @@ -1,10 +1,12 @@ ---- Documentation/user/lilypond.tely.orig Sun Apr 11 09:44:32 2004 -+++ Documentation/user/lilypond.tely Sun Apr 11 09:45:09 2004 -@@ -17,14 +17,14 @@ +--- Documentation/user/lilypond.tely.orig Sun Jul 10 12:10:42 2005 ++++ Documentation/user/lilypond.tely Sun Jul 10 12:11:44 2005 +@@ -17,15 +17,15 @@ @c prepend GNU for dir, must be unique @c do not list the `lilypond' node at toplevel, so that `info lilypond' @c goes to Top. --@c * lilypond: (lilypond/lilypond)Invoking LilyPond. Titling LilyPond scores. +-@c * lilypond: (lilypond/lilypond)Running LilyPond. Invoking the ++@c * lilypond: (lilypond)Running LilyPond. Invoking the + @c LilyPond program. -* GNU LilyPond: (lilypond/lilypond). The GNU music typesetter. -* convert-ly: (lilypond/lilypond)Invoking convert-ly. Older LilyPond versions. -* midi2ly: (lilypond/lilypond)Invoking midi2ly. Importing MIDI. @@ -12,7 +14,6 @@ -* abc2ly: (lilypond/lilypond)Invoking abc2ly. Importing ABC. -* musedata2ly: (lilypond/lilypond)Invoking musedata2ly. Importing MuseData. -* mup2ly: (lilypond/lilypond)Invoking mup2ly. Importing Mup. -+@c * lilypond: (lilypond)Invoking LilyPond. Titling LilyPond scores. +* GNU LilyPond: (lilypond). The GNU music typesetter. +* convert-ly: (lilypond)Invoking convert-ly. Older LilyPond versions. +* midi2ly: (lilypond)Invoking midi2ly. Importing MIDI. @@ -21,3 +22,5 @@ +* musedata2ly: (lilypond)Invoking musedata2ly. Importing MuseData. +* mup2ly: (lilypond)Invoking mup2ly. Importing Mup. @end direntry + + diff -ruN lilypond.orig/files/patch-buildscripts:lilypond-profile.sh lilypond/files/patch-buildscripts:lilypond-profile.sh --- lilypond.orig/files/patch-buildscripts:lilypond-profile.sh Thu Jan 1 10:00:00 1970 +++ lilypond/files/patch-buildscripts:lilypond-profile.sh Sun Jul 10 12:56:33 2005 @@ -0,0 +1,11 @@ +--- buildscripts/lilypond-profile.sh.orig Sun Jul 10 12:55:42 2005 ++++ buildscripts/lilypond-profile.sh Sun Jul 10 12:55:53 2005 +@@ -22,7 +22,7 @@ + return 2 + fi + +-if [ -z "$ZSH_NAME" -a `basename "$0"` = "lilypond-profile" ] ; then ++if [ -z "$ZSH_NAME" -a `basename -- "$0"` = "lilypond-profile" ] ; then + cat >/dev/stderr </g' \ - $file.orig > $file - echo "done" diff -ruN lilypond.orig/scripts/post-patch lilypond/scripts/post-patch --- lilypond.orig/scripts/post-patch Wed Jun 16 09:12:16 2004 +++ lilypond/scripts/post-patch Thu Jan 1 10:00:00 1970 @@ -1,20 +0,0 @@ -#!/bin/sh -outdir=out -cd ${WRKSRC} || exit 2 -echo "Patching for FlexLexer.h <->gcc3 issues" - -file="" -candidates=`find /usr/include -name FlexLexer.h` -#take first found file. -for d in $candidates; do if [ -f $d ]; then file=$d; break; fi; done -if [ -z "${file}" ]; then echo "Cannot find FlexLexer.h"; exit 2; fi - -echo -n "Copying and fixing $file... " -mkdir -p lily/$outdir -rm -f lily/$outdir/FlexLexer.h -sed \ - -e 's/istream/std::istream/' \ - -e 's/[^i]ostream/std::ostream/' \ - -e 's/iostream.h/iostream/' \ - $file > lily/$outdir/FlexLexer.h -echo "done" --- ports-lilypond-2.4.6.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: