Subject: [PATCH] gnu: emacs-pdf-tools: Update to new repo and revision.

From: Andrew Tropin <[email-masked]>
Date: Thu, 01 Jul 2021 11:24:17 +0300

* gnu/packages/emacs-xyz.scm (emacs-pdf-tools): Update.

Seems there is a new maintainer of the project
https://github.com/politza/pdf-tools/issues/659

Changed url to fork.

This update is required to make pdf-tools work properly for HiDPI screens.

Tested it on emacs-next-pgtk with latest commit from feature/pgtk branch,
using Sway wayland compositor with scaling factor 2.
---
 gnu/packages/emacs-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d8c1f86207..5098da71f6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3259,8 +3259,8 @@ during idle time, while Emacs is doing nothing else.")
 (define-public emacs-pdf-tools
   ;; XXX: Development branch fixes an incompatibility with Emacs 27+.  See
   ;; <https://github.com/politza/pdf-tools/issues/616>.
-  (let ((commit "c510442ab89c8a9e9881230eeb364f4663f59e76")
-        (revision "1"))
+  (let ((commit "5f77dae43eb8f71e52e10ba8cf994883f74c3fb7")
+        (revision "2"))
     (package
       (name "emacs-pdf-tools")
       (version (git-version "0.90" revision commit))
@@ -3268,11 +3268,11 @@ during idle time, while Emacs is doing nothing else.")
        (origin
          (method git-fetch)
          (uri (git-reference
-               (url "https://github.com/politza/pdf-tools")
+               (url "https://github.com/vedang/pdf-tools")
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "17z3cpn76g9dp62drjrgrqpp1bgf4gl5k5gspylskpvd4kj4bq4d"))))
+          (base32 "0hzqcnxi66d0c3dq7y3dn28f3yri4zcx46yylhy0xnm3f1yja0rm"))))
       (build-system gnu-build-system)
       (arguments
        `(#:tests? #f                    ; there are no tests
-- 
2.32.0