···11+# - Try to find Libfacile
22+# Once done this will define
33+#
44+# LIBFACILE_FOUND - system has Libfacile
55+# LIBFACILE_INCLUDE_DIR - the Libfacile include directory
66+# LIBFACILE_LIBRARIES - Link these to use Libfacile
77+#
88+# Copyright (c) 2006, Carsten Niehaus, <cniehaus@gmx.de>
99+# Copyright (c) 2006, Montel Laurent, <montel@kde.org>
1010+# Redistribution and use is allowed according to the terms of the BSD license.
1111+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
1212+1313+1414+find_package(OCaml)
1515+1616+if( OCAML_FOUND )
1717+ find_library(LIBFACILE_LIBRARIES NAMES facile.a
1818+ HINTS ${OCAMLC_DIR}
1919+ PATH_SUFFIXES facile ocaml/facile
2020+ )
2121+ find_path(LIBFACILE_INCLUDE_DIR NAMES facile.cmi
2222+ HINTS ${OCAMLC_DIR}
2323+ PATH_SUFFIXES facile lib/ocaml/facile
2424+ )
2525+endif(OCAML_FOUND)
2626+2727+include(FindPackageHandleStandardArgs)
2828+find_package_handle_standard_args(Libfacile DEFAULT_MSG LIBFACILE_INCLUDE_DIR
2929+ LIBFACILE_LIBRARIES OCAML_FOUND)
3030+3131+# show the LIBFACILE_INCLUDE_DIR and LIBFACILE_LIBRARIES variables only in the advanced view
3232+mark_as_advanced(LIBFACILE_INCLUDE_DIR LIBFACILE_LIBRARIES )
+8
pkgs/desktops/kde-4.8/kdeedu/analitza.nix
···11+{ kde, kdelibs, readline }:
22+kde {
33+ buildInputs = [ kdelibs readline ];
44+55+ meta = {
66+ description = "Library part of KAlgebra";
77+ };
88+}
···11+{ kde, kdelibs }:
22+33+kde {
44+ buildInputs = [ kdelibs ];
55+66+ meta = {
77+ description = "A program to view the differences between files and optionally generate a diff";
88+ };
99+}
+9
pkgs/desktops/kde-4.8/kdesdk/kpartloader.nix
···11+{ kde, kdelibs }:
22+33+kde {
44+ buildInputs = [ kdelibs ];
55+66+ meta = {
77+ description = "A test application for KParts";
88+ };
99+}
+9
pkgs/desktops/kde-4.8/kdesdk/kprofilemethod.nix
···11+{ kde, kdelibs }:
22+33+kde {
44+ buildInputs = [ kdelibs ];
55+66+ meta = {
77+ description = "A macro for profiling using QTime";
88+ };
99+}
+9
pkgs/desktops/kde-4.8/kdesdk/kstartperf.nix
···11+{ kde, kdelibs, libtool }:
22+33+kde {
44+ buildInputs = [ kdelibs libtool ];
55+66+ meta = {
77+ description = "Measures start up time of a KDE application";
88+ };
99+}
···11+{ kde, kdelibs }:
22+33+kde {
44+ buildInputs = [ kdelibs ];
55+66+ meta = {
77+ description = "KDE creature for your desktop";
88+ };
99+}
+9
pkgs/desktops/kde-4.8/kdetoys/kteatime.nix
···11+{ kde, kdelibs }:
22+33+kde {
44+ buildInputs = [ kdelibs ];
55+66+ meta = {
77+ description = "KDE utility for making a fine cup of tea";
88+ };
99+}
···11-{ stdenv, fetchurl, pkgconfig, gettext, perl }:
22-33-stdenv.mkDerivation rec {
44- name = "glib-2.20.1";
55-66- src = fetchurl {
77- url = "mirror://gnome/sources/glib/2.20/${name}.tar.bz2";
88- sha256 = "0ndgshcqzpj3piwmag3vrsv3rg4pnr12y70knl7z0k2i03cy5bav";
99- };
1010-1111- buildNativeInputs = [perl];
1212- buildInputs = [pkgconfig gettext];
1313-1414- # The nbd package depends on a static version of this library; hence
1515- # the default configure flag --disable-static is switched off.
1616- dontDisableStatic = true;
1717- configureFlags = "--enable-static --enable-shared";
1818-1919- meta = {
2020- description = "GLib, a C library of programming buildings blocks";
2121-2222- longDescription = ''
2323- GLib provides the core application building blocks for libraries
2424- and applications written in C. It provides the core object
2525- system used in GNOME, the main loop implementation, and a large
2626- set of utility functions for strings and common data structures.
2727- '';
2828-2929- homepage = http://www.gtk.org/;
3030-3131- license = "LGPLv2+";
3232- };
3333-}
-39
pkgs/development/libraries/gtk+/2.16.x.nix
···11-{ stdenv, fetchurl, pkgconfig, perl, jasper, x11, glib, atk, pango
22-, libtiff, libjpeg, libpng, cairo, xlibs
33-, xineramaSupport ? true
44-}:
55-66-stdenv.mkDerivation rec {
77- name = "gtk+-2.16.2";
88-99- src = fetchurl {
1010- url = "mirror://gnome/sources/gtk+/2.16/${name}.tar.bz2";
1111- sha256 = "07gdsl3ialpwfcd0z3w108r60dn0agj12s21fpkpcx44lzknnbm3";
1212- };
1313-1414- buildNativeInputs = [ perl ];
1515- buildInputs = [ pkgconfig jasper ];
1616-1717- propagatedBuildInputs = [
1818- x11 glib atk pango libtiff libjpeg libpng cairo xlibs.libXrandr
1919- ] ++ stdenv.lib.optional xineramaSupport xlibs.libXinerama;
2020-2121- meta = {
2222- description = "A multi-platform toolkit for creating graphical user interfaces";
2323-2424- longDescription = ''
2525- GTK+ is a highly usable, feature rich toolkit for creating
2626- graphical user interfaces which boasts cross platform
2727- compatibility and an easy to use API. GTK+ it is written in C,
2828- but has bindings to many other popular programming languages
2929- such as C++, Python and C# among others. GTK+ is licensed
3030- under the GNU LGPL 2.1 allowing development of both free and
3131- proprietary software with GTK+ without any license fees or
3232- royalties.
3333- '';
3434-3535- homepage = http://www.gtk.org/;
3636-3737- license = "LGPLv2+";
3838- };
3939-}
···11-{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
22-33-stdenv.mkDerivation rec {
44- name = "pango-1.24.1";
55-66- src = fetchurl {
77- url = "mirror://gnome/sources/pango/1.24/${name}.tar.bz2";
88- sha256 = "1cls9cbk6sx81101gh2pkiri8v14shqpvy37cydbh8scs4yk8370";
99- };
1010-1111- buildInputs = [pkgconfig] ++ (if stdenv.system == "i686-darwin" then [gettext] else []);
1212-1313- propagatedBuildInputs = [x11 glib cairo libpng];
1414-1515- meta = {
1616- description = "A library for laying out and rendering of text, with an emphasis on internationalization";
1717-1818- longDescription = ''
1919- Pango is a library for laying out and rendering of text, with an
2020- emphasis on internationalization. Pango can be used anywhere
2121- that text layout is needed, though most of the work on Pango so
2222- far has been done in the context of the GTK+ widget toolkit.
2323- Pango forms the core of text and font handling for GTK+-2.x.
2424- '';
2525-2626- homepage = http://www.pango.org/;
2727- license = "LGPLv2+";
2828- };
2929-}
···11-{stdenv, fetchurl, zlib, bzip2, xz, m4}:
11+{stdenv, fetchurl, m4, zlib, bzip2, xz, bison, flex, gettext}:
2233# TODO: Look at the hardcoded paths to kernel, modules etc.
44stdenv.mkDerivation rec {
···1313 sha256 = "19mlgxyzcwiv64ynj2cibgkiw4qkm3n37kizvy6555dsmlaqfybq";
1414 };
15151616- buildInputs = [ zlib bzip2 xz ];
1616+ patches = [
1717+ (fetchurl {
1818+ url = https://fedorahosted.org/releases/e/l/elfutils/0.152/elfutils-portability.patch;
1919+ sha256 = "0q318w4cvvqv9ps4xcwphapj1gl31isgjyya4y9sm72qj68n61p0";
2020+ }) ];
2121+2222+ # We need bzip2 in NativeInputs because otherwise we can't unpack the src,
2323+ # as the host-bzip2 will be in the path.
2424+ buildNativeInputs = [m4 bison flex gettext bzip2];
2525+ buildInputs = [zlib bzip2 xz];
2626+2727+ crossAttrs = {
2828+2929+ /* Having bzip2 will harm, because anything using elfutils
3030+ as buildInput cross-building, will not be able to run 'bzip2' */
3131+ propagatedBuildInputs = [ zlib.hostDrv ];
17321818- buildNativeInputs = [m4];
3333+ # This program does not cross-build fine. So I only cross-build some parts
3434+ # I need for the linux perf tool.
3535+ # On the awful cross-building:
3636+ # http://comments.gmane.org/gmane.comp.sysutils.elfutils.devel/2005
3737+ #
3838+ # I wrote this testing for the nanonote.
3939+ buildPhase = ''
4040+ pushd libebl
4141+ make
4242+ popd
4343+ pushd libelf
4444+ make
4545+ popd
4646+ pushd libdwfl
4747+ make
4848+ popd
4949+ pushd libdw
5050+ make
5151+ popd
5252+ '';
5353+5454+ installPhase = ''
5555+ pushd libelf
5656+ make install
5757+ popd
5858+ pushd libdwfl
5959+ make install
6060+ popd
6161+ pushd libdw
6262+ make install
6363+ popd
6464+ cp version.h $out/include
6565+ '';
6666+ };
19672068 dontAddDisableDepTrack = true;
2169
···2626 done
2727 chmod +w -R *
2828 sed -i -e 's/console=ttyS0,57600n8//' include/configs/qi_lb60.h
2929+ # Load more than 2MiB for the kernel
3030+ sed -i -e 's/0x200000;bootm/0x400000;bootm/' include/configs/qi_lb60.h
2931 '';
30323133 # Remove the cross compiler prefix, and add reiserfs support