Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sound
In directory vz-cvs-3.sog:/tmp/cvs-serv5999/stable/main/finkinfo/sound

Added Files:
        solfege.info solfege.patch 
Log Message:
GNOME dep upgrade


--- NEW FILE: solfege.patch ---
--- solfege-3.14.10.orig/Makefile.in
+++ solfege-3.14.10/Makefile.in
@@ -146,7 +146,5 @@
 compileall:
 ifneq (x"$(nopycompile)",xYES)
-       for dir in src mpd soundcard; do\
-         $(PYTHON) -c "import compileall; 
compileall.compile_dir('$(DESTDIR)/$(datadir)/$(PACKAGE)/$(dir)')" ;\
-          done
+         cd $(DESTDIR)$(datadir); $(PYTHON) -c "import compileall; 
compileall.compile_dir('$(PACKAGE)')"
 endif
 
--- solfege-3.14.10.orig/default.config
+++ solfege-3.14.10/default.config
@@ -65,13 +65,13 @@
 mma=mma
 
 [sound]
-type=sequencer-device
+type=external-midiplayer
 device_file=/dev/sequencer2
 synth_number=2
-wav_player=/usr/bin/aplay
-midi_player=/usr/bin/timidity -idqq %s
-mp3_player=/usr/bin/mpg123
-ogg_player=/usr/bin/ogg123
+wav_player=@PREFIX@/bin/qtplay
+midi_player=@PREFIX@/bin/qtplay
+mp3_player=@PREFIX@/bin/mpg123
+ogg_player=@PREFIX@/bin/ogg123
 
 [config]
 preferred_instrument=0

--- NEW FILE: solfege.info ---
Package: solfege
Version: 3.14.10
Revision: 2
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: d24ab1184ee1466fba9c965cb8ae8f58
Depends: <<
         python26, 
         pygtk2-gtk-py26 (>= 2.16.0-1), 
         pygobject2-py26 (>= 2.20.0-1),
         qtplay,
         fontconfig-path,
         pango1-xft2-ft219 (>= 1.24.5-4),
         gtk+2 (>= 2.18.0-1),
         vorbis-tools, 
         mpg123, 
         lame
<<
BuildDepends: <<
              python26, 
              swig, 
              gettext-tools, 
              texinfo, glib2-dev (>= 2.22.0-1), 
              pkgconfig (>=0.23), 
              pygtk2-gtk-py26-dev (>= 2.16.0-1), 
              pygobject2-py26-dev (>= 2.20.0-1), 
              libxml2 (>= 2.7.8-1), 
              gtk+2-dev (>= 2.18.0-1), 
              docbook-xsl, 
              gnome-doc-utils,
              libxslt-bin
<<
Recommends: <<
            mma,
            tetex,
            lilypond
<<
PatchFile: %n.patch
PatchFile-MD5: 1c8d150c9f2c3754e820769febed54e2
PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -l -p1
ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info 
--enable-docbook-stylesheet=%p/share/xml/xsl/docbook-xsl/html/chunk.xsl
CompileScript: <<
#!/bin/bash -ev
export PYTHON="%p/bin/python2.6"
./configure %c
make
<<
Installscript: <<
 make install DESTDIR=%d
<<
Description: Ear training lessons with audio feedback
DocFiles: AUTHORS COPYING ChangeLog FAQ INSTALL INSTALL.win32 README
License: GPL
Homepage: http://www.solfege.org/
Maintainer: Jean Orloff <jean.orl...@free.fr>
DescDetail:<<
        Solfege is an ear training program for X11 written in python, using the
        GTK+ and GNOME libraries. 

        Eartraining is a big subject with many connections to music theory and
        performance of music, so it is hard even trying to make "a complete
        computer-based ear training course". But someone will hopfully find this
        software useful.
        
        A lot of efforts has gone into the non-english translation of
        docs and lessons: please set up the language environment
        properly, with e.g:
        $ export LANGUAGE="fr_FR"       
<<
DescPackaging:<<

* I spent some time scrutinizing all dependencies, and installing from
  source or binaries on a fresh fink. For instance, Debian makes solfege
  depend on lilypond, and thus ghostscript, which is not really necessary.

* $ fink validate solfege.info 
  $ fink -m -k --build-as-nobody rebuild solfege
  Package looks good!

* depends on python26, but could work with 25 or 24: should maybe make 2 
packages (splitoff??)

* It took me some time to get rid of absolute paths in .pyc files.

<<
DescUsage:<<
* Needs X11: check if /Applications/Utilities/X11.app is there, 
  or install it from the original DVD.

* then, in a terminal, type:
    $ solfege

* If you want to translate .midi files into .wav, install
     $ fink install timidity-nox
  Is not done by default because it loads 25Mb of sound patterns...

* To benefit from the huge translation effort, make sure your language
  environment is set, e.g. with:
        $ export LANGUAGE="fr_FR"       

* Have fun, and see you in 10 years, when you pass all tests easily while
watching TV...
<<


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to