From: Lars Uebernickel <larsuebernickel@gmx.de>
To: George Liu <george.liu@ricoh-tech.com>
Cc: printing-architecture@lists.linux-foundation.org,
Till Kamppeter <till.kamppeter@gmail.com>
Subject: Re: [Printing-architecture] REMINDER: Project ideas for the GoogleSummer of Code 2009
Date: Sat, 28 Feb 2009 09:35:02 +0100 [thread overview]
Message-ID: <1235810102.6245.13.camel@chimera> (raw)
In-Reply-To: <49A843CA.2010703@gmail.com>
On Fri, 2009-02-27 at 16:49 -0300, Till Kamppeter wrote:
> George Liu wrote:
> >> Lars is ... patching the toolkits to get the D-Bus interface in.
> >
> > 1. Does it mean that the GTK+ Print dialog portion will be moved out of GTK+ library and be build into a utility (stand alone program)?
>
> The print dialog will stay in GTK+. There will only get the D-Bus
> interface inserted so that the GTK+ dialog can easily get replaced by
> another dialog.
>
> > 2. Does GTK+ tool kit currently depends on D-Bus(libdbus)?
>
> I don't know. Perhaps it uses D-Bus already for other things.
>
> > 3. What if there's no D-Bus Daemon on the distribution (Nokia Tablet, which uses Gtk+ tool kit, for example). Any fall-back solutions?
>
> The D-Bus part will be ptional. You will be able to build GTK+ with and
> without D-Bus. Or there will be a fallback. If the dialog is called and
> no dialog gets found via D-Bus one could do a fallback to the native
> GTK+ dialog.
>
> > 4. How to register my CPDAPI server application with D-Bus? (Switch from gtk+ print dialog to QT print dialog, for example)
>
> Here I cannot help. Lars? Can you answer this question?
The CPDAPI server will not run all the time. Instead, it will make use
of D-Bus' service feature, which starts a process when a specific
interface has been requested by a client application. In order to
register such a service, a .service file needs to be put
into /usr/share/dbus-1/services (on ubuntu, this might differ a bit for
other distributions).
In the CPDAPI case, it might look something like this:
[D-Bus Service]
Name=com.openprinting.PrintManager
Exec=/usr/bin/cpd-dialog-gtk
Changing the dialog is simply a matter of changing the 'exec' line.
Lars
prev parent reply other threads:[~2009-02-28 8:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 17:14 [Printing-architecture] REMINDER: Project ideas for the Google Summer of Code 2009 Till Kamppeter
[not found] ` <8B8709E6C8B8784583FA9C7C013CB4515BEDB0@etd1.etd.ussj.ricoh.com>
2009-02-27 19:13 ` [Printing-architecture] REMINDER: Project ideas for the GoogleSummer " Till Kamppeter
[not found] ` <8B8709E6C8B8784583FA9C7C013CB4515BEDB2@etd1.etd.ussj.ricoh.com>
2009-02-27 19:49 ` Till Kamppeter
2009-02-28 8:35 ` Lars Uebernickel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1235810102.6245.13.camel@chimera \
--to=larsuebernickel@gmx.de \
--cc=george.liu@ricoh-tech.com \
--cc=printing-architecture@lists.linux-foundation.org \
--cc=till.kamppeter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.