Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

* Added Audacious, a fork of beep-media-player (which doesn't seem to work very well after the Glibc update), plus its dependencies.

TODO: make an audacious-wrapper that lets Audacious find its plugins
automatically. Currently you have to install audacious-plugins and
symlink ~/.nix-profile/lib/audacious/* in
~/.local/share/audacious/Plugins.

svn path=/nixpkgs/trunk/; revision=10927

+120 -10
+32
pkgs/applications/audio/audacious/player.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, glib, gtk, libmowgli 2 + , libglade, libmcs, gettext, xlibs, dbus_glib 3 + }: 4 + 5 + stdenv.mkDerivation { 6 + name = "audacious-1.4.6"; 7 + 8 + src = fetchurl { 9 + url = http://distfiles.atheme.org/audacious-1.4.6.tbz2; 10 + sha256 = "0n4za82xlh3nfvfk0hq81bmh0sx233gxq8xj68jzalmbijsnbs0l"; 11 + }; 12 + 13 + buildInputs = [pkgconfig libglade libmcs gettext dbus_glib]; 14 + 15 + propagatedBuildInputs = [glib gtk libmowgli libmcs]; 16 + 17 + NIX_LDFLAGS = "-rpath ${xlibs.libX11}/lib"; 18 + 19 + # Otherwise we barf with "libgcc_s.so.1 must be installed for 20 + # pthread_cancel to work" on exit, as it tries to find libgcc_s 21 + # dynamically. 22 + dontPatchELF = true; 23 + 24 + preBuild = '' 25 + ensureDir $out/lib 26 + ''; 27 + 28 + meta = { 29 + description = "Audacious, a media player forked from the Beep Media Player, which was itself an XMMS fork"; 30 + homepage = http://audacious-media-player.org/; 31 + }; 32 + }
+29
pkgs/applications/audio/audacious/plugins.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, audacious, dbus_glib, gettext 2 + , libmad, xlibs, alsaLib, taglib, libmpcdec, libogg, libvorbis 3 + }: 4 + 5 + stdenv.mkDerivation { 6 + name = "audacious-plugins-1.4.5"; 7 + 8 + src = fetchurl { 9 + url = http://distfiles.atheme.org/audacious-plugins-1.4.5.tbz2; 10 + sha256 = "145dn2x1rldwbaxnl19j7cw338fs9fwcn607r8gk01adfy3warxq"; 11 + }; 12 + 13 + buildInputs = [ 14 + pkgconfig audacious dbus_glib gettext libmad 15 + xlibs.libXcomposite alsaLib taglib libmpcdec 16 + libogg libvorbis 17 + ]; 18 + 19 + preBuild = '' 20 + makeFlagsArray=(pluginlibdir=$out/lib/audacious) 21 + ''; 22 + 23 + NIX_LDFLAGS = "-L${audacious}/lib/audacious"; # needed because we override pluginlibdir 24 + 25 + meta = { 26 + description = "Plugins for the Audacious media player"; 27 + homepage = http://audacious-media-player.org/; 28 + }; 29 + }
+17
pkgs/development/libraries/libmcs/default.nix
···
··· 1 + {stdenv, fetchurl, pkgconfig, libmowgli}: 2 + 3 + stdenv.mkDerivation { 4 + name = "libmcs-0.7.0"; 5 + 6 + src = fetchurl { 7 + url = http://distfiles.atheme.org/libmcs-0.7.0.tgz; 8 + sha256 = "11qjrxxgk0yvqm668dyaj54kgijcnkaid8dld8lf4br2glmz2jy5"; 9 + }; 10 + 11 + buildInputs = [pkgconfig libmowgli]; 12 + 13 + meta = { 14 + description = "A library and set of userland tools which abstract the storage of configuration settings away from userland applications"; 15 + homepage = http://www.atheme.org/projects/mcs.shtml; 16 + }; 17 + }
+15
pkgs/development/libraries/libmowgli/default.nix
···
··· 1 + {stdenv, fetchurl}: 2 + 3 + stdenv.mkDerivation { 4 + name = "libmowgli-0.6.1"; 5 + 6 + src = fetchurl { 7 + url = http://distfiles.atheme.org/libmowgli-0.6.1.tgz; 8 + sha256 = "0bhxgyx6c913pyiib768qmsi059dnq1zj3k2nik9976hy5yd8m0l"; 9 + }; 10 + 11 + meta = { 12 + description = "A development framework for C providing high performance and highly flexible algorithms"; 13 + homepage = http://www.atheme.org/projects/mowgli.shtml; 14 + }; 15 + }
+3 -3
pkgs/development/libraries/libmpcdec/default.nix
··· 1 {stdenv, fetchurl}: 2 3 stdenv.mkDerivation { 4 - name = "libmpcdec-1.2.2"; 5 src = fetchurl { 6 - url = http://files2.musepack.net/source/libmpcdec-1.2.2.tar.bz2; 7 - md5 = "f14e07285b9b102a806649074c1d779b"; 8 }; 9 }
··· 1 {stdenv, fetchurl}: 2 3 stdenv.mkDerivation { 4 + name = "libmpcdec-1.2.6"; 5 src = fetchurl { 6 + url = http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2; 7 + md5 = "7f7a060e83b4278acf4b77d7a7b9d2c0"; 8 }; 9 }
+22 -4
pkgs/top-level/all-packages.nix
··· 2634 })); 2635 2636 libksba = import ../development/libraries/libksba { 2637 - inherit fetchurl stdenv libgpgerror; 2638 }; 2639 2640 libmad = import ../development/libraries/libmad { 2641 inherit fetchurl stdenv; 2642 }; 2643 2644 libmpcdec = import ../development/libraries/libmpcdec { 2645 inherit fetchurl stdenv; 2646 }; ··· 2650 }; 2651 2652 libnova = import ../development/libraries/libnova { 2653 - inherit fetchurl stdenv; 2654 }; 2655 2656 libogg = import ../development/libraries/libogg { ··· 2663 }; 2664 2665 liboil = liboilFun null; 2666 - 2667 2668 liboop = import ../development/libraries/liboop { 2669 inherit fetchurl stdenv; ··· 2788 inherit fetchurl stdenv; 2789 }; 2790 2791 - #failed to build 2792 mediastreamerFun = lib.sumArgs (selectVersion 2793 ../development/libraries/mediastreamer "2.2.0-cvs20080207") { 2794 inherit fetchurl stdenv automake libtool autoconf alsaLib pkgconfig speex ··· 4562 amsn = import ../applications/networking/instant-messengers/amsn { 4563 inherit fetchurl stdenv which tcl tk x11; 4564 libstdcpp = gcc33.gcc; 4565 }; 4566 4567 audacity = import ../applications/audio/audacity {
··· 2634 })); 2635 2636 libksba = import ../development/libraries/libksba { 2637 + inherit fetchurl stdenv libgpgerror; 2638 }; 2639 2640 libmad = import ../development/libraries/libmad { 2641 inherit fetchurl stdenv; 2642 }; 2643 2644 + libmcs = import ../development/libraries/libmcs { 2645 + inherit fetchurl stdenv pkgconfig libmowgli; 2646 + }; 2647 + 2648 + libmowgli = import ../development/libraries/libmowgli { 2649 + inherit fetchurl stdenv; 2650 + }; 2651 + 2652 libmpcdec = import ../development/libraries/libmpcdec { 2653 inherit fetchurl stdenv; 2654 }; ··· 2658 }; 2659 2660 libnova = import ../development/libraries/libnova { 2661 + inherit fetchurl stdenv; 2662 }; 2663 2664 libogg = import ../development/libraries/libogg { ··· 2671 }; 2672 2673 liboil = liboilFun null; 2674 2675 liboop = import ../development/libraries/liboop { 2676 inherit fetchurl stdenv; ··· 2795 inherit fetchurl stdenv; 2796 }; 2797 2798 + # failed to build 2799 mediastreamerFun = lib.sumArgs (selectVersion 2800 ../development/libraries/mediastreamer "2.2.0-cvs20080207") { 2801 inherit fetchurl stdenv automake libtool autoconf alsaLib pkgconfig speex ··· 4569 amsn = import ../applications/networking/instant-messengers/amsn { 4570 inherit fetchurl stdenv which tcl tk x11; 4571 libstdcpp = gcc33.gcc; 4572 + }; 4573 + 4574 + audacious = import ../applications/audio/audacious/player.nix { 4575 + inherit fetchurl stdenv pkgconfig libmowgli libmcs gettext xlibs dbus_glib; 4576 + inherit (gnome) libglade; 4577 + inherit (gtkLibs) glib gtk; 4578 + }; 4579 + 4580 + audacious_plugins = import ../applications/audio/audacious/plugins.nix { 4581 + inherit fetchurl stdenv pkgconfig audacious dbus_glib gettext 4582 + libmad xlibs alsaLib taglib libmpcdec libogg libvorbis; 4583 }; 4584 4585 audacity = import ../applications/audio/audacity {
+2 -3
pkgs/top-level/build-for-release.nix
··· 12 aspell 13 aspellDicts 14 aterm 15 autoconf 16 automake19x 17 bash ··· 20 binutils 21 bison23 22 bittorrent 23 - bmp 24 - bmp_plugin_musepack 25 - bmp_plugin_wma 26 bsdiff 27 bzip2 28 cabextract
··· 12 aspell 13 aspellDicts 14 aterm 15 + audacious 16 + audacious_plugins 17 autoconf 18 automake19x 19 bash ··· 22 binutils 23 bison23 24 bittorrent 25 bsdiff 26 bzip2 27 cabextract