Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-14 Thread Roger Shimizu
Dear Till,

>> Didier 'OdyX' Raboud  wrote:
>> > Le jeudi, 8 décembre 2016, 09.34:12 h CET Didier 'OdyX' Raboud a écrit :
>> > > * In CUPS, the PPD makes the manufacturer appear as "(Fuji Xerox)",
>> > > "Fuji Xerox" and "FX", and only as "Fuji Xerox" Model. There should
>> > > really exist a fxlinuxprint.drv as source for that PPD.
>> >
>> > The really better solution is:
>> > - (Optionally) a fxlinuxprint.drv exists, and generates …
>> > - one PPD per supported printer, with uniform and coherent Manufacturer
>> > names
>> I admit I don't understand much here.
>> If you can provide an example, that would be helpful and appreciated.
>
> Well. This is something for upstream, really. I'll let Till provide an
> example, he's much more knowledgeable in this area.

If you can kindly help to give me the example mentioned above, it'd be
appreciated.

Besides, you seems to be in ubuntu community, so could you help to handle this:
- https://bugs.launchpad.net/ubuntu/+bug/124442
It's already hit ubuntu so I think that bug can be closed.

Thank you!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-11 Thread Roger Shimizu
On Fri, Dec 9, 2016 at 1:05 AM, Didier 'OdyX' Raboud  wrote:
>
>> Thanks for the repo preparation!
>> I applied to join printing team on alioth, please kindly help to approve.
>
> Approved.

Thanks for letting Sasaki and me join!

>> > - dh_pyppd is used to compress these back to a /usr/lib/cups/driver/
>> > fxlinuxprint file that is used by CUPS in an efficient way.
>>
>> OK. I'll fix this on next upload, after passing NEW queue.
>
> This doesn't need to wait. We can stack updates in the NEW queue.

I take hplip [0] as example, and find it really simplifies the
debian/rules script.
So I made another release and uploaded to mentors.

[0] https://anonscm.debian.org/cgit/printing/hplip.git/tree/debian/rules

You can build the package by:
   gbp clone --pristine-tar
https://anonscm.debian.org/git/printing/fxlinuxprint.git
   cd fxlinuxprint
   git checkout mentors
   gbp buildpackage -uc -us --git-ignore-branch --git-pristine-tar

Please help to sponsor the upload if the change is fine with you.
Thank you!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-10 Thread Youhei SASAKI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dear Didier,

On Thu, 08 Dec 2016 17:34:12 +0900,
Didier 'OdyX' Raboud  wrote:
- - snip -
>
> Please file a request to join the Debian Printing Team on Alioth:
>   https://alioth.debian.org/projects/printing/

I applied to join printing team on alioth.

Sincerely,
Youhei

- ---
Youhei SASAKI 
  
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEZqTqcE/iQFWNasLmk5TzVIkdfgcFAlhLii8ACgkQk5TzVIkd
fgfDWQ/+KUxxqqST5i/mZiBHabk9YxdLSkeLxCGXzwKdM+YpY1XJMule5iXXDtQt
FblQ08ks90mOkO3CRiEtne/zfEVuExjbk3LuymUejnTHiIhoqQghBJ7rHEY8sa6D
i2LR4jTJXKioRAW1qw2UqbEshdCtmrBQW84AfCw6gvVRbOqKTA30DFB6EtllL6MC
or3fCfjoo+I2/6Xjbmg7KbV98ManOd0Xqh6rcqLfHP76tnzb46uaLD2DIbRdQRm0
wGJNlIXVj+2FyiJdeZYfU4ZyP4w/6Lix8Tpbw4pRPTY/YSG0VG+PXCm1tGkR+wSX
1Qy81wlxni87FG+sIJuz7Ho7L+4XyqGUnkfjn9lpLELkEVv84rg720QqdzFo31B7
I9OuzVVsyuVDzhuOtvTQCAtq7dbyfrsHTE9jppy/vvFtJanZsseYR68Fe2gcFhxl
Kwdih1hJxm7GHzzefrM8AmcDV5IXDCU41Em7bOLxFCQM/YDy6RrdXpBJ+KIi70tF
2rjm+QDmO2c+vg+BSSdVrVo7bkvLDikHK49qmp4lMhVILCC6oKponZLzvJXK/bpe
rFFDa3rUqwMMdFaYhcG5pTlIzW5oYy64Yah8hT0VQfmBCyMK5NkqVbKiDxnU92iZ
afkj8i2260pXxwzqnRbtlKnfgmLlS8Bub6jMnDHgZ+P6zDEVKaY=
=Pl0I
-END PGP SIGNATURE-



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-08 Thread Didier 'OdyX' Raboud
Le jeudi, 8 décembre 2016, 19.11:05 h CET Roger Shimizu a écrit :
> Thanks for your review and feedback!

My pleasure.

> Thanks for the repo preparation!
> I applied to join printing team on alioth, please kindly help to approve.

Approved.

> Didier 'OdyX' Raboud  wrote:
> > Le jeudi, 8 décembre 2016, 09.34:12 h CET Didier 'OdyX' Raboud a écrit :
> > > * In CUPS, the PPD makes the manufacturer appear as "(Fuji Xerox)",
> > > "Fuji Xerox" and "FX", and only as "Fuji Xerox" Model. There should
> > > really exist a fxlinuxprint.drv as source for that PPD.
> > 
> > The really better solution is:
> > - (Optionally) a fxlinuxprint.drv exists, and generates …
> > - one PPD per supported printer, with uniform and coherent Manufacturer
> > names
> I admit I don't understand much here.
> If you can provide an example, that would be helpful and appreciated.

Well. This is something for upstream, really. I'll let Till provide an 
example, he's much more knowledgeable in this area.

> > - dh_pyppd is used to compress these back to a /usr/lib/cups/driver/
> > fxlinuxprint file that is used by CUPS in an efficient way.
> 
> OK. I'll fix this on next upload, after passing NEW queue.

This doesn't need to wait. We can stack updates in the NEW queue.

-- 
Cheers,
OdyX

signature.asc
Description: This is a digitally signed message part.


Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-08 Thread Roger Shimizu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dear Didier,

Thanks for your review and feedback!

On Thu, 08 Dec 2016 09:34:12 +0100
Didier 'OdyX' Raboud  wrote:

> Dear Roger & Youhei,
> 
> Le vendredi, 21 octobre 2016, 02.04:41 h CET Roger Shimizu a écrit :
> > I made the release commit and uploaded the gbp built package to mentors.
> > 
> > If you find anything inappropriate, just let me know.
> 
> Raw comments:
> * The repackaging is not necessary (I'd even say superfluous) if you use 
> dh_autoreconf.

Yes, I just did it to avoid writing a few copyright lines on autoconf files,
which will be removed by dh_autoreconf anyway.

> * If you put the Debian Printing Team as Maintainer (which is great, and what 
> we want for that package), please make sure you can get a VCS under its 
> control on Alioth. I've created this repo for you:
>   https://anonscm.debian.org/cgit/printing/fxlinuxprint.git/
>   ssh://git.debian.org/git/printing/fxlinuxprint.git
> Please file a request to join the Debian Printing Team on Alioth:
>   https://alioth.debian.org/projects/printing/

Thanks for the repo preparation!
I applied to join printing team on alioth, please kindly help to approve.

On Thu, 08 Dec 2016 09:44:34 +0100
Didier 'OdyX' Raboud  wrote:

> Le jeudi, 8 décembre 2016, 09.34:12 h CET Didier 'OdyX' Raboud a écrit :
> > * In CUPS, the PPD makes the manufacturer appear as "(Fuji Xerox)", "Fuji
> > Xerox" and "FX", and only as "Fuji Xerox" Model. There should really exist a
> > fxlinuxprint.drv as source for that PPD.
> 
> The really better solution is:
> - (Optionally) a fxlinuxprint.drv exists, and generates …
> - one PPD per supported printer, with uniform and coherent Manufacturer names

I admit I don't understand much here.
If you can provide an example, that would be helpful and appreciated.

> - dh_pyppd is used to compress these back to a /usr/lib/cups/driver/
> fxlinuxprint file that is used by CUPS in an efficient way.

OK. I'll fix this on next upload, after passing NEW queue.

Cheers,
- -- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEECjKtvoA5m+cWOFnspHhrDacDNKgFAlhJMbkACgkQpHhrDacD
NKh9xA//dgG0crSzUfA4E1Q1xG62J19hynkeHQwUJTV7OweXKJxt1BvGVn3ZWjgm
B6HcG1C9BcsKAf7i1QOHlsiTAUE73N1NO2BJvFkBBa6nFVKNGvAp5Tk/B4pJaef/
t8Y83k/Tou8ngupNF2sh4+XsdB0O/ZJMfD7R5ZO2gpRyv1f8M5LZuSAWpnJ3s7/6
mpZ/15nVU4VM+SN4J9hOlKq0L9om110leSdKkdgBofKFCBmf+nzG+4c2uQeuW2/b
eoAdlxsfvxwQbFme+lxBg6NYqtWNX6b8bQQjrfQfd7siT8AvZuQNQzrIrHD0sqwv
pxYJK2WGR0/0WCljhQS26LCrgsoM3vGxgjfzb52QgB+y0VvFWxFWToBPpDj/Sj8k
Om8rkPMxrM3ZXHefnjitkCPTrdyyXhyO0bD7TtxgEjTev+fHnqZwa0bhZxuAlwTf
DBdOLKP3vIFkhokcHLkgIOD6yZ0urmZ/bL44yVqEkqg1q2A99T63qUy4pMjTfsGf
rF1R3pv5+QCTC3P2XX/gljDmaLyRuJYjfuL7xUGoLsesRmDQCiPbFs+W8x8nzGZK
Wpw/oqnedb4HrvRz6suCoY5QNfYzudRPLTrC2JDccFkMdNBQ04ot0GxaF2FZXSaU
IAlOHjHKhxBVFrZPhwpaBAxh0QoKNJZZ0uAIiFJksBAr+Os9Bak=
=hC7t
-END PGP SIGNATURE-



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-08 Thread Didier 'OdyX' Raboud
Le jeudi, 8 décembre 2016, 09.34:12 h CET Didier 'OdyX' Raboud a écrit :
> * In CUPS, the PPD makes the manufacturer appear as "(Fuji Xerox)", "Fuji
> Xerox" and "FX", and only as "Fuji Xerox" Model. There should really exist a
> fxlinuxprint.drv as source for that PPD.

The really better solution is:
- (Optionally) a fxlinuxprint.drv exists, and generates …
- one PPD per supported printer, with uniform and coherent Manufacturer names
- dh_pyppd is used to compress these back to a /usr/lib/cups/driver/
fxlinuxprint file that is used by CUPS in an efficient way.

-- 
Cheers,
OdyX

signature.asc
Description: This is a digitally signed message part.


Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-12-08 Thread Didier 'OdyX' Raboud
Dear Roger & Youhei,

Le vendredi, 21 octobre 2016, 02.04:41 h CET Roger Shimizu a écrit :
> I made the release commit and uploaded the gbp built package to mentors.
> 
> If you find anything inappropriate, just let me know.

Raw comments:
* The repackaging is not necessary (I'd even say superfluous) if you use 
dh_autoreconf.
* If you put the Debian Printing Team as Maintainer (which is great, and what 
we want for that package), please make sure you can get a VCS under its 
control on Alioth. I've created this repo for you:
https://anonscm.debian.org/cgit/printing/fxlinuxprint.git/
ssh://git.debian.org/git/printing/fxlinuxprint.git
Please file a request to join the Debian Printing Team on Alioth:
https://alioth.debian.org/projects/printing/
* In CUPS, the PPD makes the manufacturer appear as "(Fuji Xerox)", "Fuji 
Xerox" and "FX", and only as "Fuji Xerox" Model. There should really exist a 
fxlinuxprint.drv as source for that PPD.

Anyway. These are non-critical, I will upload the package as-is to Debian 
unstable now. Please try to fix the second point at least.

-- 
Cheers,
OdyX

signature.asc
Description: This is a digitally signed message part.


Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-20 Thread Roger Shimizu
Dear Didier,

I find it's not convenient for Till, so I turn to you for upload sponsorship.

On Wed, Oct 19, 2016 at 8:57 PM, Roger Shimizu  wrote:
>
> so you can use git-buildpackage to build the package:
>gbp clone --pristine-tar https://github.com/rogers0/fxlinuxprint
>cd fxlinuxprint
>git checkout try_debian2
>gbp buildpackage -uc -us --git-ignore-branch --git-pristine-tar

I made the release commit and uploaded the gbp built package to mentors.

If you find anything inappropriate, just let me know.
Thank you!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-19 Thread Roger Shimizu
Dear Till,

On Wed, Oct 19, 2016 at 12:29 AM, Roger Shimizu  wrote:
>
> Yes, "number of copies" to print wasn't working.
> So I guess the patch would fix it.
> I'll confirm whether this works when I have access to the printer.

Unfortunately, I tried the latest build, but still can print only 1
copy (same as previous status).
I guess there's still bug in the C source code.

Because it's not a fatal error, I suggest to upload first, so as the
user can have the driver in Stretch.

I changed a bit of packaging with changes below, and push to branch try_debian2:
- change binrary package name to: printer-driver-fujixerox (because
it's easier for user to recognize)
- add Replaces/Breaks to old binrary packages (vendor also releases
DEB drivers on their own)
- Update the supported printer list (you mentioned supported printers,
so I checked this again)

so you can use git-buildpackage to build the package:
   gbp clone --pristine-tar https://github.com/rogers0/fxlinuxprint
   cd fxlinuxprint
   git checkout try_debian2
   gbp buildpackage -uc -us --git-ignore-branch --git-pristine-tar

If you consider this is OK, I can upload to mentors.
Thank you!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-18 Thread Roger Shimizu
Dear Till,

Thanks so much for your review!

On Tue, Oct 18, 2016 at 11:41 PM, Till Kamppeter
 wrote:
>
> Can someone of you tell which Fuji Xerox models it exactly supports and
> perhaps also the device IDs of these printers?

There's a list in package description (debian/control).
But it supports more than that list, e.g. ApeosPort-IV C2275 (what I
usually use)

Actually Fuji Xerox only released this open source driver, so I guess
it should support most of their product line.

> Also the binary package of a printer driver should always be named
> printer-driver-..., in this case printer-driver-fxlinuxprint.

Fixed in github repo:
- https://github.com/rogers0/fxlinuxprint/tree/try_debian

And the source package name can be kept as it is?

> The *.types and *.convs files are not config files as the user is not
> supposed to modify them. So please put them into /usr/share/cups/mime/ and
> not into /etc/ppd/.

Fixed in patch 0003, in github repo.

On Tue, Oct 18, 2016 at 11:48 PM, Till Kamppeter
 wrote:
> Another possible issue:
>
> The mimefx.convs rule
>
> application/pdf application/vnd.cups-pdfprintfx 0   pdftopdffx
>
> makes the pdftopdf filter not being used, leading to many CUPS options, like
> number-up, page-ranges, ... not working any more.
>
> Is this intended, for example because the output of pdftopdf causes
> problems? Do you resemble the CUPS options in your own pdftopdffx filter?

Fixed in patch 0004, in github repo.

Yes, "number of copies" to print wasn't working.
So I guess the patch would fix it.
I'll confirm whether this works when I have access to the printer.

Thanks again!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-18 Thread Till Kamppeter

Another possible issue:

The mimefx.convs rule

application/pdf application/vnd.cups-pdfprintfx 0   pdftopdffx

makes the pdftopdf filter not being used, leading to many CUPS options, 
like number-up, page-ranges, ... not working any more.


Is this intended, for example because the output of pdftopdf causes 
problems? Do you resemble the CUPS options in your own pdftopdffx filter?


Perhaps it would be better to use

application/vnd.cups-pdf application/vnd.cups-pdfprintfx 0   pdftopdffx

   Till



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-18 Thread Till Kamppeter

On 10/18/2016 02:51 PM, Roger Shimizu wrote:

Dear Printing team,

I'm almost finished packaging “fxlinuxprint”.
Because I think it's more proper to ask for sponsorship here, than the
mentors list, I'm wondering whether anyone can sponsor this upload.


Thanks for working on this printer driver.

To make the driver more known and to make automatic creation of this 
print queues possible I would like to list it on OpenPrinting.


Can someone of you tell which Fuji Xerox models it exactly supports and 
perhaps also the device IDs of these printers?


Also the binary package of a printer driver should always be named 
printer-driver-..., in this case printer-driver-fxlinuxprint.


The *.types and *.convs files are not config files as the user is not 
supposed to modify them. So please put them into /usr/share/cups/mime/ 
and not into /etc/ppd/.


Otherwise the package seems to be correct, especially the PPD passes 
cupstestppd.


   Till



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-18 Thread Roger Shimizu
Dear Printing team,

I'm almost finished packaging “fxlinuxprint”.
Because I think it's more proper to ask for sponsorship here, than the
mentors list, I'm wondering whether anyone can sponsor this upload.

On Tue, Oct 18, 2016 at 9:34 PM, Roger Shimizu  wrote:
>
> Package: wnpp
> Severity: wishlist
>
> * Package name: fxlinuxprint
>   Version : 1.1.0
>   Upstream Author : Fuji Xerox Co., Ltd
> * License : GPL-2+
>   Programming Lang: C
>   Description : PPD file and postscript filter for Fuji Xerox printer
>
> Status:
> The packaging was originally proceed by Youhei SASAKI, but not updated for 
> years.
> I need to use this type of printer so I continued the packaging work and 
> polished the git repo.
> My latest work is pushed to my github repo (branch try_debian):
> - https://github.com/rogers0/fxlinuxprint
>
> you can use git-buildpackage to build the package:
>   gbp clone --pristine-tar https://github.com/rogers0/fxlinuxprint
>   cd fxlinuxprint
>   git checkout try_debian
>   gbp buildpackage -uc -us --git-ignore-branch --git-pristine-tar

If anything is missing or inappropriate, just let me know.
If it's OK, I can make the final release in debian/changelog, and
upload to mentors site.

Thank you and look forward to your feedback!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Bug#841194: ITP: fxlinuxprint -- PPD file and postscript filter for Fuji Xerox printer

2016-10-18 Thread Roger Shimizu
Package: wnpp
Severity: wishlist
Owner: Roger Shimizu 
X-Debbugs-Cc: debian-print...@lists.debian.org, uwab...@gfd-dennou.org,
rogershim...@gmail.com

* Package name: fxlinuxprint
  Version : 1.1.0
  Upstream Author : Fuji Xerox Co., Ltd
* URL :
https://www.fujixerox.co.jp/download/apeosport/download/c4300series/linux_module.html
* License : GPL-2+
  Programming Lang: C
  Description : PPD file and postscript filter for Fuji Xerox printer

Description in detail:
 This package provides PPD file and PostScript filter for Fuji Xerox
 printer. The following printers are supported:
  * ApeosPort-II
3000/4000/5000/6000/7000/C2200/C3300/C4300/C5400/C6500/C7500
  * ApeosPort-III
3010/4000/5000/6000/7000/C2200/C2205/C3300/C3305/C4400/C4405
  *   C5500/C6500/C7600
  * ApeosPort-IV  C2270/C3370/C4470/C5570/C5580/C6680/C7780
  * DocuCentre C1101/C2101
  * DocuCentre-II
3000/4000/5000/6000/7000/C2200/C3300/C4300/C5400/C6500/C7500
  * DocuCentre-III
2000/3000/3010/4000/5000/6000/7000/C2200/C2205/C3300/C3305
  *C4400/C4405/C5500/C6500/C7600/
  * DocuCentre-IV C2260/C2270/C3370/C4470/C5570/C5580/C6680/C7780
  * DocuPrint
2060/3000/3000s/3050/3100/4050/4060/5060/C2250/C3050/C3350/C3350s
  *   C3360/C5000d
  * 4112/4112 Light Publisher/4127 Light Publisher

Status:
The packaging was originally proceed by Youhei SASAKI, but not updated for
years.
I need to use this type of printer so I continued the packaging work and
polished the git repo. My latest work is pushed to my github repo (branch
try_debian):
- https://github.com/rogers0/fxlinuxprint

you can use git-buildpackage to build the package:
  gbp clone --pristine-tar https://github.com/rogers0/fxlinuxprint
  cd fxlinuxprint
  git checkout try_debian
  gbp buildpackage -uc -us --git-ignore-branch --git-pristine-tar

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1