From unknown Tue Jun 17 01:43:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39306] [PATCH] gnu: Add xsettingsd. Resent-From: David Wilson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Jan 2020 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39306@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158013029532694 (code B ref -1); Mon, 27 Jan 2020 13:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2020 13:04:55 +0000 Received: from localhost ([127.0.0.1]:57890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iw44Q-0008VC-HX for submit@debbugs.gnu.org; Mon, 27 Jan 2020 08:04:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:55533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iw44N-0008V0-70 for submit@debbugs.gnu.org; Mon, 27 Jan 2020 08:04:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45226) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw44L-0005qC-PB for guix-patches@gnu.org; Mon, 27 Jan 2020 08:04:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw44K-0008L1-Fr for guix-patches@gnu.org; Mon, 27 Jan 2020 08:04:45 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:37441) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iw44K-0008KJ-3m for guix-patches@gnu.org; Mon, 27 Jan 2020 08:04:44 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id C55BB497 for ; Mon, 27 Jan 2020 08:04:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 27 Jan 2020 08:04:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=SSVzet6IKpq5XWy+jVfrhjaRalC1lpBjEvtT5PXEEk0=; b=giadktju FwBtoub+D1JBRl57xr7xjz77D5v5Ge0gUVaMWqJr7FAxcwgmOf2M4HLDeAcq/hUJ uuygs1vMshqD3n/Jee9rQH5T44vD6I0gtAVvKe8R5ATWPktDN66gB19q2XiPywaL 9CvVadHxr6lNLH6m96uhKrtjBJkKyAEpr1MP/a9zTdxilA5v3GFZZr6rh7l7wXZG NPFw741JFYAjRjwlauscc3a4MnXf6UoOUCETrfugPh0fx08Oi9+QlFYNqVCG85j6 vNjRZD3R3GwOUcZ6+EH73+hyqwIpwjJtW/0kFaF2kP2U5gCepX774T66qefNZx3S 4zBhOLwjTskyqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=SSVzet6IKpq5XWy+jVfrhjaRalC1l pBjEvtT5PXEEk0=; b=mV6uYgbGpmNuW2sqtuJsc4woqugtGW5YFdvgn3YFgT3f+ /px/xMURhg0LOuTpp8CdWiuXDSJEuXglzWE5l9Ddc/UzyBYNorXFJkqQh2na9uPU jlkRRYzfifPGCh7tPawgyBx7CrckbbL2j6u9dKr8b6NsmU0PxdF7qbRn9V5jgDPt dwEOGxfIAJLQt5HNFGMhm0sOwkk0q8u8SSTN/e9HcwVCQ59XbCbVfi7sQn+kXYX7 xYB8fSDzU+TL0pQb8f4lTUIW0vudePMIwoqbFJJr/RiqURZM6fX1dLmQiIP7vMRV 9QUFMhd3DUVIHxb7Zp5x8HpN49hwxEtSlaWTxDdGQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfedvgdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfgfhvffufffkgggtsehgtderredtre ejnecuhfhrohhmpeffrghvihguucghihhlshhonhcuoegurghvihgusegurghvihifihhl rdgtohhmqeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeeijedrudejud drhedurddvvddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepuggrvhhiugesuggrvhhifihilhdrtghomh X-ME-Proxy: Received: from zerocool (c-67-171-51-221.hsd1.wa.comcast.net [67.171.51.221]) by mail.messagingengine.com (Postfix) with ESMTPA id D23BE3280059 for ; Mon, 27 Jan 2020 08:04:41 -0500 (EST) User-agent: mu4e 1.2.0; emacs 26.3 From: David Wilson Date: Mon, 27 Jan 2020 05:04:40 -0800 Message-ID: <87r1zlvymv.fsf@daviwil.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 X-Spam-Score: -0.0 (/) 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: -0.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable * gnu/packages/wm.scm (xsettingsd): New variable. =2D-- gnu/packages/wm.scm | 63 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 52d7042806..4fb18e9f67 100644 =2D-- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -31,6 +31,7 @@ ;;; Copyright =C2=A9 2019 Brett Gilio ;;; Copyright =C2=A9 2019 Noodles! ;;; Copyright =C2=A9 2019 Alexandru-Sergiu Marton +;;; Copyright =C2=A9 2020 David Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -59,6 +60,7 @@ #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system scons) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages autotools) @@ -94,6 +96,7 @@ #:use-module (gnu packages pretty-print) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages serialization) #:use-module (gnu packages suckless) #:use-module (gnu packages texinfo) @@ -1670,3 +1673,63 @@ bar entirely based on XCB. Provides full UTF-8 supp= ort, basic formatting, RandR and Xinerama support and EWMH compliance without wasting your precious memory.") (license license:x11)))) + +(define-public xsettingsd + (package + (name "xsettingsd") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/derat/xsettingsd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v")))) + (build-system scons-build-system) + (inputs + `(("libx11" ,libx11))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (arguments + `(#:scons ,scons-python2 + #:scons-flags + (list "CC=3Dgcc" + (string-append "PREFIX=3D" %output)) + #:tests? #f ;; Tests require Google's gtest framework + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-sconstruct + (lambda _ + ;; scons doesn't pick up environment variables automatically + ;; so it needs some help to find path variables. + (substitute* "SConstruct" + (("env =3D Environment\\(") + "env =3D Environment( + ENV =3D { + 'PATH': os.environ['PATH'], + 'CPATH': os.environ['CPATH'], + 'LIBRARY_PATH': os.environ['LIBRARY_PATH'], + 'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH'] + },")) + #t)) + ;; The install task uses gtest to install the binaries. + ;; Since we don't have gtest, install binaries manually. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (install-file "xsettingsd" bin) + (install-file "dump_xsettings" bin) + #t)))))) + (home-page "https://github.com/derat/xsettingsd") + (synopsis "Minimal Xorg settings daemon") + (description "xsettingsd is a lightweight daemon that provides setting= s to +Xorg applications via the XSETTINGS specification. It is used for defining +font and theme settings when a complete desktop environment (GNOME, KDE) is +not running. With a simple .xsettingsd configuration file one can avoid +configuring visual settings in different UI toolkits separately.") + (license license:bsd-3))) =2D- 2.24.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEU8QebkGq/lUzWspeRGou1NlAvxQFAl4u3+gACgkQRGou1NlA vxSKxg//S9IZY8nVNQ/ThxKeddC3NlB8e2WkRzv7B27tW1G+IbVhABR49GMXZ+nZ /bcc87X769daoBGbAdpOJxzXe1z9IjLMs/NzQRWAJp54R+Ba6G1qWoV55DlslQpI jHmyyVEXY6UYzhNehDKyY3783FOmQQAvFZHxMhlOVH0zW0zXlJBBAMC30OriBvqM IylVNIB1Oa36NZso6uHN05NAu8xOjcKPy/CBlpDkjzLX6q1oG80pdLA568SWb+9h 47JXAU7UoZQGD/Dhiey+IQeKaiNh/heyNHsKMWRGuYP349y+ALHX3fjXxh1Fkink 55NGwvNnsC6j5IVwg/MqHpW8qIMRGjVYFMGvUA6+rxkL5wNt6bn3V6KPrG7onXWN QBWIEja0qpFg4OrEuWbqiFDANLxbzCXvmirKGCFW+0mxAedu8j8mUEWk/OjHT8ik 7lXGOPE+qM4HZfoCwhFUBF6t10FMrxjZtAhbv8G8/jkMjw9bO37LrRZIeQN1Tc9c rO9IrCQCOYmp2SBZq/F6fooHraapmjH12jOsJxaMvlAGZVoCbXwfyAerZ1ZbXHHr LyOsUxQeVWzkZr7gH6PgDEvkvHI2LuP8bxnB9mZy0vfJoET51pl38+DVdYFysiLP 4zGizfqCvWFijKpY2Try/7xTkxtJWarkMrcjQPx39/oybf5M8+w= =WmEV -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39306] [PATCH] gnu: Add xsettingsd. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jan 2020 12:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: David Wilson , 39306@debbugs.gnu.org Received: via spool by 39306-submit@debbugs.gnu.org id=B39306.15803865102028 (code B ref 39306); Thu, 30 Jan 2020 12:16:01 +0000 Received: (at 39306) by debbugs.gnu.org; 30 Jan 2020 12:15:10 +0000 Received: from localhost ([127.0.0.1]:35018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ix8j0-0000We-Bl for submit@debbugs.gnu.org; Thu, 30 Jan 2020 07:15:10 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:32829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ix8iz-0000WO-Ha for 39306@debbugs.gnu.org; Thu, 30 Jan 2020 07:15:09 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B5C1738A; Thu, 30 Jan 2020 07:15:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 30 Jan 2020 07:15:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=9ttK7/ik8HFPIuroPzJt8z/a/M Vxzel31J+5vio5zdo=; b=tVakG1ZoBmzjatl9po71bj3vE3aGQgtCDd6PgwTmKD HyfOkVJF/c2JGMJ8uSo0MU03xytkr7FLBxmE84h/thTul+0ANeK4nMGHT15bx9vw w49o8hhUcILYEfOcPROcPolQ+LKZHerv7EXEGbErHZ0dBZDIq4U7rWfXhHxuXXQB u11NoOq83CZsj1iCt/j/+T6UKSTD7WtQZHE+0hdbOYRZncmSBHjsIcd9isd4YAx3 m1hgrpt02oB/No4DUFcXYlAyCMC/5Vh1oOMU/wqWUWuoDV2otYAF2PfvINUAdPp3 byYnAxDuvl2V755/nPly33t998slpqCMv7ky2dxa95WA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9ttK7/ ik8HFPIuroPzJt8z/a/MVxzel31J+5vio5zdo=; b=Nn7NUlG0ImpzAdksLA2i42 qyC9etxZf8eYQG6GrfC08Mw1kgmxI21/mUnHAjv/gNqXdKBx2b1EfH0wSTYUWXED vFG/oLocWuHYYLLS3oNZnw6QOQeCmSNkMpo6L1CAjxhfri/pDmstLa4ZrCPWEw5h SeuMQefa95UWLzwwzHswLmTGmpROtwwKyEEJDtbHPzFevt8vPyruaLQtPPueS54R GvObo4TClucWlvpnHyKEP/AOxb4k4Gb+9MK5hQMxAjOBKvfRXEESXuZv4pdpTN2r JNWvGPTa8HsxMrM+zbDgCxJVEvOn5o7UzDcZT8h52GdM7EjzRVaiIxTYJqKpKKTw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdefkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeekge drvddtvddrieelrddvheefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: from localhost (ti0006q161-3035.bb.online.no [84.202.69.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 152C73060A88; Thu, 30 Jan 2020 07:15:01 -0500 (EST) From: Marius Bakke In-Reply-To: <87r1zlvymv.fsf@daviwil.com> References: <87r1zlvymv.fsf@daviwil.com> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 30 Jan 2020 13:14:59 +0100 Message-ID: <87zhe5nnss.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain David Wilson writes: > * gnu/packages/wm.scm (xsettingsd): New variable. I wonder if xdisorg.scm is better suited for this package, as it seems mostly unrelated to window management. WDYT? [...] > + #:tests? #f ;; Tests require Google's gtest framework gtest is provided by the 'googletest' package. Can you try adding it? Also, for margin comments, we only use one ';', without capitalizing the comment. Other than that LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4yyMQACgkQoqBt8qM6 VPqqbQf/aMc0SzTQq6bK61b9Sk1Y9C3e1r3kHHceZOcsciK0G5QorOCg7JkVi/si WV+rOCxm8fB8/dvFd2lyQmWvy5dBvUIJXjYE6jwzgUtIReQpBHn8h+UGJvbN0suu 2ois6mL1EFnV6fmnUEmgN6bmV4O7MwztNcCJhUYE8L9+oIfMhlKDdMCj8XDVCz8c TYk0AOYaEw1pb8ge3MAhZsqNYNVoNrf3BEfSWqog3tNMcsXDIUuPjnpw/5/d1O/E B3hCMnpMXXJc0dsGhDMvVhvh/PA6UC7XPJ9EfTjCJoyPamy59LOomijnCSPGbKJ8 XiCVjnSmUiIKISMVRwB0yitQVNR1kg== =d4bw -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39306] [PATCH] gnu: Add xsettingsd. Resent-From: David Wilson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jan 2020 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 39306@debbugs.gnu.org Received: via spool by 39306-submit@debbugs.gnu.org id=B39306.158039403121100 (code B ref 39306); Thu, 30 Jan 2020 14:21:02 +0000 Received: (at 39306) by debbugs.gnu.org; 30 Jan 2020 14:20:31 +0000 Received: from localhost ([127.0.0.1]:35104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixAgD-0005UB-2n for submit@debbugs.gnu.org; Thu, 30 Jan 2020 09:20:31 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:35667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixAgA-0005Tt-C6 for 39306@debbugs.gnu.org; Thu, 30 Jan 2020 09:20:23 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 70EA9469; Thu, 30 Jan 2020 09:20:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 30 Jan 2020 09:20:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=FB678h+vlk1Bxd1nxnS4tbDp2A 7oQYIq1BpBi2NkosQ=; b=JqCO/2IqgVPlDp0kCoWHW4UNmn53uzIzKMZ9jPf8A/ loRS0Ih6495Ha0MMb7/ko9nrjSjH/R10bQX3nI3CmfkVjJ4eBtfb0TFSoesvZjAt 5r1s4bDE/1hoxI7RjF7ngaJQhGbZqZPBuEpOsLrtfbVqvVh4Nh9CugGbyCpcX+hr QulOb2G0m0Ws7CTmtFnn7GNtojPsulhYFNGEwctiQgN0a0zgqD6VzjtafhoJxdfr rhCsK0GZyJZKmiukh/R2oNiMLrC5LF2lC9rtpaQNUn5AHw9Ch82Dq0oZPnqYfJ2D V/u8jbblaZ4umvTGe+vyCzg/I2G71+DFS6oh5a8hhCcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=FB678h +vlk1Bxd1nxnS4tbDp2A7oQYIq1BpBi2NkosQ=; b=V/V7bDbs+ag5F1AA/GjPKz NiHeBwEC/dwH1/z8IcTtiRfSSpGsOqx+iapqZKR6hQ7xogjx2bEQp+dR7v34Z3oE vWL1OQAduhWdEC7P1294aBp1AyOSUNoku4NoEp8HHlTzlz46RqehEq1nqzs2lFak 2nZ7Gof6KRPnNDBrOcUG+w5R0qn97fecBd625ZVeBkBfZPS9l8/IazI0AXTKCLKk Q2e+QOb3IjhWFTnw2vYQi5GiA1TQVJNy5uoj5Q+aGfXsEf/4bBB96LslC5k5EdKY v9OhbOq6QajChf95JghFpiaSIDiT6gfiGfTUEWb3fWnIQYf+Z/Or1I7pQzS4yuXA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffujgffkfggtgesmhdtreertdertdenucfhrhhomhepffgrvhhiugcu hghilhhsohhnuceouggrvhhiugesuggrvhhifihilhdrtghomheqnecukfhppeeijedrud ejuddrhedurddvvddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepuggrvhhiugesuggrvhhifihilhdrtghomh X-ME-Proxy: Received: from zerocool (c-67-171-51-221.hsd1.wa.comcast.net [67.171.51.221]) by mail.messagingengine.com (Postfix) with ESMTPA id 7CFC63060B27; Thu, 30 Jan 2020 09:20:13 -0500 (EST) References: <87r1zlvymv.fsf@daviwil.com> <87zhe5nnss.fsf@devup.no> User-agent: mu4e 1.2.0; emacs 26.3 From: David Wilson In-reply-to: <87zhe5nnss.fsf@devup.no> Date: Thu, 30 Jan 2020 06:20:08 -0800 Message-ID: <87lfpp6n6v.fsf@daviwil.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi Marius! Marius Bakke writes: > I wonder if xdisorg.scm is better suited for this package, as it seems > mostly unrelated to window management. WDYT? Agreed, that's a more appropriate place. > gtest is provided by the 'googletest' package. Can you try adding it? Thanks! I didn't think to check with that name, I've got tests enabled using that now. > Also, for margin comments, we only use one ';', without capitalizing the > comment. Margin comment no longer needed, but I'll keep this in mind for future commits. I've attached an updated patch file with the suggested changes. The only thing I'm unsure about is disabling a particular warning-as-error that showed up in the gtest.h header: ---- SNIP ---- /gnu/store/bxapb1f1l8frjpbjckk3zdxhmcig3xzk-googletest-1.10.0/include/gtest/gtest.h:1527:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (lhs == rhs) { ~~~~^~~~~~ cc1plus: all warnings being treated as errors ---- SNIP ---- Since this is a warning in gtest's own header file rather than the package source, would it be OK to disable errors for it? Thanks! David --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEU8QebkGq/lUzWspeRGou1NlAvxQFAl4y5hgACgkQRGou1NlA vxR+QxAAqPJ4lOspTjVxhCLDB8SHuKDlSnxDbF6hF8Imr5zew+IcjFHrrFVlmqTL mXsCFG7+E9vPjrmMMSpgjXxIAoB25/dKGxmNvoneD8euOMHZckTKXlcdSZq50voe s+i5X3xoSb01g5PTuzbewXIpoR+H4rdpEawk3NTZ3pbY9WI3xNTBOpyXSsEcdkls EOWNApMCw4yxy+wq6eBIUVZglNKzHqL+fTPCjpwNOkfcehUNBtZY9qgmlEigoaUb Pjl8e9hIv55NrFiASeQPclTRJ64pTlfZZDuoELuPIG8SyLLx9C0ar+XKqrBp2EEi ABXQ8K6MEw3vwfIM6tMIvLbyYMTyP3DtYbYwkmaj6VeSTIS19A0IhEC3qAVJQKy8 jC602YfETyDHFXFbbmeqJBcW9YL4hRFaY+PdmnVoPp6WLEGCKEapsYymTaOMbvyA cX2cX6InFmQOsdNLusP17MKkd+MtBDBvnSLilbPQuZfEZgU69wVsz/MVDcygABqq kwJe8pF1yzpeNOiFIKbfUDn9civSknq2fA9htTS77tuQAgAjhlvOprRk9xMcMDk0 9xTzzHzv+hHC7uKcQoDFsf1tJmLpD9Fb9bs023fUW5IJKc76KLZqOqxOkNd7jJKB zAXtklfez4zPZlHmrQtTeJTeIP0fx4ceiNTpso1Iafa3gEE8lR4= =+rVG -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-xsettingsd.patch Content-Transfer-Encoding: quoted-printable Content-Description: Updated patch file >From b5ca2c0377d677c0e3b9e288a8229d54ccd89125 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 26 Jan 2020 05:55:47 -0800 Subject: [PATCH] gnu: Add xsettingsd. * gnu/packages/xdisorg.scm (xsettingsd): New variable. --- gnu/packages/xdisorg.scm | 68 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ecefab1dbb..501ef53d3e 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -30,6 +30,7 @@ ;;; Copyright =C2=A9 2019 Josh Holland ;;; Copyright =C2=A9 2019 Tanguy Le Carrour ;;; Copyright =C2=A9 2020 Guillaume Le Vaillant +;;; Copyright =C2=A9 2020 David Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system scons) #:use-module (gnu packages) #:use-module (gnu packages documentation) #:use-module (gnu packages admin) @@ -2005,3 +2007,69 @@ The cutbuffer and clipboard selection are always syn= chronized.") can optionally use some appearance settings from XSettings, tint2 and GTK.= ") (home-page "https://jgmenu.github.io/") (license license:gpl2))) + +(define-public xsettingsd + (package + (name "xsettingsd") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/derat/xsettingsd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v")))) + (build-system scons-build-system) + (inputs + `(("libx11" ,libx11))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("googletest" ,googletest) + ("googletest-source" ,(package-source googletest)))) + (arguments + `(#:scons ,scons-python2 + #:scons-flags + (list "CC=3Dgcc") + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-sconstruct + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "SConstruct" + ;; scons doesn't pick up environment variables automatically + ;; so it needs help to find path variables + (("env =3D Environment\\(") + "env =3D Environment( + ENV =3D { + 'PATH': os.environ['PATH'], + 'CPATH': os.environ['CPATH'], + 'LIBRARY_PATH': os.environ['LIBRARY_PATH'], + 'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH'] + },") + ;; Update path to gtest source files used in tests + (("/usr/src/gtest") (string-append + (assoc-ref inputs "googletest-source") + "/googletest")) + ;; Exclude one warning that causes a build error + (("-Werror") "-Werror -Wno-error=3Dsign-compare")) + #t)) + ;; The SConstruct script doesn't configure installation so + ;; binaries must be copied to the output path directly + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (install-file "xsettingsd" bin) + (install-file "dump_xsettings" bin) + #t)))))) + (home-page "https://github.com/derat/xsettingsd") + (synopsis "Minimal Xorg settings daemon") + (description "xsettingsd is a lightweight daemon that provides setting= s to +Xorg applications via the XSETTINGS specification. It is used for defining +font and theme settings when a complete desktop environment (GNOME, KDE) is +not running. With a simple .xsettingsd configuration file one can avoid +configuring visual settings in different UI toolkits separately.") + (license license:bsd-3))) --=20 2.24.1 --=-=-=-- From unknown Tue Jun 17 01:43:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39306] [PATCH] gnu: Add xsettingsd. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jan 2020 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: David Wilson Cc: 39306@debbugs.gnu.org Received: via spool by 39306-submit@debbugs.gnu.org id=B39306.158039559923528 (code B ref 39306); Thu, 30 Jan 2020 14:47:02 +0000 Received: (at 39306) by debbugs.gnu.org; 30 Jan 2020 14:46:39 +0000 Received: from localhost ([127.0.0.1]:35146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixB5b-00067Q-1q for submit@debbugs.gnu.org; Thu, 30 Jan 2020 09:46:39 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:35319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixB5Z-00067C-7R for 39306@debbugs.gnu.org; Thu, 30 Jan 2020 09:46:37 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 0D2243D0; Thu, 30 Jan 2020 09:46:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 30 Jan 2020 09:46:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=IZevjX8hOL23aoVnj8XrfdudYr dnc4zy3mh8NkvHsJo=; b=KpoKCxv7CXkoa4D6pxHtPghde1dbruCP4+tbOBvle1 99B/FB5sSEG87JuB3XNNYd0ufthUauOUableZI6cGrwhacL9lXGzxKYUTVzZxuMm 1hayR53M7UZs2Xx19qUClamBmAp3TtxUbISaMFDJ4D4+Gi9GxQ3zukdXWkrSmBmu zC/0EGLM6e5yltFO3N3pTrYVej3qkO5fc7jNPYmcF8qENkTUlqjDlsY0bP8UkTQa MZTXGg20qrUEBwkqWlZyOGXgTjVicG1i1ytG1Se07PcYg8eJA3SiCfcBsQtKijaw NSmt1uTRc8RyBqcqr7EFGBPEFNdo+17Jc/f000SWcL+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=IZevjX 8hOL23aoVnj8XrfdudYrdnc4zy3mh8NkvHsJo=; b=DTQNm6RKHSE12fXDXyJXt3 +XoPsbLNFnNY2POjfkRRWg5N/cvPRGIue2gWmuoV62NQSb05982hBwLgnSs1LQgG JmJ/HLh71kGfx+PK6DVEIk4zVfwJaSSk0iyXLNzs3MCqnq4UJODWuDag5neBz+Yp CXCtXTVg3/7IEr52zacPiHYZk1oeXpZf6EDbEQ2iiUksADGzPXuXxO3ydqjyMiTs vzHrZAR2AWOQi4uTt9YXgGRkHE1XC0kJYnateu3AKAommWBE/gugSE7qlihUWq5I H3lR75rDmMLcjuJtue0doOlGTIg9HofuYL6mj4MREDDJrqPpVDgyz6UsYrN+O6kw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuffhomhgrih hnpehgnhhurdhorhhgnecukfhppeekgedrvddtvddrieelrddvheefnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsth hmrghilhdrtghomh X-ME-Proxy: Received: from localhost (ti0006q161-3035.bb.online.no [84.202.69.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 3ACD3328005D; Thu, 30 Jan 2020 09:46:30 -0500 (EST) From: Marius Bakke In-Reply-To: <87lfpp6n6v.fsf@daviwil.com> References: <87r1zlvymv.fsf@daviwil.com> <87zhe5nnss.fsf@devup.no> <87lfpp6n6v.fsf@daviwil.com> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 30 Jan 2020 15:46:27 +0100 Message-ID: <87o8ulngsc.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable David Wilson writes: > I've attached an updated patch file with the suggested changes. The > only thing I'm unsure about is disabling a particular warning-as-error > that showed up in the gtest.h header: > > ---- SNIP ---- > /gnu/store/bxapb1f1l8frjpbjckk3zdxhmcig3xzk-googletest-1.10.0/include/gte= st/gtest.h:1527:11: warning: comparison between signed and unsigned integer= expressions [-Wsign-compare] > if (lhs =3D=3D rhs) { > ~~~~^~~~~~ > cc1plus: all warnings being treated as errors > ---- SNIP ---- > > Since this is a warning in gtest's own header file rather than the > package source, would it be OK to disable errors for it? I'm glad you asked. :-) It is definitively OK to disable warnings coming from dependencies. In fact, that is what we are supposed to do, and used to do until the switch to GCC 7. To clarify, when we switched to GCC 7, its search paths were changed from C{,PLUS}_INCLUDE_PATH to CPATH. The only[*] difference between these search paths is that headers found on the former are treated as "system headers", which disables warnings. [*] Besides the fact that GCC 6 and later is very picky about the order of entries in C_INCLUDE_PATH, which is why we had to switch; see for details. So, LGTM, though I have a suggestion for the description: > + (synopsis "Minimal Xorg settings daemon") Maybe s/Minimal //, as the description makes it clear that it is a lightweight alternative to the GNOME and KDE approaches. > + (description "xsettingsd is a lightweight daemon that provides setti= ngs to > +Xorg applications via the XSETTINGS specification. It is used for defin= ing > +font and theme settings when a complete desktop environment (GNOME, KDE)= is > +not running. With a simple .xsettingsd configuration file one can avoid > +configuring visual settings in different UI toolkits separately.") @command{xsettingsd} and @file{.xsettingsd} will make it look slightly better/more readable in the various UIs. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4y7EMACgkQoqBt8qM6 VPqXKwf/VJdXfrwkAiyAgGt3kFrvStQNyyr/LVPWZJ3NDsZqCwziWTMdRPn1PpAM wRZ2scyPfzyse5SBBUUTVXbmUGvLzNjf6l7aTBvMIW663vTTMSWYRfXLegyk5b4b eZRBPd8b0+ZZDNG8GBcVGPYCpHtoBtAunkX9tbFRSSH1Wsgw8b9mQFR8ZJgvEkn/ suKwV8opozdmUC/UQOCYYgyrUcAt4+u3wZjJKyHpk5q4Tg4J4bhR77ezJ0cL9zFE zrqLNrzBd99ud0KLk8XRTRW284wU3V7Ns5qFm+VrV4+zVzC66vHh2MS0LNrN+XRz 8rfe61FVyDsGmwCsESWZq11cLjoDiQ== =7yJG -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39306] [PATCH] gnu: Add xsettingsd. Resent-From: David Wilson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jan 2020 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 39306@debbugs.gnu.org Received: via spool by 39306-submit@debbugs.gnu.org id=B39306.15804001016362 (code B ref 39306); Thu, 30 Jan 2020 16:02:01 +0000 Received: (at 39306) by debbugs.gnu.org; 30 Jan 2020 16:01:41 +0000 Received: from localhost ([127.0.0.1]:36151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixCG5-0001eQ-TS for submit@debbugs.gnu.org; Thu, 30 Jan 2020 11:01:41 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:54595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixCG3-0001eD-CK for 39306@debbugs.gnu.org; Thu, 30 Jan 2020 11:01:32 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 65BB8371; Thu, 30 Jan 2020 11:01:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 30 Jan 2020 11:01:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=udCpZguGm5fkBDuTewb/fwXG0S fdljIkUeRYPhit9uc=; b=j2p4+zomM/eVFNCzDsWHZNKDcCefZD2lyaWcf3n1fL jXeJt5b7aqnUp6v+RpguWqPAMdrlwfU103clYDa/uXkJS+OWE/TQTi+AUnTjxEhN vBXCvG7ZvEIWpIgmXyRudBRrW2GlK2t6YM9X+xrffSOYoW9lPoVFcgiCNQFAKaU3 776UyBtzQ/WAn+RX+RGRLkqTyvT+/k0H0vJQv2ARhLf9yOIIYGYZTeabe+kD5VEV hLC29bvJ68yWGEMzIGyzeFNsrIA/1cRBMTkaHykGFgQ5POpO/uqnn9s3zG4IY0Wc CacFuSwn14D9RT8MXU1iW4S/UvJklHtyFDv6BzzBQNkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=udCpZg uGm5fkBDuTewb/fwXG0SfdljIkUeRYPhit9uc=; b=Qs5jthz9bmLyqjem9XfLfD dFtMLTm/9ZrHaCiU67EiywtiTe+nRvVSPV00uXvy/YO6fdXdg2Y3H2zphS9jjQvv Jkx8GW/q7xVhTkcoxuKTcJIpJlPzcYEiDdlbqZoZc+2G+dNwVGxut2zKlvx45m2Z O/VC5nsqZESPClGVUmPC4j4O0wkv5hD2iMRAjMkcqI65xBk7Ry86cGLg2qNFZkO5 76K4EumetQaoo2kUPYLJLftcRFiiKMaYwkGs24gJKkiZpzOukIv3VPNdfjWswXRe Y8cIU1NdboHTplLRunDND1GODMNnUptMqQIO8T9qqbGrJpOHh0t7KDKXpK9t/8ig == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffujgffkfggtgesmhdtreertdertdenucfhrhhomhepffgrvhhiugcu hghilhhsohhnuceouggrvhhiugesuggrvhhifihilhdrtghomheqnecuffhomhgrihhnpe hgnhhurdhorhhgnecukfhppeeijedrudejuddrhedurddvvddunecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrvhhiugesuggrvhhifihilh drtghomh X-ME-Proxy: Received: from zerocool (c-67-171-51-221.hsd1.wa.comcast.net [67.171.51.221]) by mail.messagingengine.com (Postfix) with ESMTPA id 42F2B3060986; Thu, 30 Jan 2020 11:01:24 -0500 (EST) References: <87r1zlvymv.fsf@daviwil.com> <87zhe5nnss.fsf@devup.no> <87lfpp6n6v.fsf@daviwil.com> <87o8ulngsc.fsf@devup.no> User-agent: mu4e 1.2.0; emacs 26.3 From: David Wilson In-reply-to: <87o8ulngsc.fsf@devup.no> Date: Thu, 30 Jan 2020 08:01:21 -0800 Message-ID: <87k1596ii6.fsf@daviwil.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Marius Bakke writes: > It is definitively OK to disable warnings coming from dependencies. In > fact, that is what we are supposed to do, and used to do until the > switch to GCC 7. > > To clarify, when we switched to GCC 7, its search paths were changed > from C{,PLUS}_INCLUDE_PATH to CPATH. The only[*] difference between > these search paths is that headers found on the former are treated as > "system headers", which disables warnings. > > [*] Besides the fact that GCC 6 and later is very picky about the order > of entries in C_INCLUDE_PATH, which is why we had to switch; see > for details. Thanks for the background, that was helpful! I've been out of the loop on GCC changes for a while so it's good to know that this happened. I've made the suggested changes to the summary and description, attached the updated patch. David --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEU8QebkGq/lUzWspeRGou1NlAvxQFAl4y/dIACgkQRGou1NlA vxSsOQ//aZyk53J8Ui015j/QnSk1UieeYWDzegwojLEx+mG5GZzjqHnvq+C+IdQf MNtweKf+eQ60jeEDbPdlm+3/Rm9sdJI4q7bAwVg30lGl1eTxo/bMAhMsJQKyYg59 kV81QHMTk/hCLy9y6WjWk3Y1eX4IK722KhtfVBdjuuVBFjCg/T2Kf6DncSHM2e7o Ta4D4i1hkERWQl7NOcMQm2yJNc57Zkq49TG4/qbgbPnD7yP3vs3uB93dRPGxVsWL iDMYb6BjgDIhZoWtFcsUeHZvWJ16Xplhgkh5xDQ1vFcdO+h4kE/qi7KCU9nPfh4N Oa6fj/smynEta9BdZrMIx8aHoD3CEIUVKG0FHJ6h/bWfkb/rhKErRoZ0a5+rCTOe pdXeiFe0zF11jjl2dRaMY4/A587l74Yndn6FixKI5Y8CO6TAxaOZbe5Y565BwFrf 5+oM+xLvw8TS5NvHkVSq/f3iLyJ0SKNOezxU6RikQ21FOa1bWiekrecOTjiYfg7F oJZhD3gsFIM86S1s1O7WjT3G8cwgZPT+WcZPvpZIF5n4XgeN5+rOs++scwIv0Zdc pgDf/tIN0kwtER+5CBFWIRvi5nFNGirYDtJizNEh87WK50qwAvN4EPiPIW90ui7s SCUve5M8LFfrwN1gp1u62fkihGQU8iJ+s9BIwtypNH0EpQQtGWQ= =0K96 -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-xsettingsd.patch Content-Transfer-Encoding: quoted-printable Content-Description: Updated patch >From 7c9daaf8ab86c84d4bb4ad554912746dacbca5cd Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 26 Jan 2020 05:55:47 -0800 Subject: [PATCH] gnu: Add xsettingsd. * gnu/packages/xdisorg.scm (xsettingsd): New variable. --- gnu/packages/xdisorg.scm | 68 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ecefab1dbb..10c5201e5e 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -30,6 +30,7 @@ ;;; Copyright =C2=A9 2019 Josh Holland ;;; Copyright =C2=A9 2019 Tanguy Le Carrour ;;; Copyright =C2=A9 2020 Guillaume Le Vaillant +;;; Copyright =C2=A9 2020 David Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system scons) #:use-module (gnu packages) #:use-module (gnu packages documentation) #:use-module (gnu packages admin) @@ -2005,3 +2007,69 @@ The cutbuffer and clipboard selection are always syn= chronized.") can optionally use some appearance settings from XSettings, tint2 and GTK.= ") (home-page "https://jgmenu.github.io/") (license license:gpl2))) + +(define-public xsettingsd + (package + (name "xsettingsd") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/derat/xsettingsd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v")))) + (build-system scons-build-system) + (inputs + `(("libx11" ,libx11))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("googletest" ,googletest) + ("googletest-source" ,(package-source googletest)))) + (arguments + `(#:scons ,scons-python2 + #:scons-flags + (list "CC=3Dgcc") + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-sconstruct + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "SConstruct" + ;; scons doesn't pick up environment variables automatically + ;; so it needs help to find path variables + (("env =3D Environment\\(") + "env =3D Environment( + ENV =3D { + 'PATH': os.environ['PATH'], + 'CPATH': os.environ['CPATH'], + 'LIBRARY_PATH': os.environ['LIBRARY_PATH'], + 'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH'] + },") + ;; Update path to gtest source files used in tests + (("/usr/src/gtest") (string-append + (assoc-ref inputs "googletest-source") + "/googletest")) + ;; Exclude one warning that causes a build error + (("-Werror") "-Werror -Wno-error=3Dsign-compare")) + #t)) + ;; The SConstruct script doesn't configure installation so + ;; binaries must be copied to the output path directly + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (install-file "xsettingsd" bin) + (install-file "dump_xsettings" bin) + #t)))))) + (home-page "https://github.com/derat/xsettingsd") + (synopsis "Xorg settings daemon") + (description "@command{xsettingsd} is a lightweight daemon that provid= es settings to +Xorg applications via the XSETTINGS specification. It is used for defining +font and theme settings when a complete desktop environment (GNOME, KDE) is +not running. With a simple @file{.xsettingsd} configuration file one can = avoid +configuring visual settings in different UI toolkits separately.") + (license license:bsd-3))) --=20 2.24.1 --=-=-=-- From unknown Tue Jun 17 01:43:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39306] [PATCH] gnu: Add xsettingsd. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jan 2020 16:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39306 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: David Wilson Cc: 39306@debbugs.gnu.org Received: via spool by 39306-submit@debbugs.gnu.org id=B39306.15804008507612 (code B ref 39306); Thu, 30 Jan 2020 16:15:02 +0000 Received: (at 39306) by debbugs.gnu.org; 30 Jan 2020 16:14:10 +0000 Received: from localhost ([127.0.0.1]:36168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixCSI-0001yi-B2 for submit@debbugs.gnu.org; Thu, 30 Jan 2020 11:14:10 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:38681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixCSG-0001yU-76 for 39306@debbugs.gnu.org; Thu, 30 Jan 2020 11:14:08 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 90E0234C; Thu, 30 Jan 2020 11:14:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 30 Jan 2020 11:14:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=x9BKfx6/fsO1s2CHV4zCQfLhHE /YLM+XbHWqcEfYcus=; b=n3JK1SZufzl0pzfPUPX0v6yi3TWF5aT0pxSD1MCmQM XfMl23uVQMCO8y/tBTp7j55slroNnuXAb67Bie8Td/Qex6QN/p/PUuiqd4oeuBps 5pikn9Bs9srnngOHLNS3QwKefSeHL2+ESBHmk3xNzoNCtfpgyYoHIghmRY3LTdq3 KHJolows5B1A+uuGx9eZgLblByTwmyaGE2fkzXieMvZP4tY/iF/+ZBWmuf3BO7Sp t7mGE22lb7QEWNIEoKLsztWnLVHGzmLsCW/5oI+DnHpAhmCw3q1QY7QuAeIzppMJ n5/ekKGkK3Le+DqkEM2hU4xBusa/gl7G+xd0rEnNro+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=x9BKfx 6/fsO1s2CHV4zCQfLhHE/YLM+XbHWqcEfYcus=; b=kgW2cgvpgpQnrJP7EElptN /YLt+2bUmVGUuqMIQAZrzarSBLCvcdXeB5gMvAoDk8ad3XCAZkfc/PW6Revct4Ex kBRKLNIB5hbhYcdh1lrslgEAAVg8DyycNW6OoRrhNXKmmnkeGecJRuymiYRK9rit NwB7uwyU/TX9zxhKPeXYOXYgLRkfrS7ju3G4s35FhKh1iW2susG+wr4HOc60Jl5+ Vzwyp9nRrUg4+fgLliyVjOIuMU4iPpKgwIUhQuPDjkQR4HlZuSVHiLWaG6iD+zEf IvAZTio9B6V7fpnkdRWjNtGkmGUO8/cZ0FyOD64l3cgpqxIVWbnGO06PW4H/JjzA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecuffhomhgrih hnpehgnhhurdhorhhgnecukfhppeekgedrvddtvddrieelrddvheefnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsth hmrghilhdrtghomh X-ME-Proxy: Received: from localhost (ti0006q161-3035.bb.online.no [84.202.69.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 84B893280068; Thu, 30 Jan 2020 11:14:01 -0500 (EST) From: Marius Bakke In-Reply-To: <87k1596ii6.fsf@daviwil.com> References: <87r1zlvymv.fsf@daviwil.com> <87zhe5nnss.fsf@devup.no> <87lfpp6n6v.fsf@daviwil.com> <87o8ulngsc.fsf@devup.no> <87k1596ii6.fsf@daviwil.com> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 30 Jan 2020 17:14:00 +0100 Message-ID: <87d0b0orav.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain David Wilson writes: > Marius Bakke writes: > >> It is definitively OK to disable warnings coming from dependencies. In >> fact, that is what we are supposed to do, and used to do until the >> switch to GCC 7. >> >> To clarify, when we switched to GCC 7, its search paths were changed >> from C{,PLUS}_INCLUDE_PATH to CPATH. The only[*] difference between >> these search paths is that headers found on the former are treated as >> "system headers", which disables warnings. >> >> [*] Besides the fact that GCC 6 and later is very picky about the order >> of entries in C_INCLUDE_PATH, which is why we had to switch; see >> for details. > > Thanks for the background, that was helpful! I've been out of the loop > on GCC changes for a while so it's good to know that this happened. > > I've made the suggested changes to the summary and description, attached > the updated patch. Excellent, LGTM! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4zAMgACgkQoqBt8qM6 VPpoAQgAqHzWjX7RSiL3mFIIUN+NPmAFlYy+ttEJoBnIKU4NAZQ5OcGLyXenp+HR nW7g7lBoFPxJtYPmrrCQ32ENOPGa63pKhP84tLeYdPl/WfzR+r7PWha8hqIG4wLp zbYw0lko/8NHA38zRD6NkcKwMf7ae8OLrgu/+8wboMVe2S74x8tZlnYdodpfQ54g 1kPlmeqWMKPbhvipyRf1Sw5xCd7MJtHHRpjgmWP40jNif4VedQVsMKKeNR9NmhrX J7SdjBArpBZfFp0TlREG3gCh0ZyK51xmJGz49FJXwen1drVEep45DLlXjSuBo6XQ UY6Ep4xtCCKYfpmzs2sJ1vXyRfmfOQ== =lCW0 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: David Wilson Subject: bug#39306: closed (Re: [bug#39306] [PATCH] gnu: Add xsettingsd.) Message-ID: References: <87imkr3f0a.fsf@daviwil.com> <87r1zlvymv.fsf@daviwil.com> X-Gnu-PR-Message: they-closed 39306 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39306@debbugs.gnu.org Date: Fri, 31 Jan 2020 13:58:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1580479083-4960-1" This is a multi-part message in MIME format... ------------=_1580479083-4960-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39306: [PATCH] gnu: Add xsettingsd. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39306@debbugs.gnu.org. --=20 39306: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39306 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580479083-4960-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39306-done) by debbugs.gnu.org; 31 Jan 2020 13:57:41 +0000 Received: from localhost ([127.0.0.1]:36702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixWnl-0001HL-JI for submit@debbugs.gnu.org; Fri, 31 Jan 2020 08:57:41 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:46269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixWni-0001H9-Sx for 39306-done@debbugs.gnu.org; Fri, 31 Jan 2020 08:57:39 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 182227F7; Fri, 31 Jan 2020 08:57:33 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 31 Jan 2020 08:57:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=ygQfBQl6nEJfKKmWsnQaBfcBKY 5YoSDfNZR6qYkRBoo=; b=EPTdVDj7Gnj5JoS9ObvebYYorc1gMUbhSRN+qqbrGT 3wol1kFIFEhv92EU+sU+i7fVMVEe0F3w/wkvvQ3A/VS9ZkCc2CVGvHHJnBGm1Mcy 2/diYrJNbKLE4EqqXBQBU0lJbfpV5rYT3dF6xN+T7b1XIexu8pjxFE4EN95ryD7O gsticjRFKaBkK5KOyEQPThvUJKU4nspJb5spCkbHhguqUxuYXVrYBrVR0iN0c2BA GNP8iR3m2csPc6drGCwtVr8LmQYcuuRRKUkXtc2MC3ref28/y2Xo8qGJr56hHevX CKDfPwRuEiJQNWkB0fY2tqKyApIpzKG6Miy4bLQsydkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ygQfBQ l6nEJfKKmWsnQaBfcBKY5YoSDfNZR6qYkRBoo=; b=ePqjVhCBki515rYtLQtsI8 pwZqwAhPmWSKVjaIDFwGPJd33DdeUuPRTRt+Gy6f0y2wzl/ql5l17ZPc9VT/Z1jq ZJXX2chCM3BsbFCyB0PrVWECnounnh1o+z1G0zvZtfQAsKnnTqaZqznti86r3Ssb yq/0dzINY5mHxtvi2CVSCMtgZtm0UGkIIUQtp70bcsx5f7PLdpiMWOpqDi2HAdGy WZOA0s6bPBWFDR5p4qt1BB5JSP48vglFmgoPVeTfWO7S2bSfNzMhgTCSIsx5ig4i CYD3y/sNDbhKD5BZjsS2d00Nc/u8T2iXh14s98UfzXdrBeaLqxGLZaDsxWRt/QNg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrgedtgdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepffgrvhhiugcu hghilhhsohhnuceouggrvhhiugesuggrvhhifihilhdrtghomheqnecukfhppeduieeird dujedtrdefjedrudduieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegurghvihgusegurghvihifihhlrdgtohhm X-ME-Proxy: Received: from zerocool (mobile-166-170-37-116.mycingular.net [166.170.37.116]) by mail.messagingengine.com (Postfix) with ESMTPA id 505C53060A88; Fri, 31 Jan 2020 08:57:31 -0500 (EST) References: <87r1zlvymv.fsf@daviwil.com> <87zhe5nnss.fsf@devup.no> <87lfpp6n6v.fsf@daviwil.com> <87o8ulngsc.fsf@devup.no> <87k1596ii6.fsf@daviwil.com> <87d0b0orav.fsf@devup.no> User-agent: mu4e 1.2.0; emacs 26.3 From: David Wilson To: Marius Bakke Subject: Re: [bug#39306] [PATCH] gnu: Add xsettingsd. In-reply-to: <87d0b0orav.fsf@devup.no> Date: Fri, 31 Jan 2020 05:57:25 -0800 Message-ID: <87imkr3f0a.fsf@daviwil.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39306-done Cc: 39306-done@debbugs.gnu.org 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.7 (-) Thanks for your help Marius! Pushed this to master as commit 261d0e8e3837139b9d4314a87c8370c6d7f54124. David ------------=_1580479083-4960-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Jan 2020 13:04:55 +0000 Received: from localhost ([127.0.0.1]:57890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iw44Q-0008VC-HX for submit@debbugs.gnu.org; Mon, 27 Jan 2020 08:04:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:55533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iw44N-0008V0-70 for submit@debbugs.gnu.org; Mon, 27 Jan 2020 08:04:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45226) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iw44L-0005qC-PB for guix-patches@gnu.org; Mon, 27 Jan 2020 08:04:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iw44K-0008L1-Fr for guix-patches@gnu.org; Mon, 27 Jan 2020 08:04:45 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:37441) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iw44K-0008KJ-3m for guix-patches@gnu.org; Mon, 27 Jan 2020 08:04:44 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id C55BB497 for ; Mon, 27 Jan 2020 08:04:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 27 Jan 2020 08:04:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=SSVzet6IKpq5XWy+jVfrhjaRalC1lpBjEvtT5PXEEk0=; b=giadktju FwBtoub+D1JBRl57xr7xjz77D5v5Ge0gUVaMWqJr7FAxcwgmOf2M4HLDeAcq/hUJ uuygs1vMshqD3n/Jee9rQH5T44vD6I0gtAVvKe8R5ATWPktDN66gB19q2XiPywaL 9CvVadHxr6lNLH6m96uhKrtjBJkKyAEpr1MP/a9zTdxilA5v3GFZZr6rh7l7wXZG NPFw741JFYAjRjwlauscc3a4MnXf6UoOUCETrfugPh0fx08Oi9+QlFYNqVCG85j6 vNjRZD3R3GwOUcZ6+EH73+hyqwIpwjJtW/0kFaF2kP2U5gCepX774T66qefNZx3S 4zBhOLwjTskyqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=SSVzet6IKpq5XWy+jVfrhjaRalC1l pBjEvtT5PXEEk0=; b=mV6uYgbGpmNuW2sqtuJsc4woqugtGW5YFdvgn3YFgT3f+ /px/xMURhg0LOuTpp8CdWiuXDSJEuXglzWE5l9Ddc/UzyBYNorXFJkqQh2na9uPU jlkRRYzfifPGCh7tPawgyBx7CrckbbL2j6u9dKr8b6NsmU0PxdF7qbRn9V5jgDPt dwEOGxfIAJLQt5HNFGMhm0sOwkk0q8u8SSTN/e9HcwVCQ59XbCbVfi7sQn+kXYX7 xYB8fSDzU+TL0pQb8f4lTUIW0vudePMIwoqbFJJr/RiqURZM6fX1dLmQiIP7vMRV 9QUFMhd3DUVIHxb7Zp5x8HpN49hwxEtSlaWTxDdGQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfedvgdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfgfhvffufffkgggtsehgtderredtre ejnecuhfhrohhmpeffrghvihguucghihhlshhonhcuoegurghvihgusegurghvihifihhl rdgtohhmqeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeeijedrudejud drhedurddvvddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepuggrvhhiugesuggrvhhifihilhdrtghomh X-ME-Proxy: Received: from zerocool (c-67-171-51-221.hsd1.wa.comcast.net [67.171.51.221]) by mail.messagingengine.com (Postfix) with ESMTPA id D23BE3280059 for ; Mon, 27 Jan 2020 08:04:41 -0500 (EST) User-agent: mu4e 1.2.0; emacs 26.3 From: David Wilson To: guix-patches@gnu.org Subject: [PATCH] gnu: Add xsettingsd. Date: Mon, 27 Jan 2020 05:04:40 -0800 Message-ID: <87r1zlvymv.fsf@daviwil.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.25 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit 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: -0.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable * gnu/packages/wm.scm (xsettingsd): New variable. =2D-- gnu/packages/wm.scm | 63 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 52d7042806..4fb18e9f67 100644 =2D-- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -31,6 +31,7 @@ ;;; Copyright =C2=A9 2019 Brett Gilio ;;; Copyright =C2=A9 2019 Noodles! ;;; Copyright =C2=A9 2019 Alexandru-Sergiu Marton +;;; Copyright =C2=A9 2020 David Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -59,6 +60,7 @@ #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system scons) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages autotools) @@ -94,6 +96,7 @@ #:use-module (gnu packages pretty-print) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages serialization) #:use-module (gnu packages suckless) #:use-module (gnu packages texinfo) @@ -1670,3 +1673,63 @@ bar entirely based on XCB. Provides full UTF-8 supp= ort, basic formatting, RandR and Xinerama support and EWMH compliance without wasting your precious memory.") (license license:x11)))) + +(define-public xsettingsd + (package + (name "xsettingsd") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/derat/xsettingsd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v")))) + (build-system scons-build-system) + (inputs + `(("libx11" ,libx11))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (arguments + `(#:scons ,scons-python2 + #:scons-flags + (list "CC=3Dgcc" + (string-append "PREFIX=3D" %output)) + #:tests? #f ;; Tests require Google's gtest framework + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-sconstruct + (lambda _ + ;; scons doesn't pick up environment variables automatically + ;; so it needs some help to find path variables. + (substitute* "SConstruct" + (("env =3D Environment\\(") + "env =3D Environment( + ENV =3D { + 'PATH': os.environ['PATH'], + 'CPATH': os.environ['CPATH'], + 'LIBRARY_PATH': os.environ['LIBRARY_PATH'], + 'PKG_CONFIG_PATH': os.environ['PKG_CONFIG_PATH'] + },")) + #t)) + ;; The install task uses gtest to install the binaries. + ;; Since we don't have gtest, install binaries manually. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (install-file "xsettingsd" bin) + (install-file "dump_xsettings" bin) + #t)))))) + (home-page "https://github.com/derat/xsettingsd") + (synopsis "Minimal Xorg settings daemon") + (description "xsettingsd is a lightweight daemon that provides setting= s to +Xorg applications via the XSETTINGS specification. It is used for defining +font and theme settings when a complete desktop environment (GNOME, KDE) is +not running. With a simple .xsettingsd configuration file one can avoid +configuring visual settings in different UI toolkits separately.") + (license license:bsd-3))) =2D- 2.24.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEU8QebkGq/lUzWspeRGou1NlAvxQFAl4u3+gACgkQRGou1NlA vxSKxg//S9IZY8nVNQ/ThxKeddC3NlB8e2WkRzv7B27tW1G+IbVhABR49GMXZ+nZ /bcc87X769daoBGbAdpOJxzXe1z9IjLMs/NzQRWAJp54R+Ba6G1qWoV55DlslQpI jHmyyVEXY6UYzhNehDKyY3783FOmQQAvFZHxMhlOVH0zW0zXlJBBAMC30OriBvqM IylVNIB1Oa36NZso6uHN05NAu8xOjcKPy/CBlpDkjzLX6q1oG80pdLA568SWb+9h 47JXAU7UoZQGD/Dhiey+IQeKaiNh/heyNHsKMWRGuYP349y+ALHX3fjXxh1Fkink 55NGwvNnsC6j5IVwg/MqHpW8qIMRGjVYFMGvUA6+rxkL5wNt6bn3V6KPrG7onXWN QBWIEja0qpFg4OrEuWbqiFDANLxbzCXvmirKGCFW+0mxAedu8j8mUEWk/OjHT8ik 7lXGOPE+qM4HZfoCwhFUBF6t10FMrxjZtAhbv8G8/jkMjw9bO37LrRZIeQN1Tc9c rO9IrCQCOYmp2SBZq/F6fooHraapmjH12jOsJxaMvlAGZVoCbXwfyAerZ1ZbXHHr LyOsUxQeVWzkZr7gH6PgDEvkvHI2LuP8bxnB9mZy0vfJoET51pl38+DVdYFysiLP 4zGizfqCvWFijKpY2Try/7xTkxtJWarkMrcjQPx39/oybf5M8+w= =WmEV -----END PGP SIGNATURE----- --=-=-=-- ------------=_1580479083-4960-1--