From patchwork Sun Mar 15 05:28:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 20682 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 53AF827BBEA; Sun, 15 Mar 2020 05:30:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4D44A27BBE4 for ; Sun, 15 Mar 2020 05:30:17 +0000 (GMT) Received: from localhost ([::1]:51116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLqq-00036O-Pk for patchwork@mira.cbaines.net; Sun, 15 Mar 2020 01:30:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33988) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLqg-000366-GA for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDLqc-00044a-Te for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDLqc-00044I-Ph for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDLqc-0006KW-MN for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40068] [PATCH 1/4] gnu: Add date. References: <3eca1927-4a04-3219-77d8-729626e41086@brendan.scot> In-Reply-To: <3eca1927-4a04-3219-77d8-729626e41086@brendan.scot> Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 05:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40068@debbugs.gnu.org Received: via spool by 40068-submit@debbugs.gnu.org id=B40068.158425018824258 (code B ref 40068); Sun, 15 Mar 2020 05:30:02 +0000 Received: (at 40068) by debbugs.gnu.org; 15 Mar 2020 05:29:48 +0000 Received: from localhost ([127.0.0.1]:34170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqF-0006Ip-9r for submit@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:48 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:58948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqA-0006ID-Nf for 40068@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:38 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 48g7KN4wGmzQlFh for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:28 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1584250166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=51BaaFAMUqsRBYKJ7D7SUf1QATltNh8Yt1Ybwq5fyrQ=; b=TjCsDM90JZX8o73rnHxE6NBk2wb1fayTfGuoieBDfqivYJ+usAMQALfFkX9Ycqy8ODKuNy +yzJA5Vmo7ZuHEzxbluGOsC0vtaQrZ2OTeOGFDOIkZbL3S4EFuPd3jrnWVsOtoWpP+NPRA 6pIbru66xIZEd5/b4yplwUtzJEjgtSK+Ziyebmmivb2oTPV0TlvpoJOXlEwiOdjk4ji0oS K6IveKccfEMAHiVcacHt0f0KDl/D16z3w7bjD1CRR/I0zHuDoXdbBGLhEpRjVOSK/Q0B26 GzYyPhLLKvD7ru7GskZzjmw49bB5/1YvehZ/7/7rsGCZPcmJVmRqBawGoksDeQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id YWw-7HzDpgMr for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:25 +0100 (CET) From: Brendan Tildesley Date: Sun, 15 Mar 2020 16:28:50 +1100 Message-Id: <20200315052853.26793-1-mail@brendan.scot> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/wm.scm (date): New variable. * gnu/packages/patches/date-output-pkg-config-files.patch: New file. * gnu/local.mk: Add patch. --- gnu/local.mk | 2 + gnu/packages/calendar.scm | 58 ++++++++++++++++++ .../date-output-pkg-config-files.patch | 60 +++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 gnu/packages/patches/date-output-pkg-config-files.patch diff --git a/gnu/local.mk b/gnu/local.mk index 99baddea92..84ddeb3f9e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -26,6 +26,7 @@ # Copyright © 2019 Evan Straw # Copyright © 2019 Brett Gilio # Copyright © 2019 Amin Bandali +# Copyright © 2020 Brendan Tildesley # # This file is part of GNU Guix. # @@ -802,6 +803,7 @@ dist_patch_DATA = \ %D%/packages/patches/cube-nocheck.patch \ %D%/packages/patches/cursynth-wave-rand.patch \ %D%/packages/patches/cvs-CVE-2017-12836.patch \ + %D%/packages/patches/date-output-pkg-config-files.patch \ %D%/packages/patches/darkice-workaround-fpermissive-error.patch \ %D%/packages/patches/dbus-helper-search-path.patch \ %D%/packages/patches/dbus-c++-gcc-compat.patch \ diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 060e4d18ad..95c43e1d06 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016 Stefan Reichoer ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2020 Marius Bakke ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,6 +27,7 @@ (define-module (gnu packages calendar) #:use-module (gnu packages) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -48,6 +50,62 @@ #:use-module (gnu packages xml) #:use-module (srfi srfi-26)) +(define-public date + ;; We make the same choice as the Arch package maintainer by choosing a + ;; recent commit to fix some bugs. + ;; https://github.com/Alexays/Waybar/issues/565 + (let ((commit "9a0ee2542848ab8625984fc8cdbfb9b5414c0082")) + (package + (name "date") + (version (string-append "2.4.1-" (string-take commit 8))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url"https://github.com/HowardHinnant/date.git") + (commit "9a0ee2542848ab8625984fc8cdbfb9b5414c0082"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0yxsn0hj22n61bjywysxqgfv7hj5xvsl6isma95fl8xrimpny083")) + (patches + ;; Install pkg-config files + ;; https://github.com/HowardHinnant/date/pull/538 + (search-patches "date-output-pkg-config-files.patch")))) + (inputs `(("tzdata" ,tzdata))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags (list "-DUSE_SYSTEM_TZ_DB=ON" + "-DBUILD_SHARED_LIBS=ON" + "-DBUILD_TZ_LIB=ON" + "-DENABLE_DATE_TESTING=ON") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bin-bash + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "compile_fail.sh" + (("/bin/bash") (which "bash"))) + #t)) + (add-after 'unpack 'patch-zoneinfo-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/tz.cpp" + (("/usr/share/zoneinfo") + (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))) + #t)) + (replace 'check + (lambda _ + ;; Disable test that requires checking timezone that + ;; isn't set in the build environment. + (substitute* "CTestTestfile.cmake" + (("add_test.tz_test_pass_zoned_time_deduction_test.*") "") + (("set_tests_properties.tz_test_pass_zoned_time_deduction_test.*") "")) + (invoke "make" "testit")))))) + (synopsis "Date and time library for C++11 and C++14") + (description "Date is a header only C++ library that extends the chrono +date algorithms library for calendar dates and durations. It also provides +the library for handling time zones and leap seconds.") + (home-page "https://howardhinnant.github.io/date/date.html") + (license license:expat)))) + (define-public libical (package (name "libical") diff --git a/gnu/packages/patches/date-output-pkg-config-files.patch b/gnu/packages/patches/date-output-pkg-config-files.patch new file mode 100644 index 0000000000..3fd1d54b36 --- /dev/null +++ b/gnu/packages/patches/date-output-pkg-config-files.patch @@ -0,0 +1,60 @@ +From e56b2dce7e89a92e1b9b35caa13b3e938c4cedea Mon Sep 17 00:00:00 2001 +From: Cole Mickens +Date: Sun, 26 Jan 2020 01:27:08 -0800 +Subject: [PATCH] CMakeLists.txt: output date.pc for pkg-config + +--- + CMakeLists.txt | 15 +++++++++++++++ + date.pc.in | 10 ++++++++++ + 2 files changed, 25 insertions(+) + create mode 100644 date.pc.in + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f30c473..fe778e8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -128,6 +128,15 @@ if( BUILD_TZ_LIB ) + endif( ) + endif( ) + ++if ( BUILD_TZ_LIB ) ++ # Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@ ++ set( TZ_COMPILE_DEFINITIONS "$,-D$, -D>,>" ) ++ configure_file(date.pc.in date.pc.cf @ONLY) ++ file( GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/date.pc" ++ INPUT "${CMAKE_CURRENT_BINARY_DIR}/date.pc.cf" ) ++ ++endif( ) ++ + #[===================================================================[ + installation + #]===================================================================] +@@ -171,6 +180,12 @@ install ( + FILES cmake/dateConfig.cmake "${version_config}" + DESTINATION ${CONFIG_LOC}) + ++if ( BUILD_TZ_LIB ) ++ install( ++ FILES ${CMAKE_BINARY_DIR}/date.pc ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) ++endif( ) ++ + #[===================================================================[ + testing + #]===================================================================] +diff --git a/date.pc.in b/date.pc.in +new file mode 100644 +index 0000000..b9c4623 +--- /dev/null ++++ b/date.pc.in +@@ -0,0 +1,10 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++exec_prefix=@CMAKE_INSTALL_BINDIR@ ++libdir=@CMAKE_INSTALL_LIB@ ++includedir=@CMAKE_INSTALL_INCLUDE@ ++ ++Name: date ++Description: A date and time library based on the C++11/14/17 header ++Version: @PACKAGE_VERSION@ ++Libs: -L${libdir} -ltz ++Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@ From patchwork Sun Mar 15 05:28:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 20681 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 2051127BBEB; Sun, 15 Mar 2020 05:30:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BA1DB27BBEA for ; Sun, 15 Mar 2020 05:30:17 +0000 (GMT) Received: from localhost ([::1]:51118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLqr-00036Y-9T for patchwork@mira.cbaines.net; Sun, 15 Mar 2020 01:30:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33901) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLqd-00035w-Hr for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDLqc-00043c-GG for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDLqc-000436-D1 for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDLqc-0006KO-8j for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40068] [PATCH 2/4] gnu: spdlog: Update to 1.5.0. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 05:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40068@debbugs.gnu.org Received: via spool by 40068-submit@debbugs.gnu.org id=B40068.158425017624217 (code B ref 40068); Sun, 15 Mar 2020 05:30:02 +0000 Received: (at 40068) by debbugs.gnu.org; 15 Mar 2020 05:29:36 +0000 Received: from localhost ([127.0.0.1]:34167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqC-0006IX-2r for submit@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:36 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:58952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqB-0006IH-56 for 40068@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:35 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 48g7KP4kB0zQlGJ for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:29 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1584250167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=126HfoQ+yNxextpIbErHu1Q1ecUN4FNPbhWZhGip77U=; b=ZEZXhA9kGElCx6tv0UQt2icTtjNuOGOIHMxRyNI6ydPLPQ15JAhw6AGHs7KPOPWINvlWNe REFEVIwXigqVgRSsgKsDEyWbmhyh7EiikykYvZmenistD8OMKE+li33sp00PgkJ6VDWzbB LabXArkl6vdGbgvj7zckFfi7I52coTIvu16u1r/sExLNM8zL+hOdAcg520Hpnpe6Kn4a8t XIdjlGIqy74YvEio57HPh+jSAsJWMFGTas2M3Cr2YEGEl7WiQHr0Jghr/MMPGTugV89zP9 lMM1F8/IRIofnMaYbqcEq5+W8mp5wpjM9KsHmXL7KbF9ug2vmMyPrPNS3BUeGw== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id h0sDF1YKjFm2 for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:26 +0100 (CET) From: Brendan Tildesley Date: Sun, 15 Mar 2020 16:28:51 +1100 Message-Id: <20200315052853.26793-2-mail@brendan.scot> In-Reply-To: <20200315052853.26793-1-mail@brendan.scot> References: <20200315052853.26793-1-mail@brendan.scot> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/logging.scm (spdlog): Update to 1.5.0 --- gnu/packages/logging.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index d75c44aea6..8496b6256d 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -179,7 +179,7 @@ windows in a terminal, colorize, filter and merge.") (define-public spdlog (package (name "spdlog") - (version "1.3.1") + (version "1.5.0") (source (origin (method git-fetch) @@ -189,7 +189,7 @@ windows in a terminal, colorize, filter and merge.") (file-name (git-file-name name version)) (sha256 (base32 - "1rd4zmrlkcdjx0m0wpmjm1g9srj7jak6ai08qkhbn2lsn0niifzd")))) + "0dn44r3xbw1w0bk9yflnxkh3rzdq2bpxkks44skfmqig0rsj1f1x")))) (build-system cmake-build-system) ;; TODO run benchmark. Currently not possible, as adding ;; (gnu packages benchmark) forms a dependency cycle From patchwork Sun Mar 15 05:28:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 20683 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 3B0EE27BBEA; Sun, 15 Mar 2020 05:30:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E0F9027BBE4 for ; Sun, 15 Mar 2020 05:30:27 +0000 (GMT) Received: from localhost ([::1]:51134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLr1-0003MO-D8 for patchwork@mira.cbaines.net; Sun, 15 Mar 2020 01:30:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33941) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLqe-00035z-Gt for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDLqd-00046M-AQ for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDLqd-000468-7F for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDLqd-0006Kd-3z for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40068] [PATCH 3/4] gnu: Add gtk-layer-shell. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 05:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40068@debbugs.gnu.org Received: via spool by 40068-submit@debbugs.gnu.org id=B40068.158425018924265 (code B ref 40068); Sun, 15 Mar 2020 05:30:03 +0000 Received: (at 40068) by debbugs.gnu.org; 15 Mar 2020 05:29:49 +0000 Received: from localhost ([127.0.0.1]:34173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqO-0006JD-Ry for submit@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:49 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:14856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqE-0006IL-6r for 40068@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:39 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 48g7KS2hq3zKmVh for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:32 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1584250170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MvwX9IuDfu32DAyaZkdKfXkLps6YcdHs+z/eELX6Xv4=; b=grigXZsSf6sz9suvCBbHKE2Mgpqei23vxz0Hqgh4WUBrZFQvIT0roi9nsYy9hwGgCTcr4m irSU8hnOrJBY9UN6WmJrZ44LrkOs5VmPZpNkVDpI02wtUW7x36zR6STvaOgt46vIU/xm2k 34yYkCZhc1fg18hqT53J3BpTJz7iDdrueIU7t6zK05nTlpHaO2XgUjkxeBit10gjBqmxh1 JJ9/b//FDtD8GS5c11OZ5ZS67vM9ybN9JrfIXQjNYvjE3QcNc8N7UeocS+JBKhO8hprm3I pifwdqXo9jJ8rikN48kmJTmFsVHDnIaxJ3T+wHNCcqZoHj/Bzi8sOIhfuEJXMw== Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id jQh6z2_5L9b6 for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:28 +0100 (CET) From: Brendan Tildesley Date: Sun, 15 Mar 2020 16:28:52 +1100 Message-Id: <20200315052853.26793-3-mail@brendan.scot> In-Reply-To: <20200315052853.26793-1-mail@brendan.scot> References: <20200315052853.26793-1-mail@brendan.scot> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gtk.scm (gtk-layer-shell): New variable. --- gnu/packages/gtk.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 7a364d4b35..c40911c994 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2019 Meiyo Peng ;;; Copyright © 2019 Giacomo Leidi +;;; Copyright © 2020 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -1892,3 +1893,30 @@ displayed on the other side of the bus.") ;; Dual-licensed under either LGPLv2.1 or LGPLv3. (license (list license:lgpl2.1 license:lgpl3)))) + +(define-public gtk-layer-shell + (package + (name "gtk-layer-shell") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/wmww/gtk-layer-shell/releases/download/v" + version "/gtk-layer-shell-" version ".tar.xz")) + (sha256 + (base32 "0ncklk3z0fzlz6p76jdcrr1ykyp1f4ykjjch4x2hfp9bwsnl4a3m")))) + (build-system meson-build-system) + (native-inputs `(("pkg-config" ,pkg-config) + ("gobject-introspection" ,gobject-introspection))) + (inputs `(("wayland" ,wayland) + ("gtk+" ,gtk+))) + (home-page "https://github.com/wmww/gtk-layer-shell") + (synopsis "Library to create Wayland desktop components using the Layer +Shell protocol") + (description "Layer Shell is a Wayland protocol for desktop shell +components, such as panels, notifications and wallpapers. It can be used to +anchor windows to a corner or edge of the output, or stretch them across the +entire output. It supports all Layer Shell features including popups and +popovers.") + (license license:expat))) From patchwork Sun Mar 15 05:28:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Tildesley X-Patchwork-Id: 20684 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 505ED27BBEA; Sun, 15 Mar 2020 05:30:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E88D527BBE4 for ; Sun, 15 Mar 2020 05:30:37 +0000 (GMT) Received: from localhost ([::1]:51136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLrB-0003RO-Ff for patchwork@mira.cbaines.net; Sun, 15 Mar 2020 01:30:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33966) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDLqf-000364-6T for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDLqd-00047p-Pa for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDLqd-00047N-Lo for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDLqd-0006Kk-IP for guix-patches@gnu.org; Sun, 15 Mar 2020 01:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40068] [PATCH 4/4] gnu: waybar: Update to 0.9.1. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Mar 2020 05:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40068 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40068@debbugs.gnu.org Received: via spool by 40068-submit@debbugs.gnu.org id=B40068.158425018924272 (code B ref 40068); Sun, 15 Mar 2020 05:30:03 +0000 Received: (at 40068) by debbugs.gnu.org; 15 Mar 2020 05:29:49 +0000 Received: from localhost ([127.0.0.1]:34175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqP-0006JK-52 for submit@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:49 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:14716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jDLqF-0006IP-M2 for 40068@debbugs.gnu.org; Sun, 15 Mar 2020 01:29:40 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 48g7KT6BrbzKmbT for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:33 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1584250171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Z3oVbQ6DkPqEgNRsBnlckXGUqpDIBQqQvPNpxy5i7w=; b=XOqzMe7v2UvlNUpXuQieCSqeNkDUmPUmWaryXiQpL6nYZrk7upg0+s9nt5h43cuX9VXELi aXAKsDe6j8iMjJjfDvUHSTquZKfwK1FkadR99WCmlfV1NTTj3NCR2GxGO1ArfACooKQKms d4v2UBTpRF7txSXUHC5Ky+B0+ZtVK1yPufXaS+MRAu1sd5lopZi9sBxoHw3Bz1pqF9oJJV hXQAyzUGYqeqzbgtBodeUwWWogpVbNJDPaefpCB/KCW3Yca/y2ywmZu4lXNTvgjYnhA6BC AVLNTBe2PrRJxBF1yVPg7iowxFUc5UZYeP13HKUZeyyudPrgKQS0sdQBHyiN1Q== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id QSRazTuq4pv8 for <40068@debbugs.gnu.org>; Sun, 15 Mar 2020 06:29:30 +0100 (CET) From: Brendan Tildesley Date: Sun, 15 Mar 2020 16:28:53 +1100 Message-Id: <20200315052853.26793-4-mail@brendan.scot> In-Reply-To: <20200315052853.26793-1-mail@brendan.scot> References: <20200315052853.26793-1-mail@brendan.scot> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/wm.scm (waybar): Update to 0.9.1. [inputs]: Add date and gtk-layer-shell dependencies. [synopsis]:Remove period. --- gnu/packages/wm.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index f9b6ef9880..c61be7003f 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -66,6 +66,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bison) + #:use-module (gnu packages calendar) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) @@ -1485,7 +1486,7 @@ modules for building a Wayland compositor.") (define-public waybar (package (name "waybar") - (version "0.8.0") + (version "0.9.1") (source (origin (method git-fetch) @@ -1494,12 +1495,14 @@ modules for building a Wayland compositor.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0s8ck7qxka0l91ayma6amp9sc8cidi43byqgzcavi3a6id983r1z")))) + (base32 "0drlv8im5phz39jxp3gxkc40b6f85bb3piff2v3hmnfzh7ib915s")))) (build-system meson-build-system) (arguments `(#:configure-flags (list (string-append "-Dout=" (assoc-ref %outputs "out"))))) - (inputs `(("fmt" ,fmt) + (inputs `(("date" ,date) + ("fmt" ,fmt) + ("gtk-layer-shell" ,gtk-layer-shell) ("gtkmm" ,gtkmm) ("jsoncpp" ,jsoncpp) ("libdbusmenu" ,libdbusmenu) @@ -1513,7 +1516,7 @@ modules for building a Wayland compositor.") ("pkg-config" ,pkg-config) ("wayland-protocols" ,wayland-protocols))) (home-page "https://github.com/Alexays/Waybar") - (synopsis "Wayland bar for Sway and Wlroots based compositors.") + (synopsis "Wayland bar for Sway and Wlroots based compositors") (description "Waybar is a highly customisable Wayland bar for Sway and Wlroots based compositors.") (license license:expat))) ; MIT license