From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: which ubuntu package has tput Date: Sat, 18 Jun 2022 09:47:17 +1000 Message-ID: <87mteargam.fsf@gmail.com> References: <87czf7dy1l.fsf@local.lan> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35479"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.27; emacs 28.1.50 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 18 02:02:16 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2Lup-00090b-Oc for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jun 2022 02:02:15 +0200 Original-Received: from localhost ([::1]:38744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2Luo-0006TY-7P for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 20:02:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Ltm-0005kR-WE for emacs-devel@gnu.org; Fri, 17 Jun 2022 20:01:11 -0400 Original-Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:45928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Ltl-0005Tj-5l for emacs-devel@gnu.org; Fri, 17 Jun 2022 20:01:10 -0400 Original-Received: by mail-pf1-x42d.google.com with SMTP id x138so5378323pfc.12 for ; Fri, 17 Jun 2022 17:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=vwMCJp6B1mlewF3HFamWnFHlXCX8nmb9cbS88VSyE7k=; b=eCbQ1bb9qO0lbnD28qdL6NLoHl2YlbivlIx0CMez/kDGMNymof5P9PG9TGZbiA5tdZ Vt1Vc7u8g4/FdNMsOfFxvex/RUkvGlECPa5MEoafjriXs67YlXVyH4CHyCVqiNdBx0BN 0ioG3lk9V+DebdQF+VV97AYxK5HNdPd++hMoVMZyQcczWmWCJtSoBOpMUUBJwvSG4RB/ oAOWK/wM0s/qzNsgDjFIHZe1Z7mEZag4o8X4cTStdP1qRVtTI0/2fcNpbEdYVLpJXuRe iaTyYl0UMgtX1mID1roCvLFdYIe6BxZxA+Q1XdHllj+oyqC79NZVSZrYYoWUGp+eqy+k DPPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=vwMCJp6B1mlewF3HFamWnFHlXCX8nmb9cbS88VSyE7k=; b=vOYEHopvwN7H6LqV97HaVwLREv9/v5K498TZ0w+UXccf8WZKdr2vXv8llm0EwesnXu n7Euf+/ujXtGD5WWqLqVb9tLQBPR2XsfVUbnOak0FDryvcyTa3r6Qn59XdxUbfYEhmmW fpeUbgwom4QtvvYzcgpi9x/HuTTsDwKj01Rm/4Nq0Y7jwpRrc2k0qnGaAB9bcCXiql11 aJbSstwifp2lQIa2XE5IyQIo7YLsR33evpevzsRe2/46iBXON5A/azrZFgYIhfBOK4eV OavQgfcxDy7gzr4o3hZ90h7WQvzWvMXmvs3d1WPG8KHjlJ8nwRZgq/Y3mJXEvFJPmIK2 l2hQ== X-Gm-Message-State: AJIora+CgPkwTuMOO+DTZs/vNKJHXfaEJag3MIr2NQ+mmCmlkq1wqDQF ahMiYwCUrVgPmnSLLvSs+vhmU0zWj0I= X-Google-Smtp-Source: AGRyM1s0Atpe7IUIFdVjNQw/pYR4LPdc5vDq47gG+lvntYLZdUH8MrVsdRXmiQ6rWdnXRanSRHGkxQ== X-Received: by 2002:a63:305:0:b0:3fc:7f18:8d7 with SMTP id 5-20020a630305000000b003fc7f1808d7mr11097659pgd.186.1655510467400; Fri, 17 Jun 2022 17:01:07 -0700 (PDT) Original-Received: from dingbat (2001-44b8-31f2-bb00-2f2e-7695-ea73-2470.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:2f2e:7695:ea73:2470]) by smtp.gmail.com with ESMTPSA id 135-20020a62178d000000b0050dc762817esm4245134pfx.88.2022.06.17.17.01.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 17:01:07 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291320 Archived-At: writes: > [[PGP Signed Part:Undecided]] > On Fri, Jun 17, 2022 at 10:59:08AM -0700, Jim Porter wrote: >> On 6/17/2022 10:01 AM, hput wrote: >> > Compiling emacs today I tried my best to find out what pkg holds >> > tputs. >> >> tput should be in ncurses-bin: >> . >> >> Once you know where to look (a non-trivial matter!), it's pretty easy to >> figure this out. Just go to and enter your >> search under "Search the contents of packages". > > Or install package apt-cache and do an "apt-cache search tput". > A 'trick' I find useful on many GNU Linux distributions is to use whatever the package management system is to list the build dependencies for their version of emacs. For example, on Debian based systems, you can do something like apt build-dep emacs27 which will list and install all the build dependencies associated with the emacs 27 included in that distro. when installing a newer version of Emacs, there may be some new dependencies not included, but the above will at least give you most of them. If you only want to build the text version (no X), then use the no X package version. From memory, doing this against Ubuntu's emacs27 gave me all the dependencies needed to build either Emacs 28 or 29. Fedora's dnf command has builddep, which does a similar task. I'm sure other package managers have similar.