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: 37381f6e600c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 45b400880a78
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Jan 17, 2020

  1. Copy the full SHA
    bdf32f3 View commit details

Commits on Jan 18, 2020

  1. Copy the full SHA
    8739475 View commit details

Commits on Jan 22, 2020

  1. Merge pull request #77855 from AndersonTorres/update/notion

    notion: 3-2017050501 -> 3-2019050101
    AndersonTorres authored Jan 22, 2020
    Copy the full SHA
    45b4008 View commit details
Showing with 22 additions and 695 deletions.
  1. +0 −5 lib/licenses.nix
  2. +22 −28 pkgs/applications/window-managers/notion/default.nix
  3. +0 −662 pkgs/applications/window-managers/notion/notion-xft_nixos.diff
5 changes: 0 additions & 5 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -536,11 +536,6 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
fullName = "University of Illinois/NCSA Open Source License";
};

notion_lgpl = {
url = "https://raw.githubusercontent.com/raboof/notion/master/LICENSE";
fullName = "Notion modified LGPL";
};

nposl3 = spdx {
spdxId = "NPOSL-3.0";
fullName = "Non-Profit Open Software License 3.0";
50 changes: 22 additions & 28 deletions pkgs/applications/window-managers/notion/default.nix
Original file line number Diff line number Diff line change
@@ -1,45 +1,39 @@
{
enableXft ? true, libXft ? null, patches ? [], stdenv, lua, gettext, pkgconfig, xlibsWrapper, libXinerama, libXrandr, libX11,
xterm, xmessage, makeWrapper, fetchFromGitHub, mandoc, which
{ stdenv, fetchFromGitHub, pkgconfig
, lua, gettext, which, groff, xmessage, xterm
, readline, fontconfig, libX11, libXext, libSM
, libXinerama, libXrandr, libXft
, xlibsWrapper, makeWrapper
}:

assert enableXft -> libXft != null;

let
stdenv.mkDerivation rec{
pname = "notion";
version = "3-2017050501";
inherit patches;
in
stdenv.mkDerivation {
name = "${pname}-${version}";
meta = with stdenv.lib; {
description = "Tiling tabbed window manager, follow-on to the ion window manager";
homepage = http://notion.sourceforge.net;
platforms = platforms.linux;
license = licenses.notion_lgpl;
maintainers = with maintainers; [jfb];
};
version = "3-2019050101";

src = fetchFromGitHub {
owner = "raboof";
repo = pname;
rev = version;
sha256 = "1wq5ylpsw5lkbm3c2bzmx2ajlngwib30adxlqbvq4bgkaf9zjh65";
sha256 = "09kvgqyw0gnj3jhz9gmwq81ak8qy32vyanx1hw79r6m181aysspz";
};

patches = patches;
postPatch = ''
substituteInPlace system-autodetect.mk --replace '#PRELOAD_MODULES=1' 'PRELOAD_MODULES=1'
substituteInPlace man/Makefile --replace "nroff -man -Tlatin1" "${mandoc}/bin/mandoc -T man"
'';
nativeBuildInputs = [ pkgconfig makeWrapper groff ];
buildInputs = [ lua gettext which readline fontconfig libX11 libXext libSM
libXinerama libXrandr libXft xlibsWrapper ];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [makeWrapper xlibsWrapper lua gettext mandoc which libXinerama libXrandr libX11 ] ++ stdenv.lib.optional enableXft libXft;
buildFlags = [ "CC=cc" "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" ];

buildFlags = [ "LUA_DIR=${lua}" "X11_PREFIX=/no-such-path" "PREFIX=\${out}" ];
installFlags = [ "PREFIX=\${out}" ];
makeFlags = [ "PREFIX=\${out}" ];

postInstall = ''
wrapProgram $out/bin/notion \
--prefix PATH ":" "${xmessage}/bin:${xterm}/bin" \
'';

meta = with stdenv.lib; {
description = "Tiling tabbed window manager, follow-on to the Ion";
homepage = "https://notionwm.net/";
license = licenses.lgpl21;
maintainers = with maintainers; [ jfb AndersonTorres ];
platforms = platforms.linux;
};
}
662 changes: 0 additions & 662 deletions pkgs/applications/window-managers/notion/notion-xft_nixos.diff

This file was deleted.