aboutsummaryrefslogtreecommitdiff
path: root/system/dymo-cups-drivers
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 16:30:14 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 15:47:04 +0700
commitd15ab497505c4b8857bf2d0b630d320e1697fb73 (patch)
tree43c9b44c5ff3bb851633ba9f9d1861dac0dd8af1 /system/dymo-cups-drivers
parent5038ed3a2321ce12725a257ae721f73cdb124b55 (diff)
system/dymo-cups-drivers: Fix build with newer cups.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dymo-cups-drivers')
-rw-r--r--system/dymo-cups-drivers/cups-2.6-api.patch10
-rw-r--r--system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild3
-rw-r--r--system/dymo-cups-drivers/dymo-cups-drivers.info2
3 files changed, 13 insertions, 2 deletions
diff --git a/system/dymo-cups-drivers/cups-2.6-api.patch b/system/dymo-cups-drivers/cups-2.6-api.patch
new file mode 100644
index 000000000000..9864b0ff9f2c
--- /dev/null
+++ b/system/dymo-cups-drivers/cups-2.6-api.patch
@@ -0,0 +1,10 @@
+--- dymo-cups-drivers-1.4.0.5/src/common/CupsPrintEnvironment.cpp.orig 2012-02-07 08:22:37.000000000 -0500
++++ dymo-cups-drivers-1.4.0.5/src/common/CupsPrintEnvironment.cpp 2019-10-27 11:27:37.899169865 -0400
+@@ -23,6 +23,7 @@
+ #include "CupsPrintEnvironment.h"
+ #include <errno.h>
+ #include <cups/cups.h>
++#include <cups/sidechannel.h>
+ #include <cassert>
+
+ namespace DymoPrinterDriver
diff --git a/system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild b/system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild
index 64859d5db4fc..83bb2ff7eacd 100644
--- a/system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild
+++ b/system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dymo-cups-drivers
VERSION=${VERSION:-1.4.0.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,7 @@ find -L . \
# Patch for the newer cups - thanks archlinux!
patch -p1 < $CWD/cups-ppd-header.patch
+patch -p1 < $CWD/cups-2.6-api.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/system/dymo-cups-drivers/dymo-cups-drivers.info b/system/dymo-cups-drivers/dymo-cups-drivers.info
index 7ae50f6c0003..eb2eede8c4ba 100644
--- a/system/dymo-cups-drivers/dymo-cups-drivers.info
+++ b/system/dymo-cups-drivers/dymo-cups-drivers.info
@@ -1,7 +1,7 @@
PRGNAM="dymo-cups-drivers"
VERSION="1.4.0.5"
HOMEPAGE="http://www.dymo.com/en-US/dymo-label-sdk-and-cups-drivers-for-linux-dymo-label-sdk-cups-linux-p--1"
-DOWNLOAD="http://download.dymo.com/dymo/Software/Download%20Drivers/Linux/Download/dymo-cups-drivers-1.4.0.tar.gz"
+DOWNLOAD="https://download.dymo.com/Software/Linux/dymo-cups-drivers-1.4.0.tar.gz"
MD5SUM="8774f98bbe8d57f5b337019ae86a23f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""