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 684895 - don't bundle applications
don't bundle applications
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-26 16:51 UTC by William Jon McCann
Modified: 2012-09-28 00:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2012-09-26 16:51:00 UTC
libgda is a library / framework. It shouldn't install application launchers as a side-effect.

Distrubutions split libgda into separate packages, which fixes this issue for their users, but that doesn't work for those of us running jhbuild or ostree, and it is desirable for those to reflect the end user experience that we are aiming for.

I currently see:
gda-control-center-5.0.desktop
gda-browser-5.0.desktop
Comment 1 malerba 2012-09-26 17:16:28 UTC
Would it be Ok for you if I added a compile time option to avoid building and installing any application (gda-sql, control center, browser, ...)?
Comment 2 William Jon McCann 2012-09-26 17:38:59 UTC
If the option sets them to only install if they are explicitly asked for and they are never needed to be installed separately from the library than that is fine I think.
Comment 3 malerba 2012-09-26 18:51:24 UTC
I was thinking the other way around since I don't want to break the building scripts and environments everyone has built for Libgda and the tools. Doing what you suggest would definitely break things. 

I propose for example the --disable-tools option to avoid altogether build and install tools.
Comment 4 William Jon McCann 2012-09-26 18:57:11 UTC
I think that isn't as good but better than what we have now. We should ensure that jhbuild sets that option.
Comment 5 malerba 2012-09-27 20:22:50 UTC
Can you check that what's been done in commit http://git.gnome.org/browse/libgda/commit/?id=c14e34b54a26bc17a02226f6fa674c7e5e4b7dca works the way you want?
Comment 6 William Jon McCann 2012-09-28 00:39:45 UTC
Yes that looks good enough. I've added that to jhbuild now too. Thank you!

commit fc9e1dce75da18fa4f8e99ba5257e4f40c609288
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 27 19:12:51 2012 -0400

    3.8: Don't build libgda tools since we build it as a dep
    
    See https://bugzilla.gnome.org/show_bug.cgi?id=684895