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: d9617978fb78
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: 8b56d205b2e1
Choose a head ref
  • 10 commits
  • 11 files changed
  • 3 contributors

Commits on Aug 21, 2019

  1. Copy the full SHA
    5c7bd01 View commit details
  2. nixos/pantheon: enable vte integration

    Default terminal is elementary-terminal which uses vte.
    worldofpeace committed Aug 21, 2019
    Copy the full SHA
    034eb3b View commit details
  3. nixos/mate: enable vte integration

    Default terminal is mate-terminal which uses vte.
    worldofpeace committed Aug 21, 2019
    Copy the full SHA
    1156146 View commit details
  4. Merge pull request #67219 from worldofpeace/vte-integration-whereneeded

    Enable programs.$shell.vteIntegration where needed
    worldofpeace authored Aug 21, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f96fdd8 View commit details

Commits on Aug 22, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    9ad99a8 View commit details
  2. graphene: 1.8.6 → 1.9.6

    we need unstable version for glthree
    jtojnar committed Aug 22, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    0e51dcd View commit details
  3. gthree: unstable-2019-10-21

    jtojnar committed Aug 22, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    144ac2b View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    80354ee View commit details
  5. Merge pull request #67222 from jtojnar/glthree

    gnome-hexgl: init at unstable-2019-08-21
    jtojnar authored Aug 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b992565 View commit details
  6. Merge pull request #67146 from aanderse/kdevelop

    kdevelop, kdev-php, kdev-python: 5.4.0 -> 5.4.1
    aanderse authored Aug 22, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8b56d20 View commit details
4 changes: 4 additions & 0 deletions nixos/modules/services/x11/desktop-managers/mate.nix
Original file line number Diff line number Diff line change
@@ -94,6 +94,10 @@ in
];

programs.dconf.enable = true;
# Shell integration for VTE terminals
programs.bash.vteIntegration = mkDefault true;
programs.zsh.vteIntegration = mkDefault true;

services.gnome3.at-spi2-core.enable = true;
services.gnome3.gnome-keyring.enable = true;
services.gnome3.gnome-settings-daemon.enable = true;
4 changes: 4 additions & 0 deletions nixos/modules/services/x11/desktop-managers/pantheon.nix
Original file line number Diff line number Diff line change
@@ -146,6 +146,10 @@ in
programs.evince.enable = mkDefault true;
programs.file-roller.enable = mkDefault true;

# Shell integration for VTE terminals
programs.bash.vteIntegration = mkDefault true;
programs.zsh.vteIntegration = mkDefault true;

# Harmonize Qt5 applications under Pantheon
qt5.enable = true;
qt5.platformTheme = "gnome";
4 changes: 2 additions & 2 deletions pkgs/applications/editors/kdevelop5/kdev-php.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "kdev-php";
version = "5.4.0";
version = "5.4.1";

src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
sha256 = "1lfl8y1nmai7kp7jil8cykalw2ib0f3n47jvnz7302qsrs3lvhf2";
sha256 = "07j06k2f5rbwgknwcbj70wwn831a54is4kiwlpfd4la2c05slmy5";
};

nativeBuildInputs = [ cmake extra-cmake-modules ];
4 changes: 2 additions & 2 deletions pkgs/applications/editors/kdevelop5/kdev-python.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "kdev-python";
version = "5.4.0";
version = "5.4.1";

src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
sha256 = "1bsls5gf8jcb5zmswz82x8whfqadpgcapfc8sxvpjv5yhnjknk8c";
sha256 = "1dazd77bkjs11h318q4ia6ijk0d0s04v0zm8lwqlgcj271sqrfqb";
};

cmakeFlags = [
4 changes: 2 additions & 2 deletions pkgs/applications/editors/kdevelop5/kdevelop.nix
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@

mkDerivation rec {
pname = "kdevelop";
version = "5.4.0";
version = "5.4.1";

src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
sha256 = "0zi59xlw6facak1jfzlyviwmpjn98dmircmjyqiv3ac5xr30f0ll";
sha256 = "12iqgmhaxm9q085h50dzkswcmsp02jzm4jjgrhkx4jlzmf4w4jb8";
};

nativeBuildInputs = [
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
From c550bf4a41e9f86351b0a65ea3d6c9ab616e27c0 Mon Sep 17 00:00:00 2001
From 2bf6614a6d7516e194e39eb691c05b486860153c Mon Sep 17 00:00:00 2001
From: worldofpeace <worldofpeace@protonmail.ch>
Date: Thu, 16 May 2019 21:15:15 -0400
Subject: [PATCH] meson: add options for tests installation dirs

---
meson_options.txt | 6 ++++++
src/tests/meson.build | 19 ++++++++++++++-----
meson_options.txt | 6 ++++++
tests/meson.build | 19 ++++++++++++++-----
2 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/meson_options.txt b/meson_options.txt
index c938805..c1e9e95 100644
index 578bdae..6f5fa23 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -19,6 +19,12 @@ option('arm_neon', type: 'boolean',
option('tests', type: 'boolean',
@@ -22,3 +22,9 @@ option('tests', type: 'boolean',
option('installed_tests', type: 'boolean',
value: true,
description: 'Build the test suite (requires GObject)')
description: 'Install tests')
+option('installed_test_datadir', type: 'string',
+ value: '',
+ description: 'Installation directory for data files in tests')
+option('installed_test_bindir', type: 'string',
+ value: '',
+ description: 'Installation directory for binary files in tests')
option('benchmarks', type: 'boolean',
value: true,
description: 'Build the benchmarks suite (requires GObject)')
diff --git a/src/tests/meson.build b/src/tests/meson.build
index 62129c6..0186400 100644
--- a/src/tests/meson.build
+++ b/src/tests/meson.build
diff --git a/tests/meson.build b/tests/meson.build
index 1f9bd0e..0253ac3 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -22,8 +22,17 @@ unit_tests = [
python = python3.find_python()
gen_installed_test = join_paths(meson.current_source_dir(), 'gen-installed-test.py')
@@ -47,33 +44,33 @@ index 62129c6..0186400 100644
+ test_bindir = join_paths(get_option('prefix'), get_option('libexecdir'), test_suffix)
+endif

foreach unit: unit_tests
wrapper = '@0@.test'.format(unit)
@@ -32,13 +41,13 @@ foreach unit: unit_tests
command: [
python,
gen_installed_test,
- '--testdir=@0@'.format(installed_test_bindir),
+ '--testdir=@0@'.format(test_bindir),
'--testname=@0@'.format(unit),
'--outdir=@OUTDIR@',
'--outfile=@0@'.format(wrapper),
],
install: true,
- install_dir: installed_test_datadir)
+ install_dir: test_datadir)

exe = executable(unit, unit + '.c',
dependencies: graphene_dep,
@@ -50,7 +59,7 @@ foreach unit: unit_tests
'-DGLIB_DISABLE_DEPRECATION_WARNINGS',
],
install: true,
- install_dir: installed_test_bindir)
+ install_dir: test_bindir)
# Make tests conditional on having mutest-1 installed system-wide, or
# available as a subproject
@@ -42,13 +51,13 @@ if mutest_dep.found()
command: [
python,
gen_installed_test,
- '--testdir=@0@'.format(installed_test_bindir),
+ '--testdir=@0@'.format(test_bindir),
'--testname=@0@'.format(unit),
'--outdir=@OUTDIR@',
'--outfile=@0@'.format(wrapper),
],
install: get_option('installed_tests'),
- install_dir: installed_test_datadir,
+ install_dir: test_datadir,
)

test(unit, exe, args: [ '--tap', '-k' ])
endforeach
test(unit,
@@ -57,7 +66,7 @@ if mutest_dep.found()
include_directories: graphene_inc,
c_args: common_cflags,
install: get_option('installed_tests'),
- install_dir: installed_test_bindir,
+ install_dir: test_bindir,
),
env: ['MUTEST_OUTPUT=tap'],
protocol: 'tap',
--
2.21.0
2.22.0

11 changes: 8 additions & 3 deletions pkgs/development/libraries/graphene/default.nix
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
, meson
, ninja
, python3
, mutest
, glib
, gtk-doc
, docbook_xsl
@@ -13,15 +14,15 @@

stdenv.mkDerivation rec {
pname = "graphene";
version = "1.8.6";
version = "1.9.6";

outputs = [ "out" "devdoc" "installedTests" ];

src = fetchFromGitHub {
owner = "ebassi";
repo = pname;
rev = version;
sha256 = "1hdbdzcz86jrvsq5h954ph9q62m8jr2a5s5acklxhdkfqn5bkbv8";
sha256 = "0hb7s6g00l7zlf4hlfda55krn0pls9ajz0hcqrh8m656zr18ddwa";
};

patches = [
@@ -41,17 +42,21 @@ stdenv.mkDerivation rec {
meson
ninja
pkgconfig
gobject-introspection
python3
];

buildInputs = [
glib
gobject-introspection
];

checkInputs = [
glib
mutest
];

doCheck = true;

meta = with stdenv.lib; {
description = "A thin layer of graphic data types";
homepage = "https://ebassi.github.com/graphene";
72 changes: 72 additions & 0 deletions pkgs/development/libraries/gthree/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, ninja
, meson
, pkgconfig
, gobject-introspection
, gtk-doc
, docbook_xsl
, docbook_xml_dtd_43
, glib
, gtk3
, graphene
, epoxy
, json-glib
}:

stdenv.mkDerivation rec {
pname = "gthree";
version = "unstable-2019-08-21";

outputs = [ "out" "dev" "devdoc" ];

src = fetchFromGitHub {
owner = "alexlarsson";
repo = "gthree";
rev = "dac46b0f35e29319c004c7e17b5f345ef4c04cb8";
sha256 = "16ixis2g04000zffm44s7ir64vn3byz9a793g2s76aasqybl86i2";
};

patches = [
# correctly declare json-glib in .pc file
# https://github.com/alexlarsson/gthree/pull/61
(fetchpatch {
url = https://github.com/alexlarsson/gthree/commit/784b1f20e0b6eb15f113a51f74c2cba871249861.patch;
sha256 = "07vxafaxris5a98w751aw04nlw0l45np1lba08xd16wdzmkadz0x";
})
];

nativeBuildInputs = [
ninja
meson
pkgconfig
gtk-doc
docbook_xsl
docbook_xml_dtd_43
gobject-introspection
];

buildInputs = [
epoxy
];

propagatedBuildInputs = [
glib
gtk3
graphene
json-glib
];

mesonFlags = [
"-Dgtk_doc=${if stdenv.isDarwin then "false" else "true"}"
];

meta = with stdenv.lib; {
description = "GObject/GTK port of three.js";
homepage = https://github.com/alexlarsson/gthree;
license = licenses.mit;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}
34 changes: 34 additions & 0 deletions pkgs/development/libraries/mutest/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv
, fetchFromGitHub
, meson
, ninja
}:

stdenv.mkDerivation rec {
pname = "mutest";
version = "unstable-2019-10-12";

outputs = [ "out" "dev" ];

src = fetchFromGitHub {
owner = "ebassi";
repo = "mutest";
rev = "822b5ddf07f957135ba39889d81e513d525b9b8e";
sha256 = "0a5fjdq9p0q5bibqngbbpd9lga0gzrv8yj5wgdfb8ylxzg0jph2p";
};

nativeBuildInputs = [
meson
ninja
];

doCheck = true;

meta = with stdenv.lib; {
homepage = https://ebassi.github.io/mutest/mutest.md.html;
description = "A BDD testing framework for C, inspired by Mocha";
license = licenses.mit;
maintainers = with maintainers; [ jtojnar worldofpeace ];
platforms = platforms.all;
};
}
43 changes: 43 additions & 0 deletions pkgs/games/gnome-hexgl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{ stdenv
, fetchFromGitHub
, ninja
, meson
, pkgconfig
, gthree
, gsound
, epoxy
, gtk3
}:

stdenv.mkDerivation rec {
pname = "gnome-hexgl";
version = "unstable-2019-08-21";

src = fetchFromGitHub {
owner = "alexlarsson";
repo = "gnome-hexgl";
rev = "c6edde1250b830c7c8ee738905cb39abef67d4a6";
sha256 = "17j236damqij8n4a37psvkfxbbc18yw03s3hs0qxgfhl4671wf6z";
};

nativeBuildInputs = [
ninja
meson
pkgconfig
];

buildInputs = [
gthree
gsound
epoxy
gtk3
];

meta = with stdenv.lib; {
description = "Gthree port of HexGL";
homepage = https://github.com/alexlarsson/gnome-hexgl;
license = licenses.mit;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}
6 changes: 6 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1698,6 +1698,8 @@ in

gsctl = callPackage ../applications/misc/gsctl { };

gthree = callPackage ../development/libraries/gthree { };

gti = callPackage ../tools/misc/gti { };

hdate = callPackage ../applications/misc/hdate { };
@@ -9493,6 +9495,8 @@ in

gnome-desktop-testing = callPackage ../development/tools/gnome-desktop-testing {};

gnome-hexgl = callPackage ../games/gnome-hexgl {};

gnome-usage = callPackage ../applications/misc/gnome-usage {};

gnome-latex = callPackage ../applications/editors/gnome-latex/default.nix { };
@@ -12627,6 +12631,8 @@ in

muparser = callPackage ../development/libraries/muparser { };

mutest = callPackage ../development/libraries/mutest { };

mygpoclient = pythonPackages.mygpoclient;

mygui = callPackage ../development/libraries/mygui {