void-linux / void-linux/void-packages

Package Request: epson-inkjet-printer-201211w-1.0.1-1

Open
#58,495 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

request
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

I would like to migrate from LMDE7 to VOID in my main daily PC, because I like the concept of VOID speed, stability and rolling release (while in LMDE it's becoming more difficult to manage the system due to massive changes every two years, although it still proves to be a rather reliable system being Debian based), but I can't use my EPSON WF-2010W printer. I've tried to install epson-inkjet-printer-escpr2 included in this void-packages repo, but with no luck (doesn't support my printer). For WF-2010W printer .deb and .rpm files are available on the official EPSON site:

https://download-center.epson.com/softwares/?device_id=WF-2010+Series&region=IT&os=RPM&language=en

These are the links for RPM files (both drivers and utility):

https://download-center.epson.com/f/module/72a25d9d-fd60-4549-b656-fc91b2377dbd/epson-inkjet-printer-201211w-1.0.1-1.x86_64.rpm

https://download-center.epson.com/f/module/4637fa61-81b6-41af-8401-df67e6dade67/epson-printer-utility-1.2.2-1.x86_64.rpm

These are the links for DEB files (both drivers and utility):

https://download-center.epson.com/f/module/3f69d06b-9d1b-4014-82d3-b5e644b3f3fa/epson-inkjet-printer-201211w_1.0.1-1_amd64.deb

https://download-center.epson.com/f/module/b04dc5b0-cb78-4ce7-98c8-06731fb74062/epson-printer-utility_1.2.2-1_amd64.deb

This driver support:
Epson inkjet printer driver (WF-2010, WF-2510, WF-2520, WF-2521, WF-2528, WF-2530, WF-2531, WF-2532, WF-2538, WF-2540, WF-2541, WF-2548)

I've tried by myself to create a template, but at a certain point, when a run:

./xbps-src pkg -f epson-inkjet-printer-201211w-1.0.1-1

I have an error:

=> ERROR: epson-inkjet-printer-201211w-1.0.1-1-1.0.1_1: PKGDESTDIR is empty and metapackage != yes
=> ERROR: epson-inkjet-printer-201211w-1.0.1-1-1.0.1_1: cannot continue with installation!

This is my template:

# Template file for 'epson-inkjet-printer-201211w-1.0.1-1'
pkgname=epson-inkjet-printer-201211w-1.0.1-1
version=1.0.1
revision=1
archs="x86_64 i686 aarch64 armv7l"
build_style=
configure_args="--with-cupsfilterdir=/usr/lib/cups/filter
 --with-cupsppddir=/usr/share/ppd"
hostmakedepends="automake"
makedepends="cups-devel ghostscript-devel"
depends="cups-filters"
short_desc="Epson Inkjet Printer Driver 201211w for Linux"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Proprietary"
homepage="https://download-center.epson.com/softwares/?device_id=WF-2010+Series&region=IT&os=RPM&language=en"
distfiles="https://download-center.epson.com/f/module/72a25d9d-fd60-4549-b656-fc91b2377dbd/epson-inkjet-printer-201211w-1.0.1-1.x86_64.rpm"
checksum=ce25ff96c9bdb0555bb437a5a3eb2568c1e42bac42e405ba8b1f0255dea936a3
restricted=yes
repository=nonfree

do_install() {
    :
}
do_build() {
    :
}

I tried, but due to my lack of knowledge in void package development, I'll stop here!
Can anyone help me fix this template and make this driver available to the entire Void community?
Should be also added a template for utility package.
Thanks in advance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proposed template and reproducing the reported ./xbps-src pkg -f epson-inkjet-printer-201211w-1.0.1-1 failure. Check the supplied RPM and DEB links and the existing epson-inkjet-printer-escpr2 package for packaging guidance. Done means working driver and utility templates that build and install for the stated architectures.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.