From patchwork Tue Jan 10 21:46:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 46022 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 2A52327BBE9; Tue, 10 Jan 2023 21:48:25 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 EC27B27BBEB for ; Tue, 10 Jan 2023 21:48:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFMTV-0003iT-H1; Tue, 10 Jan 2023 16:48:05 -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 1pFMTS-0003iK-Ei for guix-patches@gnu.org; Tue, 10 Jan 2023 16:48: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 1pFMTS-0001tg-7D for guix-patches@gnu.org; Tue, 10 Jan 2023 16:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFMTR-0004Xd-PM for guix-patches@gnu.org; Tue, 10 Jan 2023 16:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59092] [PATCH] gnu: Add motif Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Jan 2023 21:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59092 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: 59092@debbugs.gnu.org Received: via spool by 59092-submit@debbugs.gnu.org id=B59092.167338725117306 (code B ref 59092); Tue, 10 Jan 2023 21:48:01 +0000 Received: (at 59092) by debbugs.gnu.org; 10 Jan 2023 21:47:31 +0000 Received: from localhost ([127.0.0.1]:41307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFMSx-0004V3-7F for submit@debbugs.gnu.org; Tue, 10 Jan 2023 16:47:31 -0500 Received: from mail-qv1-f44.google.com ([209.85.219.44]:43940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFMSt-0004Un-5Z for 59092@debbugs.gnu.org; Tue, 10 Jan 2023 16:47:29 -0500 Received: by mail-qv1-f44.google.com with SMTP id q10so9402315qvt.10 for <59092@debbugs.gnu.org>; Tue, 10 Jan 2023 13:47:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nXvJavbm0B9vwIoTFUlzNnzb4CfoQTgmcvrg/6PRhqk=; b=wpjmd/8GTt+LjWfzKDOOFYLLFF1sQ/3sv6INK5SRfyP0dogOWQEE27R4UAuqHkdWtE IKokvveEduL0Fwa04tLgVbier8c+CtqIoQE7Akty/NsT5+D/hHzLAVWwZ/BxYpkhvOHp 5qqnyFk1Y7SL0+bZK+zImjeMKO7rwYdx21pWLqLdh5tdTEGfSrjoyoXe3SSARt8Hs+bp fUED/+A+NsClGY+cOfE+1w73cNxkuc9ikkfUCJcC7SYbypx4jQU79Rc7i9GJ4JhG5PpH tE3bbQyujSTxn697g0QWuB8Z6Ne3AyMGjfedfa/hV7Yd/u7M31lENBQ0M8Ms+fFkmpK4 piLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nXvJavbm0B9vwIoTFUlzNnzb4CfoQTgmcvrg/6PRhqk=; b=UCb5xLz+FiGGTEQLNZkHLtX7ajluVf9c3owAmEspj2yVUDnn6A5rmhZb9Q+QRmM6et pXUYqo3bVJWvmiJW9XVrZvfT9zqRw2SifXePh4OILd6M5E4FmBsQUm49Yw4c3Fph8H4f EMjt1HT8gRnRc95J3XhntuLUeA2c/tKb1hTE4KaxCoT4f1BAnpl5uuNf7PALX6IMlZbE +ycCd4M2oHh4cbX/hB/KVOToVBRZ8UyTyA+F7S5g6LZWZHZ/id/JEPEqSdG2kvy8D02M TkgWc71a4nfpZhmCelUOMkDWfEMw9L1xo0vWbJDjHJirai3E1ESv7V81Lsi3Xi8elDhI i2JQ== X-Gm-Message-State: AFqh2kofGjthtGBQMGUTA11fiChX+9geU9JnOzqkjfQ1KxGCuWbyN+/1 DaY/hPIjNA/J6kVWgl18I+bZ/7/cqWJzZJ7IV2A= X-Google-Smtp-Source: AMrXdXs42nb8yF8/MpPLCEznAdDHBoYaHoCfR0ineUC76EK/Y7hLOWb8Eek+XF9Rp3CYXfA/EQp2VibHmGVLpAo4uOs= X-Received: by 2002:a0c:e403:0:b0:532:2896:d29a with SMTP id o3-20020a0ce403000000b005322896d29amr1070347qvl.61.1673387241489; Tue, 10 Jan 2023 13:47:21 -0800 (PST) MIME-Version: 1.0 References: <87zgaryk7d.fsf_-_@gmail.com> In-Reply-To: From: Andy Tai Date: Tue, 10 Jan 2023 21:46:45 +0000 Message-ID: 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 updated patch From afd23adac9ba2165cc28afcc6b0de088c8b17dc2 Mon Sep 17 00:00:00 2001 From: Andy Tai Date: Tue, 10 Jan 2023 21:42:15 +0000 Subject: [PATCH] gnu: Add motif * gnu/packages/lesstif.scm (motif): New variable --- gnu/packages/lesstif.scm | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/lesstif.scm b/gnu/packages/lesstif.scm index 8f017f41be..584c47a943 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,37 @@ (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 + (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))) + ;; 2.3.8 release plus unreleased bug fixes in master branch + (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+)))) -- 2.34.1