[Printing Foomatic] How to contribute while OpenPrinting.org login mechanism is broken?
vog at notjusthosting.com
Sat Oct 20 13:55:46 UTC 2012
Some time ago I wrote: 
> 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" 
- The foomatic-db README 
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
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. 
I also updated the generated PPD on my website. 
More information about the Printing-foomatic