emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eev ca4a4c1130 2/2: Added some things for Arch Linux.


From: ELPA Syncer
Subject: [elpa] externals/eev ca4a4c1130 2/2: Added some things for Arch Linux.
Date: Tue, 19 Dec 2023 21:57:51 -0500 (EST)

branch: externals/eev
commit ca4a4c1130bce07d8114b532e2f3c581820cf8b3
Author: Eduardo Ochs <eduardoochs@gmail.com>
Commit: Eduardo Ochs <eduardoochs@gmail.com>

    Added some things for Arch Linux.
---
 ChangeLog     |  4 ++++
 VERSION       |  4 ++--
 eev-intro.el  | 29 +++++++++++++++++++++++++++--
 eev-tlinks.el | 32 ++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a84d2a2f69..f442be3f1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2023-12-19  Eduardo Ochs  <eduardoochs@gmail.com>
 
+       * eev-intro.el (find-show2-intro): added a section for Arch Linux.
+
+       * eev-tlinks.el (find-pacman-links): new function.
+
        * eev-plinks.el (find-telegachat-msgc, ee-telegachat-msg0)
        (ee-telegachat-msgc): new functions.
        (find-telegachatm): new alias.
diff --git a/VERSION b/VERSION
index 53dc0369a0..f71150a636 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-Wed Dec 20 00:11:46 GMT 2023
-Tue Dec 19 21:11:46 -03 2023
+Wed Dec 20 01:14:50 GMT 2023
+Tue Dec 19 22:14:50 -03 2023
diff --git a/eev-intro.el b/eev-intro.el
index cddfde087d..df87d54a66 100644
--- a/eev-intro.el
+++ b/eev-intro.el
@@ -19,7 +19,7 @@
 ;;
 ;; Author:     Eduardo Ochs <eduardoochs@gmail.com>
 ;; Maintainer: Eduardo Ochs <eduardoochs@gmail.com>
-;; Version:    20231218
+;; Version:    20231219
 ;; Keywords:   e-scripts
 ;;
 ;; Latest version: <http://anggtwu.net/eev-current/eev-intro.el>
@@ -16087,7 +16087,32 @@ sudo apt-get install texlive-latex-extra
         (find-lpegremanual)
 
 
-2.2. MacOS
+2.2. Arch Linux
+---------------
+ Make sure that we have the Pacman packages that we need.
+ (eepitch-shell)
+ (eepitch-kill)
+ (eepitch-shell)
+sudo pacman -S base-devel
+sudo pacman -S lua51 lua51-lpeg
+sudo pacman -S lua52 lua52-lpeg
+sudo pacman -S texlive-latexextra
+
+ This will be used to build lpeglabel
+ (setenv \"LUA52DIR\" \"/usr/include/lua5.2\")
+
+ Define links to some manuals
+ (code-brappend \"lua51manual\"  \"file:///usr/share/doc/lua51/manual.html\")
+ (code-brappend \"lua52manual\"  
\"https://www.lua.org/manual/5.2/manual.html\";)
+ (code-brappend \"lpegmanual\"   
\"http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html\";)
+ (code-brappend \"lpegremanual\" 
\"http://www.inf.puc-rio.br/~roberto/lpeg/re.html\";)
+ Tests: (find-lua51manual)
+        (find-lua52manual)
+        (find-lpegmanual)
+        (find-lpegremanual)
+
+
+2.3. MacOS
 ----------
  Make sure that we have the Homebrew packages that we need.
  (eepitch-shell)
diff --git a/eev-tlinks.el b/eev-tlinks.el
index e28a827a17..8c7e04ad7d 100644
--- a/eev-tlinks.el
+++ b/eev-tlinks.el
@@ -89,6 +89,7 @@
 ;; «.find-eev-header-links»            (to "find-eev-header-links")
 ;;
 ;; «.find-debpkg-links»                        (to "find-debpkg-links")
+;; «.find-pacman-links»                        (to "find-pacman-links")
 ;; «.find-homebrew-links»              (to "find-homebrew-links")
 ;; «.find-eev-install-links»           (to "find-eev-install-links")
 ;; «.find-eev-update-links»            (to "find-eev-update-links")
@@ -740,6 +741,37 @@ dpkg-query --search {pkgname}
 
 
 
+;; «find-pacman-links»  (to ".find-pacman-links")
+;; Skel: (find-find-links-links-new "pacman" "pkg" "")
+;; Test: (find-pacman-links)
+;;
+(defun find-pacman-links (&optional pkg &rest pos-spec-list)
+"Visit a temporary buffer containing hyperlinks for pacman."
+  (interactive)
+  (setq pkg (or pkg "{pkg}"))
+  (apply
+   'find-elinks
+   `((find-pacman-links ,pkg ,@pos-spec-list)
+     ;; Convention: the first sexp always regenerates the buffer.
+     (find-efunction 'find-pacman-links)
+     ""
+     ,(ee-template0 "\
+# https://archlinux.org/packages/?sort=&q={pkg}&maintainer=&flagged=
+# https://archlinux.org/packages/extra/x86_64/{pkg}/
+# https://archlinux.org/packages/extra/x86_64/{pkg}/files/
+
+ (eepitch-shell)
+ (eepitch-kill)
+ (eepitch-shell)
+sudo pacman -S {pkg}
+
+")
+     )
+   pos-spec-list))
+
+
+
+
 ;;;  _   _                      _                       
 ;;; | | | | ___  _ __ ___   ___| |__  _ __ _____      __
 ;;; | |_| |/ _ \| '_ ` _ \ / _ \ '_ \| '__/ _ \ \ /\ / /



reply via email to

[Prev in Thread] Current Thread [Next in Thread]