Remove faust.

-215
-110
pkgs/applications/audio/faust-compiler/default.nix
··· 1 - { fetchgit, stdenv, unzip, pkgconfig, makeWrapper, libsndfile, libmicrohttpd, vim }: 2 - 3 - stdenv.mkDerivation rec { 4 - 5 - version = "8-1-2015"; 6 - name = "faust-compiler-${version}"; 7 - src = fetchgit { 8 - url = git://git.code.sf.net/p/faudiostream/code; 9 - rev = "4db76fdc02b6aec8d15a5af77fcd5283abe963ce"; 10 - sha256 = "f1ac92092ee173e4bcf6b2cb1ac385a7c390fb362a578a403b2b6edd5dc7d5d0"; 11 - }; 12 - 13 - # this version has a bug that manifests when doing faust2jack: 14 - /*version = "0.9.67";*/ 15 - /*name = "faust-compiler-${version}";*/ 16 - /*src = fetchurl {*/ 17 - /*url = "http://downloads.sourceforge.net/project/faudiostream/faust-${version}.zip";*/ 18 - /*sha256 = "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1";*/ 19 - /*};*/ 20 - 21 - buildInputs = [ unzip pkgconfig makeWrapper libsndfile libmicrohttpd vim]; 22 - 23 - 24 - makeFlags="PREFIX = $(out)"; 25 - FPATH="$out"; # <- where to search 26 - 27 - patchPhase = '' 28 - sed -i 's@?= $(shell uname -s)@:= Linux@g' architecture/osclib/oscpack/Makefile 29 - sed -i 's@faust/misc.h@../../architecture/faust/misc.h@g' tools/sound2faust/sound2faust.cpp 30 - sed -i 's@faust/gui/@../../architecture/faust/gui/@g' architecture/faust/misc.h 31 - ''; 32 - 33 - buildPhase = '' 34 - make -C compiler -f Makefile.unix 35 - make -C architecture/osclib 36 - g++ -O3 tools/sound2faust/sound2faust.cpp `pkg-config --cflags --static --libs sndfile` -o tools/sound2faust/sound2faust 37 - make httpd 38 - 39 - ''; 40 - 41 - installPhase = '' 42 - 43 - echo install faust itself 44 - mkdir -p $out/bin/ 45 - mkdir -p $out/include/ 46 - mkdir -p $out/include/faust/ 47 - mkdir -p $out/include/faust/osc/ 48 - install compiler/faust $out/bin/ 49 - 50 - echo install architecture and faust library files 51 - mkdir -p $out/lib/faust 52 - cp architecture/*.lib $out/lib/faust/ 53 - cp architecture/*.cpp $out/lib/faust/ 54 - 55 - echo install math documentation files 56 - cp architecture/mathdoctexts-*.txt $out/lib/faust/ 57 - cp architecture/latexheader.tex $out/lib/faust/ 58 - 59 - echo install additional binary libraries: osc, http 60 - ([ -e architecture/httpdlib/libHTTPDFaust.a ] && cp architecture/httpdlib/libHTTPDFaust.a $out/lib/faust/) || echo libHTTPDFaust not available 61 - cp architecture/osclib/*.a $out/lib/faust/ 62 - cp -r architecture/httpdlib/html/js $out/lib/faust/js 63 - ([ -e architecture/httpdlib/src/hexa/stylesheet ] && cp architecture/httpdlib/src/hexa/stylesheet $out/lib/faust/js/stylesheet.js) || echo stylesheet not available 64 - ([ -e architecture/httpdlib/src/hexa/jsscripts ] && cp architecture/httpdlib/src/hexa/jsscripts $out/lib/faust/js/jsscripts.js) || echo jsscripts not available 65 - 66 - echo install includes files for architectures 67 - cp -r architecture/faust $out/include/ 68 - 69 - echo install additional includes files for binary libraries: osc, http 70 - cp architecture/osclib/faust/faust/OSCControler.h $out/include/faust/gui/ 71 - cp architecture/osclib/faust/faust/osc/*.h $out/include/faust/osc/ 72 - cp architecture/httpdlib/src/include/*.h $out/include/faust/gui/ 73 - 74 - 75 - echo patch header and cpp files 76 - find $out/include/ -name "*.h" -type f | xargs sed "s@#include \"faust/@#include \"$out/include/faust/@g" -i 77 - find $out/lib/faust/ -name "*.cpp" -type f | xargs sed "s@#include \"faust/@#include \"$out/include/faust/@g" -i 78 - sed -i "s@../../architecture/faust/gui/@$out/include/faust/gui/@g" $out/include/faust/misc.h 79 - 80 - wrapProgram $out/bin/faust \ 81 - --set FAUSTLIB $out/lib/faust \ 82 - --set FAUST_LIB_PATH $out/lib/faust \ 83 - --set FAUSTINC $out/include/ 84 - ''; 85 - 86 - meta = with stdenv.lib; { 87 - description = "A functional programming language for realtime audio signal processing"; 88 - longDescription = '' 89 - FAUST (Functional Audio Stream) is a functional programming 90 - language specifically designed for real-time signal processing 91 - and synthesis. FAUST targets high-performance signal processing 92 - applications and audio plug-ins for a variety of platforms and 93 - standards. 94 - The Faust compiler translates DSP specifications into very 95 - efficient C++ code. Thanks to the notion of architecture, 96 - FAUST programs can be easily deployed on a large variety of 97 - audio platforms and plugin formats (jack, alsa, ladspa, maxmsp, 98 - puredata, csound, supercollider, pure, vst, coreaudio) without 99 - any change to the FAUST code. 100 - This package has just the compiler. Install faust for the full 101 - set of faust2somethingElse tools. 102 - ''; 103 - homepage = http://faust.grame.fr/; 104 - downloadPage = http://sourceforge.net/projects/faudiostream/files/; 105 - license = licenses.gpl2; 106 - platforms = platforms.linux; 107 - maintainers = [ maintainers.magnetophon ]; 108 - }; 109 - } 110 -
-100
pkgs/applications/audio/faust/default.nix
··· 1 - { fetchgit, stdenv, bash, alsaLib, atk, cairo, faust-compiler, fontconfig, freetype 2 - , gcc, gdk_pixbuf, glib, gtk, jack2, makeWrapper, opencv, pango, pkgconfig, unzip 3 - , gtkSupport ? true 4 - , jackaudioSupport ? true 5 - }: 6 - 7 - stdenv.mkDerivation rec { 8 - 9 - version = "8-1-2015"; 10 - name = "faust-${version}"; 11 - src = fetchgit { 12 - url = git://git.code.sf.net/p/faudiostream/code; 13 - rev = "4db76fdc02b6aec8d15a5af77fcd5283abe963ce"; 14 - sha256 = "f1ac92092ee173e4bcf6b2cb1ac385a7c390fb362a578a403b2b6edd5dc7d5d0"; 15 - }; 16 - 17 - # this version has a bug that manifests when doing faust2jack: 18 - /*version = "0.9.67";*/ 19 - /*name = "faust-${version}";*/ 20 - /*src = fetchurl {*/ 21 - /*url = "http://downloads.sourceforge.net/project/faudiostream/faust-${version}.zip";*/ 22 - /*sha256 = "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1";*/ 23 - /*};*/ 24 - 25 - buildInputs = [ bash unzip faust-compiler gcc makeWrapper pkgconfig ] 26 - ++ stdenv.lib.optionals gtkSupport [ 27 - alsaLib atk cairo fontconfig freetype gdk_pixbuf glib gtk pango 28 - ] 29 - ++ stdenv.lib.optional jackaudioSupport jack2 30 - ; 31 - 32 - makeFlags="PREFIX=$(out)"; 33 - FPATH="$out"; # <- where to search 34 - 35 - phases = [ "unpackPhase installPhase postInstall" ]; 36 - 37 - installPhase = '' 38 - sed -i 23,24d tools/faust2appls/faust2jack 39 - mkdir $out/bin 40 - install tools/faust2appls/faust2alsaconsole $out/bin 41 - install tools/faust2appls/faustpath $out/bin 42 - install tools/faust2appls/faustoptflags $out/bin 43 - install tools/faust2appls/faust2alsa $out/bin 44 - install tools/faust2appls/faust2jack $out/bin 45 - 46 - patchShebangs $out/bin 47 - 48 - wrapProgram $out/bin/faust2alsaconsole \ 49 - --prefix PKG_CONFIG_PATH : ${alsaLib}/lib/pkgconfig \ 50 - --set FAUSTLIB ${faust-compiler}/lib/faust \ 51 - --set FAUSTINC ${faust-compiler}/include/ 52 - 53 - GTK_PKGCONFIG_PATHS=${gtk}/lib/pkgconfig:${pango}/lib/pkgconfig:${glib}/lib/pkgconfig:${cairo}/lib/pkgconfig:${gdk_pixbuf}/lib/pkgconfig:${atk}/lib/pkgconfig:${freetype}/lib/pkgconfig:${fontconfig}/lib/pkgconfig 54 - 55 - wrapProgram $out/bin/faust2alsa \ 56 - --prefix PKG_CONFIG_PATH : ${alsaLib}/lib/pkgconfig:$GTK_PKGCONFIG_PATHS \ 57 - --set FAUSTLIB ${faust-compiler}/lib/faust \ 58 - --set FAUSTINC ${faust-compiler}/include/ \ 59 - 60 - 61 - wrapProgram $out/bin/faust2jack \ 62 - --prefix PKG_CONFIG_PATH : ${jack2}/lib/pkgconfig:${opencv}/lib/pkgconfig:$GTK_PKGCONFIG_PATHS \ 63 - --set FAUSTLIB ${faust-compiler}/lib/faust \ 64 - --set FAUSTINC ${faust-compiler}/include/ \ 65 - 66 - '' 67 - + stdenv.lib.optionalString (!gtkSupport) "rm $out/bin/faust2alsa" 68 - + stdenv.lib.optionalString (!gtkSupport || !jackaudioSupport) "rm $out/bin/faust2jack" 69 - ; 70 - postInstall = '' 71 - sed -e "s@\$FAUST_INSTALL /usr/local /usr /opt /opt/local@${faust-compiler}@g" -i $out/bin/faustpath 72 - sed -i "s@/bin/bash@${bash}/bin/bash@g" $out/bin/faustoptflags 73 - find $out/bin/ -name "*faust2*" -type f | xargs sed "s@pkg-config@${pkgconfig}/bin/pkg-config@g" -i 74 - find $out/bin/ -name "*faust2*" -type f | xargs sed "s@CXX=g++@CXX=${gcc}/bin/g++@g" -i 75 - find $out/bin/ -name "*faust2*" -type f | xargs sed "s@faust -i -a @${faust-compiler}/bin/faust -i -a ${faust-compiler}/lib/faust/@g" -i 76 - ''; 77 - 78 - meta = with stdenv.lib; { 79 - description = "A functional programming language for realtime audio signal processing"; 80 - longDescription = '' 81 - FAUST (Functional Audio Stream) is a functional programming 82 - language specifically designed for real-time signal processing 83 - and synthesis. FAUST targets high-performance signal processing 84 - applications and audio plug-ins for a variety of platforms and 85 - standards. 86 - The Faust compiler translates DSP specifications into very 87 - efficient C++ code. Thanks to the notion of architecture, 88 - FAUST programs can be easily deployed on a large variety of 89 - audio platforms and plugin formats (jack, alsa, ladspa, maxmsp, 90 - puredata, csound, supercollider, pure, vst, coreaudio) without 91 - any change to the FAUST code. 92 - ''; 93 - homepage = http://faust.grame.fr/; 94 - downloadPage = http://sourceforge.net/projects/faudiostream/files/; 95 - license = licenses.gpl2; 96 - platforms = platforms.linux; 97 - maintainers = [ maintainers.magnetophon ]; 98 - }; 99 - } 100 -
-5
pkgs/top-level/all-packages.nix
··· 13516 13516 13517 13517 fakenes = callPackage ../misc/emulators/fakenes { }; 13518 13518 13519 - 13520 - faust = callPackage ../applications/audio/faust { }; 13521 - 13522 - faust-compiler = callPackage ../applications/audio/faust-compiler { }; 13523 - 13524 13519 fceux = callPackage ../misc/emulators/fceux { }; 13525 13520 13526 13521 foldingathome = callPackage ../misc/foldingathome { };