Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382379 - ebuilds for several Epson inkjet printers
Summary: ebuilds for several Epson inkjet printers
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
: 436316 (view as bug list)
Depends on:
Blocks: printer-drivers
  Show dependency tree
 
Reported: 2011-09-09 12:18 UTC by atrink
Modified: 2014-02-08 09:17 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
epson-inkjet-printer-artisan-725-835-series-1.0.0.ebuild (epson-inkjet-printer-artisan-725-835-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:21 UTC, atrink
Details
epson-inkjet-printer-ep-803a-903f-series-1.0.0.ebuild (epson-inkjet-printer-ep-803a-903f-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:22 UTC, atrink
Details
epson-inkjet-printer-ep-902a-series-1.0.0.ebuild (epson-inkjet-printer-ep-902a-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:23 UTC, atrink
Details
epson-inkjet-printer-k100-k200-series-1.0.0.ebuild (epson-inkjet-printer-k100-k200-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:23 UTC, atrink
Details
epson-inkjet-printer-px-503a-203-series-1.0.0.ebuild (epson-inkjet-printer-px-503a-203-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:24 UTC, atrink
Details
epson-inkjet-printer-stylus-nx110-series-1.0.0.ebuild (epson-inkjet-printer-stylus-nx110-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:25 UTC, atrink
Details
epson-inkjet-printer-stylus-office-tx510fn-series-1.0.0.ebuild (epson-inkjet-printer-stylus-office-tx510fn-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:26 UTC, atrink
Details
epson-inkjet-printer-stylus-office-tx610fw-series-1.0.0.ebuild (epson-inkjet-printer-stylus-office-tx610fw-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:26 UTC, atrink
Details
epson-inkjet-printer-stylus-photo-px660-series-1.0.0.ebuild (epson-inkjet-printer-stylus-photo-px660-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:27 UTC, atrink
Details
epson-inkjet-printer-stylus-photo-px810fw-series-1.0.0.ebuild (epson-inkjet-printer-stylus-photo-px810fw-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:28 UTC, atrink
Details
epson-inkjet-printer-stylus-photo-t50-series-1.0.0.ebuild (epson-inkjet-printer-stylus-photo-t50-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:28 UTC, atrink
Details
epson-inkjet-printer-stylus-photo-tx650-series-1.0.0.ebuild (epson-inkjet-printer-stylus-photo-tx650-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:29 UTC, atrink
Details
epson-inkjet-printer-stylus-s21-series-1.0.0.ebuild (epson-inkjet-printer-stylus-s21-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:30 UTC, atrink
Details
epson-inkjet-printer-stylus-tx550w-series-1.0.0.ebuild (epson-inkjet-printer-stylus-tx550w-series-1.0.0.ebuild,1.63 KB, text/plain)
2011-09-09 12:30 UTC, atrink
Details
epson-inkjet-printer-workforce-635-nx625-series-1.0.1.ebuild (epson-inkjet-printer-workforce-635-nx625-series-1.0.1.ebuild,1.64 KB, text/plain)
2011-09-09 12:31 UTC, atrink
Details
epson-inkjet-printer-workforce-840-series-1.0.0.ebuild (epson-inkjet-printer-workforce-840-series-1.0.0.ebuild,1.64 KB, text/plain)
2011-09-09 12:32 UTC, atrink
Details
Ebuild for Epson inkjet printer workforce-320-sx218 (epson-inkjet-printer-workforce-320-sx218-1.0.0.ebuild,1.63 KB, text/plain)
2011-11-23 18:42 UTC, Sebastian Beßler
Details
epson-inkjet-printer-201105w-1.0.0.ebuild (epson-inkjet-printer-201105w-1.0.0.ebuild,1.62 KB, text/plain)
2012-09-26 15:59 UTC, urcindalo
Details
net-print/epson-inkjet-printer-1.0.0 ebuild (epson-inkjet-printer-1.0.0.ebuild,1.54 KB, text/plain)
2012-09-27 09:34 UTC, Sergey Popov
Details
error_log from /var/log/cups (error_log,641.06 KB, text/plain)
2012-09-28 14:09 UTC, urcindalo
Details
net-print/epson-inkjet-printer-1.0.0 ebuild (epson-inkjet-printer-1.0.0.ebuild,1.54 KB, text/plain)
2012-10-06 08:19 UTC, Sergey Popov
Details
error_log from /var/log/cups (II) (cups-log-error-2.txt,11.03 KB, text/plain)
2012-10-08 14:35 UTC, urcindalo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description atrink 2011-09-09 12:18:38 UTC
I've an Epson Inkjet printer PX720WD and it was not so easy to install
the driver on a Gentoo/Sabayon-based system.
I also made ebuilds for lot of other Epson-printers.

The following drivers are attached:
epson-inkjet-printer-px-503a-203-series
epson-inkjet-printer-stylus-photo-tx650-series
epson-inkjet-printer-stylus-nx110-series
epson-inkjet-printer-stylus-s21-series
epson-inkjet-printer-artisan-725-835-series
epson-inkjet-printer-stylus-office-tx510fn-series
epson-inkjet-printer-stylus-tx550w-series
epson-inkjet-printer-ep-803a-903f-series
epson-inkjet-printer-stylus-office-tx610fw-series
epson-inkjet-printer-workforce-635-nx625-series
epson-inkjet-printer-ep-902a-series
epson-inkjet-printer-stylus-photo-px660-series
epson-inkjet-printer-workforce-840-series
epson-inkjet-printer-stylus-photo-px810fw-series
epson-inkjet-printer-k100-k200-series
epson-inkjet-printer-stylus-photo-t50-series


Reproducible: Always
Comment 1 atrink 2011-09-09 12:21:06 UTC
Created attachment 285931 [details]
epson-inkjet-printer-artisan-725-835-series-1.0.0.ebuild
Comment 2 atrink 2011-09-09 12:22:24 UTC
Created attachment 285933 [details]
epson-inkjet-printer-ep-803a-903f-series-1.0.0.ebuild
Comment 3 atrink 2011-09-09 12:23:00 UTC
Created attachment 285935 [details]
epson-inkjet-printer-ep-902a-series-1.0.0.ebuild
Comment 4 atrink 2011-09-09 12:23:49 UTC
Created attachment 285937 [details]
epson-inkjet-printer-k100-k200-series-1.0.0.ebuild
Comment 5 atrink 2011-09-09 12:24:47 UTC
Created attachment 285939 [details]
epson-inkjet-printer-px-503a-203-series-1.0.0.ebuild
Comment 6 atrink 2011-09-09 12:25:19 UTC
Created attachment 285941 [details]
epson-inkjet-printer-stylus-nx110-series-1.0.0.ebuild
Comment 7 atrink 2011-09-09 12:26:24 UTC
Created attachment 285943 [details]
epson-inkjet-printer-stylus-office-tx510fn-series-1.0.0.ebuild
Comment 8 atrink 2011-09-09 12:26:51 UTC
Created attachment 285945 [details]
epson-inkjet-printer-stylus-office-tx610fw-series-1.0.0.ebuild
Comment 9 atrink 2011-09-09 12:27:35 UTC
Created attachment 285947 [details]
epson-inkjet-printer-stylus-photo-px660-series-1.0.0.ebuild
Comment 10 atrink 2011-09-09 12:28:12 UTC
Created attachment 285949 [details]
epson-inkjet-printer-stylus-photo-px810fw-series-1.0.0.ebuild
Comment 11 atrink 2011-09-09 12:28:44 UTC
Created attachment 285951 [details]
epson-inkjet-printer-stylus-photo-t50-series-1.0.0.ebuild
Comment 12 atrink 2011-09-09 12:29:50 UTC
Created attachment 285953 [details]
epson-inkjet-printer-stylus-photo-tx650-series-1.0.0.ebuild
Comment 13 atrink 2011-09-09 12:30:19 UTC
Created attachment 285955 [details]
epson-inkjet-printer-stylus-s21-series-1.0.0.ebuild
Comment 14 atrink 2011-09-09 12:30:50 UTC
Created attachment 285957 [details]
epson-inkjet-printer-stylus-tx550w-series-1.0.0.ebuild
Comment 15 atrink 2011-09-09 12:31:23 UTC
Created attachment 285959 [details]
epson-inkjet-printer-workforce-635-nx625-series-1.0.1.ebuild
Comment 16 atrink 2011-09-09 12:32:44 UTC
Created attachment 285961 [details]
epson-inkjet-printer-workforce-840-series-1.0.0.ebuild
Comment 17 Sebastian Beßler 2011-11-23 18:42:15 UTC
Created attachment 293547 [details]
Ebuild for Epson inkjet printer workforce-320-sx218

I only changed the name and the variables to match the driver. Besides of that the ebuild is identical to the others here uploaded not by me.
Comment 18 Michele Ciacci 2011-12-18 21:20:56 UTC
thx I did need it 
worked fine with my BX305FW printer 

I think those drivers should be in portage
Comment 19 urcindalo 2012-09-26 15:59:43 UTC
Created attachment 325044 [details]
epson-inkjet-printer-201105w-1.0.0.ebuild

I tried to create an ebuild for the epson-inkjet-printer-201105w driver based on the other drivers in this bug, but it fails with the following error:

=====
user@box /usr/portage/local/net-print/epson-inkjet-printer-201105w $ sudo ebuild epson-inkjet-printer-201105w-1.0.0.ebuild manifest
!!! net-print/epson-inkjet-printer-201105w-1.0.0 does not follow correct package syntax.
====

error.

I can't see the error.
Could someone help me, please?
Thanks in advance.
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-26 16:09:33 UTC
*** Bug 436316 has been marked as a duplicate of this bug. ***
Comment 21 Sergey Popov gentoo-dev 2012-09-26 16:12:27 UTC
(In reply to comment #19)
> Created attachment 325044 [details]
> epson-inkjet-printer-201105w-1.0.0.ebuild
> 
> I tried to create an ebuild for the epson-inkjet-printer-201105w driver
> based on the other drivers in this bug, but it fails with the following
> error:
> 
> =====
> user@box /usr/portage/local/net-print/epson-inkjet-printer-201105w $ sudo
> ebuild epson-inkjet-printer-201105w-1.0.0.ebuild manifest
> !!! net-print/epson-inkjet-printer-201105w-1.0.0 does not follow correct
> package syntax.
> ====
> 
> error.
> 
> I can't see the error.
> Could someone help me, please?
> Thanks in advance.

Ebuild is very ugly - it violates a lot of standarts and should be completely rewritten from scratch. Documentation on http://devmanual.gentoo.org can help you to determine correct package syntax
Comment 22 urcindalo 2012-09-26 17:49:27 UTC
Thanks for your answer.

First of all I didn't write the ebuild, for the simple reason I would have no idea where to begin with. I just took one of the existing ebuilds attached to this bug and changed the names accordingly. That's it.

Secondly, I'm not a programmer nor a developer, and that's why *I was asking for help*. I need *a working ebuild*, not *the knowledge to build one*. This is an important point. I'm a humble biophysics and use my Gentoo box to work.

So, again, is anybody able to fix the ebuild or create a working one? I *need* to print from my Linux box.

Thanks very much in advance.
Comment 23 Sergey Popov gentoo-dev 2012-09-27 09:34:14 UTC
Created attachment 325116 [details]
net-print/epson-inkjet-printer-1.0.0 ebuild

Ebuild for WF-7015 printer driver and filter, polished version of urcindalo's attached ebuild. Note that i do not have such printer, so i can not check if this ebuild even works, but it compiles and installs successfully.

Also note that epson-inkjet-printer-201105w is a bad name for a package, according to devmanual, so i use 'epson-inkjet-printer', but it is of course not ideal. I think all of related ebuild, related here should be unified in one ebuild, but i do not know how to do such thing, so i just fix one of submitted ebuilds as i can.
Comment 24 urcindalo 2012-09-27 10:25:41 UTC
Thanks very much, Sergey. I really appreciate it.

I'm currently at work, but I tested the ebuild and it emerges just fine. When I get home I'll check if the driver actually works.

Again, thanks very much indeed.

On the other hand, I agree Gentoo needs an ebuild system for these official Epson Drivers for Linux. Sure they're not OpenSource, but neither are the official nvidia or ati drivers for video cards. Maybe we need a single ebuild which could be configured through an entry in make.conf, something like "EPSON_PRINTER" similar to VIDEO_CARDS, for instance.
Comment 25 urcindalo 2012-09-27 10:40:11 UTC
Oops! I correct myself. Maybe be they do not have a GPL license or similar (this legal lingo is always confusing to me), but the source code is availabe or we wouldn't be able to compile it, right? Correct me if I'm wrong.

So, at least, anyone can audit the software. This is always better than having binary drivers for video cards, in my humble opinion. Another reason for including an ebuild for them in the Gentoo tree or a suitable overlay.
Comment 26 urcindalo 2012-09-27 22:10:53 UTC
Issues:

1) Printer is Wifi connected to the router.
2) Printer is automatically detected as a network printer in localhost:631. This also happened before any driver was installed.
3) Driver is correctly selected automatically. This is a new behavior after ebuild installation.
4) Driver can be configured and it even detects incompatible option sets.
5) However, nothing happens when trying to print a test page from the freshly installed printer through localhost:631. The printer appears as stopped. This is the status in localhost:631
===
      ID                  Name    User         Size      Pages    State
Epson_Stylus_SX440-123 	Unknown 	Withheld 	1k 	Unknown 	 stopped
===
6) When trying to print from another program, like KWrite, I can see and choose the printer in the dialog box but nothing happens when clicking on Print. No signal. Nada. Not even a new document appears in the printer queue at localhost:631

So, something is wrong during the installation. The driver is intended for an LSB 3.2 standard Linux installation. The failure may lie in the differences between Gentoo and an LSB 3.2 Linux, and perhaps some of the files should migrate from /opt to other location. Just a guess. I have no clue whatsoever as to what to do or try.

Nevertheless, thanks very much for your help and ebuild. You did as much as you could.
Comment 27 Sergey Popov gentoo-dev 2012-09-28 06:46:59 UTC
(In reply to comment #26)

Hm. Maybe he can not find cups filter to print properly(filter is installed into /opt). Please, attach your cups logs to this bug, maybe they would be helpful
Comment 28 urcindalo 2012-09-28 14:09:11 UTC
Created attachment 325220 [details]
error_log from /var/log/cups

You're right.
It seems the driver searches for the wrong filter file. Here you are the last lines from the new attachment:
===
E [28/Sep/2012:07:45:41 +0200] EPSON_Epson_Stylus_SX440: Archivo "/opt/epson-inkjet-printer-201105w/cups/lib/filter/epson_inkjet_printer_filter" no disponible: No such file or directory
E [28/Sep/2012:07:45:50 +0200] EPSON_Epson_Stylus_SX440: Archivo "/opt/epson-inkjet-printer-201105w/cups/lib/filter/epson_inkjet_printer_filter" no disponible: No such file or directory
E [28/Sep/2012:07:46:03 +0200] EPSON_Epson_Stylus_SX440: Archivo "/opt/epson-inkjet-printer-201105w/cups/lib/filter/epson_inkjet_printer_filter" no disponible: No such file or directory
E [28/Sep/2012:07:46:03 +0200] [Job 124] Unable to start filter "/opt/epson-inkjet-printer-201105w/cups/lib/filter/epson_inkjet_printer_filter" - No such file or directory.
E [28/Sep/2012:07:46:03 +0200] [Job 124] Stopping job because the scheduler could not execute a filter.
E [28/Sep/2012:07:51:04 +0200] [Job 124] Stopping unresponsive job!
===
Comment 29 urcindalo 2012-09-28 14:34:53 UTC
The file

/opt/epson-inkjet-printer-201105w/cups/lib/filter/epson_inkjet_printer_filter

does not exist. Instead, the file the driver installs is

/opt/epson-inkjet-printer-201105w-1.0.0/cups/lib/filter/epson_inkjet_printer_filter

Note the missing "-1.0.0" after "201105w" in the filepath the driver tries to load.
Comment 30 Sergey Popov gentoo-dev 2012-10-06 08:19:26 UTC
Created attachment 325770 [details]
net-print/epson-inkjet-printer-1.0.0 ebuild

Updated ebuild for WF-7015 printer driver and filter - installs in ${MY_PN}, not in ${MY_P}
Comment 31 urcindalo 2012-10-08 12:11:43 UTC
Thanks Sergey.
I've been out of town for the weekend but I'll try out the new ebuild this evening when I get home.
Comment 32 urcindalo 2012-10-08 14:35:55 UTC
Created attachment 325998 [details]
error_log from /var/log/cups (II)

It still refuses to print. I have attached the new error log from /var/log/cups
I can see there errors:

=========
...
D [08/Oct/2012:16:20:20 +0200] [Job 126] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [08/Oct/2012:16:20:20 +0200] [Job 126] Failed to get profile filename!
D [08/Oct/2012:16:20:20 +0200] [Job 126] no profiles specified in PPD
D [08/Oct/2012:16:20:20 +0200] [Job 126] Set job-printer-state-message to "no profiles specified in PPD", current level=INFO
...
D [08/Oct/2012:16:20:20 +0200] [Job 126] printer-state-message="/opt/epson-inkjet-printer-201105w/cups/lib/filter/epson_inkjet_printer_filter failed"
=========

At least I can print from a Windows virtual machine, but this solution is evidently not very Linux friendly :(
Comment 33 Paul McDermott 2013-04-11 19:09:29 UTC
I've been struggling with the epson_inkjet_printer_filter failed issue for the epson_inkjet_printer_filter driver (and it looks like many other epson drivers too).

I have finally got a working system by installing a manually compiled filter following the instructions right at the end of http://forums.gentoo.org/viewtopic-t-867435.html (and also http://forums.gentoo.org/viewtopic-t-948946.html).

Do really understand what the issue is, but one observation is differences in the linked files listed by ldd.

In the following, 'epson_inkjet_printer_filter' is the manually compiled filter, and 'epson_inkjet_printer_filter.orig' is the version from the ebuild. The size of the compiled files is the same. The working version has the addition of libstdc++.so.6 and libgcc_s.so.1

[5008:/opt/epson-inkjet-printer-201113w/cups/lib/filter]$ ls -l
total 88
-rwxr-xr-x 1 root root 42007 Apr 11 19:42 epson_inkjet_printer_filter
-rwxr-xr-x 1 root root 42007 Apr 11 19:22 epson_inkjet_printer_filter.orig
[5009:/opt/epson-inkjet-printer-201113w/cups/lib/filter]$ ldd *
epson_inkjet_printer_filter:
	linux-gate.so.1 (0xffffe000)
	libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libstdc++.so.6 (0xb766e000)
	libcupsimage.so.2 => /usr/lib/libcupsimage.so.2 (0x49f0f000)
	libcups.so.2 => /usr/lib/libcups.so.2 (0x49e67000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb7619000)
	libm.so.6 => /lib/libm.so.6 (0xb75f1000)
	libdl.so.2 => /lib/libdl.so.2 (0xb75ed000)
	libc.so.6 => /lib/libc.so.6 (0xb7463000)
	/lib/ld-linux.so.2 (0xb777b000)
	libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/libgcc_s.so.1 (0xb7447000)
	libtiff.so.5 => /usr/lib/libtiff.so.5 (0xb73dd000)
	libpng15.so.15 => /usr/lib/libpng15.so.15 (0xb73b1000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7397000)
	libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb7334000)
	libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb7182000)
	libz.so.1 => /lib/libz.so.1 (0xb716d000)
epson_inkjet_printer_filter.orig:
	linux-gate.so.1 (0xffffe000)
	libcupsimage.so.2 => /usr/lib/libcupsimage.so.2 (0x49f0f000)
	libcups.so.2 => /usr/lib/libcups.so.2 (0x49e67000)
	libdl.so.2 => /lib/libdl.so.2 (0xb774d000)
	libc.so.6 => /lib/libc.so.6 (0xb75c3000)
	libtiff.so.5 => /usr/lib/libtiff.so.5 (0xb7558000)
	libpng15.so.15 => /usr/lib/libpng15.so.15 (0xb752d000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb74d8000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb74be000)
	libm.so.6 => /lib/libm.so.6 (0xb7497000)
	libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb7433000)
	libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb7281000)
	libz.so.1 => /lib/libz.so.1 (0xb726c000)
	/lib/ld-linux.so.2 (0xb7775000)

Hope this helps someone who knows more about this that I.

This need fixing urgently as it looks like Epson printer support on Gentoo is severely lacking.