From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yJLdF0UprF66CAAA0tVLHw (envelope-from ) for ; Fri, 01 May 2020 13:51:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qEhrHE4prF5HPgAA1q6Kng (envelope-from ) for ; Fri, 01 May 2020 13:51:10 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 D8D56941AC0 for ; Fri, 1 May 2020 13:51:08 +0000 (UTC) Received: from localhost ([::1]:33364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUW4K-0003t4-Jp for larch@yhetil.org; Fri, 01 May 2020 09:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59384) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUW4F-0003pq-Fv for guix-patches@gnu.org; Fri, 01 May 2020 09:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUW4E-00050G-ET for guix-patches@gnu.org; Fri, 01 May 2020 09:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUW4D-00050A-W3 for guix-patches@gnu.org; Fri, 01 May 2020 09:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUW4D-0007tn-Sd for guix-patches@gnu.org; Fri, 01 May 2020 09:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40994] 1-girara-v1 References: <20200501075253.0c2c27d0.raghavgururajan@disroot.org> In-Reply-To: <20200501075253.0c2c27d0.raghavgururajan@disroot.org> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 May 2020 13:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40994 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40994@debbugs.gnu.org Received: via spool by 40994-submit@debbugs.gnu.org id=B40994.158834103030304 (code B ref 40994); Fri, 01 May 2020 13:51:01 +0000 Received: (at 40994) by debbugs.gnu.org; 1 May 2020 13:50:30 +0000 Received: from localhost ([127.0.0.1]:48469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUW3b-0007sT-Ki for submit@debbugs.gnu.org; Fri, 01 May 2020 09:50:30 -0400 Received: from knopi.disroot.org ([178.21.23.139]:34784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUW3Z-0007sB-IX for 40994@debbugs.gnu.org; Fri, 01 May 2020 09:50:22 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B8ECA20FBB for <40994@debbugs.gnu.org>; Fri, 1 May 2020 15:50:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MlTqzkEyS2Xg for <40994@debbugs.gnu.org>; Fri, 1 May 2020 15:50:17 +0200 (CEST) Date: Fri, 1 May 2020 09:49:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588341016; bh=otzjpToWxvtdciElFH4C772gXmfApDrnTI+YH85nnhA=; h=Date:From:To:Subject; b=hpYOQ5ovMoSTIxoy4g8O6R4u8lhOEADIOf2MVd+MPsPmwtFVHndOylKPa68HUm5xs baAlkBrjXTyq6Kt9Dw4TWrdscP9v9S9shnSzg/c4FK63OS8Ce5F5l3Lz8hMUkjvE/s 7KFNKY9Eue0mvHm8bRFMIhSCYb95j2/jwznzELKWtL5hcXSUxXdVVlCpLpIaNgjyXu fMiWPeYc8OiMmuS+F4yombuEtColzF8fXGTOE1ThIB/WeFOgzhk1SxEZSSWS+V+Qqm YwDhbeDMAawyMc6QHMKJyPJUBt/aTV8gEp99XB8hcy5p2qzaKeRDip0bcXk52069dM eDgqDKc2hFmxw== From: Raghav Gururajan Message-ID: <20200501094948.56033139.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/7Bm+N6VVEd6V7LsgrN1mMt8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 1.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=disroot.org header.s=mail header.b=hpYOQ5ov; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [1.59 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49515368861082]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_DKIM_REJECT(1.00)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; HAS_ATTACHMENT(0.00)[]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.16), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[disroot.org:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[raghavgururajan@disroot.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[denknerd.org:email,tobias.gr:email,pwmt.org:url,disroot.org:email,gnu.org:url,openmailbox.org:email,n0.is:email,fastmail.com:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; PREVIOUSLY_DELIVERED(0.00)[40994@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[disroot.org : SPF not aligned (relaxed),none] X-TUID: F1Iv6xdpSUzF --MP_/7Bm+N6VVEd6V7LsgrN1mMt8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/7Bm+N6VVEd6V7LsgrN1mMt8 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=1-giara-v1.patch =46rom 4f73a7fbd82838e99680e8043b78e9d7009284eb Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 1 May 2020 07:26:49 -0400 Subject: [PATCH 1/2] gnu: girara: Move to pwmt module. Moved variable from gtk.scm to pwmt.scm, for being part of pwmt project. Added extra dependencies and arguments for additional features. Changed source-origin from git to release files. Made some cosmetic changes in the definition. * gnu/packages/gtk.scm (girara): Remove variable. * gnu/packages/pwmt.scm (girara): Add variable. --- gnu/packages/gtk.scm | 49 -------------------- gnu/packages/pwmt.scm | 101 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 49 deletions(-) create mode 100644 gnu/packages/pwmt.scm diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index bea4850d15..4d093a0e0a 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1445,55 +1445,6 @@ In addition to the low level layout rendering routin= es, Pango includes and routines to assist in editing internationalized text.") (license license:lgpl2.1+))) =20 -(define-public girara - (package - (name "girara") - (version "0.3.4") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://git.pwmt.org/pwmt/girara") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "08rpw9hkaprm4r853xy1d35i2af1pji8c3mzzl01mmwmyr9p0x8k")))) - (native-inputs `(("pkg-config" ,pkg-config) - ("check" ,check) - ("gettext" ,gettext-minimal) - ("glib:bin" ,glib "bin") - ("xorg-server" ,xorg-server-for-tests))) - ;; Listed in 'Requires.private' of 'girara.pc'. - (propagated-inputs `(("gtk+" ,gtk+))) - (arguments - `(#:phases (modify-phases %standard-phases - (add-before 'check 'start-xserver - ;; Tests require a running X server. - (lambda* (#:key inputs #:allow-other-keys) - (let ((xorg-server (assoc-ref inputs "xorg-server")) - (display ":1")) - (setenv "DISPLAY" display) - - ;; On busy machines, tests may take longer than - ;; the default of four seconds. - (setenv "CK_DEFAULT_TIMEOUT" "20") - - ;; Don't fail due to missing '/etc/machine-id'. - (setenv "DBUS_FATAL_WARNINGS" "0") - (zero? (system (string-append xorg-server "/bin/Xv= fb " - display " &"))))))))) - (build-system meson-build-system) - (home-page "https://pwmt.org/projects/girara/") - (synopsis "Library for minimalistic gtk+3 user interfaces") - (description "Girara is a library that implements a user interface that -focuses on simplicity and minimalism. Currently based on GTK+, a -cross-platform widget toolkit, it provides an interface that focuses on th= ree -main components: a so-called view widget that represents the actual -application, an input bar that is used to execute commands of the -application and the status bar which provides the user with current -information.") - (license license:zlib))) - (define-public gtk-doc (package (name "gtk-doc") diff --git a/gnu/packages/pwmt.scm b/gnu/packages/pwmt.scm new file mode 100644 index 0000000000..3e986c3656 --- /dev/null +++ b/gnu/packages/pwmt.scm @@ -0,0 +1,101 @@ +;;; GNU Guix --- Functional package management for GNU +;;; +;;; Copyright =C2=A9 2015 Paul van der Walt +;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2017 2018 Marius Bakke +;;; Copyright =C2=A9 2017 Kei Kebreau +;;; Copyright =C2=A9 2018 2019 2020 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2020 Raghav Gururajan +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages pwmt) + #:use-module (gnu packages) + #:use-module (gnu packages check) + #:use-module (gnu packages documentation) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages web) + #:use-module (gnu packages xorg) + #:use-module (gnu packages xdisorg) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (guix build-system meson)) + +(define-public girara + (package + (name "girara") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri + (string-append "https://pwmt.org/projects/" name "/download/" + name "-" version ".tar.xz")) + (sha256 + (base32 "0cmjdismdsx9a5l7zx54zkd33mgg3mx4ckpvc7aap3x6a1ddmz2i")))) + (arguments + `(#:glib-or-gtk? #t ; To compile schemas + #:configure-flags + (list + "-Dnotify=3Denabled") ; For notification support + #:phases + (modify-phases %standard-phases + (add-before 'check 'start-xserver + ;; Tests require a running X server. + (lambda* (#:key inputs #:allow-other-keys) + (let + ((xorg-server (assoc-ref inputs "xorg-server")) + (display ":1")) + (setenv "DISPLAY" display) + ;; On busy machines, tests may take longer than + ;; the default of four seconds. + (setenv "CK_DEFAULT_TIMEOUT" "20") + ;; Don't fail due to missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? + (system + (string-append xorg-server "/bin/Xvfb " + display " &"))))))))) + (build-system meson-build-system) + (native-inputs + `(("check" ,check) ; For tests + ("doxygen" ,doxygen) ; For docs + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("pkg-config" ,pkg-config) + ("xorg-server" ,xorg-server-for-tests))) ; For tests + (inputs + `(("glib" ,glib) + ("gtk+" ,gtk+) + ("json-c" ,json-c) ; For configuration dumping support + ("libnotify" ,libnotify) ; For notification support + ("pango" ,pango))) + (home-page "https://pwmt.org/projects/girara/") + (synopsis "Library for minimalistic gtk+3 user interfaces") + (description "Girara is a library that implements a user interface that +focuses on simplicity and minimalism. Currently based on GTK+, a +cross-platform widget toolkit, it provides an interface that focuses on th= ree +main components: a so-called view widget that represents the actual +application, an input bar that is used to execute commands of the +application and the status bar which provides the user with current +information.") + (license license:zlib))) --=20 2.26.2 --MP_/7Bm+N6VVEd6V7LsgrN1mMt8--