From patchwork Fri Apr 19 02:10:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: aurtzy X-Patchwork-Id: 63148 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 98B9F27BBEA; Fri, 19 Apr 2024 03:30:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7EEDF27BBE9 for ; Fri, 19 Apr 2024 03:30:08 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxe0h-00059W-Gk; Thu, 18 Apr 2024 22:29:55 -0400 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 1rxe0e-00059E-FA for guix-patches@gnu.org; Thu, 18 Apr 2024 22:29:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxe0d-0000PP-P5 for guix-patches@gnu.org; Thu, 18 Apr 2024 22:29:51 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxe0r-0004HO-19 for guix-patches@gnu.org; Thu, 18 Apr 2024 22:30:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70466] [PATCH] gnu: Add libdecor. Resent-From: aurtzy Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Apr 2024 02:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70466@debbugs.gnu.org Cc: john.kehayias@protonmail.com, aurtzy X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171349374316020 (code B ref -1); Fri, 19 Apr 2024 02:30:04 +0000 Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 02:29:03 +0000 Received: from localhost ([127.0.0.1]:56024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxdzq-0004A7-G1 for submit@debbugs.gnu.org; Thu, 18 Apr 2024 22:29:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxdzm-00048b-GT for submit@debbugs.gnu.org; Thu, 18 Apr 2024 22:29:00 -0400 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 1rxdzR-00054t-2S for guix-patches@gnu.org; Thu, 18 Apr 2024 22:28:37 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxdzO-0000LL-28 for guix-patches@gnu.org; Thu, 18 Apr 2024 22:28:36 -0400 Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-437846c4ceaso9490421cf.3 for ; Thu, 18 Apr 2024 19:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713493712; x=1714098512; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=99svHTdBUkmMcShzzQ9wHP2WSHtDaADzEkDIYnRUAiU=; b=FKCQ6sBNbjfGdqkxvaJf+TDrQHGLq940xBp+tXuuul2ZPmTENQXqwiYrUvHW+C9maP 3yw9I+wUzN395xq6VQwZvXwuYqj8+PxGY9OSO235diYTPaQyXI7LXTFuOTyg+20GFb2U pDvUjb7t7gu/eY1F2y1lXeTujNHe0W6l99cpc+CjO7ZKG7QpywwTlULeyZ2+N0/g9nj+ J0ZBhS1cTOl561175Slbq/Xw1Xs13ql6eBDSJhItzJqqnYvN0VqQu1jW5x8Cfiw4p7XM VYDeMgJVL/1vwgWxBhEwLojiGXcuoYdvBAq11gl5TdJo9kFxNDzXTkZ+idWdkQqjsir+ Hh8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713493712; x=1714098512; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=99svHTdBUkmMcShzzQ9wHP2WSHtDaADzEkDIYnRUAiU=; b=jDXy9FbDZz09C+2V6y5Ezw1h9LeVoEPddDACpPZ8EGFhfsc3HwsyXb2LB5VXgI7dO3 vGVcl6GJ9ToPEO4U4H3OhQLMJ9v0qc2lwHStKaY4vlzcxzVcB6xfCAo69xf3xhV/JKDM en3xYstbhfUbrp08sR5cbi8+ZPEXydKj/WMrFkEH4hFU3alIbBs+zD+oBm0F6toEM2L7 lvjf79PMzhk1+hqpcBNihbf9e6/z2CsCS3PAS2l/wGjGUdadhxXoGEEJJlu9wqrKl0un t2E4XBtcq0GuF4VJnIQSWux9VgJGypczZj8THN/R1KkT2tz/ngRwLieiY7aBSThexk1Z FqYQ== X-Gm-Message-State: AOJu0YxlVuDscRojwF7j0MCD9stVUB53L/01JAUknTtyWIVkYIuok8rZ iuBtzt+zNIDrWlmM0WxdRljUfcNnI9EWwm/Sx7yyoPOUh6gxqt9z4A0F1g== X-Google-Smtp-Source: AGHT+IHWmEBB0rXgUlX93zVSyJQKcs2QbigygMcmFWre7Vs6k4uIk4kcKbti6DGwZcmugHYlY9zv3w== X-Received: by 2002:ac8:7d05:0:b0:437:ba0e:68f5 with SMTP id g5-20020ac87d05000000b00437ba0e68f5mr909854qtb.25.1713493712293; Thu, 18 Apr 2024 19:28:32 -0700 (PDT) Received: from localhost.localdomain ([2600:4808:a053:7600::92d]) by smtp.gmail.com with ESMTPSA id v10-20020ac873ca000000b004378b8ef629sm1209399qtp.31.2024.04.18.19.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 19:28:31 -0700 (PDT) From: aurtzy Date: Thu, 18 Apr 2024 22:10:56 -0400 Message-ID: <01e46762faf0b74581d07a365c65157354081f84.1713492642.git.aurtzy@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=aurtzy@gmail.com; helo=mail-qt1-x82e.google.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xorg.scm (libdecor): New variable. Change-Id: Ic8d8886a55ae344fafbe16288a1180c89fa36af1 --- Is this a reasonable location for libdecor? I had trouble deciding between (gnu packages xorg) and (gnu packages xdisorg), but even then I wasn't sure if it belonged in either. gnu/packages/xorg.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) base-commit: 49f82fca4130ffcfb16aa0cf89750ab56fb99ad7 diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 81d8462761..4fd4c3eece 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -38,6 +38,8 @@ ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; Copyright © 2023, 2024 John Kehayias ;;; Copyright © 2023, 2024 Kaelyn Takata +;;; Copyright © 2022 Samuel Culpepper +;;; Copyright © 2024 aurtzy ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +76,7 @@ (define-module (gnu packages xorg) #:use-module (gnu packages bash) #:use-module (gnu packages bison) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages cups) #:use-module (gnu packages compression) #:use-module (gnu packages emacs) @@ -6773,3 +6776,35 @@ (define-public setroot syntax without its image viewing capabilities. It supports multiple monitors and can restore previously set wallpapers and options.") (license license:gpl3+))) + +(define-public libdecor + (package + (name "libdecor") + (version "0.2.2") + (source + (origin (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/libdecor/libdecor") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05rxchwzhnkm91kcr30mavizkp25wgjlhb6lcraa456pw7vgb04q")))) + (build-system meson-build-system) + (native-inputs (list cmake + pkg-config)) + (inputs (list cairo + dbus + egl-wayland + gtk+ + libglvnd + libxkbcommon + pango + wayland + wayland-protocols)) + (home-page "https://gitlab.freedesktop.org/libdecor/libdecor") + (synopsis "Client-side decorations library for Wayland clients") + (description "libdecor is a library that can help Wayland clients draw +window decorations for them. It aims to provide multiple backends that +implements the decoration drawing.") + (license license:expat)))