1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
Commit graph

63008 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice 5d5044b2ec Use mirror:// URIs for ftp.debian.org
Provide a more robust experience for users with horrible network
hardware (me).
2015-05-22 10:39:27 +02:00
Damien Cassou 188a067d8e Merge pull request #7929 from DamienCassou/update-networkmanager-1.0.2
networkmanager 1.0.0 -> 1.0.2
2015-05-22 10:19:48 +02:00
Damien Cassou 3a50708958 network-manager 1.0.0 -> 1.0.2 2015-05-22 10:17:01 +02:00
aszlig 2475a6a239
nixos/test-driver: Fix bashism in Machine.pm.
Thanks to @bjornfor for the note.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-22 08:10:17 +02:00
aszlig f12208c5a4
nixos/testing: Use stripped down tesseract only.
Only include the English language for the VM tests, because we most
likely won't need other languages. At least for now.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-22 08:01:17 +02:00
aszlig adb7581459
tesseract: Allow to specify a subset of languages.
Especially useful for our OCR based VM tests, where we only need the
english language. By default the argument is null so all languages are
included. If a list of language name is passed only those languages are
enabled, for example:

tesseract.override { enableLanguages = [ "eng" "spa" ]; };

To only enable support for English and Spanish languages.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-22 07:45:59 +02:00
aszlig 8be00dc71d
nixos/test-driver: Make tesseract OCR optional.
By default this is now enabled, and it has to be explicitely enabled
using "enableOCR = true". If it is set to false, any usage of
getScreenText or waitForText will fail with an error suggesting to pass
enableOCR.

This should get rid of the rather large dependency on tesseract which
we don't need for most tests.

Note, that I'm using system("type -P") here to check whether tesseract
is in PATH. I know it's a bashism but we already have other bashisms
within the test scripts and we also run it with bash, so IMHO it's not a
problem here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-22 07:21:58 +02:00
William A. Kennington III efd4fcbebc Merge pull request #7919 from codyopel/gyp
gyp: svn-1977 -> 2015-05-17
2015-05-21 20:18:13 -07:00
William A. Kennington III 904fa36ac5 Merge pull request #7917 from codyopel/x265
x265: 1.6 -> 1.7
2015-05-21 20:17:57 -07:00
William A. Kennington III a3a19e9c8c Merge pull request #7934 from codyopel/ffmpeg-libssh
libssh: fix libsodium linking
2015-05-21 20:17:39 -07:00
William A. Kennington III 31a273cb14 nixos/tinc: users are system users 2015-05-21 20:11:13 -07:00
William A. Kennington III 4f943ef237 nixos/lightdm: More changes 2015-05-21 20:10:52 -07:00
Charles Strahan 688e9ea04c ghcjs: bump ghcjs and ghcjs-boot
fixes #7881
2015-05-21 21:03:54 -04:00
codyopel 3e06aa3aa9 libssh: fix libsodium linking
resolves pkg-config errors for anything linking against libssh
2015-05-21 19:13:52 -04:00
Pascal Wittmann cc0c2647f4 Merge pull request #7930 from vbgl/scribus-145
scribus: update from 1.4.4 to 1.4.5
2015-05-21 22:14:32 +02:00
Arseniy Seroka 08c39465b1 Merge pull request #7927 from vbgl/fsharp-3.1.1.32
fsharp: update from 3.1.1.31 to 3.1.1.32
2015-05-21 22:56:14 +03:00
Vincent Laporte 30d9e6b144 scribus: update from 1.4.4 to 1.4.5 2015-05-21 21:49:47 +02:00
Thomas Tuegel ceea949bd0 kdeApps_15_04.okular: enable libspectre for PostScript 2015-05-21 14:38:40 -05:00
lethalman 064c710518 Merge pull request #7928 from gebner/libgit2-glib
Fix gnome3.libgit2-glib build.
2015-05-21 21:14:48 +02:00
Domen Kožar 43a150c05a zed: 1.0.0 -> 1.1.0 2015-05-21 21:13:40 +02:00
Gabriel Ebner 064623599f Remove reference to missing autogen.sh. 2015-05-21 20:37:40 +02:00
Vincent Laporte 7689f0b673 fsharp: update from 3.1.1.31 to 3.1.1.32 2015-05-21 20:12:34 +02:00
Vincent Laporte a65bba1e27 tuareg-mode: fix hash 2015-05-21 20:09:53 +02:00
aszlig 77d7aa6742
nixos/tests/luksroot: Switch to use waitForText.
Fixes the "blindly hope that 60 seconds is enough" issue from 1f34503,
so that we now have a (hopefully) reliable way to wait for the
passphrase prompt.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 19:55:21 +02:00
aszlig 8bd025a75e
nixos/test-driver: Add new waitForText function.
As promised in the previous commit, this can be used similarly to
$machine->waitForWindow, where you supply a regular expression and it's
retrying OCR until the regexp matches.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 19:55:21 +02:00
aszlig 235c2228ca
nixos/test-driver: Add new getScreenText function.
Basically, this creates a screenshot and throws tesseract at it to
recognize the characters from the screenshot. In order to produce a
result that is well enough, we're using lanczos scaling and scale the
image up to 400% of its original size.

This provides the base functionality for a new Machine method which will
be called waitForText. I originally had that idea long ago when writing
the VM tests for VirtualBox and Chromium, but thought it would be
disproportionate to the case.

The downside however is that VM tests now depend on tesseract, but given
the average runtime of our tests it really shouldn't have a too big
impact and it's only a runtime dependency after all.

Another issue is that the OCR process takes quite some time to finish,
but IMHO it's better (as in more deterministic) than to rely on sleep().

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 19:55:21 +02:00
John Wiegley 5ac9e87b1b nginx: Fix build for Darwin (no AIO there) 2015-05-21 12:42:06 -05:00
Arseniy Seroka 4e838ed303 Merge pull request #6539 from jagajaga/documentation
add information about git-based pkgs
2015-05-21 19:57:53 +03:00
Pascal Wittmann f3867899ee tightvnc: replace occurences to /usr/bin/ssh
closes #3669
2015-05-21 18:53:45 +02:00
Pascal Wittmann 691b98fc28 tightvnc: refactoring 2015-05-21 18:53:45 +02:00
Michael Raskin 9ce93b6c29 Update TigerVNC to Git version; needed for GNU TLS compatibility 2015-05-21 19:48:25 +03:00
Michael Raskin 86da6fae74 Update fltk to 1.3.3; apparently it includes most of the old patch now 2015-05-21 19:48:25 +03:00
Michael Raskin aca9050ad9 Use 32-bit Wine for Pipelight 2015-05-21 19:48:25 +03:00
John Wiegley 597aebc94d libgcrypt: Set libpcap to null on Darwin 2015-05-21 10:55:54 -05:00
John Wiegley 7d4b5d04c8 bedrock: Change build to use "src native" 2015-05-21 10:55:17 -05:00
John Wiegley 725005b89f emacs24Macport: Upgrade Mac Port patch to 5.8 2015-05-21 10:55:00 -05:00
Pascal Wittmann 623f5f78da Merge pull request #7924 from DamienCassou/update-openal-1.16.0
openal 1.7.411 -> 1.16.0
2015-05-21 16:06:45 +02:00
Arseniy Seroka f134150180 Merge pull request #7857 from rushmorem/marathon-module-update
Update Marathon module
2015-05-21 16:52:14 +03:00
rushmorem b5820a5ebd Update Marathon module
The new module makes it possible to pass extra commandline
arguments to Marathon as well as environment variables.
2015-05-21 15:45:13 +02:00
Pascal Wittmann 16a745fbb9 libs3: fix meta attributes 2015-05-21 15:41:06 +02:00
Pascal Wittmann 71aaebc954 thrust: fix build 2015-05-21 15:24:59 +02:00
Peter Simons 0c35edb25c haskell-wuss: test suite needs network access --> disable to fix the build 2015-05-21 14:57:18 +02:00
Peter Simons 9b9d94def4 Disable builds for broken Haskell packages lens-action and servant-server. 2015-05-21 14:57:17 +02:00
Peter Simons 0a85cee798 haskell-curlhs: disable failing test suite 2015-05-21 14:57:17 +02:00
Peter Simons f26b51e00e haskell-language-glsl: build has been fixed upstream 2015-05-21 14:57:17 +02:00
Nikolay Amiantov 7e55534e8d haskell-idris: fix build 2015-05-21 14:57:17 +02:00
Nikolay Amiantov 03f9f0a634 haskell-cheapskate: not broken now 2015-05-21 14:57:17 +02:00
Nikolay Amiantov 743c265797 haskell-pandoc: use ordinary jailbreak 2015-05-21 14:57:16 +02:00
Peter Simons bf468dac2b haskell-HList: the build errors have been fixed upstream 2015-05-21 14:57:16 +02:00
Peter Simons 493663d785 jailbreak-cabal: always build the tool with Cabal 1.20
This change mitigates the effects of https://github.com/peti/jailbreak-cabal/issues/9.
2015-05-21 14:57:16 +02:00