[Printing Foomatic] How to contribute while OpenPrinting.org login mechanism is broken?

Volker Grabsch vog at notjusthosting.com
Sat Oct 20 13:55:46 UTC 2012


Some time ago I wrote: [1]

> I successfully adapted the existing PPDs to support my new
> printer (Brother HL-2240D), and I'd like to share my knowledge
> by contributing to OpenPrinting. However, the OpenPrinting.org
> login mechanism is broken [...].
> 
> Is there another way to contribute to OpenPrinting?

I'll answer to my own question, hoping this will be helpful
to others facing a similar problem:

It seems that the broken OpenPrinting.org login won't be
fixed anytime soon. However, the website isn't the preferred
contribution mechanism anyway. If my understanding is correct,
any submission to the web form must be transferred by some
volunteer to the foomatic-db Bazaar repository.

So it makes more sense to work on the foomatic-db repository
directly. For that purpose, the following documents were most
useful to me:

- The official OpenPrinting "Instructions for Contributors" [2]
- The foomatic-db README [3]

However, both are missing an important detail. While they
explain thoroughly how to check out the repository and how
to adjust the XML files, they don't explain how to verify
that your XML entries produce the intended PPD code. If you
simply run "foomatic-ppdfile", it will take the system wide
installed foomatic-db, not the one you just checked out
and edited.

Fortunately, there is the FOOMATICDB environment variable
which solves that problem neatly. Just set FOOMATICDB to
your local checkout, and "foomatic-ppdfile" will take your
own XML files. This allows for a seamless workflow:


1. Check out foomatic-db:

       bzr branch http://bzr.openprinting.org/foomatic/foomatic-db

2. Edit the XML files in foomatic-db/db/source/...

3. Generate the PPD:

       FOOMATICDB=foomatic-db foomatic-ppdfile -p YOUR-PRINTER >test.ppd

4. Check if "test.ppd" fits your needs (otherwise: back to step 2)


I finally succeeded in adjusting the XML files and provided my
work as Bazaar bundle to OpenPrinting via their issue tracker. [4]
I also updated the generated PPD on my website. [5]


Regards,
Volker


[1] https://lists.linuxfoundation.org/pipermail/printing-foomatic/2012/002793.html
[2] http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/instructionsforcontributors
[3] http://bzr.linuxfoundation.org/loggerhead/openprinting/foomatic/foomatic-db/annotate/head:/README
[4] https://bugs.linuxfoundation.org/show_bug.cgi?id=1079
[5] http://www.profv.de/brother

-- 
Volker Grabsch
---<<(())>>---


More information about the Printing-foomatic mailing list