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+)))) From patchwork Wed Jan 11 14:56:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 46033 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 D477D27BBEB; Wed, 11 Jan 2023 14:57:31 +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 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 E362C27BBE9 for ; Wed, 11 Jan 2023 14:57:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFcXM-00074s-K2; Wed, 11 Jan 2023 09:57:08 -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-00074R-D9 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-0006Cp-Sh 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-0005te-EG for guix-patches@gnu.org; Wed, 11 Jan 2023 09:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59093] [PATCH v2 2/2] gnu: Add xnedit 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.167344898122648 (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]:43551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFcWa-0005tE-Ib for submit@debbugs.gnu.org; Wed, 11 Jan 2023 09:56:20 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:54141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFcWZ-0005t1-5X for 59093@debbugs.gnu.org; Wed, 11 Jan 2023 09:56:19 -0500 Received: by mail-wm1-f42.google.com with SMTP id ja17so11283418wmb.3 for <59093@debbugs.gnu.org>; Wed, 11 Jan 2023 06:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z6dNgfUtBAEXy3pKvlHbOLuG2G0ibTxzhqnKvneV9Yc=; b=LAUCzscwdu5e3uEQmHhUP5DTrTBnsuXKAYBJx38XcZkWAq4zYM7kvyo1b22IGqB0hN 428N5k6c5qL3uacM6bksapCrYJYJkyKue1qGNTyHdM7jUW25qe7tAqICTT9jFkfIlKoA yLXwTvtGsZTEqHrkH3rMmE1M4dDypsXcl6fFVhdzVDZz8A6Dmt+q12n0x8rwN+NlyVMv jCQUfXUgQ2sjZ12nY182GB1e1PS8OwCAhNg7ZD0zNj+tM4wngbscnGl91Tcu33j0iiQo 7mZ7ZfvkIAc+4AlulKms8jlgrzkiK3q6uwb2XI0iTxGb5XcgvEszGfDb0//krtq9OtPR Ppyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z6dNgfUtBAEXy3pKvlHbOLuG2G0ibTxzhqnKvneV9Yc=; b=6IvYwg7OZOhGU02VjD/ol19Fz2d7mAeUxlp5S2/2y8JYPg8e7DPVX5/vKiFOZ4jgk5 MHb60rbhh8tSDyTIkvcCfTGj2SeWFmQQcDcby7ZueBtwANtO2ik8VrnJX1TMpTImRqTG DAma/7ui69HmJG7iqtNPrpr2HuDCrsCRA3YGwT5rxGzUxFrlYlcQFjZtGuGGw1sd3EjM uSkikZjVpVfV/sKBL4DprrFtmnjPXOt63968ge8dEOfTQiMYQdcdaPf8urSNJI1P7Yjd QRn2X8JWMZ8qyMM46q9O4L9cdEPeOs/N4YE5g6L3ErL7P4F22L5NGOhmtpBVZimHx8Gu K6zA== X-Gm-Message-State: AFqh2kqQlzE/8Fhpg2HHYdi86mCW1mrhunf7Zja+aZ/jEs/g7bZUBKkU y/STZxe73jsIJ4GnoXMmiXoFmtKlgvw= X-Google-Smtp-Source: AMrXdXskQIVnLN5UL2pRfFHJiuEH6LLNMt1j9X1nIpXff2ZuNcjmQGvMrKN6uOOadAwYZ7LniWRMog== X-Received: by 2002:a05:600c:1d11:b0:3c6:e61e:b011 with SMTP id l17-20020a05600c1d1100b003c6e61eb011mr15289332wms.2.1673448973350; Wed, 11 Jan 2023 06:56:13 -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.12 (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:04 +0100 Message-Id: <20230111145604.2643141-2-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230111145604.2643141-1-zimon.toutoune@gmail.com> References: <20230111145604.2643141-1-zimon.toutoune@gmail.com> 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/text-editors.scm (xnedit): New variable --- gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 9dd5d7793f..3898ab1eb7 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2022 Foo Chuan Wei ;;; Copyright © 2022 zamfofex ;;; Copyright © 2022 jgart +;;; Copyright © 2022 Andy Tai ;;; ;;; This file is part of GNU Guix. ;;; @@ -75,6 +76,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages hunspell) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) + #:use-module (gnu packages lesstif) #:use-module (gnu packages libbsd) #:use-module (gnu packages llvm) #:use-module (gnu packages lua) @@ -1391,3 +1393,35 @@ (define-public lite-xl The aim of Lite XL compared to lite is to be more user-friendly, improve the quality of font rendering, and reduce CPU usage.") (license license:expat))) + +(define-public xnedit + (package + (name "xnedit") + (version "1.4.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xnedit/" name "-" + version ".tar.gz")) + (sha256 + (base32 + "0fw3li7hr47hckm9pl1njx30lfr6cx2p094ir8zmgr91hyxidgld")))) + + (build-system gnu-build-system) + (arguments + (list + #:make-flags #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target))) + #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "linux" make-flags)))))) + (inputs (list motif pcre)) + (native-inputs (list pkg-config)) + (home-page "https://sourceforge.net/projects/xnedit/") + (synopsis "Fast and classic X11 text editor") + (description + "XNEdit is a fast and classic X11 text editor, based on NEdit, +with full unicode support and antialiased text rendering.") + (license license:gpl2+)))