Received: (at 54581) by debbugs.gnu.org; 5 May 2022 10:51:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 05 06:51:39 2022 Received: from localhost ([127.0.0.1]:44469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nmZ59-0001gZ-Lk for submit <at> debbugs.gnu.org; Thu, 05 May 2022 06:51:39 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:40814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nmZ57-0001gP-7e for 54581 <at> debbugs.gnu.org; Thu, 05 May 2022 06:51:38 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id Syrb270014UW6Th01yrbhk; Thu, 05 May 2022 12:51:35 +0200 Message-ID: <508df2dffa47f1b29da037be6734334abf59763c.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Thu, 05 May 2022 12:51:09 +0200 In-Reply-To: <87zgjw776x.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> <87k0c9kvgb.fsf@HIDDEN> <11f5d0db1bb596cae8e2ee746a8dc77d5d6bbb37.camel@HIDDEN> <87fsmxkt7v.fsf@HIDDEN> <87zgjw776x.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-6RIT3hvwnJtSNjs5aJAC" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651747895; bh=wQTkzpinMxbCTKpJLEdAj3y/z1Dp5uGhhdjZNXa5U1s=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=VpbUgLc8a4lDgmIGqqDmxnLPwIPRMb2UkS80xbTmoRSjMbjxkjNRoAztZASAEWsJb ZaT/9xYvEQU1l+keK+mwVx5oS0lukOg7BDOGzOFNruOmSaOHWbesy04IBzJ8mP6J6C fgeU2GhApYOOFqKOVZ6tSRltKVg4+ET753JP+M6COXNlXk8OXRBmrE882eBeXvPF+F TobPUvD2ry+0gGLCpRpllrMMCdYig8w8QCvMIA1LfJ8RfhYSnOp/wsUXpSqCLnDg7q 8J/Wxe+k/OaSeOtPt533lz73ayHgXE2RjrHqWWEz9Ox1IR7WX0joLsYlFU8LsdgEPa 4Hxqozt/4KUfA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-6RIT3hvwnJtSNjs5aJAC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op do 05-05-2022 om 09:46 [+0200]: >=20 > Hi Maxime, >=20 > is there anything I can do to move this forward? >=20 > Roman I am currently not reviewing packages much, so for now, you will have to wait for another reviewer (or committer if the package definition is good). Greetings, Maxime. --=-6RIT3hvwnJtSNjs5aJAC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnOsHRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rRBAQDqPAb0xpG2Qn+sCU5n2KqvdOgM dF+fn2D2dxIMwVE71QD/Ztx1NWyJyxdP/EmEqZJSe9c0fFORSGeh0tg4zRs4WQA= =ter3 -----END PGP SIGNATURE----- --=-6RIT3hvwnJtSNjs5aJAC--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 5 May 2022 07:46:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 05 03:46:49 2022 Received: from localhost ([127.0.0.1]:44306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nmWCG-00054R-RQ for submit <at> debbugs.gnu.org; Thu, 05 May 2022 03:46:49 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:41481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman.scherer@HIDDEN>) id 1nmWCF-000549-Ds for 54581 <at> debbugs.gnu.org; Thu, 05 May 2022 03:46:48 -0400 Received: by mail-ej1-f51.google.com with SMTP id dk23so7115274ejb.8 for <54581 <at> debbugs.gnu.org>; Thu, 05 May 2022 00:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=RGBq0W4++1Lt70jj7cm+VTzCxn9ug9/7xily66qHl4w=; b=4u2MLa+TXoqHSv64TBeat7viaIT2a/WPvt6e86ROxCswnTbv/V1yMtF/Nt16W2xr4Q dZUf73+WCaHrSQkahHEOSgH2PFkazS1s5Ipsl18+vXgXJtbX8f+Bs6976eWRAjm9PdxQ /3oHhU9RLeddmTaxarczlG7U+FQdfW7EqOMNQC7JjxbOg9kG2AbKKwtheggcYM4LkYF1 Jv9zOVHjzl2mft5SMuV8JzU+HDbDPcT+UswQtVr8SaZc1/D9pCWEEHiGFoXluQFwYG97 MLsv+q0TquLpYQUV10lP09OfbkS6yG+rFAQYUiRjlVQlqS4oS9kj4YnTwQh1IlqaLow2 XP/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=RGBq0W4++1Lt70jj7cm+VTzCxn9ug9/7xily66qHl4w=; b=7Ubhda/HaK6xTvj4XunEzhI0fm6mMTNyvbc5lU6/81JZPjx4pe3ZrCc4jLKCU3XSwE Ql2GHTU11QS8PdDPl4LanoR+5g7ibXYLq+DPoRhgo4+udZLWYMDOrpmCSTcEcJ9cKsho I0a3WRY08NwcUHm0xQxcqe6Y9anYGslw6KY71H0VITrkNOtKz0BddqDEqedBdfnem75i D5+a1ngzOJeJrKyHPz3SREfgBafh/ezdBMxVOMQry6nq8UgNOSbraSoKUJx92pQ1UbnR XOVlP8Zy+9f+7eyAjMAlVLC2plrlIwepvEqr1tla4sajkcbfHMFmQglWlQlQDAMO4Udx O69Q== X-Gm-Message-State: AOAM533zNtNONQTkvTLjLeo64jY9v9KMeAutjEMRbwuV5DiUX08mDOeM c4M+Q1BLtiTr6hplEhxxuG3LFIHw7jCdL01EQGQ= X-Google-Smtp-Source: ABdhPJyGMf3SHdnRQ5Ug13bd8dsbcL+Fik+luDpLeLDGfX+plXMJzlp4bK388haCSica46/UQi3GNA== X-Received: by 2002:a17:906:a08b:b0:6cf:65bc:e7de with SMTP id q11-20020a170906a08b00b006cf65bce7demr25065987ejy.220.1651736801103; Thu, 05 May 2022 00:46:41 -0700 (PDT) Received: from thinkpad (tmo-116-45.customers.d1-online.com. [80.187.116.45]) by smtp.gmail.com with ESMTPSA id p21-20020a17090653d500b006f3ef214e3csm424650ejo.162.2022.05.05.00.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 00:46:40 -0700 (PDT) References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> <87k0c9kvgb.fsf@HIDDEN> <11f5d0db1bb596cae8e2ee746a8dc77d5d6bbb37.camel@HIDDEN> <87fsmxkt7v.fsf@HIDDEN> User-agent: mu4e 1.6.10; emacs 28.1.50 From: Roman Scherer <roman.scherer@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package Date: Thu, 05 May 2022 09:46:01 +0200 In-reply-to: <87fsmxkt7v.fsf@HIDDEN> Message-ID: <87zgjw776x.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi Maxime, is there anything I can do to move this forward? Roman Roman Scherer <roman.scherer@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > > Ok, thank you. The attached patch uses the inverse condition now. > > [2. text/x-patch; 0001-Add-emacs-sqlite3-api-package.patch]... > > > Maxime Devos <maximedevos@HIDDEN> writes: > >> [[PGP Signed Part:Undecided]] >> Roman Scherer schreef op vr 01-04-2022 om 11:07 [+0200]: >>> I changed the #:tests? keyword to (%current-target-system), but I >>> noticed the tests of the package are now not run anymore when I build >>> the package. Is this expected? >> >> You need the inverse condition: >> >> #:tests? ,(not (%current-target-system)) >> >> otherwise, tests are only run when cross-compiling, and not when >> building natively. >> >> Greetings, >> Maxime. >> >> [[End of PGP Signed Part]] > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmJzgN4fHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBma8fB/9Vl39xS6jSmnQR kFaoM74hhDfA9DiPM3Iw2QD2YlsWG/swtA6VKR+IFx/3eA7eBfCCeQWbwt9+hBsB jjLwSy3HM9IB6NhGd+mN9GJeR48WxkmsKgN7CH2XTksA9lHTZ0kqOE/nPIMRTr3U A9U8oe/mUgdUHfgyOoPbWACuCnDIN2QToRP2aZt5SCa4XxaHHH6903rqCk2Bka42 iSsVRGhbeXt4OsjO3uP0akZif7QEBTjnBY8g0HI+fD/8dJAtds8UMWGZUNqur4ef /gXki9y5q3q3IIcuidyvDSBLeNxhSF7GwY3MRZdfzI8l91nwadkPastM946pUNcu xl9uwkkR =NJbG -----END PGP SIGNATURE----- --=-=-=--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 1 Apr 2022 10:13:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 06:13:36 2022 Received: from localhost ([127.0.0.1]:40940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1naEHg-0003qs-Gy for submit <at> debbugs.gnu.org; Fri, 01 Apr 2022 06:13:36 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:42787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman.scherer@HIDDEN>) id 1naEHe-0003qa-S4 for 54581 <at> debbugs.gnu.org; Fri, 01 Apr 2022 06:13:35 -0400 Received: by mail-ej1-f44.google.com with SMTP id j15so4779345eje.9 for <54581 <at> debbugs.gnu.org>; Fri, 01 Apr 2022 03:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=2w5HGqZGK1ciT+mTxmvyQda0rFOX1ihBlkyKs2vdZdI=; b=54XA5zcXMqg4KbtJmVlfVfMamOaX+LvTXEmK0jFveSeXZJ79Ceg7/VBHRiLs3m4+gL wdIlkvRXfN8Gc95LpAQQXK3qDr35hZQqNZFLuTacguHl3TguyGVS3MljxHss0KlohSVa MKgwm1PJ6lWncZ7uZL77bul2aiq7ym/h1+Z2sSfgos7DEmJXoi47k76N/qwKqd4NExNV lkzhEaPskYPQlb9ehnM1aPKWPN0grKn73c6cRwaxVKjulxA2SoLnAWPvFxXW394EW0SQ B9ogHO6hvTW1srmg8H49qEg43lWC4lO2wmQJBcpHqe7JAcpVdGlrvkmr7gMuXMJ/tGE1 u9/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=2w5HGqZGK1ciT+mTxmvyQda0rFOX1ihBlkyKs2vdZdI=; b=sHAOr1XYrb1w2wd4QgRoeeqWCcdPPjThLt1cGt5i8BCtm7YKFcrhB9db600X2YLAVJ HMvUSk01nJDGnPZWkGpgwHVmhWbsWGIgugBSU79QkiDS6+oZ2s8fzSgT8fnJV7xbgMaS J1cs+nvo9qHL5CA0jApeFIuGiF9VXbBIewLStkWwlGQ4JFVhAWtIB9OjSQRVeBPVs/UK u3GxsjxyFs78ODdwmiqTRhBQRQRRhY/05F0QZVvUIlSLtkEshYbYo3PDSkhc4P+OJELM t7rEBfLCh44oG1OA0PkQtbJ20mbAAUA6HrWIz0BGqATRaSLt3jmjz6RGgFi5CuLCq+PV iHhg== X-Gm-Message-State: AOAM530pHIFlw3v7Vpr98hQVVfI1AdlvpLjcX98I3OSC3neC/IBmcp1E K2QWMe6r2jJYjEbZzgaImfexuC6j5O50rrBT X-Google-Smtp-Source: ABdhPJxhTXDE1CWYwrOvpPIcwgdEAk3SHBRQUhr2kX+v4WLYzh1oTrVVy3mUPowWDTQMw4JJqgK/cw== X-Received: by 2002:a17:906:6a1b:b0:6e0:b38b:f74c with SMTP id qw27-20020a1709066a1b00b006e0b38bf74cmr8915661ejc.46.1648808008845; Fri, 01 Apr 2022 03:13:28 -0700 (PDT) Received: from thinkpad (tmo-117-244.customers.d1-online.com. [80.187.117.244]) by smtp.gmail.com with ESMTPSA id eq7-20020a056402298700b00419d8d46a8asm956119edb.39.2022.04.01.03.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 03:13:28 -0700 (PDT) References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> <87k0c9kvgb.fsf@HIDDEN> <cc628ceb54571c9aca34f21d415483d6ceb98673.camel@HIDDEN> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Roman Scherer <roman.scherer@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package Date: Fri, 01 Apr 2022 12:13:05 +0200 In-reply-to: <cc628ceb54571c9aca34f21d415483d6ceb98673.camel@HIDDEN> Message-ID: <87bkxlkt6h.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Ok, understood. Thanks for the explanation. Maxime Devos <maximedevos@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > Roman Scherer schreef op vr 01-04-2022 om 11:07 [+0200]: >> ./pre-inst-env guix build emacs-sqlite3-api --target=x86_64 >> guix build: error: /home/roman/workspace/guix/gnu/packages/emacs- >> xyz.scm:5738:4: emacs-sqlite3-api@HIDDEN: build system >> `emacs' does not support cross builds > > FWIW x86_64 is not a valid triple, you need something like > > --target=aarch64-linux-gnu > > or > --target=x86_64-linux-gnu > > or > --target=i686-pc-gnu # or was it i586? > > though that won't work either because emacs-build-system doesn't > support cross-compilation yet. > > Geetings, > Maxime. > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmJG0EYfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmTN6CACYF2z7kqujbsHV 9pC+FcEifbDfJF+coBbjei4qBBtUqrXyEOTw6WTtvbpfUc/J+aoYS3XTTPb99WHX AOYcnxexqOpyLwLf6huo/DPOrv+N+4IKsvv/uZNpXu+X4kW0YXbH9T7kzJPo2JTO Gghbz4qbvyNCcwTuP5iqf85jc8qYj8vdUJl470eWCVvD/1ZjscmT7xqdgJBTxZ8Y puZ3vgROCNLi3BkwJnDgoOLkpgsDH9N7vGnP7Q9a3FqlQjqhX+55TUM52493Rv6Q lewdZ3VG6+7KnBPJr4nAlaq9zD7LMkJCYppK8MA9eyQTOkfNRv5A/Fd1l6ZYZSxw kJGUBtsO =oheZ -----END PGP SIGNATURE----- --=-=-=--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 1 Apr 2022 10:12:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 06:12:50 2022 Received: from localhost ([127.0.0.1]:40936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1naEGs-0003ok-UO for submit <at> debbugs.gnu.org; Fri, 01 Apr 2022 06:12:50 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:39827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman.scherer@HIDDEN>) id 1naEGq-0003oQ-RU for 54581 <at> debbugs.gnu.org; Fri, 01 Apr 2022 06:12:46 -0400 Received: by mail-ej1-f53.google.com with SMTP id dr20so4794346ejc.6 for <54581 <at> debbugs.gnu.org>; Fri, 01 Apr 2022 03:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=8b4CAiF7kwyu+GzsYuxK2z7wjm1baRfziSk4xT1z1v8=; b=afqbtw61eeNKJ96o2NeGvJYx0dUujzS/VbXqKG45amXFkKHbBtJL09JyyFfd0QHcvo cTXJdTQO0dAoXMW5knlFHGqUN2sY/Mwhe1Y2DfwWPNVB5y9MEG12YZNoCmNLxsyVZcfS sXkEtWBjGUy0UiiTgmanYOV5tV16A1RvLmk5DVPIcwjR6xZOBSDFxVjdz5WHJrLt89tZ mMO5oaH+TmpBHhx2IiKBX+dVGCjRS1GKbt3ou51euGesNWXrtHAernvmeunczPL/0M3s TvHON6wGbi/94ChBq5hh0FVySuiRvmPyq98lX2Hi1maGubGA19OY7lUFTv8dHgJ/VYex 7PZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=8b4CAiF7kwyu+GzsYuxK2z7wjm1baRfziSk4xT1z1v8=; b=XBczXEEtRuWVKPYfMcojRHmnoDT6cEZOcEP9wNxGktMC0IX0vaUxAtWVAyrZva88CG +OJapazD5u688ypwu6OPqOiAq6VutlNbCREyxG5tj9jLN84rnfHETwgB2WIpN5SL7WIN NZPudEnMGhw/hi8uUnOEgngcEWznQslvgkfHCVYAhe5l+WU7UwBLBEGei/3RuHblwD83 nseA42cN/3KeJk6kxyxwMVnsY6cTkc082hU/7ogEsTfXZhdcWME1yNGfMPoYxxvKsZNp XJS7ur3ywag8CMGsC5aPZ9CmM9beQqau+64fzo/6QhA2ZFnIPt+LlCW8LlhPqxwB+Alc pnng== X-Gm-Message-State: AOAM532oFkk8typzLbNEneDZmTCoilW0KpACV+tjywY3WXah8govZ5zl dpsmLgVwUdRd2/a2PhXW+a2O+oyldTZz8E65 X-Google-Smtp-Source: ABdhPJxt5dV9xEGXtWs8DQ0ETFLANL4+KIuz3BX/MY50XXZpE/srordvM1BXxamf1PwwR/FCiXwpSA== X-Received: by 2002:a17:907:7ba3:b0:6df:b07c:ee35 with SMTP id ne35-20020a1709077ba300b006dfb07cee35mr8695771ejc.588.1648807958541; Fri, 01 Apr 2022 03:12:38 -0700 (PDT) Received: from thinkpad (tmo-117-244.customers.d1-online.com. [80.187.117.244]) by smtp.gmail.com with ESMTPSA id e10-20020a170906748a00b006dfaff31e88sm861896ejl.125.2022.04.01.03.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 03:12:38 -0700 (PDT) References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> <87k0c9kvgb.fsf@HIDDEN> <11f5d0db1bb596cae8e2ee746a8dc77d5d6bbb37.camel@HIDDEN> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Roman Scherer <roman.scherer@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package Date: Fri, 01 Apr 2022 12:11:39 +0200 In-reply-to: <11f5d0db1bb596cae8e2ee746a8dc77d5d6bbb37.camel@HIDDEN> Message-ID: <87fsmxkt7v.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Ok, thank you. The attached patch uses the inverse condition now. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-emacs-sqlite3-api-package.patch Content-Transfer-Encoding: quoted-printable From=202f6a85911d6e6542c5ccbbecaf753605008ed7ea Mon Sep 17 00:00:00 2001 From: r0man <roman@HIDDEN> Date: Sat, 26 Mar 2022 14:59:01 +0100 Subject: [PATCH] Add emacs-sqlite3-api package This patch adds the emacs-sqlite3-api package to Guix. The package provides a dynamic module for Emacs that allows direct access to the SQLite C interface. It only exposes a subset of the full SQLite C interface, but should satisfy most user's needs. The original source code uses a file called constants.c, which is checked i= nto the repository, but can be generated by running make in the tools directory= of the source. However, the procedure to generate this file downloads a list of constants from the SQLite website. We are patching the scripts to generate those constants, to not download anything from the internet to have a stable build process. =2D-- gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 42fc13f4c2..b3575e9297 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5731,6 +5731,67 @@ (define-public emacs-sqlite It is not intended as a user interface.") (license license:gpl3+)))) =20 +(define-public emacs-sqlite3-api + (let ((version "0.15") + (revision "0") + (commit "7cb4b660fe30deb8a4229f3abb18bd99ca9c971c")) + (package + (name "emacs-sqlite3-api") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pekingduck/emacs-sqlite3-ap= i") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b7if1dp6i5kqwhq25gna89xbca66i4mmgx1a5yn12kncfdgs6d7"))= )) + (build-system emacs-build-system) + (arguments + `(#:modules ((guix build emacs-build-system) + (guix build emacs-utils) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-module-load + (lambda* (#:key outputs #:allow-other-keys) + (chmod "sqlite3.el" #o644) + (emacs-substitute-sexps "sqlite3.el" + ("(require 'sqlite3-api nil t)" + `(module-load ,(string-append (assoc-ref outputs "out") + "/lib/sqlite3-api.so")))))) + (add-before 'check 'build-emacs-module + (lambda* (#:key outputs #:allow-other-keys) + ;; Remove code that fetches constants from the SQLite websi= te + ;; and the call to generate a timestamp. + (invoke "sed" "--in-place" "3,4d;24,28d;31d" "tools/gen-con= sts.sh") + ;; Remove filter logic from the script that generates the c= onstants. + (invoke "sed" "--in-place" "7,11d;18,22d" "tools/gen-consts= .py") + ;; Generate the consts.c file. + (invoke "make" "--directory=3Dtools") + ;; Remove the SQLITE_STATIC and SQLITE_TRANSIENT + ;; constants. They cause a compilation warning and would ha= ve + ;; been removed by the original script. + (invoke "sed" "--in-place" "/ifdef SQLITE_STATIC/,+2d" "con= sts.c") + (invoke "sed" "--in-place" "/ifdef SQLITE_TRANSIENT/,+2d" "= consts.c") + ;; Compile the shared object file. + (invoke "make" (string-append "CC=3D" ,(cc-for-target))) + ;; Move the shared object file into /lib. + (install-file "sqlite3-api.so" + (string-append (assoc-ref outputs "out") + "/lib"))))) + #:tests? ,(not (%current-target-system)) + #:test-command '("make" "test" "EMACS=3Demacs"))) + (inputs (list sqlite)) + (native-inputs (list python sed)) + (home-page "https://github.com/pekingduck/emacs-sqlite3-api") + (synopsis "Dynamic module for Emacs to access the SQLite C interface= ") + (description "This package provides a dynamic module for Emacs that = allows +direct access to the SQLite C interface. It only exposes a subset of the = full +SQLite C interface, but should satisfy most user's needs.") + (license license:gpl3+)))) + (define-public emacs-sr-speedbar (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47") (revision "0")) =2D-=20 2.34.0 --=-=-= Content-Type: text/plain Maxime Devos <maximedevos@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > Roman Scherer schreef op vr 01-04-2022 om 11:07 [+0200]: >> I changed the #:tests? keyword to (%current-target-system), but I >> noticed the tests of the package are now not run anymore when I build >> the package. Is this expected? > > You need the inverse condition: > > #:tests? ,(not (%current-target-system)) > > otherwise, tests are only run when cross-compiling, and not when > building natively. > > Greetings, > Maxime. > > [[End of PGP Signed Part]] --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmJG0BQfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmQVBCACmQAaHJ6He8K6I rGVSGiNjq4a1cBNGtmHvrTzwjROj/syEQzEkHXWtLo3FBezxuV0ABcCpLBROVFlx DvGlATGVL4AvwBVwVJV9BDkKR3qHfWu0YABU+HVvr/4q1z3gPiE0g1CNPYmcIXK7 83ThVv42TlTSTp9Vi0nnENTUTZaxTfL94JYwTW6fJWMe2hEMJTp/QsJfikGzs2iv vyPZ1LmRjjQmzyftLEeIwdxqRBMbTnWvoMWJzdyXcA4BKfNtWqAnhpsSQNmXR3MJ 7NmelcA8YLPAhDxOtEuxBUTc24daMZI5FsB+YTraUJAiWVKTBWL8zamnYVOdSrET Ss6j3LGm =7vdI -----END PGP SIGNATURE----- --==-=-=--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 1 Apr 2022 09:59:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 05:59:07 2022 Received: from localhost ([127.0.0.1]:40929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1naE3f-0003IK-NQ for submit <at> debbugs.gnu.org; Fri, 01 Apr 2022 05:59:07 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:34006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1naE3e-0003I9-P4 for 54581 <at> debbugs.gnu.org; Fri, 01 Apr 2022 05:59:07 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id DMz52700B4UW6Th01Mz5Sl; Fri, 01 Apr 2022 11:59:05 +0200 Message-ID: <cc628ceb54571c9aca34f21d415483d6ceb98673.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Fri, 01 Apr 2022 11:59:04 +0200 In-Reply-To: <87k0c9kvgb.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> <87k0c9kvgb.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-0Nt74FmVDxi909dNm+Tb" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648807145; bh=Ka5v/3DaTKnbgiXk2YMjntkFbTdLALLVjhJ8kRmcsAw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=knfBb8juNQVDijEXM5ECsyPnR3UdINWhDtW7Mwl3siznhq6JwQYO0zZTWoPH5gf48 SXFqoqN4xQcvdABkXosab4lvxf47TD9/XlDCnEuCOD7f/bnO+xFjzPiXB5DYUDh+ZB odfG7lH2yJAMR7vB2kuKH26cq5k6VaLdJRAMgaz7HsK8Kfr+A0np7DUv67W6OVxmXc HSu0FiPGWI7+hBuk2OctwUbkOXBapkgDmx4YonZG5LbziOHcbaPA5VVMNvLjGfCVaq BBWUmQuiTJeL5vJrDFAz2GY10UmQ8qANPGiGo6iGStqY+zo8ogYgZQxfZ+t34PKiVr P1j+FBOkJOs5g== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-0Nt74FmVDxi909dNm+Tb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op vr 01-04-2022 om 11:07 [+0200]: > ./pre-inst-env guix build emacs-sqlite3-api --target=3Dx86_64 > guix build: error: /home/roman/workspace/guix/gnu/packages/emacs- > xyz.scm:5738:4: emacs-sqlite3-api@HIDDEN: build system > `emacs' does not support cross builds FWIW x86_64 is not a valid triple, you need something like --target=3Daarch64-linux-gnu or --target=3Dx86_64-linux-gnu or --target=3Di686-pc-gnu # or was it i586? though that won't work either because emacs-build-system doesn't support cross-compilation yet. Geetings, Maxime. --=-0Nt74FmVDxi909dNm+Tb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkbM6BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qCeAQCv89US+K8DjUtRNWPnpasOwiSU KmKK/cTLP+9PKfZ2GwD8DPFwcP8qODYAMB7XigpHOFTwKMeJYfTdHIrqEOyskAc= =SH8k -----END PGP SIGNATURE----- --=-0Nt74FmVDxi909dNm+Tb--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 1 Apr 2022 09:57:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 05:57:46 2022 Received: from localhost ([127.0.0.1]:40924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1naE2M-0003Ex-EV for submit <at> debbugs.gnu.org; Fri, 01 Apr 2022 05:57:46 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:33664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1naE2K-0003Ek-2h for 54581 <at> debbugs.gnu.org; Fri, 01 Apr 2022 05:57:44 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id DMxg2700W4UW6Th01Mxgdy; Fri, 01 Apr 2022 11:57:42 +0200 Message-ID: <11f5d0db1bb596cae8e2ee746a8dc77d5d6bbb37.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Fri, 01 Apr 2022 11:57:40 +0200 In-Reply-To: <87k0c9kvgb.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> <87k0c9kvgb.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-OROX1lYioIYpD6vUSnQh" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648807062; bh=aug2Zq5Dhl48NnHTh9+z13t5sa5F5a36f5THsJB0N8M=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=OMrHUQbkKpFUMxfCq3I4HTe0cuY9bpqJMd0apvq+u0gLf1C0xEgl17HBmKPsAwK75 uCxzhZ3hxrEQMVHP17RSwGTv9MBJ0ih+3V+49t/HaCnl830LSPaquxrREZuZKtzx1X ly0PUuN63FlLCdBLBlxFyNkIsGk6CKv7CMzHKGZEPKifvcZ/gRZF8jHcMDU3QRMpPt TWjobLXfooSph3EAQeLpaXRgS1N6u+Q7kyUFg7fIY3ndbyLSXG3uejueI4922HVpCe GZ1Pdi7fVgLaDvNEVWQZXV69y1QBapSVm/ijOYKnA3piJfhirMOAV0aPLcFYzraJ60 lUf6qbjuJE1Eg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-OROX1lYioIYpD6vUSnQh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op vr 01-04-2022 om 11:07 [+0200]: > I changed the #:tests? keyword to (%current-target-system), but I > noticed the tests of the package are now not run anymore when I build > the package. Is this expected? You need the inverse condition: #:tests? ,(not (%current-target-system)) otherwise, tests are only run when cross-compiling, and not when building natively. Greetings, Maxime. --=-OROX1lYioIYpD6vUSnQh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkbMlBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7s6vAQCVdobbd1WrtQJTzeCLqfgWhWDL gtO1LmVlOdfdidWKcAEA1k4cU+D7Vcg5ywjpgvHBkGPgsphJoZxCFwVCrm8mlAE= =DAHh -----END PGP SIGNATURE----- --=-OROX1lYioIYpD6vUSnQh--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 1 Apr 2022 09:24:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 05:24:35 2022 Received: from localhost ([127.0.0.1]:40891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1naDWB-00024n-F2 for submit <at> debbugs.gnu.org; Fri, 01 Apr 2022 05:24:34 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:41791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman.scherer@HIDDEN>) id 1naDW9-00024a-Df for 54581 <at> debbugs.gnu.org; Fri, 01 Apr 2022 05:24:30 -0400 Received: by mail-wr1-f41.google.com with SMTP id h23so3307218wrb.8 for <54581 <at> debbugs.gnu.org>; Fri, 01 Apr 2022 02:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=cEWERqTYk28P5vI44U5JeIsMS/jtS4GFD+jml7tuhlI=; b=H7R8+oytfKSdLSECbcEy0+S20uh/XxqrZVmg604W3h2OGfGVSvPXdH4Q/iOh/Zgd7O cYOtRszZgZiUbptmbm4JCCUXn4IVE99h93POBkviWGorqshXaPNdE5LvJSX5ofZOEF3S OXsGoCv5v1Ha7IiTNFrex2UM32FyhwYOa/bhLBbaR7NkMKqFZnm9zz22vK0VKpImFj4G ZAXsXXtGTu3gXE/BgCY6nizhg4cnj/qrdKBYIknPZxpeuUn1cKvhh4/5vvDcTivJZpBT 3IwtIlCDvvYXcbAJqJuRfj6qT85eExwg+6P6OZKaQp8eqWtKSoHBBkAlilPFCby1zLXO vnRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=cEWERqTYk28P5vI44U5JeIsMS/jtS4GFD+jml7tuhlI=; b=WLpReYgLmPSkSidl4vL0U4GQAKf++aFoNHEAP+WxQ1HCX5ljT7Ht+Ark4Ji7LHy5Yy wh2JjCfzJQetV12HGQU3PfQ0UjKbDZaHoDLe50QUIANd0I2fAU3eMzgYeuzjFeCuyb98 zNt8necFgmGOETyE4jKzBNUe3GSFxiDGKH5JXuLVhg5x8MXPDOeyn91J0zq6WOLRcHog H/CMpcKlNolFOADfXoC4Q9DYMmKgYWQ6sBPkGeSIw2HsNtq7mNuw6ZgZf8X5ynotvCIe i1dVL/vy/bxfGzsSuPOktcWLJt2FuD8gPyhX4Hj5KW98tkUN8CJerM4BjysCUEGbX8NI RxKA== X-Gm-Message-State: AOAM5316DHULvWx55zuov4vbisXuniYBOUHHjiTYqWA5IJDbvpAWrJRy 5FaLmVFYnW9YIJ6OhzbgHLcW/GiRS4VsJiVi X-Google-Smtp-Source: ABdhPJytukX4npAAPN2FeAfQg+eEf+xlDLjO+k4P1eNDzL1ipWzMrQ4tRa3WPlRZIn9YTQ1kO/PONA== X-Received: by 2002:adf:fc0a:0:b0:203:ee19:b4a5 with SMTP id i10-20020adffc0a000000b00203ee19b4a5mr7226960wrr.245.1648805063058; Fri, 01 Apr 2022 02:24:23 -0700 (PDT) Received: from thinkpad (tmo-117-244.customers.d1-online.com. [80.187.117.244]) by smtp.gmail.com with ESMTPSA id h8-20020a05600c350800b0038cc9096507sm10237363wmq.3.2022.04.01.02.24.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 02:24:22 -0700 (PDT) References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Roman Scherer <roman.scherer@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package Date: Fri, 01 Apr 2022 11:07:57 +0200 In-reply-to: <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> Message-ID: <87k0c9kvgb.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxime, here's a new patch as per your suggestion. I'm removing the code that downloads from the internet, and the call to date for the NOW variable. I also remove the SQLITE_STATIC and SQLITE_TRANSIENT sections in the generated constants.c file, they cause a warning and would have been remove by the original script. I changed the #:tests? keyword to (%current-target-system), but I noticed the tests of the package are now not run anymore when I build the package. Is this expected? I tried to specify a target when building the package, but this gives me the following error: ./pre-inst-env guix build emacs-sqlite3-api --target=3Dx86_64 guix build: error: /home/roman/workspace/guix/gnu/packages/emacs-xyz.scm:57= 38:4: emacs-sqlite3-api@HIDDEN: build system `emacs' does not suppo= rt cross builds Do you know how I can trigger the tests when building this package from the command line, or even better from within Emacs? Maxime Devos <maximedevos@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > Roman Scherer schreef op zo 27-03-2022 om 19:55 [+0200]: >> I think my preference would be to go without generating the consts.c >> file, the patch works, it uses the same file the maintainer of the >> packages is using, and I believe it is less brittle. :) > > I don't expect any practical problems but technically it isn't source > code, and rather a binary (or, as GPL words it, =E2=80=98object code=E2= =80=99), at > least according to the GPL's definition: > > The "source code" for a work means the preferred form of the work > for making modifications to it. "Object code" means any non-source > form of a work. > > , and Guix builds things from source. I don't think constants.c is in > preferred form, rather it seems to be sqlite.h > > Maybe it's not much of a problem here though, I donk't know. > > I don't see the relevancy of what files the maintainer is using. What > does maintainerhood have to do with anything? Well, I was looking at the last time the consts.c has been modified by the maintainer and it was 2 years ago. I was thinking it would be more stable to use the code that ships with the repository, rather than building something from the internet which hasn't been updated for 2 years. But if this file is considered object code, ok. > Greetings, > Maxime. > > [[End of PGP Signed Part]] --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-emacs-sqlite3-api-package.patch Content-Transfer-Encoding: quoted-printable From=2016a89de32c9ef7458e852169e62eb08f008a6a2b Mon Sep 17 00:00:00 2001 From: r0man <roman@HIDDEN> Date: Sat, 26 Mar 2022 14:59:01 +0100 Subject: [PATCH] Add emacs-sqlite3-api package This patch adds the emacs-sqlite3-api package to Guix. The package provides a dynamic module for Emacs that allows direct access to the SQLite C interface. It only exposes a subset of the full SQLite C interface, but should satisfy most user's needs. The original source code uses a file called constants.c, which is checked i= nto the repository, but can be generated by running make in the tools directory= of the source. However, the procedure to generate this file downloads a list of constants from the SQLite website. We are patching the scripts to generate those constants, to not download anything from the internet to have a stable build process. =2D-- gnu/packages/emacs-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 42fc13f4c2..b4eacce952 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5731,6 +5731,67 @@ (define-public emacs-sqlite It is not intended as a user interface.") (license license:gpl3+)))) =20 +(define-public emacs-sqlite3-api + (let ((version "0.15") + (revision "0") + (commit "7cb4b660fe30deb8a4229f3abb18bd99ca9c971c")) + (package + (name "emacs-sqlite3-api") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pekingduck/emacs-sqlite3-ap= i") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b7if1dp6i5kqwhq25gna89xbca66i4mmgx1a5yn12kncfdgs6d7"))= )) + (build-system emacs-build-system) + (arguments + `(#:modules ((guix build emacs-build-system) + (guix build emacs-utils) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-module-load + (lambda* (#:key outputs #:allow-other-keys) + (chmod "sqlite3.el" #o644) + (emacs-substitute-sexps "sqlite3.el" + ("(require 'sqlite3-api nil t)" + `(module-load ,(string-append (assoc-ref outputs "out") + "/lib/sqlite3-api.so")))))) + (add-before 'check 'build-emacs-module + (lambda* (#:key outputs #:allow-other-keys) + ;; Remove code that fetches constants from the SQLite websi= te + ;; and the call to generate a timestamp. + (invoke "sed" "--in-place" "3,4d;24,28d;31d" "tools/gen-con= sts.sh") + ;; Remove filter logic from the script that generates the c= onstants. + (invoke "sed" "--in-place" "7,11d;18,22d" "tools/gen-consts= .py") + ;; Generate the consts.c file. + (invoke "make" "--directory=3Dtools") + ;; Remove the SQLITE_STATIC and SQLITE_TRANSIENT + ;; constants. They cause a compilation warning and would ha= ve + ;; been removed by the original script. + (invoke "sed" "--in-place" "/ifdef SQLITE_STATIC/,+2d" "con= sts.c") + (invoke "sed" "--in-place" "/ifdef SQLITE_TRANSIENT/,+2d" "= consts.c") + ;; Compile the shared object file. + (invoke "make" (string-append "CC=3D" ,(cc-for-target))) + ;; Move the shared object file into /lib. + (install-file "sqlite3-api.so" + (string-append (assoc-ref outputs "out") + "/lib"))))) + #:tests? ,(%current-target-system) + #:test-command '("make" "test" "EMACS=3Demacs"))) + (inputs (list sqlite)) + (native-inputs (list python sed)) + (home-page "https://github.com/pekingduck/emacs-sqlite3-api") + (synopsis "SQLite dynamic module for Emacs Lisp") + (description "This package provides a dynamic module for Emacs that = allows +direct access to the SQLite C interface. It only exposes a subset of the = full +SQLite C interface, but should satisfy most user's needs.") + (license license:gpl3+)))) + (define-public emacs-sr-speedbar (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47") (revision "0")) =2D-=20 2.34.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmJGxMQfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmWWWB/95+RY9RJ7GdMAW D2kF5+YEqB0mx3OvUT5VuZgk712KQmON95KEHUkakc2Zu1VU6gKyavNhplinnAC+ Z2PbZHyYmOMQuAmKYjGLiFq96JSGBiiju3h9GAu4B3gNPNntkjjN5abx56cg+ePk WS20eOJmC+S14DoTvZG29T9CAxUf/c7YOy4avv7SyMzWsuNv4+63Tv/Ksp/5lOks 7cGyYSOvbS3AuLtOLwmGehbtVZzohDVUA8MwqVeyjhzoy1W6RGnghtTFLvzvVpbd 8IVl9AQEVvA0RFoNIX800JRYwMBWPPPKhyvdO21PfQFQCvOERS9Lp1M8bNiPDqsF gzSZjSkJ =2bTI -----END PGP SIGNATURE----- --==-=-=--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 27 Mar 2022 19:45:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 27 15:45:39 2022 Received: from localhost ([127.0.0.1]:56610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYYpX-0001ez-73 for submit <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:45:39 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:44710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYYpV-0001eq-5J for 54581 <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:45:38 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id BXlb2700f4UW6Th06Xlbde; Sun, 27 Mar 2022 21:45:35 +0200 Message-ID: <6cf98cd1d3915a9808c1e074cfa6807d2f570322.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Sun, 27 Mar 2022 21:45:26 +0200 In-Reply-To: <87zglbs1hp.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-SYgRFHHgGJWDloXXZPyG" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648410335; bh=f1meua5BgS1/JL/iMzcKRMFZwBYPqXNwxVM93w5xF20=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=mCj/oCSiNjKepxZsQE0AYzv/Ytmz1kNn/2PKk6CKxBKQWML3ZBvbD06r1eokaanNd MDqeOdJos5y1VbZdmI+6I8vjq+uAR/LpBNC8q2KqFawewmZ68YJywrMVM3SZzZlP+h v2Bc3E2DTavMALmdLk+e3keG338yxo99YqVZJxvKigykHcB7RB07Lqq5l0v+bKHGWb K8dHVmQNUPkDlTGXrkEJs8WdGfoETjzLPnlsri5fufV7AVSsGV9B6GjLBjI7XNbbZY TKTWfh+Wi8lBTyALqnxws8uqoeLAMab3XPxKOPHLEnK0Y4EQR1jASw2eK7Y6Vt5yBo vQ/DnRaDu2wzQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-SYgRFHHgGJWDloXXZPyG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op zo 27-03-2022 om 19:55 [+0200]: > I think my preference would be to go without generating the consts.c > file, the patch works, it uses the same file the maintainer of the > packages is using, and I believe it is less brittle. :) I don't expect any practical problems but technically it isn't source code, and rather a binary (or, as GPL words it, =E2=80=98object code=E2=80= =99), at least according to the GPL's definition: The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. , and Guix builds things from source. I don't think constants.c is in preferred form, rather it seems to be sqlite.h Maybe it's not much of a problem here though, I donk't know. I don't see the relevancy of what files the maintainer is using. What does maintainerhood have to do with anything? Greetings, Maxime. --=-SYgRFHHgGJWDloXXZPyG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkC+1hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7i5sAQD/ejRLvjozSh6J7KWDoEDnGi7A ywAmlmpVzuqelGdxXwD/aaTyVe3bNHtNtGWiKXKdzTy24uHOPpiTObLw6g8edgk= =Qght -----END PGP SIGNATURE----- --=-SYgRFHHgGJWDloXXZPyG--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 27 Mar 2022 19:34:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 27 15:34:32 2022 Received: from localhost ([127.0.0.1]:56579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYYem-0001Na-AB for submit <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:34:32 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:58254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYYej-0001NQ-TU for 54581 <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:34:31 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id BXaU270054UW6Th01XaUZX; Sun, 27 Mar 2022 21:34:28 +0200 Message-ID: <b93d9994ea7e26499e316c43009623734adfeee6.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Sun, 27 Mar 2022 21:34:23 +0200 In-Reply-To: <87zglbs1hp.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-iMG2sehPoh8sUYylECfk" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648409668; bh=4oKU5ivFKvTdkncCuRA+M7UHF0cc1DJLzOHtcMuxZq8=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=XHiwCj4VXhguBlUrpkrQTDxrsXtMdgd6mApMR3JvUPMlCBv7o/EGnb3viNQGlA1r8 oL7Jfkb5/sxqNCvwMiX+rO74EVsNcP0/MNBTbDMiNnu30tC09rXdLwywzdqF+n3Oz4 Xn4e8qRq1BoU3yYCqahqC8q8fSwAc2XdLVMZui5WGGQr5cQFTkGfIrNN+wIFdK3dAQ p5r5tEaR1a/asWiFLIs48RLO9bzSXmaHCyBlICvkR1slRoS3QSCibk27D2be6OZTpx 2seAUOWeFKkBTmPQmBhLWmUMe3W6oICPVK2P9sphwTts8Z03gdvCXzs6OsVPqQHnI2 BaChc4A8FtHHw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-iMG2sehPoh8sUYylECfk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op zo 27-03-2022 om 19:55 [+0200]: > But I also wonder if generating the consts.c file is actually better > than just using the checked in consts.c file. The command to generate > the file fetches a web page from the Sqlite website and builds the > consts.c file with this information. And I think this is kind of a > brittle approach. How would this approach would even work with > Software > heritage? As-is, it won't even build, because the build container does not have network access. Something you could try, is adding an origin to the 'inputs': (package (name "emacs-sqlite...") (inputs `(("web-page" ,(origin [...] https://sqlite.org/c3ref/constlist.html [...]))))) and do some appropriate substitutions. Problem is that this page is not stable ... To resolve this, you could modify gen-consts.py to not use the web page to filter things out, basically, delete: useful_codes =3D [] with open(sys.argv[1]) as f: for l in f.readlines(): useful_codes.append(l.rstrip()) and #print("{0}".format(fields[1])) if not fields[1] in useful_codes: #print("{0} excluded".format(fields[1])) continue and strip out the curl stuff from gen-consts.sh. If you do this, don't forget to remove the non-deterministic NOW=3D$(date ...). Greetings, Maxime. --=-iMG2sehPoh8sUYylECfk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkC8PxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jZHAQCttOtKTGAMlpNqykmTNFrp2nu6 dhzvzdsHiC/u3rRPjAD+IIQAbEsjJwCFUaYEZPc4mdvTWjyoI7jqi+5HLJdiDQo= =4jmM -----END PGP SIGNATURE----- --=-iMG2sehPoh8sUYylECfk--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 27 Mar 2022 19:20:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 27 15:20:50 2022 Received: from localhost ([127.0.0.1]:56559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYYRW-00010v-Au for submit <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:20:50 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:45098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYYRT-00010m-VP for 54581 <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:20:48 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id BXLm2700C4UW6Th06XLmXS; Sun, 27 Mar 2022 21:20:46 +0200 Message-ID: <4449200c8a1009c2d7f06579fa2f3bd7fc915cd4.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Sun, 27 Mar 2022 21:20:46 +0200 In-Reply-To: <87zglbs1hp.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-rpCnc/wwJPle8KSeZsJu" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648408846; bh=Rn/f5OWXD0ii8670JBVv1cLMZFIrJnRR0fKB7w7IOUU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ZchJin3JOWQ+B7Y8Rj1TCa/ULxSJFSFmWEJFnFHSjgJ4ryfECanMasRj3JX3BT8vw DtCwXGPwbPNsv1Q1QQCQHeqCijCBFwhIQ/IvmK9B6jPjt33yFcfjVI1Ui0VGsstOZn qLsuwBdX1q5bpOFOr6gcmy8nxN4EzEFjs6bC8pzmqxjWi46XjKZELsJajnEnvUWMZQ GVHCjcab6YAucXBBqjLejqKaEf8xTIMt/+Gtbg01dhXrkD2uB9JnWjDxG8hGP7vqHw oGAGyNlmekGQ9x8ZV1ts6yfo4A7bK+/R995iy/rm9ycIMvRDaYuwYQB2+Esrq0xfF0 8rU1YuoVETvgw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-rpCnc/wwJPle8KSeZsJu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op zo 27-03-2022 om 19:55 [+0200]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:tests? #t To allow (*) cross-compilation, this needs to be #:tests? ,(%current- target-system). (*) cross-compilation won't work yet because Emacs is not yet cross- compilable. Greetings, Maxime. --=-rpCnc/wwJPle8KSeZsJu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkC5DhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sjAAP9m3PosVC+qkEWSTNVF/31LBetY NL2X0L1qOa479D9jIAD/WUH+9TxQtSRG2kQAOOOUoQptnBIH/l9htMabaAk0lQ0= =iD16 -----END PGP SIGNATURE----- --=-rpCnc/wwJPle8KSeZsJu--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 27 Mar 2022 19:20:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 27 15:20:01 2022 Received: from localhost ([127.0.0.1]:56554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYYQj-0000zF-3J for submit <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:20:01 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:53582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYYQh-0000z6-3J for 54581 <at> debbugs.gnu.org; Sun, 27 Mar 2022 15:19:59 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id BXKx2700A4UW6Th06XKxg8; Sun, 27 Mar 2022 21:19:57 +0200 Message-ID: <d7306e3f8901f8fa91b5f07f56659e15e1fd47ad.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN> Date: Sun, 27 Mar 2022 21:19:52 +0200 In-Reply-To: <87zglbs1hp.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> <87zglbs1hp.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-RuzNQ87mH8DKrJImVDgR" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648408797; bh=5Cjyjoc4RLSxLuC4yWDRYy94uqqB55bMSyEtZwufvvI=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=IvSJO6j6qGkllQoneHVZypj6dc8apCMfckncwLP9R0e1RwUkep84XUrQg0/ewdJWL ExW+ejp9Kvb7pwUHm4IK8R9go4GdX+foY6xiM7M1ebU7+k1E2VvGBqd5YeFibdJhFb SyngAs1izryMjLa/LFeDL0bCZh90i5bvI4l2HKVdRTg3gtQfDtQUrIKtLzJcLyJ8oC +MNi5cfJLjWXtFuq2OtemWGhdBj/WHxoD06M9dvpL6dPDtv8AlAW/j/Oi6dxEH4Dop nFrFlBaYKmUtz3N+n+MbCkAwryr4rRabMaa1XVKRkknJQfzdg9pFPgfgaNPfU554U7 jEj8pE1dhsR0Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-RuzNQ87mH8DKrJImVDgR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Um9tYW4gU2NoZXJlciBzY2hyZWVmIG9wIHpvIDI3LTAzLTIwMjIgb20gMTk6NTUgWyswMjAwXToK PiArwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGFkZC1iZWZvcmUgJ2NoZWNrICdidWlsZC1lbWFjcy1t b2R1bGUKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChsYW1iZGEqICgjOmtleSAobWFrZS1m bGFncyAnKCkpIG91dHB1dHMgIzphbGxvdy1vdGhlci0KPiBrZXlzKQoKJ21ha2UtZmxhZ3MnIGNh biBiZSByZW1vdmVkIGhlcmUuCg== --=-RuzNQ87mH8DKrJImVDgR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkC42BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7twCAQDIqmvYI8IQhxnX6E6Y4oBCh3R+ 2x8KqWH9PZZrFEb2rAD/c7edLCpVU/GWLyWG0Dad/rUDnLPWw8FFvTuzbS5D5gs= =dgQZ -----END PGP SIGNATURE----- --=-RuzNQ87mH8DKrJImVDgR--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 27 Mar 2022 18:18:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 27 14:18:38 2022 Received: from localhost ([127.0.0.1]:56519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYXTK-0007rb-7g for submit <at> debbugs.gnu.org; Sun, 27 Mar 2022 14:18:38 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:51151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman.scherer@HIDDEN>) id 1nYXTH-0007rO-TN for 54581 <at> debbugs.gnu.org; Sun, 27 Mar 2022 14:18:37 -0400 Received: by mail-wm1-f48.google.com with SMTP id h16so7146741wmd.0 for <54581 <at> debbugs.gnu.org>; Sun, 27 Mar 2022 11:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=4e3JpOYwLTWvQ7rAQHsjCJBV0TNbBRNfdk3Z5Gsl0dQ=; b=J8fTX2B40qE140BJS3SZGchAKUJ+MMWmLQfKji7Fk9P4T4Z8JikDribCZPOYvpoj4s o5lQhaVblb7jAlcp9ci/6oIIiMz/IS1Pkp5fm0nwj5YEeZYCMGJPgV7tqrN42QXrVJdx cHlv/Wm6AuXUqP7Myv1G8DH3JvmuHw2WYlAZVYUIc0Nme7S37KNwtTvQGBHPNHisudAe DgKI7gnj4PTW87VLqc8gj4NIgfWYOdtYk+Er9XplUdOufwFNdAFX6nrf/CUn5inHVrQZ I0qmRbz3cExlSlsVr4jEgHjc+eqRFginHLnFCCe+gHwvz2SyWMltgcL4qmYOyYXZG615 OW+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=4e3JpOYwLTWvQ7rAQHsjCJBV0TNbBRNfdk3Z5Gsl0dQ=; b=RVOk8UaYD5rvaSR1UmVlL6w8tQ3gTQr7dNN6q+EYHsJDIvzm/muJlbl21+H1qr3QPZ phTkZbCX/Q1Rvqh3Y8an7dYRDq9T81NPT2LT09aWopj6UQ3i3KIwImkArM9XrnYZBlUZ q1I7ekDkvEdbChMuRby8iCcQTX/w95O9355cIWFaiYoGQ/5n9OCtKaQ8k66dO3KtMo72 AGrZEKecjZ8GGT9UiBtCGMBrreAliOCZG6QUx5i6uzFd7PBE/msmCKvwkTOrC9etsW6P XD5a0+Fea+edjkQqEXkD81AaCaeoukXrGIwdJfpoHQapmCLpOmIU61hwHoE/mQ24JR9S efCw== X-Gm-Message-State: AOAM530rW3luedCxVOP2CLQiZn+KW2FN/5uoc1umW4HBnrn0Qg+oZC3r hKJsZ+DYRtO7JrsjBGJ5TGrYDu1QStM8icpe X-Google-Smtp-Source: ABdhPJwA+OfT8i+mAqBi3i6EBGf+QjTsXE0/GN+1trMbT5xinBIMSImnj0DyO6Sx9RsMP5zbxrm7cA== X-Received: by 2002:a05:600c:3548:b0:38c:e73d:e0e0 with SMTP id i8-20020a05600c354800b0038ce73de0e0mr14729765wmq.158.1648405109521; Sun, 27 Mar 2022 11:18:29 -0700 (PDT) Received: from thinkpad (tmo-116-228.customers.d1-online.com. [80.187.116.228]) by smtp.gmail.com with ESMTPSA id az26-20020adfe19a000000b00204154a1d1fsm10191594wrb.88.2022.03.27.11.18.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 11:18:28 -0700 (PDT) References: <87ils0g5uz.fsf@HIDDEN> <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> User-agent: mu4e 1.6.10; emacs 28.0.92 From: Roman Scherer <roman.scherer@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package Date: Sun, 27 Mar 2022 19:55:16 +0200 In-reply-to: <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> Message-ID: <87zglbs1hp.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54581 Cc: 54581 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi Maxime, thanks for the review. I attached 2 patches. 0001-Add-emacs-sqlite3-api-package.patch In this one I addressed your following comments: - I changed the synopsis and the description - Removed the make flags - I'm using cc-for-target now - Enabled tests The tests are passing, and I tested it manually by evaluating the Emacs Lisp code snippets in [1]. Everything seems to work fine. 0001-Add-emacs-sqlite3-api-package-generate-constants.patch In this patch I did the same as above, and I generated the consts.c file by running make in the "tools" directory. The tests are passing fine, but when I manually test it by evaluating the Elisp snippets in [1] I get an error that the sqlite-open-readwrite and sqlite-open-create are not defined in Emacs. The .so file is loaded by Emacs but somehow it does not work. I looked at the diff between the consts.c committed in the repository and the generated one, but I could not see any changes related to those functions. I'm still a bit lost about this and could need some help. But I also wonder if generating the consts.c file is actually better than just using the checked in consts.c file. The command to generate the file fetches a web page from the Sqlite website and builds the consts.c file with this information. And I think this is kind of a brittle approach. How would this approach would even work with Software heritage? I think my preference would be to go without generating the consts.c file, the patch works, it uses the same file the maintainer of the packages is using, and I believe it is less brittle. :) What do you think? [1] https://github.com/pekingduck/emacs-sqlite3-api#introduction --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-emacs-sqlite3-api-package.patch Content-Transfer-Encoding: quoted-printable From=20b1568732c8aa95aa8f6cd914a903be2f807c252d Mon Sep 17 00:00:00 2001 From: r0man <roman@HIDDEN> Date: Sat, 26 Mar 2022 14:59:01 +0100 Subject: [PATCH] Add emacs-sqlite3-api package This patch adds the emacs-sqlite3-api package to Guix. The package provides a dynamic module for Emacs that allows direct access to the SQLite C interface. It only exposes a subset of the full SQLite C interface, but should satisfy most user's needs. =2D-- gnu/packages/emacs-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 42fc13f4c2..dad0fe62e8 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5731,6 +5731,54 @@ (define-public emacs-sqlite It is not intended as a user interface.") (license license:gpl3+)))) =20 +(define-public emacs-sqlite3-api + (let ((version "0.15") + (revision "0") + (commit "7cb4b660fe30deb8a4229f3abb18bd99ca9c971c")) + (package + (name "emacs-sqlite3-api") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pekingduck/emacs-sqlite3-ap= i") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b7if1dp6i5kqwhq25gna89xbca66i4mmgx1a5yn12kncfdgs6d7"))= )) + (build-system emacs-build-system) + (arguments + `(#:modules ((guix build emacs-build-system) + (guix build emacs-utils) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-module-load + (lambda* (#:key outputs #:allow-other-keys) + (chmod "sqlite3.el" #o644) + (emacs-substitute-sexps "sqlite3.el" + ("(require 'sqlite3-api nil t)" + `(module-load ,(string-append (assoc-ref outputs "out") + "/lib/sqlite3-api.so")))))) + (add-before 'check 'build-emacs-module + (lambda* (#:key (make-flags '()) outputs #:allow-other-keys) + ;; Compile the shared object file. + (invoke "make" (string-append "CC=3D" ,(cc-for-target))) + ;; Move the shared object file into /lib. + (install-file "sqlite3-api.so" + (string-append (assoc-ref outputs "out") + "/lib"))))) + #:tests? #t + #:test-command '("make" "test" "EMACS=3Demacs"))) + (inputs (list sqlite)) + (home-page "https://github.com/pekingduck/emacs-sqlite3-api") + (synopsis "SQLite dynamic module for Emacs Lisp") + (description "This package provides a dynamic module for Emacs that = allows +direct access to the SQLite C interface. It only exposes a subset of the = full +SQLite C interface, but should satisfy most user's needs.") + (license license:gpl3+)))) + (define-public emacs-sr-speedbar (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47") (revision "0")) =2D-=20 2.34.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Add-emacs-sqlite3-api-package-generate-constants.patch Content-Transfer-Encoding: quoted-printable From=20f2726c3c87d890dfb547e7e9de880c5c57954ccf Mon Sep 17 00:00:00 2001 From: r0man <roman@HIDDEN> Date: Sat, 26 Mar 2022 14:59:01 +0100 Subject: [PATCH] Add emacs-sqlite3-api package This patch adds the emacs-sqlite3-api package to Guix. The package provides a dynamic module for Emacs that allows direct access to the SQLite C interface. It only exposes a subset of the full SQLite C interface, but should satisfy most user's needs. =2D-- gnu/packages/emacs-xyz.scm | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 42fc13f4c2..87595db74c 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5731,6 +5731,57 @@ (define-public emacs-sqlite It is not intended as a user interface.") (license license:gpl3+)))) =20 +(define-public emacs-sqlite3-api + (let ((version "0.15") + (revision "0") + (commit "7cb4b660fe30deb8a4229f3abb18bd99ca9c971c")) + (package + (name "emacs-sqlite3-api") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pekingduck/emacs-sqlite3-ap= i") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b7if1dp6i5kqwhq25gna89xbca66i4mmgx1a5yn12kncfdgs6d7"))= )) + (build-system emacs-build-system) + (arguments + `(#:modules ((guix build emacs-build-system) + (guix build emacs-utils) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-module-load + (lambda* (#:key outputs #:allow-other-keys) + (chmod "sqlite3.el" #o644) + (emacs-substitute-sexps "sqlite3.el" + ("(require 'sqlite3-api nil t)" + `(module-load ,(string-append (assoc-ref outputs "out") + "/lib/sqlite3-api.so")))))) + (add-before 'check 'build-emacs-module + (lambda* (#:key (make-flags '()) outputs #:allow-other-keys) + ;; Generate the consts.c file. + (invoke "make" "--directory=3Dtools") + ;; Compile the shared object file. + (invoke "make" (string-append "CC=3D" ,(cc-for-target))) + ;; Move the shared object file into /lib. + (install-file "sqlite3-api.so" + (string-append (assoc-ref outputs "out") + "/lib"))))) + #:tests? #t + #:test-command '("make" "test" "EMACS=3Demacs"))) + (inputs (list sqlite)) + (native-inputs (list curl pandoc python)) + (home-page "https://github.com/pekingduck/emacs-sqlite3-api") + (synopsis "SQLite dynamic module for Emacs Lisp") + (description "This package provides a dynamic module for Emacs that = allows +direct access to the SQLite C interface. It only exposes a subset of the = full +SQLite C interface, but should satisfy most user's needs.") + (license license:gpl3+)))) + (define-public emacs-sr-speedbar (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47") (revision "0")) =2D-=20 2.34.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maxime Devos <maximedevos@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > Roman Scherer schreef op za 26-03-2022 om 15:09 [+0100]: >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:phases >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standa= rd-phases > > Could consts.c be built from source? > > [[End of PGP Signed Part]] --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmJAqnIfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmSWuB/41UFRW2n5UVbRD HG+WvqboNHotLTykD7N413lCnMmnS7jihKdW6W9S+P6t3Ac9y8ikECu2js6oOZ2V 8tyctADHVdnH7bjAFcxYo/XJwBmAOgoJybrC3HCGajD9h4jgljAFjk7ovDMVrJpL g9l5wcIYlyixTFuSkBN+TlQzdGUS8CClcVA7aYm4bo0O+7j3jU1uIkC3wZhzAuMq BtvGjVzh16W3R8qYz2+Ge2g+FvOzl+ku0prqncSA8+N7rEkwvfWAR5h0LWe100ed Q48Au8uyV5Dk1yckDqYgzWCWAffLwpxT4CSIPH/3Q4ALCAbpRhqY4YgQJOd59NSt sj+yNPmT =hwKb -----END PGP SIGNATURE----- --==-=-=--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 26 Mar 2022 21:25:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 26 17:25:06 2022 Received: from localhost ([127.0.0.1]:54799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYDuE-0005Ai-0c for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:25:06 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:44852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYDuA-0005AK-PL for 54581 <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:25:04 -0400 Received: from [172.20.10.5] ([213.119.168.171]) by baptiste.telenet-ops.be with bizsmtp id B9R12700J3iD4dh019R1Rp; Sat, 26 Mar 2022 22:25:02 +0100 Message-ID: <b7e207ad3c7410aab5452ca59d3117b64d4e3797.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN>, 54581 <at> debbugs.gnu.org Date: Sat, 26 Mar 2022 22:25:01 +0100 In-Reply-To: <87ils0g5uz.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VTDo0HQ9XpKlEr//KO4l" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648329902; bh=13D2fOOkvthrdlYoOxdRwJwmlX5AD2GiFMeptcZf9fk=; h=Subject:From:To:Date:In-Reply-To:References; b=eDERdVfSqGALUM5VtNBd0UR2CLYaPlxQ4hWVjoqpwZGGDB0PETb7O0ovazazZOz28 ky3xpgaHnCTlXeU96b3WIlqeO+KcQ/Fc1oDa8QvW0efTFgt8UymVXXpbeU0Jt3o+j2 e9X4tFUmIER7c8vF98DBfijQG45h4xs9Sx1j1fMUE5XDo/Pu6hIB4u/eRFJgwjGhwy JCIcZK0DESIOnqdtCVfVTxDQeUcMJ3s9etNKyiWmGkKttd/O/nVv8h2IK+Sg8b15SJ kNgP0N1OK6i46ehxVKpePO2TZ/llNqfYn+bsOS6DPZFMleghl2YySsm6rBvNixfgNv RlXa9PGkTZFyQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-VTDo0HQ9XpKlEr//KO4l Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Um9tYW4gU2NoZXJlciBzY2hyZWVmIG9wIHphIDI2LTAzLTIwMjIgb20gMTU6MDkgWyswMTAwXToK PiArwqDCoMKgwqDCoMKgwqDCoCAjOnBoYXNlcwo+ICvCoMKgwqDCoMKgwqDCoMKgIChtb2RpZnkt cGhhc2VzICVzdGFuZGFyZC1waGFzZXMKCkNvdWxkIGNvbnN0cy5jIGJlIGJ1aWx0IGZyb20gc291 cmNlPwo= --=-VTDo0HQ9XpKlEr//KO4l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj+ErRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7l3oAQDs9eS1vyVU2DG4aAbsASY2FaiR Bud43qsuw+2YcJjQNAD/Wt1U/5WKUJc6HyCQdVH5RN40ujvbRwmozh9XFC2/YAw= =0zZ/ -----END PGP SIGNATURE----- --=-VTDo0HQ9XpKlEr//KO4l--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 26 Mar 2022 21:23:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 26 17:23:42 2022 Received: from localhost ([127.0.0.1]:54794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYDss-00058F-NY for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:23:42 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:38934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYDsr-000588-SE for 54581 <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:23:42 -0400 Received: from [172.20.10.5] ([213.119.168.171]) by andre.telenet-ops.be with bizsmtp id B9Pg2700D3iD4dh019PgVB; Sat, 26 Mar 2022 22:23:41 +0100 Message-ID: <f06af28eb3d32b5ae41707913ecdf132103a050f.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN>, 54581 <at> debbugs.gnu.org Date: Sat, 26 Mar 2022 22:23:40 +0100 In-Reply-To: <87ils0g5uz.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-zQb9J55gvY1SfZaGn+0I" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648329821; bh=PuYXRG1t2G2phgr7wxyqL0No7+LbRdH6+oVqLgtFtJ0=; h=Subject:From:To:Date:In-Reply-To:References; b=gVz47J07IE99fkShJiNVYhGgQafithJK3lWC+0DgvGDeU/+rXKzaCFeTHanJ7h9EW BHY588kmIdWCNIzvRw0pTF3NA0NEZAy7iwSkwEuUc9CUr5apIDtfz3zTMkFjHwuNnk 80DuxmDu97gvvxzZN/qS4lU9RVbSR6dPb3vEEwKt8KvD7CvbCTnok3wRGdGRumTWok cHsMvgEGuci6mdzIaLUM50RV+2mrmrJ5yu+0MD+rbvku/QrWGnAlhaBz6uBJkzsSZQ Pnvc3QcLH9jmoe3LOkC4iYo2dZlEkrvUAXAgDBhxjGtAw3lcfOu7pRLnEfODwGUYii VZ/uFSXifZQ4w== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-zQb9J55gvY1SfZaGn+0I Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op za 26-03-2022 om 15:09 [+0100]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (lambda* (#:key (make-flags '()) outputs #:allow-other- > keys) 'make-flags' is never set, so I would remove it and simplify the invoke to (invoke "make" ... (string-append "CC=3D" ,(cc-for-target))) Greetings, Maxime. --=-zQb9J55gvY1SfZaGn+0I Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj+EXBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rVjAQD85aaE8Kben5Y47VCiAGPSr20Y c6lUHg5vJ4rqm65ukQD/cY2NLQZgBZIetRYJL120I3VkB2CUGdQ97g5AI/D7UAw= =mqHf -----END PGP SIGNATURE----- --=-zQb9J55gvY1SfZaGn+0I--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 26 Mar 2022 21:21:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 26 17:21:35 2022 Received: from localhost ([127.0.0.1]:54789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYDqp-00054y-D7 for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:21:35 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:49862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYDqo-00054q-A5 for 54581 <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:21:34 -0400 Received: from [172.20.10.5] ([213.119.168.171]) by xavier.telenet-ops.be with bizsmtp id B9MY2700M3iD4dh019MY9T; Sat, 26 Mar 2022 22:21:33 +0100 Message-ID: <08ec0eda896c23e715686e7ac7e38bffcc1023d7.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN>, 54581 <at> debbugs.gnu.org Date: Sat, 26 Mar 2022 22:21:32 +0100 In-Reply-To: <87ils0g5uz.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-mSVITvMfkPSZ4GLYRAmC" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648329693; bh=zr5v94lrt4zl5pLCZQog/965uGuiUp61C7qx/FAXKNA=; h=Subject:From:To:Date:In-Reply-To:References; b=oVmzJtPMWjCwoyg4WDOIjzNv1KnM4bjwe6YYAZ3nR69B2u2LdqQNz0zurVqxFmKJa kAwevJVT5F98G0RTZAHQxX5Em0mLgNKddRYgajxLiZ2Op5+uHiRVv4/tFH3yIEW0Ga XTJtYlJjikjX+2cs/Fxxw/zN0anX4NMVpx2pK4mt9QncFk9HsZmCb1v8E0DIeH9Okm jsXO9TTZrI5H4ZpRzl8gkqDnyL2mR1KLZtt3wGPpYsH/gULQcMwxdmnH71zZjXWAsH r4BZrslA8UzWzIol6giclg6P11C1/LH8U8faiI0X6eZXJ/8NichR8JJSPaTNKMAAR3 /2lO0vr5CndqA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-mSVITvMfkPSZ4GLYRAmC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op za 26-03-2022 om 15:09 [+0100]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:tests? #f)) I see some tests in the 'tests' directory. --=-mSVITvMfkPSZ4GLYRAmC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj+D3BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7m50AP9xY6cqSLqTREkvqP9534SNkx0L XoCE5t9/HTUdVBnKiQEAx4LczXkaKh1dzSZLBuyJkxFQBf9LZopEKwhENJxRig8= =QX78 -----END PGP SIGNATURE----- --=-mSVITvMfkPSZ4GLYRAmC--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 26 Mar 2022 21:20:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 26 17:20:49 2022 Received: from localhost ([127.0.0.1]:54784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYDq5-00053F-3l for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:20:49 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:36318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYDq3-000537-7R for 54581 <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:20:47 -0400 Received: from [172.20.10.5] ([213.119.168.171]) by andre.telenet-ops.be with bizsmtp id B9Ll270063iD4dh019LlCp; Sat, 26 Mar 2022 22:20:46 +0100 Message-ID: <bbc5eef9e9585e192a3701f14d4307adaccf77ae.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN>, 54581 <at> debbugs.gnu.org Date: Sat, 26 Mar 2022 22:20:44 +0100 In-Reply-To: <87ils0g5uz.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ACngxrkBUnHhfe0ZhcRO" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648329646; bh=66wpXOOoCDOUqGee2safF5nbkuuGmILyZBqxvLcUirs=; h=Subject:From:To:Date:In-Reply-To:References; b=YDxPQZTflLtoT/hFcW4irhC9uY7Dj8Ps4n4NLvEQa5zhWp4j4calWXuAlnAa0D4lA DHB4gs7tCNXIhRQkMxO5ebzGleBzZBIusrnDcBqFDPGJ1unjw3kNYkte11TAIZfV+E PYUgXsOu2jBdYeQUloP0DSb6JfaSJOiEugehamwIPYhTR7MZ3hfarLyNvtKxyHiVK8 TCJPOpRF3hpvRutVmXCYKU0EPSHe7vK3LHss4MjVHH2stPuA8kxj692+AnoLd1WNP6 plxvKCuWWrAYKKqkrgCeDpF81Qw4rhGUbbFUMw4uJFuumC8E0mlyzyyd9aLZ6bt8bf X2XJy4FbGCfpA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-ACngxrkBUnHhfe0ZhcRO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Roman Scherer schreef op za 26-03-2022 om 15:09 [+0100]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (description "SQLite3 is a dynamic module= for GNU Emacs 25+ > that provides > +direct access to the core SQLite3 C API from Emacs Lisp.") While this package integrates SQLite3 into Emacs, SQLite itself is not part of Emacs, so I would reformulate this a bit. The description is also a bit short, =E2=80=98(guix)Synopses and Descriptions=E2=80=99 recomme= nds longer descriptions. Additionally, the only Emacs in Guix, emacs@HIDDEN, is 25+, so no need to write 25+ here. Greetings, Maxime. --=-ACngxrkBUnHhfe0ZhcRO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj+DrBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ni0AP9wPFRxt2PfHyRPqshIy7Zf1UYG tdrOTD4BMtLzO08aiwD/bxjLQMnOGo+g+COGMZRBOvO4pHLZoBWWIh4+Q/+ncg4= =QVds -----END PGP SIGNATURE----- --=-ACngxrkBUnHhfe0ZhcRO--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at 54581) by debbugs.gnu.org; 26 Mar 2022 21:18:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 26 17:18:01 2022 Received: from localhost ([127.0.0.1]:54779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nYDnN-0004yu-Me for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:18:01 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:37704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nYDnL-0004yi-GO for 54581 <at> debbugs.gnu.org; Sat, 26 Mar 2022 17:17:59 -0400 Received: from [172.20.10.5] ([213.119.168.171]) by baptiste.telenet-ops.be with bizsmtp id B9Hx2700F3iD4dh019Hxti; Sat, 26 Mar 2022 22:17:58 +0100 Message-ID: <134b776ae2d50aa22a295664b6e51014787c1fba.camel@HIDDEN> Subject: Re: [bug#54581] Add emacs-sqlite3-api package From: Maxime Devos <maximedevos@HIDDEN> To: Roman Scherer <roman.scherer@HIDDEN>, 54581 <at> debbugs.gnu.org Date: Sat, 26 Mar 2022 22:17:57 +0100 In-Reply-To: <87ils0g5uz.fsf@HIDDEN> References: <87ils0g5uz.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Y1QJ9bTjVtQFNk/JW6iN" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648329478; bh=K/lKr56KvLPh/Azgnb5L1gR1Ul1Mh1MBEFPdAAfQpdk=; h=Subject:From:To:Date:In-Reply-To:References; b=bC+OTXZ9In8HLSOhLgBpNmjioAkWBtYMWCqsVe+sc8zMdTIQaMwRgVUxA3BQq2E+i SWi2NCaYPFm3t6o2EcyTFfKiDrAA2aFvQTXgkRyYSyVffFs19udeKNt3RwfmV1keSM 4dTHcazwJ4fHQki4kGtVnoWGl5N5l+tqVC0C0MR8DvMUhp5uUo8KCfUbqr9oawCk6C g2dett21DyarBaAlw1sedensdRxrV9DYoN1k8cWLmrx3y3p76IqCVbsjzPljI1jhDi FgyWwyANoc5CP0cTQa7X0bFD4hoUsXY/pe8r+F4boRwkb43IMy1//+gnIIKMykwWFn eeU9cQd36/KaQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54581 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-Y1QJ9bTjVtQFNk/JW6iN Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Um9tYW4gU2NoZXJlciBzY2hyZWVmIG9wIHphIDI2LTAzLTIwMjIgb20gMTU6MDkgWyswMTAwXToK PiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCA7OyBDb21waWxlIHRoZSBzaGFyZWQgb2Jq ZWN0IGZpbGUuCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGFwcGx5IGludm9rZSAi bWFrZSIgIkNDPWdjYyIgbWFrZS1mbGFncykKClRoaXMgaXMgYnJva2VuIHdoZW4gY3Jvc3MtY29t cGlsaW5nLiAgVXNlIChzdHJpbmctYXBwZW5kICJDQz0iICwoY2MtCmZvci10YXJnZXQpKSBpbnN0 ZWFkIG9mICJDQz1nY2MiLgoKR3JlZXRpbmdzLApNYXhpbWUuCg== --=-Y1QJ9bTjVtQFNk/JW6iN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj+DBRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7v2EAQCL6UI70q8FyZDy9gWSoFn7M78o qI6TAAq6fvZLU6L0mQEAo04fpD8JRIAh5zuLgVunklFN6LKIw1vk7bbBnL94Gw8= =Yd9Y -----END PGP SIGNATURE----- --=-Y1QJ9bTjVtQFNk/JW6iN--
guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 26 Mar 2022 14:12:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 26 10:12:44 2022 Received: from localhost ([127.0.0.1]:54454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nY79o-0006n9-CL for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 10:12:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:46768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <roman.scherer@HIDDEN>) id 1nY79n-0006n2-GV for submit <at> debbugs.gnu.org; Sat, 26 Mar 2022 10:12:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <roman.scherer@HIDDEN>) id 1nY79n-0007tc-8f for guix-patches@HIDDEN; Sat, 26 Mar 2022 10:12:43 -0400 Received: from [2a00:1450:4864:20::635] (port=44883 helo=mail-ej1-x635.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <roman.scherer@HIDDEN>) id 1nY79k-0003lZ-T3 for guix-patches@HIDDEN; Sat, 26 Mar 2022 10:12:42 -0400 Received: by mail-ej1-x635.google.com with SMTP id lr4so11967729ejb.11 for <guix-patches@HIDDEN>; Sat, 26 Mar 2022 07:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=nJzrqgrMS2bqqDegKNhxjfw4yYbvn++QXodCRhtzUcY=; b=YdMXTeqbAL3WQwK6EPQ3/0x2YdpAmA08LAz0rYdiJXe4332arhZQl89QSAKuKdgPD1 QhlDM6bgvwwEpLHMYgi12UGskiNTdcv2NgVXhI2sCyky8KlmoSmB5fdAPVSAQDDoPxLe BlvtQzjReM72dflav6jTNqd+D7xAsV44HvupJwDT17g4GnO44U9zVyBqkd/kcnZrMhdG jrsv4ClPn+1F0KkeMZMs0cJsYLekwAn/1v22OUd8mVT87DmmxXJVRdO5f+TpBvYpg3X8 MOTNJW9sE7pmbIXDsNCuPr0yjsqbY8fbKwVlbUypLxByh+U3T6CQJREKS5nl8BlmwjW/ fPWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=nJzrqgrMS2bqqDegKNhxjfw4yYbvn++QXodCRhtzUcY=; b=LpN1WsMwJzhbmLarnU72ukQDBJf4NDyy9aZYzTAaHbK6c7704jF65MbgMUYrBUbhnj HLF+Oz3Xn02MfFCIrdFJ/bhDj3KBZJmqhmuZGremG4hGSVqUU93/f4z0ZnbV2ymeL/dX 7Jd04VfSvqryBR9XMmio/dOrLS7TAbrTMjjDb+vO6D5vekGVIlQzgNB8gAFXZLJ3//o9 fsPdatLgUl8FeUFXInM7ELQX1ugdYuFHAVV/m9RZLQuj/9i6mFkPyphUTPFHdZU2hego ibNzLZv4+z9FpUUeJIf0l/muMF6+ddRXD/ThsN0xQAzMOAlCGwc2wOfZg9LldkQVpoq3 jpTw== X-Gm-Message-State: AOAM532JtpG95aaR1Q5SaV5Rcin2x9vSiAZbpKpw19zFuYFzTq7vYX+p eA82Oqx2sZlg3XHcF5oxAH50ql1BEJPoZL1S X-Google-Smtp-Source: ABdhPJzvDFmyuHPj/0XSJs4vm99SmUTyaidQkn2wAFplvs/ZUcpaLT1HbfgW8HjjlHYYwbwJwByiRA== X-Received: by 2002:a17:906:3ad3:b0:6cd:382b:86e5 with SMTP id z19-20020a1709063ad300b006cd382b86e5mr16554684ejd.145.1648303958369; Sat, 26 Mar 2022 07:12:38 -0700 (PDT) Received: from thinkpad (tmo-116-228.customers.d1-online.com. [80.187.116.228]) by smtp.gmail.com with ESMTPSA id jg15-20020a170907970f00b006e0466dcc42sm3578966ejc.134.2022.03.26.07.12.37 for <guix-patches@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Mar 2022 07:12:37 -0700 (PDT) User-agent: mu4e 1.6.10; emacs 28.0.92 From: Roman Scherer <roman.scherer@HIDDEN> To: guix-patches@HIDDEN Subject: Add emacs-sqlite3-api package Date: Sat, 26 Mar 2022 15:09:46 +0100 Message-ID: <87ils0g5uz.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::635 (failed) Received-SPF: none client-ip=2a00:1450:4864:20::635; envelope-from=roman.scherer@HIDDEN; helo=mail-ej1-x635.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Guix, this patch adds the emacs-sqlite3-api package to Guix. It is a dynamic module for GNU Emacs 25+ that provides direct access to the core SQLite3 C API from Emacs Lisp. Could you please review it? Thanks, Roman. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-emacs-sqlite3-api-package.patch Content-Transfer-Encoding: quoted-printable Content-Description: emacs-sqlite3-api From=209136e4ad504528763315dcb2148c4da0ca1dbe74 Mon Sep 17 00:00:00 2001 From: r0man <roman@HIDDEN> Date: Sat, 26 Mar 2022 14:59:01 +0100 Subject: [PATCH] Add emacs-sqlite3-api package This patch adds the emacs-sqlite3-api package to Guix. It is a dynamic modu= le for GNU Emacs 25+ that provides direct access to the core SQLite3 C API from Emacs Lisp. =2D-- gnu/packages/emacs-xyz.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 42fc13f4c2..422739a744 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5731,6 +5731,53 @@ (define-public emacs-sqlite It is not intended as a user interface.") (license license:gpl3+)))) =20 +(define-public emacs-sqlite3-api + (let ((version "0.0.1") + (revision "0") + (commit "88dfeae8f9612cb3564a7393aa8a5c867aacbaf8")) + (package + (name "emacs-sqlite3-api") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pekingduck/emacs-sqlite3-ap= i") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0sj1fsgcgfzz6dfpmp8r5gmdwpbdzpk5g5lm8j7c3nqj6wqgg7g6"))= )) + (build-system emacs-build-system) + (arguments + `(#:modules ((guix build emacs-build-system) + (guix build emacs-utils) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-module-load + (lambda* (#:key outputs #:allow-other-keys) + (chmod "sqlite3.el" #o644) + (emacs-substitute-sexps "sqlite3.el" + ("(require 'sqlite3-api nil t)" + `(module-load ,(string-append (assoc-ref outputs "out") + "/lib/sqlite3-api.so")))))) + (add-before 'install 'build-emacs-module + ;; Run make. + (lambda* (#:key (make-flags '()) outputs #:allow-other-keys) + ;; Compile the shared object file. + (apply invoke "make" "CC=3Dgcc" make-flags) + ;; Move the file into /lib. + (install-file "sqlite3-api.so" + (string-append (assoc-ref outputs "out") + "/lib"))))) + #:tests? #f)) + (inputs (list sqlite)) + (home-page "https://github.com/pekingduck/emacs-sqlite3-api") + (synopsis "SQLite3 API for GNU Emacs 25+") + (description "SQLite3 is a dynamic module for GNU Emacs 25+ that pro= vides +direct access to the core SQLite3 C API from Emacs Lisp.") + (license license:gpl3+)))) + (define-public emacs-sr-speedbar (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47") (revision "0")) =2D-=20 2.34.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmI/H1QfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmVdAB/45n0YMNPok20rG 9AoZIXX59C6oOYmOVPO6bt8RUUtdW/X5cZF/+1N98AgN0mZHYoOl2m5zdm6Mqkxq 3l/WFVnettPcE3lC6VsE1zHUXHDWx+N/VKn+/3PaCqnQNcujxX7AZ4BZ7db7tGbr t0b1C9vtehSgzunZHcNWaS+f70BmWhwl3FdJFNp2rCWzaiqrmX++RejM7tlAiuKA 8J7KQgwAROSMI9odLJN7c+FA3//sYfq8+ruwYag4Xq9q4WBauSvIsqfR/HcUoTM8 unL7JTBMA7OgVEg7pN6Ywvy97trV46nLH8RpuG7vhVThp+My+R1S7AaPsBWdlydM lZfXvBMp =pKsf -----END PGP SIGNATURE----- --==-=-=--
Roman Scherer <roman.scherer@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#54581
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.