From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 23 01:01:57 2022 Received: (at 58014) by debbugs.gnu.org; 23 Sep 2022 05:01:57 +0000 Received: from localhost ([127.0.0.1]:39031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obap2-000544-Vv for submit@debbugs.gnu.org; Fri, 23 Sep 2022 01:01:57 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:45665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obap0-00053i-IA for 58014@debbugs.gnu.org; Fri, 23 Sep 2022 01:01:55 -0400 Received: by mail-qt1-f178.google.com with SMTP id r20so7739035qtn.12 for <58014@debbugs.gnu.org>; Thu, 22 Sep 2022 22:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=IQZko2oOGrA/f8sPxCUQ3/noROWlUX5hkYy3q9mAWjw=; b=gVQKJMPHUFjXs+Idx/obq0CQp90wccYQuJUfC4gDvmsyC1KNykNr7rg9Dq5Fj0Jb2Y 9HztuEjxFtKM5W7Y/0d1rOuQhwiJoisAG306uX07XtcFkHJTE7fegbwD6lG6NVJroGZk Kenjf1rPmqb9RFFIIRrE0/mnnVuTuakh2/6p84grdfgEf9wQKASUhBPZ0prw5xEuwKE0 IA/Br0vMQ49nCbE3/Jgjb7bt1a1OeDs9iQzq5ET5ZLPWrIxIlewUksaXDtyAaJoyWsG2 8Z5L+IiAh3d9pS71atMw8MkC3WKkJ4/+P/A0j8ZFkNqiakn7opKIlcPoeJbNIlXZMqqi ehpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=IQZko2oOGrA/f8sPxCUQ3/noROWlUX5hkYy3q9mAWjw=; b=EFQwBRBSR5H65oVstct4lDANv/L/Z0jjKzZ69v/JOvkg8ydG1SE76xJrj+cIOKAFwL /pE2+DdEO8cWuv9ad0/obnUeyQIubrYMq4n4/LNK2obhdILOYX8A6OxzwGw+jthHBhjf NV7dBO74FhSR4jbYKtDhnQ/ub6KHiHuqE7kw5zx1u6F3BY68lcieF+v11MIXVHircMcs Cb6QA3z8iurEJyjQQCmE70dxRVPs5ULY0CAwYjEvdYzIn+OtOMUEQECivbxITU0Lq7dF iFB86BOhEZpxacDs4ECvDbKoPqteXjCnjyYXE4OaIQLCZpF5vGx8p7A8kqaoZV+I28tb GAag== X-Gm-Message-State: ACrzQf1PQBAQm23kYdOP8TvN/HUBIz+15CTXOQGZeBuFfyc9+z1SZNPi V/64jkReOMajhMjXjpq1Bs7GkccTr0A= X-Google-Smtp-Source: AMsMyM43uQhY4Mdop4PcXrSkPD5/jrFufatx6DbCUo2Iu1bplI4s96ibZQzPCgW0el1vVbcX0P/m2A== X-Received: by 2002:a05:622a:110b:b0:35c:d403:6d95 with SMTP id e11-20020a05622a110b00b0035cd4036d95mr5980034qty.495.1663909308983; Thu, 22 Sep 2022 22:01:48 -0700 (PDT) Received: from localhost.localdomain ([2607:fad8:4:3::1001]) by smtp.gmail.com with ESMTPSA id de4-20020a05620a370400b006bbb07ebd83sm5263534qkb.108.2022.09.22.22.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 22:01:48 -0700 (PDT) From: Maxim Cournoyer To: 58014@debbugs.gnu.org Subject: [PATCH 12/15] gnu: dconf: Set sysconfdir to /etc. Date: Fri, 23 Sep 2022 01:00:39 -0400 Message-Id: <20220923050042.29893-12-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923050042.29893-1-maxim.cournoyer@gmail.com> References: <20220923050042.29893-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58014 Cc: Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/gnome.scm (dconf) [arguments]: Use gexps. [configure-flags]: Add --sysconfdir=/etc. [native-inputs]: Remove labels. --- gnu/packages/gnome.scm | 54 +++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index facc8515f5..24d869f496 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4719,33 +4719,39 @@ (define-public dconf (base32 "0cs5nayg080y8pb9b7qccm1ni8wkicdmqp1jsgc22110r6j24zyg")))) (build-system meson-build-system) + (arguments + (list + #:glib-or-gtk? #t + ;; Configure sysconfdir to /etc so that gconf profiles can be written + ;; there and loaded without having to set GCONF_PROFILE, which cannot be + ;; safely set globally (as a gconf profile is a per-user thing). + #:configure-flags #~(list "--sysconfdir=/etc" + "-Dgtk_doc=true") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'increase-test-timeout + (lambda _ + ;; On big-memory systems, the engine test may take + ;; much longer than the default of 30 seconds. + (substitute* "tests/meson.build" + (("test\\(unit_test\\[0\\], exe" all) + (string-append all ", timeout: 300")))))))) + (native-inputs + (list bash-completion + libxslt ;for xsltproc + libxml2 ;for XML_CATALOG_FILES + docbook-xml-4.2 + docbook-xsl + `(,glib "bin") + gtk-doc/stable + pkg-config + python + vala)) + (inputs + (list gtk+ + dbus)) (propagated-inputs ;; In Requires of dconf.pc. (list glib)) - (inputs - (list gtk+ dbus)) - (native-inputs - `(("bash-completion" ,bash-completion) - ("libxslt" ,libxslt) ;for xsltproc - ("libxml2" ,libxml2) ;for XML_CATALOG_FILES - ("docbook-xml" ,docbook-xml-4.2) - ("docbook-xsl" ,docbook-xsl) - ("glib:bin" ,glib "bin") - ("gtk-doc" ,gtk-doc/stable) - ("pkg-config" ,pkg-config) - ("python" ,python) - ("vala" ,vala))) - (arguments - `(#:glib-or-gtk? #t - #:configure-flags '("-Dgtk_doc=true") - #:phases (modify-phases %standard-phases - (add-after 'unpack 'increase-test-timeout - (lambda _ - ;; On big-memory systems, the engine test may take - ;; much longer than the default of 30 seconds. - (substitute* "tests/meson.build" - (("test\\(unit_test\\[0\\], exe" all) - (string-append all ", timeout: 300")))))))) (home-page "https://developer.gnome.org/dconf/") (synopsis "Low-level GNOME configuration system") (description "Dconf is a low-level configuration system. Its main purpose -- 2.37.3