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 307704 - patch for configure.in
patch for configure.in
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.2.x
Other Linux
: Normal enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-06-15 00:43 UTC by John N. Laliberte
Modified: 2008-01-15 12:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure patch (2.37 KB, patch)
2005-06-15 00:44 UTC, John N. Laliberte
rejected Details | Review
enable svg support by default (2.37 KB, patch)
2005-06-15 10:50 UTC, Marinus Schraal
rejected Details | Review
updated patch as requested (2.46 KB, patch)
2005-06-15 19:35 UTC, Marinus Schraal
rejected Details | Review
aimed to please configure.in needs (2.37 KB, patch)
2005-06-15 19:52 UTC, Marinus Schraal
needs-work Details | Review
gimp-2.2.8-configure-fix.patch (2.36 KB, patch)
2005-07-05 22:45 UTC, John N. Laliberte
committed Details | Review
gimp-2.2.8-INSTALL.patch (924 bytes, patch)
2005-07-05 22:46 UTC, John N. Laliberte
committed Details | Review

Description John N. Laliberte 2005-06-15 00:43:19 UTC
Distribution/Version: Gentoo

here is a patch that incorporates some user requests for switches.  please
change them as needed if you think they should be changed.

Thanks!
Comment 1 John N. Laliberte 2005-06-15 00:44:19 UTC
Created attachment 47782 [details] [review]
configure patch
Comment 2 Michael Schumacher 2005-06-15 07:59:35 UTC
Have any precautions been taken to ensure that Gentoo users won't complain in
the GIMP mailing lists, irc channel and bugzilla about missing features that are
caused by this change?
Comment 3 Sven Neumann 2005-06-15 09:52:40 UTC
This patch disables important features by default which is not an option. If the
patch was changed so that the options are enabled by default and that one needs
to specify --without-svg to explicitely disable it (why would someone want to do
that?), then it might be accepted. I will close this report as WONTFIX. If you
want to provide a new patch that incorporates my suggestions, feel free to
reopen it.
Comment 4 Marinus Schraal 2005-06-15 10:44:13 UTC
What features are considered important enough to be on by default (and imply
dependencies) ? I guess from comment #3 that would be svg only ? A trivial
change to the patch would take care of that.
Comment 5 Marinus Schraal 2005-06-15 10:50:50 UTC
Created attachment 47797 [details] [review]
enable svg support by default
Comment 6 Michael Schumacher 2005-06-15 11:06:23 UTC
gtkhtml2 is required for the help browser - the preferred way of viewing the
help files

lcms is required for color management, a feature many users ask for

You're not doing the users a favor if you disable these by default.
Comment 7 Marinus Schraal 2005-06-15 11:42:10 UTC
We know what it is for. gtkhtml as a 'default on' dependency for just the help
browser seems overdone, because pretty much any desktop system has a
full-fledged browser these days. LCMS I don't know what is preferred by the gimp
team (thats why i asked).

The point is that we leave it to the user to decide what features they like and
do not decide for them, for our package management it is bad to rely on
autodetection of features (like happens now in the config) so we'd like to see
that resolved and have no particular preferences for what should be default
behaviour in this patch.
Comment 8 Manish Singh 2005-06-15 18:10:10 UTC
Gentoo folks are in no position to validly decide what defaults should be, given
the frequency of people posting to the mailing list or coming on IRC saying
"GIMP doesn't support TIFF" because the default USE flags don't pull it in.

The only patch that will be accepted is to have all of these enabled by default.
Comment 9 Marinus Schraal 2005-06-15 19:35:01 UTC
Created attachment 47825 [details] [review]
updated patch as requested

All enabled by default now as requested in comment #9.

Note that this request now will force lcms on by default for 'pure' tarball
users and error out if it doesn't exist, as requested.
Comment 10 Manish Singh 2005-06-15 19:43:30 UTC
Wow, why is this so hard? The requirement is to simply maintain the current
behavior that happens when people who run ./configure.

Nowhere was there a request to error out on not finding lcms.
Comment 11 Marinus Schraal 2005-06-15 19:52:50 UTC
Created attachment 47826 [details] [review]
aimed to please configure.in needs

Well, I just try to come up with a patch that suits the requests. It gets hard
when comments really are contradicting themselves (#8 & #10)
Comment 12 Manish Singh 2005-06-15 20:55:36 UTC
Sigh. There's no contradiction between #8 and #10. #8 didn't say anything about
erroring out on not finding things, #8 is exactly what the current configure
behavior does. There's nothing hard about this, you're inventing stuff to make
it hard on your own.
Comment 13 Sven Neumann 2005-06-17 18:58:13 UTC
The request I made in comment #3 was too use the --without configure flags here
as we do for other plug-in dependencies such as mng. The patch would also have
to touch the file INSTALL and document the new options.
Comment 14 Raphaël Quinet 2005-06-20 15:37:54 UTC
Let's reopen this for the moment and hope that the reporter will come up with a
nice patch that includes configure.in and INSTALL.
Comment 15 Sven Neumann 2005-07-05 17:07:37 UTC
I would have happily accepted a proper patch that follows the style of the
existing configure options and doesn't change the defaults. But it doesn't look
as if the bug reporter is going to provide one, so I don't see much point in
keeping this bug report around.
Comment 16 John N. Laliberte 2005-07-05 22:45:41 UTC
Created attachment 48692 [details] [review]
gimp-2.2.8-configure-fix.patch

Sven, sorry this took so long.

Hopefully what you were requesting in comment #3 has been included / met.

Thanks!
Comment 17 John N. Laliberte 2005-07-05 22:46:23 UTC
Created attachment 48694 [details] [review]
gimp-2.2.8-INSTALL.patch

patch against INSTALL
Comment 18 Manish Singh 2005-07-06 00:49:26 UTC
Committed, with naming and wording slightly tweaked, a whitespace fixed up.

2005-07-05  Manish Singh  <yosh@gimp.org>

        * INSTALL
        * configure.in: Allow gtkhtml2, svg, and lcms features to be disabled
        explicitly at configure time. Based on patch from John N. Laliberte,
        fixes bug #307704.