[arch-commits] Commit in epson-inkjet-printer-escpr/repos/community-x86_64 (4 files)

Filipe Laíns ffy00 at archlinux.org
Mon Feb 25 23:10:43 UTC 2019


    Date: Monday, February 25, 2019 @ 23:10:42
  Author: ffy00
Revision: 436052

archrelease: copy trunk to community-x86_64

Added:
  epson-inkjet-printer-escpr/repos/community-x86_64/PKGBUILD
    (from rev 436051, epson-inkjet-printer-escpr/trunk/PKGBUILD)
  epson-inkjet-printer-escpr/repos/community-x86_64/bug_x86_64.patch
    (from rev 436051, epson-inkjet-printer-escpr/trunk/bug_x86_64.patch)
Deleted:
  epson-inkjet-printer-escpr/repos/community-x86_64/PKGBUILD
  epson-inkjet-printer-escpr/repos/community-x86_64/bug_x86_64.patch

------------------+
 PKGBUILD         |   88 +++++++++++------------
 bug_x86_64.patch |  198 ++++++++++++++++++++++++++---------------------------
 2 files changed, 143 insertions(+), 143 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-25 23:10:32 UTC (rev 436051)
+++ PKGBUILD	2019-02-25 23:10:42 UTC (rev 436052)
@@ -1,44 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor:  Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
-# Contributor: James An <james at jamesan.ca>
-# Contributor: Stefano Bergamini <bergs at live dot it>
-# Contributor: Heiko Baums <heiko at baums-on-web.de>
-# Contributor: Quentin Foussette <quentinf7 at gmail.com>
-# Contributor: MetaNova
-
-pkgname=epson-inkjet-printer-escpr
-pkgver=1.6.34
-pkgrel=1
-pkgdesc='Epson Inkjet Printer Driver (ESC/P-R) for Linux'
-arch=('x86_64')
-url='http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX'
-license=('GPL2')
-depends=('cups' 'ghostscript')
-source=('https://download3.ebz.epson.net/dsc/f/03/00/08/97/78/75e6a1d0cac1d02c40d8809780593fed539b54e9/epson-inkjet-printer-escpr-1.6.34-1lsb3.2.tar.gz'
-        'bug_x86_64.patch')
-sha512sums=('8caabf66f787abc09f59e0cbc41691cdbaf98a653ffecc5f66d12febce37e6733092afacaf43867c7e42c215cd1467a2c6bfc82f7fa18895d45ced54c187eb91'
-            'ff4f736ec884c4d2354a83c89ee535732cb414ef0c6443bdc8ec869f889f486b242d76e143ad59d61b182231697dfe3bdf68122cb8aae873a9776ce109a07dab')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  patch -p1 < ../bug_x86_64.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-  	--prefix=/usr \
-  	--with-cupsfilterdir=/usr/lib/cups/filter \
-  	--with-cupsppddir=/usr/share/ppd
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-}
-

Copied: epson-inkjet-printer-escpr/repos/community-x86_64/PKGBUILD (from rev 436051, epson-inkjet-printer-escpr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-25 23:10:42 UTC (rev 436052)
@@ -0,0 +1,44 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor:  Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: James An <james at jamesan.ca>
+# Contributor: Stefano Bergamini <bergs at live dot it>
+# Contributor: Heiko Baums <heiko at baums-on-web.de>
+# Contributor: Quentin Foussette <quentinf7 at gmail.com>
+# Contributor: MetaNova
+
+pkgname=epson-inkjet-printer-escpr
+pkgver=1.6.35
+pkgrel=1
+pkgdesc='Epson Inkjet Printer Driver (ESC/P-R) for Linux'
+arch=('x86_64')
+url='http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX'
+license=('GPL2')
+depends=('cups' 'ghostscript')
+source=('https://download3.ebz.epson.net/dsc/f/03/00/09/05/58/476adaba692bd312e1b1f85c472c2b2237e74786/epson-inkjet-printer-escpr-1.6.35-1lsb3.2.tar.gz'
+        'bug_x86_64.patch')
+sha512sums=('df7bc889b120cc1292482680a3a7ad7343ebf957e31b277a61bba282e7ea45117fe1f54b05fe82dda99032ae64545b5645441d923b6fd2c9492c20d01ffa6d6f'
+            'ff4f736ec884c4d2354a83c89ee535732cb414ef0c6443bdc8ec869f889f486b242d76e143ad59d61b182231697dfe3bdf68122cb8aae873a9776ce109a07dab')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -p1 < ../bug_x86_64.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+  	--prefix=/usr \
+  	--with-cupsfilterdir=/usr/lib/cups/filter \
+  	--with-cupsppddir=/usr/share/ppd
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}
+

Deleted: bug_x86_64.patch
===================================================================
--- bug_x86_64.patch	2019-02-25 23:10:32 UTC (rev 436051)
+++ bug_x86_64.patch	2019-02-25 23:10:42 UTC (rev 436052)
@@ -1,99 +0,0 @@
-diff -Naur epson-inkjet-printer-escpr-1.6.9/src/filter.c epson-inkjet-printer-escpr-1.6.9-fixed/src/filter.c
---- epson-inkjet-printer-escpr-1.6.9/src/filter.c	2016-09-21 03:55:30.000000000 +0200
-+++ epson-inkjet-printer-escpr-1.6.9-fixed/src/filter.c	2016-10-07 22:07:23.965463021 +0200
-@@ -34,6 +34,8 @@
- #include "epson-protocol.h"
- #include "epson-escpr-api.h"
- #include "epson-escpr-mem.h"
-+#include "epson-escpr-services.h"
-+#include "epson-escpage.h"
- 
- #include "err.h"
- #include "mem.h"
-@@ -42,6 +44,11 @@
- #include "libprtX.h"
- #include "optBase.h"
- #include "linux_cmn.h"
-+#include "xfifo.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)
- 
-@@ -380,10 +387,10 @@
- 	}else{
- 		debug_msg("pageStartJob() success");
- 	}
--	
-+
- 	printJob.jobStatus = EPS_STATUS_ESTABLISHED;
--	int printHeight = 0;
--///////////////////////////////////////////////////////////////////////////////////////////////////////////	
-+	EPS_UINT32 printHeight = 0;
-+///////////////////////////////////////////////////////////////////////////////////////////////////////////
- 
- 	print_area_x = printJob.printableAreaWidth;
- 	print_area_y = printJob.printableAreaHeight;
-@@ -535,7 +542,7 @@
- 						memcpy(rever_buf + k*3, startpage + pos + (bandBmp.widthBytes - 6) - k*3, 3);
- 					}
- 				}
--				PrintBand (rever_buf, bandBmp.widthBytes, &printHeight);
-+				PrintBand ((const EPS_UINT8 *)rever_buf, bandBmp.widthBytes, &printHeight);
- 				pos -= bandBmp.widthBytes;
- 			}
- 
-@@ -642,17 +649,17 @@
- 						}
- 					}
- 				}
--				
-+
- 				band_line_count ++;
--				
-+
- 				if (band_line_count >= band_line)
- 				{
- 					printHeight = band_line_count;
- 					PrintBand (bandBmp.bits, bandBmp.widthBytes, &printHeight);
- #if (HAVE_PPM)
- 					fp = fopen(ppmfilename, "a+");
--					int i=0;	
--					for(i=0; i<bytes_per_line/byte_par_pixel*3; i++){		
-+					int i=0;
-+					for(i=0; i<bytes_per_line/byte_par_pixel*3; i++){
- 						fprintf(fp, "%u ", (unsigned char)bandBmp.Bits[i]);
- 					}
- 					fprintf(fp, "\n");
-@@ -831,7 +838,7 @@
- 
- 	/* Get number of pages */
- 	char page_num;
--	read (STDIN_FILENO, &page_num, 1);
-+	(void)read (STDIN_FILENO, &page_num, 1);
- 
- 	/* Others */
- 	jobAttr.apfAutoCorrect = EPS_APF_ACT_STANDARD;
-@@ -881,7 +888,7 @@
- 
- //	fwrite (pBuf, cbBuf, 1, outfp);
- 
--	XFIFOWrite(context, pBuf, cbBuf);
-+	XFIFOWrite(context, (char *)pBuf, cbBuf);
- 
- 	return 1;
- }
-diff -Naur epson-inkjet-printer-escpr-1.6.9/src/mem.c epson-inkjet-printer-escpr-1.6.9-fixed/src/mem.c
---- epson-inkjet-printer-escpr-1.6.9/src/mem.c	2016-09-21 03:55:30.000000000 +0200
-+++ epson-inkjet-printer-escpr-1.6.9-fixed/src/mem.c	2016-10-07 22:07:59.519366574 +0200
-@@ -24,6 +24,7 @@
- 
- #include <stdlib.h>
- #include "mem.h"
-+#include "err.h"
- 
- void *
- mem_malloc (unsigned int size, bool_t crit)
-

Copied: epson-inkjet-printer-escpr/repos/community-x86_64/bug_x86_64.patch (from rev 436051, epson-inkjet-printer-escpr/trunk/bug_x86_64.patch)
===================================================================
--- bug_x86_64.patch	                        (rev 0)
+++ bug_x86_64.patch	2019-02-25 23:10:42 UTC (rev 436052)
@@ -0,0 +1,99 @@
+diff -Naur epson-inkjet-printer-escpr-1.6.9/src/filter.c epson-inkjet-printer-escpr-1.6.9-fixed/src/filter.c
+--- epson-inkjet-printer-escpr-1.6.9/src/filter.c	2016-09-21 03:55:30.000000000 +0200
++++ epson-inkjet-printer-escpr-1.6.9-fixed/src/filter.c	2016-10-07 22:07:23.965463021 +0200
+@@ -34,6 +34,8 @@
+ #include "epson-protocol.h"
+ #include "epson-escpr-api.h"
+ #include "epson-escpr-mem.h"
++#include "epson-escpr-services.h"
++#include "epson-escpage.h"
+ 
+ #include "err.h"
+ #include "mem.h"
+@@ -42,6 +44,11 @@
+ #include "libprtX.h"
+ #include "optBase.h"
+ #include "linux_cmn.h"
++#include "xfifo.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)
+ 
+@@ -380,10 +387,10 @@
+ 	}else{
+ 		debug_msg("pageStartJob() success");
+ 	}
+-	
++
+ 	printJob.jobStatus = EPS_STATUS_ESTABLISHED;
+-	int printHeight = 0;
+-///////////////////////////////////////////////////////////////////////////////////////////////////////////	
++	EPS_UINT32 printHeight = 0;
++///////////////////////////////////////////////////////////////////////////////////////////////////////////
+ 
+ 	print_area_x = printJob.printableAreaWidth;
+ 	print_area_y = printJob.printableAreaHeight;
+@@ -535,7 +542,7 @@
+ 						memcpy(rever_buf + k*3, startpage + pos + (bandBmp.widthBytes - 6) - k*3, 3);
+ 					}
+ 				}
+-				PrintBand (rever_buf, bandBmp.widthBytes, &printHeight);
++				PrintBand ((const EPS_UINT8 *)rever_buf, bandBmp.widthBytes, &printHeight);
+ 				pos -= bandBmp.widthBytes;
+ 			}
+ 
+@@ -642,17 +649,17 @@
+ 						}
+ 					}
+ 				}
+-				
++
+ 				band_line_count ++;
+-				
++
+ 				if (band_line_count >= band_line)
+ 				{
+ 					printHeight = band_line_count;
+ 					PrintBand (bandBmp.bits, bandBmp.widthBytes, &printHeight);
+ #if (HAVE_PPM)
+ 					fp = fopen(ppmfilename, "a+");
+-					int i=0;	
+-					for(i=0; i<bytes_per_line/byte_par_pixel*3; i++){		
++					int i=0;
++					for(i=0; i<bytes_per_line/byte_par_pixel*3; i++){
+ 						fprintf(fp, "%u ", (unsigned char)bandBmp.Bits[i]);
+ 					}
+ 					fprintf(fp, "\n");
+@@ -831,7 +838,7 @@
+ 
+ 	/* Get number of pages */
+ 	char page_num;
+-	read (STDIN_FILENO, &page_num, 1);
++	(void)read (STDIN_FILENO, &page_num, 1);
+ 
+ 	/* Others */
+ 	jobAttr.apfAutoCorrect = EPS_APF_ACT_STANDARD;
+@@ -881,7 +888,7 @@
+ 
+ //	fwrite (pBuf, cbBuf, 1, outfp);
+ 
+-	XFIFOWrite(context, pBuf, cbBuf);
++	XFIFOWrite(context, (char *)pBuf, cbBuf);
+ 
+ 	return 1;
+ }
+diff -Naur epson-inkjet-printer-escpr-1.6.9/src/mem.c epson-inkjet-printer-escpr-1.6.9-fixed/src/mem.c
+--- epson-inkjet-printer-escpr-1.6.9/src/mem.c	2016-09-21 03:55:30.000000000 +0200
++++ epson-inkjet-printer-escpr-1.6.9-fixed/src/mem.c	2016-10-07 22:07:59.519366574 +0200
+@@ -24,6 +24,7 @@
+ 
+ #include <stdlib.h>
+ #include "mem.h"
++#include "err.h"
+ 
+ void *
+ mem_malloc (unsigned int size, bool_t crit)
+



More information about the arch-commits mailing list