From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: as for Calc and the math library Date: Wed, 14 Aug 2024 17:20:38 +0300 Message-ID: <86le0z89u1.fsf@gnu.org> References: <864j7qhup6.fsf@gnu.org> <87a5hi0yts.fsf@valhala.localdomain> <86y152ge0b.fsf@gnu.org> <86jzgjfwqp.fsf@gnu.org> <87sev78arx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4970"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, nicolas@n16f.net, arthur.miller@live.com, emacs-devel@gnu.org To: Suhail Singh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 14 16:21:46 2024 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 1seEsi-00015D-6h for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Aug 2024 16:21:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seErl-0005ov-Cq; Wed, 14 Aug 2024 10:20:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seErj-0005o4-Lf for emacs-devel@gnu.org; Wed, 14 Aug 2024 10:20:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seEri-00030q-Th; Wed, 14 Aug 2024 10:20:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=oSXisOXtOupkls/Xb5L0zby02R/iaDjoaCM4UAZq9Is=; b=CIzT2NjZpta2/kScdhh3 mxDYoe7RR09a0egQ+bxRsd1pLukRHbwuwK4u7Bym3yKqA10IC9J8paRCOlnu5ttAsffToiWAbXeTk yxVwYDaIPjJeMBHgcUWcr1lw2Xm3Yt+h11WLOLV2cY+uKl8i+lRofsaT4eaJLnxQaFQ6MtHMMfgb5 eORI9LFj3mC4UeJqaqr36PY/+6+GN3Qz6H199VlJ4kaNcI3fDpt8cgoZ8cyDPFNbG09UYL6BG0m98 9Li8A+9pdJFK44ZxMLhvvmKX4v2SF/fYU8sx/CBUIcWNhayENKGiCv/ANT28HioZUIKTJAdqs2JJn 6C1KMkQ9HcHbOg==; In-Reply-To: <87sev78arx.fsf@gmail.com> (message from Suhail Singh on Wed, 14 Aug 2024 10:00:18 -0400) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322744 Archived-At: > From: Suhail Singh > Cc: Gerd Möllmann , > nicolas@n16f.net, > arthur.miller@live.com, emacs-devel@gnu.org > Date: Wed, 14 Aug 2024 10:00:18 -0400 > > Eli Zaretskii writes: > > > It doesn't ensure GPL-compliance, AFAICT, so in its current form it > > cannot be accepted, sorry. And I'm not sure I understand how can one > > technically enforce GPL compliance in FFI-style loading of arbitrary > > shared libraries. The only idea that comes to mind is allow-list of > > known libraries, the way we do in sqlite.c, but I'm not sure that > > method is scalable to the basically infinite world of arbitrary > > libraries. > > On the topic of what would be acceptable for an FFI, wouldn't something > akin to what's done for modules be sufficient ? I.e., have the users of > the interface explicitly state that they are compliant. > > It would scale better than an allow-list. IIUC, Arthur mentioned this > in another thread. If this wouldn't be sufficient for an FFI, could you > please elaborate on why that's the case ? What exactly are you suggesting? IOW, please describe what you have in mind in more detail, because I don't think I understand it. > The question here isn't about what does or does not constitute GPL > compliance, but what Emacs, as a project, is trying to ensure when it > comes to such compliance. It tries to ensure that Emacs is not used as front-end for non-free software.