From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 06:51:37 2023 Received: (at submit) by debbugs.gnu.org; 31 Aug 2023 10:51:38 +0000 Received: from localhost ([127.0.0.1]:55021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbfGz-0007hg-Fo for submit@debbugs.gnu.org; Thu, 31 Aug 2023 06:51:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbfGw-0007ej-T2 for submit@debbugs.gnu.org; Thu, 31 Aug 2023 06:51:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbfGi-00078j-V3 for guix-patches@gnu.org; Thu, 31 Aug 2023 06:51:20 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbfGg-0005J4-48 for guix-patches@gnu.org; Thu, 31 Aug 2023 06:51:20 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 42D9338A0132; Thu, 31 Aug 2023 10:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693479069; bh=2IYp5OH5T3KLEmvL3ulgthnOdELiMPu8MbyTXf5PyNM=; h=From:To:Cc:Subject:Date:From; b=RyAZq5ejkK3FpaMAi4/d7Q9i2MDus0YjaviqEpUitRN03Jyx5+ANd+TyY+IygbaPY N1ysZsqFToZzd9II9fMBJYXLPgoCW/MWIw/PhAmNyskJaWMvt9xgI/CUkwSIDg8zg8 N6RRZWlhEWs+K7bZFrUWqG79oC797Rm8uIIe7I6ImI/JD8jB9i17uaavRY3Aa5E2of i6JMxvlgDB3/+JJUkGEp23B8P9JoX2GTMs0y6+PUKo1xKCuwsVkcEy3sKR1wiw8kI9 UOiuTSLtPMWqeNHlZEHiBOV86FFUh+Kjajnrl0SbJ8zJJ1kG2jvdQ2jLkrexQhiJsa 9+WsMh6JtSL6EzDl/yFU4Pis3NftjfP21qIj5QbXLesIhntgF/DmMBJkZXASprPd7O hCnqyFDwxRa8qKoncv1tzLVlcSSk9qPZbjMGwY9M4h5xr1kdIzdn/7nLGBj5ewXrHx XpYB1JWY6o6LdT1/Fy+dvkQL2E9F9f9fjk0sTI8urQS81eAm5f3nDctsXVSx7QMLdq aAdbqNKCacfgQl3smygwvleGL2rJBi9qIu02wVmClVWUkbqAzz/gB8S1TWjYOJ/hkc 8HvZITr/vsGNGp9/maY6fx5sDCKh/cNZnJuOaLinw/e84mt5l9j/V7zG5LgyL2kjS2 5O7HSa/rV5j9q84zT8Dpr340= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9TEnd5sZ6CGa; Thu, 31 Aug 2023 10:51:04 +0000 (UTC) Received: from localhost (unknown [36.170.58.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Thu, 31 Aug 2023 10:51:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 1c896687; Thu, 31 Aug 2023 10:51:19 +0000 (UTC) From: iyzsong@envs.net To: guix-patches@gnu.org Subject: [PATCH] gnu: dbus-cxx: Update to 2.4.0. Date: Thu, 31 Aug 2023 18:51:14 +0800 Message-ID: <5686dc3309451165e7875231057a98030399a085.1693479069.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 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.1 (/) From: 宋文武 * gnu/packages/glib.scm (dbus-cxx): Update to 2.4.0. [source]: Switch to git-fetch. [arguments]: Use g-exps. Adjust configure-flags. Skip 'test-machine-uuid-method' test. [inputs]: Remove python and glibmm. Move libsigc++ to... [propagated-inputs]: ...here. Add glib. [native-inputs]: Remove m4. [license]: Change to lgpl3+ and bsd-3. --- gnu/packages/glib.scm | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index f523706449..043d506a9e 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -1255,26 +1255,30 @@ (define-public dbus-c++ (define-public dbus-cxx (package (name "dbus-cxx") - (version "0.12.0") + (version "2.4.0") (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/dbus-cxx/dbus-cxx/" - version "/dbus-cxx-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dbus-cxx/dbus-cxx") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1acsgpkd9v7b9jdc79ijmh9dbdfrzgkwkaff518i3zpk7y6g5mzw")))) + "0c9q2bjs4m66zq0qysyip8fnkvvjpj46rkjcvw15nhmfhzbq16ag")))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DENABLE_TESTS=ON" - "-DENABLE_TOOLS=ON" - "-DENABLE_GLIBMM=ON"))) - (inputs (list dbus - libsigc++ - glibmm - python - popt - expat)) - (native-inputs (list pkg-config m4)) + (list #:configure-flags #~(list "-DBUILD_TESTING=ON" + "-DENABLE_TOOLS=ON" + "-DENABLE_GLIB_SUPPORT=ON") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda _ + ;; XXX: Missing /etc/machine-id in the build environment. + (invoke "ctest" "-E" "test-machine-uuid-method")))))) + (propagated-inputs (list glib libsigc++)) + (inputs (list dbus expat popt)) + (native-inputs (list pkg-config)) (synopsis "C++ wrapper for dbus") (description "Dbus-cxx is a C++ wrapper for dbus.\n It exposes the C API to allow direct manipulation and @@ -1288,7 +1292,7 @@ (define-public dbus-cxx Some codes examples can be find at: @url{https://dbus-cxx.github.io/examples.html}") (home-page "https://dbus-cxx.github.io/") - (license license:gpl3))) + (license (list license:lgpl3+ license:bsd-3)))) (define-public sdbus-c++ ;; Use the latest commit, which includes unreleased fixes to the pkg-config base-commit: 299d0463d54c97b237deb2fe9e464108544344c0 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 12:58:35 2023 Received: (at 65654) by debbugs.gnu.org; 31 Aug 2023 16:58:35 +0000 Received: from localhost ([127.0.0.1]:56941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbl06-0003Kh-PO for submit@debbugs.gnu.org; Thu, 31 Aug 2023 12:58:35 -0400 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:62970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbl03-0003KS-SL for 65654@debbugs.gnu.org; Thu, 31 Aug 2023 12:58:32 -0400 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-9a2a4a5472dso476182366b.1 for <65654@debbugs.gnu.org>; Thu, 31 Aug 2023 09:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693501097; x=1694105897; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=PiQ+426bTxyjpCzPjxWLsrFfqVGJPIRektBt2e/gOow=; b=q3Ognxy+pRSC5txM0XQm7hXjnCwE0nlZXfan9a7kzo8wroxThndVL1thd7Nh9FBhWZ SRDVuBFlXEULuQF0Wb3nN+1GXmGtyPvSPJX7BgZCEzGDCc5RhQPpsU06RSuz3kjikjHH 1idptGfspIHeS+M5OpwgTKQn5zouuxfch5QvvdflfMpd8+avpDrEiF9iwJDhdafk2QcB yOd9+JGg6SApWQCAFtYUROoz9tgsDmqmlf3MkIwPX0GnTGpIaB3ZB+vluVpZnXJGcbt3 0P/OhJoLZ0KigA9gtql4ZE2mKKM2InMS9O0gry5ZQiRhaDFtOicW/AXwtcyNr9rbCou+ f7lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693501097; x=1694105897; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PiQ+426bTxyjpCzPjxWLsrFfqVGJPIRektBt2e/gOow=; b=SOqcpcntY684fMSAB+rO1eNlcmNUrlr4JAI6erMldHExBMcB4/wko24Ey7cbSzy+iQ +gLRb2xkUM0uGxDr4ppTXT6oRAY93YkzL4jEMiQzFZD5aYMd/dOzBoIAPK0UBZ1lsjIQ cM5Va0Fyi2MC94goEUJBgJCDYp9J6yPPjGZVqXqU5sgV7rD212bJGv7PBlJc3dBLhZkl +0efO02TFE+FbxvXHhPZCAMcxFJh85ypyPJvko2OFwlsZkpn1uIuvWdSPzfQlNpwrARc Q9GParNKDG1K8Hir0yld+YEIq5yKnIz6qcsdOm5w+o7o4Dog73bOgXxGxj63WdYM3Yok rRLg== X-Gm-Message-State: AOJu0YzlbazFrdgcrcXWKLzkx/DIv0nY579GUfNspZO1XDIOofbQcJ89 b+Kx8PiPvwyxVrgkO+e083U= X-Google-Smtp-Source: AGHT+IEDHGl+eojf28OYKl2aC+WO1VGQOUc/SFBX/V6Pol0IPi91KvxpeE22Gs79OGhZ6THu+CayXg== X-Received: by 2002:a17:906:7395:b0:9a1:f1b2:9f2e with SMTP id f21-20020a170906739500b009a1f1b29f2emr479572ejl.2.1693501097314; Thu, 31 Aug 2023 09:58:17 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id dt22-20020a170906b79600b0099d959f9536sm966439ejb.12.2023.08.31.09.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 09:58:16 -0700 (PDT) Message-ID: Subject: Re: [bug#65654] [PATCH] gnu: dbus-cxx: Update to 2.4.0. From: Liliana Marie Prikler To: iyzsong@envs.net, 65654@debbugs.gnu.org Date: Thu, 31 Aug 2023 18:58:14 +0200 In-Reply-To: <5686dc3309451165e7875231057a98030399a085.1693479069.git.iyzsong@member.fsf.org> References: <5686dc3309451165e7875231057a98030399a085.1693479069.git.iyzsong@member.fsf.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65654 Cc: Raghav Gururajan , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , 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 (-) QW0gRG9ubmVyc3RhZywgZGVtIDMxLjA4LjIwMjMgdW0gMTg6NTEgKzA4MDAgc2NocmllYiBpeXpz b25nQGVudnMubmV0Ogo+IEZyb206IOWui+aWh+atpiA8aXl6c29uZ0BtZW1iZXIuZnNmLm9yZz4K PiAKPiAqIGdudS9wYWNrYWdlcy9nbGliLnNjbSAoZGJ1cy1jeHgpOiBVcGRhdGUgdG8gMi40LjAu Cj4gW3NvdXJjZV06IFN3aXRjaCB0byBnaXQtZmV0Y2guCj4gW2FyZ3VtZW50c106IFVzZSBnLWV4 cHMuwqAgQWRqdXN0IGNvbmZpZ3VyZS1mbGFncy4KPiBTa2lwICd0ZXN0LW1hY2hpbmUtdXVpZC1t ZXRob2QnIHRlc3QuCj4gW2lucHV0c106IFJlbW92ZSBweXRob24gYW5kIGdsaWJtbS7CoCBNb3Zl IGxpYnNpZ2MrKyB0by4uLgo+IFtwcm9wYWdhdGVkLWlucHV0c106IC4uLmhlcmUuwqAgQWRkIGds aWIuCj4gW25hdGl2ZS1pbnB1dHNdOiBSZW1vdmUgbTQuCj4gW2xpY2Vuc2VdOiBDaGFuZ2UgdG8g bGdwbDMrIGFuZCBic2QtMy4KPiAtLS0KPiDCoGdudS9wYWNrYWdlcy9nbGliLnNjbSB8IDM2ICsr KysrKysrKysrKysrKysrKysrLS0tLS0tLS0tLS0tLS0tLQo+IMKgMSBmaWxlIGNoYW5nZWQsIDIw IGluc2VydGlvbnMoKyksIDE2IGRlbGV0aW9ucygtKQo+IAo+IGRpZmYgLS1naXQgYS9nbnUvcGFj a2FnZXMvZ2xpYi5zY20gYi9nbnUvcGFja2FnZXMvZ2xpYi5zY20KPiBpbmRleCBmNTIzNzA2NDQ5 Li4wNDNkNTA2YTllIDEwMDY0NAo+IC0tLSBhL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lIGlucHV0LCBidXQKSSBtaWdodCBiZSB3cm9u ZyBhYm91dCB0aGF0LgoKQ2hlZXJzCg== From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 23:48:33 2023 Received: (at 65654) by debbugs.gnu.org; 1 Sep 2023 03:48:34 +0000 Received: from localhost ([127.0.0.1]:59590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbv97-0007r7-64 for submit@debbugs.gnu.org; Thu, 31 Aug 2023 23:48:33 -0400 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]:60640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbv95-0007qI-42 for 65654@debbugs.gnu.org; Thu, 31 Aug 2023 23:48:31 -0400 Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-64b8e1c739aso8823416d6.0 for <65654@debbugs.gnu.org>; Thu, 31 Aug 2023 20:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693540096; x=1694144896; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=HPrlgDP2TBz6zT6CtPA1KSn9ZfhPI+Gjz1ks6Y1JRZA=; b=TbIU3/TcNPasLBRiSj2w/vVQeGeYGcQ1ygNasYrMRCzECt5P2RHCPC1APL3h0YvKuW V23HA7aLg5Ct7WigeFNOaAG6idP8VUyVf28Z/1yghl6uHWK1zX0Uo5KIuJ85Luhmo1kG Dgw8kxeAOT1j/pFibGewUWWJnDy3ryXcyC+TlMT2BrpFZbHbSgxL9Ab3JLisN1zBfwwL g9PxMwNo5xwexcZjb63KR4ZFtvYornirY+gideJYGl3a1SYRhp/6M7Q+dk3kR1aFBlwr QxX31eG9+tpMvibGsk2IhrzZ7N2GZjhRbXv5R8x90ijXk2nf+tSfn6GUfCPncWkPbD7J VDGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693540096; x=1694144896; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HPrlgDP2TBz6zT6CtPA1KSn9ZfhPI+Gjz1ks6Y1JRZA=; b=aZbfScGxerOkt+drxQEXVsoAyyq7tU15DRLErAuouu3F1PcWER2CvCm0igG8uDHxHX rMczv+TlAYFRQGh0HYGGPdjLWzDiX5WQqrJez0Z5KyfUP5nZE9zYAklRgQ3QEXFKUa7R xUEyf2oF8EvQphl9OtZ2Jt5BwtiEJfh+zBw+gceWFN8Wk07OF7p26bhPfWPC4ztpYduL QmlO/17ZC1izhGSgTj592jCG7y1gnDwY36we0jg4/uLbtGMt9dNHnOuXzkmi2ZyQarpJ kHxnuFdRpAkSGxiiAFdorXqyoCJz3j2p6FFL5yvFdrYLgQm++VuqbOHg+4kVOmvRj6ii KfDg== X-Gm-Message-State: AOJu0YwcXt9UEQaZchliTGPbzmlUQVRnki10uKVEIVD+DGlhULLSd60i msHfroxY4Mr0FDaxr+wT2e2htHptDZQ= X-Google-Smtp-Source: AGHT+IF7Yp/tPXGKFgk/nzbubARl5zeUAA9+t2Bw/TdtvqJMe/kvdAu57xpweMWJE0UBfVe8s/Tkkw== X-Received: by 2002:a0c:8d4a:0:b0:630:198c:3c60 with SMTP id s10-20020a0c8d4a000000b00630198c3c60mr1199804qvb.23.1693540096208; Thu, 31 Aug 2023 20:48:16 -0700 (PDT) Received: from hurd (dsl-10-128-23.b2b2c.ca. [72.10.128.23]) by smtp.gmail.com with ESMTPSA id a22-20020a0cb356000000b0064f5d70d072sm1136983qvf.37.2023.08.31.20.48.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Aug 2023 20:48:15 -0700 (PDT) From: Maxim Cournoyer To: iyzsong@envs.net Subject: Re: [bug#65654] [PATCH] gnu: dbus-cxx: Update to 2.4.0. References: <5686dc3309451165e7875231057a98030399a085.1693479069.git.iyzsong@member.fsf.org> Date: Thu, 31 Aug 2023 23:48:14 -0400 In-Reply-To: <5686dc3309451165e7875231057a98030399a085.1693479069.git.iyzsong@member.fsf.org> (iyzsong@envs.net's message of "Thu, 31 Aug 2023 18:51:14 +0800") Message-ID: <87o7im5zb5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65654 Cc: Raghav Gururajan , =?utf-8?B?5a6L5paH5q2m?= , Liliana Marie Prikler , 65654@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.0 (-) Hi =E5=AE=8B=E6=96=87=E6=AD=A6! iyzsong@envs.net writes: > From: =E5=AE=8B=E6=96=87=E6=AD=A6 > > * gnu/packages/glib.scm (dbus-cxx): Update to 2.4.0. > [source]: Switch to git-fetch. > [arguments]: Use g-exps. Adjust configure-flags. > Skip 'test-machine-uuid-method' test. > [inputs]: Remove python and glibmm. Move libsigc++ to... > [propagated-inputs]: ...here. Add glib. > [native-inputs]: Remove m4. > [license]: Change to lgpl3+ and bsd-3. > --- > gnu/packages/glib.scm | 36 ++++++++++++++++++++---------------- > 1 file changed, 20 insertions(+), 16 deletions(-) > > diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm > index f523706449..043d506a9e 100644 > --- a/gnu/packages/glib.scm > +++ b/gnu/packages/glib.scm > @@ -1255,26 +1255,30 @@ (define-public dbus-c++ > (define-public dbus-cxx > (package > (name "dbus-cxx") > - (version "0.12.0") > + (version "2.4.0") Wooh, big update! > (source (origin > - (method url-fetch) > - (uri (string-append "mirror://sourceforge/dbus-cxx/dbus-cx= x/" > - version "/dbus-cxx-" version ".tar.gz"= )) > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/dbus-cxx/dbus-cxx") > + (commit version))) > + (file-name (git-file-name name version)) > (sha256 > (base32 > - "1acsgpkd9v7b9jdc79ijmh9dbdfrzgkwkaff518i3zpk7y6g5mzw"))= )) > + "0c9q2bjs4m66zq0qysyip8fnkvvjpj46rkjcvw15nhmfhzbq16ag"))= )) > (build-system cmake-build-system) > (arguments > - `(#:configure-flags '("-DENABLE_TESTS=3DON" > - "-DENABLE_TOOLS=3DON" > - "-DENABLE_GLIBMM=3DON"))) > - (inputs (list dbus > - libsigc++ > - glibmm > - python > - popt > - expat)) > - (native-inputs (list pkg-config m4)) > + (list #:configure-flags #~(list "-DBUILD_TESTING=3DON" > + "-DENABLE_TOOLS=3DON" > + "-DENABLE_GLIB_SUPPORT=3DON") > + #:phases > + #~(modify-phases %standard-phases > + (replace 'check > + (lambda _ > + ;; XXX: Missing /etc/machine-id in the build environm= ent. > + (invoke "ctest" "-E" "test-machine-uuid-method")))))) > + (propagated-inputs (list glib libsigc++)) Propagation being frowned upon, a comment should explain why it's needed here (referenced in headers or Requires of .pc files is the classic reason). > + (inputs (list dbus expat popt)) > + (native-inputs (list pkg-config)) > (synopsis "C++ wrapper for dbus") > (description "Dbus-cxx is a C++ wrapper for dbus.\n > It exposes the C API to allow direct manipulation and > @@ -1288,7 +1292,7 @@ (define-public dbus-cxx > Some codes examples can be find at: > @url{https://dbus-cxx.github.io/examples.html}") > (home-page "https://dbus-cxx.github.io/") > - (license license:gpl3))) > + (license (list license:lgpl3+ license:bsd-3)))) Perhaps add an inline comment: ;dual licensed Otherwise LGTM, assuming CI is happy. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 08:44:59 2023 Received: (at 65654) by debbugs.gnu.org; 1 Sep 2023 12:44:59 +0000 Received: from localhost ([127.0.0.1]:60020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc3WE-0001ol-Qn for submit@debbugs.gnu.org; Fri, 01 Sep 2023 08:44:59 -0400 Received: from mail.envs.net ([5.199.136.28]:54312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc3WC-0001oa-5M for 65654@debbugs.gnu.org; Fri, 01 Sep 2023 08:44:57 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 86B3538A0132; Fri, 1 Sep 2023 12:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693572284; bh=k1JILGs//B37A8p9D8gn45ns3upvR5OquesAWtISvq0=; h=From:To:Cc:Subject:Date:From; b=Tfy9KjunUO0CGBAnVQk3Yl2+A8E12oAltcmwaSAB3I5r+UUY/ML7uBFrblbtOKjb3 71JL6Qpmpml8uV0NUQP4f6MXjoRnMHibI8NlGdiUqVF87K4KQ/81sNRRYm8/OH4/yP PKLD4C+jPzyydY8IE2EK9jzcIfGBRTd6//9f578TdTuBsiRZsFasDe0agHSziY957m Jc3XOYgsclKl9xeWXY0i5FWKZa0jpZhKohCoafzlXi+7EcnMSgGZ0CM9SCFgNkgp85 SiDl0SnZE63l9HNLXPZplCVgCGOtCdbV8X7sTSvv6igiAyX0f2Maroqw5nIMd6M7Us E2zE0f9TWhx54n/xe2gzQSS1VrmHks87sX+D5ToAy3PqXRXgZfl438a3BZSeFDWeI6 0T06QOMS3helqWmczwEUzOMrQ6rSQaBWw3ZmchYWz7cinzdLj9cPXMezTPDZXczEfz 6S6Zy+c7NDSTLpi87i4iwlpOrZaHEZAF7ah5l0KEcF0FG3c6Md93Zm13aWcYkQb7XK sGHwoqHHC/FE0EZtE6YSzrCzM2QJqnJG/mBwFeIFVnlGZ0bZUtd+csDiTY6CfAobTt Tx0ulAQlYxPnrnMGtAUJZ8z7liPMJrTCNm27fJp6Qocu6TuTS16njIpKL/qg9zBHG4 o4Mdijz+YAxZ4gT6Bf7vXUGk= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id c8IIWwVQ5idJ; Fri, 1 Sep 2023 12:44:40 +0000 (UTC) Received: from localhost (unknown [36.170.58.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 1 Sep 2023 12:44:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c9c3aacf; Fri, 1 Sep 2023 12:44:58 +0000 (UTC) From: iyzsong@envs.net To: 65654@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: Add libcppgenerate. Date: Fri, 1 Sep 2023 20:44:55 +0800 Message-ID: <290e386fa27c8a2c8c098fe0007277149165a68f.1693572252.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65654 Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 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 (-) From: 宋文武 * gnu/packages/cpp.scm (libcppgenerate): New variable. --- gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 2f8cc2ce25..794a7ef98a 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1731,6 +1731,30 @@ (define-public libconfini almost every type of file containing key/value pairs.") (license license:gpl3+))) +(define-public libcppgenerate + ;; dbus-cxx requires an unreleased fix. + (let ((commit "930c5503f76c877b72b9ff8546353d6f422bd010") + (revision "0")) + (package + (name "libcppgenerate") + (version (git-version "0.2" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rm5248/libcppgenerate") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0csdg9b406i85aqgivjmvqjdnqbyiyjh3s0xsfsxppv7wlh7j85r")))) + (build-system cmake-build-system) + (arguments (list #:configure-flags #~'("-DENABLE_TESTS=ON"))) + (home-page "https://github.com/rm5248/libcppgenerate") + (synopsis "Generating C++ code") + (description "@code{libcppgenerate} is a library for generating C++ code +from C++.") + (license license:asl2.0)))) + (define-public libcutl (package (name "libcutl") base-commit: 4e531e55dcdc99c83bcfe3eec67c3fd95c7b6ca7 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 08:45:03 2023 Received: (at 65654) by debbugs.gnu.org; 1 Sep 2023 12:45:03 +0000 Received: from localhost ([127.0.0.1]:60025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc3WJ-0001ph-4E for submit@debbugs.gnu.org; Fri, 01 Sep 2023 08:45:03 -0400 Received: from mail.envs.net ([5.199.136.28]:58288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc3WG-0001ou-FP for 65654@debbugs.gnu.org; Fri, 01 Sep 2023 08:45:01 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id B160238A0143; Fri, 1 Sep 2023 12:44:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1693572290; bh=oR3lhIEB7k/w8Z7fJrsYJ8ev1OTgEz/J05n3BZu1Wvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lZqD+QmtZKnb9uWXuqmqEmkuG8OyjGWSfY2AfHDFJVBDpdTJNCBaoTBBTwsrcbooS XIvxUd3V6FXfNS8xK4jUywlQACbrNmYchjG3fi9Yy6XrkRH7KXBHFoGYvbq/lEZFCX nOq3ZtljUHo4hTUJUlgYuCfaMsgSS2EeNvn4gJ3dxN+Wrnhld12J6JoW/ipbnl4dYc crSsPRarEZ9x8dMhevrwVGXmtW3jxf/lvc052rC9MzMuQvIVDRF84ptq2Pdhld1eMZ 82YqdPmYG+FRjVqqdU2gaRn16Qy38tolK5WPGhjXZyHpLx1qK7E9dp385g4zbfkJlU v95kCqE7ZH5f+ezb7nl18bxCOwxykEjIflUYiHPb43iPKIU1qKowtlo9cGnCjtyQv6 dP49oHj6nVyRoQPN714uBT7c2AtzM0TqSSPKrb+lf6HHyrLlNNeXYjFB0Y3yx3jNeK H5T1gTUyfAgUFRQXCyqyaA+K725b0EDwKti4XiCKFCWMTI5pOER3IyTjPlVMrCtq8I z+qYhpnxI4WXT3TroOWB274z+cGP8L+kPRl7NDVkh2i7sp2NkFRLVXMs7RZlAtk+X2 JksFOT0xgORpwQ/S6j4YRlK0++bZChjer5o5cvmYfKeTvU/9qGNVzNXnVLkWoxuUFi J+fPiLiIelgMXq59TpUB7bwg= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 98sK6Y4sCOTZ; Fri, 1 Sep 2023 12:44:45 +0000 (UTC) Received: from localhost (unknown [36.170.58.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 1 Sep 2023 12:44:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 37e60cfe; Fri, 1 Sep 2023 12:44:59 +0000 (UTC) From: iyzsong@envs.net To: 65654@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: dbus-cxx: Update to 2.4.0. Date: Fri, 1 Sep 2023 20:44:56 +0800 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <290e386fa27c8a2c8c098fe0007277149165a68f.1693572252.git.iyzsong@member.fsf.org> References: <290e386fa27c8a2c8c098fe0007277149165a68f.1693572252.git.iyzsong@member.fsf.org> MIME-Version: 1.0 X-Debbugs-Cc: Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65654 Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 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 (-) From: 宋文武 * gnu/packages/glib.scm (dbus-cxx): Update to 2.4.0. [source]: Switch to git-fetch. [arguments]: Use g-exps. Adjust configure-flags. Skip 'test-machine-uuid-method' test. [inputs]: Add libcppgenerate. Remove python and glibmm. Move libsigc++ to... [propagated-inputs]: ...here. Add glib. [native-inputs]: Remove m4. [license]: Change to lgpl3+ and bsd-3. --- gnu/packages/glib.scm | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index f523706449..4857c1237e 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -44,6 +44,7 @@ (define-module (gnu packages glib) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) @@ -1255,26 +1256,35 @@ (define-public dbus-c++ (define-public dbus-cxx (package (name "dbus-cxx") - (version "0.12.0") + (version "2.4.0") (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/dbus-cxx/dbus-cxx/" - version "/dbus-cxx-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dbus-cxx/dbus-cxx") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1acsgpkd9v7b9jdc79ijmh9dbdfrzgkwkaff518i3zpk7y6g5mzw")))) + "0c9q2bjs4m66zq0qysyip8fnkvvjpj46rkjcvw15nhmfhzbq16ag")) + (modules '((guix build utils))) + (snippet '(delete-file-recursively "tools/libcppgenerate")))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DENABLE_TESTS=ON" - "-DENABLE_TOOLS=ON" - "-DENABLE_GLIBMM=ON"))) - (inputs (list dbus - libsigc++ - glibmm - python - popt - expat)) - (native-inputs (list pkg-config m4)) + (list #:configure-flags #~(list "-DBUILD_TESTING=ON" + "-DENABLE_TOOLS=ON" + "-DENABLE_GLIB_SUPPORT=ON" + "-DTOOLS_BUNDLED_CPPGENERATE=OFF") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda _ + ;; XXX: Missing /etc/machine-id in the build environment. + (invoke "ctest" "-E" "test-machine-uuid-method")))))) + (propagated-inputs + ;; Referenced in header and .pc files. + (list glib libsigc++)) + (inputs (list dbus expat libcppgenerate popt)) + (native-inputs (list pkg-config)) (synopsis "C++ wrapper for dbus") (description "Dbus-cxx is a C++ wrapper for dbus.\n It exposes the C API to allow direct manipulation and @@ -1288,7 +1298,7 @@ (define-public dbus-cxx Some codes examples can be find at: @url{https://dbus-cxx.github.io/examples.html}") (home-page "https://dbus-cxx.github.io/") - (license license:gpl3))) + (license (list license:lgpl3+ license:bsd-3)))) ;dual licensed (define-public sdbus-c++ ;; Use the latest commit, which includes unreleased fixes to the pkg-config -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 10:45:42 2023 Received: (at 65654-done) by debbugs.gnu.org; 1 Sep 2023 14:45:42 +0000 Received: from localhost ([127.0.0.1]:33607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc5P1-0002Fc-Bb for submit@debbugs.gnu.org; Fri, 01 Sep 2023 10:45:42 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:50457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc5Oz-0002FQ-TA for 65654-done@debbugs.gnu.org; Fri, 01 Sep 2023 10:45:38 -0400 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-76ef27a8e4dso132630285a.1 for <65654-done@debbugs.gnu.org>; Fri, 01 Sep 2023 07:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693579523; x=1694184323; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=cv7eIGirXEQ6YYL/H948LVNTYHJaiTIX+zWFlL83laU=; b=nAuMAWjDueCdxVse6yIvuXcCbW7J3CNjemv2avqfhYa/3d9JuWLcpdbm5cD4a+1bCQ R2Vs0dTWX374d97xufgPNHhJKqyGNNr4SW47oEAgRRX95aiHdpoFrzxyis+OboertWeo uoMOOje9s1K3pHT6FJ1pt5nxSPtBZuBJB1NCndi8/OgJQqJMHU/kYoMZ1kSdab9KDquO 5n5FLt0lGnMVnQofQMRqBOdhXT9Z/sXsrtzAjIHaIr24LCWOKRJ5ngq/K1zugFlSuaxA lCiqBYPk2aWISxfP45jM+mYeP/Vf2GP1QkoUQHzTNdvjHtGvqf9COAxejdp1S2/EabkL Oy4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693579523; x=1694184323; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cv7eIGirXEQ6YYL/H948LVNTYHJaiTIX+zWFlL83laU=; b=TmWKYCANwUgQV6HRJcYibaeWoOT+fCJmZ3YQlNBgmHdJqfUy4hehOqL+SMUNhPuV3/ L+UlYhmodFBbxEvdCozsMmkeYJc1kB0Eq7Y3FEoTONDmbBobOePblEYSJPUBsYd7FoYw oG0nDM7y/voACUtDgHly5x0Phx+cKGQN0OjmrcYB1Xzx/xsSERFNvYht6d50dGSGgJtQ ToCFDrRgkzWOJ8fNpMU6saNx7WM7YzrjMuCNguneTLmvqKAob58x6y9U9nm6G5Pp5yc6 jz4LOiceI4EF+aBlpfk79GVN1MREDqoIg+4WYH6cddHbs5ADRtksjYYsFhcu0mySsAV8 Vxvw== X-Gm-Message-State: AOJu0YwLoaqikd32CLEyyxYhpLG8q8bujVP32ruDfrGzVREHHjNgEq+k yYKnfge8yNt/S1MM0Cq115Y= X-Google-Smtp-Source: AGHT+IEj16JYUTdYnCQsssZF8uCj9g1TXHKyiHyzJyNkrn5c7QE1bhjkB/rOJajeGLFFwBWnDS0xCw== X-Received: by 2002:a05:620a:1368:b0:765:d53e:3352 with SMTP id d8-20020a05620a136800b00765d53e3352mr2577624qkl.30.1693579523056; Fri, 01 Sep 2023 07:45:23 -0700 (PDT) Received: from hurd (dsl-154-228.b2b2c.ca. [66.158.154.228]) by smtp.gmail.com with ESMTPSA id b25-20020a05620a119900b0076ef29f3429sm1429885qkk.120.2023.09.01.07.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 07:45:22 -0700 (PDT) From: Maxim Cournoyer To: iyzsong@envs.net Subject: Re: [bug#65654] [PATCH v2 2/2] gnu: dbus-cxx: Update to 2.4.0. References: <290e386fa27c8a2c8c098fe0007277149165a68f.1693572252.git.iyzsong@member.fsf.org> Date: Fri, 01 Sep 2023 10:45:21 -0400 In-Reply-To: (iyzsong@envs.net's message of "Fri, 1 Sep 2023 20:44:56 +0800") Message-ID: <87bkem2br2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65654-done Cc: 65654-done@debbugs.gnu.org, =?utf-8?B?5a6L5paH5q2m?= , Liliana Marie Prikler , Raghav Gururajan 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 (-) Hello, iyzsong@envs.net writes: > From: =E5=AE=8B=E6=96=87=E6=AD=A6 > > * gnu/packages/glib.scm (dbus-cxx): Update to 2.4.0. > [source]: Switch to git-fetch. > [arguments]: Use g-exps. Adjust configure-flags. > Skip 'test-machine-uuid-method' test. > [inputs]: Add libcppgenerate. Remove python and glibmm. Move libsigc++ = to... > [propagated-inputs]: ...here. Add glib. > [native-inputs]: Remove m4. > [license]: Change to lgpl3+ and bsd-3. Applied, with small nitpick changes (complete sentences in comments) :-). --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 10:53:02 2023 Received: (at 65654-done) by debbugs.gnu.org; 1 Sep 2023 14:53:02 +0000 Received: from localhost ([127.0.0.1]:33635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc5WA-0002Sn-0W for submit@debbugs.gnu.org; Fri, 01 Sep 2023 10:53:02 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:62512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc5W8-0002SM-7Y for 65654-done@debbugs.gnu.org; Fri, 01 Sep 2023 10:53:00 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-76da1331db9so3795585a.0 for <65654-done@debbugs.gnu.org>; Fri, 01 Sep 2023 07:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693579965; x=1694184765; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=OTko5ElCrzgJ49/e6naHovLTaE/8lZqEmsdki82BSlE=; b=n5nST3l7EmgSQqyoyinQTkz527Ealh2HQozAfp80arr1mExhaYkBp+2LAHagQ24yUP ioRwlMUuawtYtl1kKSKMMBk81hIPi5KbKg2CAYRRlwSJJsb/Hb6NCbnoDD70tNNCbl3x XG23IOblfmVcSSHJztGxBmormd/4vbGYgyolpYHeqYNGWLYbSp8lnajO57LTkDtERSYr 8WyeoQ0vHhZgGezTFjeFX4gYfd8t8WdDA/G/OwcwPxW94nQP5397JynJSX6cZ3p3HKO3 2eW2WYvbZ0IHhFRXbCZlbnzUgqqpFhTCcs1rG+OlvOW+YsQbwNZ5/jniaMYYGbQUiDA5 6iGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693579965; x=1694184765; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OTko5ElCrzgJ49/e6naHovLTaE/8lZqEmsdki82BSlE=; b=UrtzhLTE0ga8j5zK2BysvTJ5TVtGp4DuCEQ8PWMjusPfrtoaIjUScVdAKDVsyKNVkE mdPvh+WkQCjw6GHtqL7USgFLllZ7AYmMnUhb0ajjKUR8mw8Tbij0lFBjYQ2yul9OqDOj F2pW1CH170SVBIPlWSK3DCgF3UH7+nmER0SeTapTyzgW0O/NuwHOYVSjbBQPWHzYgc6y Dnl3JLMk0X47RPX3Cmzvt1pBTwgVjjK7jfHVCLYwQw/qJu1qLI3ibUz/RR3o+pocZtO+ aGOojLn06NJx4OqxWnygitUoYFsZ/CLgxaS2W+hbZMikmFtPcM52tpII/RJ1DzSh1OEd hPAA== X-Gm-Message-State: AOJu0Yy/QJyu7e4OKD6sMF9fbGQ5Kuok0awrn7EuV1SJJByd5IPD+y0t 04Lfnto8O5+LpMPkl7LvmNo= X-Google-Smtp-Source: AGHT+IHEM7pRs+6pykoTfXRXJQplMyYblOW1KenotB9fkFX1fLS8LLy8CAX8N5NROG1V5Q4YsRQVcw== X-Received: by 2002:a05:620a:191f:b0:76d:b517:ce6e with SMTP id bj31-20020a05620a191f00b0076db517ce6emr3699503qkb.10.1693579965349; Fri, 01 Sep 2023 07:52:45 -0700 (PDT) Received: from hurd (dsl-154-228.b2b2c.ca. [66.158.154.228]) by smtp.gmail.com with ESMTPSA id y21-20020a37e315000000b0076827ce13f6sm1450932qki.10.2023.09.01.07.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 07:52:44 -0700 (PDT) From: Maxim Cournoyer To: iyzsong@envs.net Subject: Re: bug#65654: [PATCH] gnu: dbus-cxx: Update to 2.4.0. References: <5686dc3309451165e7875231057a98030399a085.1693479069.git.iyzsong@member.fsf.org> <290e386fa27c8a2c8c098fe0007277149165a68f.1693572252.git.iyzsong@member.fsf.org> Date: Fri, 01 Sep 2023 10:52:43 -0400 In-Reply-To: <290e386fa27c8a2c8c098fe0007277149165a68f.1693572252.git.iyzsong@member.fsf.org> (iyzsong@envs.net's message of "Fri, 1 Sep 2023 20:44:55 +0800") Message-ID: <871qfi2bes.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 65654-done Cc: 65654-done@debbugs.gnu.org, =?utf-8?B?5a6L5paH5q2m?= 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 (-) Hi, iyzsong@envs.net writes: > From: =E5=AE=8B=E6=96=87=E6=AD=A6 > > * gnu/packages/cpp.scm (libcppgenerate): New variable. > --- > gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm > index 2f8cc2ce25..794a7ef98a 100644 > --- a/gnu/packages/cpp.scm > +++ b/gnu/packages/cpp.scm > @@ -1731,6 +1731,30 @@ (define-public libconfini > almost every type of file containing key/value pairs.") > (license license:gpl3+))) >=20=20 > +(define-public libcppgenerate > + ;; dbus-cxx requires an unreleased fix. > + (let ((commit "930c5503f76c877b72b9ff8546353d6f422bd010") > + (revision "0")) > + (package > + (name "libcppgenerate") > + (version (git-version "0.2" revision commit)) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/rm5248/libcppgenerate") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0csdg9b406i85aqgivjmvqjdnqbyiyjh3s0xsfsxppv7wlh7j85r"= )))) > + (build-system cmake-build-system) > + (arguments (list #:configure-flags #~'("-DENABLE_TESTS=3DON"))) nitpick: #~(list ...) is more readable > + (home-page "https://github.com/rm5248/libcppgenerate") > + (synopsis "Generating C++ code") I'd use "C++ code generator library for C++". I'll install this change along the dbus-cxx update. --=20 Thanks, Maxim From unknown Mon Jun 23 04:11:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Sep 2023 11:24:20 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator