ports/93651: Update port: audio/denemo to 0.7.4

KATO Tsuguru tkato432 at yahoo.com
Tue Feb 21 16:10:20 UTC 2006


>Number:         93651
>Category:       ports
>Synopsis:       Update port: audio/denemo to 0.7.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 16:10:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p14 i386
>Organization:
>Environment:
>Description:
- Update to version 0.7.4

New file:
files/patch-src__help.cpp
pkg-plist

Remove file:
files/patch-playback.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/denemo/Makefile audio/denemo/Makefile
--- /usr/ports/audio/denemo/Makefile	Sun Feb 12 14:16:39 2006
+++ audio/denemo/Makefile	Tue Feb 21 23:19:04 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	denemo
-PORTVERSION=	0.5.9
-PORTREVISION=	3
+PORTVERSION=	0.7.4
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,18 +14,15 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Graphical score editor
 
-LIB_DEPENDS=	xml.5:${PORTSDIR}/textproc/libxml
-
-GNU_CONFIGURE=	yes
-PLIST=		${WRKDIR}/pkg-plist
-SHARED=		denemo.conf denemo.keymaprc english.keymaprc french.keymaprc
-DOCS=		AUTHORS ChangeLog DESIGN GOALS NEWS README TODO
-DOCDIR=		share/doc/${PORTNAME}
-USE_BISON=	yes
-USE_GETOPT_LONG=yes
-USE_GETTEXT=	yes
-USE_GNOME=	gtk12
 USE_X_PREFIX=	yes
+USE_GNOME=	gnometarget gtk20 libxml2
+USE_BISON=	yes
+USE_GETOPT_LONG=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
 
 .include <bsd.port.pre.mk>
 
@@ -34,35 +30,22 @@
 BROKEN=		"Does not compile on sparc64"
 .endif
 
-pre-patch:
-.for ii in analysis_highlighting.c easylyparser.c easylyparser.y \
-	lyparserfuncs.c lyparserfuncs.h main.c playback.c print.c
-	${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
-	${SED} -e "s:<wait.h:<sys/wait.h:g ; s:setkey:dsetkey:g" \
-		< ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
-.endfor
-
-pre-install:
-	${ECHO_CMD} bin/${PORTNAME} > ${PLIST}
-.for i in ${SHARED}
-	${ECHO_CMD} share/denemo/$i >> ${PLIST}
-.endfor
-.for i in ${DOCS}
-	${ECHO_CMD} ${DOCDIR}/$i >> ${PLIST}
-.endfor
-	${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
-	${ECHO_CMD} @dirrm share/denemo >> ${PLIST}
-
-do-install:
-	${MKDIR} ${PREFIX}/share/denemo
-	${INSTALL_PROGRAM} ${WRKSRC}/denemo ${PREFIX}/bin
-.for i in ${SHARED}
-	${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
-.endfor
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|CXXFLAGS="$$CFLAGS|CXXFLAGS="$$DENEMO_CFLAGS|g ; \
+		 s|-Wall -O2|-Wall $$CXXFLAGS|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's|denemo/denemo|denemo|g' ${WRKSRC}/src/kbd-custom.cpp
+	@${REINPLACE_CMD} -e \
+		's|^setkey|dsetkey|g' ${WRKSRC}/src/lyparserfuncs.cpp
+	@${REINPLACE_CMD} -e \
+		's| setkey| dsetkey|g' ${WRKSRC}/src/lyparserfuncs.h
+
+post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for i in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
+.for i in AUTHORS ChangeLog DESIGN GOALS NEWS README TODO
+	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 .endfor
 .endif
 
diff -urN /usr/ports/audio/denemo/distinfo audio/denemo/distinfo
--- /usr/ports/audio/denemo/distinfo	Sun Jan  8 14:58:46 2006
+++ audio/denemo/distinfo	Tue Feb 14 22:49:01 2006
@@ -1,3 +1,3 @@
-MD5 (denemo-0.5.9.tar.gz) = 9857132b06feccfd5bf9aebd2b3d33b4
-SHA256 (denemo-0.5.9.tar.gz) = e6c60208bbd4c5e37dfef0ae9ad95bd52aff8ee2576af4cf7cb8cd80222cfda8
-SIZE (denemo-0.5.9.tar.gz) = 396751
+MD5 (denemo-0.7.4.tar.gz) = 5a5680b2dab63a6217c0ab7c30be0730
+SHA256 (denemo-0.7.4.tar.gz) = ec531bf4199142314b87e4a37abe6e89ee3bd4819674230cfe2cd8b8bf7a7cc6
+SIZE (denemo-0.7.4.tar.gz) = 2712658
diff -urN /usr/ports/audio/denemo/files/patch-playback.c audio/denemo/files/patch-playback.c
--- /usr/ports/audio/denemo/files/patch-playback.c	Thu Jan 10 13:12:16 2002
+++ audio/denemo/files/patch-playback.c	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- playback.c.old	Wed Nov 14 11:13:02 2001
-+++ playback.c	Wed Jan  9 19:38:16 2002
-@@ -7,6 +7,7 @@
- 
- 
- #include "datastructures.h"
-+#include "exportmidi.h"
- #include "exportmudela.h"
- #include "staffops.h"
- #include "scoreops.h"
diff -urN /usr/ports/audio/denemo/files/patch-src__help.cpp audio/denemo/files/patch-src__help.cpp
--- /usr/ports/audio/denemo/files/patch-src__help.cpp	Thu Jan  1 09:00:00 1970
+++ audio/denemo/files/patch-src__help.cpp	Tue Feb 21 23:23:52 2006
@@ -0,0 +1,28 @@
+--- src/help.cpp.orig	Fri Oct 28 06:18:00 2005
++++ src/help.cpp	Tue Feb 21 23:23:26 2006
+@@ -46,20 +46,21 @@
+ void
+ browse_manual (GtkAction * action, gpointer data)
+ {
+-  gchar *browser = "sensible-browser"; 
++  struct scoreinfo *si= (struct scoreinfo *)data;
++
+   gint retval;
+  // struct scoreinfo *si; 
+   GError *error = NULL;
+   gchar **argv;
+   gchar *cmd;
+   gchar *data_dir = gbr_find_data_dir (PKGDATADIR);	
+-  gchar *path = g_strdup_printf("%s/denemo/manual/manualout.html", data_dir);
++  gchar *path = g_strdup_printf("file://%s/manual/manualout.html", data_dir);
+   gchar *argument = g_shell_quote(path); 
+  
+   
+-  g_print("PKGDATADIR %s\n", PKGDATADIR);
++  //g_print("PKGDATADIR %s\n", PKGDATADIR);
+  
+-  cmd = g_strconcat (browser, " ", argument, NULL);
++  cmd = g_strconcat (si->prefs->browser->str, " ", argument, NULL);
+   g_free(argument);
+   if (! g_shell_parse_argv(cmd, NULL, &argv, &error)) 
+     {
diff -urN /usr/ports/audio/denemo/pkg-plist audio/denemo/pkg-plist
--- /usr/ports/audio/denemo/pkg-plist	Thu Jan  1 09:00:00 1970
+++ audio/denemo/pkg-plist	Tue Feb 14 23:12:02 2006
@@ -0,0 +1,202 @@
+bin/denemo
+etc/denemo.conf
+etc/denemo.keymaprc
+include/denemo/denemo.h
+include/denemo/denemo_version.h
+%%DATADIR%%/denemoui.xml
+%%DATADIR%%/english.keymaprc
+%%DATADIR%%/french.keymaprc
+%%DATADIR%%/italian.keymaprc
+%%DATADIR%%/manual/4fo2denemo.png
+%%DATADIR%%/manual/4for2abc.png
+%%DATADIR%%/manual/4for2abcps.png
+%%DATADIR%%/manual/4for2ly.png
+%%DATADIR%%/manual/4for2new-page1.png
+%%DATADIR%%/manual/4for2new-page2.png
+%%DATADIR%%/manual/4for2touchedly.png
+%%DATADIR%%/manual/MozBook.css
+%%DATADIR%%/manual/addvc2currentstaff.png
+%%DATADIR%%/manual/bandtemplate.png
+%%DATADIR%%/manual/choraltemplate1.png
+%%DATADIR%%/manual/churchtemplate2.png
+%%DATADIR%%/manual/clefmenu.png
+%%DATADIR%%/manual/denemomain.png
+%%DATADIR%%/manual/displaymenu.png
+%%DATADIR%%/manual/docbook-complete.css
+%%DATADIR%%/manual/educationtemplate3.png
+%%DATADIR%%/manual/featest.html
+%%DATADIR%%/manual/fig1.png
+%%DATADIR%%/manual/fig3.png
+%%DATADIR%%/manual/filemenu.png
+%%DATADIR%%/manual/function.xml
+%%DATADIR%%/manual/functionaaron.xml
+%%DATADIR%%/manual/functionout.html
+%%DATADIR%%/manual/generaltemplate4.png
+%%DATADIR%%/manual/keymenu.png
+%%DATADIR%%/manual/lpmode.png
+%%DATADIR%%/manual/manual.xml
+%%DATADIR%%/manual/manualout.html
+%%DATADIR%%/manual/navigationmenu.png
+%%DATADIR%%/manual/orchestraltemplate5.png
+%%DATADIR%%/manual/othermenu1.png
+%%DATADIR%%/manual/playbackmenu.png
+%%DATADIR%%/manual/polyphony.png
+%%DATADIR%%/manual/setpreferences.png
+%%DATADIR%%/manual/staffmenu.png
+%%DATADIR%%/manual/tablituretemplate6.png
+%%DATADIR%%/manual/timemenu.png
+%%DATADIR%%/pixmaps/accent.svg
+%%DATADIR%%/pixmaps/downbow.svg
+%%DATADIR%%/pixmaps/fermata.svg
+%%DATADIR%%/pixmaps/feta26-accidentals--1.xbm
+%%DATADIR%%/pixmaps/feta26-accidentals--2.xbm
+%%DATADIR%%/pixmaps/feta26-accidentals-0.xbm
+%%DATADIR%%/pixmaps/feta26-accidentals-1.xbm
+%%DATADIR%%/pixmaps/feta26-accidentals-2.xbm
+%%DATADIR%%/pixmaps/feta26-accidentals-leftparen.xbm
+%%DATADIR%%/pixmaps/feta26-accidentals-rightparen.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-alto.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-alto_change.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-bass.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-bass_change.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-g_8.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-treble.xbm
+%%DATADIR%%/pixmaps/feta26-clefs-treble_change.xbm
+%%DATADIR%%/pixmaps/feta26-dots-dot.xbm
+%%DATADIR%%/pixmaps/feta26-dots-repeatcolon.xbm
+%%DATADIR%%/pixmaps/feta26-flags-d3.xbm
+%%DATADIR%%/pixmaps/feta26-flags-d4.xbm
+%%DATADIR%%/pixmaps/feta26-flags-d5.xbm
+%%DATADIR%%/pixmaps/feta26-flags-d6.xbm
+%%DATADIR%%/pixmaps/feta26-flags-dgrace.xbm
+%%DATADIR%%/pixmaps/feta26-flags-u3.xbm
+%%DATADIR%%/pixmaps/feta26-flags-u4.xbm
+%%DATADIR%%/pixmaps/feta26-flags-u5.xbm
+%%DATADIR%%/pixmaps/feta26-flags-u6.xbm
+%%DATADIR%%/pixmaps/feta26-flags-ugrace.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads--1.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads--2.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-0.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-0diamond.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-1.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-1diamond.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-2.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-2cross.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-2diamond.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-2harmonic.xbm
+%%DATADIR%%/pixmaps/feta26-noteheads-ledgerending.xbm
+%%DATADIR%%/pixmaps/feta26-rests--1.xbm
+%%DATADIR%%/pixmaps/feta26-rests--2.xbm
+%%DATADIR%%/pixmaps/feta26-rests--4.xbm
+%%DATADIR%%/pixmaps/feta26-rests-0.xbm
+%%DATADIR%%/pixmaps/feta26-rests-0o.xbm
+%%DATADIR%%/pixmaps/feta26-rests-1.xbm
+%%DATADIR%%/pixmaps/feta26-rests-1o.xbm
+%%DATADIR%%/pixmaps/feta26-rests-2.xbm
+%%DATADIR%%/pixmaps/feta26-rests-2mensural.xbm
+%%DATADIR%%/pixmaps/feta26-rests-3.xbm
+%%DATADIR%%/pixmaps/feta26-rests-3mensural.xbm
+%%DATADIR%%/pixmaps/feta26-rests-4.xbm
+%%DATADIR%%/pixmaps/feta26-rests-4mensural.xbm
+%%DATADIR%%/pixmaps/feta26-rests-5.xbm
+%%DATADIR%%/pixmaps/feta26-rests-6.xbm
+%%DATADIR%%/pixmaps/feta26-rests-7.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-accent.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-arpeggio.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-coda.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-dfermata.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-dmarcato.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-downbow.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-downprall.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-dpedalheel.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-dpedaltoe.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-dstaccatissimo.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-flageolet.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-mordent.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-open.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-prall.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-prallmordent.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-prallprall.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-repeatsign.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-reverseturn.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-segno.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-sforzato.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-staccato.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-stopped.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-tenuto.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-thumb.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-trilelement.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-trill-element.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-trill.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-turn.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-ufermata.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-umarcato.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-upbow.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-upedalheel.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-upedaltoe.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-upprall.xbm
+%%DATADIR%%/pixmaps/feta26-scripts-ustaccatissimo.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-C2-2.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-C4-4.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old2-2.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old2-4.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old3-2.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old3-4.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old4-4.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old4-8.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old6-4.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old6-8.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old6-8alt.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old9-4.xbm
+%%DATADIR%%/pixmaps/feta26-timesig-old9-8.xbm
+%%DATADIR%%/pixmaps/icon-note-0.svg
+%%DATADIR%%/pixmaps/icon-note-1.svg
+%%DATADIR%%/pixmaps/icon-note-2.svg
+%%DATADIR%%/pixmaps/icon-note-3.svg
+%%DATADIR%%/pixmaps/icon-note-4.svg
+%%DATADIR%%/pixmaps/icon-rest-0.svg
+%%DATADIR%%/pixmaps/icon-rest-1.svg
+%%DATADIR%%/pixmaps/icon-rest-2.svg
+%%DATADIR%%/pixmaps/icon-rest-3.svg
+%%DATADIR%%/pixmaps/icon-rest-4.svg
+%%DATADIR%%/pixmaps/icon-rest-5.svg
+%%DATADIR%%/pixmaps/icon-template.svg
+%%DATADIR%%/pixmaps/lheel.svg
+%%DATADIR%%/pixmaps/ltoe.svg
+%%DATADIR%%/pixmaps/marcato.svg
+%%DATADIR%%/pixmaps/mordent.svg
+%%DATADIR%%/pixmaps/notehead-0.xbm
+%%DATADIR%%/pixmaps/notehead-1.xbm
+%%DATADIR%%/pixmaps/notehead-2.xbm
+%%DATADIR%%/pixmaps/reverse-turn.svg
+%%DATADIR%%/pixmaps/rheel.svg
+%%DATADIR%%/pixmaps/rtoe.svg
+%%DATADIR%%/pixmaps/staccatissimo.svg
+%%DATADIR%%/pixmaps/staccato.svg
+%%DATADIR%%/pixmaps/tenuto.svg
+%%DATADIR%%/pixmaps/toomany.xbm
+%%DATADIR%%/pixmaps/trill.svg
+%%DATADIR%%/pixmaps/turn.svg
+%%DATADIR%%/pixmaps/upbow.svg
+%%DATADIR%%/speedy.keymaprc
+%%DATADIR%%/templates/Brassband.denemo
+%%DATADIR%%/templates/Brassbandtemplate.denemo
+%%DATADIR%%/templates/brasschoir.template.denemo
+%%DATADIR%%/templates/brasstrio.template.denemo
+%%DATADIR%%/templates/jazzcombo1.denemo
+%%DATADIR%%/templates/stringqtet.denemo
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/DESIGN
+%%PORTDOCS%%%%DOCSDIR%%/GOALS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/locale/es/LC_MESSAGES/denemo.mo
+share/locale/fr/LC_MESSAGES/denemo.mo
+share/locale/sv/LC_MESSAGES/denemo.mo
+ at dirrm %%DATADIR%%/templates
+ at dirrm %%DATADIR%%/pixmaps
+ at dirrm %%DATADIR%%/manual
+ at dirrm %%DATADIR%%
+ at dirrm include/denemo
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list