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 638322 - [PATCH] use libtool for portability
[PATCH] use libtool for portability
Status: RESOLVED WONTFIX
Product: dconf
Classification: Core
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2010-12-30 03:40 UTC by Yaakov Selkowitz
Modified: 2010-12-31 05:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libtool patch (4.76 KB, patch)
2010-12-30 03:40 UTC, Yaakov Selkowitz
rejected Details | Review

Description Yaakov Selkowitz 2010-12-30 03:40:36 UTC
Created attachment 177235 [details] [review]
libtool patch

Using libtool is essential for portability to non-Linux systems.  Patch for git master attached.
Comment 1 Allison Karlitskaya (desrt) 2010-12-30 17:15:51 UTC
I'm not interested in using libtool.

If you'd like to help me get dconf working on cygwin, please tell me what I have to do (other than use libtool).
Comment 2 Allison Karlitskaya (desrt) 2010-12-30 17:21:29 UTC
I just remembered that I'm not interested in making dconf work on Windows at all, sorry.  It does many things that simply will not work on Windows.   There is a GSettings backend for the Windows registry for this reason.
Comment 3 Yaakov Selkowitz 2010-12-30 18:32:58 UTC
1) this patch is necessary not only for Cygwin, but for most other non-Linux platforms (e.g. Darwin and most Unices, particularly HP-UX).  Using libtool is the only way to support all those platforms with autotools.

2) Cygwin != Windows.  Cygwin is a fully capable *NIX/X11 platform in its own right, and therefore dconf already works on Cygwin (I'm shipping 0.5.1 as part of GNOME 2.32).
Comment 4 Allison Karlitskaya (desrt) 2010-12-31 04:44:50 UTC
dconf will not work with the Windows kernel.  Cygwin is not capable of supporting even a very simple _essential_ requirement of dconf: the ability to rename over a file that is opened by another process.

I understand that it may be desirable to run dconf on (real) non-ELF UNIX systems.   I welcome patches for those, and I actually hope to see them.  I do not agree with your assertion that libtool is "the only way".

Please do not reopen this bug again.
Comment 5 Yaakov Selkowitz 2010-12-31 05:19:03 UTC
(In reply to comment #4)
> dconf will not work with the Windows kernel.  Cygwin is not capable of
> supporting even a very simple _essential_ requirement of dconf: the ability to
> rename over a file that is opened by another process.

This is no longer the case; since Cygwin 1.7, in-use files can be removed or replaced.

> I understand that it may be desirable to run dconf on (real) non-ELF UNIX
> systems.   I welcome patches for those, and I actually hope to see them.  I do
> not agree with your assertion that libtool is "the only way".

It is, so long as you are using autotools.