Always did this manually by putting -j8 into make flags, which i didn't commit,
as it obviously doesn't make sense to hardcode. However, this flag makes more
sense and obviously we need to avoid overriding buildPhase.
Which is enabled by default if neither pulseaudio or chromium.pulseaudio is
explicitly set. The reason is that chromium falls back to ALSA in case no
pulseaudio is available.
In addition it was necessary to patch media.gyp to ignore the array-out-of-
bounds warning.
This makes it easier to remember, as so far the naming wasn't quite consistent,
sometimes "use*", sometimes "enable*". So in using just use the feature name
itself, it should be pretty clear.
These libraries are heavily patched by the chromium project itself, so let's use
the bundled versions as those won't build anyway and also don't break functional
purity.
We also need to patch the compilation process, so it allows deprecated
declarations when building support for the cups backend. In addition, we also
need to add libgcrypt to dependencies as it's needed by the cups implementation.
This also separates gcrypt and gconf from the basic dependencies.
Unfortunately we cannot get rid of dbus_glib altogether, but maybe we want to
work on a patch to get rid of it? On the other hand it seems to be a TODO of the
chromium project itself, so let's wait and see.
Currently building fails with NSS, so we're using OpenSSL by default. And that's
why we want to make this configurable so if we manage to fix that build failure,
we could switch to using NSS by default.
This is mainly because of the patch to use OPENSSL_X509_CERT_FILE as a way to
specify the CA bundle. A browser which isn't able to verify SSL certificates
might be somewhat useless.
This is to make it more consistent with the naming of the package file and also
consistent with the build, as we're not using the Google branded version.
In addition the derivation attribute set now has a packageName value which can
be used to easily switch the binary names and paths, just in case we want to
switch to using "chrome" (or something entirely different) again.
There are still some libraries left, which we either need to patch or provide
more recent versions. Plus we're going to use openssl, as libnss doesn't want to
do proper SSL (let's debug this later).
If useSELinux is not set, enable seccomp mode by default and avoid building the
SUID helper sandbox at all. This involves a small patch which causes the
commandline arguments to be swapped: --disable-seccomp-sandbox to disable it,
while the option is active by default.
It fetches the latest version based on the bucketlist XML from
commondatastorage and generates a "source.nix" which contains an attribute set
about where to fetch the latest version.
The XML is parsed in a somewhat hackish way using sed, but as this is just an
updater, its okay and we don't want to break a fly on the wheel by employing a
full XML parser.
This only gets chromium to build so far, installation is missing by upstream, so
we need to manually copy the corresponding files. And I guess with nix, we also
need to patch a few paths on installation.
Another issue is that at the moment, a lot of dependencies are used from the
source tree, rather than from the system.
Also, it would be nice to build using LLVM, as it really speeds up compilation a
*LOT* and also has the side effect of resulting in smaller binaries.
Working unit tests would be nice, too. Unfortunately they're quite heavyweight
and take hours to run, so I guess "someday" would be the most appropriate time
to integrate.
Further todo's:
- Allow to disable GConf, GIO and CUPS.
- Option to disable the sandbox (for whatever reason the user might have).
- Integrate gold binutils.
- Pulseaudio support.
- Clearly separate Linux specific stuff.
- base64-bytestring: updated to version 0.1.2.0
- binary-shared: updated to version 0.8.2
- bson: updated to version 0.2.1
- leksah-server: updated to version 0.12.1.2
- leksah: updated to version 0.12.1.2
- MonadRandom: updated to version 0.1.7
- random-shuffle: updated to version 0.0.4
svn path=/nixpkgs/trunk/; revision=34569
- base16-bytestring: updated to version 0.1.1.5
- base64-bytestring: updated to version 0.1.1.3
- bloomfilter: updated to version 1.2.6.10
- cryptocipher: updated to version 0.3.5
- gtk: updated to version 0.12.3.1
- http-conduit: updated to version 1.4.1.9
- snap-core: updated to version 0.9.0
- snap-server: updated to version 0.9.0
- stringsearch: updated to version 0.3.6.3
- text: updated to version 0.11.2.2
- void: updated to version 0.5.6
svn path=/nixpkgs/trunk/; revision=34542
(less sigill, less sigbus). Related to bad handling of FPU instructions.
I apply them only to linux 3.4, although I think they can apply to many older kernels too.
svn path=/nixpkgs/trunk/; revision=34522
- bson: updated to version 0.2.0
- cpu: updated to version 0.1.1
- defaults.nix: cosmetic
- iteratee: updated to version 0.8.9.1
- ListLike: updated to version 3.1.5
- mongoDB: updated to version 1.3.0
- packages.nix: cosmetic
- stringsearch: added version 0.3.6.3
- system-fileio: updated to version 0.3.8
- wai-extra: updated to version 1.2.0.5
svn path=/nixpkgs/trunk/; revision=34517
It's unclear what adding these dependencies accomplishes. If you find that a
feature you need doesn't work anymore, please feel free to re-enable the
appropriate dependencies.
svn path=/nixpkgs/trunk/; revision=34510
"ant-<JDK name>".
* Remove openjdkDarwin/ecjDarwin/antDarwin attributes. Instead
the openjdk attribute refers to the Darwin package on Darwin.
svn path=/nixpkgs/trunk/; revision=34505
- BNFC-meta: updated to version 0.3.0.3
- HUnit: added version 1.2.4.3
- multirec: updated to version 0.7.2
- resourcet: updated to version 0.3.2.2
svn path=/nixpkgs/trunk/; revision=34489
by removing the check for the 'binary' package, which is built-in from
that version onward. This is a workaround for the problem where ghc's
built-in libraries (like containers, array, binary) don't show up in
"ghc-pkg list" output.
svn path=/nixpkgs/trunk/; revision=34471
as they are referenced from other kernel headers, this seems like the
best thing to do. Ubuntu seems to do so too.
Fixes issues with nvidia's binary driver and bbswitch on kernels > 3.3
svn path=/nixpkgs/trunk/; revision=34469
Offering the names of those packages in "nix-env -qa *" is pointless
because it's impossible to install any of those packages by name. Only
packages from emacs23Packages can be installed by name.
svn path=/nixpkgs/trunk/; revision=34449
The 24.x version is still low-prio in nixpkgs until we've figured out how to
support multiple 'emacsPackages' sets properly.
svn path=/nixpkgs/trunk/; revision=34447
- rename package from gimp_2_8_0 to gimp_2_8 as discussed on mailing list[1]
- remove babl_0_1_10 and gegl_0_2_0 and use them as default versions
[1] http://article.gmane.org/gmane.linux.distributions.nixos/8708
svn path=/nixpkgs/trunk/; revision=34444