Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c51a4801f475
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2bd4f8023bff
Choose a head ref
  • 5 commits
  • 6 files changed
  • 4 contributors

Commits on Oct 17, 2019

  1. blueman: update patch

    Fixes #71297
    worldofpeace committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    eadwu Edmund Wu
    Copy the full SHA
    6b98d70 View commit details
  2. anydesk: fix icons (#71250)

    shreyanshk authored and c0bw3b committed Oct 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    eadwu Edmund Wu
    Copy the full SHA
    f57d398 View commit details
  3. liburing: 0.1 -> 0.2pre246_08bd8151

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Oct 17, 2019
    Copy the full SHA
    2332cb7 View commit details

Commits on Oct 18, 2019

  1. bustle: fix build

    jtojnar committed Oct 18, 2019
    Copy the full SHA
    538d9cb View commit details
  2. Copy the full SHA
    2bd4f80 View commit details
2 changes: 1 addition & 1 deletion pkgs/applications/networking/remote/anydesk/default.nix
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share/{applications,doc/anydesk,icons/hicolor}
install -m755 anydesk $out/bin/anydesk
cp copyright README $out/share/doc/anydesk
cp -r icons/* $out/share/icons/hicolor/
cp -r icons/hicolor/* $out/share/icons/hicolor/
cp ${desktopItem}/share/applications/*.desktop $out/share/applications
runHook postInstall
5 changes: 2 additions & 3 deletions pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
Original file line number Diff line number Diff line change
@@ -4,21 +4,20 @@

stdenv.mkDerivation rec {
pname = "gnome-shell-gsconnect";
version = "26";
version = "27";

src = fetchFromGitHub {
owner = "andyholmes";
repo = "gnome-shell-extension-gsconnect";
rev = "v${version}";
sha256 = "01p8b3blsnxi2i89nddkm51wbbw5irwii2qlvlrzfh8hhh37my0a";
sha256 = "0bpg7hl81wir3c15ri8kbvr6xhalpkfmcyazwmmwyj5lxpn40ykk";
};

patches = [
# Make typelibs available in the extension
(substituteAll {
src = ./fix-paths.patch;
gapplication = "${glib.bin}/bin/gapplication";
mutter_gsettings_path = glib.getSchemaPath gnome3.mutter;
})
];

29 changes: 0 additions & 29 deletions pkgs/desktops/gnome-3/extensions/gsconnect/fix-paths.patch
Original file line number Diff line number Diff line change
@@ -29,32 +29,3 @@
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
--- a/src/preferences/service.js
+++ b/src/preferences/service.js
@@ -435,9 +435,9 @@ var Window = GObject.registerClass({

_restoreGeometry() {
if (this._mutterSettings === undefined) {
- this._mutterSettings = new Gio.Settings({
- schema_id: 'org.gnome.mutter'
- });
+ const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@mutter_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+ const _schema = _schema_source.lookup('org.gnome.mutter', false);
+ this._mutterSettings = new Gio.Settings({settings_schema: _schema});
}

// Restore geometry, even if we're going to maximize
--- a/src/service/ui/messaging.js
+++ b/src/service/ui/messaging.js
@@ -891,9 +891,9 @@ var Window = GObject.registerClass({
*/
_restoreGeometry() {
if (this._mutterSettings === undefined) {
- this._mutterSettings = new Gio.Settings({
- schema_id: 'org.gnome.mutter'
- });
+ const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@mutter_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+ const _schema = _schema_source.lookup('org.gnome.mutter', false);
+ this._mutterSettings = new Gio.Settings({settings_schema: _schema});
}

16 changes: 15 additions & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -589,9 +589,23 @@ self: super: {
sets = dontCheck super.sets;

# Install icons, metadata and cli program.
bustle = overrideCabal super.bustle (drv: {
# Do not build hgettext as it is broken
# https://gitlab.freedesktop.org/bustle/bustle/issues/13
bustle = overrideCabal (disableCabalFlag (super.bustle.override { hgettext = null; }) "hgettext") (drv: {
buildDepends = [ pkgs.libpcap ];
buildTools = with pkgs.buildPackages; [ gettext perl help2man ];
patches = [
# fix build
# https://gitlab.freedesktop.org/bustle/bustle/merge_requests/14
(pkgs.fetchpatch {
url = "https://gitlab.freedesktop.org/bustle/bustle/commit/ee4b81cbc232d47ba9940f1987777b17452e71ff.patch";
sha256 = "0v9cvbmrma5jcqcg1narpm1549h0cg8mr6i00qxmq0x6hs04dnwa";
})
(pkgs.fetchpatch {
url = "https://gitlab.freedesktop.org/bustle/bustle/commit/aae6843f51f54679d440fb3813e61355dc8406b9.patch";
sha256 = "1a8hr38hd1gdkqhsy56hyl7njw8ci79iigr81aalkb7hn4ckvh2a";
})
];
postInstall = ''
make install PREFIX=$out
'';
47 changes: 4 additions & 43 deletions pkgs/development/libraries/liburing/default.nix
Original file line number Diff line number Diff line change
@@ -4,54 +4,14 @@

stdenv.mkDerivation rec {
pname = "liburing";
version = "0.1";
version = "0.2pre246_${builtins.substring 0 8 src.rev}";

src = fetchgit {
url = "http://git.kernel.dk/liburing";
rev = "refs/tags/liburing-${version}";
sha256 = "038iqsbm9bdmlwvmb899bc6g1rw5dalr990azynbvgn8qs5adysh";
rev = "08bd815170ab4352d71019f4d3e532cd3f6f0489";
sha256 = "1wqraxj9mzph3wgfq4ld4bxa8ya2db65cwzyh9fmhvhhlsivi6wr";
};

patches = [

# This patch re-introduces support for aarch64-linux, by adding the
# necessary memory barrier primitives for it to work.
#
# Already upstream: remove when moving to the next version
(fetchpatch {
url = "http://git.kernel.dk/cgit/liburing/patch/?id=0520db454c29f1d96cda6cf6cedeb93df65301e8";
sha256 = "1i8133sb1imzxpplmhlhnaxkffgplhj40vanivc6clbibvhgwpq6";
})

# This patch shuffles the name of the io_uring memory barrier primitives.
# They were using extremely common names by accident, which caused
# namespace conflicts with many other projects using the same names. Note:
# this does not change the user-visible API of liburing (liburing is
# designed exactly to hide the necessary memory barriers when using the
# io_uring syscall directly). It only changes the names of some internals.
# The only reason this caused problems at all is because memory barrier
# primitives are written as preprocessor defines, in a common header file,
# which get included unilaterally.
#
# Already upstream: remove when moving to the next version
(fetchpatch {
url = "http://git.kernel.dk/cgit/liburing/patch/?id=552c6a08d04c74d20eeaa86f535bfd553b352370";
sha256 = "123d6jdqfy7b8aq9f6ax767n48hhbx6pln3nlrp623595i8zz3wf";
})

# Finally, this patch fixes the aarch64-linux support introduced by the
# first patch, but which was _broken_ by the second patch, in a horrid
# twist of fate: it neglected to change the names of the aarch64 barriers
# appropriately.
#
# Already upstream: remove when moving to the next version
(fetchpatch {
url = "http://git.kernel.dk/cgit/liburing/patch/?id=6e9dd0c8c50b5988a0c77532c9c2bd6afd4790d2";
sha256 = "11mqa1bp2pdfqh08gpcd98kg7lh3rrng41b4l1wvhxdbvg5rfw9c";
})

];

separateDebugInfo = true;
enableParallelBuilding = true;

@@ -70,6 +30,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
cp ./examples/io_uring-cp examples/io_uring-test $out/bin
cp ./examples/link-cp $out/bin/io_uring-link-cp
cp ./examples/ucontext-cp $out/bin/io_uring-ucontext-cp
'';

meta = with stdenv.lib; {
11 changes: 8 additions & 3 deletions pkgs/tools/bluetooth/blueman/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ config, stdenv, lib, fetchurl, intltool, pkgconfig, python3Packages, bluez, gtk3
, obex_data_server, xdg_utils, dnsmasq, dhcp, libappindicator, iproute
, gnome3, librsvg, wrapGAppsHook, gobject-introspection
, gnome3, librsvg, wrapGAppsHook, gobject-introspection, autoreconfHook
, networkmanager, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio, fetchpatch }:

let
@@ -19,6 +19,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
gobject-introspection intltool pkgconfig pythonPackages.cython
pythonPackages.wrapPython wrapGAppsHook
autoreconfHook # drop when below patch is removed
];

buildInputs = [ bluez gtk3 pythonPackages.python librsvg
@@ -29,8 +30,12 @@ in stdenv.mkDerivation rec {
patches = [
# Don't use etc/dbus-1/system.d
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/blueman-project/blueman/pull/1103.patch";
sha256 = "0zqdi6ya97jljwinn10n9q6bixl23ww55c0pkhskn140qnrj42wf";
url = "https://github.com/blueman-project/blueman/commit/ae2be5a70cdea1d1aa0e3ab1c85c1d3a0c4affc6.patch";
sha256 = "0nb6jzlxhgjvac52cjwi0pi40b8v4h6z6pwz5vkyfmaj86spygg3";
excludes = [
"meson.build"
"Dependencies.md"
];
})
];