Commit graph

98 commits

Author SHA1 Message Date
Eelco Dolstra
6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00
Ludovic Courtès
c1cd5e04af Ant: Fix typo.
svn path=/nixpkgs/trunk/; revision=21991
2010-05-26 15:10:24 +00:00
Ludovic Courtès
c228b1a957 Ant/GCJ: Clean up.
svn path=/nixpkgs/trunk/; revision=21990
2010-05-26 14:53:13 +00:00
Peter Simons
fd8c6ae43d Moved 'maintainers' attribute into the meta section of the expression.
I've also set the 'platforms' attribute to ensure that Hydra actually
builds these packages. Thanks to Lluís Batlle i Rossell for pointing out
these mistakes.

svn path=/nixpkgs/trunk/; revision=21688
2010-05-09 16:01:44 +00:00
Marc Weber
8d9af6d596 patch provided by David Brown adding simple-build-tool which builds Scala packages
svn path=/nixpkgs/trunk/; revision=21671
2010-05-08 21:51:47 +00:00
Peter Simons
69857a11c7 pkgs/development/tools/build-managers/scons: bumped to version 1.3.0
svn path=/nixpkgs/trunk/; revision=21025
2010-04-12 11:21:22 +00:00
Lluís Batlle i Rossell
bc54fc96da Updating cmake. Big kde rebuild to come.
svn path=/nixpkgs/trunk/; revision=20996
2010-04-09 16:04:11 +00:00
Lluís Batlle i Rossell
4a6cfd435e Removing a part of the cmake setup-hook that broke at least the findqt4 cmake module.
That way, we don't need the patch anymore to fix what that part broke.

Also kde stops needing the findqt4 patch (for its own copy of the findqt4 cmake module).

I tested a nixos-rebuild with kde4, and it builds as far as hydra built with this configuration.

svn path=/nixpkgs/trunk/; revision=20921
2010-04-01 18:19:44 +00:00
Marc Weber
1d5910bb94 add Gradle 0.8
patch provided by Francois Perrad

svn path=/nixpkgs/trunk/; revision=20863
2010-03-29 23:36:35 +00:00
Rob Vermaas
e260b68122 added NIX_ANT_ARGS to ant wrapper
svn path=/nixpkgs/trunk/; revision=20334
2010-03-02 15:54:54 +00:00
Lluís Batlle i Rossell
e0ff817c40 Big kde-related update.
I updated cmake to use CMAKE_PREFIX_PATH instead of CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH.
There were some expressions in kde that required CMAKE_PREFIX_PATH, and now they are not anymore
a special case.
I updated most kde-4.4 files to point to kde-4.4.0 sources instead of 4.3.4 .

svn path=/nixpkgs/trunk/; revision=19965
2010-02-12 21:58:27 +00:00
Lluís Batlle i Rossell
9183f21f7e Merging from trunk.
I fixed conflicts regarding the renaming 'kernel' -> 'linux' in all-packages.
Also a small conflict in all-packages about making openssl overridable.
And I some linux 2.6.31-zen kernel files also marked in conflict.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19438
2010-01-14 14:49:31 +00:00
Ludovic Courtès
54322bbd02 BuildBot: Fix erroneous absolute paths.
svn path=/nixpkgs/trunk/; revision=19415
2010-01-13 21:34:50 +00:00
Rob Vermaas
5a787b0ab7 ant version 1.8.0RC1
svn path=/nixpkgs/trunk/; revision=19400
2010-01-13 15:20:24 +00:00
Ludovic Courtès
8670c51227 Merge the two BuildBot expressions.
svn path=/nixpkgs/trunk/; revision=19358
2010-01-11 17:00:46 +00:00
Lluís Batlle i Rossell
dae3eb2383 Merging from trunk.
I resolved two conflicts:
- cmake (trunk fixes + stdenv-updates cross-compiling)
- all-packages (trunk gcc-wrapper2 + stdenv-updates gcc44)


svn path=/nixpkgs/branches/stdenv-updates/; revision=18912
2009-12-12 18:39:09 +00:00
Lluís Batlle i Rossell
2dd9764a9e Major update to cmake, from 2.6.4 to 2.8.0.
I tried some kde4 builds, and the worked.

svn path=/nixpkgs/trunk/; revision=18890
2009-12-11 07:58:54 +00:00
Lluís Batlle i Rossell
f3c23487a2 Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild
stdenv.

In this gcc-wrapper2 I made the ld-wrapper.sh to handle the linking with shared
objects through direct pass as ld command arguments of the absolute path to shared
objects, instead of using the -L/-l combinations.

cmake 'FindXXX.cmake' modules make a strong usage of the dynamic linking directly
passing the absolute path to the shared object to the linker, and as our wrapper did
not add any -rpath for those, writting the nix expressions for some cmake packages
resulted in a lot of tricks, compared to using this gcc-wrapper2.

This gcc-wrapper2/ld-wrapper.sh should become the gcc-wrapper/ld-wrapper in a
stdenv update.

I also updated some cmake expressions to use this gcc-wrapper2, and reduced its
tricks.

I also updated the cmake setup-hook for it to make cmake not touch any rpath decided
at build time, when running the 'make install' of makefiles created by cmake.

svn path=/nixpkgs/trunk/; revision=18885
2009-12-10 22:19:52 +00:00
Lluís Batlle i Rossell
585ba8c27f Big fixes in the cross build:
- Before this changes, cflags and ldflags for the native and the cross compiler
  got mixed. Not all the gcc-wrapper/gcc-cross-wrapper variables are
  independant now, but enough, I think.
- Fixed the generic stdenv expression, which did a big mess on buildInputs and
  buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
  Maybe we should have a single stdenv and forget about the stdenvCross
  adapter - this could end in a stdenv a bit complex, but simpler than the
  generic stdenv + adapter.
- Added basic support in pkgconfig for cross-builds: a single PKG_CONFIG_PATH
  now works for both the cross and the native compilers, but I think this
  should work well for most cases I can think of.
- I tried to fix the guile expression to cross-biuld; guile is built, but not
  its manual, so the derivation still fails. Guile requires patching to
  cross-build, as far as I understnad.
- Made the glibcCross build to be done through the usage of a
  gcc-cross-wrapper over the gcc-cross-stage-static, instead of using it
  directly.
- Trying to make physfs (a neverball dependency) cross build.
- Updated the gcc expression to support building a cross compiler without getting
  derivation variables mixed with those of the stdenvCross.

svn path=/nixpkgs/branches/stdenv-updates/; revision=18534
2009-11-22 19:51:45 +00:00
Lluís Batlle i Rossell
57a544d59c Adding 'remake': a patched and modernized version of GNU make utility that adds
improved error reporting, the ability to trace execution in a comprehensible
way, and a debugger.

svn path=/nixpkgs/trunk/; revision=17744
2009-10-11 15:03:13 +00:00
Ludovic Courtès
a5945916f0 More Apache mirrors; use them for Ant.
svn path=/nixpkgs/trunk/; revision=17563
2009-10-01 09:07:09 +00:00
Ludovic Courtès
c1f7e5ff90 ant-gcj: Add missing file.
svn path=/nixpkgs/trunk/; revision=17402
2009-09-24 14:50:42 +00:00
Ludovic Courtès
18e946cb9d Add Apache Ant, built from source with GCJ.
svn path=/nixpkgs/trunk/; revision=17401
2009-09-24 14:49:15 +00:00
Peter Simons
2ec77fdc7e scons: don't overwrite a pre-existing PYTHONPATH in the wrapper
svn path=/nixpkgs/trunk/; revision=16342
2009-07-13 20:08:44 +00:00
Peter Simons
afa04f4576 Updated scons to version 1.2.0.
svn path=/nixpkgs/trunk/; revision=16111
2009-06-30 18:51:01 +00:00
Rob Vermaas
e89d4a39c6 * added checkstyle, pmd, jdepends.
* changed version of ant to 1.7

svn path=/nixpkgs/trunk/; revision=15995
2009-06-18 12:52:10 +00:00
Lluís Batlle i Rossell
94d2e57c62 Trying to fix the cmake-qt problems, fixing cmake's FindQt4. Paraview now builds beyond 25%, while
before it didn't. Through this commit I expect the build farm to try to build kde, and see
whether this way it builds without the unusual NIX_CFLAGS_COMPILE set in the qt setup-hook.

svn path=/nixpkgs/trunk/; revision=15838
2009-06-03 09:19:19 +00:00
Lluís Batlle i Rossell
07caf9a9bd Updated cmake
svn path=/nixpkgs/trunk/; revision=15807
2009-05-31 08:34:57 +00:00
Eelco Dolstra
f762b50991 * Another sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15269
2009-04-23 11:59:43 +00:00
Eelco Dolstra
6b9ccbaf78 * setup.sh: turn on nullglob globally.
* setup.sh: removed some obsolete features, specifically some that
  were only used by the old build farm.
* addToSearchPath: removed some parameters that weren't used
  anywhere.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15136
2009-04-18 22:22:51 +00:00
Peter Simons
047f6d20d5 Updated CMake to version 2.6.3.
svn path=/nixpkgs/trunk/; revision=15114
2009-04-17 13:48:22 +00:00
Peter Simons
2796d3a185 Updated fixCmakeFiles to handle file paths that contain whitespace.
svn path=/nixpkgs/trunk/; revision=15113
2009-04-17 13:48:11 +00:00
Eelco Dolstra
3593b97d63 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14557
2009-03-16 12:45:27 +00:00
Peter Simons
c8e6fa7dd6 cmake: added (low priority) expression for 2.6.3-rc-15.
svn path=/nixpkgs/trunk/; revision=14124
2009-02-19 14:41:51 +00:00
Eelco Dolstra
62fa1a418f * cmake setup hook: override the whole configurePhase rather than
setting a postUnpack hook.

svn path=/nixpkgs/trunk/; revision=14074
2009-02-13 14:43:01 +00:00
Eelco Dolstra
808bf6d34a * Make the nested output patch in GNU Make runtime configurable (by
setting the NIX_INDENT_MAKE variable; disabled by default) so we
  don't need a separate gnumakeNix package.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13807
2009-01-19 18:49:58 +00:00
Peter Simons
6fb297513a Committing Lluís Batlle's submissions from mailing list posting
<45219fb00901110456i6f21db35tbd1894eaea2146ff@mail.gmail.com>:

 * nixpkgs-ccrypt-1.7-new.patch
 * nixpkgs-cmake-add-ccmake.patch
 * nixpkgs-cpufrequtils-005-new.patch
 * nixpkgs-dwm-5.1-fix.patch
 * nixpkgs-freeimage-3.11.0-new.patch
 * nixpkgs-proxychains-3.1-new.patch
 * nixpkgs-psi-to-0.12.patch
 * nixpkgs-skype-to-2.0.0.72.patch
 * nixpkgs-truecrypt-6.1a-fix.patch
 * nixpkgs-vxl-1.11.0-new.patch
 * nixpkgs-xkb-popular-esperanto-symbols.patch
 * nixpkgs-xorg-via-video-fix.patch

svn path=/nixpkgs/trunk/; revision=13751
2009-01-12 21:12:07 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Peter Simons
6a051f96a2 Updated cmake to version 2.6.2.
svn path=/nixpkgs/trunk/; revision=13286
2008-11-13 21:05:01 +00:00
Peter Simons
85546a8e31 Updated scons and twisted; added buildbot.
* Updated scons to version 1.0.0. Also added appropriate makeWrapper calls to
   ensure that the python binary finds its library files.

 * Updated Twisted from 2.5 to 8.1.

 * Added an expression for buildbot.

svn path=/nixpkgs/trunk/; revision=12782
2008-09-01 15:11:09 +00:00
Eelco Dolstra
8f309bc83e * Add a meta attribute.
svn path=/nixpkgs/trunk/; revision=12415
2008-07-24 13:02:22 +00:00
Peter Simons
a16eebd0a6 Cosmetic, no functional change intended.
This patch moves curly braces to the end of the line, i.e.

  foo = { 
    ...
  };

instead of the previously used style:

  foo = 
  { 
    ...
  };

I commit this change hoping that my contributions to this project now conform
to the rules described in maintainers/docs/coding-conventions.txt so that the
self-appointed indention sheriff of the NixOS community can finally get off my
back and rest assured knowing that all i's are dotted and all t's are crossed.

svn path=/nixpkgs/trunk/; revision=12386
2008-07-18 20:11:25 +00:00
Ludovic Courtès
4793092374 GNU Make: Make `nix-log2xml' support optional.
One question remains: how to make the option available to the user.
`getConfig' is nice but useless as long as `useFromStdenv' prevails.

svn path=/nixpkgs/trunk/; revision=12311
2008-07-07 22:02:36 +00:00
Peter Simons
4842708ca1 scons: install library files in python's site-package directory
svn path=/nixpkgs/trunk/; revision=12179
2008-06-23 22:24:12 +00:00
Michael Raskin
8b90ef4690 Python must be propagatedBuildInputs now that they are using env
svn path=/nixpkgs/trunk/; revision=12158
2008-06-19 07:24:43 +00:00
Peter Simons
bc4f5932ad scons: updated to version 0.95.5 and added selectVersion dispatcher
Scons is not only a tool, it's also a python library. However, the
modules are installed in ~/.nix-profile/lib/scons-${version} -- not in
python's "site-packages" directory -- so python won't find the library
without further help. Maybe there should be a symlink in nix-profile? I
guess there should, but I didn't know how to write that into the
expression.

svn path=/nixpkgs/trunk/; revision=12157
2008-06-18 22:48:54 +00:00
Eelco Dolstra
fc5eebdf8b * Merged the stdenv branch
(https://svn.nixos.org/repos/nix/nixpkgs/branches/stdenv-updates
  -r10966:12061).

svn path=/nixpkgs/trunk/; revision=12073
2008-06-13 11:46:39 +00:00
Marc Weber
1f15a6abfd updated cmake to 2.6.0 (Pierre on #cmake told me it's almost compatible with 2.4) so I don't expect any trouble
svn path=/nixpkgs/trunk/; revision=11814
2008-05-11 14:52:09 +00:00
Eelco Dolstra
09ab596e0f * Remove calls to fail().
svn path=/nixpkgs/branches/stdenv-updates/; revision=11690
2008-04-23 07:34:20 +00:00
Tobias Hammerschmidt
7b9624cda6 doh!
svn path=/nixpkgs/trunk/; revision=11594
2008-04-11 22:10:44 +00:00