Skip to content

Remove deprecated Gconf, migrate to Dconf #2727

Closed

Description

@strelec

GConf is a legacy configuration system. Migration is part of the intiative for GNOME 3.x. Many of the application have already made the switch, except for you and very few others:

https://wiki.gnome.org/Initiatives/GnomeGoals/GSettingsMigration

That thing is deprecated for 4 years now.

Activity

  1. anaisbetts commented on Sep 7, 2015

    @anaisbetts
    Contributor

    Moving to new software on Linux platforms is basically impossible because people keep running weirdo configurations or refuse to adopt GNOME 3.0, etc etc. If Electron moved to a new library like this, I guarantee that a decent chunk of users will immediately be locked out of the app then take up pitchforks.

  2. zcbenz commented on Sep 8, 2015

    @zcbenz
    Contributor

    Lots of old and popular distributions are still using Gconf, and we need to make sure Electron works on them, so we will not do the migration until all supported distributions have migrated to Dconf, which might not happen in a few years.

    I'm closing this since we are not going to do it in near future.

  3. strelec commented on Sep 8, 2015

    @strelec
    Author

    Like, which one? All that have gconf installed, have dconf too.

    They have gconf installed, because not all apps have transitioned yet. Exactly because of the apps like yours.

  4. etiktin commented on Sep 8, 2015

    @etiktin
    Contributor

    @strelec, the link you provided suggests that Chromium still hasn't migrated to GSettings. If they use it under the content module, then it will be a part of libchromiumcontent which means we will still depend on it.

    What is the benefit of migrating? Will a Linux version from 4 years ago still be able to use Electron?

  5. strelec commented on Sep 8, 2015

    @strelec
    Author

    Chromium has, to my knowledge, migrated to Gsettings (https://code.google.com/p/chromium/issues/detail?id=169663). Gconf is legacy software, it is not going to be supported for long. The same thing is the dependency of electron on gtk2, which is also deprecated.

    As a consequence, you probably won't make it into the official fedora repositories and you will have to make change in a forseable future anyway. Moreover, it annoys people to need to have gconf installed just for one app.

  6. anaisbetts commented on Sep 8, 2015

    @anaisbetts
    Contributor

    Doing some research into this, it looks as if DConf has been supported since at least Ubuntu 12.02, we could probably consider moving over.

  7. strelec commented on Sep 8, 2015

    @strelec
    Author

    Exactly. The bug should be reopened.

  8. zcbenz commented on Sep 9, 2015

    @zcbenz
    Contributor

    I'm reopening this in case someone is interested in working on it.

  9. reopened this on Sep 9, 2015
  10. eternal-sorrow commented on May 18, 2016

    @eternal-sorrow

    As I can see, the hard dependency on gconf is only in brightray, the chromium part is already ported to dconf.

  11. zcbenz commented on May 18, 2016

    @zcbenz
    Contributor
  12. 6 remaining items

  13. nazar-pc commented on Feb 26, 2017

    @nazar-pc

    My issue with gconf2 is also that it is only required by single Electron-based app I'm using.
    Since I'm not working with Electron, can anyone quickly suggest if it is possible to somehow build an Electron-based app without gconf and without hacking with Electron's sources?
    An app I'm talking about is Cerebro

  14. gapplef commented on May 2, 2017

    @gapplef

    gconf is no longer installed by default in Ubuntu 17.04[1].
    For the softwares I'm using, only Electron-based apps still require gconf2!
    Why this problem still unfixed?

  15. mbiebl commented on Jan 1, 2018

    @mbiebl

    Related to that: https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=pkg-gnome-maintainers@lists.alioth.debian.org;tag=gconf

    A default Debian/Ubuntu installation as already mentioned no longer installs gconf by default. And from the above it looks like gconf2 might actually be removed from the Debian/Ubuntu archive in the near future.
    This would make any electron based app like signal uninstallable.

  16. ckerr commented on Jan 26, 2018

    @ckerr
    Member

    Removing `blocked' tag because the referenced Chromium issue is marked as fixed now

  17. ckerr commented on Jan 26, 2018

    @ckerr
    Member

    Upstream marked this as closed on 2017-11-24, so AFAICT we should be able to drop Electron's dependency when we upgrade to libcc 63.0.3239 or higher

  18. ckerr commented on Jan 26, 2018

    @ckerr
    Member

    https://bugs.chromium.org/p/chromium/issues/detail?id=768027 is also relevant and closed on 2017-12-28, so perhaps 64.0.3282 or higher instead...

  19. apetresc commented on Jul 30, 2018

    @apetresc
    Contributor

    Just a ping on this – libcc 64 has come and gone, you're on 66 now. The gconf dependency still appears to be there in all the packaged versions I can see (like this one). Are we any closer to dropping it?

  20. GhostlyDark commented on Jul 30, 2018

    @GhostlyDark
    Contributor

    With Electron v3.0.0 my app works without installing gconf2. I assume that it is no longer a dependency. Note that v3.0.0 is still in beta.

  21. pronebird commented on Sep 20, 2018

    @pronebird

    Can anyone confirm that Electron migrated to dconf and what dependency the one needs to install in order to run the Electron based app?

  22. oregonisaac commented on Oct 24, 2018

    @oregonisaac

    Looks like multiple projects I use are seeing user errors with Ubuntu 18.04 and finding this issue as root cause.
    decred/decrediton#1404
    balena-io/etcher#1305
    Can you confirm next release has solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions