epson-escpr: 1.6.16 -> 1.7.3

+ added webarchive source for reliable builds in the future
This commit is contained in:
wucke13 2019-10-05 22:08:26 +02:00
parent 25d6f87dcd
commit bbb71bfd76
2 changed files with 16 additions and 8 deletions

View file

@ -1,8 +1,8 @@
diff --git a/configure b/configure_new
index 699bcb5..89a1832 100755
index 12b4662..6ec641c 100755
--- a/configure
+++ b/configure_new
@@ -11585,55 +11585,8 @@ else
@@ -12162,55 +12162,8 @@ else
$as_echo "no" >&6; }
fi
@ -44,7 +44,7 @@ index 699bcb5..89a1832 100755
- if test -d "${cups_default_prefix}/share/ppd" ; then
- CUPS_PPD_DIR="${cups_default_prefix}/share/ppd"
- elif test "xyes" = "x$have_cups_config" ; then
- CUPS_PPD_DIR="${cups_default_prefix}/`cups-config --datadir | sed -e 's,^/[^/][^/]*,,'`/model"
- CUPS_PPD_DIR="${cups_default_prefix}`cups-config --datadir | sed -e 's,^/[^/][^/]*,,'`/model"
- else
- CUPS_PPD_DIR="${cups_default_prefix}/share/cups/model"
- fi
@ -58,5 +58,5 @@ index 699bcb5..89a1832 100755
+CUPS_FILTER_DIR="${prefix}/lib/cups/filter"
+CUPS_PPD_DIR="${prefix}/share/cups/model"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
# Check whether --enable-lsb was given.
if test "${enable_lsb+set}" = set; then :

View file

@ -2,11 +2,19 @@
stdenv.mkDerivation {
pname = "epson-escpr";
version = "1.6.16";
version = "1.7.3";
src = fetchurl {
url = "https://download3.ebz.epson.net/dsc/f/03/00/06/41/54/29588ed107f800e5bc3f91706661567efb369c1c/epson-inkjet-printer-escpr-1.6.16-1lsb3.2.tar.gz";
sha256 = "0v9mcih3dg3ws18hdcgm014k97hv6imga39hy2a84gnc6badp6n6";
# To find new versions, visit
# http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX and search for
# some printer like for instance "WF-7110" to get to the most recent
# version.
# NOTE: Don't forget to update the webarchive link too!
urls = [
"https://download3.ebz.epson.net/dsc/f/03/00/09/83/26/f90d0f70b33a9d7d77a2408364c47fba1ccbf943/epson-inkjet-printer-escpr-1.7.3-1lsb3.2.tar.gz"
"https://web.archive.org/web/https://download3.ebz.epson.net/dsc/f/03/00/09/83/26/f90d0f70b33a9d7d77a2408364c47fba1ccbf943/epson-inkjet-printer-escpr-1.7.3-1lsb3.2.tar.gz"
];
sha256 = "0r3jkdfk33irha9gpyvhha056ans59p7dq9i153i292ifjsd8458";
};
patches = [ ./cups-filter-ppd-dirs.patch ];