mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-print/epson-inkjet-printer-escpr: add 1.8.8
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST epson-inkjet-printer-escpr-1.8.6-1.tar.gz 5715741 BLAKE2B 0da5e0af022bf2ce42ef94631c984b8308562bcb8f1f47a8f50b77be09326a80e9495ddaf02becdf72e78e50041f73cdd558c96d72046600452de50bc68f1bc8 SHA512 d0040c99793ba33e54ec5f0137f3b672628f089a6cd792916c24fc5edab75702561dade91eb63cd4b3b8e898f7b4647c899ca425e1449a401c7ff562f8cc0f1e
|
||||
DIST epson-inkjet-printer-escpr-1.8.8-1.src.rpm 5274878 BLAKE2B 9c876fd321fee6dae734dd3f0442edd89d63c97a1702435ffbe65d077a5f5afcb79ab911c87a46c83a7c7e8264c6266591db3975e37b006a614981992703cc59 SHA512 85bcaff840fe4dfb256b42e5625e221ad273881b7bbeefafc53cff96ab4ddb91e0045fdfcdcf9e53a469385ec524077bfc40051429fba205b659c95741168a51
|
||||
DIST epson-inkjet-printer-escpr2-1.2.15-1.tar.gz 5560479 BLAKE2B 8180fe06df8175ec31044b0eec2a125b9567c11a827343401a07e59e8bd93e689617b9b29364374f1d6ba6d6bca320d6615f601791c59e966d3a4d63f7adbeb0 SHA512 62cd5161f65f8ca6f8c1a8bb755e06eb147d4a06b5f796a8068ed9235b3abf38e6ccb10e82bdd93fddc085b90a7f9332e024ba09679aa08490a05735c0372653
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools edos2unix rpm
|
||||
|
||||
DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)"
|
||||
HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
|
||||
SRC_URI="${P}-1.src.rpm"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64"
|
||||
RESTRICT="fetch"
|
||||
|
||||
DEPEND="net-print/cups"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-warnings.patch"
|
||||
"${FILESDIR}/${PN}-1.7.7-fnocommon.patch"
|
||||
"${FILESDIR}/${PN}-1.8-missing-include.patch"
|
||||
)
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${SRC_URI} from:"
|
||||
einfo "https://download-center.epson.com/search/?region=US&language=en"
|
||||
einfo "and move it to your distfiles directory."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local f
|
||||
for f in $(find ./ -type f || die); do
|
||||
edos2unix "${f}"
|
||||
done
|
||||
|
||||
eautoreconf
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-shared
|
||||
|
||||
# Makefile calls ls to generate a file list which is included in Makefile.am
|
||||
# Set the collation to C to avoid automake being called automatically
|
||||
unset LC_ALL
|
||||
export LC_COLLATE=C
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C ppd DESTDIR="${D}" install
|
||||
emake -C src DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
--- a/lib/epson-escpr-api.h 2026-03-19 07:42:36.886592312 -0400
|
||||
+++ b/lib/epson-escpr-api.h 2026-03-19 07:48:42.364228918 -0400
|
||||
@@ -111,6 +111,10 @@ extern EPS_ERR_CODE epsGetUsersizeRange
|
||||
/*** -------------------------------------------------------------------------------*/
|
||||
extern EPS_ERR_CODE epsMakeMainteCmd (EPS_INT32, EPS_UINT8*, EPS_UINT32* );
|
||||
|
||||
+extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB* );
|
||||
+extern EPS_ERR_CODE SendStartJob (EPS_BOOL );
|
||||
+extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
--- a/src/filter.c 2026-03-19 07:43:28.517557190 -0400
|
||||
+++ b/src/filter.c 2026-03-19 07:49:49.216432346 -0400
|
||||
@@ -31,7 +31,9 @@
|
||||
|
||||
#include "epson-protocol.h"
|
||||
#include "epson-escpr-api.h"
|
||||
+#include "epson-escpr-services.h"
|
||||
#include "epson-escpr-mem.h"
|
||||
+#include "epson-escpage.h"
|
||||
|
||||
#include "err.h"
|
||||
#include "mem.h"
|
||||
@@ -41,6 +43,7 @@
|
||||
#include "optBase.h"
|
||||
#include "linux_cmn.h"
|
||||
#include "custompage.h"
|
||||
+#include "xfifo.h"
|
||||
|
||||
#define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
|
||||
|
||||
--- a/src/mem.c 2026-03-19 07:43:34.625555671 -0400
|
||||
+++ b/src/mem.c 2026-03-19 07:50:52.904484035 -0400
|
||||
@@ -22,6 +22,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include "err.h"
|
||||
#include "mem.h"
|
||||
|
||||
void *
|
||||
--- a/src/wrapper.c 2026-03-19 07:43:45.227424448 -0400
|
||||
+++ b/src/wrapper.c 2026-03-19 07:51:13.850794453 -0400
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <signal.h>
|
||||
|
||||
#include "libprtX.h"
|
||||
+#include "custompage.h"
|
||||
|
||||
#define HAVE_PPM_W 0
|
||||
|
||||
Reference in New Issue
Block a user