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: 11a6d01db668
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: ead2380ae978
Choose a head ref
  • 13 commits
  • 9 files changed
  • 7 contributors

Commits on Mar 11, 2019

  1. scribus: 1.4.7 -> 1.4.8, dep fixups

    * Needs hunspell not aspell, not sure when
    * bake in gs path to avoid warning on launch
    * python-pillow for print preview, per README
    
    https://www.scribus.net/scribus-1-4-8-released/
    dtzWill committed Mar 11, 2019
    Copy the full SHA
    e3e0f79 View commit details

Commits on Mar 30, 2019

  1. vale: 1.3.2 -> 1.4.0

    dtzWill committed Mar 30, 2019
    Copy the full SHA
    85fae04 View commit details

Commits on Apr 10, 2019

  1. tk: use aqua backend on darwin

    Most users don’t have xquartz, so let’s use the default window system
    for macOS.
    matthewbauer committed Apr 10, 2019
    Copy the full SHA
    82b8393 View commit details
  2. Copy the full SHA
    2fe4ab3 View commit details
  3. Merge pull request #52589 from Amar1729/fix/argp-standalone

    argp-standalone: add x86_64-linux support
    worldofpeace authored Apr 10, 2019
    Copy the full SHA
    896c656 View commit details
  4. Merge pull request #59240 from matthewbauer/fix-tk-on-macos

    tk: use aqua backend on darwin
    Ericson2314 authored Apr 10, 2019
    Copy the full SHA
    43cfb6e View commit details
  5. Merge pull request #58568 from dtzWill/update/vale-1.4.0

    vale: 1.3.2 -> 1.4.0
    marsam authored Apr 10, 2019
    Copy the full SHA
    acdba71 View commit details
  6. Merge pull request #57359 from dtzWill/update/scribus-1.4.8

    scribus: 1.4.7 -> 1.4.8, dep fixups
    ryantm authored Apr 10, 2019
    Copy the full SHA
    2b37750 View commit details
  7. plank: cleanup

    * placeholder
    * vala should be native
    * no aliases
    * drop gobject-introspection
    worldofpeace committed Apr 10, 2019
    Copy the full SHA
    d269620 View commit details
  8. Copy the full SHA
    5274d8e View commit details
  9. Copy the full SHA
    ebf3da4 View commit details
  10. Copy the full SHA
    03653d6 View commit details
  11. Copy the full SHA
    ead2380 View commit details
41 changes: 27 additions & 14 deletions pkgs/applications/misc/plank/default.nix
Original file line number Diff line number Diff line change
@@ -1,36 +1,49 @@
{ stdenv, fetchurl, vala, atk, cairo, glib, gnome3, gtk3, libwnck3
, libX11, libXfixes, libXi, pango, intltool, pkgconfig, libxml2
, bamf, gdk_pixbuf, libdbusmenu-gtk3, file, gnome-menus
, wrapGAppsHook, autoreconfHook, gobject-introspection }:
, bamf, gdk_pixbuf, libdbusmenu-gtk3, file, gnome-menus, libgee
, wrapGAppsHook, autoreconfHook, pantheon }:

stdenv.mkDerivation rec {
pname = "plank";
version = "0.11.4";
name = "${pname}-${version}";

src = fetchurl {
url = "https://launchpad.net/${pname}/1.0/${version}/+download/${name}.tar.xz";
url = "https://launchpad.net/${pname}/1.0/${version}/+download/${pname}-${version}.tar.xz";
sha256 = "1f41i45xpqhjxql9nl4a1sz30s0j46aqdhbwbvgrawz6himcvdc8";
};

nativeBuildInputs = [
pkgconfig
autoreconfHook
gnome3.gnome-common
intltool
libxml2 # xmllint
pkgconfig
vala
wrapGAppsHook
gobject-introspection
autoreconfHook
];

buildInputs = [ vala atk cairo glib gnome-menus
gtk3 gnome3.libgee libwnck3 libX11 libXfixes
libXi pango gnome3.gnome-common bamf gdk_pixbuf
libdbusmenu-gtk3 gnome3.dconf ];
buildInputs = [
atk
bamf
cairo
gdk_pixbuf
glib
gnome-menus
gnome3.dconf
gtk3
libX11
libXfixes
libXi
libdbusmenu-gtk3
libgee
libwnck3
pango
];

# fix paths
makeFlags = [
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
"INTROSPECTION_GIRDIR=${placeholder ''out''}/share/gir-1.0/"
"INTROSPECTION_TYPELIBDIR=${placeholder ''out''}/lib/girepository-1.0"
];

# Make plank's application launcher hidden in Pantheon
@@ -46,6 +59,6 @@ stdenv.mkDerivation rec {
homepage = https://launchpad.net/plank;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ davidak ];
maintainers = with maintainers; [ davidak ] ++ pantheon.maintainers;
};
}
22 changes: 15 additions & 7 deletions pkgs/applications/office/scribus/default.nix
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
{ stdenv, fetchurl, pkgconfig, freetype, lcms, libtiff, libxml2
, libart_lgpl, qt4, python2, cups, fontconfig, libjpeg
, zlib, libpng, xorg, cairo, podofo, aspell, boost, cmake, imagemagick }:
, zlib, libpng, xorg, cairo, podofo, hunspell, boost, cmake, imagemagick, ghostscript }:

let
icon = fetchurl {
url = "https://gist.githubusercontent.com/ejpcmac/a74b762026c9bc4000be624c3d085517/raw/18edc497c5cb6fdeef1c8aede37a0ee68413f9d3/scribus-icon-centered.svg";
sha256 = "0hq3i7c2l50445an9glhhg47kj26y16svfajc6naqn307ph9vzc3";
};

pythonEnv = python2.withPackages(ps: [ps.tkinter]);
pythonEnv = python2.withPackages(ps: [ps.tkinter ps.pillow]);
in stdenv.mkDerivation rec {
name = "scribus-1.4.7";
pname = "scribus";
version = "1.4.8";

src = fetchurl {
url = "mirror://sourceforge/scribus/scribus/${name}.tar.xz";
sha256 = "1v2ziq3k0yjz35nk5plcbc1jpi53p9v1cq1z3spch9lwlns3bls2";
url = "mirror://sourceforge/${pname}/${pname}/${pname}-${version}.tar.xz";
sha256 = "0bq433myw6h1siqlsakxv6ghb002rp3mfz5k12bg68s0k6skn992";
};

enableParallelBuilding = true;

nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = with xorg;
[ pkgconfig cmake freetype lcms libtiff libxml2 libart_lgpl qt4
[ freetype lcms libtiff libxml2 libart_lgpl qt4
pythonEnv cups fontconfig
libjpeg zlib libpng podofo aspell cairo
libjpeg zlib libpng podofo hunspell cairo
boost # for internal 2geom library
libXaw libXext libX11 libXtst libXi libXinerama
libpthreadstubs libXau libXdmcp
imagemagick # To build the icon
];

postPatch = ''
substituteInPlace scribus/util_ghostscript.cpp \
--replace 'QString gsName("gs");' \
'QString gsName("${ghostscript}/bin/gs");'
'';

postInstall = ''
for i in 16 24 48 64 96 128 256 512; do
mkdir -p $out/share/icons/hicolor/''${i}x''${i}/apps
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/apps/elementary-files/default.nix
Original file line number Diff line number Diff line change
@@ -5,15 +5,15 @@

stdenv.mkDerivation rec {
pname = "files";
version = "4.1.6";
version = "4.1.7";

name = "elementary-${pname}-${version}";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "1c17d5lvpzyqd7mmzyfms80am46s566xr1r7b27rgv9w7vpzpgm0";
sha256 = "1fz7zawqkb9fa2vy36hg1wz1sxzgm307hp5kckb7icarqfrx0gih";
};

passthru = {
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth";
version = "2.2.1";
version = "2.2.2";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "13jm2idjsgqkvdz1dxgl2wwx7bsqahppf6cnpl0pmz167wahg5zp";
sha256 = "0rp9wa0yilc3wgwnybc6cryxphja7imixn45zhj475a4nb3afd0q";
};

passthru = {
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "switchboard-plug-display";
version = "2.1.6";
version = "2.1.7";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "0pw21bnc79shiynmg7h9bs1x1v011lh07ypn22j73yhmxp6wiypd";
sha256 = "1icz1is576d2w5a6wc06bnkg2vbsj5g6mz0b6ikzyjddr6j743ql";
};

passthru = {
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
pname = "switchboard-plug-sound";
version = "2.2.0";
version = "2.2.1";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "101a39v8fssc7s56cpi60zsggvw66y9gaxwjvawds928cll0yiy9";
sha256 = "0frml591r82j7hf1zlccgv8pzk3w10x470f9nzvdgdjpz0r776k2";
};

passthru = {
54 changes: 34 additions & 20 deletions pkgs/development/libraries/argp-standalone/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{ stdenv, fetchurl, fetchpatch }:

let
patch-argp-fmtstream = fetchpatch {
name = "patch-argp-fmtstream.h";
url = "https://raw.githubusercontent.com/Homebrew/formula-patches/b5f0ad3/argp-standalone/patch-argp-fmtstream.h";
sha256 = "5656273f622fdb7ca7cf1f98c0c9529bed461d23718bc2a6a85986e4f8ed1cb8";
};

patch-throw-in-funcdef = fetchpatch {
name = "argp-standalone-1.3-throw-in-funcdef.patch";
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-libs/argp-standalone/files/argp-standalone-1.3-throw-in-funcdef.patch?id=409d0e2a9c9c899fb1fb04cc808fe0aff3f745ca";
sha256 = "0b2b4l1jkvmnffl22jcn4ydzxy2i7fnmmnfim12f0yg5pb8fs43c";
};

patch-shared = fetchpatch {
name = "argp-standalone-1.3-shared.patch";
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-libs/argp-standalone/files/argp-standalone-1.3-shared.patch?id=409d0e2a9c9c899fb1fb04cc808fe0aff3f745ca";
sha256 = "1xx2zdc187a1m2x6c1qs62vcrycbycw7n0q3ks2zkxpaqzx2dgkw";
};
in
stdenv.mkDerivation rec {
name = "argp-standalone-1.3";

@@ -8,24 +27,19 @@ stdenv.mkDerivation rec {
sha256 = "dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be";
};

patches = [
(if stdenv.hostPlatform.isDarwin then
fetchpatch {
name = "patch-argp-fmtstream.h";
url = "https://raw.githubusercontent.com/Homebrew/formula-patches/b5f0ad3/argp-standalone/patch-argp-fmtstream.h";
sha256 = "5656273f622fdb7ca7cf1f98c0c9529bed461d23718bc2a6a85986e4f8ed1cb8";
}
else null)
];

patchFlags = "-p0";

postInstall =
''
mkdir -p $out/lib $out/include
cp libargp.a $out/lib
cp argp.h $out/include
'';
patches =
stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ patch-argp-fmtstream ]
++ stdenv.lib.optionals stdenv.hostPlatform.isLinux [ patch-throw-in-funcdef patch-shared ];

patchFlags = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin "-p0";

preConfigure = stdenv.lib.optionalString stdenv.hostPlatform.isLinux "export CFLAGS='-fgnu89-inline'";

postInstall = ''
mkdir -p $out/lib $out/include
cp libargp.a $out/lib
cp argp.h $out/include
'';

doCheck = true;

@@ -34,8 +48,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = "https://www.lysator.liu.se/~nisse/misc/";
description = "Standalone version of arguments parsing functions from GLIBC";
platforms = platforms.darwin;
platforms = with platforms; darwin ++ [ "x86_64-linux" ];
maintainers = with maintainers; [ amar1729 ];
license = stdenv.lib.licenses.gpl2;
license = licenses.gpl2;
};
}
13 changes: 7 additions & 6 deletions pkgs/development/libraries/tk/generic.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ stdenv, src, pkgconfig, tcl, libXft, fontconfig, patches ? [], ... }:
{ stdenv, lib, src, pkgconfig, tcl, libXft, fontconfig, patches ? []
, enableAqua ? stdenv.isDarwin, darwin
, ... }:

stdenv.mkDerivation {
name = "tk-${tcl.version}";
@@ -21,15 +23,14 @@ stdenv.mkDerivation {

configureFlags = [
"--with-tcl=${tcl}/lib"
];
] ++ stdenv.lib.optional enableAqua "--enable-aqua";

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ]
++ stdenv.lib.optional stdenv.isDarwin fontconfig;

propagatedBuildInputs = [ tcl libXft ];

NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lfontconfig" else null;
buildInputs = lib.optional enableAqua (with darwin; with apple_sdk.frameworks; [
Cocoa cf-private
]);

doCheck = false; # fails. can't find itself

4 changes: 2 additions & 2 deletions pkgs/tools/text/vale/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

buildGoPackage rec {
name = "vale-${version}";
version = "1.3.2";
version = "1.4.0";

goPackagePath = "github.com/errata-ai/vale";

@@ -12,7 +12,7 @@ buildGoPackage rec {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
sha256 = "0jpklca4m6wpndy6spj30s6ssb5y9ysyncxj7i6fg2g0m4dzzh8w";
sha256 = "05vrnmw7kpgxf2989jvmkwj9c3mv3zkr4z5rpmsplnhvgsnidg4g";
};

meta = with stdenv.lib; {