From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cDpyLo4LAGJ/DgEAgWs5BA (envelope-from ) for ; Sun, 06 Feb 2022 18:55:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EHhBJ44LAGLxIAEAG6o9tA (envelope-from ) for ; Sun, 06 Feb 2022 18:55:26 +0100 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 E7C9134D6D for ; Sun, 6 Feb 2022 18:55:25 +0100 (CET) Received: from localhost ([::1]:49332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGlkz-0003DZ-6T for larch@yhetil.org; Sun, 06 Feb 2022 12:55:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGlkm-0003DB-TJ for guix-patches@gnu.org; Sun, 06 Feb 2022 12:55:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGlkc-0000JK-2b for guix-patches@gnu.org; Sun, 06 Feb 2022 12:55:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGlkc-0006jy-2q for guix-patches@gnu.org; Sun, 06 Feb 2022 12:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53750] [PATCH] gnu: openbox: Build with Python 3. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53750 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 53750@debbugs.gnu.org Received: via spool by 53750-submit@debbugs.gnu.org id=B53750.164417007025869 (code B ref 53750); Sun, 06 Feb 2022 17:55:02 +0000 Received: (at 53750) by debbugs.gnu.org; 6 Feb 2022 17:54:30 +0000 Received: from localhost ([127.0.0.1]:39785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGlk1-0006j5-63 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 12:54:30 -0500 Received: from mout02.posteo.de ([185.67.36.66]:52285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGljx-0006io-QJ for 53750@debbugs.gnu.org; Sun, 06 Feb 2022 12:54:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7B691240103 for <53750@debbugs.gnu.org>; Sun, 6 Feb 2022 18:54:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1644170055; bh=zOLBZ1YdG94k4AE0zYJAdsGw7pF/MNZRmjfAYqftScE=; h=Subject:From:To:Cc:Date:From; b=pmjQKpRvAKhTIeMkoIJ6lDvLH0BRoKInp1k34UcwU3H6nCN32Gveux1sAW9ktenfn deI6yZTOPozODIyFHopLtNIMksDekcKpimIf1uua/TxCUdEOQk8j66hU6VGr7PFWfs hrc7WVWOrWXd9yMitqLXmusOR2fgYSLwvV9keyhzdlpVvK13odZFNFSWnpEhuOORYH pEg4T2OzaDa6GrGPaQbUC7OmV+0WQZYaalLKjJo8zV9nBETZPhrml85wtCBoEHcZP0 jbgTOIbxAN/9ha/xjt7sRPSnYPsnZSK4QT87fiQ3PMBFgtBgAlISMpjUC7/tBbf82K A8J7gl8IR6Vgg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JsH2s39KZz9rxF; Sun, 6 Feb 2022 18:54:12 +0100 (CET) Message-ID: <4b640be44edce7b55d800976ff18f641a729f3b7.camel@posteo.net> From: Vinicius Monego Date: Sun, 06 Feb 2022 17:53:57 +0000 In-Reply-To: References: <20220203151712.465416-1-monego@posteo.net> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644170126; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qupioqY8jOyWO8g1hoC7egmVfKLJ+6v2hX7vTJJxhDw=; b=I9nporNxa8fwyBv7zSZ1qmEMIP1gr104INu+qqpu/DyGaLGESzr1pwG+nGKtOH9wSTOtWH mOwA47rqyCPFAox17FkWCkGVZU8MBk95q0Ypf1UYQWvAex8h1n09PH+P5e0c+JQQOvkULF WRZQUYKLAMRToX61fwRe0R22O6Hi8aWKOimIPtdzpZRVgb96N58bKlXlazYHpAGNtsZkYF 74DnlBpPCS4vzVpCiETHvBbrsR3k6rMtX8SzRJCBt3xGli5ZViVTJuOf39c4EdOYVJjJgW w2OVFwmCXay8WpABoykx9P9jMvocdq11yZzfTTBJHvTyAF0ZqCHr/NvC2QJkHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644170126; a=rsa-sha256; cv=none; b=ioHzE2+SaJfI22DRaVwGALITOI5+Js0NCUYmklQQg6mD9XKsiysDS0nCCxGDUmw7MSGU8I /W00zKZUkDbCumha2u0QeXN2/yo3F1Gq2TRLSRgb7lZ7Zwd4zyxlRb5oc83lGnVPPnUeVj Mq4WlCtJg7/4xXtO9aHdfKg9zLVl5SuCnJnTrvL4n4oReCt8n/+vjcPvu0m07yLgifFL9Y Vs7t8dC+awGXRCluVT2Pvc0x4V+rIM90e4/quawLmBO4y+CiM316MSt8L2+eAzepDsvsJv zgeoGWRew9TdKGnkL37PUM1o+xbElwgKf8uJiDabchlAKwNr6ymh3tfHAJHlUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pmjQKpRv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pmjQKpRv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E7C9134D6D X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z5jSu/m8v1r7 Em sex, 2022-02-04 às 13:32 -0500, Leo Famulari escreveu: > On Thu, Feb 03, 2022 at 03:17:12PM +0000, Vinicius Monego wrote: > > * gnu/packages/openbox.scm (openbox): Build with Python 3. > > [source]: Make some cosmetic changes. Add patch. > > [inputs]: Replace python with python-wrapper. > > [propagated-inputs]: Replace python2-xdg with python-xdg. > > * gnu/packages/patches/openbox-build-with-python3.patch: New file. > > * gnu/local.mk (dist_patch_DATA): Add it. > > Thanks! You might have noticed that I merged this patch ticket with > my > own similar contribution at . > Oh I didn't see that one! > I missed the python2-xdg change in my patch, and I also did not > replace > python with python-wrapper. Is the latter change necessary? > I use the wrapper because it is more failproof with calling the correct interpreter. The autostart header begins with: #!@PYTHON@ Not a direct call the path in the store, don't know if it would work with only python. > > +From acfbbc4ea40932f183617bb7006700140fe5f61e Mon Sep 17 00:00:00 > > 2001 > > +From: Troy Curtis Jr > > +Date: Wed, 13 Sep 2017 21:59:48 -0500 > > +Subject: [PATCH] Add python3 support to openbox-xdg-autostart. > > + > > +Updated syntax in openbox-xdg-autostart to support both python2 > > and > > +python3. > > + > > +Added a configure substitution to set the chosen python at build > > time. > > + > > +https://bugzilla.icculus.org/show_bug.cgi?id=6444 > > +--- > > +Patch imported from Debian: > > https://sources.debian.org/src/openbox/3.6.1-10/debian/patches/python3.patch/ > >  with the following change: don't rename data/autostart/openbox- > > xdg-autostart to data/autostart/openbox-xdg-autostart.in. > > Is this note about "Patch imported from Debian" written by you? > Yes, that is my own comment. > We always try to give links to the source of patches, as well as a > note > that explains the context of the patch and a link to any discussions > within Guix. > > So, the patch file should start with something like this: > > ------ > Make Openbox compatible with Python 2: > > https://issues.guix.gnu.org/53750 > > Openbox seems to be abandoned upstream, with no activity in their Git > repo since > 2015: > > http://openbox.org/develop-git.php > > Patch copied from XXX: > > https://example.com/ > ------ Thanks for the suggestion. I'll check the other issue.