From 4c24cd3925287403d53ffd8e548d23e5439c82da Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sun, 22 Dec 2024 13:19:06 +0100 Subject: [PATCH] update sqlite3 Signed-off-by: Andreas Gerler --- .../sqlite3-autoloads.el | 26 ----------------- elpa/sqlite3-20230315.1221/sqlite3-pkg.el | 14 ---------- .../Makefile | 0 .../consts.c | 0 .../emacs-module.h | 0 .../sqlite3-api.c | 0 .../sqlite3-autoloads.el | 28 +++++++++++++++++++ elpa/sqlite3-20231124.1326/sqlite3-pkg.el | 10 +++++++ .../sqlite3.el | 22 ++++++++++----- 9 files changed, 53 insertions(+), 47 deletions(-) delete mode 100644 elpa/sqlite3-20230315.1221/sqlite3-autoloads.el delete mode 100644 elpa/sqlite3-20230315.1221/sqlite3-pkg.el rename elpa/{sqlite3-20230315.1221 => sqlite3-20231124.1326}/Makefile (100%) rename elpa/{sqlite3-20230315.1221 => sqlite3-20231124.1326}/consts.c (100%) rename elpa/{sqlite3-20230315.1221 => sqlite3-20231124.1326}/emacs-module.h (100%) rename elpa/{sqlite3-20230315.1221 => sqlite3-20231124.1326}/sqlite3-api.c (100%) create mode 100644 elpa/sqlite3-20231124.1326/sqlite3-autoloads.el create mode 100644 elpa/sqlite3-20231124.1326/sqlite3-pkg.el rename elpa/{sqlite3-20230315.1221 => sqlite3-20231124.1326}/sqlite3.el (69%) diff --git a/elpa/sqlite3-20230315.1221/sqlite3-autoloads.el b/elpa/sqlite3-20230315.1221/sqlite3-autoloads.el deleted file mode 100644 index 1853839b..00000000 --- a/elpa/sqlite3-20230315.1221/sqlite3-autoloads.el +++ /dev/null @@ -1,26 +0,0 @@ -;;; sqlite3-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- -;; -;;; Code: - -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) - - -;;;### (autoloads nil "sqlite3" "sqlite3.el" (0 0 0 0)) -;;; Generated autoloads from sqlite3.el - -(register-definition-prefixes "sqlite3" '("sqlite3-api-build-command")) - -;;;*** - -;;;### (autoloads nil nil ("sqlite3-pkg.el") (0 0 0 0)) - -;;;*** - -;; Local Variables: -;; version-control: never -;; no-byte-compile: t -;; no-update-autoloads: t -;; coding: utf-8 -;; End: -;;; sqlite3-autoloads.el ends here diff --git a/elpa/sqlite3-20230315.1221/sqlite3-pkg.el b/elpa/sqlite3-20230315.1221/sqlite3-pkg.el deleted file mode 100644 index 01b4f37a..00000000 --- a/elpa/sqlite3-20230315.1221/sqlite3-pkg.el +++ /dev/null @@ -1,14 +0,0 @@ -(define-package "sqlite3" "20230315.1221" "Direct access to the core SQLite3 API" - '((emacs "25.1")) - :commit "b513b71012f61895f771fc6948d6511ea8ded0a6" :authors - '(("Y. N. Lo" . "elisp@fastmail.com")) - :maintainers - '(("Y. N. Lo" . "elisp@fastmail.com")) - :maintainer - '("Y. N. Lo" . "elisp@fastmail.com") - :keywords - '("comm" "data" "sql") - :url "https://github.com/pekingduck/emacs-sqlite3-api") -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/sqlite3-20230315.1221/Makefile b/elpa/sqlite3-20231124.1326/Makefile similarity index 100% rename from elpa/sqlite3-20230315.1221/Makefile rename to elpa/sqlite3-20231124.1326/Makefile diff --git a/elpa/sqlite3-20230315.1221/consts.c b/elpa/sqlite3-20231124.1326/consts.c similarity index 100% rename from elpa/sqlite3-20230315.1221/consts.c rename to elpa/sqlite3-20231124.1326/consts.c diff --git a/elpa/sqlite3-20230315.1221/emacs-module.h b/elpa/sqlite3-20231124.1326/emacs-module.h similarity index 100% rename from elpa/sqlite3-20230315.1221/emacs-module.h rename to elpa/sqlite3-20231124.1326/emacs-module.h diff --git a/elpa/sqlite3-20230315.1221/sqlite3-api.c b/elpa/sqlite3-20231124.1326/sqlite3-api.c similarity index 100% rename from elpa/sqlite3-20230315.1221/sqlite3-api.c rename to elpa/sqlite3-20231124.1326/sqlite3-api.c diff --git a/elpa/sqlite3-20231124.1326/sqlite3-autoloads.el b/elpa/sqlite3-20231124.1326/sqlite3-autoloads.el new file mode 100644 index 00000000..af761b85 --- /dev/null +++ b/elpa/sqlite3-20231124.1326/sqlite3-autoloads.el @@ -0,0 +1,28 @@ +;;; sqlite3-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + +;;; Code: + +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + + + +;;; Generated autoloads from sqlite3.el + +(register-definition-prefixes "sqlite3" '("sqlite3-api-build-command")) + +;;; End of scraped data + +(provide 'sqlite3-autoloads) + +;; Local Variables: +;; version-control: never +;; no-byte-compile: t +;; no-update-autoloads: t +;; no-native-compile: t +;; coding: utf-8-emacs-unix +;; End: + +;;; sqlite3-autoloads.el ends here diff --git a/elpa/sqlite3-20231124.1326/sqlite3-pkg.el b/elpa/sqlite3-20231124.1326/sqlite3-pkg.el new file mode 100644 index 00000000..0f851e18 --- /dev/null +++ b/elpa/sqlite3-20231124.1326/sqlite3-pkg.el @@ -0,0 +1,10 @@ +;; -*- no-byte-compile: t; lexical-binding: nil -*- +(define-package "sqlite3" "20231124.1326" + "Direct access to the core SQLite3 API." + '((emacs "25.1")) + :url "https://github.com/pekingduck/emacs-sqlite3-api" + :commit "a601c9965e4d0178705a64b7d4f88709ca9aea66" + :revdesc "a601c9965e4d" + :keywords '("comm" "data" "sql") + :authors '(("Y. N. Lo" . "elisp@fastmail.com")) + :maintainers '(("Y. N. Lo" . "elisp@fastmail.com"))) diff --git a/elpa/sqlite3-20230315.1221/sqlite3.el b/elpa/sqlite3-20231124.1326/sqlite3.el similarity index 69% rename from elpa/sqlite3-20230315.1221/sqlite3.el rename to elpa/sqlite3-20231124.1326/sqlite3.el index d563d538..9322e0fb 100644 --- a/elpa/sqlite3-20230315.1221/sqlite3.el +++ b/elpa/sqlite3-20231124.1326/sqlite3.el @@ -5,7 +5,8 @@ ;; Author: Y. N. Lo ;; Homepage: https://github.com/pekingduck/emacs-sqlite3-api ;; Keywords: comm, data, sql -;; Version: 0.17 +;; Package-Version: 20231124.1326 +;; Package-Revision: a601c9965e4d ;; Package-Requires: ((emacs "25.1")) ;; This file is not part of GNU Emacs. @@ -32,7 +33,12 @@ (require 'cl-lib) -(defvar sqlite3-api-build-command '("make" "all")) +(defvar sqlite3-api-build-command (or (getenv "SQLITE3_API_BUILD_COMMAND") + "make all") + "String containing the build command for the sqlite3-api module. + +It defaults to \"make all\". It can be overriden by +setting the SQLITE3_API_BUILD_COMMAND environment variable.") (cl-eval-when (load eval) (unless (require 'sqlite3-api nil t) @@ -40,15 +46,17 @@ (yes-or-no-p "sqlite3-api module must be built. Do so now? ")) (let ((default-directory (file-name-directory (or load-file-name buffer-file-name)))) + (message "Building sqlite3-api module with %S" sqlite3-api-build-command) (with-temp-buffer - (unless (zerop (apply #'call-process - (car sqlite3-api-build-command) nil t t - (cdr sqlite3-api-build-command))) + (unless (zerop (call-process-shell-command + sqlite3-api-build-command nil t t)) (error "Failed to compile module using: %s: %s" - (mapconcat #'identity sqlite3-api-build-command " ") + sqlite3-api-build-command (buffer-substring-no-properties (point-min) - (point-max)))))) + (point-max))))) + (message "Loading sqlite3-api module...") + (require 'sqlite3-api)) (user-error "Abort")))) (provide 'sqlite3) -- 2.47.3