From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51565) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4z8d-0003kS-Ge for guix-patches@gnu.org; Thu, 20 Feb 2020 22:38:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4z8c-0001dU-Fi for guix-patches@gnu.org; Thu, 20 Feb 2020 22:38:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4z8c-0001cr-BM for guix-patches@gnu.org; Thu, 20 Feb 2020 22:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j4z8c-0003yc-5o for guix-patches@gnu.org; Thu, 20 Feb 2020 22:38:02 -0500 Subject: [bug#39599] Resent-Message-ID: From: Jack Hill Date: Thu, 20 Feb 2020 22:37:32 -0500 Message-Id: <20200221033733.11242-1-jackhill@jackhill.us> In-Reply-To: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39599@debbugs.gnu.org Cc: Jack Hill , Alex Griffin Alex, On Thu, 20 Feb 2020, Alex Griffin wrote: > I packaged PaperWM using copy-build-system as an additional test case. This is great! I learned about PaperWM from your patch, and I've been having lots of fun with it. > + '(#:install-plan > + '(("." "share/gnome-shell/extensions/paperwm@hedning:matrix.org" > + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" > + "\\.xml$" "\\.compiled$"))))) Seeing "compiled" here caught my attention. Since all we are doing so far is copying files around, I expect everything to be in source form. In this case the compiled file is a compiled glib schema. I've prepared a second version of the patch that removes this file in a source snippet and compiles it from the source in a new build phase. This is another testament to the usefulness of the copy-build-system. It would have been much more work to make the same modification to a package that uses the trivial-build-system. Thanks Pierre! Best, Jack