Commit Graph

842 Commits

Author SHA1 Message Date
tbenst
fb1f518c01 virtualgl: 2.6.2 -> 2.6.5 2020-11-26 02:36:41 -08:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Sandro
8b65b642b1
Merge pull request #103227 from Mazurel/master 2020-11-23 23:09:50 +01:00
Ryan Mulligan
c6f7e1f9d8
Merge pull request #104243 from r-ryantm/auto-update/nx-libs
nx-libs: 3.5.99.24 -> 3.5.99.25
2020-11-20 08:59:54 -08:00
zowoq
b23d2973b6 grobi: fix failing test on go 1.15 2020-11-19 20:32:44 +10:00
R. RyanTM
da64a164c5 nx-libs: 3.5.99.24 -> 3.5.99.25 2020-11-19 05:53:24 +00:00
R. RyanTM
193ace7e8a ckbcomp: 1.197 -> 1.198 2020-11-18 11:10:51 -08:00
Jörg Thalheim
d0925412b6
Merge pull request #95675 from erikarvstedt/fix-sdg-utils
xdg-utils: add missing dependencies
2020-11-16 16:49:00 +01:00
Mazurel
8e995109f2 devour: init at 12 2020-11-16 14:20:12 +01:00
SCOTT-HAMILTON
65bd03c8d3 hsetroot: 1.0.2 -> 1.0.5 2020-11-14 20:59:30 +01:00
Antonio Yang
7e51cfadba find-cursor: init at 1.6
Co-authored-by: Ivar <41924494+IvarWithoutBones@users.noreply.github.com>
2020-11-04 09:12:56 +08:00
Pavol Rusnak
2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00
Ben Siraphob
db74029e3e treewide: remove package names from prefix of descriptions 2020-10-27 09:15:07 -07:00
R. RyanTM
87b4e22f0f ckbcomp: 1.196 -> 1.197 2020-10-25 09:43:14 +01:00
R. RyanTM
2dd05b3d2f wpgtk: 6.1.0 -> 6.1.3 2020-10-25 09:34:43 +01:00
Frederik Rietdijk
b981eca057 Merge master into staging-next 2020-10-14 11:32:49 +02:00
Nikita Uvarov
35e0d35113
caffeine-ng: add missing dependencies, fix bin paths 2020-10-13 19:48:00 +02:00
Maximilian Bosch
f5a2dd0811
nx-libs: fix build w/glibc-2.32 2020-09-12 23:04:46 +02:00
IvarWithoutBones
cff6e7b161 xwallpaper: formatting fix 2020-09-07 16:36:38 +02:00
IvarWithoutBones
4008f2c6ea xwallpaper: remove libseccomp dependency 2020-09-07 16:35:47 +02:00
R. RyanTM
2102dedc0d ckbcomp: 1.195 -> 1.196 2020-08-31 16:52:57 +02:00
Silvan Mosberger
b9f9cb313a
Merge pull request #85495 from bhougland18/wmutils-libwm
wmutils-libwm: init at 1.0
2020-08-24 03:46:12 +02:00
Lassulus
2df0a3e453
Merge pull request #88021 from lourkeur/fix_xpra_doublewrapping
xpra: avoid double-wrapping
2020-08-23 09:09:57 +02:00
Louis Bettens
ead09d7e6e xpra: force XPRA_COMMAND 2020-08-22 22:38:10 +02:00
Lassulus
344787cf8e
Merge pull request #87983 from lourkeur/cleanup_libfakeXinerama
fakeXinerama: clean up minor issues
2020-08-22 18:45:16 +02:00
Erik Arvstedt
68559e2820
xdg-utils: add missing dependencies
- Add coreutils to PATH, because the xdg scripts use other not yet
  provided coreutils like head.
  This makes the custom 'cut' and 'sort' functions obsolete.
  Remove double quotes around $out because $out contains no Bash field separators.
- Replace all instances of 'which' with 'type -P'.
  The previous sed command only replaced instances with a leading space.
2020-08-17 13:03:54 +02:00
Will Dietz
35094fe23e dex: drop included patch 2020-08-16 13:31:36 +00:00
Will Dietz
28498f46b7 dex: 0.8.0 -> 0.9.0 2020-08-16 13:31:36 +00:00
afreakk
6f0a715ad2 grobi: 0.5.1 -> 0.6.0 2020-08-10 12:05:30 -07:00
R. RyanTM
494fcb0b76 alttab: 1.4.0 -> 1.5.0 2020-07-23 21:45:20 +00:00
Ryan Mulligan
a8cca2a191
Merge pull request #92670 from r-ryantm/auto-update/xidlehook
xidlehook: 0.8.2 -> 0.9.1
2020-07-08 06:53:07 -07:00
R. RyanTM
cd6b8b8da7 xidlehook: 0.8.2 -> 0.9.1 2020-07-08 00:58:31 +00:00
R. RyanTM
45af43ff0b nx-libs: 3.5.99.23 -> 3.5.99.24 2020-07-07 10:04:47 -07:00
Chuck
c2228aea03 xsecurelock: Remove unused deps imagemagick, xset
imagemagick dependency went away in version 1.2.
xset dependency went away in version 1.4.
2020-07-02 15:35:14 -07:00
Lassulus
b66b53e2e4
Merge pull request #87753 from IvarWithoutBones/xwallpaper
xwallpaper: init at 0.6.5
2020-06-18 14:11:01 +02:00
R. RyanTM
2c65581b4d ckbcomp: 1.194 -> 1.195 2020-06-17 11:45:37 -07:00
Graham Christensen
4b5880f015
xdg_utils: xdg-open: add $out to PATH
Otherwise, xdg-open cannot call xdg-mime and this does not work:

    "${pkgs.xdg_utils}/bin/xdg-open"
2020-06-17 08:27:55 -04:00
zowoq
78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
Michael Lingelbach
e5b7f1325c xpra: 3.0.9 -> 4.0.2 2020-06-08 17:52:18 -07:00
Jaka Hudoklin
fd9d37e271
Merge pull request #87985 from lourkeur/fix_85694
xpra: fix #85694
2020-06-03 14:37:35 +00:00
OPNA2608
2fe1574410 alttab: fix malformed enableParallelBuilding 2020-06-03 10:01:47 +02:00
Niklas Hambüchen
cbe940e730
Merge pull request #89054 from r-ryantm/auto-update/xbindkeys
xbindkeys: 1.8.6 -> 1.8.7
2020-06-03 02:03:51 +02:00
R. RyanTM
2c3ed60f71 xbanish: 1.6 -> 1.7 2020-06-02 12:47:11 -07:00
R. RyanTM
f8abadf30f xbindkeys: 1.8.6 -> 1.8.7 2020-05-27 21:52:52 +00:00
R. RyanTM
b2e5c9c77b xlayoutdisplay: 1.1.1 -> 1.1.2 2020-05-27 20:33:36 +00:00
Ivar
4ef9eed224 xwallpaper: init at 0.6.5 2020-05-19 15:38:23 +02:00
Louis Bettens
8e5f5a54f2 xpra: avoid double-wrapping
Per manual: https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues
2020-05-17 17:04:29 +02:00
Louis Bettens
4459844e79 xpra: fix #41106 2020-05-17 16:32:55 +02:00
Mario Rodas
d7c0d31429
Merge pull request #87995 from IvarWithoutBones/ksuperkey
ksuperkey: git-2015-07-21 -> 0.4
2020-05-16 20:30:02 -05:00
Ivar
a57176cab4 ksuperkey: git-2015-07-21 -> 0.4 2020-05-17 03:01:34 +02:00
Louis Bettens
3573aef274 libfakeXinerama: remove deprecated pattern per #28910 2020-05-16 23:15:09 +02:00
Louis Bettens
15002bf1fb libfakeXinerama: fix dangling symlinks 2020-05-16 23:15:07 +02:00
Louis Bettens
8b92f678f9 xpra: fix #85694 2020-05-16 23:00:21 +02:00
R. RyanTM
f88792c828 wpgtk: 6.0.13 -> 6.1.0 2020-05-12 22:16:13 -07:00
R. RyanTM
057383bbcc xpra: 3.0.8 -> 3.0.9 2020-05-12 22:13:06 -07:00
Benjamin Hougland
e33ffee6c7 wmutils-libwm: init at 1.0 2020-04-18 08:40:58 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
f7b0d0e4f0 xpra: 3.0.7 -> 3.0.8 2020-04-08 00:44:34 +00:00
Frederik Rietdijk
92124ed660 Merge master into staging-next 2020-04-03 21:54:40 +02:00
Jaka Hudoklin
439d97eb97 xpra: set correct module paths for xorg.conf 2020-03-31 13:30:26 +07:00
Jaka Hudoklin
af418c4356 xpra: use xf86videodummy from xorg 2020-03-31 13:29:46 +07:00
Frederik Rietdijk
46ec52f329 buildPython*: use pname 2020-03-30 17:07:41 +02:00
Jörg Thalheim
b4567fb004
Merge pull request #82682 from Mic92/xidlehook
xidlehook: 0.8.0 -> 0.8.2
2020-03-28 11:37:44 +00:00
Jörg Thalheim
cc9389e76f
xidlehook: 0.8.0 -> 0.8.2 2020-03-28 08:04:39 +00:00
R. RyanTM
06b4333891 xpra: 3.0.6 -> 3.0.7 2020-03-20 23:41:31 -07:00
R. RyanTM
8bbae030b3
xob: 0.1.1 -> 0.2 (#82246) 2020-03-10 16:03:10 +01:00
Frederik Rietdijk
188c3a4d03 Merge staging-next into staging 2020-03-06 07:09:30 +01:00
Felix Tenley
efc1e24565 vdpauinfo: 1.0 -> 1.3 2020-03-06 07:01:06 +01:00
R. RyanTM
98968b1854 wpgtk: 6.0.12 -> 6.0.13 2020-03-05 15:20:47 -08:00
GRBurst
35feac339b xcwd: 2016-09-30 -> 2019-05-09 2020-02-27 17:38:53 +01:00
Benno Fünfstück
4ca87c08a2 xprintidle-ng: simplify gnulib usage 2020-02-23 19:17:03 +01:00
Benjamin Hipple
9917c35480 xidlehook: fix build by migrating off legacy fetchCargo
Currently broken; see #79975 for details. Would also be fixed by #80153
eventually, but since we want to upgrade either way we might as well do so now.

https://hydra.nixos.org/job/nixpkgs/trunk/xidlehook.x86_64-linux
2020-02-15 19:06:53 -05:00
Daniel Schaefer
9b57092c19
Merge pull request #80108 from r-ryantm/auto-update/xpra
xpra: 3.0.5 -> 3.0.6
2020-02-15 22:53:15 +01:00
R. RyanTM
c17c998000 xpra: 3.0.5 -> 3.0.6 2020-02-14 11:06:33 +00:00
Benjamin Hipple
eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00
R. RyanTM
186f71dcf9 nx-libs: 3.5.99.22 -> 3.5.99.23 2020-02-10 18:04:04 +01:00
R. RyanTM
9ea7d35d29 wpgtk: 6.0.11 -> 6.0.12 2020-02-06 20:14:45 +01:00
Markus S. Wamser
55d3b6b1b1 xpra: 2.5.3 -> 3.0.5
Closes #78707.
2020-01-28 23:39:58 +01:00
Frederik Rietdijk
dce0ca29d9 Merge master into staging-next 2020-01-28 10:46:13 +01:00
petercommand
37539e18a5 xmousepasteblock: init at 1.0 2020-01-26 04:00:57 +01:00
worldofpeace
d165c28984
Merge pull request #77923 from Synthetica9/version-formats
various: fix version formatting
2020-01-17 14:04:19 -05:00
Florian Klink
61dc31d25d
Merge pull request #77920 from r-ryantm/auto-update/xsecurelock
xsecurelock: 1.6.0 -> 1.7.0
2020-01-17 18:06:02 +01:00
Frederik Rietdijk
bcd8c6b8dc Merge master into staging-next 2020-01-17 17:08:16 +01:00
Ryan Mulligan
7ed93fc8b9
Merge pull request #77876 from r-ryantm/auto-update/jumpapp
jumpapp: 1.0 -> 1.1
2020-01-17 05:53:51 -08:00
R. RyanTM
f9bf683062 xsecurelock: 1.6.0 -> 1.7.0 2020-01-17 12:37:14 +00:00
Will Dietz
8572179033 xlayoutdisplay: 1.1.0 -> 1.1.1 2020-01-17 12:33:08 +00:00
R. RyanTM
3f2c224ff1 jumpapp: 1.0 -> 1.1 2020-01-17 07:32:17 +00:00
Patrick Hilhorst
57d90bd04c
xcape: correctly format version 2020-01-16 20:09:18 +01:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Robin Gloster
65395a7105
treewide: installTargets is a list 2019-12-30 13:29:27 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
R. RyanTM
1635c6916e xsecurelock: 1.5.1 -> 1.6.0 (#76478) 2019-12-26 14:03:03 +00:00
Franz Pletz
fda130af71
Merge pull request #75474 from chkno/xsecurelock-no-longer-needs-xset-path-fixed
xsecurelock: Remove obsolete path fix
2019-12-15 22:10:55 +00:00
Marek Fajkus
7406c0af98
services.xserver.imwheel: add module 2019-12-13 18:19:29 +01:00
worldofpeace
5027d9f9e2 oblogout: remove
The repo is archived.
https://github.com/nikdoof/oblogout
2019-12-10 22:40:18 -05:00
worldofpeace
865b203471 winswitch: remove 2019-12-10 22:38:19 -05:00
Chuck
5b28e2251a xsecurelock: Remove obsolete path fix
helpers/saver_blank became trivial in xsecurelock commit
d4a817ae5e071540a1b11825908dd91a8697591a, which first appeared
in release 1.4.0.
2019-12-10 18:00:18 -08:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09:00
R. RyanTM
5b6d23004f ckbcomp: 1.193 -> 1.194
(#74135)
2019-11-25 23:01:31 +01:00
Dima
74cd007ad7 xidlehook: 0.7.1 -> 0.8.0 2019-11-23 13:31:40 +01:00
davidak
bc1a40983f xzoom: fix version 2019-11-17 22:56:27 +01:00
Daniel Schaefer
6b9390f253 dragon-drop: 1.1.0 -> 1.1.1
Fixes segfault which would make the program unusable.
2019-11-14 22:25:40 +01:00
symphorien
40f1983f95 caffeine-ng: fix paths in desktop files
(#73123)
2019-11-11 23:37:58 +01:00
R. RyanTM
049c47c6f6 wpgtk: 6.0.9 -> 6.0.11 2019-11-03 19:59:50 +01:00
Sebastian Ullrich
1e2ae6d818 xdg-utils: fix reference to mimetype
Before this change, xdg-open would impurely look up mimetype in the PATH. While
it would fall back to file if not found, mimetype gives decidedly better output
(e.g. text/csv instead of just text/plain).
2019-11-01 15:38:49 +01:00
Michael Weiss
b60a1b6cfd xob: init at 0.1.1 2019-10-28 16:56:43 +01:00
rnhmjoj
dc00cee526 x11spice: init at 2019-08-20 2019-10-23 15:36:44 +02:00
davidak
49945b95d0 xzoom: fix version 2019-10-21 14:57:35 +02:00
Jan Tojnar
6c8aed6391
Merge branch 'master' into staging-next 2019-10-12 00:50:21 +02:00
Linus Heckemann
5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00
Jan Tojnar
b3fcd9375d
Merge branch 'master' into staging-next 2019-10-03 01:47:08 +02:00
Mario Rodas
cbf29876cf
Merge pull request #70016 from r-ryantm/auto-update/xsecurelock
xsecurelock: 1.4.0 -> 1.5.1
2019-09-29 12:42:52 -05:00
R. RyanTM
114584fe6f xsecurelock: 1.4.0 -> 1.5.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/xsecurelock/versions
2019-09-29 04:56:36 -07:00
R. RyanTM
305e48b045 xidlehook: 0.7.0 -> 0.7.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/xidlehook/versions
2019-09-29 03:07:29 -07:00
Frederik Rietdijk
503081fa5b Merge staging into staging-next 2019-09-29 11:05:22 +02:00
Ryan Mulligan
6abaaf3311
Merge pull request #69695 from r-ryantm/auto-update/nx-libs
nx-libs: 3.5.99.21 -> 3.5.99.22
2019-09-28 11:13:24 -07:00
R. RyanTM
a913e749db nx-libs: 3.5.99.21 -> 3.5.99.22
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nx-libs/versions
2019-09-27 13:37:13 -07:00
Bjørn Forsman
e584eba7f8 xdg-utils: add missing perl dependencies
Or else `xdg-screensaver suspend <WINDOW_ID>` fails with errors like:

  Can't locate Net/DBus.pm in @INC [...]

This increases the closure of xdg-utils from 53 MiB to 119 MiB.

(The issue was found when testing retroarch.)
2019-09-26 08:11:32 +02:00
worldofpeace
b0c2aea20b
treewide: drop adding hicolor-icon-theme where possible
This was either for the setup-hook to remove caches or added
even though the respective icon theme propagated it.
2019-09-18 22:47:26 +02:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Jan Tojnar
cdf426488b
Merge branch 'master' into staging-next
Fixed trivial conflicts caused by removing rec.
2019-09-06 03:20:09 +02:00
Jan Tojnar
ed54a5b51d
Merge branch 'gtk-no-plus' 2019-09-06 02:57:51 +02:00
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
Marcial Gaißert
d64cdba5b4
caffeine-ng: move setuptools_scm dependency to buildInputs
setuptools_scm is only needed during build, not whilst using the package.
2019-09-05 17:44:55 +02:00
Marcial Gaißert
cdf8247b68
caffeine-ng: remove unneeded dependencies setuptools, wheel 2019-09-04 16:10:01 +02:00
Marcial Gaißert
85c084d88d
caffeine-ng: use python3
Using python3 is recommended by upstream.
2019-09-01 21:08:33 +02:00
Marcial Gaißert
fc78d8e0a7
caffeine-ng: do not run tests
There are no tests anyway. Not finding the tests results in build
failures if using Python 3.
2019-09-01 20:28:08 +02:00
volth
7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Jan Tojnar
d90aa7dc62
Merge pull request #67389 from jtojnar/xdg-user-dirs
Allow changing xdg-user-dirs with environment.etc
2019-08-24 19:22:45 +02:00
adisbladis
83d179fc09
xpra: 2.5 -> 2.5.3
Also fix build by using opencv4
2019-08-24 14:15:17 +01:00
Jan Tojnar
865293c508
xdg-user-dirs: deprioritize shipped configs
XDG_CONFIG_DIRS should contain directories ordered by priority
so if we want users to be able to customize the defaults, we
need to move the shipped values to the end.
2019-08-24 14:39:02 +02:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Marek Mahut
c62a561f70
Merge pull request #67165 from r-ryantm/auto-update/xkb-switch
xkb-switch: 1.5.0 -> 1.6.0
2019-08-21 21:17:06 +02:00
Marek Mahut
9d54c9eff1
Merge pull request #67173 from r-ryantm/auto-update/wpgtk
wpgtk: 6.0.8 -> 6.0.9
2019-08-21 21:13:33 +02:00
R. RyanTM
436e3c5ef1 wpgtk: 6.0.8 -> 6.0.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/wpgtk/versions
2019-08-20 22:54:05 -07:00
R. RyanTM
226bda8e59 xkb-switch: 1.5.0 -> 1.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/xkb-switch/versions
2019-08-20 22:12:05 -07:00
Marek Mahut
e04a39d550
Merge pull request #66989 from r-ryantm/auto-update/nx-libs
nx-libs: 3.5.99.20 -> 3.5.99.21
2019-08-20 19:37:36 +02:00
Rickard Nilsson
225e412edb Remove myself as maintainer of some packages. 2019-08-20 15:24:01 +02:00
R. RyanTM
a19bfedcd9 nx-libs: 3.5.99.20 -> 3.5.99.21
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nx-libs/versions
2019-08-19 14:45:10 -07:00
Frederik Rietdijk
f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
R. RyanTM
e6b1baef15 ckbcomp: 1.192 -> 1.193
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ckbcomp/versions
2019-08-17 13:18:51 -07:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02: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
aszlig
16ecd0d5ca
xkbvalidate: Rename output binary to xkbvalidate
So far, the output binary has been just "validate", which is quite a
very generic name and doesn't match the package name.

Even though I highly doubt that this program will ever be used outside
of NixOS modules, it's nevertheless less confusing to have a consistent
naming.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-15 01:11:32 +02:00
aszlig
1964b0c1b1
xkbvalidate: Don't rely on GNU extensions
The only reason why I was using _GNU_SOURCE was because of vasprintf(),
so getting rid of that extension should make the source way more
portable.

When using vsnprintf() with a null pointer for the output buffer and a
size of 0, I wasn't quite sure whether this would be undefined
behaviour, so I looked it up in the C11 standard.

In section 7.21.6.5, it explicitly mentions this case, so we're lucky:

  If n is zero, nothing is written, and s may be a null pointer.

Additionally, section 7.21.6.12 writes the following about vsnprintf():

  The vsnprintf function does not invoke the va_end macro.

So to be sure to avoid undefined behaviour I subsequently added the
corresponding va_end() calls.

With this, the platforms attribute is now "unix", because the program
should now even run on OS X, even though it usually wouldn't be needed.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-15 00:59:58 +02:00
aszlig
77e8a12755
xkbvalidate: Use $CC instead of hardcoded gcc
I initially didn't use $CC because I thought this would be GCC specific,
but it turns out that Clang actually accepts -std=gnu11.

So using $CC here might not work on compilers other than Clang or GCC,
but at the moment those are the compilers we typically use in nixpkgs,
so even if we'd use some other compiler it *might* even work there.

I've tested this by compiling against clangStdenv with both $CC and
clang hardcoded and it works.

This was reported by @dkudriavtsev on IRC.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-14 23:57:20 +02:00