From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2BHbHJaGhmCqxgAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 11:23:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kO5oGJaGhmCcUAAAbx9fmQ (envelope-from ) for ; Mon, 26 Apr 2021 09:23:34 +0000 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 3CA8010A1A for ; Mon, 26 Apr 2021 11:23:34 +0200 (CEST) Received: from localhost ([::1]:58946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laxSm-0008PI-QU for larch@yhetil.org; Mon, 26 Apr 2021 05:23:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laxSJ-0008OE-A6 for guix-patches@gnu.org; Mon, 26 Apr 2021 05:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laxSJ-0003BI-3E for guix-patches@gnu.org; Mon, 26 Apr 2021 05:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laxSI-0002aK-VW for guix-patches@gnu.org; Mon, 26 Apr 2021 05:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48028] [PATCH wip-gnome v3 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3. References: <7c08ca5b-a7cb-cdf3-c8bb-673cec8876a8@raghavgururajan.name> In-Reply-To: <7c08ca5b-a7cb-cdf3-c8bb-673cec8876a8@raghavgururajan.name> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Apr 2021 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48028 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48028@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48028-submit@debbugs.gnu.org id=B48028.16194289469793 (code B ref 48028); Mon, 26 Apr 2021 09:23:02 +0000 Received: (at 48028) by debbugs.gnu.org; 26 Apr 2021 09:22:26 +0000 Received: from localhost ([127.0.0.1]:44544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laxRh-0002Xl-Hu for submit@debbugs.gnu.org; Mon, 26 Apr 2021 05:22:25 -0400 Received: from out2.migadu.com ([188.165.223.204]:37813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laxRd-0002Wx-Jb for 48028@debbugs.gnu.org; Mon, 26 Apr 2021 05:22:23 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619428939; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iF7nEhIOcGWL7uP3tYoWjNmGPRauLSpgih9gL/4OWv0=; b=Gt7LmJkac3p4p4L1ajpUgIQUw52GT3Dtxl3zXNjtH+PZHmSDGefQDBWL/1J2xy3JeopedY zffdXTAlCtZdul0QXWvciiKSSxA3Pqa31Te7uGzqCsbaNcPOpU7YHzr+nlrLNgCF89yjkO 5H8xjeDmNYEl56Q95SYyY2VTE08X0cdeqfNk3bvVG0L0f0in8UwtAkNFta/srrb3hZCB6D YfIq1ywWWicq9ZOCxtBVcLLcw5f5TOnAUn+4mlcoy3CsMO4gwuI0tR1b5UJe5FShJM/y4C 3eCh5n0fvEAPre27lQBYaHc564r4cL4+qRuBaYhLTKrHUjgy+DKEup2cKAKwLw== Date: Mon, 26 Apr 2021 05:22:06 -0400 Message-Id: <20210426092215.31032-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 3CA8010A1A X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: 01dPLrl8fzqX Remove inheritance to prevent rebuilds of packages like inkscape and gtk+, whenever changes are made to gtkmm@3. * gnu/packages/gtk.scm (gtkmm-2)[build-system,outputs,arguments, native-inputs,synopsis,description,home-page,license]: New fields. --- gnu/packages/gtk.scm | 48 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 04a0db1161..81ac4a7197 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1660,7 +1660,6 @@ tutorial.") (define-public gtkmm-2 (package - (inherit gtkmm) (name "gtkmm") (version "2.24.5") (source @@ -1672,12 +1671,57 @@ tutorial.") name "-" version ".tar.xz")) (sha256 (base32 "0wkbzvsx4kgw16f6xjdc1dz7f77ldngdila4yi5lw2zrgcxsb006")))) + (build-system glib-or-gtk-build-system) + (outputs '("out" "doc")) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 +extension GLX &") + (setenv "DISPLAY" ":1") + ;; For missing '/etc/machine-id'. + (setenv "DBUS_FATAL_WARNINGS" "0") + #t)) + (add-after 'install 'move-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc"))) + (mkdir-p (string-append doc "/share")) + (rename-file + (string-append out "/share/doc") + (string-append doc "/share/doc")) + #t)))))) + (native-inputs + `(("dot" ,graphviz) + ("doxygen" ,doxygen) + ("m4" ,m4) + ("mm-common" ,mm-common) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("xsltproc" ,libxslt) + ("xorg-server" ,xorg-server-for-tests))) (propagated-inputs `(("atkmm" ,atkmm-2.28) ("cairomm" ,cairomm-1.13) ("glibmm" ,glibmm-2.64) ("gtk+" ,gtk+-2) - ("pangomm" ,pangomm-2.42))))) + ("pangomm" ,pangomm-2.42))) + (synopsis "C++ Interfaces for GTK+ and GNOME") + (description "GTKmm is the official C++ interface for the popular GUI +library GTK+. Highlights include typesafe callbacks, and a comprehensive set of +widgets that are easily extensible via inheritance. You can create user +interfaces either in code or with the Glade User Interface designer, using +libglademm. There's extensive documentation, including API reference and a +tutorial.") + (home-page "https://gtkmm.org/") + (license + (list + ;; Library + license:lgpl2.1+ + ;; Tools + license:gpl2+)))) (define-public gtksourceviewmm (package -- 2.31.1