Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f01ed7b38aaa
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d77e3bd66135
Choose a head ref
  • 8 commits
  • 7 files changed
  • 3 contributors

Commits on Jun 18, 2019

  1. grafana: 6.2.2 -> 6.2.3

    (cherry picked from commit adfcb01)
    WilliButz authored and fpletz committed Jun 18, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9c8ea48 View commit details
  2. grafana: 6.2.3 -> 6.2.4

    (cherry picked from commit ad6dad6)
    WilliButz authored and fpletz committed Jun 18, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    c916ad9 View commit details
  3. firefox-bin: 67.0.2 -> 67.0.3

    CVE-2019-11707
    
    (cherry picked from commit 994a67d)
    alyssais committed Jun 18, 2019
    Copy the full SHA
    d988e7b View commit details
  4. firefox-beta-bin: 68.0b9 -> 68.0b11

    CVE-2019-11707
    
    (cherry picked from commit 95da818)
    alyssais committed Jun 18, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    32c3007 View commit details
  5. firefox-devedition-bin: 68.0b9 -> 68.0b11

    CVE-2019-11707
    
    (cherry picked from commit dad5e84)
    alyssais committed Jun 18, 2019
    Copy the full SHA
    b6532c4 View commit details
  6. firefox-esr: 60.7.0esr -> 60.7.1esr

    CVE-2019-11707
    
    (cherry picked from commit 087c619)
    alyssais committed Jun 18, 2019
    Copy the full SHA
    bb2e38f View commit details
  7. firefox: 67.0.2 -> 67.0.3

    CVE-2019-11707
    
    (cherry picked from commit 0ca0284)
    alyssais committed Jun 18, 2019
    Copy the full SHA
    f12e27b View commit details
  8. xpra: 2.3.4 -> 2.5, unbreak

    (cherry picked from commit d48e8f6)
    dtzWill authored and bjornfor committed Jun 18, 2019
    Copy the full SHA
    d77e3bd View commit details
746 changes: 373 additions & 373 deletions pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix

Large diffs are not rendered by default.

746 changes: 373 additions & 373 deletions pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix

Large diffs are not rendered by default.

794 changes: 397 additions & 397 deletions pkgs/applications/networking/browsers/firefox-bin/release_sources.nix

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pkgs/applications/networking/browsers/firefox/packages.nix
Original file line number Diff line number Diff line change
@@ -10,10 +10,10 @@ rec {

firefox = common rec {
pname = "firefox";
ffversion = "67.0.2";
ffversion = "67.0.3";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
sha512 = "289bhd8ynanb2zpclzaqqyz4082w529kcf3fd7li3k4pn0ayvkxfv4kmmhfz4xxrwsx6f489ffcj9a48ckk1czi9kykvj3i6ni0mnhl";
sha512 = "218d699mpnb8h6h24l79ar9b2gg0scqj4xwbk7p45x2arhjbhn3wq4pkzq434gcn3a1ybfkqpyifnnpv787kj4mqbdfq3cminj7al67";
};

patches = [
@@ -67,10 +67,10 @@ rec {

firefox-esr-60 = common rec {
pname = "firefox-esr";
ffversion = "60.7.0esr";
ffversion = "60.7.1esr";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
sha512 = "1armp7nmzn864l42nasw0zqsp8y1zj4vhgbm99c49a435m44c8p66qrjxy6rn2haqsy76i9x5zf8ph2d014ap6g5yhidj7iymbjh5f2";
sha512 = "23l1sxg50w78zf93296szpyg5mksh18y3ihb4fgdw5qmpxvqsn0aiwwik903gf5fsgbjk0w0gynsy6xdbav862xjkq5j6gvyrr2hzjr";
};

patches = [
6 changes: 3 additions & 3 deletions pkgs/servers/monitoring/grafana/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:

buildGoPackage rec {
version = "6.2.2";
version = "6.2.4";
name = "grafana-${version}";
goPackagePath = "github.com/grafana/grafana";

@@ -11,12 +11,12 @@ buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "16sf9g79crwjarmspc35lab47vfnw59rjn2vcrgrz8y3l466qn8p";
sha256 = "1xfxvjhq96s3hchvigji7ppz777kggf39gh4dcqjzhls5qy6rm3i";
};

srcStatic = fetchurl {
url = "https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-${version}.linux-amd64.tar.gz";
sha256 = "12w309bgii0qsjc7p6zssliy8y2jkixhf8g464f4mr8pnkx1yamz";
sha256 = "082mmwksv97r2g8ywvsj5f126ycp3jwxjp21jfq0135l8yz73vwh";
};

postPatch = ''
29 changes: 19 additions & 10 deletions pkgs/tools/X11/xpra/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, callPackage, substituteAll, python3, pkgconfig
, xorg, gtk3, glib, pango, cairo, gdk_pixbuf, atk
, wrapGAppsHook, xorgserver, getopt, xauth, utillinux, which
, ffmpeg, x264, libvpx, libwebp
, ffmpeg_4, x264, libvpx, libwebp, x265
, libfakeXinerama
, gst_all_1, pulseaudio, gobject-introspection
, pam }:
@@ -14,11 +14,11 @@ let
xf86videodummy = callPackage ./xf86videodummy { };
in buildPythonApplication rec {
pname = "xpra";
version = "2.3.4";
version = "2.5";

src = fetchurl {
url = "https://xpra.org/src/${pname}-${version}.tar.xz";
sha256 = "0wa3kx54himy3i1b2801hlzfilh3cf4kjk40k1cjl0ds28m5hija";
sha256 = "0q6c7ijgpp2wk6jlh0pzqki1w60i36wyl2zfwkg0gpdh40ypab3x";
};

patches = [
@@ -28,17 +28,21 @@ in buildPythonApplication rec {
})
];

nativeBuildInputs = [ pkgconfig gobject-introspection wrapGAppsHook ];
postPatch = ''
substituteInPlace setup.py --replace '/usr/include/security' '${pam}/include/security'
'';

nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = with xorg; [
libX11 xorgproto libXrender libXi
libXtst libXfixes libXcomposite libXdamage
libXrandr libxkbfile
] ++ [
cython

pango cairo gdk_pixbuf atk gtk3 glib
pango cairo gdk_pixbuf atk.out gtk3 glib

ffmpeg libvpx x264 libwebp
ffmpeg_4 libvpx x264 libwebp x265

gst_all_1.gstreamer
gst_all_1.gst-plugins-base
@@ -47,11 +51,13 @@ in buildPythonApplication rec {
gst_all_1.gst-libav

pam
gobject-introspection
];

propagatedBuildInputs = with python3.pkgs; [
pillow rencode pycrypto cryptography pycups lz4 dbus-python
netifaces numpy websockify pygobject3 pycairo gst-python pam
netifaces numpy pygobject3 pycairo gst-python pam
pyopengl paramiko opencv python-uinput pyxdg
ipaddress idna
];

NIX_CFLAGS_COMPILE = [
@@ -64,6 +70,9 @@ in buildPythonApplication rec {
"--without-strict"
"--with-gtk3"
"--without-gtk2"
# Override these, setup.py checks for headers in /usr/* paths
"--with-pam"
"--with-vsock"
];

preFixup = ''
@@ -76,6 +85,8 @@ in buildPythonApplication rec {

doCheck = false;

enableParallelBuilding = true;

passthru = { inherit xf86videodummy; };

meta = {
@@ -85,8 +96,6 @@ in buildPythonApplication rec {
description = "Persistent remote applications for X";
platforms = platforms.linux;
license = licenses.gpl2;
# https://github.com/NixOS/nixpkgs/pull/48872#issuecomment-433559636
broken = true;
maintainers = with maintainers; [ tstrobel offline numinit ];
};
}
29 changes: 15 additions & 14 deletions pkgs/tools/X11/xpra/fix-paths.patch
Original file line number Diff line number Diff line change
@@ -9,25 +9,26 @@
cython_add(Extension("xpra.client.gtk3.cairo_workaround",
["xpra/client/gtk3/cairo_workaround.pyx"],
**pkgconfig(pycairo)
--- a/xpra/client/gtk3/cairo_workaround.pyx
+++ b/xpra/client/gtk3/cairo_workaround.pyx
@@ -65,7 +65,7 @@
void cairo_surface_flush (cairo_surface_t *surface)
void cairo_surface_mark_dirty (cairo_surface_t *surface)

-cdef extern from "pycairo/pycairo.h":
+cdef extern from "py3cairo.h":
ctypedef struct Pycairo_CAPI_t:
pass
ctypedef struct PycairoSurface:
@@ -2363,10 +2363,7 @@
v4l2_pkgconfig = pkgconfig()
#fuly warning: cython makes this difficult,
#we have to figure out if "device_caps" exists in the headers:
- ENABLE_DEVICE_CAPS = False
- if os.path.exists("/usr/include/linux/videodev2.h"):
- hdata = open("/usr/include/linux/videodev2.h").read()
- ENABLE_DEVICE_CAPS = hdata.find("device_caps")>=0
+ ENABLE_DEVICE_CAPS = True
kwargs = {"ENABLE_DEVICE_CAPS" : ENABLE_DEVICE_CAPS}
make_constants("xpra", "codecs", "v4l2", "constants", **kwargs)
cython_add(Extension("xpra.codecs.v4l2.pusher",
--- a/xpra/x11/bindings/keyboard_bindings.pyx
+++ b/xpra/x11/bindings/keyboard_bindings.pyx
@@ -19,7 +19,7 @@

DEF PATH_MAX = 1024
DEF DFLT_XKB_RULES_FILE = "base"
-DEF DFLT_XKB_CONFIG_ROOT = "/usr/share/X11/xkb"
+DEF DFLT_XKB_CONFIG_ROOT = "@xkeyboardconfig@/share/X11/xkb"
DEF DFLT_XKB_RULES_FILE = b"base"
-DEF DFLT_XKB_CONFIG_ROOT = b"/usr/share/X11/xkb"
+DEF DFLT_XKB_CONFIG_ROOT = b"@xkeyboardconfig@/share/X11/xkb"

###################################
# Headers, python magic