Status of dbus awareness
Howdy,
I just built the inkscape trunk from bzr and ran this script
#!/usr/bin/python import dbus bus = dbus.SessionBus() inkdoc1 = bus.get_object('org.inkscape', '/org/inkscape/desktop_0') doc1 = dbus.Interface(inkdoc1, dbus_interface="org.inkscape.document") im = doc1.image(100 ,100, '/home/ktenney/Firefox_wallpaper.png')
Which worked on a dbus branch a while back. Now it starts inkscape, but does not place the image
- was the dbus code merged? - if so, how do I enable/use it? - if not, where is dbus capable code?
Thanks, Kent
On Tue, 2009-12-29 at 13:45 -0600, Kent Tenney wrote:
- was the dbus code merged?
No. I'm trying to do a few clean ups to the autotools portions of it before doing that. I'm hoping to find some time this week to do that (as I don't have work, but those kids are so much dang fun ;) )
- if not, where is dbus capable code?
https://code.launchpad.net/~inkscape.dev/inkscape/gsoc2009_api
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
--Ted
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
--Ted
I have gone in and set all the release branches to mature. And the few branches I'm sure have been merged have been marked as such. Unless I hear otherwise I'm going to mark projects untouched in a year as abandoned tomorrow or the next day. If you have merged a branch please mark in as merged, or at least let me know soon so I can mark it appropriately.
Joshua L .Blocher verbalshadow
On Tue, 2009-12-29 at 15:33 -0700, Joshua L. Blocher wrote:
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
I have gone in and set all the release branches to mature. And the few branches I'm sure have been merged have been marked as such. Unless I hear otherwise I'm going to mark projects untouched in a year as abandoned tomorrow or the next day. If you have merged a branch please mark in as merged, or at least let me know soon so I can mark it appropriately.
Sweet! Thanks for doing that. The only one I know is active is the gsoc2009_api branch.
Thanks again, Ted
On Tue, Dec 29, 2009 at 3:35 PM, Ted Gould <ted@...11...> wrote:
On Tue, 2009-12-29 at 13:45 -0600, Kent Tenney wrote:
- was the dbus code merged?
No. I'm trying to do a few clean ups to the autotools portions of it before doing that. I'm hoping to find some time this week to do that
Cool, I'll wait for the trunk merge.
Thanks, Kent
(as I don't have work, but those kids are so much dang fun ;) )
- if not, where is dbus capable code?
https://code.launchpad.net/~inkscape.dev/inkscape/gsoc2009_api
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
--Ted
I've just built trunk bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
I see dbus in src/extensions/dbus
I'm unable to connect to Inkscape via Python->dbus per doc via src/extensions/dbus/builddocs.sh
what am I missing?
=============================================================== I get the following: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.inkscape was not provided by any .service files
when running: =============================================================== import dbus
#get the session bus. bus = dbus.SessionBus()
#get the object for the application. inkapp = bus.get_object('org.inkscape', '/org/inkscape/application')
#request a new desktop. desk2 = inkapp.desktop_new(dbus_interface='org.inkscape.application')
#get the object for that desktop. inkdoc1 = bus.get_object('org.inkscape', desk2) ===============================================================
On Tue, Dec 29, 2009 at 4:35 PM, Ted Gould <ted@...11...> wrote:
On Tue, 2009-12-29 at 13:45 -0600, Kent Tenney wrote:
- was the dbus code merged?
No. I'm trying to do a few clean ups to the autotools portions of it before doing that. I'm hoping to find some time this week to do that (as I don't have work, but those kids are so much dang fun ;) )
- if not, where is dbus capable code?
https://code.launchpad.net/~inkscape.dev/inkscape/gsoc2009_api
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
--Ted
On Tue, 21 Sep 2010 08:32:08 -0500 Kent Tenney <ktenney@...400...> wrote:
I've just built trunk bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
I see dbus in src/extensions/dbus
I'm unable to connect to Inkscape via Python->dbus per doc via src/extensions/dbus/builddocs.sh
what am I missing?
Hi Kent,
I was trying to get that going too. With all reasonable seeming dbus-dev packages and ./configure --enable-dbusapi I was not able to get "Enable DBUS: yes" on the summary printed at the end of the ./configure output.
No sign of inkscape in bus.list_activatable_names()
Cheers -Terry
=============================================================== I get the following: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.inkscape was not provided by any .service files
when running:
import dbus
#get the session bus. bus = dbus.SessionBus()
#get the object for the application. inkapp = bus.get_object('org.inkscape', '/org/inkscape/application')
#request a new desktop. desk2 = inkapp.desktop_new(dbus_interface='org.inkscape.application')
#get the object for that desktop. inkdoc1 = bus.get_object('org.inkscape', desk2) ===============================================================
On Tue, Dec 29, 2009 at 4:35 PM, Ted Gould <ted@...11...> wrote:
On Tue, 2009-12-29 at 13:45 -0600, Kent Tenney wrote:
- was the dbus code merged?
No. I'm trying to do a few clean ups to the autotools portions of it before doing that. I'm hoping to find some time this week to do that (as I don't have work, but those kids are so much dang fun ;) )
- if not, where is dbus capable code?
https://code.launchpad.net/~inkscape.dev/inkscape/gsoc2009_api
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
--Ted
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Tue, Sep 21, 2010 at 10:04 AM, Terry Brown <terry_n_brown@...36...> wrote:
On Tue, 21 Sep 2010 08:32:08 -0500 Kent Tenney <ktenney@...400...> wrote:
I've just built trunk bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
I see dbus in src/extensions/dbus
I'm unable to connect to Inkscape via Python->dbus per doc via src/extensions/dbus/builddocs.sh
what am I missing?
Hi Kent,
I was trying to get that going too. With all reasonable seeming dbus-dev packages and ./configure --enable-dbusapi I was not able to get "Enable DBUS: yes" on the summary printed at the end of the ./configure output.
I'm getting no mention of dbus in the ./configure report.
I attributed this to it's location in the src tree, under extension/
That signaled to me that it's not in core, but needs some extension magic to bring it to life.
No sign of inkscape in bus.list_activatable_names()
Cheers -Terry
=============================================================== I get the following: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.inkscape was not provided by any .service files
when running:
import dbus
#get the session bus. bus = dbus.SessionBus()
#get the object for the application. inkapp = bus.get_object('org.inkscape', '/org/inkscape/application')
#request a new desktop. desk2 = inkapp.desktop_new(dbus_interface='org.inkscape.application')
#get the object for that desktop. inkdoc1 = bus.get_object('org.inkscape', desk2) ===============================================================
On Tue, Dec 29, 2009 at 4:35 PM, Ted Gould <ted@...11...> wrote:
On Tue, 2009-12-29 at 13:45 -0600, Kent Tenney wrote:
- was the dbus code merged?
No. I'm trying to do a few clean ups to the autotools portions of it before doing that. I'm hoping to find some time this week to do that (as I don't have work, but those kids are so much dang fun ;) )
- if not, where is dbus capable code?
https://code.launchpad.net/~inkscape.dev/inkscape/gsoc2009_api
Just as an FYI, all of the Inkscape branches that Launchpad knows about will be on this page:
https://code.launchpad.net/inkscape
We should clean that listing up a little, as I believe some have been merged (and we should change their state to reflect that). But, in general, if they're > 4 weeks old, no one has touched them since the SVN migration.
--Ted
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 21/9/10 17:18, Kent Tenney wrote:
On Tue, Sep 21, 2010 at 10:04 AM, Terry Brown <terry_n_brown@...36...> wrote:
On Tue, 21 Sep 2010 08:32:08 -0500 Kent Tenney <ktenney@...400...> wrote:
I've just built trunk bzr+ssh://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/
I see dbus in src/extensions/dbus
I'm unable to connect to Inkscape via Python->dbus per doc via src/extensions/dbus/builddocs.sh
what am I missing?
I was trying to get that going too. With all reasonable seeming dbus-dev packages and ./configure --enable-dbusapi I was not able to get "Enable DBUS: yes" on the summary printed at the end of the ./configure output.
I'm getting no mention of dbus in the ./configure report.
I attributed this to it's location in the src tree, under extension/
That signaled to me that it's not in core, but needs some extension magic to bring it to life.
Possibly related (fix/patch not yet confirmed):
Bug #614273 “dbus option variables in configure.ac are not match”: https://bugs.launchpad.net/inkscape/+bug/614273
See also: http://article.gmane.org/gmane.comp.graphics.inkscape.devel/34708
~suv
2010/9/21 Kent Tenney <ktenney@...400...>:
I'm getting no mention of dbus in the ./configure report.
I attributed this to it's location in the src tree, under extension/
That signaled to me that it's not in core, but needs some extension magic to bring it to life.
The DBus "extension" is very much in the core. The code is in the wrong directory, because DBus support is not an extension.
The configuration problem should be fixed in revision 9773. You need the libdbus-glib-1-dev package (in Debian).
Regards, Krzysztof
2010/9/21 Krzysztof Kosiński <tweenk.pl@...400...>:
2010/9/21 Kent Tenney <ktenney@...400...>:
I'm getting no mention of dbus in the ./configure report.
I attributed this to it's location in the src tree, under extension/
That signaled to me that it's not in core, but needs some extension magic to bring it to life.
The DBus "extension" is very much in the core. The code is in the wrong directory, because DBus support is not an extension.
Right, it was cruft from some time ago.
The configuration problem should be fixed in revision 9773. You need the libdbus-glib-1-dev package (in Debian).
Working.
Thanks, Kent
Regards, Krzysztof
On 21/9/10 17:52, Krzysztof Kosiński wrote:
2010/9/21 Kent Tenney <ktenney@...400...>:
I'm getting no mention of dbus in the ./configure report.
I attributed this to it's location in the src tree, under extension/
That signaled to me that it's not in core, but needs some extension magic to bring it to life.
The DBus "extension" is very much in the core. The code is in the wrong directory, because DBus support is not an extension.
The configuration problem should be fixed in revision 9773. You need the libdbus-glib-1-dev package (in Debian).
@Krzysztof:
It seems that Inkscape trunk after r9773 configures and builds with the dbus-api enabled (previously it was disabled by default). Was this change intentional?
On Mac OS X I had to change the packaging script (used for configuring and building as well) to add '--disable-dbusapi': the full rebuild, triggered after updating from r9772 to r9775, had dbus enabled (I did not manually run configure after updating in bzr). The build went through without extra warnings or errors and worked fine. But since there is no dbus demon/service running normally on osx, it produced console warnings about the missing service, and I had to change the default configure options, configure and rebuild again.
See also: Bug #647789: tries to install file(s) outside of ./configure's --prefix https://bugs.launchpad.net/inkscape/+bug/647789
~suv
participants (6)
-
Joshua L. Blocher
-
Kent Tenney
-
Krzysztof Kosiński
-
Ted Gould
-
Terry Brown
-
~suv