On Fri, 2010-12-03 at 17:31 -0800, Daniel Nicoletti wrote:
> > See this is the problem, how would you get an ippResult
that I got with my
> > bindings?
>
> Well, from libcups. If we're talking about having cupshelpers.ppds
> re-implementated as a C library, I don't see what's wrong with that part
> of the interface. It can just take 'ipp_t* ppds', i.e. the result of a
> CUPS-Get-PPDs query, as a parameter.
Right, that's why I was saying libqcups using your pppds.py wouldn't
work as we could not glue the ppds (at least not without a second auth).
I still don't really see what you are saying -- why can't your library
do the CUPS operation, and pass the result to "libppds"?
So if you are okay with we re-implementing this as a C lib, just tell
us
which files should go first so that we don't rewrite obsolete code.
I really wish I could have something this year cause next year I'll
probably be moving abroad and I'm not sure of how much free time I'll have :P
I hope I've already described well enough what the new interface is.
Just read through the functions in that interface. :-)
Basically, it's most of cupshelpers/ppds.py and all of
cupshelpers/xmldriverprefs.py. The only bit not to bother with is
cupshelpers.ppds.PPDs.getPPDNameFromDeviceID(), as that has been
replaced by cupshelpers.ppds.PPDs.getPPDNamesFromDeviceID().
A right, I was thinking at the code I saw that had some numeric
metrics,
If you're seeing numeric metrics, you are looking at the wrong code.
Look at the master branch, not 1.2.x.
so the idea is just to have a set of strings that can be translated
into
fit, exact... ok got it :D
Yes, exactly.
Ok I think we are fine then were do you think the development should
take
place? We can start the code together with our kde tools so we can more
easily test and then move to somewhere else. Print-manger is moving from
kde svn to kde's git so I guess pushing that to fedora's git would be easier
also..
what do you think?
Yes, that's fine.
Note that there is some design work going on for a GNOME printer
settings module:
http://live.gnome.org/action/subscribe/Design/SystemSettings/Printers
This might well end up implementing some of the same parts of code as
GObjects, so if you implement it without glib it might have to be added
in afterwards anyway.
Tim.
*/