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: 3e87977e3837
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: dea9a04ae6fc
Choose a head ref
  • 5 commits
  • 8 files changed
  • 1 contributor

Commits on Sep 5, 2018

  1. qtchan: Fixes build from Qt upgrade. (#46082)

    Uses an upstream fix.
    
    (cherry picked from commit 7ec9a33)
    samueldr authored and xeji committed Sep 5, 2018
    Copy the full SHA
    85a10bc View commit details
  2. qmapshack: 1.11.1 -> 1.12.0 (#46084)

    (cherry picked from commit a394d08)
    samueldr authored and xeji committed Sep 5, 2018
    Copy the full SHA
    f8585bb View commit details
  3. solarus: 1.4.5 -> 1.5.3

    (cherry picked from commit 83a0d5d)
    samueldr authored and xeji committed Sep 5, 2018
    Copy the full SHA
    508608d View commit details
  4. solarus-quest-editor: 1.4.5 -> 1.5.3

    (cherry picked from commit 455f815)
    samueldr authored and xeji committed Sep 5, 2018
    Copy the full SHA
    dd1afaa View commit details
  5. qtkeychain: Fixes Qt4 build. (#46085)

    (cherry picked from commit c59d9d3)
    samueldr authored and xeji committed Sep 5, 2018
    Copy the full SHA
    dea9a04 View commit details
8 changes: 4 additions & 4 deletions pkgs/applications/misc/qmapshack/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, fetchurl, cmake, qtscript, qtwebkit, gdal, proj, routino, quazip }:
{ stdenv, fetchurl, cmake, qtscript, qtwebengine, gdal, proj, routino, quazip }:

stdenv.mkDerivation rec {
name = "qmapshack-${version}";
version = "1.11.1";
version = "1.12.0";

src = fetchurl {
url = "https://bitbucket.org/maproom/qmapshack/downloads/${name}.tar.gz";
sha256 = "0yqilfldmfw8m18jbkffv4ar1px6kjs0zlgb216bnhahcr1y8r9y";
sha256 = "0d5p60kq9pa2hfql4nr8p42n88lr42jrsryrsllvaj45b8b6kvih";
};

nativeBuildInputs = [ cmake ];

buildInputs = [ qtscript qtwebkit gdal proj routino quazip ];
buildInputs = [ qtscript qtwebengine gdal proj routino quazip ];

cmakeFlags = [
"-DROUTINO_XML_PATH=${routino}/share/routino"
9 changes: 8 additions & 1 deletion pkgs/applications/networking/browsers/qtchan/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, qt, makeWrapper }:
{ stdenv, fetchFromGitHub, fetchpatch, qt, makeWrapper }:

stdenv.mkDerivation rec {
name = "qtchan-${version}";
@@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "0n94jd6b1y8v6x5lkinr9rzm4bjg9xh9m7zj3j73pgq829gpmj3a";
};

patches = [
(fetchpatch {
url = https://github.com/siavash119/qtchan/commit/718abeee5cf4aca8c99b35b26f43909362a29ee6.patch;
sha256 = "11b72l5njvfsyapd479hp4yfvwwb1mhq3f077hwgg0waz5l7n00z";
})
];

enableParallelBuilding = true;
nativeBuildInputs = [ qt.qmake makeWrapper ];
buildInputs = [ qt.qtbase ];
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From f72e5b67ee1137a0ccd57db5d077a197b01b3cdc Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Tue, 4 Sep 2018 23:19:29 -0400
Subject: [PATCH] Fixes build with Qt4.

---
keychain_unix.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/keychain_unix.cpp b/keychain_unix.cpp
index 30b26c3..b27ebef 100644
--- a/keychain_unix.cpp
+++ b/keychain_unix.cpp
@@ -91,7 +91,7 @@ static bool isKwallet5Available()
// a wallet can be opened.

iface.setTimeout(500);
- QDBusMessage reply = iface.call(QStringLiteral("networkWallet"));
+ QDBusMessage reply = iface.call("networkWallet");
return reply.type() == QDBusMessage::ReplyMessage;
}

--
2.16.4

2 changes: 2 additions & 0 deletions pkgs/development/libraries/qtkeychain/default.nix
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
sha256 = "0h4wgngn2yl35hapbjs24amkjfbzsvnna4ixfhn87snjnq5lmjbc"; # v0.9.1
};

patches = if withQt5 then null else [ ./0001-Fixes-build-with-Qt4.patch ];

cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ]
++ stdenv.lib.optional stdenv.isDarwin [
# correctly detect the compiler
27 changes: 19 additions & 8 deletions pkgs/development/tools/solarus-quest-editor/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,36 @@
{ stdenv, fetchFromGitHub, cmake, luajit,
{ stdenv, fetchFromGitLab, cmake, luajit,
SDL2, SDL2_image, SDL2_ttf, physfs,
openal, libmodplug, libvorbis, solarus,
qtbase, qttools }:
qtbase, qttools, fetchpatch }:

stdenv.mkDerivation rec {
name = "solarus-quest-editor-${version}";
version = "1.4.5";
version = "1.5.3";

src = fetchFromGitHub {
owner = "christopho";
src = fetchFromGitLab {
owner = "solarus-games";
repo = "solarus-quest-editor";
rev = "61f0fa7a5048994fcd9c9f3a3d1255d0be2967df";
sha256 = "1fpq55nvs5k2rxgzgf39c069rmm73vmv4gr5lvmqzgsz07rkh07f";
rev = "v1.5.3";
sha256 = "1b9mg04yy4pnrl745hbc82rz79k0f8ci3wv7gvsm3a998q8m98si";
};

buildInputs = [ cmake luajit SDL2
SDL2_image SDL2_ttf physfs
openal libmodplug libvorbis
solarus qtbase qttools ];

patches = [ ./patches/fix-install.patch ];
patches = [
./patches/fix-install.patch

# Next two patches should be fine to remove for next release.
# This commit fixes issues AND adds features *sighs*
./patches/partial-f285beab62594f73e57190c49848c848487214cf.patch

(fetchpatch {
url = https://gitlab.com/solarus-games/solarus-quest-editor/commit/8f308463030c18cd4f7c8a6052028fff3b7ca35a.patch;
sha256 = "1jq48ghhznrp47q9lq2rhh48a1z4aylyy4qaniaqyfyq3vihrchr";
})
];

meta = with stdenv.lib; {
description = "The editor for the Zelda-like ARPG game engine, Solarus";
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
From f285beab62594f73e57190c49848c848487214cf Mon Sep 17 00:00:00 2001
From: stdgregwar <gregoirehirt@gmail.com>
Date: Sun, 1 Jul 2018 00:00:41 +0200
Subject: [PATCH] Shader previewer base


diff --git a/include/widgets/tileset_view.h b/include/widgets/tileset_view.h
index 615f432..799a4c6 100644
--- a/include/widgets/tileset_view.h
+++ b/include/widgets/tileset_view.h
@@ -23,6 +23,7 @@
#include "pattern_separation.h"
#include <QGraphicsView>
#include <QPointer>
+#include <QMenu>

class QAction;

diff --git a/src/widgets/text_editor.cpp b/src/widgets/text_editor.cpp
index 4f2ff68..90080a9 100644
--- a/src/widgets/text_editor.cpp
+++ b/src/widgets/text_editor.cpp
@@ -26,6 +26,7 @@
#include <QList>
#include <QPlainTextEdit>
#include <QScrollBar>
+#include <QAction>
#include <QTextStream>
#include <QUndoStack>

--
2.18.0

18 changes: 10 additions & 8 deletions pkgs/games/solarus/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{ stdenv, fetchFromGitHub, cmake, luajit,
{ stdenv, fetchFromGitLab, cmake, luajit,
SDL2, SDL2_image, SDL2_ttf, physfs,
openal, libmodplug, libvorbis}:
openal, libmodplug, libvorbis,
qtbase, qttools }:

stdenv.mkDerivation rec {
name = "solarus-${version}";
version = "1.4.5";
version = "1.5.3";

src = fetchFromGitHub {
owner = "christopho";
src = fetchFromGitLab {
owner = "solarus-games";
repo = "solarus";
rev = "d9fdb9fdb4e1b9fc384730a9279d134ae9f2c70e";
sha256 = "0xjx789d6crm322wmkqyq9r288vddsha59yavhy78c4r01gs1p5v";
rev = "v1.5.3";
sha256 = "035hkdw3a1ryasj5wfa1xla1xmpnc3hjp4s20sl9ywip41675vaz";
};

buildInputs = [ cmake luajit SDL2
SDL2_image SDL2_ttf physfs
openal libmodplug libvorbis ];
openal libmodplug libvorbis
qtbase qttools ];

enableParallelBuilding = true;

2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -20161,7 +20161,7 @@ with pkgs;
lua = lua5_1;
};

solarus = callPackage ../games/solarus { };
solarus = libsForQt5.callPackage ../games/solarus { };

solarus-quest-editor = libsForQt5.callPackage ../development/tools/solarus-quest-editor { };