Merge ^/nixpkgs/trunk
svn tried to change libpng/default.nix version, I've changed libpng/12.nix version manually. svn path=/nixpkgs/branches/libpng15/; revision=32395
This commit is contained in:
commit
5c6a3faf4e
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
|
{ stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
|
||||||
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
|
, libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
|
||||||
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
|
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
|
||||||
, gsl, python, pyxml, lxml, poppler }:
|
, gsl, python, pyxml, lxml, poppler, imagemagick, libwpg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "inkscape-0.48.2";
|
name = "inkscape-0.48.2";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "10v7ixdz7f8vgk2wv0m81zli9p0f446cm1f4aqlvni1ndsx44fi2";
|
sha256 = "10v7ixdz7f8vgk2wv0m81zli9p0f446cm1f4aqlvni1ndsx44fi2";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./configure-python-libs.patch ];
|
patches = [ ./configure-python-libs.patch ./libpng-1.5.patch ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
# Python is used at run-time to execute scripts, e.g., those from
|
# Python is used at run-time to execute scripts, e.g., those from
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig perl perlXMLParser gtk libXft libpng zlib popt boehmgc
|
pkgconfig perl perlXMLParser gtk libXft libpng zlib popt boehmgc
|
||||||
libxml2 libxslt glib gtkmm glibmm libsigcxx lcms boost gettext
|
libxml2 libxslt glib gtkmm glibmm libsigcxx lcms boost gettext
|
||||||
makeWrapper intltool gsl poppler
|
makeWrapper intltool gsl poppler imagemagick libwpg
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = "--with-python";
|
configureFlags = "--with-python";
|
||||||
|
47
pkgs/applications/graphics/inkscape/libpng-1.5.patch
Normal file
47
pkgs/applications/graphics/inkscape/libpng-1.5.patch
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
Source: upstream revisions 10061 and 10707
|
||||||
|
|
||||||
|
--- a/src/sp-image.cpp 2011-02-21 07:59:34 +0000
|
||||||
|
+++ b/src/sp-image.cpp 2011-02-21 08:57:28 +0000
|
||||||
|
@@ -387,9 +387,13 @@
|
||||||
|
|
||||||
|
#if defined(PNG_iCCP_SUPPORTED)
|
||||||
|
{
|
||||||
|
- char* name = 0;
|
||||||
|
+ png_charp name = 0;
|
||||||
|
int compression_type = 0;
|
||||||
|
- char* profile = 0;
|
||||||
|
+#if (PNG_LIBPNG_VER < 10500)
|
||||||
|
+ png_charp profile = 0;
|
||||||
|
+#else
|
||||||
|
+ png_bytep profile = 0;
|
||||||
|
+#endif
|
||||||
|
png_uint_32 proflen = 0;
|
||||||
|
if ( png_get_iCCP(pngPtr, infoPtr, &name, &compression_type, &profile, &proflen) ) {
|
||||||
|
// g_message("Found an iCCP chunk named [%s] with %d bytes and comp %d", name, proflen, compression_type);
|
||||||
|
|
||||||
|
--- a/src/extension/internal/pdfinput/svg-builder.cpp 2011-10-27 04:55:51 +0000
|
||||||
|
+++ b/src/extension/internal/pdfinput/svg-builder.cpp 2011-10-29 20:34:00 +0000
|
||||||
|
@@ -1481,7 +1481,7 @@
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
// Set error handler
|
||||||
|
- if (setjmp(png_ptr->jmpbuf)) {
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||||
|
png_destroy_write_struct(&png_ptr, &info_ptr);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
--- a/src/helper/png-write.cpp 2011-08-07 10:53:12 +0000
|
||||||
|
+++ b/src/helper/png-write.cpp 2011-10-29 20:34:00 +0000
|
||||||
|
@@ -166,8 +166,8 @@
|
||||||
|
/* Set error handling. REQUIRED if you aren't supplying your own
|
||||||
|
* error hadnling functions in the png_create_write_struct() call.
|
||||||
|
*/
|
||||||
|
- if (setjmp(png_ptr->jmpbuf)) {
|
||||||
|
- /* If we get here, we had a problem reading the file */
|
||||||
|
+ if (setjmp(png_jmpbuf(png_ptr))) {
|
||||||
|
+ // If we get here, we had a problem reading the file
|
||||||
|
fclose(fp);
|
||||||
|
png_destroy_write_struct(&png_ptr, &info_ptr);
|
||||||
|
return false;
|
||||||
|
|
@ -1,12 +1,12 @@
|
|||||||
{ stdenv, fetchurl, unzip, xulrunner, makeWrapper }:
|
{ stdenv, fetchurl, unzip, xulrunner, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "chatzilla-0.9.87";
|
name = "chatzilla-0.9.88";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# Obtained from http://chatzilla.rdmsoft.com/xulrunner/.
|
# Obtained from http://chatzilla.rdmsoft.com/xulrunner/.
|
||||||
url = http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.87-xr.zip;
|
url = "http://chatzilla.rdmsoft.com/xulrunner/download/${name}-xr.zip";
|
||||||
sha256 = "1qwbqngrxyip3k2b71adg271sifvrrxcixkyrsy4vmgl5bwdsl4d";
|
sha256 = "041jpjl7wnbhqm2f8bf2pwp6igjapmy74swac94h54n644wl5nz0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip makeWrapper ];
|
buildInputs = [ unzip makeWrapper ];
|
||||||
|
@ -8,15 +8,12 @@
|
|||||||
* for a possible solution.
|
* for a possible solution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
name = "gnucash-2.4.8";
|
name = "gnucash-2.4.10";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
|
url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
|
||||||
sha256 = "06gfgw4sq1b8c9qzinyd3wmcy3i0jyprngr259l0aldv8rvix8aa";
|
sha256 = "1k76b6hnsmljggxsq5l9w94krfmhx58ij8jcxf72p0ddnlimdrjj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -44,7 +41,7 @@ stdenv.mkDerivation {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# The following settings fix failures in the test suite. It's not required otherwise.
|
# The following settings fix failures in the test suite. It's not required otherwise.
|
||||||
NIX_LDFLAGS = "-rpath=${guile}/lib";
|
NIX_LDFLAGS = "-rpath=${guile}/lib -rpath=${glib}/lib";
|
||||||
preCheck = "export GNC_DOT_DIR=$PWD/dot-gnucash";
|
preCheck = "export GNC_DOT_DIR=$PWD/dot-gnucash";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
@ -1,27 +1,21 @@
|
|||||||
{stdenv, fetchurl, lib, pkgconfig, freetype, pango, libpng, libtiff, giflib, libjpeg}:
|
{stdenv, fetchurl, pkgconfig, freetype, pango, libpng, libtiff, giflib
|
||||||
|
, libjpeg, netpbm}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "xplanet-1.2.1";
|
name = "xplanet-1.2.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/xplanet/xplanet-1.2.1.tar.gz;
|
url = "mirror://sourceforge/xplanet/${name}.tar.gz";
|
||||||
sha256 = "1pp55a1rgjkfcrwc00y3l48fhpqcp3qagd1zbym6zg27fzi5fbgm";
|
sha256 = "1jnkrly9njkibxqbg5im4pq9cqjzwmki6jzd318dvlfmnicqr3vg";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
buildInputs = [ pkgconfig freetype pango libpng libtiff giflib libjpeg netpbm ];
|
||||||
[ # Build on GCC 4.4.
|
|
||||||
(fetchurl {
|
|
||||||
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/x11-misc/xplanet/files/xplanet-1.2.1-gentoo.patch?rev=1.1";
|
|
||||||
sha256 = "0mmagjizj4hj057qmpi45w95zlrqda32x96xy44f6126xzj02yd5";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ pkgconfig freetype pango libpng libtiff giflib libjpeg ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Renders an image of the earth or other planets into the X root window";
|
description = "Renders an image of the earth or other planets into the X root window";
|
||||||
homepage = http://xplanet.sourceforge.net;
|
homepage = http://xplanet.sourceforge.net;
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
maintainers = [ lib.maintainers.sander ];
|
maintainers = [ stdenv.lib.maintainers.sander stdenv.lib.maintainers.urkud ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ callPackage, callPackageOrig, stdenv, qt47 }:
|
{ callPackage, callPackageOrig, stdenv, qt48 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
release = "4.7.4";
|
release = "4.7.4";
|
||||||
@ -44,7 +44,7 @@ kde.modules // kde.individual //
|
|||||||
|
|
||||||
akonadi = callPackage ./support/akonadi { };
|
akonadi = callPackage ./support/akonadi { };
|
||||||
|
|
||||||
qt4 = qt47;
|
qt4 = qt48;
|
||||||
|
|
||||||
kdebase_workspace = kde.modules.kde_workspace;
|
kdebase_workspace = kde.modules.kde_workspace;
|
||||||
|
|
||||||
@ -52,5 +52,8 @@ kde.modules // kde.individual //
|
|||||||
|
|
||||||
full = stdenv.lib.attrValues kde.modules;
|
full = stdenv.lib.attrValues kde.modules;
|
||||||
|
|
||||||
l10n = callPackage ./l10n { inherit release; };
|
l10n = callPackage ./l10n {
|
||||||
|
inherit release;
|
||||||
|
inherit (kde.manifest) stable;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
17
pkgs/desktops/kde-4.7/files/kde-wallpapers-buildsystem.patch
Normal file
17
pkgs/desktops/kde-4.7/files/kde-wallpapers-buildsystem.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 3d3e247..f78db67 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,5 +1,10 @@
|
||||||
|
-find_package(KDE4 REQUIRED)
|
||||||
|
-include(KDE4Defaults)
|
||||||
|
+project(kde-wallpapers NONE)
|
||||||
|
+if( WALLPAPER_INSTALL_DIR )
|
||||||
|
+ message(STATUS "Installing wallpapers to user-supplied directory ${WALLPAPER_INSTALL_DIR}")
|
||||||
|
+else()
|
||||||
|
+ find_package(KDE4 REQUIRED)
|
||||||
|
+ include(KDE4Defaults)
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
install(DIRECTORY Air DESTINATION ${WALLPAPER_INSTALL_DIR} PATTERN .svn EXCLUDE)
|
||||||
|
|
@ -1,8 +1,11 @@
|
|||||||
{ kde, kdelibs }:
|
{ kde, cmake }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
buildNativeInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ kdelibs ];
|
patches = [ ./files/kde-wallpapers-buildsystem.patch ];
|
||||||
|
|
||||||
|
cmakeFlags = "-DWALLPAPER_INSTALL_DIR=share/wallpapers";
|
||||||
|
|
||||||
outputHashAlgo = "sha256";
|
outputHashAlgo = "sha256";
|
||||||
outputHashMode = "recursive";
|
outputHashMode = "recursive";
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies,
|
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, shared_desktop_ontologies,
|
||||||
lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate,
|
lm_sensors, pciutils, libraw1394, libusb, libxklavier, python, libqalculate,
|
||||||
consolekit, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi,
|
consolekit, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison, akonadi,
|
||||||
pykde4
|
pykde4, libjpeg, pkgconfig, libXft, libXxf86misc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ kdelibs qimageblitz libdbusmenu_qt pykde4
|
[ kdelibs qimageblitz libdbusmenu_qt pykde4 libjpeg libXft libXxf86misc
|
||||||
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
xorg.libxkbfile xorg.libXcomposite xorg.libXScrnSaver xorg.libXtst
|
||||||
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
xorg.libXcomposite xorg.libXdamage xorg.libXau xorg.libXdmcp
|
||||||
xorg.libpthreadstubs
|
xorg.libpthreadstubs
|
||||||
@ -15,6 +15,8 @@ kde {
|
|||||||
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
libusb python libqalculate consolekit kdepimlibs pam prison akonadi
|
||||||
];
|
];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
# Fix incorrect path to kde4-config.
|
# Fix incorrect path to kde4-config.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ kde, kdelibs, libXtst }:
|
{ kde, kdelibs, libXtst, libXt }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs libXtst ];
|
buildInputs = [ kdelibs libXtst libXt ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A program that clicks the mouse for you";
|
description = "A program that clicks the mouse for you";
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2 }:
|
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2, libXt, pkgconfig }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 ];
|
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 libXt ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
preConfigure = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
preConfigure = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
||||||
|
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
{ kde, kdelibs, qca2, twisted, pythonPackages, sip, makeWrapper, pykde4,
|
{ kde, kdelibs, qca2, twisted, pythonPackages, sip, makeWrapper, pykde4,
|
||||||
openal, libsndfile, qhull }:
|
openal, libsndfile, qhull, sqlite, pkgconfig }:
|
||||||
|
|
||||||
kde rec {
|
kde rec {
|
||||||
buildInputs = [ kdelibs qca2 pythonPackages.python pythonPackages.wrapPython
|
buildInputs = [ kdelibs qca2 pythonPackages.python pythonPackages.wrapPython
|
||||||
openal libsndfile qhull ] ++ pythonPath;
|
openal libsndfile qhull sqlite ] ++ pythonPath;
|
||||||
|
|
||||||
pythonPath = [ pythonPackages.twisted pykde4 ];
|
pythonPath = [ pythonPackages.twisted pykde4 ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
# TODO: ggz
|
# TODO: ggz
|
||||||
|
|
||||||
postInstall = "wrapPythonPrograms";
|
postInstall = "wrapPythonPrograms";
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi }:
|
{ kde, kdelibs, exiv2, shared_desktop_ontologies, kde_baseapps, libkipi
|
||||||
|
, libjpeg, pkgconfig }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi ];
|
[ kdelibs exiv2 shared_desktop_ontologies kde_baseapps libkipi libjpeg ];
|
||||||
|
|
||||||
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Gwenview, the KDE image viewer";
|
description = "Gwenview, the KDE image viewer";
|
||||||
|
@ -11,7 +11,7 @@ kde {
|
|||||||
[
|
[
|
||||||
acl attr attica avahi bzip2 enchant fam getopt giflib herqq jasper
|
acl attr attica avahi bzip2 enchant fam getopt giflib herqq jasper
|
||||||
libdbusmenu_qt libXScrnSaver libxslt pcre polkit_qt_1 qca2
|
libdbusmenu_qt libXScrnSaver libxslt pcre polkit_qt_1 qca2
|
||||||
shared_desktop_ontologies udev xz libxml2 libjpeg
|
shared_desktop_ontologies udev xz libxml2 libjpeg kerberos
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ qt4 soprano strigi phonon ];
|
propagatedBuildInputs = [ qt4 soprano strigi phonon ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ kde, alsaLib, libvorbis, taglib, flac, cdparanoia, lame, kdelibs, ffmpeg,
|
{ kde, alsaLib, libvorbis, taglib, flac, cdparanoia, lame, kdelibs, ffmpeg,
|
||||||
libmusicbrainz3, libtunepimp }:
|
libmusicbrainz3, libtunepimp, pulseaudio }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
|
|
||||||
@ -7,7 +7,8 @@ kde {
|
|||||||
# Note: kdemultimedia can use xine-lib, but it doesn't seem useful
|
# Note: kdemultimedia can use xine-lib, but it doesn't seem useful
|
||||||
# without the Phonon Xine backend.
|
# without the Phonon Xine backend.
|
||||||
[ kdelibs cdparanoia taglib libvorbis libmusicbrainz3 libtunepimp ffmpeg
|
[ kdelibs cdparanoia taglib libvorbis libmusicbrainz3 libtunepimp ffmpeg
|
||||||
flac lame ];
|
flac lame pulseaudio
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "KDE multimedia programs such as a movie player and volume utility";
|
description = "KDE multimedia programs such as a movie player and volume utility";
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{ kde, kdelibs, libktorrent, kde_workspace, kdepimlibs,
|
{ kde, kdelibs, libktorrent, kde_workspace, kdepimlibs, sqlite
|
||||||
shared_desktop_ontologies, kde_baseapps, gpgme, boost, libmms, qca2 }:
|
, shared_desktop_ontologies, kde_baseapps, gpgme, boost, libmms, qca2 }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ kdelibs libktorrent kde_workspace shared_desktop_ontologies kdepimlibs
|
[ kdelibs libktorrent kde_workspace shared_desktop_ontologies kdepimlibs
|
||||||
kde_baseapps gpgme boost libmms qca2
|
kde_baseapps gpgme boost libmms qca2 sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
KDEDIRS = libktorrent;
|
KDEDIRS = libktorrent;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ kde, kdelibs, speex, libmsn, libotr, kdepimlibs, qimageblitz, libktorrent,
|
{ kde, kdelibs, speex, libmsn, libotr, kdepimlibs, qimageblitz, libktorrent,
|
||||||
jasper, libidn, mediastreamer, msilbc, pkgconfig, libxml2, libxslt, giflib,
|
jasper, libidn, mediastreamer, msilbc, pkgconfig, libxml2, libxslt, giflib,
|
||||||
libgadu, boost, qca2, gpgme }:
|
libgadu, boost, qca2, gpgme, sqlite }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs speex libmsn libotr kdepimlibs qimageblitz libktorrent
|
buildInputs = [ kdelibs speex libmsn libotr kdepimlibs qimageblitz libktorrent
|
||||||
jasper libidn mediastreamer msilbc libxml2 libxslt giflib libgadu boost qca2
|
jasper libidn mediastreamer msilbc libxml2 libxslt giflib libgadu boost qca2
|
||||||
gpgme ];
|
gpgme sqlite ];
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ kde, kdelibs, libvncserver }:
|
{ kde, kdelibs, libvncserver, libjpeg }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs libvncserver ];
|
buildInputs = [ kdelibs libvncserver libjpeg ];
|
||||||
|
|
||||||
patches = [ ./kdenetwork.patch ];
|
patches = [ ./kdenetwork.patch ];
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, kdelibs, gettext, release }:
|
{ stdenv, fetchurl, kdelibs, gettext, release, stable }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ let
|
|||||||
name = "kde-l10n-${saneName}-${release}";
|
name = "kde-l10n-${saneName}-${release}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kde/stable/${release}/src/kde-l10n/kde-l10n-${lang}-${release}.tar.bz2";
|
url = "mirror://kde/${if stable then "" else "un"}stable/${release}/src/kde-l10n/kde-l10n-${lang}-${release}.tar.bz2";
|
||||||
name = "${name}.tar.bz2";
|
name = "${name}.tar.bz2";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
24
pkgs/development/libraries/bullet/default.nix
Normal file
24
pkgs/development/libraries/bullet/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{stdenv, fetchurl, unzip, cmake}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "bullet-2.78";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://bullet.googlecode.com/files/bullet-2.78.zip";
|
||||||
|
sha256 = "10l2dclvv0di9mi9qp6xfy9vybx182xp2dyygabacrpr3p75s77k";
|
||||||
|
};
|
||||||
|
buildInputs = [ unzip cmake ];
|
||||||
|
configurePhase = ''
|
||||||
|
cmake -DBUILD_SHARED_LIBS=ON -DBUILD_EXTRAS=OFF -DBUILD_DEMOS=OFF .
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A professional free 3D Game Multiphysics Library";
|
||||||
|
longDescription = ''
|
||||||
|
Bullet 3D Game Multiphysics Library provides state of the art collision
|
||||||
|
detection, soft body and rigid body dynamics.
|
||||||
|
'';
|
||||||
|
homepage = http://code.google.com/p/bullet/;
|
||||||
|
license = stdenv.lib.licenses.zlib;
|
||||||
|
maintainers = [ "Alexander Foremny <alexanderforemny@googlemail.com>" ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ruby, qt4, pkgconfig, libsamplerate, fftwSinglePrec }:
|
{ stdenv, fetchurl, ruby, qt4, pkgconfig, libsamplerate, fftwSinglePrec, which }:
|
||||||
|
|
||||||
let version = "0.3.3"; in
|
let version = "0.3.3"; in
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
prefixKey = "--prefix ";
|
prefixKey = "--prefix ";
|
||||||
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
|
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
|
||||||
buildNativeInputs = [ ruby pkgconfig ];
|
buildNativeInputs = [ ruby pkgconfig which ];
|
||||||
|
|
||||||
configureFlags = "--release";
|
configureFlags = "--release";
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
assert zlib != null;
|
assert zlib != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libpng-1.2.46";
|
name = "libpng-1.2.47";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/libpng/${name}.tar.xz";
|
url = "mirror://sourceforge/libpng/${name}.tar.xz";
|
||||||
sha256 = "0rcx4v4khdkrvz7b02fmx7lab2pk1lal4dhx9widv36b7g2xvwzn";
|
sha256 = "1lai3dnzw81y40jr17bdj1qh08hwv9mc1v74yybl7jdx2hiilsvx";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ zlib ];
|
propagatedBuildInputs = [ zlib ];
|
||||||
|
@ -8793,4 +8793,6 @@ let
|
|||||||
|
|
||||||
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
|
misc = import ../misc/misc.nix { inherit pkgs stdenv; };
|
||||||
|
|
||||||
|
bullet = callPackage ../development/libraries/bullet {};
|
||||||
|
|
||||||
}; in pkgs
|
}; in pkgs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user