Merge branch 'staging-next' into staging

This commit is contained in:
Vladimír Čunát
2018-08-17 20:53:27 +02:00
281 changed files with 5988 additions and 4908 deletions

View File

@@ -1,7 +1,27 @@
{ stdenv, fetchsvn, cups, zlib }:
let rev = "315"; in
stdenv.mkDerivation rec {
{ stdenv, fetchsvn, fetchurl, cups, cups-filters, jbigkit, zlib }:
let
rev = "315";
color-profiles = stdenv.mkDerivation {
name = "splix-color-profiles-20070625";
src = fetchurl {
url = "http://splix.ap2c.org/samsung_cms.tar.bz2";
sha256 = "1156flics5m9m7a4hdmcc2nphbdyary6dfmbcrmsp9xb7ivsypdl";
};
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/share/cups/profiles/samsung
cp * $out/share/cups/profiles/samsung/
'';
};
in stdenv.mkDerivation {
name = "splix-svn-${rev}";
src = fetchsvn {
# We build this from svn, because splix hasn't been in released in several years
# although the community has been adding some new printer models.
@@ -10,15 +30,25 @@ stdenv.mkDerivation rec {
sha256 = "16wbm4xnz35ca3mw2iggf5f4jaxpyna718ia190ka6y4ah932jxl";
};
preBuild = ''
makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
postPatch = ''
substituteInPlace src/pstoqpdl.cpp \
--replace "RASTERDIR \"/\" RASTERTOQPDL" "\"$out/lib/cups/filter/rastertoqpdl\"" \
--replace "RASTERDIR" "\"${cups-filters}/lib/cups/filter\"" \
'';
buildInputs = [cups zlib];
makeFlags = [
"CUPSFILTER=$(out)/lib/cups/filter"
"CUPSPPD=$(out)/share/cups/model"
"CUPSPROFILE=${color-profiles}/share/cups/profiles"
];
meta = {
homepage = http://splix.sourceforge.net;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.peti ];
buildInputs = [ cups zlib jbigkit ];
meta = with stdenv.lib; {
description = "CUPS drivers for SPL (Samsung Printer Language) printers";
homepage = http://splix.ap2c.org;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ jfrankenau peti ];
};
}

View File

@@ -5,12 +5,12 @@
}:
stdenv.mkDerivation rec {
version = "5.39";
version = "5.40";
name = "xscreensaver-${version}";
src = fetchurl {
url = "https://www.jwz.org/xscreensaver/${name}.tar.gz";
sha256 = "09i47h4hdgwxyqgrsnshl4l5dv5mrsp37h705cc22lwby601ikj8";
sha256 = "1q2sr7h6ps6d3hk8895g12rrcqiihjl7py1ly077ikv4866r181h";
};
buildInputs =