[Pkg-haskell-commits] darcs: haskell-haskore: Initial release

Ernesto Hernández-Novich (USB) emhn at usb.ve
Fri Apr 30 13:24:30 UTC 2010


Fri Apr 30 13:23:49 UTC 2010  Ernesto Hern[_\c3_][_\a1_]ndez-Novich (USB) <emhn at usb.ve>
  * Initial release
  Ignore-this: df3953f78adafa3fb1e6671de428757b

    M ./changelog -2 +2
    A ./patches/00-fix_csound_invocation.patch
    A ./patches/01-set_csound_temp_dir.patch
    A ./patches/02-tweak_makefile.patch

Fri Apr 30 13:23:49 UTC 2010  Ernesto Hernández-Novich (USB) <emhn at usb.ve>
  * Initial release
  Ignore-this: df3953f78adafa3fb1e6671de428757b
diff -rN -u old-haskell-haskore/changelog new-haskell-haskore/changelog
--- old-haskell-haskore/changelog	2010-04-30 13:24:30.276091080 +0000
+++ new-haskell-haskore/changelog	2010-04-30 13:24:30.284091515 +0000
@@ -1,5 +1,5 @@
-haskell-haskore (0.1.0.3-1) UNRELEASED; urgency=low
+haskell-haskore (0.1.0.3-1) unstable; urgency=low
 
   * Initial release (Closes: 577833)
 
- -- Ernesto Hernández-Novich (USB) <emhn at usb.ve>  Thu, 22 Apr 2010 15:49:22 -0430
+ -- Ernesto Hernández-Novich (USB) <emhn at usb.ve>  Fri, 30 Apr 2010 08:53:28 -0430
diff -rN -u old-haskell-haskore/patches/00-fix_csound_invocation.patch new-haskell-haskore/patches/00-fix_csound_invocation.patch
--- old-haskell-haskore/patches/00-fix_csound_invocation.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-haskore/patches/00-fix_csound_invocation.patch	2010-04-30 13:24:30.284091515 +0000
@@ -0,0 +1,61 @@
+Description: Haskore can use CSound as rendering mechanism for audio
+ synthesis, running CSound's command-line utility with the proper
+ arguments. This patch changes CSound's command-line utility name from
+ csound32 to csound.
+Forwarded: not-needed
+Author: Ernesto Hernández-Novich (USB) <emhn at usb.ve>
+
+--- a/src/Haskore/Interface/CSound/TutorialCustom.lhs
++++ b/src/Haskore/Interface/CSound/TutorialCustom.lhs
+@@ -1237,20 +1237,20 @@
+ >    in  do writeFile (dir++"/"++scorename) (Score.toString s)
+ >           writeFile (dir++"/"++orchname)  (Orchestra.toString o)
+ > {-
+->           system ("cd "++dir++" ; csound32 -d -W -o "
++>           system ("cd "++dir++" ; csound -d -W -o "
+ >                     ++ wavename ++ " " ++ orchname ++ " " ++ scorename
+ >                     ++ " ; play " ++ wavename)
+ > -}
+->           system ("cd "++dir++" ; csound32 -d -A -o stdout -s "
++>           system ("cd "++dir++" ; csound -d -A -o stdout -s "
+ >                     ++ orchname ++ " " ++ scorename
+ >                     ++ " | play -t aiff -")
+ > {-
+->           system ("cd "++dir++" ; csound32 -d -o stdout -s "
++>           system ("cd "++dir++" ; csound -d -o stdout -s "
+ >                     ++ orchname ++ " " ++ scorename
+ >                     ++ " | play -r " ++ show rate ++ " -t sw -")
+ > -}
+ > {-
+->           system ("cd "++dir++" ; csound32 -d -o dac "  -- /dev/dsp makes some chaotic noise
++>           system ("cd "++dir++" ; csound -d -o dac "  -- /dev/dsp makes some chaotic noise
+ >                     ++ orchname ++ " " ++ scorename)
+ > -}
+ > {-
+--- a/src/Haskore/Interface/CSound/Tutorial.lhs
++++ b/src/Haskore/Interface/CSound/Tutorial.lhs
+@@ -1199,20 +1199,20 @@
+ >    in  do writeFile (dir++"/"++scorename) (Score.toString s)
+ >           writeFile (dir++"/"++orchname)  (Orchestra.toString o)
+ > {-
+->           system ("cd "++dir++" ; csound32 -d -W -o "
++>           system ("cd "++dir++" ; csound -d -W -o "
+ >                     ++ wavename ++ " " ++ orchname ++ " " ++ scorename
+ >                     ++ " ; play " ++ wavename)
+ > -}
+->           system ("cd "++dir++" ; csound32 -d -A -o stdout -s "
++>           system ("cd "++dir++" ; csound -d -A -o stdout -s "
+ >                     ++ orchname ++ " " ++ scorename
+ >                     ++ " | play -t aiff -")
+ > {-
+->           system ("cd "++dir++" ; csound32 -d -o stdout -s "
++>           system ("cd "++dir++" ; csound -d -o stdout -s "
+ >                     ++ orchname ++ " " ++ scorename
+ >                     ++ " | play -r " ++ show rate ++ " -t sw -")
+ > -}
+ > {-
+->           system ("cd "++dir++" ; csound32 -d -o dac "  -- /dev/dsp makes some chaotic noise
++>           system ("cd "++dir++" ; csound -d -o dac "  -- /dev/dsp makes some chaotic noise
+ >                     ++ orchname ++ " " ++ scorename)
+ > -}
+ > {-
diff -rN -u old-haskell-haskore/patches/01-set_csound_temp_dir.patch new-haskell-haskore/patches/01-set_csound_temp_dir.patch
--- old-haskell-haskore/patches/01-set_csound_temp_dir.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-haskore/patches/01-set_csound_temp_dir.patch	2010-04-30 13:24:30.284091515 +0000
@@ -0,0 +1,29 @@
+Description: Haskore can use CSound as rendering mechanism for audio
+ synthesis, running CSound's command-line utility with the proper
+ arguments. This patch sets /tmp as the temporary directory to use
+ while running CSound's command-line utility.
+Forwarded: not-needed
+Author: Ernesto Hernández-Novich (USB) <emhn at usb.ve>
+
+--- a/src/Haskore/Interface/CSound/Tutorial.lhs
++++ b/src/Haskore/Interface/CSound/Tutorial.lhs
+@@ -258,7 +258,7 @@
+ \begin{haskelllisting}
+ 
+ > csoundDir :: Name
+-> csoundDir = "src/Test/CSound"
++> csoundDir = "/tmp"
+ > -- csoundDir = "C:/TEMP/csound"
+ >
+ > tut1 = example "tut01" score1 o1
+--- a/src/Haskore/Interface/CSound/TutorialCustom.lhs
++++ b/src/Haskore/Interface/CSound/TutorialCustom.lhs
+@@ -294,7 +294,7 @@
+ \begin{haskelllisting}
+ 
+ > csoundDir :: Name
+-> csoundDir = "src/Test/CSound"
++> csoundDir = "/tmp"
+ > -- csoundDir = "C:/TEMP/csound"
+ >
+ > tut1 = example "tut01" score1 o1
diff -rN -u old-haskell-haskore/patches/02-tweak_makefile.patch new-haskell-haskore/patches/02-tweak_makefile.patch
--- old-haskell-haskore/patches/02-tweak_makefile.patch	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-haskore/patches/02-tweak_makefile.patch	2010-04-30 13:24:30.284091515 +0000
@@ -0,0 +1,30 @@
+Description: Haskore's Makefile provides a way to build its Tutorial
+ in PDF format. However, there are minor issues on the actual PDF
+ building process that need manual tweaking of the Makefile.
+Forwarded: yes
+Author: Ernesto Hernández-Novich (USB) <emhn at usb.ve>
+
+--- a/Makefile
++++ b/Makefile
+@@ -115,8 +115,9 @@
+ all:	compile
+ 
+ clean:
+-	-(cd build && rm `find . -name "*.hi"` `find . -name "*.o"`)
+-	-rm $(UNLIT_MODULES)
++	-(cd build && rm -f `find . -name "*.hi"` `find . -name "*.o"`)
++	-rm -f $(UNLIT_MODULES)
++	-rm -f Tutorial.* src/Doc/Tutorial.pdf src/Doc/Pics/*.pdf
+ 
+ test:   test-compile testcases pdf autotrack-ps cabal-haddock
+ 
+@@ -185,7 +186,8 @@
+ 	TEXINPUTS=src:src/Doc:$(TEXINPUTS) pdflatex $<
+ 	mkindex Tutorial
+ 	thumbpdf Tutorial
+-	-ln -s ../Tutorial.pdf docs/Tutorial.pdf
++	TEXINPUTS=src:src/Doc:$(TEXINPUTS) pdflatex $<
++	-ln -s Tutorial.pdf src/Doc/Tutorial.pdf
+ 
+ %.pdf:	%.eps
+ 	epstopdf $<





More information about the Pkg-haskell-commits mailing list