Merge branch 'master' of github.com:NixOS/nixpkgs
This commit is contained in:
commit
006af75c17
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
*~
|
*~
|
||||||
,*
|
,*
|
||||||
|
.*.swp
|
||||||
|
.*.swo
|
||||||
|
@ -173,7 +173,7 @@ $ git add pkgs/development/libraries/libfoo/default.nix</screen>
|
|||||||
<para>The exact syntax and semantics of the Nix expression
|
<para>The exact syntax and semantics of the Nix expression
|
||||||
language, including the built-in function, are described in the
|
language, including the built-in function, are described in the
|
||||||
Nix manual in the <link
|
Nix manual in the <link
|
||||||
xlink:href="http://nixos.org/releases/nix/unstable/manual/#chap-writing-nix-expressions">chapter
|
xlink:href="http://hydra.nixos.org/job/nix/trunk/tarball/latest/download-by-type/doc/manual/#chap-writing-nix-expressions">chapter
|
||||||
on writing Nix expressions</link>.</para>
|
on writing Nix expressions</link>.</para>
|
||||||
|
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -1,22 +1,25 @@
|
|||||||
{ stdenv, fetchurl, cairo, expat, glib, gtk, jackaudio, ladspaH
|
{ stdenv, fetchurl, cairo, expat, fftwSinglePrec, fluidsynth, glib
|
||||||
, libglade, lv2, pkgconfig }:
|
, gtk, jackaudio, ladspaH , libglade, lv2, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "calf-${version}";
|
name = "calf-${version}";
|
||||||
version = "0.0.18.6";
|
version = "0.0.19-rc7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/calf/${name}.tar.gz";
|
url = "mirror://sourceforge/calf/${name}.tar.gz";
|
||||||
sha256 = "03w6jjkrr6w8da6qzd0x4dlkg295c6jxby500x4cj07wpbpk6irh";
|
sha256 = "0515pzc7ishrq0j5hza83s0yp3x34r977h776lpky389whcyf45j";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [
|
||||||
[ cairo jackaudio gtk glib expat libglade ladspaH lv2 pkgconfig ];
|
cairo expat fftwSinglePrec fluidsynth glib gtk jackaudio ladspaH
|
||||||
|
libglade lv2 pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://calf.sourceforge.net;
|
homepage = http://calf.sourceforge.net;
|
||||||
description = "A set of high quality open source audio plugins for musicians";
|
description = "A set of high quality open source audio plugins for musicians";
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
34
pkgs/applications/audio/csound/default.nix
Normal file
34
pkgs/applications/audio/csound/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv, fetchurl, cmake, libsndfile, flex, bison
|
||||||
|
, alsaLib ? null
|
||||||
|
, pulseaudio ? null
|
||||||
|
, tcltk ? null
|
||||||
|
|
||||||
|
# maybe csound can be compiled with support for those, see configure output
|
||||||
|
# , ladspa ? null
|
||||||
|
# , fluidsynth ? null
|
||||||
|
# , jack ? null
|
||||||
|
# , gmm ? null
|
||||||
|
# , wiiuse ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "csound5.18.02";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://netcologne.dl.sourceforge.net/project/csound/csound5/csound5.18/Csound5.18.02.tar.gz;
|
||||||
|
sha256 = "4c461cf3bf60b83671224949dd33805379b7121bf2c0ad6af5e191e7f6f8adc8";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake libsndfile flex bison alsaLib pulseaudio tcltk ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
|
||||||
|
homepage = http://www.csounds.com/;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
67
pkgs/applications/audio/distrho/default.nix
Normal file
67
pkgs/applications/audio/distrho/default.nix
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jackaudio
|
||||||
|
, libxslt, lv2, pkgconfig, premake, xlibs }:
|
||||||
|
|
||||||
|
let
|
||||||
|
rev = "7815b3545978e";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "distrho-${rev}";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://distrho.git.sf.net/gitroot/distrho/distrho";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "2e260f16ee67b1166c39e2d55c8dd5593902c8b3d8d86485545ef83139e1e844";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -e "s#xsltproc#${libxslt}/bin/xsltproc#" -i Makefile
|
||||||
|
sed -e "s#PREFIX = /usr/local#PREFIX = $out#" -i Makefile
|
||||||
|
sed -e "s#/etc/HybridReverb2#$out/etc/Hybridreverb2#" \
|
||||||
|
-i ports/hybridreverb2/source/SystemConfig.cpp
|
||||||
|
sed -e "s#/usr#$out#" -i ports/hybridreverb2/data/HybridReverb2.conf
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsaLib fftwSinglePrec freetype jackaudio pkgconfig premake
|
||||||
|
xlibs.libX11 xlibs.libXcomposite xlibs.libXcursor xlibs.libXext
|
||||||
|
xlibs.libXinerama xlibs.libXrender
|
||||||
|
];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
sh ./scripts/premake-update.sh linux
|
||||||
|
make standalone
|
||||||
|
make lv2
|
||||||
|
|
||||||
|
# generate lv2 ttl
|
||||||
|
sh scripts/generate-ttl.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp bin/standalone/* $out/bin/
|
||||||
|
mkdir -p $out/lib/lv2
|
||||||
|
cp -a bin/lv2/* $out/lib/lv2/
|
||||||
|
|
||||||
|
# HybridReverb2 data
|
||||||
|
mkdir -p $out/etc/HybridReverb2
|
||||||
|
cp ports/hybridreverb2/data/HybridReverb2.conf $out/etc/HybridReverb2/
|
||||||
|
mkdir -p $out/share
|
||||||
|
cp -a ports/hybridreverb2/data/HybridReverb2 $out/share/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://distrho.sourceforge.net;
|
||||||
|
description = "A collection of cross-platform audio effects and plugins";
|
||||||
|
longDescription = ''
|
||||||
|
Includes:
|
||||||
|
3BandEQ bitmangler drowaudio-distortion drowaudio-flanger
|
||||||
|
drowaudio-tremolo eqinox HybridReverb2 juce_pitcher sDelay
|
||||||
|
TAL-Filter TAL-NoiseMaker TAL-Reverb-2 TAL-Vocoder-2 ThePilgrim
|
||||||
|
Wolpertinger argotlunar capsaicin drowaudio-distortionshaper
|
||||||
|
drowaudio-reverb drumsynth highlife JuceDemoPlugin PingPongPan
|
||||||
|
TAL-Dub-3 TAL-Filter-2 TAL-Reverb TAL-Reverb-3 TheFunction vex
|
||||||
|
'';
|
||||||
|
maintainers = [ maintainers.goibhniu ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
39
pkgs/applications/audio/swh-lv2/default.nix
Normal file
39
pkgs/applications/audio/swh-lv2/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ stdenv, fetchgit, fftwSinglePrec, libxslt, lv2, pkgconfig }:
|
||||||
|
|
||||||
|
let
|
||||||
|
rev = "ec6b85e19e24ed";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "swh-lv2-${rev}";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "git://github.com/swh/lv2.git";
|
||||||
|
inherit rev;
|
||||||
|
sha256 = "d0d918ee642cd9649215737fcc008ce2bf55f4ea893a1897138b33775ea60d17";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -e "s#xsltproc#${libxslt}/bin/xsltproc#" -i Makefile
|
||||||
|
sed -e "s#PREFIX = /usr/local#PREFIX = $out#" -i Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ fftwSinglePrec lv2 pkgconfig ];
|
||||||
|
|
||||||
|
installPhase = "make install-system";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://plugin.org.uk;
|
||||||
|
description = "LV2 version of Steve Harris' SWH plugins";
|
||||||
|
longDescription = ''
|
||||||
|
SWH plugins include:
|
||||||
|
amp, fast overdrive, overdrive (with colourisation), comb
|
||||||
|
filter, waveshaper, ringmod, divider, diode, decliper, pitch
|
||||||
|
scaler, 16 band equaliser, sinus wavewrapper, hermes filter,
|
||||||
|
chorus, flanger, decimater, oscillator, gverb, phasers, harmonic
|
||||||
|
generators, surround encoders and more.
|
||||||
|
'';
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.goibhniu ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -2,7 +2,7 @@
|
|||||||
, gtkmozembedsharp, monodoc
|
, gtkmozembedsharp, monodoc
|
||||||
, perl, perlXMLParser, pkgconfig
|
, perl, perlXMLParser, pkgconfig
|
||||||
, glib, gtk, GConf, gnome_vfs, libbonobo, libglade, libgnome
|
, glib, gtk, GConf, gnome_vfs, libbonobo, libglade, libgnome
|
||||||
, mozilla
|
, mozilla, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -14,8 +14,6 @@ stdenv.mkDerivation {
|
|||||||
md5 = "8c33df5629b0676b7ab552854c1de6fd";
|
md5 = "8c33df5629b0676b7ab552854c1de6fd";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
|
|
||||||
|
|
||||||
patches = [./prefix.patch];
|
patches = [./prefix.patch];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -24,5 +22,5 @@ stdenv.mkDerivation {
|
|||||||
gtkmozembedsharp monodoc
|
gtkmozembedsharp monodoc
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit mozilla monodoc gtksharp gtkmozembedsharp gtksourceviewsharp;
|
inherit mozilla monodoc gtksharp gtkmozembedsharp gtksourceviewsharp makeWrapper;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, mono, gtksharp, pkgconfig}:
|
{stdenv, fetchurl, mono, gtksharp, pkgconfig, makeWrapper}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "monodoc-1.0.6";
|
name = "monodoc-1.0.6";
|
||||||
@ -9,9 +9,7 @@ stdenv.mkDerivation {
|
|||||||
md5 = "f2fc27e8e4717d90dc7efa2450625693";
|
md5 = "f2fc27e8e4717d90dc7efa2450625693";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
|
|
||||||
|
|
||||||
buildInputs = [mono gtksharp pkgconfig];
|
buildInputs = [mono gtksharp pkgconfig];
|
||||||
|
|
||||||
inherit gtksharp;
|
inherit gtksharp makeWrapper;
|
||||||
}
|
}
|
||||||
|
41
pkgs/applications/editors/netbeans/default.nix
Normal file
41
pkgs/applications/editors/netbeans/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{stdenv, fetchurl, jdk, unzip, which, makeWrapper, makeDesktopItem}:
|
||||||
|
|
||||||
|
let
|
||||||
|
desktopItem = makeDesktopItem {
|
||||||
|
name = "netbeans";
|
||||||
|
exec = "netbeans";
|
||||||
|
comment = "Integrated Development Environment";
|
||||||
|
desktopName = "Netbeans IDE";
|
||||||
|
genericName = "Integrated Development Environment";
|
||||||
|
categories = "Application;Development;";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "netbeans-7.2";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://download.netbeans.org/netbeans/7.2/final/zip/netbeans-7.2-201207171143-ml.zip;
|
||||||
|
sha256 = "18ya1w291hdnc35vb12yqnai82wmqm7351wn82fax12kzha5fmci";
|
||||||
|
};
|
||||||
|
buildCommand = ''
|
||||||
|
# Unpack and copy the stuff
|
||||||
|
unzip $src
|
||||||
|
mkdir -p $out
|
||||||
|
cp -a netbeans $out
|
||||||
|
|
||||||
|
# Create a wrapper capable of starting it
|
||||||
|
mkdir -p $out/bin
|
||||||
|
makeWrapper $out/netbeans/bin/netbeans $out/bin/netbeans \
|
||||||
|
--prefix PATH : ${jdk}/bin:${which}/bin
|
||||||
|
|
||||||
|
# Create desktop item, so we can pick it from the KDE/GNOME menu
|
||||||
|
mkdir -p $out/share/applications
|
||||||
|
cp ${desktopItem}/share/applications/* $out/share/applications
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ unzip makeWrapper ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "An integrated development environment for Java, C, C++ and PHP";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||||
|
};
|
||||||
|
}
|
@ -3,17 +3,17 @@
|
|||||||
, libgnome_keyring, gphoto2, gtk, ilmbase, intltool, lcms, lcms2
|
, libgnome_keyring, gphoto2, gtk, ilmbase, intltool, lcms, lcms2
|
||||||
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
|
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
|
||||||
, libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb
|
, libpng, libpthreadstubs, libraw1394, librsvg, libtiff, libxcb
|
||||||
, openexr, pixman, pkgconfig, sqlite }:
|
, openexr, pixman, pkgconfig, sqlite, bash }:
|
||||||
|
|
||||||
assert stdenv ? glibc;
|
assert stdenv ? glibc;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.0";
|
version = "1.0.5";
|
||||||
name = "darktable-${version}";
|
name = "darktable-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/darktable/darktable-${version}.tar.gz";
|
url = "mirror://sourceforge/darktable/darktable-${version}.tar.gz";
|
||||||
sha256 = "0wjv2x62kf25db61ivbn8y8xr9hr8hdlcjq6l1qxfqn2bn8a3qkm";
|
sha256 = "0c18530446d2f2459fe533a1ef6fc2711300efe7466f36c23168ec2230fb5fbd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
|
|||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${atk}/include/atk-1.0"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${atk}/include/atk-1.0"
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${ilmbase}/include/OpenEXR"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${ilmbase}/include/OpenEXR"
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${openexr}/include/OpenEXR"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${openexr}/include/OpenEXR"
|
||||||
|
|
||||||
|
substituteInPlace tools/create_preferences.sh.in --replace '#!/usr/bin/env bash' '#!${bash}/bin/bash'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
|
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
|
||||||
|
|
||||||
|
patches = [ ./glib-top-level-header.patch ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Gnome Diagram drawing software";
|
description = "Gnome Diagram drawing software";
|
||||||
homepage = http://live.gnome.org/Dia;
|
homepage = http://live.gnome.org/Dia;
|
||||||
|
471
pkgs/applications/graphics/dia/glib-top-level-header.patch
Normal file
471
pkgs/applications/graphics/dia/glib-top-level-header.patch
Normal file
@ -0,0 +1,471 @@
|
|||||||
|
diff -Naur dia-0.97.2-orig/app/app_procs.c dia-0.97.2/app/app_procs.c
|
||||||
|
--- dia-0.97.2-orig/app/app_procs.c 2011-03-20 07:18:13.000000000 -0400
|
||||||
|
+++ dia-0.97.2/app/app_procs.c 2012-07-15 10:49:08.192726306 -0400
|
||||||
|
@@ -50,7 +50,7 @@
|
||||||
|
#include <libxml/parser.h>
|
||||||
|
#include <libxml/xmlerror.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "app_procs.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/app/dia-win-remote.c dia-0.97.2/app/dia-win-remote.c
|
||||||
|
--- dia-0.97.2-orig/app/dia-win-remote.c 2010-08-03 11:35:35.000000000 -0400
|
||||||
|
+++ dia-0.97.2/app/dia-win-remote.c 2012-07-15 10:49:08.159726316 -0400
|
||||||
|
@@ -35,7 +35,7 @@
|
||||||
|
#include <shellapi.h>
|
||||||
|
#include <Shlwapi.h>
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gprintf.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PROTOTYPES:
|
||||||
|
diff -Naur dia-0.97.2-orig/app/filedlg.c dia-0.97.2/app/filedlg.c
|
||||||
|
--- dia-0.97.2-orig/app/filedlg.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/app/filedlg.c 2012-07-15 10:49:08.227726294 -0400
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#include <stdio.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#undef GTK_DISABLE_DEPRECATED /* gtk_file_chooser_dialog_new_with_backend */
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
diff -Naur dia-0.97.2-orig/app/load_save.c dia-0.97.2/app/load_save.c
|
||||||
|
--- dia-0.97.2-orig/app/load_save.c 2011-09-25 07:55:11.000000000 -0400
|
||||||
|
+++ dia-0.97.2/app/load_save.c 2012-07-15 10:49:08.203726303 -0400
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h> /* g_access() and friends */
|
||||||
|
+#include <glib.h> /* g_access() and friends */
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
#ifndef W_OK
|
||||||
|
diff -Naur dia-0.97.2-orig/app/sheets_dialog_callbacks.c dia-0.97.2/app/sheets_dialog_callbacks.c
|
||||||
|
--- dia-0.97.2-orig/app/sheets_dialog_callbacks.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/app/sheets_dialog_callbacks.c 2012-07-15 10:49:08.201726302 -0400
|
||||||
|
@@ -44,7 +44,7 @@
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <gmodule.h>
|
||||||
|
|
||||||
|
#undef GTK_DISABLE_DEPRECATED /* GtkOptionMenu */
|
||||||
|
diff -Naur dia-0.97.2-orig/ChangeLog.pre-git dia-0.97.2/ChangeLog.pre-git
|
||||||
|
--- dia-0.97.2-orig/ChangeLog.pre-git 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/ChangeLog.pre-git 2012-07-15 10:49:08.384726247 -0400
|
||||||
|
@@ -4137,7 +4137,7 @@
|
||||||
|
plug-ins/vdx/vdx-export.c plug-ins/vdx/vdx-import.c
|
||||||
|
plug-ins/wmf/wmf.cpp plug-ins/wpg/wpg.c
|
||||||
|
plug-ins/xfig/xfig-export.c plug-ins/xfig/xfig-import.c
|
||||||
|
- plug-ins/xslt/xslt.c : use <glib/gstdio.h> to match GLib's filename
|
||||||
|
+ plug-ins/xslt/xslt.c : use <glib.h> to match GLib's filename
|
||||||
|
encoding to the io functions used, that is: g_open, g_fopen, g_stat,
|
||||||
|
g_unlink, g_mkdir, g_rename (, g_access, g_lstat, g_remove, g_freopen,
|
||||||
|
g_chdir, g_rmdir). Also replace gzopen() with gzdopen(g_open(), ...)
|
||||||
|
@@ -5995,7 +5995,7 @@
|
||||||
|
Also special case strings starting with \tex - i.e. dont escape them -
|
||||||
|
to keep the use-case of direct tex input.
|
||||||
|
|
||||||
|
- * lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
|
||||||
|
+ * lib/debug.c : #include <glib.h>
|
||||||
|
|
||||||
|
|
||||||
|
2006-01-14 Hans Breuer <hans@breuer.org>
|
||||||
|
@@ -6207,7 +6207,7 @@
|
||||||
|
* lib/makefile.msc : build debug.obj
|
||||||
|
|
||||||
|
* plug-ins/makefile.msc : building pgf in the right alphabetical order
|
||||||
|
- * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
|
||||||
|
+ * plug-ins/pgf/render_pgf.c : include <glib.h>
|
||||||
|
|
||||||
|
2005-12-08 Lars Clausen <lars@raeder.dk>
|
||||||
|
|
||||||
|
diff -Naur dia-0.97.2-orig/lib/debug.c dia-0.97.2/lib/debug.c
|
||||||
|
--- dia-0.97.2-orig/lib/debug.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/lib/debug.c 2012-07-15 10:49:06.813726730 -0400
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
-#include <glib/gprintf.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#include "debug.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/lib/dia_dirs.c dia-0.97.2/lib/dia_dirs.c
|
||||||
|
--- dia-0.97.2-orig/lib/dia_dirs.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/lib/dia_dirs.c 2012-07-15 10:49:06.740726750 -0400
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
/** Get the name of a subdirectory of our data directory.
|
||||||
|
* This function does not create the subdirectory, just make the correct name.
|
||||||
|
diff -Naur dia-0.97.2-orig/lib/dia_xml.c dia-0.97.2/lib/dia_xml.c
|
||||||
|
--- dia-0.97.2-orig/lib/dia_xml.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/lib/dia_xml.c 2012-07-15 10:49:06.770726743 -0400
|
||||||
|
@@ -25,7 +25,7 @@
|
||||||
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include <libxml/parser.h>
|
||||||
|
#include <libxml/parserInternals.h>
|
||||||
|
diff -Naur dia-0.97.2-orig/objects/custom/shape_typeinfo.c dia-0.97.2/objects/custom/shape_typeinfo.c
|
||||||
|
--- dia-0.97.2-orig/objects/custom/shape_typeinfo.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/objects/custom/shape_typeinfo.c 2012-07-15 10:49:06.639726783 -0400
|
||||||
|
@@ -27,8 +27,8 @@
|
||||||
|
#include "custom_util.h"
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
-#include <glib/gstrfuncs.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <libxml/parser.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
diff -Naur dia-0.97.2-orig/objects/SISSI/sissi.c dia-0.97.2/objects/SISSI/sissi.c
|
||||||
|
--- dia-0.97.2-orig/objects/SISSI/sissi.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/objects/SISSI/sissi.c 2012-07-15 10:49:06.570726804 -0400
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
#include "dia_xml_libxml.h"
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
-#include <glib/gprintf.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#define DEFAULT_WIDTH 1.0
|
||||||
|
#define DEFAULT_HEIGHT 1.0
|
||||||
|
diff -Naur dia-0.97.2-orig/objects/standard/image.c dia-0.97.2/objects/standard/image.c
|
||||||
|
--- dia-0.97.2-orig/objects/standard/image.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/objects/standard/image.c 2012-07-15 10:49:06.683726770 -0400
|
||||||
|
@@ -25,7 +25,7 @@
|
||||||
|
#ifdef HAVE_UNIST_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/cairo/diacairo.c dia-0.97.2/plug-ins/cairo/diacairo.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/cairo/diacairo.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/cairo/diacairo.c 2012-07-15 10:49:06.433726846 -0400
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#define G_LOG_DOMAIN "DiaCairo"
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* To me the following looks rather suspicious. Why do we need to compile
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/cairo/diacairo-renderer.c dia-0.97.2/plug-ins/cairo/diacairo-renderer.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/cairo/diacairo-renderer.c 2011-01-07 06:54:21.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/cairo/diacairo-renderer.c 2012-07-15 10:49:06.435726846 -0400
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#define G_LOG_DOMAIN "DiaCairo"
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_PANGOCAIRO_H
|
||||||
|
#include <pango/pangocairo.h>
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/cgm/cgm.c dia-0.97.2/plug-ins/cgm/cgm.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/cgm/cgm.c 2009-12-27 11:22:38.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/cgm/cgm.c 2012-07-15 10:49:06.425726846 -0400
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
#include <glib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/drs/dia-render-script.c dia-0.97.2/plug-ins/drs/dia-render-script.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/drs/dia-render-script.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/drs/dia-render-script.c 2012-07-15 10:49:06.427726848 -0400
|
||||||
|
@@ -54,7 +54,7 @@
|
||||||
|
|
||||||
|
#define G_LOG_DOMAIN "DiaRenderScript"
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "filter.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/dxf/dxf-export.c dia-0.97.2/plug-ins/dxf/dxf-export.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/dxf/dxf-export.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/dxf/dxf-export.c 2012-07-15 10:49:06.421726850 -0400
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
#include <math.h>
|
||||||
|
#include <glib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "autocad_pal.h"
|
||||||
|
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/dxf/dxf-import.c dia-0.97.2/plug-ins/dxf/dxf-import.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/dxf/dxf-import.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/dxf/dxf-import.c 2012-07-15 10:49:06.419726851 -0400
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/hpgl/hpgl.c dia-0.97.2/plug-ins/hpgl/hpgl.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/hpgl/hpgl.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/hpgl/hpgl.c 2012-07-15 10:49:06.487726830 -0400
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/libart/export_png.c dia-0.97.2/plug-ins/libart/export_png.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/libart/export_png.c 2011-07-03 06:56:08.000000000 -0400
|
||||||
|
+++ dia-0.97.2/plug-ins/libart/export_png.c 2012-07-15 10:49:06.415726849 -0400
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/metapost/render_metapost.c dia-0.97.2/plug-ins/metapost/render_metapost.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/metapost/render_metapost.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/metapost/render_metapost.c 2012-07-15 10:49:06.396726857 -0400
|
||||||
|
@@ -43,7 +43,7 @@
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "render_metapost.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/pgf/render_pgf.c dia-0.97.2/plug-ins/pgf/render_pgf.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/pgf/render_pgf.c 2011-01-07 07:11:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/pgf/render_pgf.c 2012-07-15 10:49:06.445726842 -0400
|
||||||
|
@@ -61,8 +61,8 @@
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
-#include <glib/gprintf.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "render_pgf.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/postscript/paginate_psprint.c dia-0.97.2/plug-ins/postscript/paginate_psprint.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/postscript/paginate_psprint.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/postscript/paginate_psprint.c 2012-07-15 10:49:06.451726838 -0400
|
||||||
|
@@ -31,7 +31,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/postscript/render_eps.c dia-0.97.2/plug-ins/postscript/render_eps.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/postscript/render_eps.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/postscript/render_eps.c 2012-07-15 10:49:06.451726838 -0400
|
||||||
|
@@ -55,7 +55,7 @@
|
||||||
|
#include <locale.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "render_eps.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/pstricks/render_pstricks.c dia-0.97.2/plug-ins/pstricks/render_pstricks.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/pstricks/render_pstricks.c 2011-01-07 07:11:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/pstricks/render_pstricks.c 2012-07-15 10:49:06.410726853 -0400
|
||||||
|
@@ -50,7 +50,7 @@
|
||||||
|
#endif
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "render_pstricks.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/python/pydia-render.c dia-0.97.2/plug-ins/python/pydia-render.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/python/pydia-render.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/python/pydia-render.c 2012-07-15 10:49:06.503726822 -0400
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
#include <Python.h>
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/shape/shape-export.c dia-0.97.2/plug-ins/shape/shape-export.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/shape/shape-export.c 2009-11-08 06:14:56.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/shape/shape-export.c 2012-07-15 10:49:06.489726827 -0400
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
/* the dots per centimetre to render this diagram at */
|
||||||
|
/* this matches the setting `100%' setting in dia. */
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/svg/render_svg.c dia-0.97.2/plug-ins/svg/render_svg.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/svg/render_svg.c 2011-12-17 11:30:38.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/svg/render_svg.c 2012-07-15 10:49:06.392726859 -0400
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include <libxml/entities.h>
|
||||||
|
#include <libxml/tree.h>
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/vdx/vdx-export.c dia-0.97.2/plug-ins/vdx/vdx-export.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/vdx/vdx-export.c 2009-12-27 11:22:38.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/vdx/vdx-export.c 2012-07-15 10:55:17.066579728 -0400
|
||||||
|
@@ -32,11 +32,12 @@
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#include <math.h>
|
||||||
|
+#include <sys/stat.h>
|
||||||
|
#include <glib.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <locale.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/vdx/vdx-import.c dia-0.97.2/plug-ins/vdx/vdx-import.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/vdx/vdx-import.c 2009-12-27 11:22:38.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/vdx/vdx-import.c 2012-07-15 10:49:06.466726836 -0400
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <libxml/tree.h>
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/wmf/wmf.cpp dia-0.97.2/plug-ins/wmf/wmf.cpp
|
||||||
|
--- dia-0.97.2-orig/plug-ins/wmf/wmf.cpp 2011-03-13 09:07:48.000000000 -0400
|
||||||
|
+++ dia-0.97.2/plug-ins/wmf/wmf.cpp 2012-07-15 10:49:06.482726831 -0400
|
||||||
|
@@ -25,7 +25,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <math.h>
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/wpg/wpg.c dia-0.97.2/plug-ins/wpg/wpg.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/wpg/wpg.c 2009-11-07 09:28:34.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/wpg/wpg.c 2012-07-15 10:49:06.406726855 -0400
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/xfig/xfig-export.c dia-0.97.2/plug-ins/xfig/xfig-export.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/xfig/xfig-export.c 2011-12-17 11:30:38.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/xfig/xfig-export.c 2012-07-15 10:49:06.400726856 -0400
|
||||||
|
@@ -16,7 +16,7 @@
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/xfig/xfig-import.c dia-0.97.2/plug-ins/xfig/xfig-import.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/xfig/xfig-import.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/xfig/xfig-import.c 2012-07-15 10:49:06.402726853 -0400
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "intl.h"
|
||||||
|
#include "message.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/plug-ins/xslt/xslt.c dia-0.97.2/plug-ins/xslt/xslt.c
|
||||||
|
--- dia-0.97.2-orig/plug-ins/xslt/xslt.c 2009-11-07 12:13:53.000000000 -0500
|
||||||
|
+++ dia-0.97.2/plug-ins/xslt/xslt.c 2012-07-15 10:49:06.440726844 -0400
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
-#include <glib/gstdio.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "filter.h"
|
||||||
|
#include "intl.h"
|
||||||
|
diff -Naur dia-0.97.2-orig/tests/test-boundingbox.c dia-0.97.2/tests/test-boundingbox.c
|
||||||
|
--- dia-0.97.2-orig/tests/test-boundingbox.c 2009-11-07 09:28:35.000000000 -0500
|
||||||
|
+++ dia-0.97.2/tests/test-boundingbox.c 2012-07-15 10:49:06.986726677 -0400
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
#if GLIB_CHECK_VERSION(2,16,0)
|
||||||
|
-#include <glib/gtestutils.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#endif
|
||||||
|
#include "dialib.h"
|
||||||
|
|
||||||
|
diff -Naur dia-0.97.2-orig/tests/test-objects.c dia-0.97.2/tests/test-objects.c
|
||||||
|
--- dia-0.97.2-orig/tests/test-objects.c 2009-11-07 09:28:35.000000000 -0500
|
||||||
|
+++ dia-0.97.2/tests/test-objects.c 2012-07-15 10:49:06.985726677 -0400
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
#if GLIB_CHECK_VERSION(2,16,0)
|
||||||
|
-#include <glib/gtestutils.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "object.h"
|
@ -1,14 +1,16 @@
|
|||||||
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, mono, libexif
|
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, mono, libexif
|
||||||
, libgnome, libgnomeui, gtksharp, libjpeg, sqlite, lcms, libgphoto2
|
, libgnome, libgnomeui, gtksharp, libjpeg, sqlite, lcms, libgphoto2
|
||||||
, monoDLLFixer
|
, monoDLLFixer
|
||||||
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "f-spot-0.0.10";
|
name = "f-spot-0.0.10";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
|
|
||||||
|
|
||||||
|
inherit makeWrapper;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://nixos.org/tarballs/f-spot-0.0.10.tar.bz2;
|
url = http://nixos.org/tarballs/f-spot-0.0.10.tar.bz2;
|
||||||
md5 = "19cc6e067ccc261b0502ff6189b79832";
|
md5 = "19cc6e067ccc261b0502ff6189b79832";
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
, gsl, python, pyxml, lxml, poppler, imagemagick, libwpg }:
|
, gsl, python, pyxml, lxml, poppler, imagemagick, libwpg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "inkscape-0.48.2";
|
name = "inkscape-0.48.3.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
|
url = "mirror://sourceforge/inkscape/${name}.tar.bz2";
|
||||||
sha256 = "10v7ixdz7f8vgk2wv0m81zli9p0f446cm1f4aqlvni1ndsx44fi2";
|
sha256 = "126vfsafkfj6z65i5vp6g5dg9hvp3dd1zppjhms78257ns2zafq7";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./configure-python-libs.patch ./libpng-1.5.patch ];
|
patches = [ ./configure-python-libs.patch ./libpng-1.5.patch ];
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, getopt, which, pkgconfig, gtk } :
|
{ stdenv, fetchurl, getopt, which, pkgconfig, gtk } :
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "pqiv-0.8";
|
name = "pqiv-0.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.pberndt.com/raw/Programme/Linux/pqiv/_download/${name}.tbz";
|
url = "https://github.com/downloads/phillipberndt/pqiv/${name}.tbz";
|
||||||
sha256 = "365332bab4b13ca56da6935e7155af20658e67d323808942dce23e880466f66d";
|
sha256 = "646c69f2f4e7289913f6b8e8ae984befba9debf0d2b4cc8af9955504a1fccf1e";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ getopt which pkgconfig gtk ];
|
buildInputs = [ getopt which pkgconfig gtk ];
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
{ stdenv, fetchurl, perl, libX11, xineLib, libjpeg, libpng, libtiff, pkgconfig,
|
{ stdenv, fetchurl, perl, libX11, libjpeg, libpng, libtiff, pkgconfig,
|
||||||
librsvg, glib, gtk, libXext, libXxf86vm, poppler }:
|
librsvg, glib, gtk, libXext, libXxf86vm, poppler }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "eaglemode-0.84.0";
|
name = "eaglemode-0.84.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/eaglemode/eaglemode-0.84.0.tar.bz2;
|
url = mirror://sourceforge/eaglemode/eaglemode-0.84.0.tar.bz2;
|
||||||
sha256 = "0n20b419j0l7h7jr4s3f3n09ka0ysg9nqs8mcwsrx24rcq7nv0cs";
|
sha256 = "0n20b419j0l7h7jr4s3f3n09ka0ysg9nqs8mcwsrx24rcq7nv0cs";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl libX11 xineLib libjpeg libpng libtiff pkgconfig
|
buildInputs = [ perl libX11 libjpeg libpng libtiff pkgconfig
|
||||||
librsvg glib gtk libXxf86vm libXext poppler ];
|
librsvg glib gtk libXxf86vm libXext poppler ];
|
||||||
|
|
||||||
# The program tries to dlopen both Xxf86vm and Xext, so we use the
|
# The program tries to dlopen both Xxf86vm and Xext, so we use the
|
||||||
# trick on NIX_LDFLAGS and dontPatchELF to make it find them.
|
# trick on NIX_LDFLAGS and dontPatchELF to make it find them.
|
||||||
# I use 'yes y' to skip a build error linking with xineLib,
|
# I use 'yes y' to skip a build error linking with xineLib,
|
||||||
# because xine stopped exporting "_x_vo_new_port"
|
# because xine stopped exporting "_x_vo_new_port"
|
||||||
# http://sourceforge.net/projects/eaglemode/forums/forum/808824/topic/5115261
|
# http://sourceforge.net/projects/eaglemode/forums/forum/808824/topic/5115261
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
|||||||
# Run 'eaglemode.sh', not 'eaglemode'.
|
# Run 'eaglemode.sh', not 'eaglemode'.
|
||||||
ln -s $out/eaglemode.sh $out/bin/eaglemode.sh
|
ln -s $out/eaglemode.sh $out/bin/eaglemode.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://eaglemode.sourceforge.net";
|
homepage = "http://eaglemode.sourceforge.net";
|
||||||
description = "Zoomable User Interface";
|
description = "Zoomable User Interface";
|
||||||
|
@ -6,6 +6,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
|
sha256 = "1w7qybh8ssl4dffi5qfajq8mndw7ipsd92vkim03nywxgjp4i1ll";
|
||||||
};
|
};
|
||||||
buildInputs = [ pkgconfig gtk poppler ];
|
buildInputs = [ pkgconfig gtk poppler ];
|
||||||
|
patches = [ ./glib-top-level-header.patch ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://trac.emma-soft.com/epdfview/;
|
homepage = http://trac.emma-soft.com/epdfview/;
|
||||||
description = "A lightweight PDF document viewer using Poppler and GTK+";
|
description = "A lightweight PDF document viewer using Poppler and GTK+";
|
||||||
|
12
pkgs/applications/misc/epdfview/glib-top-level-header.patch
Normal file
12
pkgs/applications/misc/epdfview/glib-top-level-header.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur epdfview-0.1.8-orig/src/gtk/StockIcons.h epdfview-0.1.8/src/gtk/StockIcons.h
|
||||||
|
--- epdfview-0.1.8-orig/src/gtk/StockIcons.h 2011-05-28 06:24:57.000000000 -0400
|
||||||
|
+++ epdfview-0.1.8/src/gtk/StockIcons.h 2012-07-15 11:02:43.946339253 -0400
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
#if !defined (__STOCK_ICONS_H__)
|
||||||
|
#define __STOCK_ICONS_H__
|
||||||
|
|
||||||
|
-#include <glib/gmacros.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
@ -1,17 +1,18 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, zlib, freetype, libjpeg, jbig2dec, openjpeg
|
{ stdenv, fetchurl, pkgconfig, zlib, freetype, libjpeg, jbig2dec, openjpeg
|
||||||
, libX11, libXext }:
|
, libX11, libXext }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mupdf-0.7";
|
name = "mupdf-1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://mupdf.com/download/archive/${name}.tar.gz";
|
url = "http://mupdf.com/download/archive/${name}-source.tar.gz";
|
||||||
sha256 = "e7f6307fa472575d27fe893e787ddb3fc927f03ba4ae23105f917189e81960a6";
|
sha256 = "e54666bbe1d9f0a5464349bfbeffcf676c4a0fcad3efb89eba1f20d4ac991f34";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
|
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export makeFlags="prefix=$out"
|
export makeFlags="prefix=$out"
|
||||||
|
export NIX_CFLAGS_COMPILE=" $NIX_CFLAGS_COMPILE -I$(echo ${openjpeg}/include/openjpeg-*) "
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, neon, libusb, hal, openssl, udev}:
|
{ stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "nut-2.6.1";
|
name = "nut-2.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.networkupstools.org/source/2.6/nut-2.6.1.tar.gz;
|
url = http://www.networkupstools.org/source/2.6/nut-2.6.1.tar.gz;
|
||||||
sha256 = "f5c46b856c0cf5b7f0e4b22d82b670af64cc98717a90eaac8723dd402a181c00";
|
sha256 = "f5c46b856c0cf5b7f0e4b22d82b670af64cc98717a90eaac8723dd402a181c00";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [pkgconfig neon libusb hal openssl udev];
|
buildInputs = [ pkgconfig neon libusb openssl udev ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-all"
|
"--with-all"
|
||||||
|
@ -1,31 +1,29 @@
|
|||||||
{ stdenv, fetchurl, x11, xextproto, libXtst, inputproto, libXi
|
{ stdenv, fetchurl, cmake, x11, libX11, libXi, libXtst }:
|
||||||
, automake, autoconf, sourceFromHead }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "synergy-cvs";
|
name = "synergy-1.4.10";
|
||||||
|
|
||||||
# note: There is a fork:
|
src = fetchurl {
|
||||||
# http://code.google.com/p/synergy-plus
|
url = "http://synergy.googlecode.com/files/${name}-Source.tar.gz";
|
||||||
|
sha256 = "1ghgf96gbk4sdw8sqlc3pjschkmmqybihi12mg6hi26gnk7a5m86";
|
||||||
|
};
|
||||||
|
|
||||||
# REGION AUTO UPDATE: { name="synergy"; type = "cvs"; cvsRoot = ":pserver:anonymous@synergy2.cvs.sourceforge.net:/cvsroot/synergy2"; module="syngery"; }
|
buildInputs = [ cmake x11 libX11 libXi libXtst ];
|
||||||
src= sourceFromHead "synergy-F_23-55-02.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/synergy-F_23-55-02.tar.gz"; sha256 = "ae16a9b59039a32e383e71397405d7b610de6c6902c03177c2496bac440d3e28"; });
|
# At this moment make install doesn't work for synergy
|
||||||
# END
|
# http://synergy-foss.org/spit/issues/details/3317/
|
||||||
|
|
||||||
buildInputs = [ x11 xextproto libXtst inputproto libXi automake autoconf ];
|
|
||||||
|
installPhase = ''
|
||||||
preConfigure = "autoreconf";
|
ensureDir $out/bin
|
||||||
|
cp ../bin/synergyc $out/bin
|
||||||
patches =
|
cp ../bin/synergys $out/bin
|
||||||
[ (fetchurl {
|
cp ../bin/synergyd $out/bin
|
||||||
url = http://mawercer.de/~nix/synergy-gcc43-r2.patch.gz;
|
'';
|
||||||
sha256 = "0wnj5k93ybj7jg8ml1i1brwsnszfh41117q2qh7r8xr9m37997b7";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tool to share the mouse keyboard and the clipboard between computers";
|
description = "Tool to share the mouse keyboard and the clipboard between computers";
|
||||||
homepage = http://synergy2.sourceforge.net;
|
homepage = http://synergy-foss.org;
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,29 +1,22 @@
|
|||||||
{ stdenv, fetchurl, cmake, lua5 }:
|
{stdenv, fetchurl, cmake}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "task-warrior-2.0.0";
|
name = "taskwarrior-2.1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = http://www.taskwarrior.org/download/task-2.0.0.tar.gz;
|
|
||||||
sha256 = "1gbmcynj2n2c9dcykxn27ffk034mvm0zri5hqhfdx593dhv1x5vq";
|
|
||||||
};
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "-ldl";
|
|
||||||
|
|
||||||
buildNativeInputs = [ cmake ];
|
|
||||||
buildInputs = [ lua5 ];
|
|
||||||
|
|
||||||
crossAttrs = {
|
|
||||||
preConfigure = ''
|
|
||||||
export NIX_CROSS_LDFLAGS="$NIX_CROSS_LDFLAGS -ldl"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://www.taskwarrior.org/download/task-2.1.2.tar.gz;
|
||||||
|
sha256 = "0diy72sgiyvfl6bdy7k3qwv3ijx2z1y477smkk6jsbbd9fsp2lfg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Command-line todo list manager";
|
description = "GTD (getting things done) implementation";
|
||||||
homepage = http://taskwarrior.org/;
|
homepage = http://taskwarrior.org;
|
||||||
license = "GPLv2+";
|
license = stdenv.lib.licenses.mit;
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
{ stdenv, fetchurl, xorg, ncurses, freetype, pkgconfig }:
|
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xterm-276";
|
name = "xterm-281";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://invisible-island.net/xterm/${name}.tgz";
|
url = "ftp://invisible-island.net/xterm/${name}.tgz";
|
||||||
sha256 = "1k3k025z3vl91sc8i7f5lmnsb1rsblpbijri9vnxgpynw4wgrc7b";
|
sha256 = "1yrjjya7z5s3fi0iiaxgna35jh0ib2zx1yafyng35jma6qbwhxx7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ xorg.libXaw xorg.xproto xorg.libXt xorg.libXext xorg.libX11 xorg.libSM xorg.libICE
|
[ xorg.libXaw xorg.xproto xorg.libXt xorg.libXext xorg.libX11 xorg.libSM xorg.libICE
|
||||||
ncurses freetype pkgconfig xorg.libXft xorg.luit
|
ncurses freetype fontconfig pkgconfig xorg.libXft xorg.luit
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
''
|
''
|
||||||
--enable-wide-chars --enable-256-color
|
--enable-wide-chars --enable-256-color
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Work around broken "plink.sh".
|
# Work around broken "plink.sh".
|
||||||
NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11";
|
NIX_LDFLAGS = "-lXmu -lXt -lICE -lX11 -lfontconfig";
|
||||||
|
|
||||||
# Hack to get xterm built with the feature of releasing a possible setgid of 'utmp',
|
# Hack to get xterm built with the feature of releasing a possible setgid of 'utmp',
|
||||||
# decided by the sysadmin to allow the xterm reporting to /var/run/utmp
|
# decided by the sysadmin to allow the xterm reporting to /var/run/utmp
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
, libevent, expat, libjpeg
|
, libevent, expat, libjpeg
|
||||||
, libpng, libxml2, libxslt
|
, libpng, libxml2, libxslt
|
||||||
, xdg_utils, yasm, zlib
|
, xdg_utils, yasm, zlib
|
||||||
|
, libusb1, libexif
|
||||||
|
|
||||||
, python, perl, pkgconfig
|
, python, perl, pkgconfig
|
||||||
, nspr, udev, krb5
|
, nspr, udev, krb5
|
||||||
@ -55,21 +56,23 @@ let
|
|||||||
use_system_flac = true;
|
use_system_flac = true;
|
||||||
use_system_libevent = true;
|
use_system_libevent = true;
|
||||||
use_system_libexpat = true;
|
use_system_libexpat = true;
|
||||||
|
use_system_libexif = true;
|
||||||
use_system_libjpeg = true;
|
use_system_libjpeg = true;
|
||||||
use_system_libpng = true;
|
use_system_libpng = true;
|
||||||
|
use_system_libusb = true;
|
||||||
use_system_libxml = true;
|
use_system_libxml = true;
|
||||||
use_system_speex = true;
|
use_system_speex = true;
|
||||||
use_system_ssl = cfg.openssl;
|
use_system_ssl = cfg.openssl;
|
||||||
use_system_stlport = true;
|
use_system_stlport = true;
|
||||||
use_system_xdg_utils = true;
|
use_system_xdg_utils = true;
|
||||||
use_system_yasm = true;
|
use_system_yasm = true;
|
||||||
use_system_zlib = true;
|
use_system_zlib = false; # http://crbug.com/143623
|
||||||
|
|
||||||
use_system_harfbuzz = false;
|
use_system_harfbuzz = false;
|
||||||
use_system_icu = false;
|
use_system_icu = false;
|
||||||
use_system_libwebp = false; # See chromium issue #133161
|
use_system_libwebp = false; # http://crbug.com/133161
|
||||||
use_system_skia = false;
|
use_system_skia = false;
|
||||||
use_system_sqlite = false; # See chromium issue #22208
|
use_system_sqlite = false; # http://crbug.com/22208
|
||||||
use_system_v8 = false;
|
use_system_v8 = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -78,23 +81,20 @@ let
|
|||||||
libevent expat libjpeg
|
libevent expat libjpeg
|
||||||
libpng libxml2 libxslt
|
libpng libxml2 libxslt
|
||||||
xdg_utils yasm zlib
|
xdg_utils yasm zlib
|
||||||
|
libusb1 libexif
|
||||||
];
|
];
|
||||||
|
|
||||||
seccompPatch = let
|
maybeSeccompPatch = let
|
||||||
pre22 = versionOlder sourceInfo.version "22.0.0.0";
|
pre23 = versionOlder sourceInfo.version "23.0.0.0";
|
||||||
in if pre22 then ./enable_seccomp.patch else ./enable_seccomp22.patch;
|
in optional pre23 ./enable_seccomp.patch;
|
||||||
|
|
||||||
# XXX: this reverts r151720 to prevent http://crbug.com/143623
|
maybeBpfTemporaryFix = let
|
||||||
maybeRevertZlibChanges = let
|
|
||||||
below22 = versionOlder sourceInfo.version "22.0.0.0";
|
|
||||||
patch = fetchurl {
|
patch = fetchurl {
|
||||||
name = "revert-r151720";
|
url = "https://chromiumcodereview.appspot.com/download/issue11073003_6001_7001.diff";
|
||||||
url = "http://git.chromium.org/gitweb/?p=chromium.git;a=commitdiff_plain;"
|
sha256 = "bf61871cdaa8fea27ce15482a17048f67b426a55813c3832f9bd39ec47a9eb06";
|
||||||
+ "hp=4419ec6414b33b6b19bb2e380b4998ed5193ecab;"
|
|
||||||
+ "h=0fabb4fda7059a8757422e8a44e70deeab28e698";
|
|
||||||
sha256 = "0n0d6mkg89g8q63cifapzpg9dxfs2n6xvk4k13szhymvf67b77pf";
|
|
||||||
};
|
};
|
||||||
in optional (!below22) patch;
|
needPatch = !versionOlder sourceInfo.version "23.0.1271.0";
|
||||||
|
in optional needPatch patch;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${packageName}-${version}";
|
name = "${packageName}-${version}";
|
||||||
@ -127,10 +127,10 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
prePatch = "patchShebangs .";
|
prePatch = "patchShebangs .";
|
||||||
|
|
||||||
patches = optional (!cfg.selinux) seccompPatch
|
patches = optional cfg.cups ./cups_allow_deprecated.patch
|
||||||
++ optional cfg.cups ./cups_allow_deprecated.patch
|
|
||||||
++ optional cfg.pulseaudio ./pulseaudio_array_bounds.patch
|
++ optional cfg.pulseaudio ./pulseaudio_array_bounds.patch
|
||||||
++ maybeRevertZlibChanges;
|
++ maybeSeccompPatch
|
||||||
|
++ maybeBpfTemporaryFix;
|
||||||
|
|
||||||
postPatch = optionalString cfg.openssl ''
|
postPatch = optionalString cfg.openssl ''
|
||||||
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
|
cat $opensslPatches | patch -p1 -d third_party/openssl/openssl
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
diff --git a/content/common/seccomp_sandbox.h b/content/common/seccomp_sandbox.h
|
diff --git a/content/common/sandbox_linux.cc b/content/common/sandbox_linux.cc
|
||||||
index a07d6f3..a622a35 100644
|
index d4618e5..108f846 100644
|
||||||
--- a/content/common/seccomp_sandbox.h
|
--- a/content/common/sandbox_linux.cc
|
||||||
+++ b/content/common/seccomp_sandbox.h
|
+++ b/content/common/sandbox_linux.cc
|
||||||
@@ -29,15 +29,9 @@ static bool SeccompSandboxEnabled() {
|
@@ -38,15 +38,9 @@ void LogSandboxStarted(const std::string& sandbox_name) {
|
||||||
// TODO(evan): turn on for release too once we've flushed out all the bugs,
|
// Implement the command line enabling logic for seccomp-legacy.
|
||||||
// allowing us to delete this file entirely and just rely on the "disabled"
|
bool IsSeccompLegacyDesired() {
|
||||||
// switch.
|
#if defined(SECCOMP_SANDBOX)
|
||||||
-#ifdef NDEBUG
|
-#if defined(NDEBUG)
|
||||||
- // Off by default; allow turning on with a switch.
|
- // Off by default; allow turning on with a switch.
|
||||||
- return CommandLine::ForCurrentProcess()->HasSwitch(
|
- return CommandLine::ForCurrentProcess()->HasSwitch(
|
||||||
- switches::kEnableSeccompSandbox);
|
- switches::kEnableSeccompSandbox);
|
||||||
@ -15,6 +15,6 @@ index a07d6f3..a622a35 100644
|
|||||||
return !CommandLine::ForCurrentProcess()->HasSwitch(
|
return !CommandLine::ForCurrentProcess()->HasSwitch(
|
||||||
switches::kDisableSeccompSandbox);
|
switches::kDisableSeccompSandbox);
|
||||||
-#endif // NDEBUG
|
-#endif // NDEBUG
|
||||||
}
|
|
||||||
#endif // SECCOMP_SANDBOX
|
#endif // SECCOMP_SANDBOX
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
diff --git a/content/common/sandbox_linux.cc b/content/common/sandbox_linux.cc
|
|
||||||
index d4618e5..108f846 100644
|
|
||||||
--- a/content/common/sandbox_linux.cc
|
|
||||||
+++ b/content/common/sandbox_linux.cc
|
|
||||||
@@ -38,15 +38,9 @@ void LogSandboxStarted(const std::string& sandbox_name) {
|
|
||||||
// Implement the command line enabling logic for seccomp-legacy.
|
|
||||||
bool IsSeccompLegacyDesired() {
|
|
||||||
#if defined(SECCOMP_SANDBOX)
|
|
||||||
-#if defined(NDEBUG)
|
|
||||||
- // Off by default; allow turning on with a switch.
|
|
||||||
- return CommandLine::ForCurrentProcess()->HasSwitch(
|
|
||||||
- switches::kEnableSeccompSandbox);
|
|
||||||
-#else
|
|
||||||
// On by default; allow turning off with a switch.
|
|
||||||
return !CommandLine::ForCurrentProcess()->HasSwitch(
|
|
||||||
switches::kDisableSeccompSandbox);
|
|
||||||
-#endif // NDEBUG
|
|
||||||
#endif // SECCOMP_SANDBOX
|
|
||||||
return false;
|
|
||||||
}
|
|
@ -1,18 +1,18 @@
|
|||||||
# This file is autogenerated from update.sh in the same directory.
|
# This file is autogenerated from update.sh in the same directory.
|
||||||
{
|
{
|
||||||
dev = {
|
dev = {
|
||||||
version = "23.0.1262.0";
|
version = "24.0.1284.2";
|
||||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-23.0.1262.0.tar.bz2";
|
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-24.0.1284.2.tar.bz2";
|
||||||
sha256 = "19sqiv2vg9qy1kj6s12sq5aknvp3969yw26szwp54ipfv7lxqjh6";
|
sha256 = "0lp3r4n3d71wy2ndzcfwvrp9vc1ii98pxip1c8hfinz994ca1ykx";
|
||||||
};
|
};
|
||||||
beta = {
|
beta = {
|
||||||
version = "22.0.1229.56";
|
version = "23.0.1271.26";
|
||||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-22.0.1229.56.tar.bz2";
|
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-23.0.1271.26.tar.bz2";
|
||||||
sha256 = "0wynq27yz1aslsnrjmf47dwbglblpfida2kmgv23l804mgdj19gv";
|
sha256 = "1iimpmm5lm5rvak49320lmmvwqr8xv4znp4h1pf65jzzx0apbgkh";
|
||||||
};
|
};
|
||||||
stable = {
|
stable = {
|
||||||
version = "21.0.1180.89";
|
version = "22.0.1229.94";
|
||||||
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-21.0.1180.89.tar.bz2";
|
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-22.0.1229.94.tar.bz2";
|
||||||
sha256 = "1i9mjbjj3aywg03hd59m9j5gq5b5fl8nvw56g47q8s9k1bcsik0n";
|
sha256 = "1bqwlgmn0dm1xvd6v52zf9gjmykgq4fnw7rancbplfpl3rl7xbx0";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
185
pkgs/applications/networking/browsers/firefox/16.0.nix
Normal file
185
pkgs/applications/networking/browsers/firefox/16.0.nix
Normal file
@ -0,0 +1,185 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, gtk, pango, perl, python, zip, libIDL
|
||||||
|
, libjpeg, libpng, zlib, cairo, dbus, dbus_glib, bzip2, xlibs
|
||||||
|
, freetype, fontconfig, file, alsaLib, nspr, nss, libnotify
|
||||||
|
, yasm, mesa, sqlite, unzip, makeWrapper, pysqlite
|
||||||
|
|
||||||
|
, # If you want the resulting program to call itself "Firefox" instead
|
||||||
|
# of "Shiretoko" or whatever, enable this option. However, those
|
||||||
|
# binaries may not be distributed without permission from the
|
||||||
|
# Mozilla Foundation, see
|
||||||
|
# http://www.mozilla.org/foundation/trademarks/.
|
||||||
|
enableOfficialBranding ? false
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert stdenv.gcc ? libc && stdenv.gcc.libc != null;
|
||||||
|
|
||||||
|
rec {
|
||||||
|
|
||||||
|
firefoxVersion = "16.0.1";
|
||||||
|
|
||||||
|
xulVersion = "16.0.1"; # this attribute is used by other packages
|
||||||
|
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
urls = [
|
||||||
|
# It is better to use this url for official releases, to take load off Mozilla's ftp server.
|
||||||
|
"http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||||
|
# Fall back to this url for versions not available at releases.mozilla.org.
|
||||||
|
"ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2"
|
||||||
|
];
|
||||||
|
sha1 = "ad5723fcf4ec6c6734e2022cecad174290fa425e";
|
||||||
|
};
|
||||||
|
|
||||||
|
commonConfigureFlags =
|
||||||
|
[ "--enable-optimize"
|
||||||
|
#"--enable-profiling"
|
||||||
|
"--disable-debug"
|
||||||
|
"--enable-strip"
|
||||||
|
"--with-system-jpeg"
|
||||||
|
"--with-system-zlib"
|
||||||
|
"--with-system-bz2"
|
||||||
|
"--with-system-nspr"
|
||||||
|
"--with-system-nss"
|
||||||
|
# "--with-system-png" # <-- "--with-system-png won't work because the system's libpng doesn't have APNG support"
|
||||||
|
# "--enable-system-cairo" # disabled for the moment because our Cairo is too old
|
||||||
|
"--enable-system-sqlite"
|
||||||
|
"--disable-crashreporter"
|
||||||
|
"--disable-tests"
|
||||||
|
"--disable-necko-wifi" # maybe we want to enable this at some point
|
||||||
|
"--disable-installer"
|
||||||
|
"--disable-updater"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
xulrunner = stdenv.mkDerivation rec {
|
||||||
|
name = "xulrunner-${xulVersion}";
|
||||||
|
|
||||||
|
inherit src;
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ pkgconfig gtk perl zip libIDL libjpeg libpng zlib cairo bzip2
|
||||||
|
python dbus dbus_glib pango freetype fontconfig xlibs.libXi
|
||||||
|
xlibs.libX11 xlibs.libXrender xlibs.libXft xlibs.libXt file
|
||||||
|
alsaLib nspr nss libnotify xlibs.pixman yasm mesa
|
||||||
|
xlibs.libXScrnSaver xlibs.scrnsaverproto pysqlite
|
||||||
|
xlibs.libXext xlibs.xextproto sqlite unzip makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
[ "--enable-application=xulrunner"
|
||||||
|
"--disable-javaxpcom"
|
||||||
|
] ++ commonConfigureFlags;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
preConfigure =
|
||||||
|
''
|
||||||
|
export NIX_LDFLAGS="$NIX_LDFLAGS -L$out/lib/xulrunner-${xulVersion}"
|
||||||
|
|
||||||
|
mkdir ../objdir
|
||||||
|
cd ../objdir
|
||||||
|
configureScript=../mozilla-release/configure
|
||||||
|
''; # */
|
||||||
|
|
||||||
|
#installFlags = "SKIP_GRE_REGISTRATION=1";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# Fix run-mozilla.sh search
|
||||||
|
libDir=$(cd $out/lib && ls -d xulrunner-[0-9]*)
|
||||||
|
echo libDir: $libDir
|
||||||
|
test -n "$libDir"
|
||||||
|
cd $out/bin
|
||||||
|
rm xulrunner
|
||||||
|
|
||||||
|
for i in $out/lib/$libDir/*; do
|
||||||
|
file $i;
|
||||||
|
if file $i | grep executable &>/dev/null; then
|
||||||
|
echo -e '#! /bin/sh\n"'"$i"'" "$@"' > "$out/bin/$(basename "$i")";
|
||||||
|
chmod a+x "$out/bin/$(basename "$i")";
|
||||||
|
fi;
|
||||||
|
done
|
||||||
|
for i in $out/lib/$libDir/*.so; do
|
||||||
|
patchelf --set-rpath "$(patchelf --print-rpath "$i"):$out/lib/$libDir" $i || true
|
||||||
|
done
|
||||||
|
for i in $out/lib/$libDir/{plugin-container,xulrunner,xulrunner-stub}; do
|
||||||
|
wrapProgram $i --prefix LD_LIBRARY_PATH ':' "$out/lib/$libDir"
|
||||||
|
done
|
||||||
|
rm -f $out/bin/run-mozilla.sh
|
||||||
|
''; # */
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Mozilla Firefox XUL runner";
|
||||||
|
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru = { inherit gtk; version = xulVersion; };
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
firefox = stdenv.mkDerivation rec {
|
||||||
|
name = "firefox-${firefoxVersion}";
|
||||||
|
|
||||||
|
inherit src;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ pkgconfig gtk perl zip libIDL libjpeg zlib cairo bzip2 python
|
||||||
|
dbus dbus_glib pango freetype fontconfig alsaLib nspr nss libnotify
|
||||||
|
xlibs.pixman yasm mesa sqlite file unzip pysqlite
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [xulrunner];
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
[ "--enable-application=browser"
|
||||||
|
"--with-libxul-sdk=${xulrunner}/lib/xulrunner-devel-${xulrunner.version}"
|
||||||
|
"--enable-chrome-format=jar"
|
||||||
|
"--disable-elf-hack"
|
||||||
|
]
|
||||||
|
++ commonConfigureFlags
|
||||||
|
++ stdenv.lib.optional enableOfficialBranding "--enable-official-branding";
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"SYSTEM_LIBXUL=1"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Hack to work around make's idea of -lbz2 dependency
|
||||||
|
preConfigure =
|
||||||
|
''
|
||||||
|
find . -name Makefile.in -execdir sed -i '{}' -e '1ivpath %.so ${
|
||||||
|
stdenv.lib.concatStringsSep ":"
|
||||||
|
(map (s : s + "/lib") (buildInputs ++ [stdenv.gcc.libc]))
|
||||||
|
}' ';'
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
ln -s ${xulrunner}/lib/xulrunner-${xulrunner.version} $(echo $out/lib/firefox-*)/xulrunner
|
||||||
|
for j in $out/bin/*; do
|
||||||
|
i="$(readlink "$j")";
|
||||||
|
file $i;
|
||||||
|
if file $i | grep executable &>/dev/null; then
|
||||||
|
rm "$out/bin/$(basename "$i")"
|
||||||
|
echo -e '#! /bin/sh\nexec "'"$i"'" "$@"' > "$out/bin/$(basename "$i")"
|
||||||
|
chmod a+x "$out/bin/$(basename "$i")"
|
||||||
|
fi;
|
||||||
|
done;
|
||||||
|
cd "$out/lib/"firefox-*
|
||||||
|
rm firefox
|
||||||
|
echo -e '#!${stdenv.shell}\n${xulrunner}/bin/xulrunner "'"$PWD"'/application.ini" "$@"' > firefox
|
||||||
|
chmod a+x firefox
|
||||||
|
''; # */
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Mozilla Firefox - the browser, reloaded";
|
||||||
|
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
inherit gtk xulrunner nspr;
|
||||||
|
isFirefox3Like = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -1,23 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
dontStrip=1
|
|
||||||
dontPatchELF=1
|
|
||||||
sourceRoot=$TMPDIR
|
|
||||||
|
|
||||||
unpackPhase() {
|
|
||||||
tar xvzf $src;
|
|
||||||
for a in *; do
|
|
||||||
if [ -d $a ]; then
|
|
||||||
cd $a
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
installPhase() {
|
|
||||||
mkdir -p $out/lib/mozilla/plugins
|
|
||||||
cp -pv libflashplayer.so $out/lib/mozilla/plugins
|
|
||||||
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
|
|
||||||
}
|
|
||||||
|
|
||||||
genericBuild
|
|
@ -1,88 +0,0 @@
|
|||||||
{ stdenv
|
|
||||||
, fetchurl
|
|
||||||
, zlib
|
|
||||||
, alsaLib
|
|
||||||
, curl
|
|
||||||
, nss
|
|
||||||
, nspr
|
|
||||||
, fontconfig
|
|
||||||
, freetype
|
|
||||||
, expat
|
|
||||||
, libX11
|
|
||||||
, libXext
|
|
||||||
, libXrender
|
|
||||||
, libXt
|
|
||||||
, gtk
|
|
||||||
, glib
|
|
||||||
, pango
|
|
||||||
, cairo
|
|
||||||
, atk
|
|
||||||
, gdk_pixbuf
|
|
||||||
, debug ? false
|
|
||||||
|
|
||||||
/* you have to add ~/mm.cfg :
|
|
||||||
|
|
||||||
TraceOutputFileEnable=1
|
|
||||||
ErrorReportingEnable=1
|
|
||||||
MaxWarnings=1
|
|
||||||
|
|
||||||
in order to read the flash trace at ~/.macromedia/Flash_Player/Logs/flashlog.txt
|
|
||||||
Then FlashBug (a FireFox plugin) shows the log as well
|
|
||||||
*/
|
|
||||||
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
src =
|
|
||||||
if stdenv.system == "x86_64-linux" then
|
|
||||||
if debug then
|
|
||||||
# no plans to provide a x86_64 version:
|
|
||||||
# http://labs.adobe.com/technologies/flashplayer10/faq.html
|
|
||||||
throw "no x86_64 debugging version available"
|
|
||||||
else {
|
|
||||||
# -> http://labs.adobe.com/downloads/flashplayer10.html
|
|
||||||
version = "10.3.181.34";
|
|
||||||
url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz;
|
|
||||||
sha256 = "1w2zs2f0q1vpx4ia9pj1k4p830dwz7ypyn302mi48wcpz1wzc1gg";
|
|
||||||
}
|
|
||||||
else if stdenv.system == "i686-linux" then
|
|
||||||
if debug then {
|
|
||||||
# The debug version also contains a player
|
|
||||||
version = "10.2_p2-debug-r092710";
|
|
||||||
url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_32bit_debug_linux_092710.tar.gz;
|
|
||||||
sha256 = "11w3mxa39l4mnlsqzlwbdh1sald549afyqbx2kbid7in5qzamlcc";
|
|
||||||
} else {
|
|
||||||
version = "10.3.183.10";
|
|
||||||
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
|
|
||||||
sha256 = "0fj51dg0aa813b44yn8dvmmvw4qwi8vbi0x8n1bcqrcld3sbpmfz";
|
|
||||||
}
|
|
||||||
else throw "Flash Player is not supported on this platform";
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "flashplayer-${src.version}";
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
|
||||||
|
|
||||||
src = fetchurl { inherit (src) url sha256; };
|
|
||||||
|
|
||||||
inherit zlib alsaLib;
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
mozillaPlugin = "/lib/mozilla/plugins";
|
|
||||||
};
|
|
||||||
|
|
||||||
rpath = stdenv.lib.makeLibraryPath
|
|
||||||
[ zlib alsaLib curl nss nspr fontconfig freetype expat libX11
|
|
||||||
libXext libXrender libXt gtk glib pango atk cairo gdk_pixbuf
|
|
||||||
];
|
|
||||||
|
|
||||||
buildPhase = ":";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Adobe Flash Player browser plugin";
|
|
||||||
homepage = http://www.adobe.com/products/flashplayer/;
|
|
||||||
};
|
|
||||||
}
|
|
@ -11,8 +11,9 @@
|
|||||||
, libX11
|
, libX11
|
||||||
, libXext
|
, libXext
|
||||||
, libXrender
|
, libXrender
|
||||||
|
, libXcursor
|
||||||
, libXt
|
, libXt
|
||||||
, gtk
|
, gtk
|
||||||
, glib
|
, glib
|
||||||
, pango
|
, pango
|
||||||
, cairo
|
, cairo
|
||||||
@ -40,11 +41,11 @@ let
|
|||||||
# no plans to provide a x86_64 version:
|
# no plans to provide a x86_64 version:
|
||||||
# http://labs.adobe.com/technologies/flashplayer10/faq.html
|
# http://labs.adobe.com/technologies/flashplayer10/faq.html
|
||||||
throw "no x86_64 debugging version available"
|
throw "no x86_64 debugging version available"
|
||||||
else {
|
else rec {
|
||||||
# -> http://labs.adobe.com/downloads/flashplayer10.html
|
# -> http://labs.adobe.com/downloads/flashplayer10.html
|
||||||
version = "11.1.102.55";
|
version = "11.2.202.238";
|
||||||
url = http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/install_flash_player_11_linux.x86_64.tar.gz;
|
url = "http://fpdownload.macromedia.com/get/flashplayer/pdc/${version}/install_flash_player_11_linux.x86_64.tar.gz";
|
||||||
sha256 = "09swldv174z23pnixy9fxkw084qkl3bbrxfpf159fbjdgvwihn1l";
|
sha256 = "07d09xjnn2hm877psmv9a6c4cfighxw24p0apq2ykawnrjpjc6zn";
|
||||||
}
|
}
|
||||||
else if stdenv.system == "i686-linux" then
|
else if stdenv.system == "i686-linux" then
|
||||||
if debug then {
|
if debug then {
|
||||||
@ -52,10 +53,10 @@ let
|
|||||||
version = "11.1";
|
version = "11.1";
|
||||||
url = http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz;
|
url = http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug.i386.tar.gz;
|
||||||
sha256 = "1z3649lv9sh7jnwl8d90a293nkaswagj2ynhsr4xmwiy7c0jz2lk";
|
sha256 = "1z3649lv9sh7jnwl8d90a293nkaswagj2ynhsr4xmwiy7c0jz2lk";
|
||||||
} else {
|
} else rec {
|
||||||
version = "11.1.102.55";
|
version = "11.2.202.238";
|
||||||
url = "http://fpdownload.macromedia.com/get/flashplayer/pdc/11.1.102.55/install_flash_player_11_linux.i386.tar.gz";
|
url = "http://fpdownload.macromedia.com/get/flashplayer/pdc/${version}/install_flash_player_11_linux.i386.tar.gz";
|
||||||
sha256 = "08zdnl06lqyk2k3yq4lgphqd3ci2267448mghlv1p0hjrdq253k7";
|
sha256 = "0p05pr4vmc4536axjyljhxhqizq4ihslar8g638dj24251byp7ca";
|
||||||
}
|
}
|
||||||
else throw "Flash Player is not supported on this platform";
|
else throw "Flash Player is not supported on this platform";
|
||||||
|
|
||||||
@ -65,7 +66,7 @@ stdenv.mkDerivation {
|
|||||||
name = "flashplayer-${src.version}";
|
name = "flashplayer-${src.version}";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
src = fetchurl { inherit (src) url sha256; };
|
src = fetchurl { inherit (src) url sha256; };
|
||||||
|
|
||||||
inherit zlib alsaLib;
|
inherit zlib alsaLib;
|
||||||
@ -76,7 +77,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
rpath = stdenv.lib.makeLibraryPath
|
rpath = stdenv.lib.makeLibraryPath
|
||||||
[ zlib alsaLib curl nss nspr fontconfig freetype expat libX11
|
[ zlib alsaLib curl nss nspr fontconfig freetype expat libX11
|
||||||
libXext libXrender libXt gtk glib pango atk cairo gdk_pixbuf
|
libXext libXrender libXcursor libXt gtk glib pango atk cairo gdk_pixbuf
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ":";
|
buildPhase = ":";
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
dontStrip=1
|
|
||||||
dontPatchELF=1
|
|
||||||
|
|
||||||
sourceRoot=.
|
|
||||||
|
|
||||||
installPhase() {
|
|
||||||
mkdir -p $out/lib/mozilla/plugins
|
|
||||||
cp -p libflashplayer.so $out/lib/mozilla/plugins
|
|
||||||
patchelf --set-rpath $rpath $out/lib/mozilla/plugins/libflashplayer.so
|
|
||||||
}
|
|
||||||
|
|
||||||
genericBuild
|
|
@ -1,47 +0,0 @@
|
|||||||
{ stdenv
|
|
||||||
, fetchurl
|
|
||||||
, zlib
|
|
||||||
, alsaLib
|
|
||||||
, nss
|
|
||||||
, nspr
|
|
||||||
, fontconfig
|
|
||||||
, freetype
|
|
||||||
, expat
|
|
||||||
, libX11
|
|
||||||
, libXext
|
|
||||||
, libXrender
|
|
||||||
, libXt
|
|
||||||
, gtk
|
|
||||||
, glib
|
|
||||||
, pango
|
|
||||||
, atk
|
|
||||||
|
|
||||||
, customSrc ? null
|
|
||||||
}:
|
|
||||||
|
|
||||||
assert stdenv.system == "i686-linux";
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "flashplayer-9.0.124.0";
|
|
||||||
|
|
||||||
builder = ./builder.sh;
|
|
||||||
src = if customSrc == null then
|
|
||||||
fetchurl {
|
|
||||||
url = http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz;
|
|
||||||
sha256 = "1cnsjgmy7rwj3spzb5mmpmvzxjp435jisl0dd8s4rf4xskyy6d6r";
|
|
||||||
}
|
|
||||||
else customSrc;
|
|
||||||
|
|
||||||
inherit zlib alsaLib;
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
mozillaPlugin = "/lib/mozilla/plugins";
|
|
||||||
};
|
|
||||||
|
|
||||||
rpath = stdenv.lib.makeLibraryPath [zlib alsaLib nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Adobe Flash Player browser plugin";
|
|
||||||
homepage = http://www.adobe.com/products/flashplayer/;
|
|
||||||
};
|
|
||||||
}
|
|
@ -13,18 +13,18 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "opera-12.00-1467";
|
name = "opera-12.02-1578";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
if stdenv.system == "i686-linux" then
|
if stdenv.system == "i686-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "${mirror}/linux/1200/${name}.i386.linux.tar.xz";
|
url = "${mirror}/linux/1202/${name}.i386.linux.tar.xz";
|
||||||
sha256 = "d5683f5a4cf0cfd9ce715359b77909c7923c85bcec98513907c1844285356fdc";
|
sha256 = "60ccef14673818a8690fe3b76f861d180e2d8d3b87513b1652e6117c6dff3e86";
|
||||||
}
|
}
|
||||||
else if stdenv.system == "x86_64-linux" then
|
else if stdenv.system == "x86_64-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "${mirror}/linux/1200/${name}.x86_64.linux.tar.xz";
|
url = "${mirror}/linux/1202/${name}.x86_64.linux.tar.xz";
|
||||||
sha256 = "7c3dbe122b1fd20123f1b48a420dea080cc24ede4183d47d66b383c2b7ca5051";
|
sha256 = "e861f14b984898b5a2c0d04915e515a5677152dc302b614a3ac1bb13da7a9b81";
|
||||||
}
|
}
|
||||||
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
|
else throw "Opera is not supported on ${stdenv.system} (only i686-linux and x86_64 linux are supported)";
|
||||||
|
|
||||||
|
@ -1,28 +1,33 @@
|
|||||||
{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM,
|
{ stdenv, fetchurl, aspell, qt4, zlib, sox, libX11, xproto, libSM
|
||||||
libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, callPackage, which, glib }:
|
, libICE, qca2, pkgconfig, qca2_ossl, liboil, speex, callPackage, which, glib
|
||||||
|
, libXScrnSaver, scrnsaverproto
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "psi-0.14";
|
name = "psi-0.15";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/psi/${name}.tar.bz2";
|
url = "mirror://sourceforge/psi/${name}.tar.bz2";
|
||||||
sha256 = "1h54a1qryfva187sw9qnb4lv1d3h3lysqgw55v727swvslh4l0da";
|
sha256 = "593b5ddd7934af69c245afb0e7290047fd7dedcfd8765baca5a3a024c569c7e6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [aspell qt4 zlib sox libX11 xproto libSM libICE
|
buildInputs =
|
||||||
qca2 qca2_ossl pkgconfig which glib];
|
[ aspell qt4 zlib sox libX11 xproto libSM libICE
|
||||||
|
qca2 qca2_ossl pkgconfig which glib scrnsaverproto libXScrnSaver
|
||||||
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
|
|
||||||
|
|
||||||
NIX_LDFLAGS="-lqca";
|
|
||||||
|
|
||||||
configureFlags =
|
|
||||||
[ " --with-zlib-inc=${zlib}/include "
|
|
||||||
" --disable-bundled-qca"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE="-I${qca2}/include/QtCrypto";
|
||||||
|
|
||||||
|
NIX_LDFLAGS="-lqca";
|
||||||
|
|
||||||
psiMedia = callPackage ./psimedia.nix { };
|
psiMedia = callPackage ./psimedia.nix { };
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-aspell-inc=${aspell}/include"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
PSI_PLUGINS="$out/lib/psi/plugins"
|
PSI_PLUGINS="$out/lib/psi/plugins"
|
||||||
mkdir -p "$PSI_PLUGINS"
|
mkdir -p "$PSI_PLUGINS"
|
||||||
@ -34,9 +39,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Psi, an XMPP (Jabber) client";
|
description = "Psi, an XMPP (Jabber) client";
|
||||||
maintainers = with stdenv.lib.maintainers;
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
[raskin];
|
platforms = stdenv.lib.platforms.linux;
|
||||||
platforms = with stdenv.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,54 @@
|
|||||||
|
http://sources2.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-im/psimedia/files/psimedia-1.0.3-glib2.32.patch?view=log
|
||||||
|
|
||||||
|
Index: psimedia-1.0.3/gstprovider/gstcustomelements/gstcustomelements.h
|
||||||
|
===================================================================
|
||||||
|
--- psimedia-1.0.3.orig/gstprovider/gstcustomelements/gstcustomelements.h
|
||||||
|
+++ psimedia-1.0.3/gstprovider/gstcustomelements/gstcustomelements.h
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
#ifndef GSTCUSTOMELEMENTS_H
|
||||||
|
#define GSTCUSTOMELEMENTS_H
|
||||||
|
|
||||||
|
-#include <glib/gthread.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <gst/gst.h>
|
||||||
|
#include <gst/base/gstpushsrc.h>
|
||||||
|
#include <gst/video/video.h>
|
||||||
|
Index: psimedia-1.0.3/gstprovider/gstelements/static/gstelements.h
|
||||||
|
===================================================================
|
||||||
|
--- psimedia-1.0.3.orig/gstprovider/gstelements/static/gstelements.h
|
||||||
|
+++ psimedia-1.0.3/gstprovider/gstelements/static/gstelements.h
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
#ifndef PSI_GSTELEMENTS_H
|
||||||
|
#define PSI_GSTELEMENTS_H
|
||||||
|
|
||||||
|
-#include <glib/gmacros.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
Index: psimedia-1.0.3/gstprovider/gstthread.h
|
||||||
|
===================================================================
|
||||||
|
--- psimedia-1.0.3.orig/gstprovider/gstthread.h
|
||||||
|
+++ psimedia-1.0.3/gstprovider/gstthread.h
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
#define PSI_GSTTHREAD_H
|
||||||
|
|
||||||
|
#include <QThread>
|
||||||
|
-#include <glib/gmain.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
namespace PsiMedia {
|
||||||
|
|
||||||
|
Index: psimedia-1.0.3/gstprovider/rwcontrol.h
|
||||||
|
===================================================================
|
||||||
|
--- psimedia-1.0.3.orig/gstprovider/rwcontrol.h
|
||||||
|
+++ psimedia-1.0.3/gstprovider/rwcontrol.h
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#include <QMutex>
|
||||||
|
#include <QWaitCondition>
|
||||||
|
#include <QTimer>
|
||||||
|
-#include <glib/gmain.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include "psimediaprovider.h"
|
||||||
|
#include "rtpworker.h"
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv, fetchurl, qt4, gstreamer, gst_plugins_base, liboil, speex, which
|
{ stdenv, fetchurl, qt4, gstreamer, gst_plugins_base, liboil, speex, which
|
||||||
, glib, pkgconfig}:
|
, glib, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "psimedia";
|
name = "psimedia";
|
||||||
@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
sha256 = "0fxjdz8afh75gfx2msysb1gss6zx578l3224jvc9jhm99w1ii781";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig];
|
patches = [ ./glib-2.32.patch ];
|
||||||
|
|
||||||
|
buildInputs = [ qt4 gstreamer gst_plugins_base liboil speex which glib pkgconfig ];
|
||||||
|
|
||||||
configurePhase = ''./configure'';
|
configurePhase = ''./configure'';
|
||||||
|
|
||||||
|
@ -54,13 +54,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
chmod +x $out/bin/skype
|
chmod +x $out/bin/skype
|
||||||
|
|
||||||
# Desktop icon for Skype
|
# Fixup desktop file
|
||||||
patch skype.desktop << EOF
|
substituteInPlace skype.desktop --replace \
|
||||||
5c5
|
"Icon=skype.png" "Icon=$out/opt/skype/icons/SkypeBlue_48x48.png"
|
||||||
< Icon=skype.png
|
substituteInPlace skype.desktop --replace \
|
||||||
---
|
"Terminal=0" "Terminal=false"
|
||||||
> Icon=$out/opt/skype/icons/SkypeBlue_48x48.png
|
|
||||||
EOF
|
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
mv skype.desktop $out/share/applications
|
mv skype.desktop $out/share/applications
|
||||||
'';
|
'';
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile }:
|
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.3.8";
|
version = "0.3.9";
|
||||||
name = "weechat-${version}";
|
name = "weechat-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://weechat.org/files/src/${name}.tar.gz";
|
url = "http://weechat.org/files/src/${name}.tar.gz";
|
||||||
sha256 = "4293eb9d29f11b8ee8c301049d57e535acbea677bc1dc41ab12fe1bb8af0f10e";
|
sha256 = "8666c788cbb212036197365df3ba3cf964a23e4f644d76ea51d66dbe3be593bb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
@ -9,6 +9,8 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [pkgconfig tcl gtk];
|
buildInputs = [pkgconfig tcl gtk];
|
||||||
configureFlags = "--disable-nls";
|
configureFlags = "--disable-nls";
|
||||||
|
|
||||||
|
patches = [ ./glib-top-level-header.patch ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "IRC client using GTK";
|
description = "IRC client using GTK";
|
||||||
homepage = http://www.xchat.org;
|
homepage = http://www.xchat.org;
|
||||||
|
@ -0,0 +1,75 @@
|
|||||||
|
diff -Naur xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c xchat-2.8.8/src/common/dbus/dbus-plugin.c
|
||||||
|
--- xchat-2.8.8-orig/src/common/dbus/dbus-plugin.c 2009-08-16 05:40:15.000000000 -0400
|
||||||
|
+++ xchat-2.8.8/src/common/dbus/dbus-plugin.c 2012-07-15 23:07:33.678948703 -0400
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
#include <config.h>
|
||||||
|
#include <dbus/dbus-glib.h>
|
||||||
|
#include <dbus/dbus-glib-lowlevel.h>
|
||||||
|
-#include <glib/gi18n.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include "../xchat-plugin.h"
|
||||||
|
|
||||||
|
#define PNAME _("remote access")
|
||||||
|
diff -Naur xchat-2.8.8-orig/src/common/modes.c xchat-2.8.8/src/common/modes.c
|
||||||
|
--- xchat-2.8.8-orig/src/common/modes.c 2010-05-29 21:52:18.000000000 -0400
|
||||||
|
+++ xchat-2.8.8/src/common/modes.c 2012-07-15 23:07:33.654948723 -0400
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <glib.h>
|
||||||
|
-#include <glib/gprintf.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "xchat.h"
|
||||||
|
#include "xchatc.h"
|
||||||
|
diff -Naur xchat-2.8.8-orig/src/common/servlist.c xchat-2.8.8/src/common/servlist.c
|
||||||
|
--- xchat-2.8.8-orig/src/common/servlist.c 2010-05-16 03:24:26.000000000 -0400
|
||||||
|
+++ xchat-2.8.8/src/common/servlist.c 2012-07-15 23:07:33.643948732 -0400
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "xchat.h"
|
||||||
|
-#include <glib/ghash.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
#include "cfgfiles.h"
|
||||||
|
#include "fe.h"
|
||||||
|
diff -Naur xchat-2.8.8-orig/src/common/text.c xchat-2.8.8/src/common/text.c
|
||||||
|
--- xchat-2.8.8-orig/src/common/text.c 2010-05-29 22:14:41.000000000 -0400
|
||||||
|
+++ xchat-2.8.8/src/common/text.c 2012-07-15 23:07:33.671948706 -0400
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
#include "xchat.h"
|
||||||
|
-#include <glib/ghash.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include "cfgfiles.h"
|
||||||
|
#include "chanopt.h"
|
||||||
|
#include "plugin.h"
|
||||||
|
diff -Naur xchat-2.8.8-orig/src/common/util.c xchat-2.8.8/src/common/util.c
|
||||||
|
--- xchat-2.8.8-orig/src/common/util.c 2009-08-16 05:40:16.000000000 -0400
|
||||||
|
+++ xchat-2.8.8/src/common/util.c 2012-07-15 23:07:33.649948724 -0400
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include "xchat.h"
|
||||||
|
#include "xchatc.h"
|
||||||
|
-#include <glib/gmarkup.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include "util.h"
|
||||||
|
#include "../../config.h"
|
||||||
|
diff -Naur xchat-2.8.8-orig/src/common/xchat.h xchat-2.8.8/src/common/xchat.h
|
||||||
|
--- xchat-2.8.8-orig/src/common/xchat.h 2009-08-16 05:40:16.000000000 -0400
|
||||||
|
+++ xchat-2.8.8/src/common/xchat.h 2012-07-15 23:08:20.855910521 -0400
|
||||||
|
@@ -1,10 +1,6 @@
|
||||||
|
#include "../../config.h"
|
||||||
|
|
||||||
|
-#include <glib/gslist.h>
|
||||||
|
-#include <glib/glist.h>
|
||||||
|
-#include <glib/gutils.h>
|
||||||
|
-#include <glib/giochannel.h>
|
||||||
|
-#include <glib/gstrfuncs.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include <time.h> /* need time_t */
|
||||||
|
|
||||||
|
#ifndef XCHAT_H
|
@ -5,25 +5,31 @@
|
|||||||
, gpgme ? null
|
, gpgme ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
assert sslSupport -> openssl != null;
|
assert sslSupport -> openssl != null;
|
||||||
assert gpgSupport -> gpgme != null;
|
assert gpgSupport -> gpgme != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sylpheed-2.7.1";
|
name = "sylpheed-3.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-2.7.1.tar.bz2;
|
url = http://sylpheed.sraoss.jp/sylpheed/v3.2/sylpheed-3.2.0.tar.bz2;
|
||||||
sha256 = "08sfz159y8hi3lky98m6p4nkfiima749lza8gf3s3vp2niylbdlb";
|
sha256 = "1cdjwn1f8rgcxzfxj7j7qvacmaw4zfhnip81q4n5lj5d6rj7rssa";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
pkgconfig gtk
|
[ pkgconfig gtk ]
|
||||||
(if sslSupport then openssl else null)
|
++ optional sslSupport openssl
|
||||||
(if gpgSupport then gpgme else null)
|
++ optional gpgSupport gpgme;
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = optionalString sslSupport "--enable-ssl";
|
||||||
(if sslSupport then "--enable-ssl" else null)
|
|
||||||
];
|
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://sylpheed.sraoss.jp/en/;
|
||||||
|
description = "A lightweight and user-friendly e-mail client";
|
||||||
|
maintainers = [ maintainers.eelco ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = "GPL";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, libIDL, dbus_glib, bzip2, alsaLib, nspr, yasm, mesa, nss
|
, libIDL, dbus_glib, bzip2, alsaLib, nspr, yasm, mesa, nss
|
||||||
, libnotify, cairo, pixman, fontconfig
|
, libnotify, cairo, pixman, fontconfig
|
||||||
, libjpeg
|
, libjpeg
|
||||||
|
, pythonPackages
|
||||||
|
|
||||||
, # If you want the resulting program to call itself "Thunderbird"
|
, # If you want the resulting program to call itself "Thunderbird"
|
||||||
# instead of "Shredder", enable this option. However, those
|
# instead of "Shredder", enable this option. However, those
|
||||||
@ -9,47 +10,26 @@
|
|||||||
# Mozilla Foundation, see
|
# Mozilla Foundation, see
|
||||||
# http://www.mozilla.org/foundation/trademarks/.
|
# http://www.mozilla.org/foundation/trademarks/.
|
||||||
enableOfficialBranding ? false
|
enableOfficialBranding ? false
|
||||||
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "11.0.1";
|
let version = "15.0.1"; in
|
||||||
|
|
||||||
# This patch may become necessary when we use a more recent version of libpng
|
|
||||||
# for now, it's actually not needed
|
|
||||||
# pngPatch = fetchurl {
|
|
||||||
# url = http://www.linuxfromscratch.org/patches/blfs/svn/thunderbird-9.0.1-libpng-1.5-1.patch;
|
|
||||||
# sha256 = "8454bdde3be8dc37c9f5e6f597914f0a585ff4b357d3fc86c6c9f80208b6068d";
|
|
||||||
# };
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "thunderbird-${version}";
|
name = "thunderbird-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/11.0.1/source/thunderbird-${version}.source.tar.bz2";
|
url = "ftp://ftp.mozilla.org/pub/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.bz2";
|
||||||
sha1 = "037344b451b1c031472d92f96d401b15d8e3e7d3";
|
sha1 = "688bed2b48abda000b489f3c84de0ba9f93818f0";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig perl python zip unzip bzip2 gtk dbus_glib alsaLib libIDL nspr
|
[ pkgconfig perl python zip unzip bzip2 gtk dbus_glib alsaLib libIDL nspr
|
||||||
libnotify cairo pixman fontconfig yasm mesa /* nss */
|
libnotify cairo pixman fontconfig yasm mesa nss
|
||||||
libjpeg
|
libjpeg pythonPackages.sqlite3
|
||||||
];
|
];
|
||||||
|
|
||||||
# fix some paths in pngPatch
|
|
||||||
# prePatch = ''
|
|
||||||
# substitute ${pngPatch} png.patch --replace "mozilla-release/modules/" "comm-release/mozilla/modules/"
|
|
||||||
# '';
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
# "png.patch" # produced by postUnpack
|
|
||||||
|
|
||||||
# Fix weird dependencies such as a so file which depends on "-lpthread".
|
|
||||||
# ./thunderbird-build-deps.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--enable-application=mail"
|
[ "--enable-application=mail"
|
||||||
"--enable-optimize"
|
"--enable-optimize"
|
||||||
@ -58,11 +38,13 @@ stdenv.mkDerivation {
|
|||||||
"--enable-strip"
|
"--enable-strip"
|
||||||
"--with-pthreads"
|
"--with-pthreads"
|
||||||
"--with-system-jpeg"
|
"--with-system-jpeg"
|
||||||
# "--with-system-png" # png 1.5.x not merged in nixpkgs yet
|
#"--with-system-png"
|
||||||
"--with-system-zlib"
|
"--with-system-zlib"
|
||||||
"--with-system-bz2"
|
"--with-system-bz2"
|
||||||
"--with-system-nspr"
|
"--with-system-nspr"
|
||||||
"--enable-system-cairo"
|
"--with-system-nss"
|
||||||
|
# Broken: https://bugzilla.mozilla.org/show_bug.cgi?id=722975
|
||||||
|
#"--enable-system-cairo"
|
||||||
"--disable-crashreporter"
|
"--disable-crashreporter"
|
||||||
"--disable-necko-wifi"
|
"--disable-necko-wifi"
|
||||||
"--disable-webm"
|
"--disable-webm"
|
||||||
@ -84,10 +66,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
# Fix some references to /bin paths in the Xulrunner shell script.
|
rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl
|
||||||
substituteInPlace $out/lib/thunderbird-*/thunderbird \
|
|
||||||
--replace /bin/pwd "$(type -tP pwd)" \
|
|
||||||
--replace /bin/ls "$(type -tP ls)"
|
|
||||||
|
|
||||||
# Create a desktop item.
|
# Create a desktop item.
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
@ -109,7 +88,7 @@ stdenv.mkDerivation {
|
|||||||
# Official branding implies thunderbird name and logo cannot be reuse,
|
# Official branding implies thunderbird name and logo cannot be reuse,
|
||||||
# see http://www.mozilla.org/foundation/licensing.html
|
# see http://www.mozilla.org/foundation/licensing.html
|
||||||
if enableOfficialBranding then licenses.proprietary else licenses.mpl11;
|
if enableOfficialBranding then licenses.proprietary else licenses.mpl11;
|
||||||
maintainers = with maintainers; [ pierron ];
|
maintainers = maintainers.pierron;
|
||||||
platforms = with platforms; linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -4,14 +4,14 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.6.2";
|
version = "1.8.3";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "wireshark-${version}";
|
name = "wireshark-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
|
url = "mirror://sourceforge/wireshark/wireshark-${version}.tar.bz2";
|
||||||
sha256 = "0zqy8ws05xz36y49azf5lrwzgfz26h7f8d27xjc89hlqrqagahsk";
|
sha256 = "1crg59kkxb7lw1wpfg52hd4l00hq56pyg7f40c7sgqmm0vsmza43";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [perl pkgconfig gtk libpcap flex bison gnutls libgcrypt
|
buildInputs = [perl pkgconfig gtk libpcap flex bison gnutls libgcrypt
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnucash-2.4.10";
|
name = "gnucash-2.4.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
|
url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
|
||||||
sha256 = "1k76b6hnsmljggxsq5l9w94krfmhx58ij8jcxf72p0ddnlimdrjj";
|
sha256 = "0qbpgd6spclkmwryi66cih0igi5a6pmsnk41mmnscpfpz1mddhwk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -63,6 +63,10 @@
|
|||||||
name = "liberation-fonts-ttf-1.07.1.tar.gz";
|
name = "liberation-fonts-ttf-1.07.1.tar.gz";
|
||||||
md5 = "0be45d54cc5e1c2e3102e32b8c190346";
|
md5 = "0be45d54cc5e1c2e3102e32b8c190346";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "liberation-fonts-ttf-2.00.0.tar.gz";
|
||||||
|
md5 = "cfbf1ac6f61bf6cf45342a0cc9381be5";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "swingExSrc.zip";
|
name = "swingExSrc.zip";
|
||||||
md5 = "35c94d2df8893241173de1d16b6034c0";
|
md5 = "35c94d2df8893241173de1d16b6034c0";
|
||||||
|
@ -16,10 +16,10 @@ let
|
|||||||
langsSpaces = stdenv.lib.concatStringsSep " " langs;
|
langsSpaces = stdenv.lib.concatStringsSep " " langs;
|
||||||
major = "3";
|
major = "3";
|
||||||
minor = "6";
|
minor = "6";
|
||||||
patch = "1";
|
patch = "2";
|
||||||
tweak = "2";
|
tweak = "2";
|
||||||
subdir = "${major}.${minor}.${patch}";
|
subdir = "${major}.${minor}.${patch}";
|
||||||
version = "${subdir}.${tweak}";
|
version = "${subdir}${if tweak == "" then "" else "."}${tweak}";
|
||||||
fetchThirdParty = {name, md5}: fetchurl {
|
fetchThirdParty = {name, md5}: fetchurl {
|
||||||
inherit name md5;
|
inherit name md5;
|
||||||
url = "http://dev-www.libreoffice.org/src/${md5}-${name}";
|
url = "http://dev-www.libreoffice.org/src/${md5}-${name}";
|
||||||
@ -36,17 +36,17 @@ let
|
|||||||
}) ] ++ (map fetchThirdParty (import ./libreoffice-srcs.nix));
|
}) ] ++ (map fetchThirdParty (import ./libreoffice-srcs.nix));
|
||||||
translations = fetchSrc {
|
translations = fetchSrc {
|
||||||
name = "translations";
|
name = "translations";
|
||||||
sha256 = "0id4ad8h3fl4s2ax6r4w4af74xvagkv0qwy50f483lqq3a3pl7fl";
|
sha256 = "a6ef65d5acfe9be19a3d4d743cd23a1017733f651ffc57f5773a24704a282c33";
|
||||||
};
|
};
|
||||||
|
|
||||||
help = fetchSrc {
|
help = fetchSrc {
|
||||||
name = "help";
|
name = "help";
|
||||||
sha256 = "0jd3l3rkhmdvrvgklkmrh9zsg9hlv3vhy6s97fnzhpzr90sjqrs1";
|
sha256 = "55ec6ef5eef4bbf2298c3b864f67c8424ebb5ccbe7bcd6ca59abba2867989e31";
|
||||||
};
|
};
|
||||||
|
|
||||||
core = fetchSrc {
|
core = fetchSrc {
|
||||||
name = "core";
|
name = "core";
|
||||||
sha256 = "12zc0zviy1p3gk1v5nm4ks4rzscn68lpnl3kis4q693zhsk8jyh3";
|
sha256 = "5ec07ffacec09c4dcee9246cb132f7a59a618b395835e781735fd61bf47e8d37";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -1,24 +1,16 @@
|
|||||||
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa, lua5_0 }:
|
{ stdenv, fetchurl, SDL, SDL_ttf, SDL_image, mesa, lua5_1, automake, autoconf }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
name = "gravit-0.4.2";
|
name = "gravit-0.5.0";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://gravit.slowchop.com/dist/${name}.tar.gz";
|
url = "http://gravit.slowchop.com/media/downloads/${name}.tgz";
|
||||||
sha256 = "f37f3ac256a4acbf575f709addaae8cb01eda4f85537affa28c45f2df6fddb07";
|
sha256 = "0lyw0skrkb04s16vgz7ggswjrdxk1h23v5s85s09gjxzjp1xd3xp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [mesa SDL SDL_ttf SDL_image lua5_0];
|
buildInputs = [mesa SDL SDL_ttf SDL_image lua5_1 automake autoconf];
|
||||||
|
|
||||||
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";
|
preConfigure = "sh autogen.sh";
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
mv $out/etc/gravit $out/share/gravit/sample-config
|
|
||||||
rmdir $out/etc
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://gravit.slowchop.com";
|
homepage = "http://gravit.slowchop.com";
|
||||||
|
@ -1,28 +1,24 @@
|
|||||||
{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, libiconv}:
|
{stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt4, perl, libiconv}:
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "stellarium-0.11.3";
|
name = "stellarium-0.11.4";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
url = "mirror://sourceforge/stellarium/${name}.tar.gz";
|
||||||
sha256 = "f7c7eeaefcdc54c0fb8766f09e0c838acb742719adcdf12a6c1e12d55ecd6ac3";
|
sha256 = "8ad5e9878eb36c2c27f4754dcfc69279123e0eae02cc388074e3cf9b23746535";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv ];
|
buildInputs = [ cmake freetype libpng mesa gettext openssl qt4 perl libiconv ];
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i -e '/typedef void (\*__GLXextFuncPtr)(void);/d' src/core/external/GLee.h
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "an free open source planetarium";
|
description = "Free open-source planetarium";
|
||||||
homepage = http://stellarium.org/;
|
homepage = "http://stellarium.org/";
|
||||||
license = "GPL2";
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
platforms = stdenv.lib.platforms.linux; # should be mesaPlatforms, but we don't have qt on darwin
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
name = "maxima";
|
name = "maxima";
|
||||||
version = "5.27.0";
|
version = "5.28.0";
|
||||||
|
|
||||||
searchPath =
|
searchPath =
|
||||||
stdenv.lib.makeSearchPath "bin"
|
stdenv.lib.makeSearchPath "bin"
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/${name}/${name}-${version}.tar.gz";
|
url = "mirror://sourceforge/${name}/${name}-${version}.tar.gz";
|
||||||
sha256 = "9006803714f1385221c4395697fad53f125a13d29b50b188d045d08e25f8dca7";
|
sha256 = "d73e925f0116ba361bf4390c80e24d4fa763f647cc1fc4cc06bbf40ceb3facda";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [sbcl texinfo perl makeWrapper];
|
buildInputs = [sbcl texinfo perl makeWrapper];
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
name = "wxmaxima";
|
name = "wxmaxima";
|
||||||
version = "12.04.0";
|
version = "12.09.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/${name}/wxMaxima-${version}.tar.gz";
|
url = "mirror://sourceforge/${name}/wxMaxima-${version}.tar.gz";
|
||||||
sha256 = "60110507e0a63738a1f420b22697eaac9bea3866122e072dcd697077e8744824";
|
sha256 = "5803ab62fc791bcb87f0d0f38357dba6fccc4efa61cb9f709e142c2954b1305d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [wxGTK maxima makeWrapper];
|
buildInputs = [wxGTK maxima makeWrapper];
|
||||||
|
@ -43,10 +43,13 @@ rec {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gitAnnex = lib.makeOverridable (import ./git-annex) {
|
gitAnnex = lib.makeOverridable (import ./git-annex) {
|
||||||
inherit stdenv fetchurl libuuid rsync findutils curl perl git ikiwiki which coreutils openssh;
|
inherit stdenv fetchurl perl coreutils git libuuid rsync findutils curl ikiwiki which openssh;
|
||||||
inherit (haskellPackages) ghc MissingH utf8String pcreLight SHA dataenc
|
inherit (haskellPackages) ghc bloomfilter dataenc editDistance hinotify hS3 hslogger HTTP
|
||||||
HTTP testpack hS3 mtl network hslogger hxt json liftedBase monadControl IfElse
|
blazeBuilder blazeHtml caseInsensitive IfElse json liftedBase MissingH monadControl mtl
|
||||||
QuickCheck bloomfilter editDistance stm hinotify;
|
network pcreLight QuickCheck SHA stm utf8String networkInfo dbus
|
||||||
|
clientsession cryptoApi dataDefault extensibleExceptions filepath hamlet
|
||||||
|
httpTypes networkMulticast text time transformers transformersBase wai
|
||||||
|
waiLogger warp yesod yesodDefault yesodStatic testpack;
|
||||||
};
|
};
|
||||||
|
|
||||||
qgit = import ./qgit {
|
qgit = import ./qgit {
|
||||||
|
@ -1,27 +1,35 @@
|
|||||||
{ stdenv, fetchurl, curl, dataenc, findutils, ghc, git, hS3, hslogger, HTTP, hxt
|
{ stdenv, ghc, fetchurl, perl, coreutils, git, libuuid, rsync
|
||||||
, ikiwiki, json, libuuid, MissingH, monadControl, mtl, network, pcreLight, perl
|
, findutils, curl, ikiwiki, which, openssh
|
||||||
, QuickCheck, rsync, SHA, testpack, utf8String, which, liftedBase, coreutils
|
, blazeBuilder, blazeHtml, bloomfilter, caseInsensitive
|
||||||
, IfElse, bloomfilter, editDistance, openssh, stm, hinotify
|
, clientsession, cryptoApi, dataDefault, dataenc, dbus
|
||||||
|
, editDistance, extensibleExceptions, filepath, hamlet, hinotify
|
||||||
|
, hS3, hslogger, HTTP, httpTypes, IfElse, json, liftedBase
|
||||||
|
, MissingH, monadControl, mtl, network, networkInfo
|
||||||
|
, networkMulticast, pcreLight, QuickCheck, SHA, stm, text, time
|
||||||
|
, transformers, transformersBase, utf8String, wai, waiLogger, warp
|
||||||
|
, yesod, yesodDefault, yesodStatic, testpack
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.20120825";
|
version = "3.20121010";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "git-annex-${version}";
|
name = "git-annex-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/${version}";
|
url = "http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/${version}";
|
||||||
sha256 = "edffe6a99d07599f62d4d5f6823de8a830abe8977c7671fd6eb21aeaebc0b8d0";
|
sha256 = "4db543af6cbcb2d92c808c01969425d1fd1a916b37386dcdfe1a3101876ccde2";
|
||||||
name = "git-annex-${version}.tar.gz";
|
name = "git-annex-${version}.tar.gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ ghc git libuuid rsync findutils curl ikiwiki which
|
||||||
curl dataenc findutils ghc git hS3 hslogger HTTP hxt ikiwiki json
|
openssh blazeBuilder blazeHtml bloomfilter caseInsensitive
|
||||||
libuuid MissingH monadControl mtl network pcreLight perl QuickCheck
|
clientsession cryptoApi dataDefault dataenc dbus editDistance
|
||||||
rsync SHA testpack utf8String which liftedBase IfElse bloomfilter
|
extensibleExceptions filepath hamlet hinotify hS3 hslogger HTTP
|
||||||
editDistance openssh stm hinotify
|
httpTypes IfElse json liftedBase MissingH monadControl mtl network
|
||||||
];
|
networkInfo networkMulticast pcreLight QuickCheck SHA stm text time
|
||||||
|
transformers transformersBase utf8String wai waiLogger warp yesod
|
||||||
|
yesodDefault yesodStatic testpack ];
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
@ -29,7 +37,7 @@ stdenv.mkDerivation {
|
|||||||
# The 'add_url' test fails because it attempts to use the network.
|
# The 'add_url' test fails because it attempts to use the network.
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
makeFlagsArray=( PREFIX=$out )
|
makeFlagsArray=( PREFIX=$out )
|
||||||
sed -i -e 's|#!/usr/bin/perl|#!${perl}/bin/perl|' mdwn2man
|
sed -i -e 's|#!/usr/bin/perl|#!${perl}/bin/perl|' Build/mdwn2man
|
||||||
sed -i -e 's|"cp |"${coreutils}/bin/cp |' -e 's|"rm -f |"${coreutils}/bin/rm -f |' test.hs
|
sed -i -e 's|"cp |"${coreutils}/bin/cp |' -e 's|"rm -f |"${coreutils}/bin/rm -f |' test.hs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "1.7.12.1";
|
version = "1.7.12.4";
|
||||||
|
|
||||||
svn = subversionClient.override { perlBindings = true; };
|
svn = subversionClient.override { perlBindings = true; };
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://git-core.googlecode.com/files/git-${version}.tar.gz";
|
url = "http://git-core.googlecode.com/files/git-${version}.tar.gz";
|
||||||
sha256 = "a0c2b7e122ac2e40fe5b69baeeaac24b237a1341f08ba848cadaa835a0dbcfcd";
|
sha256 = "1nk3igf7mgcj9yvpyrnp3i9725fljxi96icmzalfzd8nkj94br8p";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./docbook2texi.patch ];
|
patches = [ ./docbook2texi.patch ];
|
||||||
|
@ -1,36 +1,41 @@
|
|||||||
{ alsaSupport ? true, xvSupport ? true, theoraSupport ? true, cacaSupport ? true
|
{ stdenv, fetchurl, freetype, pkgconfig, yasm, freefont_ttf
|
||||||
, xineramaSupport ? true, randrSupport ? true, dvdnavSupport ? true
|
, x11Support ? true, libX11 ? null, libXext ? null, mesa ? null
|
||||||
, stdenv, fetchurl, fetchsvn, fetchgit, x11, freetype, fontconfig, zlib
|
, xineramaSupport ? true, libXinerama ? null
|
||||||
, alsaLib ? null, libXv ? null, libtheora ? null, libcaca ? null
|
, xvSupport ? true, libXv ? null
|
||||||
, libXinerama ? null, libXrandr ? null, libdvdnav ? null
|
, alsaSupport ? true, alsaLib ? null
|
||||||
, cdparanoia ? null, cddaSupport ? true
|
, screenSaverSupport ? true, libXScrnSaver ? null
|
||||||
, amrnb ? null, amrwb ? null, amrSupport ? false
|
, vdpauSupport ? false, libvdpau ? null
|
||||||
, x11Support ? true, libX11 ? null, libXext ? null
|
, cddaSupport ? true, cdparanoia ? null
|
||||||
, jackaudioSupport ? false, jackaudio ? null
|
, dvdnavSupport ? true, libdvdnav ? null
|
||||||
, x264Support ? false, x264 ? null
|
, bluraySupport ? true, libbluray ? null
|
||||||
, xvidSupport ? false, xvidcore ? null
|
, amrSupport ? false, amrnb ? null, amrwb ? null
|
||||||
|
, cacaSupport ? true, libcaca ? null
|
||||||
, lameSupport ? true, lame ? null
|
, lameSupport ? true, lame ? null
|
||||||
, speexSupport ? true, speex ? null
|
, speexSupport ? true, speex ? null
|
||||||
, screenSaverSupport ? true, libXScrnSaver
|
, theoraSupport ? true, libtheora ? null
|
||||||
, pulseSupport ? false, pulseaudio
|
, x264Support ? false, x264 ? null
|
||||||
, mesa, pkgconfig, unzip, yasm, freefont_ttf
|
, jackaudioSupport ? false, jackaudio ? null
|
||||||
, vdpauSupport ? false, libvdpau ? null
|
, pulseSupport ? false, pulseaudio ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert alsaSupport -> alsaLib != null;
|
assert x11Support -> (libX11 != null && libXext != null && mesa != null);
|
||||||
assert x11Support -> libX11 != null;
|
|
||||||
assert xvSupport -> (libXv != null && x11Support);
|
|
||||||
assert theoraSupport -> libtheora != null;
|
|
||||||
assert cacaSupport -> libcaca != null;
|
|
||||||
assert xineramaSupport -> (libXinerama != null && x11Support);
|
assert xineramaSupport -> (libXinerama != null && x11Support);
|
||||||
assert randrSupport -> (libXrandr != null && x11Support);
|
assert xvSupport -> (libXv != null && x11Support);
|
||||||
assert dvdnavSupport -> libdvdnav != null;
|
assert alsaSupport -> alsaLib != null;
|
||||||
assert cddaSupport -> cdparanoia != null;
|
|
||||||
assert jackaudioSupport -> jackaudio != null;
|
|
||||||
assert amrSupport -> (amrnb != null && amrwb != null);
|
|
||||||
assert screenSaverSupport -> libXScrnSaver != null;
|
assert screenSaverSupport -> libXScrnSaver != null;
|
||||||
assert vdpauSupport -> libvdpau != null;
|
assert vdpauSupport -> libvdpau != null;
|
||||||
|
assert cddaSupport -> cdparanoia != null;
|
||||||
|
assert dvdnavSupport -> libdvdnav != null;
|
||||||
|
assert bluraySupport -> libbluray != null;
|
||||||
|
assert amrSupport -> (amrnb != null && amrwb != null);
|
||||||
|
assert cacaSupport -> libcaca != null;
|
||||||
|
assert lameSupport -> lame != null;
|
||||||
assert speexSupport -> speex != null;
|
assert speexSupport -> speex != null;
|
||||||
|
assert theoraSupport -> libtheora != null;
|
||||||
|
assert x264Support -> x264 != null;
|
||||||
|
assert jackaudioSupport -> jackaudio != null;
|
||||||
|
assert pulseSupport -> pulseaudio != null;
|
||||||
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -64,20 +69,12 @@ let
|
|||||||
};
|
};
|
||||||
} else null;
|
} else null;
|
||||||
|
|
||||||
ffmpegGit = fetchgit {
|
|
||||||
url = "git://git.videolan.org/ffmpeg.git";
|
|
||||||
rev = "9e53f62be1a171eaf9620958c225d42cf5142a30";
|
|
||||||
sha256 = "be0ef2a394c82a0eee0be66bc0b943d37efb90f74ce1030aa89606109434c943";
|
|
||||||
};
|
|
||||||
|
|
||||||
mplayerRev = "34586";
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mplayer-${mplayerRev}";
|
name = "mplayer-1.1";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchurl {
|
||||||
# Old kind of URL:
|
# Old kind of URL:
|
||||||
# url = http://nixos.org/tarballs/mplayer-snapshot-20101227.tar.bz2;
|
# url = http://nixos.org/tarballs/mplayer-snapshot-20101227.tar.bz2;
|
||||||
# Snapshot I took on 20110423
|
# Snapshot I took on 20110423
|
||||||
@ -86,64 +83,72 @@ stdenv.mkDerivation rec {
|
|||||||
#url = http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2;
|
#url = http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2;
|
||||||
#sha256 = "cc1b3fda75b172f02c3f46581cfb2c17f4090997fe9314ad046e464a76b858bb";
|
#sha256 = "cc1b3fda75b172f02c3f46581cfb2c17f4090997fe9314ad046e464a76b858bb";
|
||||||
|
|
||||||
url = "svn://svn.mplayerhq.hu/mplayer/trunk";
|
url = "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.xz";
|
||||||
rev = "${mplayerRev}";
|
sha256 = "173cmsfz7ckzy1hay9mpnc5as51127cfnxl20b521d2jvgm4gjvn";
|
||||||
sha256 = "5688add3256b5de8e0410194232aaaeb01531bb507459ffe4f07e69cb2d81bd7";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
sed -i /^_install_strip/d configure
|
sed -i /^_install_strip/d configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = with stdenv.lib;
|
||||||
[ freetype zlib pkgconfig ]
|
[ freetype pkgconfig ]
|
||||||
++ stdenv.lib.optionals x11Support [ libX11 libXext mesa ]
|
++ optionals x11Support [ libX11 libXext mesa ]
|
||||||
++ stdenv.lib.optional alsaSupport alsaLib
|
++ optional alsaSupport alsaLib
|
||||||
++ stdenv.lib.optional xvSupport libXv
|
++ optional xvSupport libXv
|
||||||
++ stdenv.lib.optional theoraSupport libtheora
|
++ optional theoraSupport libtheora
|
||||||
++ stdenv.lib.optional cacaSupport libcaca
|
++ optional cacaSupport libcaca
|
||||||
++ stdenv.lib.optional xineramaSupport libXinerama
|
++ optional xineramaSupport libXinerama
|
||||||
++ stdenv.lib.optional randrSupport libXrandr
|
++ optional dvdnavSupport libdvdnav
|
||||||
++ stdenv.lib.optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
|
++ optional bluraySupport libbluray
|
||||||
++ stdenv.lib.optional cddaSupport cdparanoia
|
++ optional cddaSupport cdparanoia
|
||||||
++ stdenv.lib.optional jackaudioSupport jackaudio
|
++ optional jackaudioSupport jackaudio
|
||||||
++ stdenv.lib.optionals amrSupport [ amrnb amrwb ]
|
++ optionals amrSupport [ amrnb amrwb ]
|
||||||
++ stdenv.lib.optional x264Support x264
|
++ optional x264Support x264
|
||||||
++ stdenv.lib.optional xvidSupport xvidcore
|
++ optional pulseSupport pulseaudio
|
||||||
++ stdenv.lib.optional pulseSupport pulseaudio
|
++ optional screenSaverSupport libXScrnSaver
|
||||||
++ stdenv.lib.optional screenSaverSupport libXScrnSaver
|
++ optional lameSupport lame
|
||||||
++ stdenv.lib.optional lameSupport lame
|
++ optional vdpauSupport libvdpau
|
||||||
++ stdenv.lib.optional vdpauSupport libvdpau
|
++ optional speexSupport speex;
|
||||||
++ stdenv.lib.optional speexSupport speex;
|
|
||||||
|
|
||||||
buildNativeInputs = [ yasm ];
|
buildNativeInputs = [ yasm ];
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
cp -r ${ffmpegGit} ffmpeg
|
|
||||||
chmod u+w -R ffmpeg
|
|
||||||
sed -ie '1i#include "libavutil/intreadwrite.h"' ffmpeg/libavcodec/libmp3lame.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
echo CONFIG_MPEGAUDIODSP=yes >> config.mak
|
echo CONFIG_MPEGAUDIODSP=yes >> config.mak
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = with stdenv.lib;
|
||||||
${if cacaSupport then "--enable-caca" else "--disable-caca"}
|
''
|
||||||
${if dvdnavSupport then "--enable-dvdnav --enable-dvdread --disable-dvdread-internal" else ""}
|
${if x11Support then "--enable-x11 --enable-gl" else "--disable-x11 --disable-gl"}
|
||||||
${if x264Support then "--enable-x264 --extra-libs=-lx264" else ""}
|
${if xineramaSupport then "--enable-xinerama" else "--disable-xinerama"}
|
||||||
${if codecs != null then "--codecsdir=${codecs}" else ""}
|
${if xvSupport then "--enable-xv" else "--disable-xv"}
|
||||||
${if (stdenv.isi686 || stdenv.isx86_64) then "--enable-runtime-cpudetection" else ""}
|
${if alsaSupport then "--enable-alsa" else "--disable-alsa"}
|
||||||
${if x11Support then "--enable-x11" else ""}
|
${if screenSaverSupport then "--enable-xss" else "--disable-xss"}
|
||||||
${stdenv.lib.optionalString speexSupport "--enable-speex"}
|
${if vdpauSupport then "--enable-vdpau" else "--disable-vdpau"}
|
||||||
--disable-xanim
|
${if cddaSupport then "--enable-cdparanoia" else "--disable-cdparanoia"}
|
||||||
--disable-ivtv
|
${if dvdnavSupport then "--enable-dvdnav" else "--disable-dvdnav"}
|
||||||
--enable-vidix
|
${if bluraySupport then "--enable-bluray" else "--disable-bluray"}
|
||||||
--enable-fbdev
|
${if amrSupport then "--enable-libopencore_amrnb" else "--disable-libopencore_amrnb"}
|
||||||
--disable-ossaudio
|
${if cacaSupport then "--enable-caca" else "--disable-caca"}
|
||||||
'';
|
${if lameSupport then "--enable-mp3lame --disable-mp3lame-lavc" else "--disable-mp3lame --enable-mp3lame-lavc"}
|
||||||
|
${if speexSupport then "--enable-speex" else "--disable-speex"}
|
||||||
|
${if theoraSupport then "--enable-theora" else "--disable-theora"}
|
||||||
|
${if x264Support then "--enable-x264 --disable-x264-lavc" else "--disable-x264 --enable-x264-lavc"}
|
||||||
|
${if jackaudioSupport then "--enable-jack" else "--disable-jack"}
|
||||||
|
${if pulseSupport then "--enable-pulse" else "--disable-pulse"}
|
||||||
|
|
||||||
NIX_LDFLAGS = if x11Support then "-lX11 -lXext" else "";
|
${optionalString (codecs != null) "--codecsdir=${codecs}"}
|
||||||
|
${optionalString (stdenv.isi686 || stdenv.isx86_64) "--enable-runtime-cpudetection"}
|
||||||
|
--enable-freetype
|
||||||
|
--disable-xanim
|
||||||
|
--disable-ivtv
|
||||||
|
--disable-xvid --disable-xvid-lavc
|
||||||
|
--enable-vidix
|
||||||
|
--enable-fbdev
|
||||||
|
--disable-ossaudio
|
||||||
|
'';
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString x11Support "-lX11 -lXext";
|
||||||
|
|
||||||
# Provide a reasonable standard font. Maybe we should symlink here.
|
# Provide a reasonable standard font. Maybe we should symlink here.
|
||||||
postInstall =
|
postInstall =
|
||||||
@ -155,7 +160,7 @@ stdenv.mkDerivation rec {
|
|||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
dontSetConfigureCross = true;
|
dontSetConfigureCross = true;
|
||||||
# Some things (vidix) are nanonote specific. Once someone cares, we can make options from them.
|
# Some things (vidix) are nanonote specific. Once someone cares, we can make options from them.
|
||||||
preConfigure = preConfigure + ''
|
preConfigure = ''
|
||||||
configureFlags="`echo $configureFlags |
|
configureFlags="`echo $configureFlags |
|
||||||
sed -e 's/--codecsdir[^ ]\+//' \
|
sed -e 's/--codecsdir[^ ]\+//' \
|
||||||
-e 's/--enable-runtime-cpudetection//' `"
|
-e 's/--enable-runtime-cpudetection//' `"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11}:
|
{stdenv, fetchurl, libstdcpp5, glib, pango, atk, gtk, libX11, makeWrapper}:
|
||||||
|
|
||||||
# Note that RealPlayer 10 need libstdc++.so.5, i.e., GCC 3.3, not 3.4.
|
# Note that RealPlayer 10 need libstdc++.so.5, i.e., GCC 3.3, not 3.4.
|
||||||
|
|
||||||
@ -13,9 +13,7 @@ assert stdenv.system == "i686-linux";
|
|||||||
md5 = "d28b31261059231a3e93c7466f8153e6";
|
md5 = "d28b31261059231a3e93c7466f8153e6";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeWrapper = ../../../build-support/make-wrapper/make-wrapper.sh;
|
inherit libstdcpp5 makeWrapper;
|
||||||
|
|
||||||
inherit libstdcpp5;
|
|
||||||
libPath = [libstdcpp5 glib pango atk gtk libX11];
|
libPath = [libstdcpp5 glib pango atk gtk libX11];
|
||||||
|
|
||||||
}) // {mozillaPlugin = "/real/mozilla";}
|
}) // {mozillaPlugin = "/real/mozilla";}
|
||||||
|
@ -10,11 +10,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "vlc-${version}";
|
name = "vlc-${version}";
|
||||||
version = "2.0.3";
|
version = "2.0.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.xz";
|
url = "http://download.videolan.org/pub/videolan/vlc/${version}/${name}.tar.xz";
|
||||||
sha256 = "1lnjfpizgp8slj6i4fgk5wld6nfw08wfhkb1i1dvzbhmfigq1agv";
|
sha256 = "1dixankckfxf8xixfc32rc9mfsv6mx2lk5h13ym8bp4dsk86w1jf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
@ -10,7 +10,7 @@ with stdenv.lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "4.1.22";
|
version = "4.2.0";
|
||||||
|
|
||||||
forEachModule = action: ''
|
forEachModule = action: ''
|
||||||
for mod in \
|
for mod in \
|
||||||
@ -34,7 +34,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
|
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
|
||||||
sha256 = "7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153";
|
sha256 = "895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
{ stdenv, fetchurl, lib, patchelf, cdrkit, kernel, which, makeWrapper
|
{ stdenv, fetchurl, lib, patchelf, cdrkit, kernel, which, makeWrapper
|
||||||
, libX11, libXt, libXext, libXmu, libXcomposite, libXfixes, libXrandr, libXcursor}:
|
, libX11, libXt, libXext, libXmu, libXcomposite, libXfixes, libXrandr, libXcursor}:
|
||||||
|
|
||||||
let version = "4.1.22"; in
|
let version = "4.2.0"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "VirtualBox-GuestAdditions-${version}";
|
name = "VirtualBox-GuestAdditions-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
|
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
|
||||||
sha256 = "5c7d9a4a31c8a926ba6dbae2b9704a561638e94ea0fc4f805a9231dd4f932d46";
|
sha256 = "ef274ecdcb48adec469656959e51c8468b6d3a7733ddf93f9a3713f77f1604f3";
|
||||||
};
|
};
|
||||||
|
|
||||||
KERN_DIR = "${kernel}/lib/modules/*/build";
|
KERN_DIR = "${kernel}/lib/modules/*/build";
|
||||||
|
|
||||||
buildInputs = [ patchelf cdrkit makeWrapper ];
|
buildInputs = [ patchelf cdrkit makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -101,9 +104,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Install Xorg drivers
|
# Install Xorg drivers
|
||||||
mkdir -p $out/lib/xorg/modules/{drivers,input}
|
mkdir -p $out/lib/xorg/modules/{drivers,input}
|
||||||
install -m 644 lib/VBoxGuestAdditions/vboxvideo_drv_19.so $out/lib/xorg/modules/drivers/vboxvideo_drv.so
|
install -m 644 lib/VBoxGuestAdditions/vboxvideo_drv_112.so $out/lib/xorg/modules/drivers/vboxvideo_drv.so
|
||||||
# There doesn't appear to be a vboxmouse driver for Xorg 1.9. Was there ever?
|
|
||||||
#install -m 644 lib/VBoxGuestAdditions/vboxmouse_drv_19.so $out/lib/xorg/modules/input/vboxmouse_drv.so
|
|
||||||
|
|
||||||
# Install kernel modules
|
# Install kernel modules
|
||||||
cd src
|
cd src
|
||||||
|
@ -48,3 +48,4 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,17 +3,21 @@
|
|||||||
libXcursor, coreutils, perl }:
|
libXcursor, coreutils, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "i3-4.2";
|
name = "i3-${version}";
|
||||||
|
version = "4.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
||||||
sha256 = "e02c832820e8922a44e744e555294f8580c2f8e218c5c1029e52f1bde048732b";
|
sha256 = "895bf586092535efb2bc723ba599c71a027768115e56052f111fc8bb148db925";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm
|
||||||
libstartup_notification libX11 pcre libev yajl flex libXcursor perl ];
|
libstartup_notification libX11 pcre libev yajl flex libXcursor perl ];
|
||||||
|
|
||||||
patchPhase = "patchShebangs .";
|
patchPhase = ''
|
||||||
|
sed -i -e '/^# Pango/,/^$/d' common.mk
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
configurePhase = "makeFlags=PREFIX=$out";
|
configurePhase = "makeFlags=PREFIX=$out";
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0yw813d8amrl0n1fvdiyznxah92wcylj9kj1qhjc6h73d827h6na";
|
sha256 = "0yw813d8amrl0n1fvdiyznxah92wcylj9kj1qhjc6h73d827h6na";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./deprecated.patch ];
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lfontconfig";
|
NIX_LDFLAGS = "-lfontconfig";
|
||||||
|
|
||||||
# The fuloong2f is not supported by 1.3.6 still
|
# The fuloong2f is not supported by 1.3.6 still
|
||||||
|
23
pkgs/applications/window-managers/icewm/deprecated.patch
Normal file
23
pkgs/applications/window-managers/icewm/deprecated.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-wm/icewm/files/icewm-1.2.37-libX11-1.5.0-deprecated.patch?revision=1.1
|
||||||
|
|
||||||
|
Description: Don't use "deprecated" as identifier, will FTBFS if another
|
||||||
|
library defines functions as deprecated.
|
||||||
|
Author: Andreas Moog <amoog@ubuntu.com>
|
||||||
|
Bug: https://sourceforge.net/tracker/?func=detail&aid=3494034&group_id=31&atid=100031
|
||||||
|
Bug-Ubuntu: https://bugs.launchpad.net/bugs/935179
|
||||||
|
Forwarded: Yes
|
||||||
|
|
||||||
|
--- icewm-1.3.7.orig/src/base.h
|
||||||
|
+++ icewm-1.3.7/src/base.h
|
||||||
|
@@ -2,9 +2,9 @@
|
||||||
|
#define __BASE_H
|
||||||
|
|
||||||
|
#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
|
||||||
|
-#define deprecated __attribute__((deprecated))
|
||||||
|
+#define ICEWM_deprecated __attribute__((deprecated))
|
||||||
|
#else
|
||||||
|
-#define deprecated
|
||||||
|
+#define ICEWM_deprecated
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*** Atomar Data Types ********************************************************/
|
11
pkgs/build-support/setup-hooks/autoreconf.sh
Normal file
11
pkgs/build-support/setup-hooks/autoreconf.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
preConfigurePhases+=" autoreconfPhase"
|
||||||
|
|
||||||
|
for i in @autoconf@ @automake@ @libtool@; do
|
||||||
|
findInputs $i nativePkgs propagated-build-native-inputs
|
||||||
|
done
|
||||||
|
|
||||||
|
autoreconfPhase() {
|
||||||
|
runHook preAutoreconf
|
||||||
|
autoreconf ${autoreconfFlags:---install --force}
|
||||||
|
runHook postAutoreconf
|
||||||
|
}
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool }:
|
{ stdenv, fetchurl, perl, perlXMLParser, xkbcomp, gettext, intltool }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xkeyboard-config-2.1";
|
name = "xkeyboard-config-2.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://xorg/individual/data/xkeyboard-config/${name}.tar.bz2";
|
url = "mirror://xorg/individual/data/xkeyboard-config/${name}.tar.bz2";
|
||||||
sha256 = "0x9hkb4iqz64gcabzkdcfy4p78sdhnpjwh54g8wx5bdgy9087vpr";
|
sha256 = "08c3mjdgp7c2v6lj5bymaczcazklsd7s1lxslxbngzmh5yhphd74";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gettext ];
|
buildInputs = [ gettext ];
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [ ./eo.patch ];
|
patches = [ ./eo.patch ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86"
|
configureFlags="--with-xkb-base=$out/etc/X11/xkb -with-xkb-rules-symlink=xorg,xfree86 --disable-runtime-deps"
|
||||||
sed -e 's@#!\s*/bin/bash@#! /bin/sh@' -i rules/merge.sh
|
sed -e 's@#!\s*/bin/bash@#! /bin/sh@' -i rules/merge.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,19 +1,21 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, dbus_libs, samba, libarchive, fuse, libgphoto2
|
{ stdenv, fetchurl, pkgconfig, dbus_libs, samba, libarchive, fuse, libgphoto2
|
||||||
, libcdio, libxml2, libtool, glib, intltool, GConf, libgnome_keyring, libsoup
|
, libcdio, libxml2, libtool, glib, intltool, GConf, libgnome_keyring, libsoup
|
||||||
, udev, avahi}:
|
, udev, avahi, libxslt, docbook_xsl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "gvfs-1.10.1";
|
name = "gvfs-1.14.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://gnome/sources/gvfs/1.10/gvfs-1.10.1.tar.xz;
|
url = "mirror://gnome/sources/gvfs/1.14/${name}.tar.xz";
|
||||||
sha256 = "124jrkph3cqr2pijmzzr6qwzy2vaq3vvndskzkxd0v5dwp7glc6d";
|
sha256 = "0af86cd7ee7b6daca144776bdf12f2f30d3e18fdd70b4da58e1a68cea4f6716a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ glib dbus_libs udev samba libarchive fuse libgphoto2 libcdio libxml2 GConf
|
[ glib dbus_libs udev samba libarchive fuse libgphoto2 libcdio libxml2 GConf
|
||||||
libgnome_keyring libsoup avahi libtool
|
libgnome_keyring libsoup avahi libtool libxslt docbook_xsl
|
||||||
];
|
];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig intltool ];
|
buildNativeInputs = [ pkgconfig intltool ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
|
{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
name = "libgnomecups-0.2.3";
|
name = "libgnomecups-0.2.3";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libgnomecups/0.2/${name}.tar.bz2";
|
url = "mirror://gnome/sources/libgnomecups/0.2/${name}.tar.bz2";
|
||||||
sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71";
|
sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./glib.patch ];
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl ];
|
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ libxml2 ];
|
propagatedBuildInputs = [ libxml2 ];
|
||||||
}
|
}
|
||||||
|
38
pkgs/desktops/gnome-2/platform/libgnomecups/glib.patch
Normal file
38
pkgs/desktops/gnome-2/platform/libgnomecups/glib.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From d84eee9450b3b6f6155074915efc61bedcc8d446 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
Date: Sun, 27 Nov 2011 21:36:41 +0100
|
||||||
|
Subject: [PATCH] Fix: Only glib.h can be included
|
||||||
|
|
||||||
|
---
|
||||||
|
libgnomecups/gnome-cups-i18n.c | 2 +-
|
||||||
|
libgnomecups/gnome-cups-init.h | 3 +--
|
||||||
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libgnomecups/gnome-cups-i18n.c b/libgnomecups/gnome-cups-i18n.c
|
||||||
|
index 8987c5c..127756d 100644
|
||||||
|
--- a/libgnomecups/gnome-cups-i18n.c
|
||||||
|
+++ b/libgnomecups/gnome-cups-i18n.c
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
#include <config.h>
|
||||||
|
-#include <glib/gmacros.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
#include "gnome-cups-i18n.h"
|
||||||
|
|
||||||
|
#ifdef ENABLE_NLS
|
||||||
|
diff --git a/libgnomecups/gnome-cups-init.h b/libgnomecups/gnome-cups-init.h
|
||||||
|
index 22b682a..c4600fc 100644
|
||||||
|
--- a/libgnomecups/gnome-cups-init.h
|
||||||
|
+++ b/libgnomecups/gnome-cups-init.h
|
||||||
|
@@ -1,8 +1,7 @@
|
||||||
|
#ifndef GNOME_CUPS_INIT
|
||||||
|
#define GNOME_CUPS_INIT
|
||||||
|
|
||||||
|
-#include <glib/gtypes.h>
|
||||||
|
-#include <glib/gmacros.h>
|
||||||
|
+#include <glib.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.7
|
||||||
|
|
@ -1,11 +1,8 @@
|
|||||||
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl, libgnomecups, bison,
|
{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl
|
||||||
flex }:
|
, libgnomecups, bison, flex }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
name = "libgnomeprint-2.18.8";
|
name = "libgnomeprint-2.18.8";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libgnomeprint/2.18/${name}.tar.bz2";
|
url = "mirror://gnome/sources/libgnomeprint/2.18/${name}.tar.bz2";
|
||||||
@ -15,5 +12,6 @@ stdenv.mkDerivation {
|
|||||||
patches = [ ./bug653388.patch ];
|
patches = [ ./bug653388.patch ];
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
|
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ libxml2 ];
|
propagatedBuildInputs = [ libxml2 ];
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,18 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, dbus, intltool, udev, libgdu, fuse }:
|
{ stdenv, fetchurl, pkgconfig, glib, dbus, intltool, udev, libgdu, fuse
|
||||||
|
, libxml2, libxslt, docbook_xsl, libgphoto2, libtool }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gvfs-1.8.2";
|
name = "gvfs-1.14.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gvfs/1.8/${name}.tar.bz2";
|
url = "mirror://gnome/sources/gvfs/1.14/${name}.tar.xz";
|
||||||
sha256 = "0895ac8f6d416e1b15433b6b6b68eb119c6e8b04fdb66db665d684355ef89345";
|
sha256 = "0af86cd7ee7b6daca144776bdf12f2f30d3e18fdd70b4da58e1a68cea4f6716a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib dbus.libs intltool udev libgdu fuse ];
|
buildInputs =
|
||||||
|
[ pkgconfig glib dbus.libs intltool udev libgdu fuse libxml2 libxslt
|
||||||
|
docbook_xsl libgphoto2 libtool
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Virtual Filesystem support library (for Xfce)";
|
description = "Virtual Filesystem support library (for Xfce)";
|
||||||
|
@ -5,13 +5,13 @@ let
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
version = "1.4";
|
version = "1.8";
|
||||||
name = "ccl-${version}";
|
name = "ccl-${version}";
|
||||||
|
|
||||||
/* There are also MacOS and FreeBSD and Windows versions */
|
/* There are also MacOS and FreeBSD and Windows versions */
|
||||||
src = a.fetchurl {
|
src = a.fetchurl {
|
||||||
url = "ftp://ftp.clozure.com/pub/release/${version}/${name}-linuxx86.tar.gz";
|
url = "ftp://ftp.clozure.com/pub/release/${version}/${name}-linuxx86.tar.gz";
|
||||||
sha256 = "1z4x4kxjj2ligb2vfrx5mjww20gdkxbvgw1ax5l9c8ha802bfyg8";
|
sha256 = "1dgg6a8i2csa6xidsq66hbw7zx62gm2178hpkp88yyzgxylszp01";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
@ -3,16 +3,23 @@
|
|||||||
, ...} @ x:
|
, ...} @ x:
|
||||||
builderDefsPackage (a :
|
builderDefsPackage (a :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
|
||||||
propagatedBuildInputs = with a; [
|
propagatedBuildInputs = with a; [
|
||||||
gmp mpfr
|
gmp mpfr
|
||||||
];
|
];
|
||||||
buildInputs = [ gmp libffi mpfr ];
|
buildInputs = [ gmp libffi mpfr ];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = a.fetchUrlFromSrcInfo s;
|
mainVersion = "12.7";
|
||||||
|
revision = "1";
|
||||||
|
version = "${mainVersion}.${revision}";
|
||||||
|
|
||||||
|
name = "ecl-${version}";
|
||||||
|
|
||||||
|
src = a.fetchurl {
|
||||||
|
url = "mirror://sourceforge/project/ecls/ecls/${mainVersion}/${name}.tar.gz";
|
||||||
|
sha256 = "0k8ww142g3bybvvnlijqsbidl8clbs1pb4ympk2ds07z5swvy2ap";
|
||||||
|
};
|
||||||
|
|
||||||
inherit (s) name;
|
|
||||||
inherit buildInputs propagatedBuildInputs;
|
inherit buildInputs propagatedBuildInputs;
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-threads"
|
"--enable-threads"
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
rec {
|
|
||||||
version="12.2.1";
|
|
||||||
name="ecl-12.2.1";
|
|
||||||
hash="dbb3f83c27f3d2565ca22c1c6b4ab497bbfdd0d0a7b09dee76338f378621f091";
|
|
||||||
url="http://downloads.sourceforge.net/project/ecls/ecls/12.2/ecl-${version}.tgz";
|
|
||||||
advertisedUrl="http://downloads.sourceforge.net/project/ecls/ecls/12.2/ecl-12.2.1.tgz";
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
downloadPage = "http://sourceforge.net/projects/ecls/files/";
|
|
||||||
baseName = "ecl";
|
|
||||||
choiceCommand = "head -1 | sed -e 's@/download@@;'\"$skipRedirectSF\"";
|
|
||||||
sourceRegexp = ".*[.](tar.gz|tgz|tbz2|tar.bz2)";
|
|
||||||
}
|
|
@ -14,8 +14,8 @@ edk2 = stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2;
|
url = https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2;
|
||||||
rev = "13094";
|
rev = "13783";
|
||||||
sha256 = "1qfpal0y4sas204ydg3pg3634dm25q1vr94mpgmbdh6yqcviah3h";
|
sha256 = "18sx0nwcnghij7737xdnmgwk5vm0ax4p0v3ybggqqs8cdhzfghil";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libuuid pythonFull ];
|
buildInputs = [ libuuid pythonFull ];
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
args : with args;
|
args : with args;
|
||||||
rec {
|
rec {
|
||||||
version = "0.9.30.4";
|
version = "1.0.2";
|
||||||
|
versionSuffix = "-0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}-src.tar.bz2";
|
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz";
|
||||||
sha256 = "0kndg4xf32r6w5hb58d9qvzkyiphhysgnhs2rd9bmlc8sy8c7zmv";
|
sha256 = "17a94wig8b4yrkq42wng4qbal7n77axkynwh78wday5whsp7div8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [fpc gtk glib libXi inputproto
|
buildInputs = [fpc gtk glib libXi inputproto
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, libedit, ncurses, gmp}:
|
{stdenv, fetchurl, perl, libedit, ncurses, gmp}:
|
||||||
|
|
||||||
let
|
|
||||||
supportedPlatforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
|
|
||||||
in
|
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.10.1";
|
version = "6.10.1";
|
||||||
|
|
||||||
@ -104,5 +98,5 @@ stdenv.mkDerivation rec {
|
|||||||
[ $(./main) == "yes" ]
|
[ $(./main) == "yes" ]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.platforms = supportedPlatforms;
|
meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, libedit, ncurses, gmp}:
|
{stdenv, fetchurl, perl, libedit, ncurses, gmp}:
|
||||||
|
|
||||||
let
|
|
||||||
supportedPlatforms = ["x86_64-linux" "i686-linux"];
|
|
||||||
in
|
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.10.2";
|
version = "6.10.2";
|
||||||
|
|
||||||
@ -103,5 +97,5 @@ stdenv.mkDerivation rec {
|
|||||||
[ $(./main) == "yes" ]
|
[ $(./main) == "yes" ]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.platforms = supportedPlatforms;
|
meta.platforms = ["x86_64-linux" "i686-linux"];
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, ncurses, gmp}:
|
{stdenv, fetchurl, perl, ncurses, gmp}:
|
||||||
|
|
||||||
let
|
|
||||||
supportedPlatforms = ["x86_64-linux" "i686-linux"];
|
|
||||||
in
|
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "6.12.1";
|
version = "6.12.1";
|
||||||
|
|
||||||
@ -105,5 +99,5 @@ stdenv.mkDerivation rec {
|
|||||||
[ $(./main) == "yes" ]
|
[ $(./main) == "yes" ]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.platforms = supportedPlatforms;
|
meta.platforms = ["x86_64-linux" "i686-linux"];
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, readline, ncurses, gmp}:
|
{stdenv, fetchurl, perl, readline, ncurses, gmp}:
|
||||||
|
|
||||||
let
|
|
||||||
supportedPlatforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
|
|
||||||
in
|
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = if stdenv.system == "i686-darwin" then "ghc-6.6.1-binary" else "ghc-6.4.2-binary";
|
name = if stdenv.system == "i686-darwin" then "ghc-6.6.1-binary" else "ghc-6.4.2-binary";
|
||||||
|
|
||||||
@ -68,5 +62,5 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
'' else "";
|
'' else "";
|
||||||
|
|
||||||
meta.platforms = supportedPlatforms;
|
meta.platforms = ["i686-darwin" "x86_64-linux" "i686-linux"];
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, ncurses, gmp}:
|
{stdenv, fetchurl, perl, ncurses, gmp}:
|
||||||
|
|
||||||
let
|
|
||||||
supportedPlatforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
|
|
||||||
in
|
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "7.0.4";
|
version = "7.0.4";
|
||||||
|
|
||||||
@ -93,5 +87,5 @@ stdenv.mkDerivation rec {
|
|||||||
[ $(./main) == "yes" ]
|
[ $(./main) == "yes" ]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.platforms = supportedPlatforms;
|
meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,5 @@
|
|||||||
{stdenv, fetchurl, perl, ncurses, gmp}:
|
{stdenv, fetchurl, perl, ncurses, gmp}:
|
||||||
|
|
||||||
let
|
|
||||||
supportedPlatforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
|
|
||||||
in
|
|
||||||
|
|
||||||
assert stdenv.lib.elem stdenv.system supportedPlatforms;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "7.4.2";
|
version = "7.4.2";
|
||||||
|
|
||||||
@ -93,5 +87,5 @@ stdenv.mkDerivation rec {
|
|||||||
[ $(./main) == "yes" ]
|
[ $(./main) == "yes" ]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.platforms = supportedPlatforms;
|
meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
|
||||||
}
|
}
|
||||||
|
@ -7,11 +7,11 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "go-1.0.2";
|
name = "go-1.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://go.googlecode.com/files/go1.0.2.src.tar.gz;
|
url = http://go.googlecode.com/files/go1.0.3.src.tar.gz;
|
||||||
sha256 = "1a4mpkb3bd9dwp0r3fgrfcyk5lgw0f0cfrbskg2lrhc7a12zpz3h";
|
sha256 = "1pz31az3icwqfqfy3avms05jnqr0qrbrx9yqsclkdwbjs4rkbfkz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ bison glibc bash makeWrapper ];
|
buildInputs = [ bison glibc bash makeWrapper ];
|
||||||
|
@ -1,141 +1,37 @@
|
|||||||
args: with args;
|
{ stdenv, fetchsvn, ocaml, zlib, neko }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation {
|
||||||
|
name = "haxe-2.10";
|
||||||
|
|
||||||
src_haxe_swflib = {
|
buildInputs = [ocaml zlib neko];
|
||||||
# REGION AUTO UPDATE: { name = "haxe_swflib"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/swflib"; groups = "haxe_group"; }
|
|
||||||
src = sourceFromHead "haxe_swflib-F_10-43-46.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/haxe_swflib-F_10-43-46.tar.gz"; sha256 = "a63de75e48bf500ef0e8ef715d178d32f0ef113ded8c21bbca698a8cc70e7b58"; });
|
|
||||||
# END
|
|
||||||
}.src;
|
|
||||||
|
|
||||||
src_haxe_extc = {
|
src = fetchsvn {
|
||||||
# REGION AUTO UPDATE: { name = "haxe_extc"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extc"; groups = "haxe_group"; }
|
url = "http://haxe.googlecode.com/svn/tags/v2-10";
|
||||||
src = sourceFromHead "haxe_extc-F_10-43-47.tar.gz"
|
sha256 = "dbd3c655e4136eb68a165ef83b96bfc1f0f2eb9ec8729603b19bcd717a61a679";
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/haxe_extc-F_10-43-47.tar.gz"; sha256 = "d0a9980527d62ac6cfe27925ddb0964d334ec382f813fdfb8bd6c59fbbede730"; });
|
|
||||||
# END
|
|
||||||
}.src;
|
|
||||||
|
|
||||||
src_haxe_extlib_dev = {
|
|
||||||
# REGION AUTO UPDATE: { name = "haxe_extlib_dev"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/extlib-dev"; groups = "haxe_group"; }
|
|
||||||
src = sourceFromHead "haxe_extlib_dev-F_10-43-48.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/haxe_extlib_dev-F_10-43-48.tar.gz"; sha256 = "6b9037230e2615dd5e22f4e7f4165c84f2816bc526957683afc945394fcdf67e"; });
|
|
||||||
# END
|
|
||||||
}.src;
|
|
||||||
|
|
||||||
src_haxe_xml_light = {
|
|
||||||
# REGION AUTO UPDATE: { name = "haxe_xml_light"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "ocaml/xml-light"; groups = "haxe_group"; }
|
|
||||||
src = sourceFromHead "haxe_xml_light-F_10-43-48.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/haxe_xml_light-F_10-43-48.tar.gz"; sha256 = "be29d9e22ad0dbcb3d447cbbc14907aff5f89bb562b8db369659d299f3a5b44f"; });
|
|
||||||
# END
|
|
||||||
}.src;
|
|
||||||
|
|
||||||
src_haxe_neko_include = {
|
|
||||||
# REGION AUTO UPDATE: { name = "haxe_neko_include"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko/libs/include/ocaml"; groups = "haxe_group"; }
|
|
||||||
src = sourceFromHead "haxe_neko_include-F_10-43-49.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/haxe_neko_include-F_10-43-49.tar.gz"; sha256 = "e49efc1b348fa6e0f6fb40079a2d380b947d9ebda31843bc293f3cc77f8453db"; });
|
|
||||||
# END
|
|
||||||
}.src;
|
|
||||||
|
|
||||||
src_haxe = {
|
|
||||||
# REGION AUTO UPDATE: { name="haxe-read-only"; type="svn"; url="http://haxe.googlecode.com/svn/trunk"; groups = "haxe_group"; }
|
|
||||||
src = sourceFromHead "haxe-read-only-3220.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/haxe-read-only-3220.tar.gz"; sha256 = "2b6702dca95d0829e539cea07b8224e3848e584a425ce8f8e0984a7a2bf7b1f8"; });
|
|
||||||
# END
|
|
||||||
}.src;
|
|
||||||
|
|
||||||
|
|
||||||
# the HaXe compiler
|
|
||||||
haxe = stdenv.mkDerivation {
|
|
||||||
name = "haxe-cvs";
|
|
||||||
|
|
||||||
buildInputs = [ocaml zlib makeWrapper];
|
|
||||||
|
|
||||||
src = src_haxe;
|
|
||||||
|
|
||||||
inherit zlib;
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
set -x
|
|
||||||
mkdir -p ocaml/{swflib,extc,extlib-dev,xml-light} neko/libs
|
|
||||||
|
|
||||||
# strange setup. install.ml seems to co the same repo again into haxe directory!
|
|
||||||
mkdir haxe
|
|
||||||
tar xfz $src --strip-components=1 -C haxe
|
|
||||||
|
|
||||||
t(){ tar xfz $1 -C $2 --strip-components=2; }
|
|
||||||
t ${src_haxe_swflib} ocaml/swflib
|
|
||||||
t ${src_haxe_extc} ocaml/extc
|
|
||||||
t ${src_haxe_extlib_dev} ocaml/extlib-dev
|
|
||||||
t ${src_haxe_xml_light} ocaml/xml-light
|
|
||||||
t ${src_haxe_neko_include} neko/libs
|
|
||||||
|
|
||||||
sed -e '/download();/d' \
|
|
||||||
-e "s@/usr/lib/@''${zlib}/lib/@g" \
|
|
||||||
doc/install.ml > install.ml
|
|
||||||
|
|
||||||
ocaml install.ml
|
|
||||||
'';
|
|
||||||
|
|
||||||
# probably rpath should be set properly
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/lib/haxe
|
|
||||||
cp -r bin $out/bin
|
|
||||||
wrapProgram "$out/bin/haxe" \
|
|
||||||
--set "LD_LIBRARY_PATH" $zlib/lib \
|
|
||||||
--set HAXE_LIBRARY_PATH "''${HAXE_LIBRARY_PATH}''${HAXE_LIBRARY_PATH:-:}:$out/lib/haxe/std:."
|
|
||||||
cp -r std $out/lib/haxe/
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "programming language targeting JavaScript, Flash, NekVM, PHP, C++";
|
|
||||||
homepage = http://haxe.org;
|
|
||||||
license = ["GPLv2" "BSD2" /*?*/ ]; # -> docs/license.txt
|
|
||||||
maintainers = [args.lib.maintainers.marcweber];
|
|
||||||
platforms = args.lib.platforms.linux;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# build a tool found in std/tools/${name} source directory
|
|
||||||
# the .hxml files contain a recipe to cerate a binary.
|
|
||||||
tool = { name, description }: stdenv.mkDerivation {
|
|
||||||
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = src_haxe;
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
cd std/tools/${name};
|
|
||||||
haxe *.hxml
|
|
||||||
mkdir -p $out/bin
|
|
||||||
mv ${name} $out/bin/
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [haxe neko];
|
|
||||||
|
|
||||||
dontStrip=1;
|
|
||||||
|
|
||||||
installPhase=":";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
inherit description;
|
|
||||||
homepage = http://haxe.org;
|
|
||||||
# license = "?"; TODO
|
|
||||||
maintainers = [args.lib.maintainers.marcweber];
|
|
||||||
platforms = args.lib.platforms.linux;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
inherit haxe;
|
|
||||||
|
|
||||||
haxelib = tool {
|
|
||||||
name = "haxelib";
|
|
||||||
description = "haxelib is a HaXe library management tool similar to easyinstall or ruby gems";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
sed -i -e 's|com.class_path <- \[|&"'"$out/lib/haxe/std/"'";|' main.ml
|
||||||
|
'';
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
find std/tools -name '*.n' -delete
|
||||||
|
rm std/tools/haxedoc/haxedoc std/tools/haxelib/haxelib
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -vd "$out/bin" "$out/lib/haxe/std"
|
||||||
|
install -vt "$out/bin" haxe haxelib haxedoc
|
||||||
|
cp -vr std "$out/lib/haxe"
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Programming language targeting JavaScript, Flash, NekoVM, PHP, C++";
|
||||||
|
homepage = http://haxe.org;
|
||||||
|
license = ["GPLv2" "BSD2" /*?*/ ]; # -> docs/license.txt
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "idris";
|
pname = "idris";
|
||||||
version = "0.9.3.1";
|
version = "0.9.4.1";
|
||||||
sha256 = "1dqb7gd5jn5f062hfwrirrfxv6ac1f6khkfax912j01mg147hv9a";
|
sha256 = "1f1jrgnclr0443rbhfcnm0vvbb2jcliskqm6vq1c0xgywab7bjhx";
|
||||||
isLibrary = false;
|
isLibrary = false;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [
|
buildDepends = [
|
||||||
|
29
pkgs/development/compilers/jhc/default.nix
Normal file
29
pkgs/development/compilers/jhc/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
|
||||||
|
regexCompat, HsSyck, random
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
name = "jhc-${version}";
|
||||||
|
|
||||||
|
version = "0.8.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://repetae.net/dist/${name}.tar.gz";
|
||||||
|
sha256 = "0rbv0gpp7glhd9xqy7snbiaiizwnsfg9vzhvyywcvbmb35yivy2a";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
perl ghc binary zlib utf8String readline fgl regexCompat HsSyck random
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = ''
|
||||||
|
A Haskell compiler which aims to produce the most efficient programs
|
||||||
|
'';
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.aforemny ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1,27 +0,0 @@
|
|||||||
{ stdenv, fetchurl, perl, groff, cmake, python }:
|
|
||||||
|
|
||||||
let version = "3.1"; in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "llvm-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
|
|
||||||
sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ perl groff cmake python ];
|
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://llvm.org/;
|
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
|
||||||
license = "BSD";
|
|
||||||
maintainers = with stdenv.lib.maintainers; [viric shlevy raskin];
|
|
||||||
platforms = with stdenv.lib.platforms; all;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,49 +1,21 @@
|
|||||||
diff -Naur clang-3.0.src-orig/lib/Driver/ToolChains.cpp clang-3.0.src/lib/Driver/ToolChains.cpp
|
diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
|
||||||
--- clang-3.0.src-orig/lib/Driver/ToolChains.cpp 2011-11-17 02:40:32.000000000 -0500
|
--- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
|
||||||
+++ clang-3.0.src/lib/Driver/ToolChains.cpp 2011-12-19 06:29:27.562428830 -0500
|
+++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:13:01.044083509 -0400
|
||||||
@@ -1926,14 +1926,17 @@
|
@@ -2146,9 +2146,6 @@
|
||||||
if (DriverArgs.hasArg(options::OPT_nostdinc))
|
if (DriverArgs.hasArg(options::OPT_nostdinc))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
+#if 0
|
- if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
|
||||||
if (!DriverArgs.hasArg(options::OPT_nostdlibinc))
|
- addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
|
||||||
addSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/local/include");
|
-
|
||||||
|
|
||||||
+#endif
|
|
||||||
if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
|
if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) {
|
||||||
llvm::sys::Path P(D.ResourceDir);
|
llvm::sys::Path P(D.ResourceDir);
|
||||||
P.appendComponent("include");
|
P.appendComponent("include");
|
||||||
addSystemInclude(DriverArgs, CC1Args, P.str());
|
@@ -2264,6 +2261,7 @@
|
||||||
}
|
|
||||||
+#if 0
|
|
||||||
|
|
||||||
if (DriverArgs.hasArg(options::OPT_nostdlibinc))
|
|
||||||
return;
|
|
||||||
@@ -1998,6 +2001,8 @@
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + "/usr/include");
|
// Check if libc++ has been enabled and provide its include paths if so.
|
||||||
+#endif
|
+ // !!! Will need to modify this if/when nixpkgs uses libc++
|
||||||
+ addExternCSystemInclude(DriverArgs, CC1Args, D.SysRoot + C_INCLUDE_PATH);
|
if (GetCXXStdlibType(DriverArgs) == ToolChain::CST_Libcxx) {
|
||||||
}
|
// libc++ is always installed at a fixed path on Linux currently.
|
||||||
|
addSystemInclude(DriverArgs, CC1Args,
|
||||||
static bool addLibStdCXXIncludePaths(Twine Base, Twine TargetArchDir,
|
|
||||||
@@ -2030,6 +2035,7 @@
|
|
||||||
bool IsTarget64Bit = (TargetArch == llvm::Triple::x86_64 ||
|
|
||||||
TargetArch == llvm::Triple::ppc64);
|
|
||||||
|
|
||||||
+#if 0
|
|
||||||
StringRef CxxIncludeRoot(CXX_INCLUDE_ROOT);
|
|
||||||
if (!CxxIncludeRoot.empty()) {
|
|
||||||
StringRef CxxIncludeArch(CXX_INCLUDE_ARCH);
|
|
||||||
@@ -2072,6 +2078,10 @@
|
|
||||||
GCCInstallation.getTriple() + Suffix,
|
|
||||||
DriverArgs, CC1Args);
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
+ addLibStdCXXIncludePaths(CPP_INCLUDE_PATH,
|
|
||||||
+ CPP_HOST,
|
|
||||||
+ DriverArgs, CC1Args);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// DragonFly - DragonFly tool chain which can call as(1) and ld(1) directly.
|
|
||||||
|
@ -1,38 +1,57 @@
|
|||||||
diff -Naur clang-3.0.src-orig/lib/Driver/ToolChains.cpp clang-3.0.src/lib/Driver/ToolChains.cpp
|
diff -Naur clang-3.1.src-orig/lib/Driver/ToolChains.cpp clang-3.1.src/lib/Driver/ToolChains.cpp
|
||||||
--- clang-3.0.src-orig/lib/Driver/ToolChains.cpp 2011-11-17 02:40:32.000000000 -0500
|
--- clang-3.1.src-orig/lib/Driver/ToolChains.cpp 2012-05-11 20:16:02.000000000 -0400
|
||||||
+++ clang-3.0.src/lib/Driver/ToolChains.cpp 2011-12-19 05:32:38.695513475 -0500
|
+++ clang-3.1.src/lib/Driver/ToolChains.cpp 2012-10-08 01:22:53.458850737 -0400
|
||||||
@@ -1800,6 +1800,7 @@
|
@@ -2077,16 +2077,6 @@
|
||||||
|
addPathIfExists(LibPath + "/../" + Multilib, Paths);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
|
||||||
|
- addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
|
||||||
|
- addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
|
||||||
|
- addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
|
||||||
|
-
|
||||||
|
- // Try walking via the GCC triple path in case of multiarch GCC
|
||||||
|
- // installations with strange symlinks.
|
||||||
|
- if (GCCInstallation.isValid())
|
||||||
|
- addPathIfExists(SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() +
|
||||||
|
- "/../../" + Multilib, Paths);
|
||||||
|
|
||||||
Linker = GetProgramPath("ld");
|
// Add the non-multilib suffixed paths (if potentially different).
|
||||||
|
if (GCCInstallation.isValid()) {
|
||||||
+#if 0
|
@@ -2100,8 +2090,6 @@
|
||||||
LinuxDistro Distro = DetectLinuxDistro(Arch);
|
addPathIfExists(LibPath, Paths);
|
||||||
|
}
|
||||||
if (IsOpenSuse(Distro) || IsUbuntu(Distro)) {
|
}
|
||||||
@@ -1882,6 +1883,7 @@
|
- addPathIfExists(SysRoot + "/lib", Paths);
|
||||||
addPathIfExists(SysRoot + "/lib", Paths);
|
- addPathIfExists(SysRoot + "/usr/lib", Paths);
|
||||||
addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
|
|
||||||
addPathIfExists(SysRoot + "/usr/lib", Paths);
|
|
||||||
+#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Linux::HasNativeLLVMSupport() const {
|
bool Linux::HasNativeLLVMSupport() const {
|
||||||
diff -Naur clang-3.0.src-orig/lib/Driver/Tools.cpp clang-3.0.src/lib/Driver/Tools.cpp
|
diff -Naur clang-3.1.src-orig/lib/Driver/Tools.cpp clang-3.1.src/lib/Driver/Tools.cpp
|
||||||
--- clang-3.0.src-orig/lib/Driver/Tools.cpp 2011-11-07 05:27:39.000000000 -0500
|
--- clang-3.1.src-orig/lib/Driver/Tools.cpp 2012-04-18 17:32:25.000000000 -0400
|
||||||
+++ clang-3.0.src/lib/Driver/Tools.cpp 2011-12-19 05:34:44.075325534 -0500
|
+++ clang-3.1.src/lib/Driver/Tools.cpp 2012-10-08 01:25:23.913501995 -0400
|
||||||
@@ -4306,6 +4306,7 @@
|
@@ -5210,24 +5210,6 @@
|
||||||
ToolChain.getArch() == llvm::Triple::thumb ||
|
ToolChain.getArch() == llvm::Triple::thumb ||
|
||||||
(!Args.hasArg(options::OPT_static) &&
|
(!Args.hasArg(options::OPT_static) &&
|
||||||
!Args.hasArg(options::OPT_shared))) {
|
!Args.hasArg(options::OPT_shared))) {
|
||||||
+#if 0
|
- CmdArgs.push_back("-dynamic-linker");
|
||||||
CmdArgs.push_back("-dynamic-linker");
|
- if (ToolChain.getArch() == llvm::Triple::x86)
|
||||||
if (ToolChain.getArch() == llvm::Triple::x86)
|
- CmdArgs.push_back("/lib/ld-linux.so.2");
|
||||||
CmdArgs.push_back("/lib/ld-linux.so.2");
|
- else if (ToolChain.getArch() == llvm::Triple::arm ||
|
||||||
@@ -4318,6 +4319,7 @@
|
- ToolChain.getArch() == llvm::Triple::thumb)
|
||||||
CmdArgs.push_back("/lib64/ld64.so.1");
|
- CmdArgs.push_back("/lib/ld-linux.so.3");
|
||||||
else
|
- else if (ToolChain.getArch() == llvm::Triple::mips ||
|
||||||
CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
|
- ToolChain.getArch() == llvm::Triple::mipsel)
|
||||||
+#endif
|
- CmdArgs.push_back("/lib/ld.so.1");
|
||||||
|
- else if (ToolChain.getArch() == llvm::Triple::mips64 ||
|
||||||
|
- ToolChain.getArch() == llvm::Triple::mips64el)
|
||||||
|
- CmdArgs.push_back("/lib64/ld.so.1");
|
||||||
|
- else if (ToolChain.getArch() == llvm::Triple::ppc)
|
||||||
|
- CmdArgs.push_back("/lib/ld.so.1");
|
||||||
|
- else if (ToolChain.getArch() == llvm::Triple::ppc64)
|
||||||
|
- CmdArgs.push_back("/lib64/ld64.so.1");
|
||||||
|
- else
|
||||||
|
- CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
|
||||||
}
|
}
|
||||||
|
|
||||||
CmdArgs.push_back("-o");
|
CmdArgs.push_back("-o");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, perl, groff, llvm, cmake }:
|
{ stdenv, fetchurl, perl, groff, llvm, cmake }:
|
||||||
|
|
||||||
let version = "3.0"; in
|
let version = "3.1"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "clang-${version}";
|
name = "clang-${version}";
|
||||||
@ -10,20 +10,19 @@ stdenv.mkDerivation {
|
|||||||
patches = stdenv.lib.optionals (stdenv.gcc.libc != null)
|
patches = stdenv.lib.optionals (stdenv.gcc.libc != null)
|
||||||
[ ./clang-include-paths.patch ./clang-ld-flags.patch ];
|
[ ./clang-include-paths.patch ./clang-ld-flags.patch ];
|
||||||
|
|
||||||
postPatch = stdenv.lib.optionalString (stdenv.gcc.libc != null) ''
|
cmakeFlags = [
|
||||||
sed -i -e 's,C_INCLUDE_PATH,"${stdenv.gcc.libc}/include/",' \
|
"-DCLANG_PATH_TO_LLVM_BUILD=${llvm}"
|
||||||
-e 's,CPP_HOST,"'$(${stdenv.gcc}/bin/cc -dumpmachine)'",' \
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
-e 's,CPP_INCLUDE_PATH,"${stdenv.gcc.gcc}/include/c++/${stdenv.gcc.gcc.version}",' \
|
"-DLLVM_TARGETS_TO_BUILD=all"
|
||||||
lib/Driver/ToolChains.cpp
|
] ++ stdenv.lib.optionals (stdenv.gcc.libc != null) [
|
||||||
'';
|
"-DC_INCLUDE_DIRS=${stdenv.gcc.libc}/include/"
|
||||||
|
];
|
||||||
cmakeFlags = [ "-DCLANG_PATH_TO_LLVM_BUILD=${llvm}" "-DCMAKE_BUILD_TYPE=Release" "-DLLVM_TARGETS_TO_BUILD=all"];
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://llvm.org/releases/${version}/clang-${version}.tar.gz";
|
url = "http://llvm.org/releases/${version}/clang-${version}.src.tar.gz";
|
||||||
sha256 = "0v8j9rgmb7w74ihc44zfxa22q17c946n5b6prwl38z3d6pd74kmn";
|
sha256 = "11m7sm9f8qcrayckfg3z91zb3fimilpm0f7azn7q7qnkvhay4qzz";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = { gcc = stdenv.gcc.gcc; };
|
passthru = { gcc = stdenv.gcc.gcc; };
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchurl, perl, groff, cmake }:
|
{ stdenv, fetchurl, perl, groff, cmake, python }:
|
||||||
|
|
||||||
let version = "3.0"; in
|
let version = "3.1"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "llvm-${version}";
|
name = "llvm-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://llvm.org/releases/${version}/llvm-${version}.tar.gz";
|
url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
|
||||||
sha256 = "0xq4gi7lflv8ilfckslhfvnja5693xjii1yvzz39kklr6hfv37ji";
|
sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl groff cmake ];
|
buildInputs = [ perl groff cmake python ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
||||||
|
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
homepage = http://llvm.org/;
|
homepage = http://llvm.org/;
|
||||||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
license = "BSD";
|
license = "BSD";
|
||||||
maintainers = with stdenv.lib.maintainers; [viric shlevy];
|
maintainers = with stdenv.lib.maintainers; [viric shlevy raskin];
|
||||||
platforms = with stdenv.lib.platforms; all;
|
platforms = with stdenv.lib.platforms; all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,69 +1,44 @@
|
|||||||
{ composableDerivation, lib, fetchurl, mysql, apacheHttpd, zlib, sqlite
|
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre }:
|
||||||
, pcre, apr, gtk, boehmgc, pkgconfig, makeWrapper, sourceFromHead }:
|
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
name = "neko-${version}";
|
||||||
|
version = "1.8.2";
|
||||||
|
|
||||||
inherit (composableDerivation) edf wwf;
|
src = fetchurl {
|
||||||
|
url = "http://nekovm.org/_media/neko-${version}.tar.gz";
|
||||||
libs = [ mysql apacheHttpd zlib sqlite pcre apr gtk ];
|
sha256 = "099727w6dk689z3pcgbhsqjl74zzrh82a5vb2abxynamcqxcgz1w";
|
||||||
|
|
||||||
includes = lib.concatMapStrings (x: ''"${x}/include",'' ) libs + ''"{gkt}/include/gtk-2.0",'';
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
composableDerivation.composableDerivation {} ( fixed : {
|
|
||||||
|
|
||||||
name = "neko-cvs";
|
|
||||||
|
|
||||||
# REGION AUTO UPDATE: { name="neko"; type="cvs"; cvsRoot = ":pserver:anonymous@cvs.motion-twin.com:/cvsroot"; module = "neko"; groups = "haxe_group"; }
|
|
||||||
src = sourceFromHead "neko-F_16-06-48.tar.gz"
|
|
||||||
(fetchurl { url = "http://mawercer.de/~nix/repos/neko-F_16-06-48.tar.gz"; sha256 = "e952582a26099b7a5568d0798839a6d349331510ffe6d7936b4537d60b6ccf26"; });
|
|
||||||
# END
|
|
||||||
|
|
||||||
# optionally remove apache mysql like gentoo does?
|
|
||||||
# they just remove libs/{apache,mod_neko}
|
|
||||||
buildInputs = [boehmgc pkgconfig makeWrapper] ++ libs;
|
|
||||||
# apr should be in apacheHttpd propagatedBuildInputs
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i \
|
|
||||||
-e 's@"/usr/include",@${includes}@' \
|
|
||||||
src/tools/install.neko
|
|
||||||
sed -i "s@/usr/local@$out@" Makefile vm/load.c
|
|
||||||
# make sure that nekotools boot finds the neko executable and not our wrapper:
|
|
||||||
mkdir -p $out/{bin,lib}
|
|
||||||
|
|
||||||
sed -i "s@\"neko\"@\".neko-wrapped\"@" src/tools/nekoboot.neko
|
|
||||||
ln -s ./neko bin/.neko-wrapped
|
|
||||||
'';
|
|
||||||
|
|
||||||
inherit zlib;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Neko is an high-level dynamicly typed programming language";
|
|
||||||
homepage = http://nekovm.org;
|
|
||||||
license = ["GPLv2" ]; # -> docs/license.txt
|
|
||||||
maintainers = [ lib.maintainers.marcweber ];
|
|
||||||
platforms = lib.platforms.linux;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# if stripping was done neko and nekoc would be the same. ?!
|
prePatch = with stdenv.lib; let
|
||||||
dontStrip = 1;
|
libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
|
||||||
|
in ''
|
||||||
|
sed -i -e '/^search_includes/,/^}/c \
|
||||||
|
search_includes = function(_) { return $array(${libs}) }
|
||||||
|
' src/tools/install.neko
|
||||||
|
sed -i -e '/allocated = strdup/s|"[^"]*"|"'"$out/lib/neko:$out/bin"'"|' \
|
||||||
|
vm/load.c
|
||||||
|
# temporarily, fixed in 1.8.3
|
||||||
|
sed -i -e 's/^#if defined(_64BITS)/& || defined(__x86_64__)/' vm/neko.h
|
||||||
|
|
||||||
# neko-wrapped: nekotools boot has to find it. So don't prefix wrapped executable by "."
|
for disabled_mod in mod_neko{,2} mod_tora{,2} mysql ui; do
|
||||||
postInstall = ''
|
sed -i -e '/^libs/,/^}/{/^\s*'"$disabled_mod"'\s*=>/,/^\s*}/d}' \
|
||||||
for prog in nekotools nekoc; do
|
src/tools/install.neko
|
||||||
wrapProgram "$out/bin/$prog" \
|
|
||||||
--prefix "LD_LIBRARY_PATH" $out/lib/neko
|
|
||||||
done
|
done
|
||||||
|
|
||||||
wrapProgram "$out/bin/neko" \
|
|
||||||
--prefix "LD_LIBRARY_PATH" $out/lib/neko
|
|
||||||
|
|
||||||
# create symlink so that nekotools boot finds not wrapped neko-wrapped executable
|
|
||||||
ln -s ln -s ../../bin/.neko-wrapped $out/lib/neko
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# TODO make them optional and make them work
|
makeFlags = "INSTALL_PREFIX=$(out)";
|
||||||
patches = [ ./disable-modules.patch ];
|
buildInputs = [ boehmgc zlib sqlite pcre ];
|
||||||
})
|
dontStrip = true;
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
install -vd "$out/lib" "$out/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A high-level dynamically typed programming language";
|
||||||
|
homepage = http://nekovm.org;
|
||||||
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
diff --git a/src/tools/install.neko b/src/tools/install.neko
|
|
||||||
index 4cffa5e..5702add 100644
|
|
||||||
--- a/src/tools/install.neko
|
|
||||||
+++ b/src/tools/install.neko
|
|
||||||
@@ -39,26 +39,6 @@ buffer_string = $loader.loadprim("std@buffer_string",1);
|
|
||||||
// LIBS DATAS
|
|
||||||
|
|
||||||
libs = {
|
|
||||||
- mod_neko => {
|
|
||||||
- src => $array("../../vm/stats","mod_neko","cgi"),
|
|
||||||
- inc => "httpd.h",
|
|
||||||
- incname => "Apache 1.3.x"
|
|
||||||
- },
|
|
||||||
- mod_neko2 => {
|
|
||||||
- src => $array("../../vm/stats","mod_neko","cgi"),
|
|
||||||
- inc => $array("httpd.h","apr.h"),
|
|
||||||
- incname => "Apache 2.2.x",
|
|
||||||
- cflags => "-D_LARGEFILE64_SOURCE",
|
|
||||||
- realdir => "mod_neko",
|
|
||||||
- apache2 => true,
|
|
||||||
- },
|
|
||||||
- mysql => {
|
|
||||||
- src => $array("mysql"),
|
|
||||||
- inc => "mysql.h",
|
|
||||||
- incname => "MySQL 4.+"
|
|
||||||
- lib => "libmysqlclient_r.a",
|
|
||||||
- lparams => "-lz -lssl"
|
|
||||||
- },
|
|
||||||
mysql5 => {
|
|
||||||
src => $array("../common/sha1","../common/socket","my_proto/my_proto","my_proto/my_api","mysql"),
|
|
||||||
inc => $array(),
|
|
||||||
@@ -83,27 +63,6 @@ libs = {
|
|
||||||
incname => "Sqlite 3",
|
|
||||||
lparams => "-lsqlite3",
|
|
||||||
},
|
|
||||||
- ui => {
|
|
||||||
- src => $array("ui"),
|
|
||||||
- inc => switch system { "Mac" => "Carbon.h" default => "gtk/gtk.h" },
|
|
||||||
- incname => switch system { "Mac" => "Carbon" default => "GTK+2.0" },
|
|
||||||
- cflags => switch system { "Mac" => "" default => "`pkg-config --cflags gtk+-2.0`" },
|
|
||||||
- lparams => switch system { "Mac" => "-framework Carbon" default => "`pkg-config --libs gtk+-2.0` -lgthread-2.0" },
|
|
||||||
- },
|
|
||||||
- mod_tora => {
|
|
||||||
- src => $array("../common/socket","protocol","mod_tora"),
|
|
||||||
- inc => "httpd.h",
|
|
||||||
- incname => "Apache 1.3.x",
|
|
||||||
- cflags => "-I../common",
|
|
||||||
- },
|
|
||||||
- mod_tora2 => {
|
|
||||||
- src => $array("../common/socket","protocol","mod_tora"),
|
|
||||||
- inc => $array("httpd.h","apr.h"),
|
|
||||||
- incname => "Apache 2.2.x",
|
|
||||||
- cflags => "-D_LARGEFILE64_SOURCE -I../common",
|
|
||||||
- realdir => "mod_tora",
|
|
||||||
- apache2 => true,
|
|
||||||
- },
|
|
||||||
}
|
|
||||||
|
|
||||||
// PLATFORM
|
|
@ -8,11 +8,11 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "ocaml-4.00.0";
|
name = "ocaml-4.00.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://caml.inria.fr/pub/distrib/ocaml-4.00/${name}.tar.bz2";
|
url = "http://caml.inria.fr/pub/distrib/ocaml-4.00/${name}.tar.bz2";
|
||||||
sha256 = "ec886d7bc587ce472fcbdf294feb4b1fa2d8e7ef78ab6a4e66551699435d5cd7";
|
sha256 = "33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951";
|
||||||
};
|
};
|
||||||
|
|
||||||
prefixKey = "-prefix ";
|
prefixKey = "-prefix ";
|
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl, ...}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "openjdk6-b16-24_apr_2009-r1";
|
name = "openjdk6-b16-24_apr_2009-r1";
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
, libXrender
|
, libXrender
|
||||||
, libXtst
|
, libXtst
|
||||||
, libXi
|
, libXi
|
||||||
|
, libXinerama
|
||||||
|
, libXcursor
|
||||||
|
, fontconfig
|
||||||
, cpio
|
, cpio
|
||||||
, jreOnly ? false
|
, jreOnly ? false
|
||||||
}:
|
}:
|
||||||
@ -82,8 +85,13 @@ stdenv.mkDerivation rec {
|
|||||||
libXrender
|
libXrender
|
||||||
libXtst
|
libXtst
|
||||||
libXi
|
libXi
|
||||||
|
libXinerama
|
||||||
|
libXcursor
|
||||||
|
fontconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = "-lfontconfig -lXcursor -lXinerama";
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
mkdir -p drops
|
mkdir -p drops
|
||||||
cp ${jaxp_src} drops/${jaxp_src_name}
|
cp ${jaxp_src} drops/${jaxp_src_name}
|
||||||
@ -122,7 +130,6 @@ stdenv.mkDerivation rec {
|
|||||||
"UNIXCOMMAND_PATH="
|
"UNIXCOMMAND_PATH="
|
||||||
"BOOTDIR=${jdk}"
|
"BOOTDIR=${jdk}"
|
||||||
"DROPS_DIR=$(DROPS_PATH)"
|
"DROPS_DIR=$(DROPS_PATH)"
|
||||||
"SKIP_BOOT_CYCLE=false"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
--with-module=clx/new-clx --with-module=i18n --with-module=bindings/glibc
|
--with-module=clx/new-clx --with-module=i18n --with-module=bindings/glibc
|
||||||
--with-module=pcre --with-module=rawsock --with-module=readline
|
--with-module=pcre --with-module=rawsock --with-module=readline
|
||||||
--with-module=syscalls --with-module=wildcard --with-module=zlib
|
--with-module=syscalls --with-module=wildcard --with-module=zlib
|
||||||
|
--with-threads=POSIX_THREADS
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
30
pkgs/development/interpreters/lua-5/5.1.nix
Normal file
30
pkgs/development/interpreters/lua-5/5.1.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, fetchurl, readline}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "lua-5.1.5";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.lua.org/ftp/${name}.tar.gz";
|
||||||
|
sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ readline ];
|
||||||
|
|
||||||
|
configurePhase = "makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux )";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.lua.org";
|
||||||
|
description = "Lua is a powerful, fast, lightweight, embeddable scripting language.";
|
||||||
|
longDescription = ''
|
||||||
|
Lua combines simple procedural syntax with powerful data
|
||||||
|
description constructs based on associative arrays and extensible
|
||||||
|
semantics. Lua is dynamically typed, runs by interpreting bytecode
|
||||||
|
for a register-based virtual machine, and has automatic memory
|
||||||
|
management with incremental garbage collection, making it ideal
|
||||||
|
for configuration, scripting, and rapid prototyping.
|
||||||
|
'';
|
||||||
|
license = "MIT";
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
maintainers = [ ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,172 +0,0 @@
|
|||||||
args: with args;
|
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
inherit (args.composableDerivation) composableDerivation edf wwf;
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
|
|
||||||
|
|
||||||
version = "5.2.17";
|
|
||||||
|
|
||||||
name = "php-${version}";
|
|
||||||
|
|
||||||
buildInputs = ["flex" "bison" "pkgconfig"];
|
|
||||||
|
|
||||||
flags = {
|
|
||||||
|
|
||||||
# much left to do here...
|
|
||||||
|
|
||||||
# SAPI modules:
|
|
||||||
|
|
||||||
apxs2 = {
|
|
||||||
configureFlags = ["--with-apxs2=${apacheHttpd}/bin/apxs"];
|
|
||||||
buildInputs = [apacheHttpd];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Extensions
|
|
||||||
|
|
||||||
curl = {
|
|
||||||
configureFlags = ["--with-curl=${args.curl}" "--with-curlwrappers"];
|
|
||||||
buildInputs = [curl openssl];
|
|
||||||
};
|
|
||||||
|
|
||||||
zlib = {
|
|
||||||
configureFlags = ["--with-zlib=${args.zlib}"];
|
|
||||||
buildInputs = [zlib];
|
|
||||||
};
|
|
||||||
|
|
||||||
libxml2 = {
|
|
||||||
configureFlags = [
|
|
||||||
"--with-libxml-dir=${libxml2}"
|
|
||||||
"--with-iconv-dir=${libiconv}"
|
|
||||||
];
|
|
||||||
buildInputs = [ libxml2 ];
|
|
||||||
};
|
|
||||||
|
|
||||||
readline = {
|
|
||||||
configureFlags = ["--with-readline=${readline}"];
|
|
||||||
buildInputs = [ readline ];
|
|
||||||
};
|
|
||||||
|
|
||||||
sqlite = {
|
|
||||||
configureFlags = ["--with-pdo-sqlite=${sqlite}"];
|
|
||||||
buildInputs = [ sqlite ];
|
|
||||||
};
|
|
||||||
|
|
||||||
postgresql = {
|
|
||||||
configureFlags = ["--with-pgsql=${postgresql}"];
|
|
||||||
buildInputs = [ postgresql ];
|
|
||||||
};
|
|
||||||
|
|
||||||
mysql = {
|
|
||||||
configureFlags = ["--with-mysql=${mysql}"];
|
|
||||||
buildInputs = [ mysql ];
|
|
||||||
};
|
|
||||||
|
|
||||||
mysqli = {
|
|
||||||
configureFlags = ["--with-mysqli=${mysql}/bin/mysql_config"];
|
|
||||||
buildInputs = [ mysql];
|
|
||||||
};
|
|
||||||
|
|
||||||
mysqli_embedded = {
|
|
||||||
configureFlags = ["--enable-embedded-mysqli"];
|
|
||||||
depends = "mysqli";
|
|
||||||
assertion = fixed.mysqliSupport;
|
|
||||||
};
|
|
||||||
|
|
||||||
pdo_mysql = {
|
|
||||||
configureFlags = ["--with-pdo-mysql=${mysql}"];
|
|
||||||
buildInputs = [ mysql ];
|
|
||||||
};
|
|
||||||
|
|
||||||
bcmath = {
|
|
||||||
configureFlags = ["--enable-bcmath"];
|
|
||||||
};
|
|
||||||
|
|
||||||
gd = {
|
|
||||||
configureFlags = ["--with-gd=${args.gd}"];
|
|
||||||
buildInputs = [gd libpng libjpeg ];
|
|
||||||
};
|
|
||||||
|
|
||||||
soap = {
|
|
||||||
configureFlags = ["--enable-soap"];
|
|
||||||
};
|
|
||||||
|
|
||||||
sockets = {
|
|
||||||
configureFlags = ["--enable-sockets"];
|
|
||||||
};
|
|
||||||
|
|
||||||
openssl = {
|
|
||||||
configureFlags = ["--with-openssl=${args.openssl}"];
|
|
||||||
buildInputs = ["openssl"];
|
|
||||||
};
|
|
||||||
|
|
||||||
mbstring = {
|
|
||||||
configureFlags = ["--enable-mbstring"];
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
php is build within this derivation in order to add the xdebug lines to the php.ini.
|
|
||||||
So both Apache and command line php both use xdebug without having to configure anything.
|
|
||||||
Xdebug could be put in its own derivation.
|
|
||||||
* /
|
|
||||||
meta = {
|
|
||||||
description = "debugging support for PHP";
|
|
||||||
homepage = http://xdebug.org;
|
|
||||||
license = "based on the PHP license - as is";
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
};
|
|
||||||
|
|
||||||
cfg = {
|
|
||||||
mysqlSupport = config.php.mysql or true;
|
|
||||||
mysqliSupport = config.php.mysqli or true;
|
|
||||||
pdo_mysqlSupport = config.php.pdo_mysql or true;
|
|
||||||
libxml2Support = config.php.libxml2 or true;
|
|
||||||
apxs2Support = config.php.apxs2 or true;
|
|
||||||
bcmathSupport = config.php.bcmath or true;
|
|
||||||
socketsSupport = config.php.sockets or true;
|
|
||||||
curlSupport = config.php.curl or true;
|
|
||||||
gettextSupport = config.php.gettext or true;
|
|
||||||
postgresqlSupport = config.php.postgresql or true;
|
|
||||||
readlineSupport = config.php.readline or true;
|
|
||||||
sqliteSupport = config.php.sqlite or true;
|
|
||||||
soapSupport = config.php.soap or true;
|
|
||||||
zlibSupport = config.php.zlib or true;
|
|
||||||
opensslSupport = config.php.openssl or true;
|
|
||||||
mbstringSupport = config.php.mbstring or true;
|
|
||||||
gdSupport = config.php.gd or true;
|
|
||||||
};
|
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
iniFile=$out/etc/php-recommended.ini
|
|
||||||
[[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
|
|
||||||
./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
|
|
||||||
echo configurePhase end
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
unset installPhase; installPhase;
|
|
||||||
cp php.ini-${ if builtins.lessThan (builtins.compareVersions version "5.3") 0
|
|
||||||
then "recommended" /* < PHP 5.3 */
|
|
||||||
else "production" /* >= PHP 5.3 */
|
|
||||||
} $iniFile
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = args.fetchurl {
|
|
||||||
url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
|
|
||||||
sha256 = "0v0i7zjp1a2c60imn58xjqcczmiglnfnwdkgwl0bfai4xh9yn6z8";
|
|
||||||
name = "php-${version}.tar.bz2";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "The PHP language runtime engine";
|
|
||||||
homepage = http://www.php.net/;
|
|
||||||
license = "PHP-3";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [./fix.patch];
|
|
||||||
|
|
||||||
})
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user