From patchwork Sun Jan 29 04:24:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 46501 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 CE07E27BBEB; Sun, 29 Jan 2023 04:25:17 +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 DE30027BBE9 for ; Sun, 29 Jan 2023 04:25:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLzFY-0006qL-Jc; Sat, 28 Jan 2023 23:25:04 -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 1pLzFX-0006py-57 for guix-patches@gnu.org; Sat, 28 Jan 2023 23:25: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 1pLzFW-0004xO-T7 for guix-patches@gnu.org; Sat, 28 Jan 2023 23:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLzFW-0006xA-Fi for guix-patches@gnu.org; Sat, 28 Jan 2023 23:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61134] [PATCH 1/2] gnu: Add motif and xnedit References: <20230129042001.30367-1-atai@atai.org> In-Reply-To: <20230129042001.30367-1-atai@atai.org> Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Jan 2023 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61134@debbugs.gnu.org Cc: Andy Tai Received: via spool by 61134-submit@debbugs.gnu.org id=B61134.167496627826694 (code B ref 61134); Sun, 29 Jan 2023 04:25:02 +0000 Received: (at 61134) by debbugs.gnu.org; 29 Jan 2023 04:24:38 +0000 Received: from localhost ([127.0.0.1]:41902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLzF8-0006wT-Fh for submit@debbugs.gnu.org; Sat, 28 Jan 2023 23:24:38 -0500 Received: from mail-pl1-f172.google.com ([209.85.214.172]:34454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLzF5-0006wD-MR for 61134@debbugs.gnu.org; Sat, 28 Jan 2023 23:24:36 -0500 Received: by mail-pl1-f172.google.com with SMTP id v23so8597834plo.1 for <61134@debbugs.gnu.org>; Sat, 28 Jan 2023 20:24:35 -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:sender:from:to:cc:subject:date:message-id:reply-to; bh=mxmlIZcmpwbLgY7+envTwqOe/tKzQxsUc9G9SeLybbw=; b=IqP7T5F0tSGU+dVQo97icaU7CtbIJprA9r+hZOx5i7oYIpYWCox209AmKP/Z4OwrKM v2KaGLbaKROOyjh3IcJYzfjEDX/fC2hXvvxQSguaTr8TmczgMdZ6KCCHHnDZ3HQr6HWb v1VCK0h9++zGNhTIavyoVxWkt7ku6grQ1Nbyc7udm490MyDoW1YSaA2XLDaPHswBMN7u 6T5wayNlZojDH61KBNdV+KVrFfSjwdsfzOGcILqwUNEga2e/u+k4ORs3A3Za+4H4lQP+ yKwi7NMSAeB1Ztr6PkjTnJK3CvQlQuMie8UpQXZQUhBn4hbFC1svgGeevrj6WR9E/wz1 7YzA== 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:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mxmlIZcmpwbLgY7+envTwqOe/tKzQxsUc9G9SeLybbw=; b=zHKUjlCFaQOLb/rcADQsEY2smMQbtPJF3Hv9+Y/ZGrR5q34Hi0ouqiFUXv0cZfk2aH ROP8tvHviemaN7q1jv0+eWdPHEMC+EP2kdE8g3MsiTTXQu4VW+AADvoXCizN78afzK6j T6yp8quzb6N9aICMMIHivrIYeLErr1OYB8e73G1nbGoly4+lmM4xSFJW6KDFWx99h6vA QXPK++U1xLSxfmNwn9iyCNy64Y+OBsLyXMQVWbwSuZxlZmzLwXI3G2Ej30nrBmfhfHZy 17/f0YQG1+0ixwnweUjCKEGeK9/3Wvo4Q/jtsE3Vv8scWVZ6iV5uQFj8ieiMeQQU1scz PdqQ== X-Gm-Message-State: AFqh2koREorApCt2h8ZYvTFasShkjWggky77Bw2d1kUEfYqNGHQsWNIu 3A9Thha6vQ4bSrkupXMDtkAqHAm1M7E= X-Google-Smtp-Source: AMrXdXtp4supFFlQFUI0/AiR34gVn1lvc7uBJuDKr7wIEjeWoceg+KqSLvvGkqHWTjo5oUmPLVZXlQ== X-Received: by 2002:a17:902:7614:b0:194:bcca:5e71 with SMTP id k20-20020a170902761400b00194bcca5e71mr37658624pll.68.1674966269672; Sat, 28 Jan 2023 20:24:29 -0800 (PST) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id s8-20020a63af48000000b0046b1dabf9a8sm4389721pgo.70.2023.01.28.20.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Jan 2023 20:24:29 -0800 (PST) From: Andy Tai Date: Sat, 28 Jan 2023 20:24:25 -0800 Message-Id: <20230129042425.30552-1-atai@atai.org> X-Mailer: git-send-email 2.39.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 * gnu/packages/lesstif.scm (motif): New variable --- gnu/packages/lesstif.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: c6ec9c7af9814f84f293f62235eab9d0649751a7 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+))))