Totem building
This commit is contained in:
5
net-print/epson-inkjet-printer-escpr/Manifest
Normal file
5
net-print/epson-inkjet-printer-escpr/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
AUX 1.6.5-warnings.patch 1115 BLAKE2B eac889dc8f5b39bbcf633c3ff2469ba1d3e07f475aa29f82e2ff81568aa72e2a3c25018c481b9d56bfd321314fb931561bbaed5b0883597c6fb296465ac486f1 SHA512 8a32ce7d22bb97cf1a7c1864353cab4a148eb4d1dc599f355420e0119dfb89abbfb66cbe58c8f35e2f8fc3a62b0c4018e0d48065acd21b17cb250e4722b9e027
|
||||
AUX epson-inkjet-printer-escpr-1.7.7-fnocommon.patch 309 BLAKE2B 70e10c99dcf8b5d06acd38722f419c09f994253538d88cc9621051ee58b8a9cbe203c35c279c9ef8b5f0f7cd091118a0b2ccf802e09e2996f4e6346e7927f695 SHA512 5cff64797453868d1d0540a22fd72b53d7214d2e9c574cdf635206baf71fc227147babcfe97c73193ca356ad40afa5bb7ea80107576efee138b936e052b9fb2d
|
||||
DIST epson-inkjet-printer-escpr-1.7.8-1lsb3.2.tar.gz 4809140 BLAKE2B f26b5ce71aec624777e23bd76c65da938b47b24300d3a025b9541a3c1f3aedeb061b342e078f5103b6f4b5d1aa4a72b71764c13b65b842e9014d482aff758c99 SHA512 2d8c36debba52721febef07d18390e3ece6cd5f3a500304dfd285dc31ae33b3712934e0eca8cdb0afe644c18b505190d8a35cd5a69d11d0079f027fa35032195
|
||||
EBUILD epson-inkjet-printer-escpr-1.7.8.ebuild 912 BLAKE2B 99b606a378b793d109254e2faa1fe6cf54bcf2f02b37c28d67fd0ca87028679e5be870af0d0ff6151013f8312acd440d5fe6392e2238dc8d72f5c650aee77d97 SHA512 7d3060e5274ca7f5c08ebe558222639394ff3f8a8f5a4a3a272bed46c4731e6f6f7a5ab520026bd95e45c7f4325db577a377b72fead10ab5218dfb49a67cdc9a
|
||||
MISC metadata.xml 253 BLAKE2B 9f98272e44d92f62df07adebeb8942eb26113e29ae3021a9d1ef478a1bc2bdd26bd4700cc7d88dab9c5fd78d54958327997e9849c100ac00fbe051915ab3f2e0 SHA512 e8bc4d02500676e2506fbe7f0811be984878560deb05d09122cede2e62e633fb7644fa59b73a20da8f3fceea8f8cb928768726e8b679f32178c0aed9a874ea15
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Epson Inkjet Printer Driver (ESC/P-R)"
|
||||
HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
|
||||
SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/12/04/32/1a455ef8618def65700ca4e446311c2fb43cd839/epson-inkjet-printer-escpr-${PV}-1lsb3.2.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64"
|
||||
|
||||
DEPEND="net-print/cups"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.6.5-warnings.patch"
|
||||
"${FILESDIR}/${PN}-1.7.7-fnocommon.patch"
|
||||
)
|
||||
|
||||
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,42 @@
|
||||
--- a/lib/epson-escpr-api.h
|
||||
+++ b/lib/epson-escpr-api.h
|
||||
@@ -111,6 +111,9 @@
|
||||
/*** -------------------------------------------------------------------------------*/
|
||||
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
|
||||
+++ b/src/filter.c
|
||||
@@ -33,7 +33,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"
|
||||
@@ -42,6 +44,7 @@
|
||||
#include "libprtX.h"
|
||||
#include "optBase.h"
|
||||
#include "linux_cmn.h"
|
||||
+#include "xfifo.h"
|
||||
|
||||
#define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
|
||||
|
||||
--- a/src/mem.c
|
||||
+++ b/src/mem.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include "err.h"
|
||||
#include "mem.h"
|
||||
|
||||
void *
|
@ -0,0 +1,11 @@
|
||||
--- a/src/filter.c 2020-05-23 13:50:19.064756474 +0200
|
||||
+++ b/src/filter.c 2020-05-23 13:53:01.936647646 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
extern EPS_UINT8* tmpLineBuf;
|
||||
|
||||
extern EPS_CMN_FUNC epsCmnFnc;
|
||||
-EPS_JOB_FUNCS jobFnc;
|
||||
+extern EPS_JOB_FUNCS jobFnc;
|
||||
|
||||
extern EPS_INT32 tonerSave;
|
||||
extern EPS_INT32 back_type;
|
8
net-print/epson-inkjet-printer-escpr/metadata.xml
Normal file
8
net-print/epson-inkjet-printer-escpr/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>asturm@gentoo.org</email>
|
||||
<name>Andreas Sturmlechner</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Reference in New Issue
Block a user