svn path=/nixpkgs/trunk/; revision=9049wip/yesman
parent
e2ad18379e
commit
67d41efde1
@ -0,0 +1,12 @@ |
||||
{stdenv, fetchurl, perl, perlXMLParser, pkgconfig, gettext, libxml2, glib}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "shared-mime-info-0.21"; |
||||
|
||||
src = fetchurl { |
||||
url = http://FIX_ME.org/shared-mime-info-0.21.tar.bz2; |
||||
sha256 = "050jyvnhwv0fdyfmdb8sdxkryw0vqnkkzz7ld6jl4ixiv2ikcnhk"; |
||||
}; |
||||
|
||||
buildInputs = [perl perlXMLParser pkgconfig gettext libxml2 glib]; |
||||
} |
@ -0,0 +1,48 @@ |
||||
{ stdenv, fetchurl |
||||
, inputproto, kbproto, scrnsaverproto, xextproto, xf86miscproto |
||||
, xf86vidmodeproto, xineramaproto, xproto |
||||
, libICE |
||||
, libX11 |
||||
, libXau |
||||
, libXcomposite |
||||
, libXcursor |
||||
, libXdamage |
||||
, libXdmcp |
||||
, libXext |
||||
, libXfixes |
||||
, libXft |
||||
, libXi |
||||
, libXpm |
||||
, libXrandr |
||||
, libXrender |
||||
, libXScrnSaver |
||||
, libXt |
||||
, libXtst |
||||
, libXv |
||||
, libXxf86misc |
||||
, libxkbfile |
||||
, zlib, perl, qt, openssl, pcre |
||||
, pkgconfig, libjpeg, libpng, libtiff, libxml2, libxslt, libtool, expat |
||||
, freetype, bzip2, strigi, cmake, shared_mime_info, alsaLib, libungif |
||||
, cups, kdelibs |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "kdebase-3.91.0"; |
||||
|
||||
src = fetchurl { |
||||
url = http://ftp.scarlet.be/pub/kde/stable/3.91.0/src/kdebase-3.91.0.tar.bz2; |
||||
sha256 = "0p1lgmd0jbf87g1khyjr0g9hph4lr1jd3l992nfm6xv9zc5i39br"; |
||||
}; |
||||
|
||||
buildInputs = [ |
||||
inputproto kbproto scrnsaverproto xextproto xf86miscproto xf86vidmodeproto |
||||
xineramaproto xproto libICE libX11 libXau libXcomposite libXcursor |
||||
libXdamage libXdmcp libXext libXfixes libXft libXi libXpm libXrandr |
||||
libXrender libXScrnSaver libXt libXtst libXv libXxf86misc libxkbfile |
||||
zlib perl qt openssl pcre |
||||
pkgconfig libjpeg libpng libtiff libxml2 libxslt expat |
||||
libtool freetype bzip2 strigi cmake shared_mime_info alsaLib libungif cups |
||||
kdelibs |
||||
]; |
||||
} |
@ -0,0 +1,48 @@ |
||||
{ stdenv, fetchurl |
||||
, inputproto, kbproto, scrnsaverproto, xextproto, xf86miscproto |
||||
, xf86vidmodeproto, xineramaproto, xproto |
||||
, libICE |
||||
, libX11 |
||||
, libXau |
||||
, libXcomposite |
||||
, libXcursor |
||||
, libXdamage |
||||
, libXdmcp |
||||
, libXext |
||||
, libXfixes |
||||
, libXft |
||||
, libXi |
||||
, libXpm |
||||
, libXrandr |
||||
, libXrender |
||||
, libXScrnSaver |
||||
, libXt |
||||
, libXtst |
||||
, libXv |
||||
, libXxf86misc |
||||
, libxkbfile |
||||
, zlib, perl, qt, openssl, pcre |
||||
, pkgconfig, libjpeg, libpng, libtiff, libxml2, libxslt, libtool, expat |
||||
, freetype, bzip2, strigi, cmake, shared_mime_info, alsaLib, libungif |
||||
, cups |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "kdelibs-3.91.0"; |
||||
|
||||
src = fetchurl { |
||||
url = http://ftp.scarlet.be/pub/kde/stable/3.91.0/src/kdelibs-3.91.0.tar.bz2; |
||||
sha256 = "14zi2wd1k116dvg996cfw53sihm0y7wcqpdxhc4y458mcrb2a8sz"; |
||||
}; |
||||
|
||||
buildInputs = [ |
||||
inputproto kbproto scrnsaverproto xextproto xf86miscproto xf86vidmodeproto |
||||
xineramaproto xproto libICE libX11 libXau libXcomposite libXcursor |
||||
libXdamage libXdmcp libXext libXfixes libXft libXi libXpm libXrandr |
||||
libXrender libXScrnSaver libXt libXtst libXv libXxf86misc libxkbfile |
||||
zlib perl qt openssl pcre |
||||
pkgconfig libjpeg libpng libtiff libxml2 libxslt expat |
||||
libtool freetype bzip2 strigi cmake shared_mime_info alsaLib libungif cups |
||||
]; |
||||
patchPhase = "sed -e 's@ NO_SYSTEM_PATH@@g' -i ../cmake/modules/FindX11.cmake"; |
||||
} |
@ -0,0 +1,48 @@ |
||||
{ stdenv, fetchurl |
||||
, inputproto, kbproto, scrnsaverproto, xextproto, xf86miscproto |
||||
, xf86vidmodeproto, xineramaproto, xproto |
||||
, libICE |
||||
, libX11 |
||||
, libXau |
||||
, libXcomposite |
||||
, libXcursor |
||||
, libXdamage |
||||
, libXdmcp |
||||
, libXext |
||||
, libXfixes |
||||
, libXft |
||||
, libXi |
||||
, libXpm |
||||
, libXrandr |
||||
, libXrender |
||||
, libXScrnSaver |
||||
, libXt |
||||
, libXtst |
||||
, libXv |
||||
, libXxf86misc |
||||
, libxkbfile |
||||
, zlib, perl, qt, openssl, pcre |
||||
, pkgconfig, libjpeg, libpng, libtiff, libxml2, libxslt, libtool, expat |
||||
, freetype, bzip2, strigi, cmake, shared_mime_info, alsaLib, libungif |
||||
, cups, kdelibs, boost |
||||
}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "kdepimlibs-3.91.0"; |
||||
|
||||
src = fetchurl { |
||||
url = http://ftp.scarlet.be/pub/kde/stable/3.91.0/src/kdepimlibs-3.91.0.tar.bz2; |
||||
sha256 = "0d9ir4xrbk9d1sm8551xac1v2bc0l1ssnqiqzjwni0mcavi6lpf5"; |
||||
}; |
||||
|
||||
buildInputs = [ |
||||
inputproto kbproto scrnsaverproto xextproto xf86miscproto xf86vidmodeproto |
||||
xineramaproto xproto libICE libX11 libXau libXcomposite libXcursor |
||||
libXdamage libXdmcp libXext libXfixes libXft libXi libXpm libXrandr |
||||
libXrender libXScrnSaver libXt libXtst libXv libXxf86misc libxkbfile |
||||
zlib perl qt openssl pcre |
||||
pkgconfig libjpeg libpng libtiff libxml2 libxslt expat |
||||
libtool freetype bzip2 strigi cmake shared_mime_info alsaLib libungif cups |
||||
kdelibs boost |
||||
]; |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ stdenv, fetchurl, cluceneCore}: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "clucene-contrib-0.9.16a"; |
||||
|
||||
src = fetchurl { |
||||
url = ftp://ftp.chg.ru/pub/sourceforge/c/cl/clucene/clucene-contrib-0.9.16a.tar.bz2; |
||||
sha256 = "1apk867pggxsflhgvsnhcmy5vz2cvc1b914g4inkcj6s5vn1a1jx"; |
||||
}; |
||||
inherit cluceneCore; |
||||
buildInputs=[cluceneCore]; |
||||
configureFlags = "--disable-static --with-clucene=${cluceneCore}"; |
||||
|
||||
meta = { |
||||
description = "CLucene is a port of the very popular Java Lucene text search engine API. Contrib package."; |
||||
homepage = http://clucene.sourceforge.net; |
||||
}; |
||||
} |
@ -0,0 +1,16 @@ |
||||
{ stdenv, fetchurl }: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "clucene-core-0.9.16a"; |
||||
|
||||
src = fetchurl { |
||||
url = ftp://ftp.chg.ru/pub/sourceforge/c/cl/clucene/clucene-core-0.9.16a.tar.bz2; |
||||
sha256 = "0hv7sp1lbicnj2984hiki8qwrvz5zwn1zhj6azhavgjklanhihjr"; |
||||
}; |
||||
|
||||
meta = { |
||||
description = "CLucene is a port of the very popular Java Lucene text search engine API. Core package."; |
||||
homepage = http://clucene.sourceforge.net; |
||||
}; |
||||
configureFlags = "--disable-static"; |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ stdenv, fetchurl, zlib, bzip2, expat, pkgconfig, cluceneCore, cluceneContrib, |
||||
qt, cmake, dbus, libxml2 }: |
||||
|
||||
stdenv.mkDerivation { |
||||
name = "strigi-0.5.1"; |
||||
|
||||
src = fetchurl { |
||||
url = ftp://ftp.chg.ru/pub/sourceforge/s/st/strigi/strigi-0.5.1.tar.bz2; |
||||
sha256 = "0n9ffqxdmz6ibki8rmac298z27937jddp7khmg2q8p15pnl5dq7i"; |
||||
}; |
||||
|
||||
patchPhase="sed -e 's/ iconv / /' -i ../cmake/FindIconv.cmake; |
||||
export CLUCENE_HOME=${cluceneCore}"; |
||||
buildInputs = [zlib cluceneCore cluceneContrib expat bzip2 pkgconfig qt cmake |
||||
stdenv.gcc.libc dbus libxml2]; |
||||
|
||||
meta = { |
||||
description = "Strigi is a fast and light desktop search engine"; |
||||
}; |
||||
} |
@ -0,0 +1,54 @@ |
||||
addCMakeParamsInclude() |
||||
{ |
||||
if [ -d $1/include ]; then |
||||
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}${CMAKE_INCLUDE_PATH:+:}$1/include" |
||||
fi |
||||
} |
||||
|
||||
addCMakeParamsLibs() |
||||
{ |
||||
if [ -d $1/lib ]; then |
||||
export CMAKE_LIBRARY_PATH="${CMAKE_LIBRARY_PATH}${CMAKE_LIBRARY_PATH:+:}$1/lib" |
||||
fi |
||||
} |
||||
|
||||
fixCmake() |
||||
{ |
||||
echo "fixing Cmake file $i" |
||||
sed -e 's@/usr@/FOO@g' -e 's@ /\(bin\|sbin\|lib\)@ /FOO@g' -i $i |
||||
} |
||||
|
||||
fixCmakeFiles() |
||||
{ |
||||
for i in $(find $1 -type f -name "*.cmake"); do |
||||
fixCmake $i; |
||||
done; |
||||
} |
||||
|
||||
cmakePostUnpack() |
||||
{ |
||||
sourceRoot=$sourceRoot/build |
||||
mkdir -v $sourceRoot |
||||
echo source root reset to $sourceRoot |
||||
|
||||
if [ -z "$dontFixCmake" ]; then |
||||
fixCmakeFiles . |
||||
fi |
||||
} |
||||
|
||||
cmakeTweaks() |
||||
{ |
||||
postUnpack="cmakePostUnpack${postUnpack:+; }${postUnpack}" |
||||
|
||||
if [ -z "$configureScript" ]; then |
||||
dontAddPrefix=1 |
||||
configureScript="cmake .." |
||||
configureFlags="-DCMAKE_INSTALL_PREFIX=$out $configureFlags" |
||||
fi |
||||
} |
||||
|
||||
if [ -z "$noCmakeTewaks" ]; then |
||||
cmakeTweaks |
||||
fi; |
||||
|
||||
envHooks=(${envHooks[@]} addCMakeParamsInclude addCMakeParamsLibs) |
Loading…
Reference in new issue