From patchwork Wed Jan 11 14:56:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 46034 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 6534327BBED; Wed, 11 Jan 2023 14:57:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 4CF4227BBE9 for ; Wed, 11 Jan 2023 14:57:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFcXM-00075I-Uq; Wed, 11 Jan 2023 09:57:09 -0500 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 1pFcXH-00074S-8w for guix-patches@gnu.org; Wed, 11 Jan 2023 09:57:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFcXG-0006Cq-Un for guix-patches@gnu.org; Wed, 11 Jan 2023 09:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFcXG-0005tl-Qa for guix-patches@gnu.org; Wed, 11 Jan 2023 09:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59093] [PATCH v2 1/2] gnu: Add motif References: In-Reply-To: Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Jan 2023 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59093 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59093@debbugs.gnu.org Cc: Andy Tai Received: via spool by 59093-submit@debbugs.gnu.org id=B59093.167344898122655 (code B ref 59093); Wed, 11 Jan 2023 14:57:02 +0000 Received: (at 59093) by debbugs.gnu.org; 11 Jan 2023 14:56:21 +0000 Received: from localhost ([127.0.0.1]:43553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFcWa-0005tK-W5 for submit@debbugs.gnu.org; Wed, 11 Jan 2023 09:56:21 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:38658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFcWZ-0005t0-1P for 59093@debbugs.gnu.org; Wed, 11 Jan 2023 09:56:20 -0500 Received: by mail-wm1-f48.google.com with SMTP id ay12-20020a05600c1e0c00b003d9ea12bafcso9154338wmb.3 for <59093@debbugs.gnu.org>; Wed, 11 Jan 2023 06:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=62fudWgfODgQ/Yg/imlH6KRuuXVd/UO+UwBYDDtrhJo=; b=Yfo67MoYtyOBe+KujadXxqhIjUVFw4w9DfSYSE7Z2CPM/C5xusy7ChMEXruGOT883M cApwT5Vgcdd5vDC1wBg7ReeNNqATpW4wOr9ZBNzdxHz/qSN4PQbCPvAtih69PBIfoIqj 2sR4vYICszGYz7vmQsa0h4giNVqaXN+z9PqkQE3KM6UPm9kef8HuO8+hiIIjaSXU0Caq XPcLve3pK1mWUDZvhmFbmDmYGNUMg1qogf7eDCglpjauk/KOFVZrsvWEJTxM2nDT4EgU CxMvD+4KFEOk393KaUM6HNp4FLdPmJi/PLX6D8pZKf6HVg62IHoMp7aU5UO75jDn+A11 NdJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=62fudWgfODgQ/Yg/imlH6KRuuXVd/UO+UwBYDDtrhJo=; b=KYTs+YCOEqo0iDW2FdhGkFy9874iR5eEAnMGKOTPIo2nfjBhsDeplk9oM2nJzxQrdJ 3uhuOSC0MlMuLSvHlI+sB5ksJNMwTZoxuyYx2AQkxZvn3JdavMEuim/S745J0FdopeQ2 xERKj8hIajyUNhMAlrArWPLdl0q5HF458YvxxAIp39lUWs8AqZWU1sVz9dyP+0lczgyI DVql0n5/zWAI9N1GBQxd0AVS2e8MYj2YIHHnkehZ6BAVrQXg6QbsUnFyesUmeYAh+jxQ D3n77xvPTwNCozcA+lbT7Ec4U/1kPCbVuAow3ljNo/1cmvMSPsnbU6FosOqMpho7j5k2 78NQ== X-Gm-Message-State: AFqh2koqJnDDEKyzlSWyPRhz9YwCjL3UXNH95AFCq614hr0tCz2B0hB3 C2fmhzU+x4BqawRyySMQCPCHOx6QBMc= X-Google-Smtp-Source: AMrXdXvNr5R3Vhd7ivR6jmw1V+LUCF2AqrK3aEhkTooETzWHdhRXhVj9QaRkpugYbLVhfMkKPoms6A== X-Received: by 2002:a05:600c:3b93:b0:3c6:c5d9:dad3 with SMTP id n19-20020a05600c3b9300b003c6c5d9dad3mr13320344wms.0.1673448972834; Wed, 11 Jan 2023 06:56:12 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e18-20020a05600c4e5200b003d9876aa04asm22219364wmq.41.2023.01.11.06.56.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 06:56:12 -0800 (PST) From: Simon Tournier Date: Wed, 11 Jan 2023 15:56:03 +0100 Message-Id: <20230111145604.2643141-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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 From: Andy Tai * gnu/packages/lesstif.scm (motif): New variable --- gnu/packages/lesstif.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: a8b2decf287498eeb51ef23712c5bd01b60cb18b diff --git a/gnu/packages/lesstif.scm b/gnu/packages/lesstif.scm index 8f017f41be..1ab471e4fa 100644 --- a/gnu/packages/lesstif.scm +++ b/gnu/packages/lesstif.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Andreas Enge +;;; Copyright © 2022 Andy Tai ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +22,12 @@ (define-module (gnu packages lesstif) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (gnu packages autotools) + #:use-module (gnu packages c) + #:use-module (gnu packages flex) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages xorg)) @@ -46,3 +53,36 @@ (define-public lesstif (synopsis "Clone of the Motif toolkit for the X window system") (description "Clone of the Motif toolkit for the X window system.") (license license:gpl2+))) ; some files are lgpl2.1+ or x11 + +(define-public motif + ;; This commit is from September 2021 and v2.3.8 from 2017. + (let ((commit "59858b0811e8d9dfaeb142f2b5a96f55482be1ed") + (revision "0")) + (package + (name "motif") + (version (git-version "2.3.8" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.code.sf.net/p/motif/code") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0yycq0vzga9qmgbfzn2d02ilpwxixwdv2j1d8sddl4dripcrg21m")))) + (build-system gnu-build-system) + (inputs + (list libx11 xorgproto)) + (propagated-inputs + (list fontconfig freetype libxext libxft libxpm libxt xbitmaps)) + (native-inputs + (list autoconf automake byacc flex libtool pkg-config)) + (home-page "https://motif.ics.com/motif") + (synopsis "Motif toolkit for the X window system") + (description "Motif is a standard graphical user interface, (as +defined by the IEEE 1295 specification), used on more than 200 hardware and +software platforms. It provides application developers, end users, and system +vendors with a widely used environment for standardizing +application presentation on a wide range of platforms.") + (license license:lgpl2.1+))))