From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Edgar Lux Newsgroups: gmane.emacs.help Subject: Re: Compiling software with Cask without internet Date: Sun, 29 Oct 2023 17:40:56 +0100 (CET) Message-ID: <1184064867.127488.1698597656105@fidget.co-bxl> References: <1568883276.264618.1695729003077@fidget.co-bxl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_126082_281049845.1698596187698" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34224"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Matus Goljer , Vedang Manerikar To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 30 17:32:42 2023 Return-path: Envelope-to: geh-help-gnu-emacs@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 1qxVBu-0008V2-BQ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 30 Oct 2023 17:32:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxVBF-0000oB-As; Mon, 30 Oct 2023 12:31:58 -0400 Original-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 1qx8qZ-0006Dx-RH for help-gnu-emacs@gnu.org; Sun, 29 Oct 2023 12:41:07 -0400 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qx8qW-0005Mx-67 for help-gnu-emacs@gnu.org; Sun, 29 Oct 2023 12:41:07 -0400 Original-Received: from fidget.co-bxl (fidget.co-bxl [10.2.0.33]) by wilbur.contactoffice.com (Postfix) with ESMTP id E1B72E67; Sun, 29 Oct 2023 17:40:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1698597658; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=4844; bh=VvXzxn3Pgv9tbL0uy6P7HcleORk191Dxv27FB0gF+Lw=; b=fN9YXWow6Poa6hjvapbUW6PgWZlF2GAIUFBgaU4/qgvvN7hvRHPcdYZng2vMQWn8 mOiRB+lPAcH/D+aqMULZ5QuvgcNnU8Hga4wDiGqhMzBrVM/ssZJMF7vKQoBH7hbYw1U iulavDDgta+XRXuUbTbhBtY2kSLo+UnQ4MmCfB0Ikf3fHrqi32BaBRQQPleo74BQt+S Jf7vbEpLyWlDvhe1HWlHrjey2bE/JdXo/e6p6El1sFyHtfNW0kcBiTV07AwmjfFtHCT ph/O6HFJSTQPFhK3XZnzMj+a560tXkhPKE2idHip6l2B2W1pI3fq3G41aOTVxSVk/BN pNdJ3AK5rQ== In-Reply-To: <1568883276.264618.1695729003077@fidget.co-bxl> X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.68; envelope-from=edgarlux@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 30 Oct 2023 12:31:54 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145421 Archived-At: ------=_Part_126082_281049845.1698596187698 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I was able to install PDF-tools from sources in Linux. I hope that this is useful to someone: This replaces the /Installation Instructions for ~epdfinfo~/ in the README.org 1. Get the sources and requirements for: s.el f.el dash.el shut-up ert-runner.el undercover.el ecukes el-mock.el commander.el espuds ansi.el tablist cask 2. Download the pdf-tools repo 3. Download the attached patch 4. Open the patch and change /home/edgar/.emacs.d/my-site-lisp by the place where you keep your emacs packages 5. Download and setup Cask (inside the directory that you used in the previous step, or change the path in the patch also) 6. Apply the attached patch that you just modified 7. Compile in the pdf-tools directory (run make) 8. Copy server/epdfinfo to lisp/ 9. Load pdf-tools as usual, but from the load-path in step 4 (either with :load-path in use-package or whatever other means; /pdf-tools/lisp should be in your load-path). 10. From the /Installing pdf-tools elisp code/ in the README.org, skip the regular procedure, only do: To complete the installation process, you need to activate the package by putting the code below somewhere in your ~.emacs~. Alternatively, and if you care about startup time, you may want to use the loader version instead. #+begin_src elisp (pdf-tools-install) ; Standard activation command (pdf-loader-install) ; On demand loading, leads to faster startup time #+end_src Do NOT use (add-hook 'doc-view-mode-hook 'doc-view-set-slice-from-bounding-box). Good luck. If it works for you, great! On Sep 26, 2023 at 1:50 PM, Edgar Lux wrote:Hello, Does anybody know how I can install software with Cask without internet? (is there a way to download the sources and use them without internet?) At the moment, I noticed that pdf-tools (https://github.com/vedang/pdf-tools) does this: (source gnu) (source melpa) and that there is no way to proceed when commenting those out or plainly unplugging the Internet. Furthermore, many of the dependencies are interlinked (ert-runner.el undercover.el ecukes el-mock.el commander.el espuds ansi.el; most of them coming from https://github.com/rejeep/). For example, undercover depends on ert-runner, which depends on ecukes, which depends on espuds, which depends on ert-runner. I tried hacking the Makefile by adding CASK = EMACSLOADPATH="paths to all those packages after git clone:$EMACSLOADPATH" cask but that did not work. Thank you. -- Sent with https://mailfence.com Secure and private email -- Sent with https://mailfence.com Secure and private email ------=_Part_126082_281049845.1698596187698 Content-Type: application/gzip; name=0001-Squashed-commit-of-the-following.patch.gz Content-Transfer-Encoding: base64 Content-Description: File Attachment: 0001-Squashed-commit-of-the-following.patch.gz Content-Disposition: attachment; filename=0001-Squashed-commit-of-the-following.patch.gz H4sICCSEPmUCAzAwMDEtU3F1YXNoZWQtY29tbWl0LW9mLXRoZS1mb2xsb3dpbmcucGF0Y2gApVdh b9s2EP0c/oqDW3T2HEm0JMuWu64J0gQtimzDvG9BMFDkyeIiUY4oJSmwHz9Slp04KTDFFQxLPL47 8h3fidRFVRYQ04lI0iTm89SfBjSgLAgmSRzyKBXhPPQpDSbTUCRwWSpY4homM6B00f7A9E7IhQmz ABQrVsEvm9vVCajyGipkPPuVfGI1LmDZqGPwY/id18bPD8iySf5BXi/g6s+LM/jj9K+zz9ewvG2Y zlAAL4tC1lCmUGcIaZnn5b1UqwUhXc+cBmEYMaScstk0YSwVc4ohpyKZBWIukjAWYjJBQsBcrKnL CnmpUnAcqXTN8hwSTI0RXM/a5aqpcBedpxjO0lmIfD4RGAUhTfxIRKkfTFicTIMUaeBP43gTXZSG r3Fi+gZ02VQcYaUaKDBfM+I4DoEz22WvfwFCGI+t7ZLdYCpztLaZsVmrMUslaxdzC53S1vy6i0AA NqwGnjG1QnEM08hE1VjVslR6OB4ZCwjMcdN2RgS4WasaoSgFwoTSKAy38yBEyNRmbWXSwryWSNLe iFQCH2AuZskEqev6PJziLO38Le8OT8ystj4nJ+BMjqcwtn8nJ8QZPiZs9NhqUzci4/fvYQ/w1NBh gMBwzfgNW6HTpnOQS7321iJ16rLMteEwsKg9GrvcJ7vHjg76ieB+7LpJ5AfxTOzT2YE3lH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