From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 3d38d1d: Add sqlite3 support to Emacs Date: Sat, 11 Dec 2021 17:20:44 +0800 Message-ID: <87y24r33bn.fsf@yahoo.com> References: <20211211035614.15517.53830@vcs0.savannah.gnu.org> <20211211035616.984DD20A0A@vcs0.savannah.gnu.org> <87ee6j4ty4.fsf@yahoo.com> <8735mz4o70.fsf@yahoo.com> <83k0gbr0dm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15105"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: larsi@gnus.org, stefankangas@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 11 10:21:36 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvyZT-0003ik-U2 for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 10:21:35 +0100 Original-Received: from localhost ([::1]:59420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvyZR-0008FY-Tc for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Dec 2021 04:21:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvyYu-0007az-Ni for emacs-devel@gnu.org; Sat, 11 Dec 2021 04:21:00 -0500 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:44788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvyYs-00047t-Mf for emacs-devel@gnu.org; Sat, 11 Dec 2021 04:21:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639214456; bh=NvGBd+cORNoCUccUPOs0OjInNo0nxndxBkiP77e+/4k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=opo3+SHxioGUeiCpwPCdI11bObgb8lgjDruwwEHDPkKreb91xEqLsgvEzAT0YNNNjz93hj9tuGqePq8G0UdO8vZuuXG/yBYvA3b+C2VBv21jOBUNJXeTaw+QC4k2ZXRgBDrXEUigu0WOJ7j17jgsoYV7hlpA6/wkjQOZMH+VJ3BjupqjW8uv+nkV/RSu/8NGqU3di9lX6rkh/pSZX/TqFciqd3VWnRN95XQulRcRKGUz0t8EUpEvka3tzHfnfoIlAzIVVG1EvN9Z9/UOrujaZZA/PUekkJmf5hqNB737G8b09fc3wZxgyuiVCbepdZmNo11sMVjYrp3w7RPkcBo0BQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639214456; bh=4oFoEBLCfO4uxdYOcqzKUjRg5nzZHVqFbtJeXzKZ+Cx=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QMOzvQnSmMXDrmZE8GGPXdMuGotn5kg/UAqR+GObC3CN3JRuZ7q2+Ym0yMhmLcacuGKGtgW1Okw72X4Ta2yvX0pqcc0CfJk56nHKtrbuj26K1RK93VuPmsR6mbV8cSis5tGYbj/1CGfEPL9kjL+fLjldgsYCNoaCZ+zdSsSviWNhr69Gz5Y5BJLeLNfIMvNd8HArdOGeYT/udQtl5IgFAMvWByfHjTfH4eEnGDACzQMwIahbVW4nMfDha3LDMtMTR6MwI2o9kEyqOeJ23X8/LveaRLr+LDz4xeLBTaF7wEVnCfiB15nF0nTAJzVfn/yel+16HoXWnWUSPFjEelJE/g== X-YMail-OSG: i1v1TH4VM1l6abfsoZAF_sSbMstxYCKeah4wy.ew.mBNxuuKq5mZ1vmMLxzn26n rebBTpF7sxv_GiZegGM.tQc12_FPYe5hu.M_FE4ySYoN19Kp14bx.pz3UTV5HXAcUT6qfJkCK6EM 5pfr_WU92Yi4V6ArOF5xt_O4WMJEHXVmVrplgYGgCsjDuVC4pJSkjmQV1AO14Iwvb8.iiLQjeGA0 O3jHzr1U.sD2Cx2kENdxoF7JcjMxCLG_uFAH_gp6DOzX_pk.6XDh24PyGM5i7yRvzA785yt5BkL3 m.IgCA99aay62PEixF1q6o_DNIuxrjODP8KhH4d2IvsRnScEajXwSvE7s8y9pW0f4KLtDahWRx8M b5TNQjgne.4_Gx_nKeGqhkevLkXZOrs5b16M8aLA7tjXGIbco5gtbh2WDXevoDzznA82VZEsYyFd XSLFj1PG8GdNmKBP.yxOgII8Fp.Zfs5OlDTh4UbkgoWI5_5955tTIum1OykzWk0A7.5RqdYMnxNa 0L2ogX5aNtyID0xrkJvL8rzVAy68MxIpA77d3S3OvO9jBBtIoP3P_WqdEjtIpBFYa6sZKQdAX6Id u5D0HmBw8T5r6VdHbMHir7mWWyTIf.2_3jGQZGlOr.BfhjjgQkTdaHRuIJGmZyEvK9GoWAVls5i4 WJ_vJUj8WslhZk1SbGLJXxj6mCMPcLt3yvfQO5A7UUqCF.8689slutT7WdTXjpy159dhQR2xRU.J BjwK44wGVx97ch5uKRPVljvA_Mi1x9plNChfJaMcO3dhWRrR8CStsQscyvdpuE9_TndZpOPxDZk3 Afw9OMQNC9XOU4.q4tZAWUJyFFG00YYz4vPTOPq9M5 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sat, 11 Dec 2021 09:20:56 +0000 Original-Received: by kubenode514.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 1ce5385344d7397305bead3c83b87774; Sat, 11 Dec 2021 09:20:50 +0000 (UTC) In-Reply-To: <83k0gbr0dm.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Dec 2021 10:50:29 +0200") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281663 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Cc: Lars Ingebrigtsen , emacs-devel@gnu.org, rms@gnu.org >> Date: Sat, 11 Dec 2021 15:04:35 +0800 >> >> Po Lu writes: >> >> > BTW, this doesn't compile on macOS. It complains that >> > `sqlite3_load_extension' is missing. >> >> On a different note, SQLite3 extensions are linked dynamically, and they >> could be proprietary software. AFAIU, the SQLite3 developers even >> provide a few proprietary extensions themselves, including one for >> database encryption. >> >> So I think we should check that the .so file passed to >> `sqlite-load-extension' as the `module' argument contains a GPL >> compatibility symbol before allowing SQLite to load it, similar to what >> we do with Emacs modules. > Would you like to prepare a patch to that effect, please? I would be willing to, but only if someone from a higher authority says it's necessary, and provides some details: for instance, should the symbol be named `plugin_is_GPL_compatible', or something like `plugin_is_free_software' (as SQLite3 is public domain instead of under the GPL). Thanks.