From 755f5bcec046ba3becb49b796f103c0cb7c32c65 Mon Sep 17 00:00:00 2001 From: Tim Dickson Date: Sat, 21 Sep 2024 01:12:23 +0700 Subject: [PATCH] system/epson-inkjet-printer-escpr2: Updated for version 1.2.18. Signed-off-by: Willy Sudiarto Raharjo --- .../epson-inkjet-printer-escpr2.SlackBuild | 13 ++++++++----- .../epson-inkjet-printer-escpr2.info | 6 +++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild index 5540965cfd..3f717ac052 100644 --- a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild +++ b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.SlackBuild @@ -33,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=epson-inkjet-printer-escpr2 -VERSION=${VERSION:-1.2.15} +VERSION=${VERSION:-1.2.18} EXTRABIT=1 TARNAM=$PRGNAM-$VERSION-$EXTRABIT.tar.gz BUILD=${BUILD:-1} @@ -101,10 +101,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; #leave next few lines in as reminder how to test incase epson break their drivers for 32bit again -#BUGFIXED=yes -#if [ x`objdump -f escprlib/lib/libescpr2_32.a |grep ^architecture |cut -d' ' -f-2 |sort -u|grep "x86-64"|wc -l` = "x1" ]; then -# BUGFIXED=no -#fi +BUGFIXED=yes +if [ x`objdump -f escprlib/lib/libescpr2_32.a |grep ^architecture |cut -d' ' -f-2 |sort -u|grep "x86-64"|wc -l` = "x1" ]; then + BUGFIXED=no +fi #next line added as slackware autocmake is higher than 1.15 so m4 files need regenerating for v>1.2.12 autoreconf CFLAGS="$SLKCFLAGS" \ @@ -139,3 +139,6 @@ cat $CWD/doinst.sh >$PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE +if [ "$BUGFIXED" = "no" ]; then + echo "32bit builds will fail as epson has supplied a 64bit object file labelled as 32bit" +fi diff --git a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info index 2c05123606..c1e2033d3c 100644 --- a/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info +++ b/system/epson-inkjet-printer-escpr2/epson-inkjet-printer-escpr2.info @@ -1,8 +1,8 @@ PRGNAM="epson-inkjet-printer-escpr2" -VERSION="1.2.15" +VERSION="1.2.18" HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/" -DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/epson-printer/epson-inkjet-printer-escpr2-1.2.15-1.src.rpm" -MD5SUM="7b078750003cd29856077ece5f6ea5f9" +DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/epson-printer/epson-inkjet-printer-escpr2-1.2.18-1.src.rpm" +MD5SUM="63b14385900496f4175f761079732f69" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""