diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-20 00:02:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-20 00:02:16 +0100 |
commit | 77b275a53383b07b154caa09feb6f4961b206638 (patch) | |
tree | bf2b88f1f848dfe69541c3d78aaa35ef22560107 /net-print | |
parent | 9d4810f84de876ec9d0ae03d0d44224500b41188 (diff) |
gentoo auto-resync : 20:05:2024 - 00:02:15
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/Manifest.gz | bin | 6416 -> 6415 bytes | |||
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/Manifest | 2 | ||||
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild | 36 | ||||
-rw-r--r-- | net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-2-gcc14.patch | 228 |
4 files changed, 266 insertions, 0 deletions
diff --git a/net-print/Manifest.gz b/net-print/Manifest.gz Binary files differindex 557981070c1f..790f9bc89a34 100644 --- a/net-print/Manifest.gz +++ b/net-print/Manifest.gz diff --git a/net-print/epson-inkjet-printer-escpr/Manifest b/net-print/epson-inkjet-printer-escpr/Manifest index 33346a0e291d..8793f2eb52dc 100644 --- a/net-print/epson-inkjet-printer-escpr/Manifest +++ b/net-print/epson-inkjet-printer-escpr/Manifest @@ -1,9 +1,11 @@ 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 AUX epson-inkjet-printer-escpr-1.8-missing-include.patch 6575 BLAKE2B 24e0d0e2674fb74b4cfabe27a695c08f4b1a87a26ddb82956157449c09c4f0e71ca9585db3507b92902ec7deb02a41a3aa9df770820379bcd851b47f4865b8e1 SHA512 392b4713ca94fd8656d39205f61db3f5491c09a15f5dc1f1239a07928d62d243d24941893c197bc227195129e7e346c8479de234aaafbf91d64716dba395068a +AUX epson-inkjet-printer-escpr-2-gcc14.patch 11552 BLAKE2B 2ca31fa995937129cedd93945d1f8603e76f5239ac1aec802a4c58f889d78d4b514fe42ef16608f946c7f2895650ff8a89dace11b64a1cbfef78172ed92dc966 SHA512 c40741c96b462c938d54b646dcbf04ae69c7f9b227f0dbb5cc587e46730359c717e5cf0272c729c7343b18612110153cef454d85e19d76ca7b3e94f36ca0a498 DIST epson-inkjet-printer-escpr-1.8.4-1.tar.gz 5595766 BLAKE2B 9baba92331d0f55a6831d23a7b9b2824b5f33392d41f6ef0e2c45a4df7b54503d16b14dccc5dcc0d9b163f2677ba473b502e605f2f9509a1fc8c6c3095bbe858 SHA512 548b0cc27ab91c19b1d4fad79e3c3cacfb821b7c3156d8f1f3aafd31b94405794a86ff8b6abf5e56fb6692a471d96b5665a006cdc748d8de83c2ebadb0f634bc DIST epson-inkjet-printer-escpr-1.8.5-1.tar.gz 5666905 BLAKE2B 549c948709993779b5615b501038fdceb6c3d6f173709b8cf99459346fff89923bdbe1babe34ee98eed4e1ebbd7a4b5962ddbc9cec9711aa15ff2056fec3d436 SHA512 4117b1efe903e4f506bbc67c45079f1d467ff6527691308734e55d32feeda3ec44b2dd85361e0243114f924eef04a91b0a5e86b5008f0a32ef323989b3d2896f DIST epson-inkjet-printer-escpr2-1.2.9-1.tar.gz 5367737 BLAKE2B 6868569a6bed622e2f50619a36ffb0a0f7e834fd8a794ae3bc906d971db26b0c86386c9545190ec384027d0b8e8f62ddda6cb24f1e3f60b9c535a1eeddff4332 SHA512 70ff744d42fac4c79d2994648763b0b3970ee5463a7a310a0721a63735d536cb9a0499c894289d946b30e6f564f9bf60aa61801580ab6635af211d50867921a1 +EBUILD epson-inkjet-printer-escpr-1.2.9-r1.ebuild 881 BLAKE2B 4b4f4632e1e47c8bcf311950e35f9e400e397cb25f0ace2ef89b6c45163cdc86a81c67497e065ed95a643a1266c6796dedf16841ca21fbc078100f81cb4b9829 SHA512 0577511cedd44fd04ef6ef681e3d5cd0430a0a6626834fe19df60ac677052b5c64c4779e7e3eca9a5c2a074fcf634804d3e45f7f839a288d8a3e45da6bc1e376 EBUILD epson-inkjet-printer-escpr-1.2.9.ebuild 827 BLAKE2B 6cdacdf01493044268b2781cc67fa2f9803843abd6f72a343c75a7b4940e5de60830ff63829a1bfd8a4bf38febc6ec634cecd3b988f7b28fd06f2fa554cd5bdb SHA512 2de6f038100d2ecd99875afebfdb7b4dc961317ae34e44d32bf16cd74d07142e236738a74e1b4c6e56f42fa2b6514dbaef157b0e154e207d5fc578b0d63c6f97 EBUILD epson-inkjet-printer-escpr-1.8.4.ebuild 1079 BLAKE2B 780e56405007f19d5dc0462f74f2a7a2bd970c7e664e37f3dd33f1c66a95b7815a12f5c963be23dc6d46482d9d8643833f2749ad4161eaeb552f5f9a2b7b181c SHA512 0a18263a6531e5f2ee318044ca54f5d4789d33cdf3620b2c60a416f7328dcc78ffbaed8c114666063a60b787c33f887971b72657c038d8d5cf93aee7a7d57f56 EBUILD epson-inkjet-printer-escpr-1.8.5.ebuild 1079 BLAKE2B e718ecb13d39a8bfe03f65f8adad42895b853f686ad3f3166bfe3f0735b80aa7e5c7db34c7906a1dbc2bc1f8dff61b09d304dd118d90646cec39ab96a0a55753 SHA512 6ee84e32bd3701f8aa2bd1a6bff6b49044a1b3ebbe78599e04bf9355ffee8493013fe5bc78d04cc922053c9337266b9e66250e48b83dab8f42c1e75506fd8106 diff --git a/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild new file mode 100644 index 000000000000..ee7aecc88746 --- /dev/null +++ b/net-print/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr-1.2.9-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}2-${PV}" + +DESCRIPTION="Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux" +HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" +SRC_URI="https://download3.ebz.epson.net/dsc/f/03/00/15/33/96/607198a4f064daa9e7931913eaf27f3a58125f2b/${MY_P}-1.tar.gz" +S="${WORKDIR}/${MY_P}" +LICENSE="EPSON LGPL-2.1+" +SLOT="2" +KEYWORDS="amd64" + +QA_FLAGS_IGNORED="/usr/lib64/libescpr2.so.1.0.0" + +DEPEND="net-print/cups" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-${SLOT}-gcc14.patch" +) + +src_configure() { + econf \ + --with-cupsfilterdir="${EPREFIX}/usr/libexec/cups/filter" + --with-cupsppddir="${EPREFIX}/usr/share/ppd" +} + +src_install() { + default + + find "${ED}/usr/lib64" -name "*.la" -delete \ + || die "Removal of libtool files (.la) has failed." +} diff --git a/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-2-gcc14.patch b/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-2-gcc14.patch new file mode 100644 index 000000000000..d415384cfbf1 --- /dev/null +++ b/net-print/epson-inkjet-printer-escpr/files/epson-inkjet-printer-escpr-2-gcc14.patch @@ -0,0 +1,228 @@ +--- a/src/mem.c 2024-05-19 17:31:29.121223820 -0400 ++++ b/src/mem.c 2024-05-19 17:31:43.985467218 -0400 +@@ -23,6 +23,7 @@ + + #include <stdlib.h> + #include "mem.h" ++#include "err.h" + + void * + mem_malloc (unsigned int size, bool_t crit) +--- /dev/null 2024-05-19 14:31:56.295999966 -0400 ++++ b/src/epson-escpr-services.h 2024-05-19 17:40:16.646097437 -0400 +@@ -0,0 +1,194 @@ ++/*_____________________________ epson-escpr-services.h ______________________________*/ ++ ++/* 1 2 3 4 5 6 7 8 */ ++/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/ ++/*******************************************|********************************************/ ++/* ++ * Copyright (c) 2009 Seiko Epson Corporation All rights reserved. ++ * ++ * Copyright protection claimed includes all forms and matters of ++ * copyrightable material and information now allowed by statutory or judicial ++ * law or hereinafter granted, including without limitation, material generated ++ * from the software programs which are displayed on the screen such as icons, ++ * screen display looks, etc. ++ * ++ */ ++/*******************************************|********************************************/ ++/* */ ++/* Epson ESC/PR Sevice Functions */ ++/* */ ++/*******************************************|********************************************/ ++#ifndef __EPSON_ESCPR_SERVICES_H__ ++#define __EPSON_ESCPR_SERVICES_H__ ++#ifdef __cplusplus ++extern "C" { ++#endif ++ ++/*------------------------------------ Includes -------------------------------------*/ ++/*******************************************|********************************************/ ++#include "epson-typedefs.h" ++#include "epson-escpr-pvt.h" ++ ++/*------------------------------------- Data Types -------------------------------------*/ ++/*******************************************|********************************************/ ++ ++/*-------------------------------------- Macros -------------------------------------*/ ++/*******************************************|********************************************/ ++ ++/*----------------------------------- Definitions ------------------------------------*/ ++/*******************************************|********************************************/ ++ /*** Ink Cartridge Type */ ++ /*** -------------------------------------------------------------------------------*/ ++#define MI_CARTRIDGE_INDEP 0x00 /* Independent Cartridge */ ++#define MI_CARTRIDGE_ONE 0x01 /* One Cartridge */ ++ ++ /*** Device States */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_ST_ERROR 0x01 ++#define EPS_ST_SELF_PRINTING 0x02 ++#define EPS_ST_BUSY 0x04 ++#define EPS_ST_WAITING 0x08 ++#define EPS_ST_IDLE 0x10 ++/*#define EPS_ST_PAUSE 0x20*/ /* Not supported by 2006 Model */ ++/*#define EPS_ST_INKDRYING 0x40*/ /* Not supported by 2006 Model */ ++#define EPS_ST_CLEANING 0x80 ++#define EPS_ST_FACTORY_SHIPMENT 0x100 ++/*#define EPS_ST_MOTOR_DRIVE_OFF 0x200*/ /* Not supported by 2006 Model */ ++#define EPS_ST_SHUTDOWN 0x400 ++/*#define EPS_ST_WAITPAPERINIT 0x800*/ /* Not supported by 2006 Model */ ++/*#define EPS_ST_INIT_PAPER 0x1000*/ /* Not supported by 2006 Model */ ++ ++ /*** Device Warnings */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_PRNWARN_NONE 0x00 /* No Warnings */ ++#define EPS_PRNWARN_INKLOW (1 << 0) /* Ink Low */ ++#define EPS_PRNWARN_DISABLE_CLEAN (1 << 1) /* disable cleaning */ ++#define EPS_PRNWARN_COLOR_INKOUT (1 << 2) /* disable color print */ ++ ++ ++ /*** Ink Error */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_INKERR_NONE 0 ++ ++#define EPS_INKERR_INKENDB -1 ++#define EPS_INKERR_INKENDC -2 ++#define EPS_INKERR_INKENDCY -3 ++#define EPS_INKERR_INKENDMA -4 ++#define EPS_INKERR_INKENDYL -5 ++#define EPS_INKERR_INKENDLC -6 ++#define EPS_INKERR_INKENDLM -7 ++#define EPS_INKERR_INKENDLY -8 ++#define EPS_INKERR_INKENDDY -9 ++#define EPS_INKERR_INKENDB2 -10 ++#define EPS_INKERR_INKENDRD -11 ++#define EPS_INKERR_INKENDBL -12 ++#define EPS_INKERR_INKENDMB -13 ++#define EPS_INKERR_INKENDPB -14 ++#define EPS_INKERR_INKENDGO -15 ++#define EPS_INKERR_INKENDALL -16 ++#define EPS_INKERR_INKENDBC -17 ++ ++#define EPS_INKERR_CEMPTYB -101 ++#define EPS_INKERR_CEMPTYC -102 ++#define EPS_INKERR_CEMPTYCY -103 ++#define EPS_INKERR_CEMPTYMA -104 ++#define EPS_INKERR_CEMPTYYL -105 ++#define EPS_INKERR_CEMPTYLC -106 ++#define EPS_INKERR_CEMPTYLM -107 ++#define EPS_INKERR_CEMPTYLY -108 ++#define EPS_INKERR_CEMPTYDY -109 ++#define EPS_INKERR_CEMPTYB2 -110 ++#define EPS_INKERR_CEMPTYRD -111 ++#define EPS_INKERR_CEMPTYBL -112 ++#define EPS_INKERR_CEMPTYMB -113 ++#define EPS_INKERR_CEMPTYPB -114 ++#define EPS_INKERR_CEMPTYGO -115 ++#define EPS_INKERR_CEMPTYBC -116 ++#define EPS_INKERR_CEMPTYALL -117 ++ ++#define EPS_INKERR_CFAILB -201 ++#define EPS_INKERR_CFAILC -202 ++#define EPS_INKERR_CFAILCY -203 ++#define EPS_INKERR_CFAILMA -204 ++#define EPS_INKERR_CFAILYL -205 ++#define EPS_INKERR_CFAILLC -206 ++#define EPS_INKERR_CFAILLM -207 ++#define EPS_INKERR_CFAILLY -208 ++#define EPS_INKERR_CFAILDY -209 ++#define EPS_INKERR_CFAILB2 -210 ++#define EPS_INKERR_CFAILRD -211 ++#define EPS_INKERR_CFAILBL -212 ++#define EPS_INKERR_CFAILMB -213 ++#define EPS_INKERR_CFAILPB -214 ++#define EPS_INKERR_CFAILGO -215 ++#define EPS_INKERR_CFAILBC -216 ++#define EPS_INKERR_CFAILALL -217 ++ ++ /*** Cancel request from printer */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_CAREQ_CANCEL -300 ++#define EPS_CAREQ_NOCANCEL -301 ++ ++ /*** Other Printer Information */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_PREPARE_OVERHEAT -400 ++#define EPS_PREPARE_NORMALHEAT -401 ++#define EPS_PREPARE_TRAYOPENED -402 ++#define EPS_PREPARE_TRAYCLOSED -403 ++ ++ /*** reset mode */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_PM_PAGE 1 ++#define EPS_PM_JOB 2 ++ ++ /*** Misc */ ++ /*** -------------------------------------------------------------------------------*/ ++#define _SECOND_ 1000 /* Unit for changing milli second to second */ ++#define _STATUS_REPLY_BUF 512 /* Printer status buffer size */ ++ ++ ++ /*** Model depend */ ++ /*** -------------------------------------------------------------------------------*/ ++#define EPS_MDC_STATUS (1) ++#define EPS_MDC_NOZZLE (2) ++ ++/*--------------------------- Public Function Declarations ---------------------------*/ ++/*******************************************|********************************************/ ++extern EPS_INT32 serParseDeviceID (EPS_INT8*, EPS_INT32, EPS_INT8*, EPS_INT8*, ++ EPS_INT32*, EPS_UINT32*, EPS_UINT32* ); ++extern EPS_BOOL serCheckLang (EPS_INT8*, EPS_UINT32* ); ++extern EPS_ERR_CODE serAnalyzeStatus (EPS_INT8*, EPS_UINT32, EPS_STATUS_INFO*); ++extern void serDelayThread (EPS_UINT32, EPS_CMN_FUNC* ); ++extern EPS_INT32 serInkLevelNromalize (EPS_INT32 ); ++extern EPS_ERR_CODE serGetSerialNo (EPS_INT8*, EPS_INT32, EPS_INT8* ); ++extern EPS_ERR_CODE serGetSerialNoFormST (EPS_INT8*, EPS_INT8*, EPS_INT32 ); ++extern EPS_ERR_CODE serGetSupplyInfo (EPS_UINT8*, EPS_SUPPLY_INFO* ); ++ ++#ifdef GCOMSW_EPSON_SLEEP ++extern EPS_ERR_CODE serSleep (EPS_UINT32 ); ++#endif ++ ++ ++extern void obsSetPrinter (const EPS_PRINTER_INN* ); ++extern void obsSetColorPlane (EPS_UINT8 ); ++extern void obsClear (void ); ++extern EPS_INT32 obsGetPageMode (void ); ++extern EPS_BOOL obsIsA3Model (EPS_INT32 ); ++extern EPS_BOOL obsEnableDuplex (EPS_INT32 ); ++extern EPS_BOOL obsEnableAutoFeed (void ); ++ ++#ifdef __cplusplus ++} ++#endif ++ ++#endif /* def __EPSON_ESCPR_SERVICES_H__ */ ++ ++ ++/*_____________________________ epson-escpr-services.h _______________________________*/ ++ ++/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/ ++/* 1 2 3 4 5 6 7 8 */ ++/*******************************************|********************************************/ ++/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ ++/***** End of File *** End of File *** End of File *** End of File *** End of File ******/ ++/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ +--- a/src/filter.c 2024-05-19 17:41:19.567178280 -0400 ++++ b/src/filter.c 2024-05-19 17:46:15.780301782 -0400 +@@ -39,6 +39,7 @@ + #include "epson-escpr-api.h" + #include "epson-escpr-services.h" + #include "epson-escpr-mem.h" ++#include "epson-escpr-services.h" + + #include "err.h" + #include "mem.h" +@@ -48,6 +49,10 @@ + #include "optBase.h" + #include "linux_cmn.h" + ++extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB*); ++extern EPS_ERR_CODE SendStartJob (); ++extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32*); ++ + #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4) + + #define PIPSLITE_FILTER_VERSION "* epson-escpr is a part of " PACKAGE_STRING |