Commit Graph

433 Commits

Author SHA1 Message Date
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
aszlig
6e5d2f8963
nixos/xserver: Properly validate XKB options
Checking the keyboard layout has been a long set of hurdles so far, with
several attempts. Originally, the checking was introduced by @lheckemann
in #23709.

The initial implementation just was trying to check whether the symbols/
directory contained the layout name.

Unfortunately, that wasn't enough and keyboard variants weren't
recognized, so if you set layout to eg. "dvorak" it will fail with an
error (#25526).

So my improvement on that was to use sed to filter rules/base.lst and
match the layout against that. I fucked up twice with this, first
because layout can be a comma-separated list which I didn't account for
and second because I ran into a Nix issue (NixOS/nix#1426).

After fixing this, it still wasn't enough (and this is btw. what
localectl also does), because we were *only* matching rules but not
symbols, so using "eu" as a layout won't work either.

I decided now it's the time to actually use libxkbcommon to try
compiling the keyboard options and see whether it succeeds. This comes
in the form of a helper tool called xkbvalidate.

IMHO this approach is a lot less error-prone and we can be sure that we
don't forget about anything because that's what the X server itself uses
to compile the keymap.

Another advantage of this is that we now validate the full set of XKB
options rather than just the layout.

Tested this against a variety of wrong and correct keyboard
configurations and against the "keymap" NixOS VM tests.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @lheckemann, @peti, @7c6f434c, @tohl, @vcunat, @lluchs
Fixes: #27597
2017-07-28 12:39:55 +02:00
Nikolay Amiantov
21ad2a1631 virtualglLib: 2.5.1 -> 2.5.2 2017-07-27 17:07:45 +03:00
xd1le
0304177ced setroot: 1.4.4 -> 2.0.1 2017-07-24 05:38:06 +10:00
GRBurst
63ee6d6e29 xcwd: init at 2016-09-30
fixes #27345
2017-07-13 13:56:22 +01:00
Benno Fünfstück
387256c0f2 Merge pull request #27308 from vaibhavsagar/xautomation
xautomation: init at 1.09
2017-07-12 08:23:05 +02:00
Vaibhav Sagar
b9dfbeb828 xautomation: init at 1.09 2017-07-12 14:13:10 +08:00
Benno Fünfstück
778169409f xvkbd: 3.7 -> 3.8 2017-07-11 22:44:44 +02:00
Franz Pletz
60cddbe3da
screen-message: 0.24 -> 0.25 2017-06-20 03:45:39 +02:00
Volth
d2f453bc0d fix #25511 2017-06-05 23:37:53 +00:00
Cray Elliott
c5fbf35be0 xpra: fix missed ffmpeg_3_2 reference 2017-04-30 16:58:33 -07:00
Cray Elliott
c49a454210 mpv, xpra: depend on ffmpeg instead of ffmpeg_3_2
effectively updates them to depend on ffmpeg_3_3
2017-04-30 16:52:49 -07:00
Victor Calvert
5539f8acfa xpra: 2.0.1 -> 2.0.2 2017-04-28 23:39:19 -04:00
Victor Calvert
0d8b5be67d xpra: 0.17.6 -> 2.0.1
Requires build against newer ffmpeg (3.2.x instead of 3.1.x)
because of new symbols:
FF_PROFILE_H264_MULTIVIEW_HIGH
FF_PROFILE_H264_STEREO_HIGH
2017-04-04 23:55:12 -04:00
Dmitry Rets
c7e885ff99 xkbset: init at 0.5 2017-04-02 02:17:30 +03:00
Michael Raskin
eeef599ced wayv: install docs 2017-03-18 12:41:09 +01:00
Michael Raskin
5833da6ad5 wayv: init at 0.3 2017-03-18 12:41:09 +01:00
Michael Raskin
6e74e165cb xannotate: init at 20150301 2017-03-18 12:41:09 +01:00
Nikolay Amiantov
f36b72107c primus: fix if nvidia is not used
Fixes #23628
2017-03-08 23:10:43 +03:00
Benno Fünfstück
ce355bdafa xpra: install data files to correct location in $out
The patch is no longer needed, with the wheel-based method that we use now
data_files *are* relative to the prefix.
2017-03-06 13:06:51 +01:00
Jaka Hudoklin
f5d81ed79b Merge pull request #20904 from offlinehacker/nixos/xserver/xpra
Add xpra display-manager
2017-03-05 01:32:23 +01:00
Benno Fünfstück
ac592121b9 xrectsel: remove unnecessary DESTDIR=$out
This avoids files being installed to $out/nix/store
2017-03-03 12:59:54 +01:00
Benno Fünfstück
a8458bb506 ffcast: remove unnecessary DESTDIR=$out
This avoids files being installed to $out/nix/store
2017-03-03 12:58:43 +01:00
Benjamin Herr
6cc50b2976 obconf: add libSM to fix build 2017-02-26 20:11:25 +01:00
romildo
8c98c311d3
nitrogen: 1.6.0 -> 1.6.1 2017-02-20 21:44:56 -05:00
Vladimír Čunát
714eabc5af
guile rev-deps: fix build by adding pkgconfig
Without it packages fail to find the headers, after guile has split
them into a separate output in 218713a.
2017-02-18 08:23:07 +01:00
Parnell Springmeyer
9e36a58649
Merging against upstream master 2017-02-13 17:16:28 -06:00
Nikolay Amiantov
a841f6097c primusLib: fix receiving long library paths 2017-02-08 16:58:59 +03:00
Nikolay Amiantov
2fd2fcf54d linuxPackages.nvidia_x11: refactor, build more from source
* Use libglvnd;
* Compile nvidia-settings, nvidia-persistenced from source;
* Generalize builder.
2017-02-08 16:57:46 +03:00
Adrian Pistol
f6e2772cd3 wmutils-opt: init at v1.0 2017-01-30 20:42:16 +00:00
Parnell Springmeyer
4aa0923009
Getting rid of the var indirection and using a bin path instead 2017-01-29 04:11:01 -06:00
Parnell Springmeyer
e92b8402b0
Addressing PR feedback 2017-01-28 20:48:03 -08:00
Parnell Springmeyer
a26a796d5c
Merging against master - updating smokingpig, rebase was going to be messy 2017-01-26 02:00:04 -08:00
Franz Pletz
e02b96590d
xchainkeys: fix source and homepage url 2017-01-26 03:52:50 +01:00
Parnell Springmeyer
bae00e8aa8
setcap-wrapper: Merging with upstream master and resolving conflicts 2017-01-25 11:08:05 -08:00
volth
69ed58d88f xorg.xserver: configure --with-xkb-path= (#21653) 2017-01-18 02:57:15 +03:00
Joris Guyonvarch
1603526000 xrectsel: init at 0.3.2 (#21153) 2017-01-09 06:07:25 +01:00
Michael Raskin
a486850992 xdg_utils: mimiSupport: update to the latest master 2017-01-04 15:01:46 +01:00
Joris Guyonvarch
4d2406c7d5 ffcast: init at 2.5.0 (#21141) 2016-12-14 14:22:00 +00:00
Jaka Hudoklin
7fd8dfc621 xpra: do not preset FONTCONFIG_FILE and XPRA_LOG_DIR env variables 2016-12-04 22:27:30 +01:00
Jaka Hudoklin
adabb646bd xpra: add pam support 2016-12-04 22:26:43 +01:00
Vladimír Čunát
925b335607
Merge branch 'master' into staging 2016-11-26 11:27:09 +01:00
Joachim F
00597a07bb Merge pull request #20644 from romildo/upd.xcape
xcape: git-2015-03-01 -> 1.2
2016-11-25 13:19:56 +01:00
Frederik Rietdijk
7dd7b9e218 arandr: use python2 2016-11-24 22:28:02 +01:00
Nikolay Amiantov
a44cfd6e0d virtualglLib: 2.5 -> 2.5.1 2016-11-24 01:17:58 +03:00
romildo
b4077f3210 xcape: git-2015-03-01 -> 1.2 2016-11-23 07:30:00 -02:00
Vladimír Čunát
b69f568f4c
Merge branch 'staging'
Hydra rebuild looks fine; only a few Darwin jobs is queued:
http://hydra.nixos.org/eval/1304891?compare=1304807
2016-11-19 04:35:51 +01:00
romildo
1a486c47af nitrogen: 1.5.2 -> 1.6.0 2016-11-18 09:49:27 -02:00
Vladimír Čunát
b5e89fe9bf
Merge branch 'master' into staging 2016-11-15 00:20:19 +01:00
Frederik Rietdijk
1f501a2ced xpra: use python2 2016-11-08 22:48:55 +01:00
Joachim F
54f057266d Merge pull request #20244 from womfoo/bump/xdotool-3.20160805.1
xdotool: 3.20150503.1 -> 3.20160805.1
2016-11-08 00:58:51 +01:00
Kranium Gikos Mendoza
f17e13a0d5 xdotool: 3.20150503.1 -> 3.20160805.1 2016-11-08 05:24:06 +08:00
Nikolay Amiantov
ab21519858 bumblebee: use fetchpatch for GitHub patches 2016-11-07 11:02:46 +03:00
Nikolay Amiantov
1e8384a20b Merge pull request #20003 from gnidorah/master
bumblebee: backport critical libkmod.patch
2016-11-07 10:58:29 +03:00
Michael Raskin
20fe51661d xlaunch: remove; it was fine-tuned to an old NixOS state and such functionality is forbidden by systemd 2016-11-06 11:42:45 +01:00
Alex Ivanov
f8a17768cd bumblebee: remove long time obsolete substitution 2016-10-31 09:49:34 +03:00
Alex Ivanov
1cb54a7dd0 bumblebee: backport critical libkmod.patch 2016-10-30 20:47:13 +03:00
Bjørn Forsman
5c1fd6763f xpra: 0.17.5 -> 0.17.6
Many fixes.
2016-10-30 01:01:26 +02:00
Jaka Hudoklin
7956b2d65e xpra: add audio streaming support 2016-10-23 20:11:45 +02:00
José Romildo Malaquias
8b7e3c3537 oblogout: init at 2009-11-18 2016-10-23 11:45:30 +02: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
Frederik Rietdijk
3ba16c8234 Do not use top-level buildPythonPackage or buildPythonApplication
but instead use the one in pythonPackages.
2016-09-26 11:10:51 +02:00
Kamil Chmielewski
914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00
Kirill Boltaev
bccd75094f treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
Jaka Hudoklin
85e2b60b77 xpra: 0.17.4 -> 0.17.5 2016-09-04 16:57:23 +02:00
Parnell Springmeyer
98c058a1ee Adapting everything for the merged permissions wrappers work. 2016-09-01 19:21:06 -05:00
obadz
78b7529ee3 Merge branch 'master' into staging 2016-08-24 11:57:44 +01:00
Daniel Peebles
3f337a2b23 Merge pull request #17685 from matthewbauer/darwin-misc2
Darwin misc. fixes
2016-08-24 11:52:27 +02:00
obadz
0e8d2725dc Merge branch 'master' into staging 2016-08-23 18:50:06 +01:00
Tuomas Tynkkynen
74a3a2cd7e treewide: Use makeBinPath 2016-08-23 01:18:10 +03:00
obadz
24a9183f90 Merge branch 'hardened-stdenv' into staging
Closes #12895

Amazing work by @globin & @fpletz getting hardened compiler flags by
enabled default on the whole package set
2016-08-22 01:19:35 +01:00
Frederik Rietdijk
5a501bd828 Remove top-level dbus_python and pythonDBus.
See #11567.

Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus-
python as that's the name upstream uses.

There is a small rebuild but I couldn't figure out the actual cause.
2016-08-16 22:52:37 +02:00
Matthew Bauer
62ca3dd4b6 setroot: fix darwin build 2016-08-16 19:25:45 +00:00
Matthew Bauer
0528b8c94e runningx: fix darwin build 2016-08-16 19:25:45 +00:00
Robin Gloster
33e1c78ae3 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-16 07:54:01 +00:00
Nikolay Amiantov
6086328b2d primusLib: fix version, quote homepage for better clickability 2016-08-14 22:37:10 +03:00
Nikolay Amiantov
c60deb0266 quote homepages for better clickability
Done while I was traversing packages which I maintain to save extra clicks on
urxvt (it captures semicolon as a part of URL).
2016-08-14 22:37:10 +03:00
Frederik Rietdijk
7986b718f3 Remove pycairo from top-level
See #11567.
2016-08-14 13:52:42 +02:00
Frederik Rietdijk
11d1fdfd8b Remove top-level cython and cython3
See #11567.
2016-08-14 12:01:09 +02:00
Franz Pletz
bd4490e277 Merge branch 'master' into hardened-stdenv 2016-08-13 16:59:55 +02:00
Kamil Chmielewski
da3ddd48e4 buildGoPackage: remove Go deps file libs.json
After #16017 there were a lot
of comments saying that `nix` would be better than `JSON`
for Go packages dependency sets.
As said in https://github.com/NixOS/nixpkgs/pull/16017#issuecomment-229624046

    > Because of the content-addressable store, if two programs have the
    > same dependency it will already result in the same derivation in
    > the
    > store. Git also has compression in the pack files so it won't make
    > much difference to duplicate the dependencies on disk. And finally
    > most users will just use the binary builds so it won't make any
    > differences to them.

This PR removes `libs.json` file and puts all package dependencies in
theirs `deps.json`.
2016-08-11 23:07:09 +02:00
Robin Gloster
19f5e2a1cf x2vnc: disable format hardening 2016-08-05 18:09:35 +00:00
Franz Pletz
1f06067b01 x2x: disable format hardening 2016-08-04 11:05:29 +02:00
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Tuomas Tynkkynen
2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Robin Gloster
63c7b4f9a7 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-31 20:51:34 +00:00
wmapp
62ba6b07f2 sct: Updated sha256 in default.nix (#17163) 2016-07-28 09:21:21 +02:00
Robin Gloster
f222d98746 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-25 12:47:13 +00:00
Andrew Miloradovsky
9dbf90d047 xmagnify: init at 0.1.0 (#17222) (#17222)
Tiny screen magnifier for X11
2016-07-25 06:00:27 +02:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Bjørn Forsman
c5b7a9ffeb xpra: 0.17.3 -> 0.17.4 (important fixes) 2016-06-30 14:48:05 +02:00
Bjørn Forsman
6d48539fdb xpra: fix some runtime issues
* Add missing modules (fixes warnings and errors).
* Step 1 to unbreak starting Xvfb by making xpra invoke it with
  valid log dir ($HOME/.xpra). Without this fix, it is invoked with
  ~/.xpra, which Xvfb doesn't know how to interpret and uses it
  literally (fail). Step 2 will be fixing an Xvfb permission issue:
  "xf86OpenConsole: Cannot open virtual console 1 (Permission denied)".
* Use XPRA_INSTALL_PREFIX to make it find its icons.
2016-06-30 14:42:16 +02:00
Bjørn Forsman
ce8c1ab5e0 xpra: 0.17.0 -> 0.17.3 2016-06-23 19:17:20 +02:00
Bjørn Forsman
34363d77b0 xpra: add missing python 'rencode' module
Fixes this:

  $ xpra [...]
  2016-06-23 17:40:03,407 Warning: rencode import failed:
  2016-06-23 17:40:03,407  No module named rencode
  [...]
2016-06-23 19:17:20 +02:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Robin Gloster
8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Kamil Chmielewski
7eb671ebcd no more goPackages 2016-06-09 13:08:00 +02:00
Kamil Chmielewski
e2e3d8802f go-sct: extracted from goPackages 2016-06-09 11:21:30 +02:00
obadz
ca067ff248 xgeometry-select: remove license field. license is unknown. 2016-06-07 17:56:01 +01:00