From dbus-bounces@lists.freedesktop.org Sun Apr 17 03:50:05 2005
Received: from [131.252.208.82] (helo=gabe.freedesktop.org) by mx28.web.de
	with esmtp (WEB.DE 4.104 #268) id 1DMyvF-0006xF-00 for
	danny.kukawka@web.de; Sun, 17 Apr 2005 03:50:05 +0200
Received: from gabe.freedesktop.org (localhost.localdomain [127.0.0.1]) by
	gabe.freedesktop.org (Postfix) with ESMTP id BF8499EA30; Sat, 16 Apr 2005
	18:49:58 -0700 (PDT)
X-Original-To: dbus@lists.freedesktop.org
Delivered-To: dbus@lists.freedesktop.org
Received: from mfe3.prod.danger.com (mta1.prod1.dngr.net [216.220.209.220])
	by gabe.freedesktop.org (Postfix) with ESMTP id 05DF39E919 for
	<dbus@lists.freedesktop.org>; Sat, 16 Apr 2005 18:49:56 -0700 (PDT)
Received: from [10.253.5.252] (HELO localhost.localdomain) by
	mfe3.prod.danger.com (CommuniGate Pro SMTP 4.1.6) with ESMTP id 278897596;
	Sat, 16 Apr 2005 18:49:44 -0700
Date: Sat, 16 Apr 2005 21:49:39 -0400
X-Mailer: Danger Service
Content-Transfer-Encoding: 7bit
In-Reply-To: <1113425695.8485.91.camel@localhost.localdomain>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
To: Havoc Pennington <hp@redhat.com>, Carlos Romero <kidcrash@freedesktop.org>
Mime-Version: 1.0
References: <1113416356.13254.15.camel@capslock.lan>
	 <1113425695.8485.91.camel@localhost.localdomain>
From: Seth Nickell <seth@gnome.org>
Message-Id: <1113702583.3A3EFE29@dk12.dngr.org>
Cc: dbus@lists.freedesktop.org
Subject: Re: new java binding
X-BeenThere: dbus@lists.freedesktop.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Seth Nickell <seth@gnome.org>
List-Id: Desktop message bus technical discussion
	<dbus.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/dbus>
List-Post: <mailto:dbus@lists.freedesktop.org>
List-Help: <mailto:dbus-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=subscribe>
Errors-To: dbus-bounces@lists.freedesktop.org
Sender: dbus-bounces@lists.freedesktop.org
Status: RO
X-Status: ORC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  
X-UID: 0
X-Evolution-Source: imap://dkukawka@imap.suse.de/
X-Evolution: 00000002-0010

> So e.g. you don't need to expose all the watch/timeout stuff, that's
> just "main loop glue"; in Java the normal thing is threads rather than
> main loop, so I'd just use threads.
>
> You don't need to expose the Message stuff, since that is intended to
> map to methods and listeners.
>
> So basically the bindings you have so far should be private to the
> package. The public Java API would be something different built on top.

The python bindings have both a "low level" and a python-y high level 
version (which afaict everyone uses). You might also look at the mono 
bindings for inspiration. Its good to make the bindings avail of 
relevant features of the language (e..g. I think the mono bindings use 
delegates)..... But everywhere else its probably helpful if there aren't 
artbitray api differences between high level language bindings.

-Seth
-- 
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

From dbus-bounces@lists.freedesktop.org Fri Apr 15 21:44:43 2005
Received: from [131.252.208.82] (helo=gabe.freedesktop.org) by mx30.web.de
	with esmtp (WEB.DE 4.104 #268) id 1DMWk7-0003nY-00 for
	danny.kukawka@web.de; Fri, 15 Apr 2005 21:44:43 +0200
Received: from gabe.freedesktop.org (localhost.localdomain [127.0.0.1]) by
	gabe.freedesktop.org (Postfix) with ESMTP id A6AB69E8B6; Fri, 15 Apr 2005
	12:44:39 -0700 (PDT)
X-Original-To: dbus@lists.freedesktop.org
Delivered-To: dbus@lists.freedesktop.org
Received: from imf21aec.mail.bellsouth.net (imf21aec.mail.bellsouth.net
	[205.152.59.69]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A0B39E7E9
	for <dbus@lists.freedesktop.org>; Fri, 15 Apr 2005 12:44:37 -0700 (PDT)
Received: from adsl-212-183-146.mia.bellsouth.net ([68.212.183.146]) by
	imf21aec.mail.bellsouth.net (InterMail vM.5.01.06.11
	201-253-122-130-111-20040605) with ESMTP id
	<20050415194436.OXUK2063.imf21aec.mail.bellsouth.net@adsl-212-183-146.mia.bellsouth.net>;
	Fri, 15 Apr 2005 15:44:36 -0400
From: Carlos Romero <kidcrash@freedesktop.org>
To: David Zeuthen <david@fubar.dk>
In-Reply-To: <1113591547.21997.5.camel@capslock.lan>
References: <1113416356.13254.15.camel@capslock.lan>
	 <1113425695.8485.91.camel@localhost.localdomain>
	 <1113450503.3320.1.camel@daxter.boston.redhat.com>
	 <1113591547.21997.5.camel@capslock.lan>
Content-Type: text/plain
Date: Fri, 15 Apr 2005 15:44:34 -0400
Message-Id: <1113594275.21997.12.camel@capslock.lan>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 (2.0.2-3) 
Content-Transfer-Encoding: 7bit
Cc: dbus@lists.freedesktop.org, Havoc Pennington <hp@redhat.com>
Subject: Re: new java binding
X-BeenThere: dbus@lists.freedesktop.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Desktop message bus technical discussion
	<dbus.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/dbus>
List-Post: <mailto:dbus@lists.freedesktop.org>
List-Help: <mailto:dbus-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=subscribe>
Errors-To: dbus-bounces@lists.freedesktop.org
Sender: dbus-bounces@lists.freedesktop.org
Status: RO
X-Status: ORC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  
X-UID: 0
X-Evolution-Source: imap://dkukawka@imap.suse.de/
X-Evolution: 00000004-0010

On Fri, 2005-04-15 at 14:59 -0400, Carlos Romero wrote:
> On Wed, 2005-04-13 at 23:48 -0400, David Zeuthen wrote:
> > On Wed, 2005-04-13 at 16:54 -0400, Havoc Pennington wrote:
> > > Anyhow, looking good! I'm happy to have these in CVS if you want to ask
> > > the fd.org admins for access.
> > 
> > I was told today by daniels, in another context, that the account
> > addition process have slightly changed. It is described here
> > 
> >  http://www.freedesktop.org/wiki/AccountRequests
> > 
> > Cheers,
> > David
> > 
> > 
> 
> im being told that the project maintainer should email sitewranglers,
> that adding an existing member to a group is really easy.
> 
> 

never mind, best to do this through bugzilla.
https://bugs.freedesktop.org/show_bug.cgi?id=3039

Reassign the bug to the freedesktop.org Product with the Component set
to New Accounts, Make sure the owner is changed to
sitewranglers@freedesktop.org

Thanks,
Carlos

-- 
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

From dbus-bounces@lists.freedesktop.org Fri Apr 15 20:59:19 2005
Received: from [131.252.208.82] (helo=gabe.freedesktop.org) by mx27.web.de
	with esmtp (WEB.DE 4.104 #268) id 1DMW2B-0003mb-00 for
	danny.kukawka@web.de; Fri, 15 Apr 2005 20:59:19 +0200
Received: from gabe.freedesktop.org (localhost.localdomain [127.0.0.1]) by
	gabe.freedesktop.org (Postfix) with ESMTP id 17CE89E848; Fri, 15 Apr 2005
	11:59:12 -0700 (PDT)
X-Original-To: dbus@lists.freedesktop.org
Delivered-To: dbus@lists.freedesktop.org
Received: from imf24aec.mail.bellsouth.net (imf24aec.mail.bellsouth.net
	[205.152.59.72]) by gabe.freedesktop.org (Postfix) with ESMTP id 4DC9F9E713
	for <dbus@lists.freedesktop.org>; Fri, 15 Apr 2005 11:59:09 -0700 (PDT)
Received: from adsl-212-183-146.mia.bellsouth.net ([68.212.183.146]) by
	imf24aec.mail.bellsouth.net (InterMail vM.5.01.06.11
	201-253-122-130-111-20040605) with ESMTP id
	<20050415185908.VPTN2032.imf24aec.mail.bellsouth.net@adsl-212-183-146.mia.bellsouth.net>;
	Fri, 15 Apr 2005 14:59:08 -0400
From: Carlos Romero <kidcrash@freedesktop.org>
To: David Zeuthen <david@fubar.dk>
In-Reply-To: <1113450503.3320.1.camel@daxter.boston.redhat.com>
References: <1113416356.13254.15.camel@capslock.lan>
	 <1113425695.8485.91.camel@localhost.localdomain>
	 <1113450503.3320.1.camel@daxter.boston.redhat.com>
Content-Type: text/plain
Date: Fri, 15 Apr 2005 14:59:07 -0400
Message-Id: <1113591547.21997.5.camel@capslock.lan>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 (2.0.2-3) 
Content-Transfer-Encoding: 7bit
Cc: dbus@lists.freedesktop.org, Havoc Pennington <hp@redhat.com>
Subject: Re: new java binding
X-BeenThere: dbus@lists.freedesktop.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Desktop message bus technical discussion
	<dbus.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/dbus>
List-Post: <mailto:dbus@lists.freedesktop.org>
List-Help: <mailto:dbus-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=subscribe>
Errors-To: dbus-bounces@lists.freedesktop.org
Sender: dbus-bounces@lists.freedesktop.org
Status: RO
X-Status: ORC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:  
X-UID: 0
X-Evolution-Source: imap://dkukawka@imap.suse.de/
X-Evolution: 00000006-0010

On Wed, 2005-04-13 at 23:48 -0400, David Zeuthen wrote:
> On Wed, 2005-04-13 at 16:54 -0400, Havoc Pennington wrote:
> > Anyhow, looking good! I'm happy to have these in CVS if you want to ask
> > the fd.org admins for access.
> 
> I was told today by daniels, in another context, that the account
> addition process have slightly changed. It is described here
> 
>  http://www.freedesktop.org/wiki/AccountRequests
> 
> Cheers,
> David
> 
> 

im being told that the project maintainer should email sitewranglers,
that adding an existing member to a group is really easy.


-- 
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

From dbus-bounces@lists.freedesktop.org Thu Apr 14 05:48:55 2005
Received: from [131.252.208.82] (helo=gabe.freedesktop.org) by mx33.web.de
	with esmtp (WEB.DE 4.104 #268) id 1DLvLb-00063m-00 for
	danny.kukawka@web.de; Thu, 14 Apr 2005 05:48:55 +0200
Received: from gabe.freedesktop.org (localhost.localdomain [127.0.0.1]) by
	gabe.freedesktop.org (Postfix) with ESMTP id E737D9EBC2; Wed, 13 Apr 2005
	20:48:47 -0700 (PDT)
X-Original-To: dbus@lists.freedesktop.org
Delivered-To: dbus@lists.freedesktop.org
Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by
	gabe.freedesktop.org (Postfix) with ESMTP id 66ABB9E808 for
	<dbus@lists.freedesktop.org>; Wed, 13 Apr 2005 20:48:45 -0700 (PDT)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id
	j3E3mh06015897; Wed, 13 Apr 2005 23:48:43 -0400
Received: from mail.boston.redhat.com (mail.boston.redhat.com
	[172.16.76.12]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id
	j3E3mhO19619; Wed, 13 Apr 2005 23:48:43 -0400
Received: from vpn83-134.boston.redhat.com (vpn83-134.boston.redhat.com
	[172.16.83.134]) by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id
	j3E3mg1O005828;  Wed, 13 Apr 2005 23:48:42 -0400
From: David Zeuthen <david@fubar.dk>
To: Havoc Pennington <hp@redhat.com>
In-Reply-To: <1113425695.8485.91.camel@localhost.localdomain>
References: <1113416356.13254.15.camel@capslock.lan>
	 <1113425695.8485.91.camel@localhost.localdomain>
Content-Type: text/plain
Date: Wed, 13 Apr 2005 23:48:23 -0400
Message-Id: <1113450503.3320.1.camel@daxter.boston.redhat.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-1) 
Content-Transfer-Encoding: 7bit
Cc: dbus@lists.freedesktop.org
Subject: Re: new java binding
X-BeenThere: dbus@lists.freedesktop.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Desktop message bus technical discussion
	<dbus.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/dbus>
List-Post: <mailto:dbus@lists.freedesktop.org>
List-Help: <mailto:dbus-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=subscribe>
Errors-To: dbus-bounces@lists.freedesktop.org
Sender: dbus-bounces@lists.freedesktop.org
Status: RO
X-Status: ORC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  
X-UID: 0
X-Evolution-Source: imap://dkukawka@imap.suse.de/
X-Evolution: 00000008-0010

On Wed, 2005-04-13 at 16:54 -0400, Havoc Pennington wrote:
> Anyhow, looking good! I'm happy to have these in CVS if you want to ask
> the fd.org admins for access.

I was told today by daniels, in another context, that the account
addition process have slightly changed. It is described here

 http://www.freedesktop.org/wiki/AccountRequests

Cheers,
David


-- 
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

From dbus-bounces@lists.freedesktop.org Wed Apr 13 22:54:58 2005
Received: from [131.252.208.82] (helo=gabe.freedesktop.org) by mx22.web.de
	with esmtp (WEB.DE 4.104 #268) id 1DLot0-0002oY-00 for
	danny.kukawka@web.de; Wed, 13 Apr 2005 22:54:58 +0200
Received: from gabe.freedesktop.org (localhost.localdomain [127.0.0.1]) by
	gabe.freedesktop.org (Postfix) with ESMTP id 272C79EB8B; Wed, 13 Apr 2005
	13:54:54 -0700 (PDT)
X-Original-To: dbus@lists.freedesktop.org
Delivered-To: dbus@lists.freedesktop.org
Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by
	gabe.freedesktop.org (Postfix) with ESMTP id 6641C9E7D9 for
	<dbus@lists.freedesktop.org>; Wed, 13 Apr 2005 13:54:50 -0700 (PDT)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id
	j3DKsmRa027320; Wed, 13 Apr 2005 16:54:48 -0400
Received: from pobox.corp.redhat.com (pobox.corp.redhat.com
	[172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id
	j3DKsmO32011;  Wed, 13 Apr 2005 16:54:48 -0400
Received: from localhost.localdomain (sebastian-int.corp.redhat.com
	[172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id
	j3DKsmjs002226;  Wed, 13 Apr 2005 16:54:48 -0400
From: Havoc Pennington <hp@redhat.com>
To: Carlos Romero <kidcrash@freedesktop.org>
In-Reply-To: <1113416356.13254.15.camel@capslock.lan>
References: <1113416356.13254.15.camel@capslock.lan>
Content-Type: text/plain
Date: Wed, 13 Apr 2005 16:54:55 -0400
Message-Id: <1113425695.8485.91.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 (2.2.1.1-2) 
Content-Transfer-Encoding: 7bit
Cc: dbus@lists.freedesktop.org
Subject: Re: new java binding
X-BeenThere: dbus@lists.freedesktop.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Desktop message bus technical discussion
	<dbus.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/dbus>
List-Post: <mailto:dbus@lists.freedesktop.org>
List-Help: <mailto:dbus-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=subscribe>
Errors-To: dbus-bounces@lists.freedesktop.org
Sender: dbus-bounces@lists.freedesktop.org
Status: RO
X-Status: ORC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  
X-UID: 0
X-Evolution-Source: imap://dkukawka@imap.suse.de/
X-Evolution: 0000000a-0010

Hi,

Cool!

I think you're missing an important layer of the bindings. The
complexity and size of the libdbus API is intended to _support
bindings_, not to be exposed in bindings.

So e.g. you don't need to expose all the watch/timeout stuff, that's
just "main loop glue"; in Java the normal thing is threads rather than
main loop, so I'd just use threads. 

You don't need to expose the Message stuff, since that is intended to
map to methods and listeners.

So basically the bindings you have so far should be private to the
package. The public Java API would be something different built on top.

Or at least the normal/encouraged Java API would be a proxy objects
thing built on top.

An example is the GLib bindings. The Java API should be similar in
number of methods to dbus-glib.h. I'm not sure if the C# bindings are
done as I'm describing or not.

I think I wrote a mail on this a while back but google isn't finding it
for me. There may also be some notes in the spec.

Here's an uninformative but related thread ;-)
http://lists.freedesktop.org/pipermail/dbus/2004-August/001459.html

Some more nitpicky comments:

 - you should use "long" rather than "int" to store pointers, 
   so things don't break on 64-bit; to convert to/from the 
   long you might want to use a macro like this:
   #define JLONG_TO_PTR(v) ((void*) (unsigned long) (jlong) (v))
   #define PTR_TO_JLONG(v) ((jlong) (unsigned long) (void*) (v))
 - in e.g. the GetSessionBus JNI, if the C API returns 
   NULL you probably want to return Java null or throw 
   an exception, right now you return a Java object with 
   a null C pointer which will be useless/dangerous
 - (note that most dbus functions can return NULL on out-of-memory)
 - seems like you should be consistent about using 
   NewObject vs. AllocObject unless there's a rationale for 
   when to use which
 - in wrapping the C object you should be a little more elaborate
   about attaching the C object to the Java object. What you want
   to do is:
      - create a global "data slot" on the C object with dbus
        API
      - store the Java object in that data slot
      - whenever you get a C object from e.g. dbus_bus_get(),
        first use the *existing* Java object, if that fails
        then you would create a new one
   The point is to only have one Java wrapper per C object
 - I think you have to ReleaseStringUTFChars() even if 
   the string was not copied, because the string will 
   be pinned in memory by the garbage collector... 
   this is just my understanding from docs/examples 
   I've seen, if you have read explicit confirmation 
   otherwise then that was probably right
 - in MessageIter_recurse() you need to check that malloc() 
   doesn't return NULL (probably other cases of this too)
 - we need to figure out the automake foo; I have an example
   Makefile.am I based on java-gnome if you don't have anything 
   yet

Anyhow, looking good! I'm happy to have these in CVS if you want to ask
the fd.org admins for access.

Havoc


-- 
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

From dbus-bounces@lists.freedesktop.org Wed Apr 13 20:19:29 2005
Received: from [131.252.208.82] (helo=gabe.freedesktop.org) by mx22.web.de
	with esmtp (WEB.DE 4.104 #268) id 1DLmSX-0001Fh-00 for
	danny.kukawka@web.de; Wed, 13 Apr 2005 20:19:29 +0200
Received: from gabe.freedesktop.org (localhost.localdomain [127.0.0.1]) by
	gabe.freedesktop.org (Postfix) with ESMTP id 9463E9EEBD; Wed, 13 Apr 2005
	11:19:22 -0700 (PDT)
X-Original-To: dbus@lists.freedesktop.org
Delivered-To: dbus@lists.freedesktop.org
Received: from imf17aec.mail.bellsouth.net (imf17aec.mail.bellsouth.net
	[205.152.59.65]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B3F59E718
	for <dbus@lists.freedesktop.org>; Wed, 13 Apr 2005 11:19:20 -0700 (PDT)
Received: from adsl-11-62-249.mia.bellsouth.net ([65.11.62.249]) by
	imf17aec.mail.bellsouth.net (InterMail vM.5.01.06.11
	201-253-122-130-111-20040605) with ESMTP id
	<20050413181919.EKYR4997.imf17aec.mail.bellsouth.net@adsl-11-62-249.mia.bellsouth.net>
	for <dbus@lists.freedesktop.org>; Wed, 13 Apr 2005 14:19:19 -0400
From: Carlos Romero <kidcrash@freedesktop.org>
To: dbus@lists.freedesktop.org
Content-Type: text/plain
Date: Wed, 13 Apr 2005 14:19:15 -0400
Message-Id: <1113416356.13254.15.camel@capslock.lan>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.2 (2.0.2-3) 
Content-Transfer-Encoding: 7bit
Subject: new java binding
X-BeenThere: dbus@lists.freedesktop.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Desktop message bus technical discussion
	<dbus.lists.freedesktop.org>
List-Unsubscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=unsubscribe>
List-Archive: <http://lists.freedesktop.org/archives/dbus>
List-Post: <mailto:dbus@lists.freedesktop.org>
List-Help: <mailto:dbus-request@lists.freedesktop.org?subject=help>
List-Subscribe: <http://lists.freedesktop.org/mailman/listinfo/dbus>,
	<mailto:dbus-request@lists.freedesktop.org?subject=subscribe>
Errors-To: dbus-bounces@lists.freedesktop.org
Sender: dbus-bounces@lists.freedesktop.org
Status: RO
X-Status: ORC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  
X-UID: 0
X-Evolution-Source: imap://dkukawka@imap.suse.de/
X-Evolution: 0000000c-0010

https://bugs.freedesktop.org/show_bug.cgi?id=2915
http://freedesktop.org/~kidcrash/libdbus-java/libdbus-java.tar.gz

i have a java jni dbus binding with a working example that enumerates
hal devices.

it is replacement for the nonworking gcj binding currently included with
dbus, once in revision control i plan on being the maintainer and will
continue development.

the native code compiles with no warnings --
gcc -c org_freedesktop_dbus_*.c `pkg-config --cflags dbus-1` -
DDBUS_API_SUBJECT_TO_CHANGE=1 -Wall
gcc --shared -o libdbus.so org_freedesktop_dbus_*.o `pkg-config --libs
dbus-1`


-- 
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus

