From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UJKMLKi1hmBzagAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 14:44:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EBJMKKi1hmB3PQAA1q6Kng (envelope-from ) for ; Mon, 26 Apr 2021 12:44:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB248158B6 for ; Mon, 26 Apr 2021 14:44:23 +0200 (CEST) Received: from localhost ([::1]:34080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb0b8-000476-HL for larch@yhetil.org; Mon, 26 Apr 2021 08:44:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb0aS-00046t-93 for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 08:43:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55371) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb0aO-0006Be-9N; Mon, 26 Apr 2021 08:43:38 -0400 Received: from [2a01:e34:ec2b:7150:fbd9:45e9:9270:4ceb] (port=35430 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lb0aN-0006cl-TL; Mon, 26 Apr 2021 08:43:36 -0400 Received: by guerry (Postfix, from userid 1000) id 64AE11A60F8E; Mon, 26 Apr 2021 14:43:28 +0200 (CEST) From: Bastien To: Anthony Carrico Subject: Re: Bug: JavaScript in HTML export not recognized by LibreJS as free [9.4.5 (9.4.5-16-g94be20-elpaplus @ /home/jorge/.config/emacs/elpa/org-plus-contrib-20210412/)] In-Reply-To: <073538d9-09ac-7c6f-0188-6e75d0daf438@memebeam.org> (Anthony Carrico's message of "Thu, 22 Apr 2021 16:29:15 -0400") Organization: GNU References: <87czupy7mn.fsf@kyleam.com> <073538d9-09ac-7c6f-0188-6e75d0daf438@memebeam.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 26 Apr 2021 14:43:28 +0200 Message-ID: <87im49usgf.fsf@bzg.fr> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kyle Meyer , emacs-orgmode@gnu.org, "Jorge P. de Morais Neto" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619441064; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=qndl6FUGFoToV3el61MWp4JPm7LMlBKiCGwZw1Gl9FE=; b=G44CRKIHmvIwKlpUx0nb8xQsHoxklNum8Wb9MKLPu1UvJMzmy2fgUC9tRzAL1Uvx8m6gpD LiYoHar8iKALmMNRhf8I7xa9Uad8Q1bAxShIF6KIBT6Wibumil/gy7KSSluvNFphWiVqGN boqksryuCAbL6NeLGOXg0OqXCIS65oD0FusX0VBhjMLipZI4OXgeBbS+kBvuf901A8DvFJ pra24VP/Cmj7EHzMieUTi8LBje/eGrlzJqwV2RDi1zi9CTx+ADlakMK2S50n9DeMVGB712 wECn5AQdB/rrkbMOFD29cfKcR2Hn2nOIo9CHybLga3d1G0xN57+UyFgD0LMH7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619441064; a=rsa-sha256; cv=none; b=Ypn2qp97VcGm64pF434+VvvdpC2Zi9SfItvl8BeYd6NcsG6iRCkJ6d3MnFGBVvEGcBYJit z41zIW1KpS2p1/eDa0zjn1HtXeqpAfq6yFXkIcVZWSJZ7j9WQ1CBOObOhJlonPWkEKVdxa LYo0cEhv34N/lZyQTru049wyR7AthkoRbr4MUO9DM51SBKvb/jumD+K87dEl6tsQUPXq5Y rd9Hu7JuvIJ1kt5AZnsOijT6K+x88iV4p0BimVOjNEbdqpi0lf9E+gShcuY9/XiLoNWDTr gwFtfdjpgb+1Fvu6uPeGiZLkAYkc/8MhBjJo4vyQWXPBtdJ6zTa6BMB6toDEVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: EB248158B6 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: PJ+BDFgTIY0i Hi Anthony, thanks for your explanations around this issue. I made a mistake when applying your patch here: https://code.orgmode.org/bzg/org-mode/commit/471054136 https://orgmode.org/list/20200617002335.l4lg3slfxm74vx3h@silver/ The original Javascript lines were written by Carsten 12 years ago (time flies) with a4d72cbda, published under GPLv3+ by him. Because these lines were under GPLv3+, they needed to be advertized as such within the generated HTML, so adding the GPLv3+ license here was correct but my mistake was not to ask Carsten if he was okay releasing the lines in the public domain, since he was the author (sorry!) My current stand on this, is that publishing these lines under GPLv3+ is okay: it does not imply that the author of the generated HTML has any constraint regarding the license he wants to publish his contents under, because his contents is not a "derivative work" of these few Javascript lines. With respect to your example, the generated HTML (+js) page is not the result of including the Javascript code in a compilation process, and it's easy enough to separate the contents from these few lines. I reverted your initial patch in maint (29d21ea6). Still, the code enhancements you proposed there are still valid: would you be okay to place submit them again in another patch?