After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350931 - move gtk_java.h to glib-java?
move gtk_java.h to glib-java?
Status: RESOLVED OBSOLETE
Product: java-gnome
Classification: Bindings
Component: Obsolete
Unmaintained
Other All
: Normal normal
: ---
Assigned To: java-gnome bindings maintainers
java-gnome bindings maintainers
Depends on: 350092
Blocks:
 
 
Reported: 2006-08-11 17:54 UTC by Stepan Kasal
Modified: 2008-02-13 02:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stepan Kasal 2006-08-11 17:54:33 UTC
I noticed that libgconf-java requires libgtk-java, though this dependency is not required for the underlying packages: indeed, manipulating gconf entries does not require any GUI.

After a quick grep through the sources, I found out that libgconf-java uses gtk_java.h, which is distributed in libgtk-java; but the content of the file looks like a glib stuff.

Would it be possible to move gtk_java.h to glib-java, renaming it to glib_java.h?
(gtk_java.h would be then probably replaced by a compatibility stub.)

And after that move, would it be possible to remove the dependency of libgconf-java on libgtk-java?
(Yes, some examples require libgtk-java, but that should not matter.)
Comment 1 Andrew Cowie 2006-08-12 11:08:48 UTC
This is more or less underway. But if there is indeed no need for libgconf-java to depend on libgtk-java, then so be it.

Remy, Sean, regarding this and also bug #350092, there's already a jg_ set of C files. Wouldn't glib_ be better for the ones in the common base library like Stepan suggests?

[GConf is, of course, a GNOME dependency; /me wonders for the future whether or not it would depend on (or be subsumed by the "gnone" binding); see thread "Re-engineering (3a): Package names"]

AfC
Comment 2 Remy Suen 2006-08-12 12:13:37 UTC
> Would it be possible to move gtk_java.h to glib-java, renaming it to
> glib_java.h?
> (gtk_java.h would be then probably replaced by a compatibility stub.)

The physical move has happened already. But some duplicated code needs to be removed and renamed per bug #350092 as Andrew pointed out above.

> And after that move, would it be possible to remove the dependency of
> libgconf-java on libgtk-java?
> (Yes, some examples require libgtk-java, but that should not matter.)

Yes, bug #347254 has been opened for that purpose.
Comment 3 Andrew Cowie 2006-10-24 03:01:52 UTC
Keeping this open to remind us that the migration of glib code to glib-java is still incomplete, but re-targetting.

{sigh}... after all this effort, wouldn't it be ironic if we decided to revert to a monolithic package structure in 4.0?

AfC
Comment 4 Andrew Cowie 2008-02-13 02:34:45 UTC
And indeed we have.

This bug now refers to an obsolete version of the library, so closing.

++

GConf work being undertake on the 'gconf' branch, http://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/gconf/

AfC