forked from mirrors/nixpkgs
synchronize with trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=29524
This commit is contained in:
commit
07a5a121fb
|
@ -17,7 +17,7 @@
|
|||
|
||||
assert printerSupport -> cups != null;
|
||||
|
||||
let rev = "42fb9f84e82268073a3838e6082783ba956ecc99"; in
|
||||
let rev = "498b88a1da748a4a2b4dbd12c795ca87fee24bab"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freerdp-1.0pre${rev}";
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
src = fetchgit {
|
||||
url = git://github.com/FreeRDP/FreeRDP.git;
|
||||
inherit rev;
|
||||
sha256 = "5e77163e2a728802fc426860b3f5ff88cb2f2f3b0bbf0912e9e44c3d8fa060e5";
|
||||
sha256 = "91ef562e96db483ada28236e524326a75b6942becce4fd2a65ace386186eccf7";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -43,9 +43,9 @@ stdenv.mkDerivation rec {
|
|||
cunit
|
||||
] ++ stdenv.lib.optional printerSupport cups;
|
||||
|
||||
postUnpack = ''
|
||||
sed -i 's@xf_GetWorkArea(xfi)@///xf_GetWorkArea(xfi)@' git-export/client/X11/xf_monitor.c
|
||||
'';
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''LD_LIBRARY_PATH="libfreerdp-cache:libfreerdp-chanman:libfreerdp-common:libfreerdp-core:libfreerdp-gdi:libfreerdp-kbd:libfreerdp-rail:libfreerdp-rfx:libfreerdp-utils" cunit/test_freerdp'';
|
||||
|
||||
cmakeFlags = [ "-DWITH_DIRECTFB=ON" "-DWITH_CUNIT=ON" ];
|
||||
|
||||
|
|
49
pkgs/applications/virtualization/lxc/default.nix
Normal file
49
pkgs/applications/virtualization/lxc/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ stdenv, fetchurl, libcap, perl, docbook2x, docbook_xml_dtd_45 }:
|
||||
|
||||
let
|
||||
name = "lxc-0.7.5";
|
||||
in
|
||||
stdenv.mkDerivation{
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://lxc.sf.net/download/lxc/${name}.tar.gz";
|
||||
sha256 = "019ec63f250c874bf7625b1f1bf555b1a6e3a947937a4fca73100abddf829b1c";
|
||||
};
|
||||
|
||||
buildInputs = [ libcap perl docbook2x ];
|
||||
|
||||
patches = [
|
||||
./dont-run-ldconfig.patch
|
||||
./fix-documentation-build.patch
|
||||
./fix-sgml-documentation.patch
|
||||
];
|
||||
|
||||
preConfigure = "export XML_CATALOG_FILES=${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml";
|
||||
|
||||
configureFlags = "--localstatedir=/var";
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/lib"
|
||||
lib=liblxc.so.?.*
|
||||
ln -s $lib $(echo $lib | sed -re 's/(liblxc[.]so[.].)[.].*/\1/')
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://lxc.sourceforge.net";
|
||||
description = "lightweight virtual system mechanism";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
|
||||
longDescription = ''
|
||||
LXC is the userspace control package for Linux Containers, a
|
||||
lightweight virtual system mechanism sometimes described as
|
||||
"chroot on steroids". LXC builds up from chroot to implement
|
||||
complete virtual systems, adding resource management and isolation
|
||||
mechanisms to Linux’s existing process management infrastructure.
|
||||
'';
|
||||
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
24
pkgs/applications/virtualization/lxc/dont-run-ldconfig.patch
Normal file
24
pkgs/applications/virtualization/lxc/dont-run-ldconfig.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff -ubr lxc-0.7.5-orig/src/lxc/Makefile.am lxc-0.7.5/src/lxc/Makefile.am
|
||||
--- lxc-0.7.5-orig/src/lxc/Makefile.am 2011-07-25 00:27:10.000000000 +0200
|
||||
+++ lxc-0.7.5/src/lxc/Makefile.am 2011-09-26 09:58:03.479916848 +0200
|
||||
@@ -115,7 +115,7 @@
|
||||
|
||||
install-exec-local: install-soPROGRAMS
|
||||
mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
|
||||
- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
|
||||
+ : /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
|
||||
cd $(DESTDIR)$(libdir); \
|
||||
ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
|
||||
|
||||
diff -ubr lxc-0.7.5-orig/src/lxc/Makefile.in lxc-0.7.5/src/lxc/Makefile.in
|
||||
--- lxc-0.7.5-orig/src/lxc/Makefile.in 2011-08-11 19:02:19.000000000 +0200
|
||||
+++ lxc-0.7.5/src/lxc/Makefile.in 2011-09-26 09:58:18.812685181 +0200
|
||||
@@ -1322,7 +1322,7 @@
|
||||
|
||||
install-exec-local: install-soPROGRAMS
|
||||
mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
|
||||
- /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
|
||||
+ : /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
|
||||
cd $(DESTDIR)$(libdir); \
|
||||
ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
diff -ubr '--exclude=*sgml*' lxc-0.7.5-orig/doc/Makefile.am lxc-0.7.5/doc/Makefile.am
|
||||
--- lxc-0.7.5-orig/doc/Makefile.am 2011-02-14 09:14:07.000000000 +0100
|
||||
+++ lxc-0.7.5/doc/Makefile.am 2011-09-26 09:53:02.192817940 +0200
|
||||
@@ -30,13 +30,13 @@
|
||||
|
||||
|
||||
%.1 : %.sgml
|
||||
- docbook2man -w all $<
|
||||
+ docbook2man $<
|
||||
|
||||
%.5 : %.sgml
|
||||
- docbook2man -w all $<
|
||||
+ docbook2man $<
|
||||
|
||||
%.7 : %.sgml
|
||||
- docbook2man -w all $<
|
||||
+ docbook2man $<
|
||||
|
||||
lxc-%.sgml : common_options.sgml see_also.sgml
|
||||
|
||||
diff -ubr '--exclude=*sgml*' lxc-0.7.5-orig/doc/Makefile.in lxc-0.7.5/doc/Makefile.in
|
||||
--- lxc-0.7.5-orig/doc/Makefile.in 2011-08-11 19:02:18.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/Makefile.in 2011-09-26 09:53:13.835401448 +0200
|
||||
@@ -786,13 +786,13 @@
|
||||
|
||||
|
||||
@ENABLE_DOCBOOK_TRUE@%.1 : %.sgml
|
||||
-@ENABLE_DOCBOOK_TRUE@ docbook2man -w all $<
|
||||
+@ENABLE_DOCBOOK_TRUE@ docbook2man $<
|
||||
|
||||
@ENABLE_DOCBOOK_TRUE@%.5 : %.sgml
|
||||
-@ENABLE_DOCBOOK_TRUE@ docbook2man -w all $<
|
||||
+@ENABLE_DOCBOOK_TRUE@ docbook2man $<
|
||||
|
||||
@ENABLE_DOCBOOK_TRUE@%.7 : %.sgml
|
||||
-@ENABLE_DOCBOOK_TRUE@ docbook2man -w all $<
|
||||
+@ENABLE_DOCBOOK_TRUE@ docbook2man $<
|
||||
|
||||
@ENABLE_DOCBOOK_TRUE@lxc-%.sgml : common_options.sgml see_also.sgml
|
||||
|
|
@ -0,0 +1,252 @@
|
|||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-cgroup.sgml.in lxc-0.7.5/doc/lxc-cgroup.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-cgroup.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-cgroup.sgml.in 2011-09-26 10:05:01.753873426 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-checkpoint.sgml.in lxc-0.7.5/doc/lxc-checkpoint.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-checkpoint.sgml.in 2011-02-17 10:07:44.000000000 +0100
|
||||
+++ lxc-0.7.5/doc/lxc-checkpoint.sgml.in 2011-09-26 10:05:01.753873426 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc.conf.sgml.in lxc-0.7.5/doc/lxc.conf.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc.conf.sgml.in 2011-08-09 16:51:01.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc.conf.sgml.in 2011-09-26 10:05:01.754873476 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
]>
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-console.sgml.in lxc-0.7.5/doc/lxc-console.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-console.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-console.sgml.in 2011-09-26 10:05:01.754873476 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-create.sgml.in lxc-0.7.5/doc/lxc-create.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-create.sgml.in 2011-07-25 00:27:10.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-create.sgml.in 2011-09-26 10:05:01.755873526 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-destroy.sgml.in lxc-0.7.5/doc/lxc-destroy.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-destroy.sgml.in 2010-10-08 11:54:53.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-destroy.sgml.in 2011-09-26 10:05:01.755873526 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-execute.sgml.in lxc-0.7.5/doc/lxc-execute.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-execute.sgml.in 2011-07-25 00:27:10.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-execute.sgml.in 2011-09-26 10:05:01.755873526 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-freeze.sgml.in lxc-0.7.5/doc/lxc-freeze.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-freeze.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-freeze.sgml.in 2011-09-26 10:05:01.755873526 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-kill.sgml.in lxc-0.7.5/doc/lxc-kill.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-kill.sgml.in 2010-10-08 11:54:53.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-kill.sgml.in 2011-09-26 10:05:01.756873576 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-ls.sgml.in lxc-0.7.5/doc/lxc-ls.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-ls.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-ls.sgml.in 2011-09-26 10:05:01.756873576 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
]>
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-monitor.sgml.in lxc-0.7.5/doc/lxc-monitor.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-monitor.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-monitor.sgml.in 2011-09-26 10:05:01.756873576 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-ps.sgml.in lxc-0.7.5/doc/lxc-ps.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-ps.sgml.in 2011-08-11 17:54:57.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-ps.sgml.in 2011-09-26 10:05:01.756873576 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
]>
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-restart.sgml.in lxc-0.7.5/doc/lxc-restart.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-restart.sgml.in 2011-02-17 10:07:44.000000000 +0100
|
||||
+++ lxc-0.7.5/doc/lxc-restart.sgml.in 2011-09-26 10:05:01.757873626 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc.sgml.in lxc-0.7.5/doc/lxc.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc.sgml.in 2010-10-26 18:07:35.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc.sgml.in 2011-09-26 10:05:01.758873676 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
]>
|
||||
@@ -280,7 +280,7 @@
|
||||
</para>
|
||||
|
||||
<programlisting>
|
||||
-
|
||||
+<![CDATA[
|
||||
---------
|
||||
| STOPPED |<---------------
|
||||
--------- |
|
||||
@@ -305,7 +305,7 @@
|
||||
---------- |
|
||||
| |
|
||||
---------------------
|
||||
-
|
||||
+]]>
|
||||
</programlisting>
|
||||
</refsect2>
|
||||
|
||||
@@ -570,7 +570,7 @@
|
||||
to the background.
|
||||
|
||||
<programlisting>
|
||||
-
|
||||
+<![CDATA[
|
||||
# launch lxc-wait in background
|
||||
lxc-wait -n foo -s STOPPED &
|
||||
LXC_WAIT_PID=$!
|
||||
@@ -583,7 +583,7 @@
|
||||
# is STOPPED
|
||||
wait $LXC_WAIT_PID
|
||||
echo "'foo' is finished"
|
||||
-
|
||||
+]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</refsect2>
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-start.sgml.in lxc-0.7.5/doc/lxc-start.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-start.sgml.in 2011-02-01 15:12:40.000000000 +0100
|
||||
+++ lxc-0.7.5/doc/lxc-start.sgml.in 2011-09-26 10:05:01.758873676 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-stop.sgml.in lxc-0.7.5/doc/lxc-stop.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-stop.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-stop.sgml.in 2011-09-26 10:05:01.758873676 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-unfreeze.sgml.in lxc-0.7.5/doc/lxc-unfreeze.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-unfreeze.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-unfreeze.sgml.in 2011-09-26 10:05:01.759873726 +0200
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
||||
diff -ubr '--exclude=Makefile*' lxc-0.7.5-orig/doc/lxc-wait.sgml.in lxc-0.7.5/doc/lxc-wait.sgml.in
|
||||
--- lxc-0.7.5-orig/doc/lxc-wait.sgml.in 2010-06-07 10:51:51.000000000 +0200
|
||||
+++ lxc-0.7.5/doc/lxc-wait.sgml.in 2011-09-26 10:05:01.759873726 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
-->
|
||||
|
||||
-<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
|
||||
<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
|
||||
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
39
pkgs/desktops/e17/default.nix
Normal file
39
pkgs/desktops/e17/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ callPackage, pkgs }:
|
||||
rec {
|
||||
#### CORE EFL
|
||||
|
||||
eina = callPackage ./eina { };
|
||||
|
||||
eet = callPackage ./eet { };
|
||||
|
||||
evas = callPackage ./evas { };
|
||||
|
||||
ecore = callPackage ./ecore { };
|
||||
|
||||
embryo = callPackage ./embryo { };
|
||||
|
||||
edje = callPackage ./edje { lua = pkgs.lua5; };
|
||||
|
||||
efreet = callPackage ./efreet { };
|
||||
|
||||
e_dbus = callPackage ./e_dbus { };
|
||||
|
||||
eeze = callPackage ./eeze { };
|
||||
|
||||
|
||||
#### WINDOW MANAGER
|
||||
|
||||
enlightenment = callPackage ./enlightenment { };
|
||||
|
||||
|
||||
#### APPLICATIONS
|
||||
|
||||
|
||||
|
||||
|
||||
#### ART
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
28
pkgs/desktops/e17/e_dbus/default.nix
Normal file
28
pkgs/desktops/e17/e_dbus/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl, pkgconfig, ecore, eina, evas, dbus_libs }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "e_dbus-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "1ifkijy4ap2mlqw2nd1dlvzlppyi7bnp15bxiy40nhdly8vhpbdl";
|
||||
};
|
||||
buildInputs = [ pkgconfig ecore eina evas ];
|
||||
propagatedBuildInputs = [ dbus_libs ];
|
||||
configureFlags = ''
|
||||
--disable-edbus-test
|
||||
--disable-edbus-test-client
|
||||
--disable-edbus-notify-send
|
||||
--disable-edbus-notify-test
|
||||
'';
|
||||
meta = {
|
||||
description = "Enlightenment's D-Bus wrapping and glue layer library";
|
||||
longDescription = ''
|
||||
Enlightenment's E_Dbus is a set of wrappers around DBus APIs by
|
||||
third party, so they can be easily used by EFL applications,
|
||||
automatically providing Ecore/main loop integration, as well as
|
||||
Eina data types.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
18
pkgs/desktops/e17/ecore/d.nix
Normal file
18
pkgs/desktops/e17/ecore/d.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchurl, pkgconfig, eina, evas, xproto, libX11, libXext }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ecore-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "1vi03zxnsdnrjv1rh5r3v0si0b20ikrfb8hf5374i2sqvi1g65j0";
|
||||
};
|
||||
buildInputs = [ pkgconfig eina evas xproto ];
|
||||
propagatedBuildInputs = [ libX11 libXext ];
|
||||
meta = {
|
||||
description = "";
|
||||
longDescription = ''
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = "BSD-style???";
|
||||
};
|
||||
}
|
30
pkgs/desktops/e17/ecore/default.nix
Normal file
30
pkgs/desktops/e17/ecore/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, pkgconfig, eina, evas, libX11, libXext }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ecore-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "1vi03zxnsdnrjv1rh5r3v0si0b20ikrfb8hf5374i2sqvi1g65j0";
|
||||
};
|
||||
buildInputs = [ pkgconfig eina evas ];
|
||||
propagatedBuildInputs = [ libX11 libXext ];
|
||||
meta = {
|
||||
description = "Enlightenment's core mainloop, display abstraction and utility library";
|
||||
longDescription = ''
|
||||
Enlightenment's Ecore is a clean and tiny event loop library
|
||||
with many modules to do lots of convenient things for a
|
||||
programmer, to save time and effort.
|
||||
|
||||
It's small and lean, designed to work on embedded systems all
|
||||
the way to large and powerful multi-cpu workstations. It
|
||||
serialises all system signals, events etc. into a single event
|
||||
queue, that is easily processed without needing to worry about
|
||||
concurrency. A properly written, event-driven program using this
|
||||
kind of programming doesn't need threads, nor has to worry about
|
||||
concurrency. It turns a program into a state machine, and makes
|
||||
it very robust and easy to follow.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
24
pkgs/desktops/e17/edje/default.nix
Normal file
24
pkgs/desktops/e17/edje/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, pkgconfig, lua, eina, eet, evas, ecore, embryo }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "edje-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "0z7gjj4ccjr36ba763ijmjkya58fc173vpdw1m298zwhy8n4164j";
|
||||
};
|
||||
buildInputs = [ pkgconfig lua eina eet evas ecore embryo ];
|
||||
meta = {
|
||||
description = "Enlightenment's abstract GUI layout and animation object library";
|
||||
longDescription = ''
|
||||
Enlightenment's Edje is a complex graphical design & layout
|
||||
library based on Evas that provides an abstraction layer between
|
||||
the application code and the interface, while allowing extremely
|
||||
flexible dynamic layouts and animations.
|
||||
|
||||
In more popular terms, Edje makes every application that uses it
|
||||
"skinable".
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
29
pkgs/desktops/e17/eet/default.nix
Normal file
29
pkgs/desktops/e17/eet/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, pkgconfig, eina, zlib, libjpeg }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "eet-${version}";
|
||||
version = "1.4.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "1hlznlmgkgzxnkmc3qgqjrc62bmwqj5af8lsh59vac2gf4jnymnc";
|
||||
};
|
||||
buildInputs = [ pkgconfig eina zlib libjpeg ];
|
||||
meta = {
|
||||
description = "Enlightenment's data encode/decode and storage library";
|
||||
longDescription = ''
|
||||
Enlightenment's EET is a tiny library designed to write an
|
||||
arbitary set of chunks of data to a file and optionally compress
|
||||
each chunk (very much like a zip file) and allow fast
|
||||
random-access reading of the file later on. EET files are
|
||||
perfect for storing data that is written once (or rarely) and
|
||||
read many times, especially when the program does not want to
|
||||
have to read all the data in at once.
|
||||
|
||||
Use this library when you need to pack C structure and you want
|
||||
to retrieve it quickly with as few as possible memory use. You
|
||||
can also use it to serialize data quickly and exchange them
|
||||
between two program over ipc or network link.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
23
pkgs/desktops/e17/eeze/default.nix
Normal file
23
pkgs/desktops/e17/eeze/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchurl, pkgconfig, eina, ecore, udev }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "eeze-${version}";
|
||||
version = "1.0.2";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "0g6afhnl862clj1rfh0s4nzdnhdikylbalfp8zmsw56dj0zncynq";
|
||||
};
|
||||
buildInputs = [ pkgconfig eina ecore ];
|
||||
propagatedBuildInputs = [ udev ];
|
||||
meta = {
|
||||
description = "Enlightenment's device abstraction library";
|
||||
longDescription = ''
|
||||
Enlightenment's Eeze is a library for manipulating devices
|
||||
through udev with a simple and fast api. It interfaces directly
|
||||
with libudev, avoiding such middleman daemons as udisks/upower
|
||||
or hal, to immediately gather device information the instant it
|
||||
becomes known to the system.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
29
pkgs/desktops/e17/efreet/default.nix
Normal file
29
pkgs/desktops/e17/efreet/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, pkgconfig, eina, eet, ecore }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "efreet-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "0fakczsrr1idyvrp04mxw51ww017kn65xa77vq8wka4js8y0nagi";
|
||||
};
|
||||
buildInputs = [ pkgconfig eina eet ecore ];
|
||||
meta = {
|
||||
description = "Enlightenment's standards handling for freedesktop.org standards";
|
||||
longDescription = ''
|
||||
Enlightenment's Efreet is a library designed to help apps work
|
||||
several of the Freedesktop.org standards regarding Icons,
|
||||
Desktop files and Menus. To that end it implements the following
|
||||
specifications:
|
||||
|
||||
* XDG Base Directory Specification
|
||||
* Icon Theme Specification
|
||||
* Desktop Entry Specification
|
||||
* Desktop Menu Specification
|
||||
* FDO URI Specification
|
||||
* Shared Mime Info Specification
|
||||
* Trash Specification
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
18
pkgs/desktops/e17/eina/default.nix
Normal file
18
pkgs/desktops/e17/eina/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "eina-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "1v2z1l6nqr7hnp5gki3972kprlvylpalp5wq9xdppm250z91kaas";
|
||||
};
|
||||
meta = {
|
||||
description = "Enlightenment's core data structure library";
|
||||
longDescription = ''
|
||||
Enlightenment's Eina is a core data structure and common utility
|
||||
library.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
};
|
||||
}
|
21
pkgs/desktops/e17/embryo/default.nix
Normal file
21
pkgs/desktops/e17/embryo/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "embryo-${version}";
|
||||
version = "1.0.0";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "0ch9vps83s892vda1ss1cf1fbgzff9p51df2fip7fqlj8y1shvvx";
|
||||
};
|
||||
meta = {
|
||||
description = "Enlightenment's small Pawn based virtual machine and compiler";
|
||||
longDescription = ''
|
||||
Enlightenment's Embryo is a tiny library designed to interpret
|
||||
limited Small programs compiled by the included compiler,
|
||||
embryo_cc. It is mostly a cleaned up and smaller version of the
|
||||
original Small abstract machine. The compiler is mostly
|
||||
untouched.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = with stdenv.lib.licenses; [ bsd2 bsd3 ]; # not sure
|
||||
};
|
||||
}
|
29
pkgs/desktops/e17/enlightenment/default.nix
Normal file
29
pkgs/desktops/e17/enlightenment/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, pkgconfig, eina, eet, evas, ecore, edje, efreet, e_dbus, embryo }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "enlightenment-0.16.999.55225";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/snapshots/2010-12-03/${name}.tar.gz";
|
||||
sha256 = "1cv701fidp9mx3g5m9klmzsp0fj149rb133v1w76rzms3a0wljl1";
|
||||
};
|
||||
buildInputs = [ pkgconfig eina eet ecore evas edje efreet e_dbus embryo ];
|
||||
configureFlags = ''
|
||||
--with-profile=FAST_PC
|
||||
--disable-illume
|
||||
--disable-illume2
|
||||
'';
|
||||
meta = {
|
||||
description = "Enlightenment, the window manager";
|
||||
longDescription = ''
|
||||
The Enlightenment Desktop shell provides an efficient yet
|
||||
breathtaking window manager based on the Enlightenment
|
||||
Foundation Libraries along with other essential desktop
|
||||
components like a file manager, desktop icons and widgets.
|
||||
|
||||
It boasts a un-precedented level of theme-ability while still
|
||||
being capable of performing on older hardware or embedded
|
||||
devices.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
25
pkgs/desktops/e17/evas/default.nix
Normal file
25
pkgs/desktops/e17/evas/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl, pkgconfig, freetype, fontconfig, libpng, libjpeg
|
||||
, libX11, libXext, eina, eet }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "evas-${version}";
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/releases/${name}.tar.gz";
|
||||
sha256 = "0xkwyvxy32dwja0i3j8r8bzlybjwlrgmrhcri1bscp3aaj75x2rx";
|
||||
};
|
||||
buildInputs = [ pkgconfig freetype fontconfig libpng libjpeg
|
||||
libX11 libXext eina eet
|
||||
];
|
||||
meta = {
|
||||
description = "Enlightenment's canvas and scenegraph rendering library";
|
||||
longDescription = ''
|
||||
Enlightenment's Evas is a clean display canvas API that
|
||||
implements a scene graph, not an immediate-mode rendering
|
||||
target, is cross-platform, for several target display systems
|
||||
that can draw anti-aliased text, smooth super and sub-sampled
|
||||
scaled images, alpha-blend objects and much more.
|
||||
'';
|
||||
homepage = http://enlightenment.org/;
|
||||
license = stdenv.lib.licenses.bsd2; # not sure
|
||||
};
|
||||
}
|
|
@ -37,8 +37,6 @@ rec {
|
|||
|
||||
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
||||
|
||||
soprano = callPackage ./support/soprano { };
|
||||
|
||||
### LIBS
|
||||
kdelibs = callPackage ./libs { };
|
||||
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{ stdenv, fetchurl, cmake, qt4, clucene_core, redland, libiodbc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "soprano-2.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/soprano/${name}.tar.bz2";
|
||||
sha256 = "1ki92wg0i9nhn1fh5mdcls5h9h3lf2k5r66snsags4x7zw0dmv2z";
|
||||
};
|
||||
|
||||
# We disable the Java backend, since we do not need them and they make the closure size much bigger
|
||||
buildInputs = [ cmake qt4 clucene_core redland libiodbc ];
|
||||
|
||||
meta = {
|
||||
homepage = http://soprano.sourceforge.net/;
|
||||
description = "An object-oriented C++/Qt4 framework for RDF data";
|
||||
license = "LGPL";
|
||||
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
||||
inherit (qt4.meta) platforms;
|
||||
};
|
||||
}
|
|
@ -43,7 +43,6 @@ kde.modules // kde.individual //
|
|||
inherit (kde) manifest modules individual splittedModuleList;
|
||||
|
||||
akonadi = callPackage ./support/akonadi { };
|
||||
soprano = callPackage ./support/soprano { };
|
||||
|
||||
qt4 = qt47;
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
{ stdenv, fetchurl, cmake, qt4, shared_mime_info, libxslt, boost, automoc4, soprano }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "akonadi-1.6.0";
|
||||
name = "akonadi-1.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/akonadi/src/${name}.tar.bz2";
|
||||
sha256 = "0bzr6476yyinvdhrn9z8ynmi0py9zs3dfhwk3dvqxysk87svk71f";
|
||||
sha256 = "0r8sw7m1pwqc7qkaczm0r8adqi1wvlhdp32gy3q5p5plq50xhgra";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 soprano automoc4 shared_mime_info libxslt boost ];
|
||||
|
||||
buildInputs = [ qt4 soprano libxslt boost ];
|
||||
|
||||
buildNativeInputs = [ cmake automoc4 shared_mime_info ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -25,5 +25,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = {
|
||||
description = "SDL image library";
|
||||
homepage = http://www.libsdl.org/projects/SDL_image/;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
61
pkgs/development/libraries/allegro/5.nix
Normal file
61
pkgs/development/libraries/allegro/5.nix
Normal file
|
@ -0,0 +1,61 @@
|
|||
|
||||
x@{builderDefsPackage
|
||||
, texinfo, libXext, xextproto, libX11, xproto, libXpm, libXt, libXcursor
|
||||
, alsaLib, cmake, zlib, libpng, libvorbis, libXxf86dga, libXxf86misc
|
||||
, xf86dgaproto, xf86miscproto, xf86vidmodeproto, libXxf86vm, openal, mesa
|
||||
, kbproto
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
(a :
|
||||
let
|
||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||
[];
|
||||
|
||||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="allegro";
|
||||
version="5.0.4";
|
||||
name="${baseName}-${version}";
|
||||
project="alleg";
|
||||
url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.tar.gz";
|
||||
hash="0vm93kqvvw4rw2zx4l64c2i86xl5giwbqbyki4b2b83z0acpmc1n";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doCmake" "doMakeInstall"];
|
||||
|
||||
doCmake = a.fullDepEntry (''
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lXext -lX11 -lXpm -lXcursor -lXxf86vm"
|
||||
cmake -D CMAKE_INSTALL_PREFIX=$out -D CMAKE_SKIP_RPATH=ON .
|
||||
'') ["minInit" "doUnpack" "addInputs"];
|
||||
|
||||
makeFlags = [
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A game programming library";
|
||||
license = "free-noncopyleft"; # giftware
|
||||
maintainers = with a.lib.maintainers;
|
||||
[
|
||||
raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://sourceforge.net/projects/alleg/files/";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
|
@ -13,11 +13,11 @@ let
|
|||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
baseName="allegro";
|
||||
version="4.4.0.1";
|
||||
version="4.4.2";
|
||||
name="${baseName}-${version}";
|
||||
project="alleg";
|
||||
url="mirror://sourceforge/project/${project}/${baseName}/${version}/${name}.tar.gz";
|
||||
hash="0qgkmazr07lmnbj6h6yk10vmcm15gafcwy5jn7xpwy7bahzraiz0";
|
||||
hash="1p0ghkmpc4kwij1z9rzxfv7adnpy4ayi0ifahlns1bdzgmbyf88v";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
, gobjectSupport ? true, glib
|
||||
, stdenv, fetchurl, pkgconfig, x11, fontconfig, freetype, xlibs
|
||||
, zlib, libpng, pixman, libxcb ? null, xcbutil ? null
|
||||
, gettext
|
||||
}:
|
||||
|
||||
assert postscriptSupport -> zlib != null;
|
||||
|
@ -22,7 +23,10 @@ stdenv.mkDerivation rec {
|
|||
buildInputs =
|
||||
[ pkgconfig x11 fontconfig pixman xlibs.libXrender ]
|
||||
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
|
||||
++ stdenv.lib.optional gobjectSupport glib;
|
||||
++ stdenv.lib.optional gobjectSupport glib
|
||||
|
||||
# On non-GNU systems we need GNU Gettext for libintl.
|
||||
++ stdenv.lib.optional (!stdenv.isLinux) gettext;
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ freetype ] ++
|
||||
|
@ -62,5 +66,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = http://cairographics.org/;
|
||||
|
||||
licenses = [ "LGPLv2+" "MPLv1" ];
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
14
pkgs/development/libraries/google-perftools/default.nix
Normal file
14
pkgs/development/libraries/google-perftools/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{stdenv, fetchurl, libunwind}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "google-perftools-1.8.3";
|
||||
src = fetchurl {
|
||||
url = "http://google-perftools.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0ncx3a8jl6n38q9bjnaz5sq96yb6yh99j3bl64k3295v9arl9mva";
|
||||
};
|
||||
buildInputs = [libunwind];
|
||||
meta = {
|
||||
description = "Fast, multi-threaded malloc() and nifty performance analysis tools.";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "blaze-html";
|
||||
version = "0.4.1.6";
|
||||
sha256 = "084phxxdy12vi2q084k8w693m94v0pjf29zx2fk1y0n80k05ii4z";
|
||||
version = "0.4.1.7";
|
||||
sha256 = "0hfnfwbw8gshcv15i8jb6636rh3dl4zwwp6l21yjbrblh3825k0y";
|
||||
buildDepends = [ blazeBuilder text ];
|
||||
meta = {
|
||||
homepage = "http://jaspervdj.be/blaze";
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "numeric-prelude";
|
||||
version = "0.2.2";
|
||||
sha256 = "bc6adb8c2f04e0e1f62e183e052974700143dc93b1a3cbafe3562aa1f7a649fd";
|
||||
version = "0.2.2.1";
|
||||
sha256 = "12b2h103f43rlrfk3zck6mzbvw6v4jf8g4kxz1k14v201lrvb2da";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "web-routes";
|
||||
version = "0.25.2";
|
||||
sha256 = "0gspjvk5859zwg55q8fjyz4a0d2p6lf2qwa41b8s6kcqi38nnp08";
|
||||
version = "0.25.3";
|
||||
sha256 = "09bqz7vn2050jr67m3rrqi0krfxa9n1fxm9rgi3c837g522nb4kk";
|
||||
buildDepends = [ mtl network parsec utf8String ];
|
||||
meta = {
|
||||
description = "Library for maintaining correctness and composability of URLs within an application";
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
{ stdenv, fetchurl, x11, libjpeg, libtiff, libungif, libpng, bzip2, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "imlib2-1.4.4";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "imlib2-1.4.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/enlightenment/imlib2-1.4.4.tar.gz;
|
||||
sha256 = "163162aifak8ya17brzqwjlr8ywz40s2s3573js5blcc1g4m5pm4";
|
||||
url = "mirror://sourceforge/enlightenment/${name}.tar.bz2";
|
||||
sha256 = "0nllbhf8vfwdm40z35yj27n83k2mjf5vbd62khad4f0qjf9hsw14";
|
||||
};
|
||||
|
||||
buildInputs = [ x11 libjpeg libtiff libungif libpng bzip2 pkgconfig ];
|
||||
buildInputs = [ x11 libjpeg libtiff libungif libpng bzip2 ];
|
||||
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.gnu; # random choice
|
||||
};
|
||||
}
|
||||
|
|
31
pkgs/development/libraries/libdnet/default.nix
Normal file
31
pkgs/development/libraries/libdnet/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{stdenv, fetchurl, automake, autoconf, libtool}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libdnet-1.12";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://libdnet.googlecode.com/files/libdnet-1.12.tgz;
|
||||
sha1 = "71302be302e84fc19b559e811951b5d600d976f8";
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-shared" ]; # shared libs required by hyenae
|
||||
|
||||
buildInputs = [ automake autoconf libtool ];
|
||||
|
||||
# .so endings are missing (quick and dirty fix)
|
||||
postInstall = ''
|
||||
for i in $out/lib/*; do
|
||||
ln -s $i $i.so
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "libdnet provides a simplified, portable interface to several low-level networking routines";
|
||||
homepage = http://code.google.com/p/libdnet/;
|
||||
license = "BSD"; # New BSD license
|
||||
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
assert zlib != null;
|
||||
|
||||
# If you want to upgrade libpng, look at libpng15 branch
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libpng-1.2.46";
|
||||
|
||||
|
|
|
@ -1,16 +1,21 @@
|
|||
{ stdenv, fetchurl, cmake, gtk, glib, libjpeg, libpng, libtiff, jasper, ffmpeg, pkgconfig,
|
||||
xineLib, gstreamer }:
|
||||
{ stdenv, fetchurl, cmake, gtk, libjpeg, libpng, libtiff, jasper, ffmpeg
|
||||
, pkgconfig, gstreamer, xineLib }:
|
||||
|
||||
let v = "2.3.1a"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opencv-2.3.0";
|
||||
name = "opencv-${v}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/opencvlibrary/OpenCV-2.3.0.tar.bz2";
|
||||
sha256 = "02wl56a87if84brrhd4wq59linyhbxx30ykh4cjwzw37yw7zzgxw";
|
||||
url = "mirror://sourceforge/opencvlibrary/OpenCV-${v}.tar.bz2";
|
||||
sha256 = "0325s7pa2npcw2gc06pr6q5ik4xdyf08rvkfc0myn10w20lzb8m9";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake gtk glib libjpeg libpng libtiff jasper ffmpeg pkgconfig
|
||||
xineLib gstreamer ];
|
||||
buildInputs = [ gtk glib libjpeg libpng libtiff jasper ffmpeg xineLib gstreamer ];
|
||||
|
||||
buildNativeInputs = [ cmake pkgconfig ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Open Computer Vision Library with more than 500 algorithms";
|
||||
|
|
27
pkgs/development/libraries/opencv/default.nix.edited
Normal file
27
pkgs/development/libraries/opencv/default.nix.edited
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchurl, cmake, gtk, libjpeg, libpng, libtiff, jasper, ffmpeg
|
||||
, pkgconfig, gstreamer }:
|
||||
|
||||
let v = "2.3.1a"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opencv-${v}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/opencvlibrary/OpenCV-${v}.tar.bz2";
|
||||
sha256 = "0325s7pa2npcw2gc06pr6q5ik4xdyf08rvkfc0myn10w20lzb8m9";
|
||||
};
|
||||
|
||||
buildInputs = [ gtk libjpeg libpng libtiff jasper ffmpeg gstreamer ];
|
||||
|
||||
buildNativeInputs = [ cmake pkgconfig ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Open Computer Vision Library with more than 500 algorithms";
|
||||
homepage = http://opencv.willowgarage.com/;
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
patches =
|
||||
[ (fetchurl {
|
||||
[ (fetchurl { # Applied upstream, remove if upgrading
|
||||
url = https://git.reviewboard.kde.org/r/102466/diff/raw/;
|
||||
name = "soprano-virtuoso-restart.patch";
|
||||
sha256 = "0jk038fp7ii6847mbxdajhhc7f6ap6lriaklxcqqxf6ddj37gf3y";
|
||||
|
@ -18,7 +18,9 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
# We disable the Java backend, since we do not need them and they make the closure size much bigger
|
||||
buildInputs = [ cmake qt4 clucene_core librdf_redland libiodbc ];
|
||||
buildInputs = [ qt4 clucene_core librdf_redland libiodbc ];
|
||||
|
||||
buildNativeInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
homepage = http://soprano.sourceforge.net/;
|
|
@ -2,15 +2,23 @@ From: Yury G. Kudryashov <urkud.urkud@gmail.com>
|
|||
Subject: [PATCH] Find virtuoso if virtuoso-t is in PATH
|
||||
|
||||
---
|
||||
backends/virtuoso/virtuosobackend.cpp | 29 ++++++++++++++++++++---------
|
||||
backends/virtuoso/virtuosobackend.cpp | 31 ++++++++++++++++++++++---------
|
||||
backends/virtuoso/virtuosobackend.h | 2 +-
|
||||
2 files changed, 21 insertions(+), 10 deletions(-)
|
||||
2 files changed, 23 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/backends/virtuoso/virtuosobackend.cpp b/backends/virtuoso/virtuosobackend.cpp
|
||||
index c83605d..c24854e 100644
|
||||
index c83605d..8c30c81 100644
|
||||
--- a/backends/virtuoso/virtuosobackend.cpp
|
||||
+++ b/backends/virtuoso/virtuosobackend.cpp
|
||||
@@ -188,19 +188,19 @@ namespace {
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "odbcconnectionpool.h"
|
||||
|
||||
#include "sopranodirs.h"
|
||||
+#include "soprano-config.h"
|
||||
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QtPlugin>
|
||||
@@ -188,19 +189,19 @@ namespace {
|
||||
|
||||
bool Soprano::Virtuoso::BackendPlugin::isAvailable() const
|
||||
{
|
||||
|
@ -37,7 +45,7 @@ index c83605d..c24854e 100644
|
|||
QString vs = determineVirtuosoVersion( virtuosoBin );
|
||||
if ( vs.isEmpty() ) {
|
||||
qDebug() << Q_FUNC_INFO << "Failed to determine version of the Virtuoso server at" << virtuosoBin;
|
||||
@@ -217,9 +217,20 @@ bool Soprano::Virtuoso::BackendPlugin::isAvailable() const
|
||||
@@ -217,9 +218,21 @@ bool Soprano::Virtuoso::BackendPlugin::isAvailable() const
|
||||
|
||||
|
||||
#ifndef Q_OS_WIN
|
||||
|
@ -53,8 +61,9 @@ index c83605d..c24854e 100644
|
|||
+
|
||||
+ QDir virtuosoBinDir = QFileInfo(virtuosoBin).absoluteDir();
|
||||
+ return Soprano::findLibraryPath( "virtodbc_r",
|
||||
+ QStringList() << virtuosoBinDir.absolutePath()
|
||||
+ << virtuosoBinDir.absoluteFilePath("../lib"),
|
||||
+ QStringList()
|
||||
+ << virtuosoBinDir.absoluteFilePath("../lib"SOPRANO_LIB_SUFFIX)
|
||||
+ << virtuosoBinDir.absoluteFilePath("../lib"),
|
||||
+ QStringList() << QLatin1String( "virtuoso/plugins/" ) <<
|
||||
+ QLatin1String( "odbc/" ) );
|
||||
}
|
||||
|
@ -74,4 +83,4 @@ index 3971b83..0807e5d 100644
|
|||
};
|
||||
}
|
||||
--
|
||||
tg: (432b73f..) t/find-virtuoso (depends on: master)
|
||||
tg: (da390be..) t/find-virtuoso (depends on: master)
|
|
@ -3,6 +3,9 @@
|
|||
stdenv.mkDerivation rec {
|
||||
name = "automake-1.11.1";
|
||||
|
||||
# TODO: Remove the `aclocal' wrapper when $ACLOCAL_PATH support is
|
||||
# available upstream; see
|
||||
# <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9026>.
|
||||
builder = ./builder.sh;
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "cpphs";
|
||||
version = "1.12";
|
||||
sha256 = "18c8yx8y54b2q086sqlp4vhslkb7mm1gry1f13mki43x93kd1vdj";
|
||||
version = "1.13.1";
|
||||
sha256 = "0k5p9gqnalll3w1962dwydnygk25h777bic2gvdh8i8hhyz5fsx2";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
meta = {
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
{stdenv, fetchurl, kdelibs, libX11, libXext, libSM, libpng, libjpeg, qt, zlib, perl, expat}:
|
||||
|
||||
# !!! dot is a run-time dependencies
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kcachegrind-0.4.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://kcachegrind.sourceforge.net/kcachegrind-0.4.6.tar.gz;
|
||||
md5 = "4ed60028dcefd6bf626635d5f2f50273";
|
||||
};
|
||||
|
||||
KDEDIR = kdelibs;
|
||||
|
||||
configureFlags = "
|
||||
--without-arts
|
||||
--x-includes=${libX11}/include
|
||||
--x-libraries=${libX11}/lib";
|
||||
|
||||
buildInputs = [kdelibs libX11 libXext libSM zlib perl qt expat libpng libjpeg];
|
||||
|
||||
meta = {
|
||||
description = "Interactive visualisation tool for Valgrind profiling data";
|
||||
};
|
||||
}
|
|
@ -10,6 +10,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libxml2 openssl readline gawk ];
|
||||
|
||||
patchFlags = "-p0";
|
||||
|
||||
patches =
|
||||
[ (fetchurl {
|
||||
url = "http://bugsfiles.kde.org/attachment.cgi?id=63510";
|
||||
name = "virtuoso-charset-fix.diff";
|
||||
sha256 = "09kxjhsy3rbys0bcxpmgga4sa6qjyy79dyl4n8b0gp1hnzjskvkz";
|
||||
})
|
||||
];
|
||||
|
||||
CPP = "${stdenv.gcc}/bin/gcc -E";
|
||||
|
||||
configureFlags = "
|
||||
|
@ -19,13 +29,14 @@ stdenv.mkDerivation rec {
|
|||
";
|
||||
|
||||
postInstall=''
|
||||
echo Move documentation
|
||||
echo Moving documentation
|
||||
mkdir -pv $out/share/doc
|
||||
mv -v $out/share/virtuoso/doc $out/share/doc/${name}
|
||||
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SQL/RDF database used by, e.g., KDE-nepomuk";
|
||||
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.urkud ];
|
||||
|
|
|
@ -103,6 +103,7 @@ in
|
|||
|
||||
libXext = attrs: attrs // {
|
||||
buildInputs = attrs.buildInputs ++ [xorg.libXau];
|
||||
propagatedBuildInputs = [ xorg.xproto ];
|
||||
preConfigure = setMalloc0ReturnsNullCrossCompiling;
|
||||
};
|
||||
|
||||
|
|
14
pkgs/shells/bash/bash-4.2-patches.nix
Normal file
14
pkgs/shells/bash/bash-4.2-patches.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Automatically generated by `update-patch-set.sh'; do not edit.
|
||||
|
||||
patch: [
|
||||
(patch "001" "0yml2b6yarrr0dzv7h45lz4126i228hvqbqacqzg4jkcawla0v4d")
|
||||
(patch "002" "1yffzfxryvqns513yv3r46slkysa3nbqv40442xfxb4rw4kwkfpy")
|
||||
(patch "003" "1kdl9hcpf1m7gz0ja3mvin3syprl2kmbxc3wm27391wc04apq2js")
|
||||
(patch "004" "1ha0453cjqdgkns2xkdgpd2izj5b6xlsc9a2w5b3sn6j63wb0d2f")
|
||||
(patch "005" "182r2iyk27l28b8kyppfavvzxhax6vn5n1zyy3yirf0463klj5x8")
|
||||
(patch "006" "1labcciavnfmn0alncz1x92ydrsriikcimw24rwzmnidbaa4h4f9")
|
||||
(patch "007" "15byzdqvavc3zg2lbzzdwpdy43kzdnvmr89nya211pa3yjn2cn20")
|
||||
(patch "008" "0dr4p83m2xpxhvd61yny0gdlasq6r9mpyiz220998y0alq8hs213")
|
||||
(patch "009" "086b9jkyjgf2zhwln72d7s5x759iskgg3r4hdrw6b5y1ni059vg7")
|
||||
(patch "010" "1p23m9kssdmpnjfp96bjmmshzf25cdzlyjygdw8j6sayqa159z5c")
|
||||
]
|
|
@ -1,4 +0,0 @@
|
|||
# Automatically generated by `update-patch-set.sh'; do not edit.
|
||||
|
||||
patch: [
|
||||
]
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/bash/${realName}.tar.gz";
|
||||
sha256 = "1n5kbblp5ykbz5q8aq88lsif2z0gnvddg9babk33024wxiwi2ym2";
|
||||
sha256 = "a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = ''
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
inherit sha256;
|
||||
};
|
||||
in
|
||||
import ./bash-patches.nix patch;
|
||||
import ./bash-4.2-patches.nix patch;
|
||||
|
||||
crossAttrs = {
|
||||
configureFlags = baseConfigureFlags +
|
||||
|
@ -73,7 +73,6 @@ stdenv.mkDerivation rec {
|
|||
license = "GPLv3+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.simons ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
|
|
@ -16,7 +16,7 @@ VERSION="$2"
|
|||
VERSION_CONDENSED="$(echo $VERSION | sed -es/\\.//g)"
|
||||
|
||||
GPG="$(if $(type -P gpg2 > /dev/null); then echo gpg2; else echo gpg; fi)"
|
||||
PATCH_LIST="$PROJECT-patches.nix"
|
||||
PATCH_LIST="$PROJECT-$VERSION-patches.nix"
|
||||
|
||||
set -e
|
||||
|
||||
|
|
48
pkgs/tools/networking/altermime/altermime.patch
Normal file
48
pkgs/tools/networking/altermime/altermime.patch
Normal file
|
@ -0,0 +1,48 @@
|
|||
AUR patch for fixing build
|
||||
|
||||
diff -Naur altermime-0.3.10/qpe.c altermime-0.3.10-new/qpe.c
|
||||
--- altermime-0.3.10/qpe.c 2008-11-16 09:45:45.000000000 +0100
|
||||
+++ altermime-0.3.10-new/qpe.c 2010-11-24 14:28:43.153334114 +0100
|
||||
@@ -97,7 +97,7 @@
|
||||
op+= strlen(paragraph);// +3; /** jump the output + =\r\n **/
|
||||
out_remaining-= (strlen(paragraph)); // Was +3, updated to fix Outlook problems
|
||||
|
||||
- QPD fprintf(stdout, "Soft break (%d + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph);
|
||||
+ QPD fprintf(stdout, "Soft break (%zd + %d > 76 char) for '%s'\n", current_line_length, charout_size, paragraph);
|
||||
|
||||
/** reinitialize the paragraph **/
|
||||
paragraph[0] = '\0';
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
|
||||
snprintf(pp, pp_remaining, "%s", charout);
|
||||
- QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%d result='%s'\n", charout, charout_size, pp_remaining, paragraph);
|
||||
+ QPD fprintf(stdout,"charout='%s', size=%d, pp_remain=%zd result='%s'\n", charout, charout_size, pp_remaining, paragraph);
|
||||
pp += charout_size;
|
||||
pp_remaining -= charout_size;
|
||||
p++;
|
||||
@@ -149,13 +149,13 @@
|
||||
out_size = in_size *3;
|
||||
in_buffer = malloc( sizeof(char) *in_size +1);
|
||||
if (in_buffer == NULL) {
|
||||
- QPD fprintf(stdout,"Error allocating %d bytes for input buffer\n", in_size);
|
||||
+ QPD fprintf(stdout,"Error allocating %zd bytes for input buffer\n", in_size);
|
||||
return -1;
|
||||
}
|
||||
|
||||
out_buffer = malloc( sizeof(char) *out_size *3 +1);
|
||||
if (in_buffer == NULL) {
|
||||
- QPD fprintf(stdout,"Error allocating %d bytes for output buffer\n", out_size);
|
||||
+ QPD fprintf(stdout,"Error allocating %zd bytes for output buffer\n", out_size);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
** we segfault ;) **/
|
||||
*(in_buffer +in_size) = '\0';
|
||||
|
||||
- QPD fprintf(stdout,"file %s is loaded, size = %d\n", fname, in_size);
|
||||
+ QPD fprintf(stdout,"file %s is loaded, size = %zd\n", fname, in_size);
|
||||
|
||||
qp_encode( out_buffer, out_size, in_buffer, in_size );
|
||||
|
|
@ -26,7 +26,9 @@ rec {
|
|||
inherit (sourceInfo) name version;
|
||||
inherit buildInputs;
|
||||
|
||||
phaseNames = ["fixTarget" "doMakeInstall"];
|
||||
patches = [./altermime.patch];
|
||||
|
||||
phaseNames = ["doPatch" "fixTarget" "doMakeInstall"];
|
||||
fixTarget = a.fullDepEntry (''
|
||||
sed -i Makefile -e "s@/usr/local@$out@"
|
||||
ensureDir "$out/bin"
|
||||
|
|
|
@ -33,7 +33,7 @@ rec {
|
|||
sed -i */Makefile -i Makefile -e 's@ -o root @ @'
|
||||
sed -i GNUmakefile -e 's@ -g $(BIN_OWNER) @ @'
|
||||
sed -i GNUmakefile -e 's@ -o $(BIN_GROUP) @ @'
|
||||
sed -i */Makefile -i Makefile -e 's@-I-@@g'
|
||||
sed -i */Makefile -i Makefile -i GNUmakefile -e 's@-I-@@g'
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
meta = {
|
||||
|
|
22
pkgs/tools/networking/hyenae/default.nix
Normal file
22
pkgs/tools/networking/hyenae/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{stdenv, fetchurl, libdnet, pkgconfig, libpcap}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hyenae-0.36-1";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/hyenae/0.36-1/hyenae-0.36-1.tar.gz;
|
||||
sha256 = "1f3x4yn9a9p4f4wk4l8pv7hxfjc8q7cv20xzf7ky735sq1hj0xcg";
|
||||
};
|
||||
|
||||
buildInputs = [libdnet pkgconfig libpcap];
|
||||
|
||||
meta = {
|
||||
description = "";
|
||||
homepage = http://sourceforge.net/projects/hyenae/;
|
||||
license = "GPLv3";
|
||||
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
60
pkgs/tools/networking/jwhois/connect.patch
Normal file
60
pkgs/tools/networking/jwhois/connect.patch
Normal file
|
@ -0,0 +1,60 @@
|
|||
https://bugzilla.redhat.com/attachment.cgi?id=265091
|
||||
|
||||
This fixes somewhat reversed logic of trying to connect to WHOIS server.
|
||||
Tue Nov 20 2007, Lubomir Kundrak <lkundrak@redhat.com>
|
||||
|
||||
--- jwhois-4.0/src/utils.c.connect 2007-06-26 09:00:20.000000000 +0200
|
||||
+++ jwhois-4.0/src/utils.c 2007-11-20 17:05:33.000000000 +0100
|
||||
@@ -247,7 +247,7 @@ make_connect(const char *host, int port)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
- while (res)
|
||||
+ for (; res; res = res->ai_next)
|
||||
{
|
||||
sa = res->ai_addr;
|
||||
sockfd = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
|
||||
@@ -266,15 +266,15 @@ make_connect(const char *host, int port)
|
||||
flags = fcntl(sockfd, F_GETFL, 0);
|
||||
if (fcntl(sockfd, F_SETFL, flags|O_NONBLOCK) == -1)
|
||||
{
|
||||
+ close (sockfd);
|
||||
return -1;
|
||||
}
|
||||
|
||||
-
|
||||
error = connect(sockfd, res->ai_addr, res->ai_addrlen);
|
||||
-
|
||||
if (error < 0 && errno != EINPROGRESS)
|
||||
{
|
||||
- break;
|
||||
+ close (sockfd);
|
||||
+ continue;
|
||||
}
|
||||
|
||||
FD_ZERO(&fdset);
|
||||
@@ -283,18 +283,20 @@ make_connect(const char *host, int port)
|
||||
error = select(FD_SETSIZE, NULL, &fdset, NULL, &timeout);
|
||||
if (error == 0)
|
||||
{
|
||||
- break;
|
||||
+ close (sockfd);
|
||||
+ return -1;
|
||||
}
|
||||
|
||||
retlen = sizeof(retval);
|
||||
error = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &retval, &retlen);
|
||||
if (error < 0 || retval)
|
||||
{
|
||||
- break;
|
||||
+ close (sockfd);
|
||||
+ return -1;
|
||||
}
|
||||
- res = res->ai_next;
|
||||
+
|
||||
+ break;
|
||||
}
|
||||
- if (error < 0 || retval) return -1;
|
||||
#endif
|
||||
|
||||
return sockfd;
|
|
@ -10,6 +10,8 @@ stdenv.mkDerivation {
|
|||
|
||||
postInstall = "ln -s jwhois $out/bin/whois";
|
||||
|
||||
patches = [ ./connect.patch ];
|
||||
|
||||
meta = {
|
||||
description = "A client for the WHOIS protocol allowing you to query the owner of a domain name";
|
||||
homepage = http://www.gnu.org/software/jwhois/;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{stdenv,fetchurl,python, wxPython, makeWrapper,
|
||||
ssl}:
|
||||
stdenv.mkDerivation {
|
||||
name = "bit-tornado";
|
||||
name = "bit-tornado-0.3.18";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz;
|
||||
|
|
|
@ -14,6 +14,8 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
|
||||
|
||||
postInstall = "install -D -m 444 doc/rtorrent.1 $out/share/man/man1/rtorrent.1";
|
||||
|
||||
meta = {
|
||||
homepage = "http://libtorrent.rakshasa.no/";
|
||||
description = "An ncurses client for libtorrent, ideal for use with screen or dtach";
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
{ stdenv, fetchurl, libcap, perl }:
|
||||
|
||||
let
|
||||
name = "lxc-0.7.5";
|
||||
in
|
||||
stdenv.mkDerivation{
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://lxc.sf.net/download/lxc/${name}.tar.gz";
|
||||
sha256 = "019ec63f250c874bf7625b1f1bf555b1a6e3a947937a4fca73100abddf829b1c";
|
||||
};
|
||||
|
||||
buildInputs = [ libcap perl ];
|
||||
|
||||
patchPhase = "sed -i -e 's|/sbin/ldconfig|:|' src/lxc/Makefile.in";
|
||||
|
||||
configureFlags = "--localstatedir=/var";
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/lib"
|
||||
lib=liblxc.so.?.*
|
||||
ln -s $lib $(echo $lib | sed -re 's/(liblxc[.]so[.].)[.].*/\1/')
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://lxc.sourceforge.net;
|
||||
description = "lxc Linux Containers userland tools";
|
||||
license = stdenv.lib.licenses.lgpl21Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
|
@ -1,21 +1,19 @@
|
|||
{stdenv, fetchurl, zlib, gnutls, libgcrypt}:
|
||||
{stdenv, fetchgit, zlib, gnutls, libgcrypt}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "rtmpdump-2.2d";
|
||||
src = fetchurl {
|
||||
url = http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2d.tgz;
|
||||
sha256 = "0w2cr3mgp4dcabmr7d7pnsn8f2r1zvar553vfavnzqv61gnhyrm5";
|
||||
name = "rtmpdump-2.4";
|
||||
src = fetchgit {
|
||||
url = git://git.ffmpeg.org/rtmpdump;
|
||||
rev = "c28f1bab7822de97353849e7787b59e50bbb1428";
|
||||
sha256 = "927e7ea7a686adb7cbce9d0a0c710de1e0921bbb1f0c1b35d17bdb816e6c73d8";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib gnutls libgcrypt ];
|
||||
|
||||
makeFlags = "CRYPTO=GNUTLS posix";
|
||||
makeFlags = "CRYPTO=GNUTLS";
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin $out/share/man/man{1,8}
|
||||
cp rtmpdump rtmpsrv rtmpsuck rtmpgw $out/bin
|
||||
cp *.1 $out/share/man/man1
|
||||
cp *.8 $out/share/man/man8
|
||||
configurePhase = ''
|
||||
sed -i s,/usr/local,$out, Makefile librtmp/Makefile
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -446,7 +446,7 @@ let
|
|||
gui = true;
|
||||
};
|
||||
|
||||
bittornado = callPackage ../tools/networking/p2p/bit-tornado {
|
||||
bittornado = callPackage ../tools/networking/p2p/bit-tornado {
|
||||
inherit (pythonPackages) ssl;
|
||||
};
|
||||
|
||||
|
@ -915,7 +915,7 @@ let
|
|||
|
||||
lshw = callPackage ../tools/system/lshw { };
|
||||
|
||||
lxc = callPackage ../tools/system/lxc { };
|
||||
lxc = callPackage ../applications/virtualization/lxc { };
|
||||
|
||||
lzma = xz;
|
||||
|
||||
|
@ -1591,11 +1591,11 @@ let
|
|||
### SHELLS
|
||||
|
||||
|
||||
bash = lowPrio (callPackage ../shells/bash {
|
||||
bash = lowPrio (callPackage ../shells/bash/4.1.nix {
|
||||
texinfo = null;
|
||||
});
|
||||
|
||||
bashInteractive = appendToName "interactive" (callPackage ../shells/bash {
|
||||
bashInteractive = appendToName "interactive" (callPackage ../shells/bash/4.2.nix {
|
||||
interactive = true;
|
||||
});
|
||||
|
||||
|
@ -2869,6 +2869,8 @@ let
|
|||
inherit (perlPackages) LocaleGettext;
|
||||
};
|
||||
|
||||
hyenae = callPackage ../tools/networking/hyenae { };
|
||||
|
||||
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {
|
||||
inherit (perlPackages) XMLSimple;
|
||||
};
|
||||
|
@ -3034,6 +3036,7 @@ let
|
|||
agg = callPackage ../development/libraries/agg { };
|
||||
|
||||
allegro = callPackage ../development/libraries/allegro {};
|
||||
allegro5 = callPackage ../development/libraries/allegro/5.nix {};
|
||||
|
||||
amrnb = callPackage ../development/libraries/amrnb { };
|
||||
|
||||
|
@ -3481,6 +3484,8 @@ let
|
|||
inherit (gnome) gtk glib;
|
||||
};
|
||||
|
||||
google_perftools = callPackage ../development/libraries/google-perftools { };
|
||||
|
||||
#GMP ex-satellite, so better keep it near gmp
|
||||
mpfr = callPackage ../development/libraries/mpfr { };
|
||||
|
||||
|
@ -3776,6 +3781,8 @@ let
|
|||
|
||||
libdmtx = callPackage ../development/libraries/libdmtx { };
|
||||
|
||||
libdnet = callPackage ../development/libraries/libdnet { };
|
||||
|
||||
libdrm = callPackage ../development/libraries/libdrm {
|
||||
inherit fetchurl stdenv pkgconfig;
|
||||
inherit (xorg) libpthreadstubs;
|
||||
|
@ -4446,6 +4453,8 @@ let
|
|||
# optional
|
||||
};
|
||||
|
||||
soprano = callPackage ../development/libraries/soprano { };
|
||||
|
||||
soqt = callPackage ../development/libraries/soqt { };
|
||||
|
||||
speechd = callPackage ../development/libraries/speechd { };
|
||||
|
@ -5551,7 +5560,7 @@ let
|
|||
kernelPatches =
|
||||
[ #kernelPatches.fbcondecor_2_6_38
|
||||
kernelPatches.sec_perm_2_6_24
|
||||
kernelPatches.aufs2_1_3_0
|
||||
#kernelPatches.aufs2_1_3_0
|
||||
#kernelPatches.mips_restart_2_6_36
|
||||
];
|
||||
};
|
||||
|
@ -7837,6 +7846,11 @@ let
|
|||
|
||||
enlightenment = callPackage ../desktops/enlightenment { };
|
||||
|
||||
# e17 = recurseIntoAttrs (
|
||||
# let callPackage = newScope pkgs.e17; in
|
||||
# import ../desktops/e17 { inherit callPackage pkgs; }
|
||||
# );
|
||||
|
||||
gnome28 = recurseIntoAttrs (import ../desktops/gnome-2.28 pkgs);
|
||||
|
||||
gnome = gnome28;
|
||||
|
@ -7884,11 +7898,6 @@ let
|
|||
qt = qt3;
|
||||
};
|
||||
|
||||
kcachegrind = callPackage ../development/tools/misc/kcachegrind {
|
||||
inherit (kde3) kdelibs;
|
||||
qt = qt3;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
kde4 = recurseIntoAttrs pkgs.kde45;
|
||||
|
|
|
@ -2809,6 +2809,31 @@ rec {
|
|||
];
|
||||
};
|
||||
|
||||
StatisticsDescriptive = buildPerlPackage rec {
|
||||
name = "Statistics-Descriptive-3.0202";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/Statistics/${name}.tar.gz";
|
||||
sha256 = "0y8l3dkhfc2gqwfigrg363ac7pxcyshdna66afpdvs8r1gd53a1i";
|
||||
};
|
||||
};
|
||||
|
||||
StatisticsDistributions = buildPerlPackage rec {
|
||||
name = "Statistics-Distributions-1.02";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/Statistics/${name}.tar.gz";
|
||||
sha256 = "1j1kswl98f4i9dn176f9aa3y9bissx2sscga5jm3gjl4pxm3k7zr";
|
||||
};
|
||||
};
|
||||
|
||||
StatisticsTTest = buildPerlPackage rec {
|
||||
name = "Statistics-TTest-1.1.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/modules/by-module/Statistics/${name}.tar.gz";
|
||||
sha256 = "0rkifgzm4rappiy669dyi6lyxn2sdqaf0bl6gndlfa67b395kndj";
|
||||
};
|
||||
propagatedBuildInputs = [ StatisticsDescriptive StatisticsDistributions ];
|
||||
};
|
||||
|
||||
StringFormat = buildPerlPackage rec {
|
||||
name = "String-Format-1.16";
|
||||
src = fetchurl {
|
||||
|
|
|
@ -765,11 +765,13 @@ let pythonPackages = python.modules // rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ dateutil numpy pkgs.freetype pkgs.libpng pkgs.pkgconfig pkgs.tcl pkgs.tk pkgs.xlibs.libX11 ];
|
||||
propagatedBuildInputs = [ dateutil numpy pkgs.freetype pkgs.libpng pkgs.pkgconfig pkgs.tcl pkgs.tk pkgs.xlibs.libX11 ];
|
||||
|
||||
meta = {
|
||||
description = "python plotting library, making publication quality plots";
|
||||
homepage = "http://matplotlib.sourceforge.net/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -1816,7 +1818,7 @@ let pythonPackages = python.modules // rec {
|
|||
md5 = "42c722d48e52d4888193965dd473adb5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [docutils jinja2 pygments];
|
||||
propagatedBuildInputs = [docutils jinja2 pygments];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects.";
|
||||
|
|
|
@ -440,7 +440,6 @@ with (import ./release-lib.nix);
|
|||
kdebase = linux;
|
||||
kdelibs = linux;
|
||||
k3b = linux;
|
||||
kcachegrind = linux;
|
||||
kile = linux;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue