Commit Graph

69 Commits

Author SHA1 Message Date
Sergei Trofimovich
bf3b684269 tigervnc: fix tests eval
Without the change `tigervnc.tests` eval fails as:

    $ nix build --no-link -f. tigervnc.tests
    error: attribute 'vnc' missing

          150|   passthru.tests.tigervnc = nixosTests.vnc.testTigerVNC;
             |                             ^
2023-12-29 17:22:45 +00:00
figsoda
fdd31f980e pkgs/tools/admin: remove dead code
with the help of deadnix & nil
2023-07-25 09:54:32 -04:00
apfelkuchen06
36a9154a10 tigervnc: 1.12.0 -> 1.13.1 2023-06-19 13:27:44 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Fabián Heredia Montiel
0cf5d85f0c treewide: add gcc12 flags 2023-01-27 21:20:52 -06:00
Shawn8901
133fa5f867 treewide: remove global with lib; in pkgs/tools 2023-01-24 17:41:44 +01:00
Graham Christensen
c2b898da76 treewide: drop -l$NIX_BUILD_CORES
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.

For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.

This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.

A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.

There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.

For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.

Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
2022-09-22 16:01:23 -04:00
Will Cohen
e404558558
tigervnc: add support for darwin (#173797) 2022-06-01 19:41:28 +02:00
Michael Raskin
149fc387d6 tigervnc: fix build with fresh xorgserver via upstream patch 2022-04-23 10:31:09 +02:00
R. Ryantm
056be23aa9 tigervnc: 1.11.0 -> 1.12.0 2021-12-06 08:47:06 +00:00
Linus Heckemann
cfb935c549 tigervnc: remove fontDirectories
These aren't necessary for tigervnc to function, and introduce an
unfree dependency, so let's remove them.
2021-07-20 15:23:06 +02:00
Ingo Blechschmidt
5143ab9f74 tigervnc, tightvnc: add basic tests
Co-Authored-By: Ingo Blechschmidt <iblech@web.de>
2021-07-20 15:22:31 +02:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
github-actions[bot]
433c7b069c
Merge master into staging-next 2021-01-10 01:03:35 +00:00
Maximilian Bosch
c15be8d685
tigervnc: 1.10.1 -> 1.11.0 (CVE-2020-26117)
ChangeLog: https://github.com/TigerVNC/tigervnc/releases/tag/v1.11.0
Also fixes CVE-2020-26117[1].

[1] https://nvd.nist.gov/vuln/detail/CVE-2020-26117, #100324
2021-01-08 16:50:16 +01:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Ingo Blechschmidt
4fb8fab4d6
tigervnc: fix vncserver
vncserver of tigervnc doesn't start because xauth is missing from $PATH
2020-04-23 07:13:48 +01:00
ahiaao
f216b03d5b tigervnc: fix compatibility with xorgserver 1.20.7 2020-02-11 09:46:24 +01:00
R. RyanTM
e91f467811 tigervnc: 1.10.0 -> 1.10.1 2019-12-24 12:01:35 -08:00
itsHMR
a46e3ebae5 tigervnc: add perl to buildInputs (#75367)
tigervnc ships vncserver, quote from the documentation:
vncserver - a wrapper script which makes starting Xvnc more convenient vncserver requires Perl.
2019-12-14 18:06:01 +01:00
R. RyanTM
0321a2aa12 tigervnc: 1.9.0 -> 1.10.0
* tigervnc: 1.9.0 -> 1.10.0 (#74679)
+ refresh meta.homepage
2019-11-30 15:42:50 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Lengyel Balazs
f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
tilpner
70bd091f16
tigervnc: 1.8.0pre2017041 -> 1.9.0 2018-12-05 22:00:40 +01:00
Matthew Justin Bauer
e5861b8e0d
tigervnc: add makeWrapper to nativeBuildInputs
Fixes #40654
2018-05-17 10:27:08 -05:00
Alexander V. Nikolaev
1bc1909e5b treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02:00
Will Dietz
30b5b0d48b tigervnc: enable composite (required by glx, which we enable) 2018-01-05 10:34:21 -06:00
Will Dietz
2edf41e6bb tigervnc: build in parallel 2018-01-05 10:32:40 -06:00
Vladimír Čunát
9f1b54b31b
tigervnc: fixup build after xorgserver changes
The server itself doesn't need those build inputs anymore,
but tigervnc does, apparently.
2017-10-08 17:54:49 +02:00
Frederik Rietdijk
febd5e323d Merge remote-tracking branch 'upstream/master' into HEAD 2017-09-08 20:48:14 +02:00
Jason Miller
e9183fd2d4 tigervnc: correct default ssh client path (#29084)
* tigervnc: correct default ssh client path

The -via command sets up an ssh tunnel, but is hardcoded to /usr/bin/ssh
upstream.  This patches it to use the nixpkgs openssh client.

* tigervnc: patch ssh path correctly
2017-09-08 19:45:17 +01:00
John Ericson
252b36a28d misc pkgs: Recategorize some dependencies 2017-09-05 11:37:10 -04:00
Jörg Thalheim
63b294eb0c
tigervnc: 1.8.0pre20170211 -> 1.8.0pre20170419 2017-05-07 09:38:42 +01:00
Michael Raskin
909a1dd569 tigervnc: 1.7.1 -> 1.8.0pre20170211
This allows to build with X.org server 1.19.1
2017-02-13 15:30:19 +01:00
Graham Christensen
d66fa9acfd
tigervnc: 1.7.0 -> 1.7.1 for CVE-2017-5581 2017-02-03 07:34:25 -05:00
Jörg Thalheim
8aecafcf5e tigervnc: fix missing Xvnc (xauth) (#21110)
the xorg patch was not applied.
Also a different root for `make install` is needed.
In addition more unnessary option are disabled.
2016-12-13 17:27:23 +01:00
Travis Whitaker
39ad303e21 tigervnc: 1.6.0 -> 1.7.0 2016-11-19 23:34:53 -08:00
Alexander Ried
e7ded267bd xserver: replace XKB_BINDIR with compile time option
---

Using the configure option relieves us of the patch and passing the path
via the env var in many places. Also the env var may not be inherited
when components like gdm spawn new sessions.
2016-10-03 15:03:02 +02:00
Michael Raskin
c2d9c35ebd tigervnc: fix build by adding dependencies 2016-04-13 15:21:11 +02:00
Tony White
3a4aa2a109 tigervnc: prevent nix store collison
- Prevent store collison with the xserver for two files
- Stop gcc from complaining at build time about C and CXX flags
- Enable parallel building for this expression
- Move to the new way of calling Xorg and it's dependencies
2016-01-14 06:31:30 +00:00
Christoph Hrdinka
32a36e8a6a tigervnc: git-20150504 -> 1.6.0 2016-01-12 22:36:15 +01:00
Michael Raskin
9ce93b6c29 Update TigerVNC to Git version; needed for GNU TLS compatibility 2015-05-21 19:48:25 +03:00
Brian McKenna
dc1ea2e968 tigerVNC: fix by updating (close #6852)
The default xorgserver is now on 1.16 and so the patch needs to change.
The 116 patch is not in 1.3.1 so we also need to upgrade.

I don't know how to compute this filename since the xorgserver derivation
doesn't have a version attribute.
2015-03-22 20:28:04 +01:00
Michael Raskin
35bf361608 Merge pull request #3615 from bosu/tigervnc-xkb-fix
tigervnc: fix xkb configuration for Xvnc
2014-08-23 12:54:49 +04:00
Boris Sukholitko
2815cdb8a7 tigervnc: fix xkb configuration for Xvnc
Without those fixes, Xvnc doesn't work at all.
2014-08-15 17:51:50 +03:00
Boris Sukholitko
91293785e8 tigervnc: upgrade to 1.3.1 security release
The source is on github archive now. Therefore switch to fetchurl.
2014-08-15 14:37:22 +03:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Michael Raskin
f6d51f7717 Buid Xvnc in TigerVNC 2014-01-04 15:02:52 +04:00
Michael Raskin
af9db522cf Update FLTK and TigerVNC; doesn't fix TigerVNC Xvnc build per se 2014-01-01 01:36:57 +04:00