Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add calf - audio effects plugin pack and lv2 - audio plugin standard #35

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
cfea75c
speed dreams: fixing the build (libpng version)
viric Jul 2, 2012
c43a18b
speed dreams: fixing build (libpng order in buildInputs)
viric Jul 2, 2012
95072d1
pyqt: Adding a new url; the old does not work anymore.
viric Jul 2, 2012
40b91ce
octave: disabling parallel building
viric Jul 2, 2012
bda2b3c
blackshadeselite: fix build in gcc 4.6
viric Jul 2, 2012
aab4bec
ufoai: fixing the build. Building with libpng12.
viric Jul 2, 2012
808e50c
freeswitch: Updating to the latest master. This fixes the build.
viric Jul 2, 2012
f0e4e77
fltk: updating, the old url didn't work.
viric Jul 2, 2012
dcdea9d
cinepaint: updating, and making it build
viric Jul 2, 2012
cb0d79e
viking: Update to 1.3.
civodul Jul 1, 2012
946f2c1
xineLib: update to 1.2.2
viric Jul 2, 2012
8a764b7
xine-ui: update to 0.99.7
viric Jul 2, 2012
5592b1f
eaglemode: update to 0.84.0
viric Jul 2, 2012
ef1d8eb
xine-lib: removing a now unused patch
viric Jul 2, 2012
8a5d9ba
Update VirtualBox to version 4.1.18.
aszlig Jul 3, 2012
8e476fb
Add calf - audio effects plugin pack and lv2 - audio plugin standard
cillianderoiste Jul 3, 2012
2e2335c
reviewboard: Update to 1.6.9 and fix the build
edolstra Jul 4, 2012
d0bfd4b
opencv: updating to 2.4.1.
viric Jul 4, 2012
6ba310e
Merge pull request #36 from aszlig/chromium-channels
shlevy Jul 4, 2012
1d31c4d
Fix the lexicographical ordering, lv2 comes before lxdvdrip (thanks s…
cillianderoiste Jul 4, 2012
94cfff9
Add calf - audio effects plugin pack and lv2 - audio plugin standard
cillianderoiste Jul 3, 2012
219bad5
Fix the lexicographical ordering, lv2 comes before lxdvdrip (thanks s…
cillianderoiste Jul 4, 2012
a3770a6
Move lv2 into development/libraries/audio since it is a library and n…
cillianderoiste Jul 4, 2012
ceb10e0
Merge branch 'lv2-calf' of github.com:cillianderoiste/nixpkgs-goibhni…
cillianderoiste Jul 4, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions pkgs/applications/audio/calf/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ stdenv, fetchurl, cairo, expat, glib, gtk, jackaudio, ladspaH
, libglade, lv2, pkgconfig }:

stdenv.mkDerivation rec {
name = "calf-${version}";
version = "0.0.18.6";

src = fetchurl {
url = "mirror://sourceforge/calf/${name}.tar.gz";
sha256 = "03w6jjkrr6w8da6qzd0x4dlkg295c6jxby500x4cj07wpbpk6irh";
};

buildInputs =
[ cairo jackaudio gtk glib expat libglade ladspaH lv2 pkgconfig ];

meta = with stdenv.lib; {
homepage = http://calf.sourceforge.net;
description = "A set of high quality open source audio plugins for musicians";
license = licenses.lgpl2;
maintainers = [ maintainers.goibhniu ];
};
}
27 changes: 27 additions & 0 deletions pkgs/applications/audio/lv2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchurl, gtk, libsndfile, pkgconfig, python }:

stdenv.mkDerivation rec {
name = "lv2-${version}";
version = "1.0.0";

src = fetchurl {
url = "http://lv2plug.in/spec/${name}.tar.bz2";
sha256 = "0lfp7679wwqd49k4mjxwqslpfx5fz2q7akxqayg400zqn70whzl5";
};

buildInputs = [ gtk libsndfile pkgconfig python ];

configurePhase = "python waf configure --prefix=$out";

buildPhase = "python waf";

installPhase = "python waf install";

meta = with stdenv.lib; {
homepage = http://lv2plug.in;
description = "A plugin standard for audio systems";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];

};
}
12 changes: 8 additions & 4 deletions pkgs/applications/graphics/cinepaint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
flex, libtiff, libjpeg, libpng, libexif, zlib, perl, libX11,
perlXMLParser, python, pygtk, gettext, intltool, babl, gegl,
glib, makedepend, xf86vidmodeproto, xineramaproto, libXmu, openexr,
mesa, libXext, libXpm, libXxf86vm, pixman, libpthreadstubs } :
mesa, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :

stdenv.mkDerivation rec {
name = "cinepaint-1.0";
Expand All @@ -12,15 +12,19 @@ stdenv.mkDerivation rec {
sha256 = "02mbpsykd7sfr9h6c6gxld6i3bdwnsgvm70b5yff01gwi69w2wi7";
};

buildInputs = [ gtk freetype fontconfig lcms flex libtiff libjpeg libpng
buildInputs = [ libpng gtk freetype fontconfig lcms flex libtiff libjpeg
libexif zlib perl libX11 perlXMLParser python pygtk gettext intltool babl
gegl glib makedepend xf86vidmodeproto xineramaproto libXmu openexr mesa
libXext libXpm libXxf86vm pixman libpthreadstubs
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
];

patches = [ ./install.patch ];

buildNativeInputs = [ cmake pkgconfig ];

NIX_CFLAGS_COMPILE = "-I.";
NIX_LDFLAGS = "-llcms -ljpeg";

# NIX_CFLAGS_COMPILE = "-I.";

meta = {
homepage = http://www.cinepaint.org/;
Expand Down
24 changes: 24 additions & 0 deletions pkgs/applications/graphics/cinepaint/install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dfb182f..5adaaa5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,7 +138,7 @@ STRING(REPLACE "/" "\\/" ESCAPEDPREFIX ${PREFIX})
# Note that for MacOS this needs to be revised
# for the @OSX_ICC...@ variables
ADD_CUSTOM_COMMAND(
- OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/gimprc
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/gimprc
COMMAND sed -e s/\@platform\@//g
-e s/\@prefix\@/${ESCAPEDPREFIX}/g
-e s/\@exec_prefix\@/\${prefix}/g
@@ -155,8 +155,8 @@ ADD_CUSTOM_COMMAND(

ADD_CUSTOM_TARGET(RCFile ALL echo
""
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/user_install
- ${CMAKE_CURRENT_SOURCE_DIR}/gimprc
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/user_install
+ ${CMAKE_CURRENT_BINARY_DIR}/gimprc
)


11 changes: 7 additions & 4 deletions pkgs/applications/misc/eaglemode/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
librsvg, glib, gtk, libXext, libXxf86vm, poppler }:

stdenv.mkDerivation {
name = "eaglemode-0.83.0";
name = "eaglemode-0.84.0";

src = fetchurl {
url = mirror://sourceforge/eaglemode/eaglemode-0.83.0.tar.bz2;
sha256 = "0rlvi9ljf3ml2l4ydkcgjjja8wk9c7h5qlpdr4x4ghh6sqq0q2x3";
url = mirror://sourceforge/eaglemode/eaglemode-0.84.0.tar.bz2;
sha256 = "0n20b419j0l7h7jr4s3f3n09ka0ysg9nqs8mcwsrx24rcq7nv0cs";
};

buildInputs = [ perl libX11 xineLib libjpeg libpng libtiff pkgconfig
librsvg glib gtk libXxf86vm libXext poppler ];

# The program tries to dlopen both Xxf86vm and Xext, so we use the
# trick on NIX_LDFLAGS and dontPatchELF to make it find them.
# I use 'yes y' to skip a build error linking with xineLib,
# because xine stopped exporting "_x_vo_new_port"
# http://sourceforge.net/projects/eaglemode/forums/forum/808824/topic/5115261
buildPhase = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lXxf86vm -lXext"
yes n | perl make.pl build
yes y | perl make.pl build
'';

dontPatchELF = true;
Expand Down
26 changes: 17 additions & 9 deletions pkgs/applications/misc/viking/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
{ fetchurl, stdenv, pkgconfig, intltool, gettext, gtk, expat, curl
, gpsd, bc, file }:
, gpsd, bc, file, gnome_doc_utils, libexif, libxml2, libxslt, scrollkeeper
, docbook_xml_dtd_412 }:

stdenv.mkDerivation rec {
name = "viking-0.9.8";
let version = "1.3"; in
stdenv.mkDerivation {
name = "viking-${version}";

src = fetchurl {
url = "mirror://sourceforge/viking/${name}.tar.gz";
sha256 = "1is8g6ld5pd13iiv9qm8526q1cblg01pqyakg52sd6k7fys7dz2d";
url = "mirror://sourceforge/viking/viking/${version}/viking-${version}.tar.gz";
sha256 = "1psgy1myx9xn7zgpvqrpricsv041sz41mm82hj5i28k72fq47p2l";
};

patches = [
./test-bc.patch ./gpsdclient.patch ./implicit-declaration.patch
];
buildInputs =
[ pkgconfig intltool gettext gtk expat curl gpsd bc file gnome_doc_utils
libexif libxml2 libxslt scrollkeeper docbook_xml_dtd_412
];

buildInputs = [ pkgconfig intltool gettext gtk expat curl gpsd bc file ];
configureFlags = [ "--disable-scrollkeeper" ];

preBuild =
'' sed -i help/Makefile \
-e 's|--noout|--noout --nonet --path "${scrollkeeper}/share/xml/scrollkeeper/dtds"|g'
'';

doCheck = true;

Expand Down
51 changes: 0 additions & 51 deletions pkgs/applications/misc/viking/gpsdclient.patch

This file was deleted.

13 changes: 0 additions & 13 deletions pkgs/applications/misc/viking/implicit-declaration.patch

This file was deleted.

22 changes: 0 additions & 22 deletions pkgs/applications/misc/viking/test-bc.patch

This file was deleted.

10 changes: 5 additions & 5 deletions pkgs/applications/video/xine-ui/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{stdenv, fetchurl, pkgconfig, xlibs, xineLib, libpng12, readline, ncurses, curl
, lirc, shared_mime_info }:
{stdenv, fetchurl, pkgconfig, xlibs, libpng, xineLib, readline, ncurses, curl
, lirc, shared_mime_info, libjpeg }:

stdenv.mkDerivation rec {
name = "xine-ui-0.99.6";
name = "xine-ui-0.99.7";

src = fetchurl {
url = "mirror://sourceforge/xine/${name}.tar.xz";
sha256 = "1wwylnckm5kfq5fi154w8jqf5cwvp7c1ani15q7sgfrfdkmy7caf";
sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x";
};

buildNativeInputs = [ pkgconfig shared_mime_info ];

buildInputs =
[ xineLib libpng12 readline ncurses curl lirc
[ xineLib libpng readline ncurses curl lirc libjpeg
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
xlibs.libXinerama xlibs.libXi xlibs.libXft
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/virtualbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

with stdenv.lib;

let version = "4.1.16"; in
let version = "4.1.18"; in

stdenv.mkDerivation {
name = "virtualbox-${version}-${kernel.version}";
Expand All @@ -17,7 +17,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
sha256 = "0kl21wqz822qgdcilfail5qqgsbhgzixwbbwpkmsh6670jc4jw5n";
sha256 = "e650e4fdc23581b9edc0e5d5705cc596c76796851ebf65ccda0edb8e413fa3b7";
};

buildInputs =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, lib, patchelf, cdrkit, kernel, which, makeWrapper
, libX11, libXt, libXext, libXmu, libXcomposite, libXfixes, libXrandr, libXcursor}:

let version = "4.1.16"; in
let version = "4.1.18"; in

stdenv.mkDerivation {
name = "VirtualBox-GuestAdditions-${version}";
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
sha256 = "1f2p26cg005xc6vi9dbim0macv60d8k8nq20rk7awrbghfib5imm";
sha256 = "1zsjh4q71ny10s2zaxnaw4w3bs961c21xv6dd6zpwhnbimlhlrqb";
};
KERN_DIR = "${kernel}/lib/modules/*/build";
buildInputs = [ patchelf cdrkit makeWrapper ];
Expand Down
4 changes: 3 additions & 1 deletion pkgs/development/interpreters/octave/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ stdenv.mkDerivation rec {

doCheck = true;

enableParallelBuilding = true;
/* The build failed with a missing libranlib.la in hydra,
but worked on my computer. I think they have concurrency problems */
enableParallelBuilding = false;

configureFlags = [ "--enable-readline" "--enable-dl" ];

Expand Down
27 changes: 27 additions & 0 deletions pkgs/development/libraries/audio/lv2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchurl, gtk, libsndfile, pkgconfig, python }:

stdenv.mkDerivation rec {
name = "lv2-${version}";
version = "1.0.0";

src = fetchurl {
url = "http://lv2plug.in/spec/${name}.tar.bz2";
sha256 = "0lfp7679wwqd49k4mjxwqslpfx5fz2q7akxqayg400zqn70whzl5";
};

buildInputs = [ gtk libsndfile pkgconfig python ];

configurePhase = "python waf configure --prefix=$out";

buildPhase = "python waf";

installPhase = "python waf install";

meta = with stdenv.lib; {
homepage = http://lv2plug.in;
description = "A plugin standard for audio systems";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];

};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/fltk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
let inherit (composableDerivation) edf; in

composableDerivation.composableDerivation {} rec {
name = "fltk-2.0.x-alpha-r8550";
name = "fltk-2.0.x-alpha-r9296";

src = fetchurl {
url = "ftp://ftp.easysw.com/pub/fltk/snapshots/${name}.tar.bz2";
sha256 = "0y9fazsv61j8dkg9aiinnw4nd68h7zxmvapmygrl4rq5ywqygng7";
sha256 = "0353ngb7gpyklc9mdz8629big2na3c73akfwhis8fhqp7jkbs9ih";
};

propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/opencv/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, cmake, gtk, libjpeg, libpng, libtiff, jasper, ffmpeg
, pkgconfig, gstreamer, xineLib, glib }:

let v = "2.3.1a"; in
let v = "2.4.1"; in

stdenv.mkDerivation rec {
name = "opencv-${v}";

src = fetchurl {
url = "mirror://sourceforge/opencvlibrary/OpenCV-${v}.tar.bz2";
sha256 = "0325s7pa2npcw2gc06pr6q5ik4xdyf08rvkfc0myn10w20lzb8m9";
sha256 = "1wxijbz1jfsg4695fls83825ppiacxfn5x07al0qkkx5rm7spdi9";
};

buildInputs = [ gtk glib libjpeg libpng libtiff jasper ffmpeg xineLib gstreamer ];
Expand Down
Loading