···11-Copyright (c) 2003-2016 Eelco Dolstra and the Nixpkgs/NixOS contributors
11+Copyright (c) 2003-2017 Eelco Dolstra and the Nixpkgs/NixOS contributors
2233Permission is hereby granted, free of charge, to any person obtaining
44a copy of this software and associated documentation files (the
···281281 riak-cs = 263;
282282 infinoted = 264;
283283 keystone = 265;
284284+ glance = 266;
284285285286 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
286287···532533 riak-cs = 263;
533534 infinoted = 264;
534535 keystone = 265;
536536+ glance = 266;
535537536538 # When adding a gid, make sure it doesn't match an existing
537539 # uid. Users and groups with the same name should have equal
···3333 '';
3434 };
35353636- enableMediaKeys = mkOption {
3737- type = types.bool;
3838- default = false;
3939- description = ''
4040- Whether to enable volume and capture control with keyboard media keys.
4141-4242- Enabling this will turn on <option>services.actkbd</option>.
4343- '';
4444- };
4545-4636 extraConfig = mkOption {
4737 type = types.lines;
4838 default = "";
···5444 '';
5545 };
56464747+ mediaKeys = {
4848+4949+ enable = mkOption {
5050+ type = types.bool;
5151+ default = false;
5252+ description = ''
5353+ Whether to enable volume and capture control with keyboard media keys.
5454+5555+ Enabling this will turn on <option>services.actkbd</option>.
5656+ '';
5757+ };
5858+5959+ volumeStep = mkOption {
6060+ type = types.string;
6161+ default = "1";
6262+ example = "1%";
6363+ description = ''
6464+ The value by which to increment/decrement volume on media keys.
6565+6666+ See amixer(1) for allowed values.
6767+ '';
6868+ };
6969+7070+ };
7171+5772 };
58735974 };
···90105 };
91106 };
921079393- services.actkbd = mkIf config.sound.enableMediaKeys {
108108+ services.actkbd = mkIf config.sound.mediaKeys.enable {
94109 enable = true;
95110 bindings = [
96111 # "Mute" media key
97112 { keys = [ 113 ]; events = [ "key" ]; command = "${alsaUtils}/bin/amixer -q set Master toggle"; }
9811399114 # "Lower Volume" media key
100100- { keys = [ 114 ]; events = [ "key" "rep" ]; command = "${alsaUtils}/bin/amixer -q set Master 1- unmute"; }
115115+ { keys = [ 114 ]; events = [ "key" "rep" ]; command = "${alsaUtils}/bin/amixer -q set Master ${config.sound.mediaKeys.volumeStep}- unmute"; }
101116102117 # "Raise Volume" media key
103103- { keys = [ 115 ]; events = [ "key" "rep" ]; command = "${alsaUtils}/bin/amixer -q set Master 1+ unmute"; }
118118+ { keys = [ 115 ]; events = [ "key" "rep" ]; command = "${alsaUtils}/bin/amixer -q set Master ${config.sound.mediaKeys.volumeStep}+ unmute"; }
104119105120 # "Mic Mute" media key
106121 { keys = [ 190 ]; events = [ "key" ]; command = "${alsaUtils}/bin/amixer -q set Capture toggle"; }
+4-4
nixos/modules/services/audio/mpd.nix
···83838484 listenAddress = mkOption {
8585 type = types.str;
8686- default = "any";
8686+ default = "127.0.0.1";
8787+ example = "any";
8788 description = ''
8888- This setting sets the address for the daemon to listen on. Careful attention
8989- should be paid if this is assigned to anything other then the default, any.
9090- This setting can deny access to control of the daemon.
8989+ The address for the daemon to listen on.
9090+ Use <literal>any</literal> to listen on all addresses.
9191 '';
9292 };
9393
···11-#! /bin/sh /usr/share/dpatch/dpatch-run
22-## 03_diffoptstypo.dpatch by <crafterm@debian.org>
33-##
44-## All lines beginning with `## DP:' are a description of the patch.
55-## DP: Diff opts typo fix
66-77-@DPATCH@
88-99---- cvsps-2.1-orig/cvsps.1 2005-05-26 05:39:40.000000000 +0200
1010-+++ cvsps-2.1/cvsps.1 2005-07-28 15:17:48.885112048 +0200
1111-@@ -83,7 +83,7 @@
1212- disable the use of rlog internally. Note: rlog is
1313- required for stable PatchSet numbering. Use with care.
1414- .TP
1515--.B \-\-diffs\-opts <option string>
1616-+.B \-\-diff\-opts <option string>
1717- send a custom set of options to diff, for example to increase
1818- the number of context lines, or change the diff format.
1919- .TP
···11-diff -Naur GG/src/Font.cpp
22---- /GG/src/Font.cpp
33-+++ /GG/src/Font.cpp
44-@@ -1586,8 +1586,13 @@
55- using boost::lexical_cast;
66- FT_UInt index = FT_Get_Char_Index(face, ch);
77- if (index) {
88-- if (FT_Load_Glyph(face, index, FT_LOAD_DEFAULT))
99-- ThrowBadGlyph("GG::Font::GetGlyphBitmap : Freetype could not load the glyph for character '%1%'", ch);
1010-+ if (FT_Load_Glyph(face, index, FT_LOAD_DEFAULT)) {
1111-+ // loading of a glpyh failed so we replace it with
1212-+ // the 'Replacement Character' at codepoint 0xFFFD
1313-+ FT_UInt tmp_index = FT_Get_Char_Index(face, 0xFFFD);
1414-+ if (FT_Load_Glyph(face, tmp_index, FT_LOAD_DEFAULT))
1515-+ ThrowBadGlyph("GG::Font::GetGlyphBitmap : Freetype could not load the glyph for character '%1%'", ch);
1616-+ }
1717-1818- FT_GlyphSlot glyph = face->glyph;
1919-