From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MCJSBuZSzmRhAgEASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 15:47:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uDEpBuZSzmSgMwAAauVa8A (envelope-from ) for ; Sat, 05 Aug 2023 15:47:18 +0200 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 CA69C3875E for ; Sat, 5 Aug 2023 15:47:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=aruba.it header.s=a1 header.b=YqPLdrik; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691243238; a=rsa-sha256; cv=none; b=S4qDlum5l+BxPxGP/wriGDW1gZLhTv9s1fDpNRs//FZ+aTCfb+iYgNPhoRWvYxummYSeO7 cAKNqWZWesO5zZm/29m+kjJF3riFQDL7F/5qicVdiliWgXf50e3MKd8ScQ1PViKHNHe989 XSOcHPcVgyf7RNeLu3zOavLGiWRZqcWguT+894Z2ZcmdyQFd4VNal8vdbvfbJl3t5rnnLl pzva9gkMHzKOar3fOMGpf5Eq0KfQdsLjWtzgxuHe5nC1bx9EhQFybp4GXoBzZHy6psyBT5 T+NCZGSS77R2DyVJtW+hG4WIOmOYk3iqQ7nnkx0Nw4gb8/pxh3oZ2BGtOK8leg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691243238; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=3c6g9fF2wbPBncbH90Gq4b3LfOnnodoQo0Amy20rXYc=; b=DFcY+PJ6JC5IiJeRX3nnodmzySYuHcAXpoaQ2OaGCxkpzDAkKLIPN9WCJNCax96q5Hw2lj yLAhx4xXy1CNOfmw4RRjkcxdZeHjTiKwTK8PQ4GBg927epkUtjTbWTpFNIu1xlTKh9af2f rxnr0qI6cJRT2Xto6lyf/SQPfZHPTdz6869qIasblvNH3mEZKEAQqK/zm/L6qVXjnfRrA4 kvF+Bqa3qYMY+OovJHAF/O36Im5sN8j5kquutzQQRht2wKd5Yy1cHdJF95iHqgtpBnfUxS McqbmtW3AVfTDJ1aXcZ4tYbQx1iE3eJEci4KMndX29tJmJ6SZnsatgQ/i36/wQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=aruba.it header.s=a1 header.b=YqPLdrik; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHcW-00079C-Ue; Sat, 05 Aug 2023 09:47:04 -0400 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 1qSHcU-00077L-OK for guix-patches@gnu.org; Sat, 05 Aug 2023 09:47:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSHcU-0000H7-Cq for guix-patches@gnu.org; Sat, 05 Aug 2023 09:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSHcT-0006tq-Vh for guix-patches@gnu.org; Sat, 05 Aug 2023 09:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65097] [PATCH] gnu: Add tk-img. Resent-From: cage Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65097 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65097@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169124318226473 (code B ref -1); Sat, 05 Aug 2023 13:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 13:46:22 +0000 Received: from localhost ([127.0.0.1]:56245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHbp-0006su-Q5 for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:46:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHbl-0006se-Hg for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:46:20 -0400 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 1qSHbf-0006wn-AL for guix-patches@gnu.org; Sat, 05 Aug 2023 09:46:11 -0400 Received: from smtpcmd04132.aruba.it ([62.149.158.132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSHbc-0008WM-9g for guix-patches@gnu.org; Sat, 05 Aug 2023 09:46:11 -0400 Received: from shimizu.casa.net ([94.34.59.58]) by Aruba Outgoing Smtp with ESMTPSA id SHbXqaxYBEWJKSHbXqV7Fd; Sat, 05 Aug 2023 15:46:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1691243164; bh=oTSiJ2HNcz2cpLgpeUse+GgGSh6g27ZyVqIH+k5fxG0=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=YqPLdrikqfnKdqB7CnMFZyo/1GCfKeMZ17Cl6DB22bfEsfc7GEm5vu94BWssKmI42 5dfgyejOkzsWBaTF58KsgZZVRTlFsrGO6O7JroqfqH+n1HKhrb6IR/w+Brs6s7UCjP QBmc8at1uXOV8wYa830WfedGmMfmPsjp1x2ormbJ1l7zX+qAa95voTlvYvmutKPKd6 m/JUhEhAapPNST1bKOOcaasucf3/mVdXDniFQh/trNw5Ew9xAF2eawZ28QJtD+5a/P 4cpoVSfu6h3xvlKXci/uX3ccvKS7/WUJZio76pcqVfiGCCF3OlkBzODbDp7/2QwVCG Dhxz7RBx3Jz7Q== Received: by shimizu.casa.net (Postfix, from userid 1000) id B9855DA0426; Sat, 5 Aug 2023 15:45:53 +0200 (CEST) Date: Sat, 5 Aug 2023 15:45:53 +0200 From: cage Message-ID: <637de43ce6edf9cebaf84d3b456901a184e6de82.1691242776.git.cage-dev@twistfold.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-CMAE-Envelope: MS4xfG0xL5EKVjoZU3iOG4oGZ/W3xeWguHL6irTv4dF/rsRIIDTnb9A9z5Y6h93c0NH47xnq9tbREk7QJbYtMFR9TgD4fqDr2FKeitJhKVkmFOffK6nvbpIU U568pl8+wF2dP988BDkgKh6OI0RIyRpIp115s3tXA5qJa7ORica97l599dCr0RMcLSQ7Qb/eCHGFTA== Received-SPF: none client-ip=62.149.158.132; envelope-from=cage-dev@twistfold.it; helo=smtpcmd04132.aruba.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.14 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: CA69C3875E X-Spam-Score: -4.14 X-TUID: KZWXU/VYRh7E Hi! Note that this patch suffers for some problems: - the package will skips the test (it complains "tk" can not be found"); - the manpages will not be installed as make installs exit with an error code because the script 'dtplite' can not be found (seems a TCL script according to README); - the license seems X11 to me, but i am unsure (see the last paragraph in the file: "license.terms". Any suggestion to improve the patch is appreciated! :) Bye! C. --- gnu/packages/tcl.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index b69dba2254..5bfcc63f96 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -509,3 +509,43 @@ (define-public go-github.com-nsf-gothic (description "Gothic contains Go bindings for Tcl/Tk. The package contains only one type and one function that can be used to create a Tk interpreter.") (license license:expat)))) + + + +(define-public tk-img + (package + (name "tk-img") + (version "1.4.14") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/tkimg/tkimg/1.4/tkimg%20" + version + "/Img-" version "-Source.tar.gz")) + (file-name (string-append "tkimg-" version ".tar.gz")) + (sha256 + (base32 "08dvb8bfkxr919wp6fq14cfb9lz1v59jx1la4a6j4ks636wb243m")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "make" "install-libraries")))) + #:configure-flags + #~(list + (string-append "--exec-prefix=" #$output) + (string-append "--with-tcl=" + (assoc-ref %build-inputs "tcl") "/lib") + (string-append "--with-tk=" + (assoc-ref %build-inputs "tk") "/lib")))) + (native-inputs + (list tcl + tk)) + (home-page "https://sourceforge.net/projects/tkimg/") + (synopsis "The Img package adds several image formats to Tcl/Tk.") + (description + "The Img package adds several image formats to Tcl/Tk.") + (license license:public-domain))) base-commit: 42ae42cf41e8f5e88422e30d801251a3427d7f3b -- 2.34.0